diff --git a/src/uds/static/admin/main.js b/src/uds/static/admin/main.js index a51dd725f..c7467839f 100644 --- a/src/uds/static/admin/main.js +++ b/src/uds/static/admin/main.js @@ -5279,7 +5279,7 @@ mat-autocomplete { } `],encapsulation:2})})()}return t})(),E4=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=ye({type:t});static \u0275inj=ve({imports:[Rl,Et]})}return t})();var kae=()=>["transport","group","bool"];function Mae(t,i){t&1&&(c(0,"uds-translate"),f(1,"Edit action for"),d())}function Eae(t,i){t&1&&(c(0,"uds-translate"),f(1,"New action for"),d())}function Tae(t,i){if(t&1&&(c(0,"mat-option",4),f(1),d()),t&2){let e=i.$implicit;y("value",e.id),p(),j(" ",e.name," ")}}function Iae(t,i){if(t&1&&(c(0,"mat-option",4),f(1),d()),t&2){let e=i.$implicit;y("value",e.id),p(),j(" ",e.description," ")}}function Aae(t,i){if(t&1&&(c(0,"mat-option",4),f(1),d()),t&2){let e=i.$implicit;y("value",e.id),p(),j(" ",e.name," ")}}function Nae(t,i){if(t&1){let e=H();c(0,"mat-form-field")(1,"mat-label")(2,"uds-translate"),f(3,"Transport"),d()(),c(4,"mat-select",2),de(),ae("ngModelChange",function(a){M(e);let o=_();return oe(o.paramValue,a)||(o.paramValue=a),E(a)}),c(5,"uds-cond-select-search",3),C("changed",function(a){M(e);let o=_();return E(o.transportsFilter=a)}),d(),se(6,Aae,2,2,"mat-option",4,Te),d()()}if(t&2){let e=_();p(4),ie("ngModel",e.paramValue),ue(),p(),y("options",e.transports),p(),le(e.filtered(e.transports,e.transportsFilter))}}function Oae(t,i){if(t&1&&(c(0,"mat-option",4),f(1),d()),t&2){let e=i.$implicit;y("value",e.id),p(),j(" ",e.name," ")}}function Rae(t,i){if(t&1&&(c(0,"mat-option",4),f(1),d()),t&2){let e=i.$implicit,n=_(2);y("value",n.authenticator+"@"+e.id),p(),j(" ",e.name," ")}}function Pae(t,i){if(t&1){let e=H();c(0,"mat-form-field")(1,"mat-label")(2,"uds-translate"),f(3,"Authenticator"),d()(),c(4,"mat-select",7),de(),ae("ngModelChange",function(a){M(e);let o=_();return oe(o.authenticator,a)||(o.authenticator=a),E(a)}),C("valueChange",function(a){M(e);let o=_();return E(o.authenticatorChangedTo(a))}),se(5,Oae,2,2,"mat-option",4,Te),d()(),c(7,"mat-form-field")(8,"mat-label")(9,"uds-translate"),f(10,"Group"),d()(),c(11,"mat-select",2),de(),ae("ngModelChange",function(a){M(e);let o=_();return oe(o.paramValue,a)||(o.paramValue=a),E(a)}),c(12,"uds-cond-select-search",3),C("changed",function(a){M(e);let o=_();return E(o.groupsFilter=a)}),d(),se(13,Rae,2,2,"mat-option",4,Te),d()()}if(t&2){let e=_();p(4),ie("ngModel",e.authenticator),ue(),p(),le(e.authenticators),p(6),ie("ngModel",e.paramValue),ue(),p(),y("options",e.groups),p(),le(e.filtered(e.groups,e.groupsFilter))}}function Fae(t,i){if(t&1){let e=H();c(0,"div",8)(1,"span",11),f(2),d(),f(3,"\xA0 "),c(4,"mat-slide-toggle",2),de(),ae("ngModelChange",function(a){M(e);let o=_();return oe(o.paramValue,a)||(o.paramValue=a),E(a)}),d()()}if(t&2){let e=_();p(2),W(e.parameter.description),p(2),ie("ngModel",e.paramValue),ue()}}function Lae(t,i){if(t&1){let e=H();c(0,"mat-form-field")(1,"mat-label"),f(2),d(),c(3,"input",12),de(),ae("ngModelChange",function(a){M(e);let o=_();return oe(o.paramValue,a)||(o.paramValue=a),E(a)}),d()()}if(t&2){let e=_();p(2),j(" ",e.parameter.description," "),p(),y("type",e.parameter.type),ie("ngModel",e.paramValue),ue()}}var QE=(()=>{class t{constructor(){this.api=h(q),this.rest=h(he),this.dialogRef=h(ct),this.onSave=new z(!0),this.calendars=[],this.actionList=[],this.authenticators=[],this.transports=[],this.groups=[],this.paramsDict={},this.calendarsFilter="",this.groupsFilter="",this.transportsFilter="",this.authenticator="",this.parameter={},this.paramValue="";let e=h(_t);this.servicePool=e.servicePool,this.scheduledAction={id:void 0,action:"",calendar:"",calendar_id:"",at_start:!0,events_offset:0,params:{}},e.scheduledAction!==void 0&&(this.scheduledAction.id=e.scheduledAction.id)}static launch(e,n,a){let o=window.innerWidth<800?"80%":"60%";return e.gui.dialog.open(t,{width:o,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:n,scheduledAction:a},disableClose:!1}).componentInstance.onSave}ngOnInit(){this.rest.authenticators.overview().then(e=>this.authenticators=e),this.rest.transports.overview().then(e=>this.transports=e),this.rest.calendars.overview().then(e=>this.calendars=e),this.rest.servicesPools.actionsList(this.servicePool.id).then(e=>{this.actionList=e,this.actionList.forEach(n=>{this.paramsDict[n.id]=n.params[0]}),this.scheduledAction.id!==void 0&&this.rest.servicesPools.detail(this.servicePool.id,"actions").get(this.scheduledAction.id).then(n=>{this.scheduledAction=n,this.actionChangedTo(this.scheduledAction.action)})})}filtered(e,n){return n?e.filter(a=>a.name.toLocaleLowerCase().includes(n.toLocaleLowerCase())):e}actionChangedTo(e){if(this.parameter=this.paramsDict[e],this.parameter!==void 0&&(this.paramValue=this.scheduledAction.params[this.parameter.name],this.paramValue===void 0&&(this.parameter.default!==!1?this.paramValue=this.parameter.default||"":this.paramValue=!1),this.parameter.type==="group")){let n=this.paramValue.split("@");n.length!==2&&(n=["",""]),this.authenticator=n[0],this.authenticatorChangedTo(this.authenticator)}}authenticatorChangedTo(e){return F(this,null,function*(){e&&(this.groups=yield this.rest.authenticators.detail(e,"groups").overview())})}save(){return F(this,null,function*(){this.scheduledAction.params={},this.parameter&&(this.scheduledAction.params[this.parameter.name]=this.paramValue),yield this.rest.servicesPools.detail(this.servicePool.id,"actions").save(this.scheduledAction),this.dialogRef.close(),this.onSave.emit(!0)})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=I({type:t,selectors:[["uds-service-pools-scheduled-action"]],standalone:!1,decls:41,vars:12,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModelChange","ngModel"],[3,"changed","options"],[3,"value"],["matInput","","type","number",3,"ngModelChange","ngModel"],[1,"toggle"],[3,"ngModelChange","valueChange","ngModel"],[1,"mat-form-field-infix"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[1,"label"],["matInput","",3,"ngModelChange","type","ngModel"]],template:function(n,a){n&1&&(c(0,"h4",0),D(1,Mae,2,0,"uds-translate")(2,Eae,2,0,"uds-translate"),f(3),d(),c(4,"mat-dialog-content")(5,"div",1)(6,"mat-form-field")(7,"mat-label")(8,"uds-translate"),f(9,"Calendar"),d()(),c(10,"mat-select",2),de(),ae("ngModelChange",function(r){return oe(a.scheduledAction.calendar_id,r)||(a.scheduledAction.calendar_id=r),r}),c(11,"uds-cond-select-search",3),C("changed",function(r){return a.calendarsFilter=r}),d(),se(12,Tae,2,2,"mat-option",4,Te),d()(),c(14,"mat-form-field")(15,"mat-label")(16,"uds-translate"),f(17,"Events offset (minutes)"),d()(),c(18,"input",5),de(),ae("ngModelChange",function(r){return oe(a.scheduledAction.events_offset,r)||(a.scheduledAction.events_offset=r),r}),d()(),c(19,"div",6)(20,"mat-slide-toggle",2),de(),ae("ngModelChange",function(r){return oe(a.scheduledAction.at_start,r)||(a.scheduledAction.at_start=r),r}),c(21,"uds-translate"),f(22,"At the beginning of the interval?"),d()()(),c(23,"mat-form-field")(24,"mat-label")(25,"uds-translate"),f(26,"Action"),d()(),c(27,"mat-select",7),de(),ae("ngModelChange",function(r){return oe(a.scheduledAction.action,r)||(a.scheduledAction.action=r),r}),C("valueChange",function(r){return a.actionChangedTo(r)}),se(28,Iae,2,2,"mat-option",4,Te),d()(),D(30,Nae,8,2,"mat-form-field"),D(31,Pae,15,3),D(32,Fae,5,2,"div",8),D(33,Lae,4,3,"mat-form-field"),d()(),c(34,"mat-dialog-actions")(35,"button",9)(36,"uds-translate"),f(37,"Cancel"),d()(),c(38,"button",10),C("click",function(){return a.save()}),c(39,"uds-translate"),f(40,"Ok"),d()()()),n&2&&(p(),k(a.scheduledAction.id!==void 0?1:2),p(2),j(" ",a.servicePool.name,` `),p(7),ie("ngModel",a.scheduledAction.calendar_id),ue(),p(),y("options",a.calendars),p(),le(a.filtered(a.calendars,a.calendarsFilter)),p(6),ie("ngModel",a.scheduledAction.events_offset),ue(),p(2),ie("ngModel",a.scheduledAction.at_start),ue(),p(7),ie("ngModel",a.scheduledAction.action),ue(),p(),le(a.actionList),p(2),k(a.parameter?.type==="transport"?30:-1),p(),k(a.parameter?.type==="group"?31:-1),p(),k(a.parameter?.type==="bool"?32:-1),p(),k(a.parameter?.type&&!Dd(11,kae).includes(a.parameter.type)?33:-1))},dependencies:[Kt,Go,et,it,Ne,un,vt,xt,yt,ze,dt,Jt,en,Mt,Rl,be,ci],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:90%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"],changeDetection:1})}}return t})();var ug=(()=>{class t{constructor(){this.api=h(q),this.rest=h(he),this.dialogRef=h(ct),this.onSave=new z(!0);let e=h(_t);this.userService=e.userService,this.model=e.model,this.title=e.userService?.name||e.title||""}static launch(e,n,a,o){let r=window.innerWidth<800?"80%":"60%";e.gui.dialog.open(t,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{userService:n,model:a,title:o},disableClose:!1})}ngOnInit(){}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=I({type:t,selectors:[["uds-service-pools-userservices-log"]],standalone:!1,decls:10,vars:4,consts:[["mat-dialog-title",""],[3,"rest","itemId","tableId"],["mat-raised-button","","color","primary","mat-dialog-close",""]],template:function(n,a){n&1&&(c(0,"h4",0)(1,"uds-translate"),f(2,"Logs of"),d(),f(3),d(),c(4,"mat-dialog-content"),N(5,"uds-logs-table",1),d(),c(6,"mat-dialog-actions")(7,"button",2)(8,"uds-translate"),f(9,"Ok"),d()()()),n&2&&(p(3),j(" ",a.title,` -`),p(2),y("rest",a.model)("itemId",a.userService.id)("tableId","servicePools-d-uslog"+a.userService.id))},dependencies:[Ne,un,vt,xt,yt,be,Do],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"],changeDetection:1})}}return t})();function Vae(t,i){if(t&1&&(c(0,"mat-option",4),f(1),d()),t&2){let e=i.$implicit;y("value",e.id),p(),j(" ",e.text," ")}}function Bae(t,i){if(t&1&&(c(0,"mat-option",4),f(1),d()),t&2){let e=i.$implicit;y("value",e.id),p(),j(" ",e.name," ")}}function jae(t,i){if(t&1&&(c(0,"mat-option",4),f(1),d()),t&2){let e=i.$implicit;y("value",e.id),p(),j(" ",e.name," ")}}var T4=(()=>{class t{constructor(){this.api=h(q),this.rest=h(he),this.dialogRef=h(ct),this.done=new ni,this.auths=[],this.assignablesServices=[],this.assignablesServicesFilter="",this.users=[],this.userFilter="",this.serviceId="",this.authId="",this.userId="";let e=h(_t);this.servicePool=e.servicePool}static launch(e,n){let a=window.innerWidth<800?"60%":"40%";return e.gui.dialog.open(t,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:n},disableClose:!1}).componentInstance.done}ngOnInit(){return F(this,null,function*(){this.authId="",this.userId="";let e=yield this.rest.authenticators.overview(),n=yield this.rest.servicesPools.listAssignables(this.servicePool.id);this.auths=e,this.assignablesServices=n})}changeAuth(e){return F(this,null,function*(){this.userId="",this.authChanged()})}filteredUsers(){if(!this.userFilter)return this.users;let e=new Array;return this.users.forEach(n=>{n.name.toLocaleLowerCase().includes(this.userFilter.toLocaleLowerCase())&&e.push(n)}),e}filteredAssignables(){if(!this.assignablesServicesFilter)return this.assignablesServices;let e=new Array;return this.assignablesServices.forEach(n=>{n.text.toLocaleLowerCase().includes(this.assignablesServicesFilter.toLocaleLowerCase())&&e.push(n)}),e}save(){return F(this,null,function*(){if(this.userId===""||this.authId===""){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid user"));return}this.rest.servicesPools.createFromAssignable(this.servicePool.id,this.userId,this.serviceId).then(e=>{this.dialogRef.close(),this.done.resolve(!0)})})}cancel(){this.dialogRef.close(),this.done.resolve(!1)}authChanged(){return F(this,null,function*(){this.authId&&(this.users=yield this.rest.authenticators.detail(this.authId,"users").overview())})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=I({type:t,selectors:[["uds-assign-service-to-owner"]],standalone:!1,decls:35,vars:5,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModelChange","ngModel"],[3,"changed","options"],[3,"value"],[3,"ngModelChange","selectionChange","ngModel"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(n,a){n&1&&(c(0,"h4",0)(1,"uds-translate"),f(2,"Assign service to user manually"),d()(),c(3,"mat-dialog-content")(4,"div",1)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),f(8,"Service"),d()(),c(9,"mat-select",2),de(),ae("ngModelChange",function(r){return oe(a.serviceId,r)||(a.serviceId=r),r}),c(10,"uds-cond-select-search",3),C("changed",function(r){return a.assignablesServicesFilter=r}),d(),se(11,Vae,2,2,"mat-option",4,Te),d()(),c(13,"mat-form-field")(14,"mat-label")(15,"uds-translate"),f(16,"Authenticator"),d()(),c(17,"mat-select",5),de(),ae("ngModelChange",function(r){return oe(a.authId,r)||(a.authId=r),r}),C("selectionChange",function(r){return a.changeAuth(r)}),se(18,Bae,2,2,"mat-option",4,Te),d()(),c(20,"mat-form-field")(21,"mat-label")(22,"uds-translate"),f(23,"User"),d()(),c(24,"mat-select",2),de(),ae("ngModelChange",function(r){return oe(a.userId,r)||(a.userId=r),r}),c(25,"uds-cond-select-search",3),C("changed",function(r){return a.userFilter=r}),d(),se(26,jae,2,2,"mat-option",4,Te),d()()()(),c(28,"mat-dialog-actions")(29,"button",6),C("click",function(){return a.cancel()}),c(30,"uds-translate"),f(31,"Cancel"),d()(),c(32,"button",7),C("click",function(){return a.save()}),c(33,"uds-translate"),f(34,"Ok"),d()()()),n&2&&(p(9),ie("ngModel",a.serviceId),ue(),p(),y("options",a.assignablesServices),p(),le(a.filteredAssignables()),p(6),ie("ngModel",a.authId),ue(),p(),le(a.auths),p(6),ie("ngModel",a.userId),ue(),p(),y("options",a.users),p(),le(a.filteredUsers()))},dependencies:[et,it,Ne,vt,xt,yt,ze,dt,en,Mt,be,ci],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:90%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"],changeDetection:1})}}return t})();var zae=["chart"],I4=(()=>{class t{constructor(){this.rest=h(he),this.api=h(q),this.poolUuid="",this.chart=null,this.data=null,this.resizeObserver=null,this.themeObserver=null;let e=this.api;this.lastDark=e.isDarkTheme,this.themeObserver=new MutationObserver(()=>{this.api.isDarkTheme!==this.lastDark&&(this.lastDark=this.api.isDarkTheme,this.build())}),this.themeObserver.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]})}ngAfterViewInit(){return F(this,null,function*(){let e=yield this.rest.system.stats("complete",this.poolUuid);if(!e||!e.assigned)return;let n=e.assigned.map(l=>l.value),a=(e.cached||[]).map(l=>l.value),o=(e.inuse||[]).map(l=>l.value),r=e.assigned.map(l=>Math.floor(wo(l.stamp).getTime()/1e3)),s=n.map((l,u)=>l+(a[u]??0));this.data=[r,s,n,o],this.build(),this.resizeObserver=new ResizeObserver(l=>{let u=l[0]?.contentRect;u&&u.width>0&&u.height>0&&this.chart?.setSize({width:Math.round(u.width),height:Math.round(u.height)})}),this.resizeObserver.observe(this.chartEl.nativeElement)})}build(){if(!this.data)return;this.chart?.destroy();let e=this.api.isDarkTheme?"#f8fafc":"#1e293b",n=this.api.isDarkTheme?"rgba(255, 255, 255, 0.1)":"rgba(0, 0, 0, 0.05)",a=Hi.paths.spline(),o={width:this.width(),height:this.height(),scales:{x:{time:!0}},legend:{live:!0},axes:[{stroke:e,grid:{stroke:n},ticks:{stroke:n},space:110,values:(r,s)=>s.map(l=>ra("SHORT_DATETIME_FORMAT",l))},{stroke:e,grid:{stroke:n},ticks:{stroke:n}}],series:[{},{label:django.gettext("Cached"),stroke:"#6366f1",width:3,fill:"rgba(99, 102, 241, 0.2)",paths:a},{label:django.gettext("Assigned"),stroke:"#3b82f6",width:3,fill:"rgba(37, 99, 235, 0.2)",paths:a},{label:django.gettext("In use"),stroke:"#10b981",width:3,fill:"rgba(16, 185, 129, 0.1)",paths:a}]};this.chart=new Hi(o,this.data,this.chartEl.nativeElement)}ngOnDestroy(){this.resizeObserver?.disconnect(),this.themeObserver?.disconnect(),this.chart?.destroy()}width(){return this.chartEl.nativeElement.clientWidth||600}height(){return this.chartEl.nativeElement.clientHeight||360}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=I({type:t,selectors:[["uds-service-pools-charts"]],viewQuery:function(n,a){if(n&1&<(zae,7),n&2){let o;J(o=ee())&&(a.chartEl=o.first)}},inputs:{poolUuid:"poolUuid"},standalone:!1,decls:3,vars:0,consts:[["chart",""],[1,"statistics-chart"],[1,"statistics-chart-canvas"]],template:function(n,a){n&1&&(c(0,"div",1),N(1,"div",2,0),d())},styles:[".statistics-chart[_ngcontent-%COMP%]{width:100%;height:60vh;min-height:480px}.statistics-chart-canvas[_ngcontent-%COMP%]{width:100%;height:100%}"],changeDetection:1})}}return t})();var Uae=t=>["/pools","service-pools",t];function $ae(t,i){t&1&&(c(0,"uds-translate"),f(1,"Summary"),d())}function Wae(t,i){if(t&1&&N(0,"uds-information",12),t&2){let e=_(2);y("value",e.servicePool)("gui",e.gui)}}function Gae(t,i){t&1&&(c(0,"uds-translate"),f(1,"Assigned services"),d())}function qae(t,i){if(t&1){let e=H();c(0,"mat-tab"),Ee(1,Gae,2,0,"ng-template",8),c(2,"div",9)(3,"uds-table",15),C("customButtonAction",function(a){M(e);let o=_(2);return E(o.onCustomAssigned(a))})("deleteAction",function(a){M(e);let o=_(2);return E(o.onDeleteAssigned(a))}),d()()()}if(t&2){let e=_(2);p(3),y("rest",e.assignedServices)("multiSelect",!0)("allowExport",!0)("onItem",e.processsAssignedElement)("tableId","servicePools-d-services"+e.servicePool.id)("customButtons",e.customButtonsAssignedServices)("pageSize",e.api.config.admin.page_size)("navHeader",!1)}}function Yae(t,i){t&1&&(c(0,"span")(1,"uds-translate"),f(2,"Cache"),d()())}function Kae(t,i){t&1&&(c(0,"span")(1,"uds-translate"),f(2,"Servers"),d()())}function Qae(t,i){if(t&1&&(D(0,Yae,3,0,"span"),D(1,Kae,3,0,"span")),t&2){let e=_(3);k(e.servicePool.state!=="Q"?0:-1),p(),k(e.servicePool.state==="Q"?1:-1)}}function Zae(t,i){if(t&1){let e=H();c(0,"mat-tab"),Ee(1,Qae,2,2,"ng-template",8),c(2,"div",9)(3,"uds-table",16),C("customButtonAction",function(a){M(e);let o=_(2);return E(o.onCustomCached(a))})("deleteAction",function(a){M(e);let o=_(2);return E(o.onDeleteCache(a))}),d()()()}if(t&2){let e=_(2);p(3),y("rest",e.cache)("titleOverride",e.servicePool.state==="Q"?"Servers":"")("multiSelect",!0)("allowExport",!0)("onItem",e.processsCacheElement)("tableId","servicePools-d-cache"+e.servicePool.id)("customButtons",e.customButtonsCachedServices)("pageSize",e.api.config.admin.page_size)("navHeader",!1)}}function Xae(t,i){t&1&&(c(0,"uds-translate"),f(1,"Groups"),d())}function Jae(t,i){if(t&1){let e=H();c(0,"mat-tab"),Ee(1,Xae,2,0,"ng-template",8),c(2,"div",9)(3,"uds-table",17),C("newAction",function(a){M(e);let o=_(2);return E(o.onNewGroup(a))})("deleteAction",function(a){M(e);let o=_(2);return E(o.onDeleteGroup(a))}),d()()()}if(t&2){let e=_(2);p(3),y("rest",e.groups)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtonsGroups)("tableId","servicePools-d-groups"+e.servicePool.id)("pageSize",e.api.config.admin.page_size)("navHeader",!1)}}function eoe(t,i){t&1&&(c(0,"uds-translate"),f(1,"Transports"),d())}function toe(t,i){if(t&1){let e=H();c(0,"mat-tab"),Ee(1,eoe,2,0,"ng-template",8),c(2,"div",9)(3,"uds-table",18),C("newAction",function(a){M(e);let o=_(2);return E(o.onNewTransport(a))})("deleteAction",function(a){M(e);let o=_(2);return E(o.onDeleteTransport(a))}),d()()()}if(t&2){let e=_(2);p(3),y("rest",e.transports)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtonsTransports)("tableId","servicePools-d-transports"+e.servicePool.id)("pageSize",e.api.config.admin.page_size)("navHeader",!1)}}function noe(t,i){t&1&&(c(0,"uds-translate"),f(1,"Publications"),d())}function ioe(t,i){if(t&1){let e=H();c(0,"mat-tab"),Ee(1,noe,2,0,"ng-template",8),c(2,"div",9)(3,"uds-table",19),C("customButtonAction",function(a){M(e);let o=_(2);return E(o.onCustomPublication(a))})("newAction",function(a){M(e);let o=_(2);return E(o.onNewPublication(a))})("rowSelected",function(a){M(e);let o=_(2);return E(o.onPublicationRowSelect(a))}),d()()()}if(t&2){let e=_(2);p(3),y("rest",e.publications)("multiSelect",!0)("allowExport",!0)("tableId","servicePools-d-publications"+e.servicePool.id)("customButtons",e.customButtonsPublication)("pageSize",e.api.config.admin.page_size)("navHeader",!1)}}function aoe(t,i){t&1&&(c(0,"uds-translate"),f(1,"Scheduled actions"),d())}function ooe(t,i){t&1&&(c(0,"uds-translate"),f(1,"Access calendars"),d())}function roe(t,i){if(t&1){let e=H();c(0,"mat-tab"),Ee(1,ooe,2,0,"ng-template",8),c(2,"div",9)(3,"uds-table",20),C("customButtonAction",function(a){M(e);let o=_(2);return E(o.onCustomSetFallbackAction(a))})("newAction",function(a){M(e);let o=_(2);return E(o.onNewAccessCalendar(a))})("editAction",function(a){M(e);let o=_(2);return E(o.onEditAccessCalendar(a))})("deleteAction",function(a){M(e);let o=_(2);return E(o.onDeleteAccessCalendar(a))})("loaded",function(a){M(e);let o=_(2);return E(o.onAccessCalendarLoad(a))}),d()()()}if(t&2){let e=_(2);p(3),y("rest",e.accessCalendars)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtonAccessCalendars)("tableId","servicePools-d-access"+e.servicePool.id)("onItem",e.processsCalendarOrScheduledElement)("pageSize",e.api.config.admin.page_size)("navHeader",!1)}}function soe(t,i){t&1&&(c(0,"uds-translate"),f(1,"Charts"),d())}function loe(t,i){if(t&1&&(c(0,"mat-tab"),Ee(1,soe,2,0,"ng-template",8),c(2,"div",9),N(3,"uds-service-pools-charts",21),d()()),t&2){let e=_(2);p(3),y("poolUuid",e.servicePool.id)}}function coe(t,i){t&1&&(c(0,"uds-translate"),f(1,"Logs"),d())}function doe(t,i){if(t&1){let e=H();c(0,"div",5)(1,"div",6)(2,"mat-tab-group",7),ae("selectedIndexChange",function(a){M(e);let o=_();return oe(o.selectedTab,a)||(o.selectedTab=a),E(a)}),c(3,"mat-tab"),Ee(4,$ae,2,0,"ng-template",8),c(5,"div",9)(6,"div",10)(7,"a",11),C("click",function(){M(e);let a=_();return E(a.reloadInfo())}),c(8,"i",3),f(9,"autorenew"),d()()(),D(10,Wae,1,2,"uds-information",12),d()(),D(11,qae,4,8,"mat-tab"),D(12,Zae,4,9,"mat-tab"),D(13,Jae,4,7,"mat-tab"),D(14,toe,4,7,"mat-tab"),D(15,ioe,4,7,"mat-tab"),c(16,"mat-tab"),Ee(17,aoe,2,0,"ng-template",8),c(18,"div",9)(19,"uds-table",13),C("customButtonAction",function(a){M(e);let o=_();return E(o.onCustomScheduleAction(a))})("newAction",function(a){M(e);let o=_();return E(o.onNewScheduledAction(a))})("editAction",function(a){M(e);let o=_();return E(o.onEditScheduledAction(a))})("deleteAction",function(a){M(e);let o=_();return E(o.onDeleteScheduledAction(a))}),d()()(),D(20,roe,4,8,"mat-tab"),D(21,loe,4,1,"mat-tab"),c(22,"mat-tab"),Ee(23,coe,2,0,"ng-template",8),c(24,"div",9),N(25,"uds-logs-table",14),d()()()()()}if(t&2){let e=_();p(2),ie("selectedIndex",e.selectedTab),y("@.disabled",!0),p(5),y("matTooltip",e.refreshTooltip),p(3),k(e.servicePool&&e.gui?10:-1),p(),k(e.servicePool.state!=="Q"?11:-1),p(),k(e.cache?12:-1),p(),k(e.servicePool.state!=="Q"?13:-1),p(),k(e.servicePool.state!=="Q"?14:-1),p(),k(e.publications?15:-1),p(4),y("rest",e.scheduledActions)("multiSelect",!0)("allowExport",!0)("tableId","servicePools-d-actions"+e.servicePool.id)("customButtons",e.customButtonsScheduledAction)("onItem",e.processsCalendarOrScheduledElement)("pageSize",e.api.config.admin.page_size)("navHeader",!1),p(),k(e.servicePool.state!=="Q"?20:-1),p(),k(e.servicePool.state!=="Q"?21:-1),p(4),y("rest",e.rest.servicesPools)("itemId",e.servicePool.id)("tableId","servicePools-d-log"+e.servicePool.id)("pageSize",e.api.config.admin.page_size)}}var Rx='event'+django.gettext("Logs")+"",uoe='computer'+django.gettext("VNC")+"",moe='schedule'+django.gettext("Launch now")+"",ZE='perm_identity'+django.gettext("Change owner")+"",XE='autorenew'+django.gettext("Reset")+"",poe='perm_identity'+django.gettext("Assign service")+"",hoe='cancel'+django.gettext("Cancel")+"",foe='event'+django.gettext("Changelog")+"",A4='perm_identity'+django.gettext("Fallback: Allow")+"",goe='perm_identity'+django.gettext("Fallback: Deny")+"",Px=(()=>{class t{constructor(){this.route=h(st),this.rest=h(he),this.api=h(q),this.headerService=h(Xi),this.customButtonsScheduledAction=[{id:"launch-action",html:moe,type:Ot.SINGLE_SELECT},Zi.getGotoButton(L0,"calendar_id")],this.customButtonAccessCalendars=[{id:"set-fallback-access",html:A4,type:Ot.ALWAYS},Zi.getGotoButton(L0,"calendar_id")],this.customButtonsAssignedServices=[{id:"change-owner",html:ZE,type:Ot.SINGLE_SELECT},{id:"log",html:Rx,type:Ot.SINGLE_SELECT},{id:"reset",html:XE,type:Ot.SINGLE_SELECT},Zi.getGotoButton(Xf,"owner_info.auth_id","owner_info.user_id")],this.customButtonsCachedServices=[{id:"log",html:Rx,type:Ot.SINGLE_SELECT}],this.customButtonsPublication=[{id:"cancel-publication",html:hoe,type:Ot.SINGLE_SELECT},{id:"changelog",html:foe,type:Ot.ALWAYS}],this.customButtonsGroups=[Zi.getGotoButton(LM,"auth_id","id")],this.customButtonsTransports=[Zi.getGotoButton(VM,"id")],this.servicePoolId=null,this.servicePool=null,this.gui=[],this.refreshTooltip=django.gettext("Refresh"),this.assignedServices={},this.cache=null,this.groups={},this.transports={},this.publications=null,this.scheduledActions={},this.accessCalendars={},this.selectedTab=1}static cleanInvalidSelections(e){return e.table.selection.selected.filter(n=>["E","R","M","S","C"].includes(n.state)).forEach(n=>e.table.selection.deselect(n)),e.table.selection.isEmpty()}ngOnInit(){return F(this,null,function*(){let e=this.route.snapshot.paramMap.get("pool");if(!e)return;this.servicePoolId=e,this.assignedServices=this.rest.servicesPools.detail(e,"services"),this.groups=this.rest.servicesPools.detail(e,"groups"),this.transports=this.rest.servicesPools.detail(e,"transports"),this.scheduledActions=this.rest.servicesPools.detail(e,"actions"),this.accessCalendars=this.rest.servicesPools.detail(e,"access"),yield this.reloadInfo();let n=this.servicePool;n.info.uses_cache?this.cache=this.rest.servicesPools.detail(e,"cache"):this.cache=null,n.info.needs_publication?this.publications=this.rest.servicesPools.detail(e,"publications"):this.publications=null,this.api.config.admin.vnc_userservices&&this.customButtonsAssignedServices.push({id:"vnc",html:uoe,type:Ot.ONLY_MENU}),this.servicePool.info.can_list_assignables&&this.customButtonsAssignedServices.push({id:"assign-service",html:poe,type:Ot.ALWAYS})})}reloadInfo(){return F(this,null,function*(){if(!this.servicePoolId)return;let e=yield this.rest.servicesPools.get(this.servicePoolId),n=(yield this.rest.servicesPools.gui()).filter(a=>{let o=["initial_srvs","cache_l1_srvs","cache_l2_srvs","max_srvs"];return!(e.info.uses_cache===!1&&o.includes(a.name)||e.info.uses_cache_l2===!1&&a.name==="cache_l2_srvs"||e.info.needs_manager===!1&&a.name==="osmanager_id")});this.servicePool=e,this.gui=n,this.headerService.setTitle(this.servicePool.name,"pools",["/pools","service-pools"])})}vnc(e){let n=`[connection] +`),p(2),y("rest",a.model)("itemId",a.userService.id)("tableId","servicePools-d-uslog"+a.userService.id))},dependencies:[Ne,un,vt,xt,yt,be,Do],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"],changeDetection:1})}}return t})();function Vae(t,i){if(t&1&&(c(0,"mat-option",4),f(1),d()),t&2){let e=i.$implicit;y("value",e.id),p(),j(" ",e.text," ")}}function Bae(t,i){if(t&1&&(c(0,"mat-option",4),f(1),d()),t&2){let e=i.$implicit;y("value",e.id),p(),j(" ",e.name," ")}}function jae(t,i){if(t&1&&(c(0,"mat-option",4),f(1),d()),t&2){let e=i.$implicit;y("value",e.id),p(),j(" ",e.name," ")}}var T4=(()=>{class t{constructor(){this.api=h(q),this.rest=h(he),this.dialogRef=h(ct),this.done=new ni,this.auths=[],this.assignablesServices=[],this.assignablesServicesFilter="",this.users=[],this.userFilter="",this.serviceId="",this.authId="",this.userId="";let e=h(_t);this.servicePool=e.servicePool}static launch(e,n){let a=window.innerWidth<800?"60%":"40%";return e.gui.dialog.open(t,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:n},disableClose:!1}).componentInstance.done}ngOnInit(){return F(this,null,function*(){this.authId="",this.userId="";let e=yield this.rest.authenticators.overview(),n=yield this.rest.servicesPools.listAssignables(this.servicePool.id);this.auths=e,this.assignablesServices=n})}changeAuth(e){return F(this,null,function*(){this.userId="",this.authChanged()})}filteredUsers(){if(!this.userFilter)return this.users;let e=new Array;return this.users.forEach(n=>{n.name.toLocaleLowerCase().includes(this.userFilter.toLocaleLowerCase())&&e.push(n)}),e}filteredAssignables(){if(!this.assignablesServicesFilter)return this.assignablesServices;let e=new Array;return this.assignablesServices.forEach(n=>{n.text.toLocaleLowerCase().includes(this.assignablesServicesFilter.toLocaleLowerCase())&&e.push(n)}),e}save(){return F(this,null,function*(){if(this.userId===""||this.authId===""){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid user"));return}this.rest.servicesPools.createFromAssignable(this.servicePool.id,this.userId,this.serviceId).then(e=>{this.dialogRef.close(),this.done.resolve(!0)})})}cancel(){this.dialogRef.close(),this.done.resolve(!1)}authChanged(){return F(this,null,function*(){this.authId&&(this.users=yield this.rest.authenticators.detail(this.authId,"users").overview())})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=I({type:t,selectors:[["uds-assign-service-to-owner"]],standalone:!1,decls:35,vars:5,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModelChange","ngModel"],[3,"changed","options"],[3,"value"],[3,"ngModelChange","selectionChange","ngModel"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(n,a){n&1&&(c(0,"h4",0)(1,"uds-translate"),f(2,"Assign service to user manually"),d()(),c(3,"mat-dialog-content")(4,"div",1)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),f(8,"Service"),d()(),c(9,"mat-select",2),de(),ae("ngModelChange",function(r){return oe(a.serviceId,r)||(a.serviceId=r),r}),c(10,"uds-cond-select-search",3),C("changed",function(r){return a.assignablesServicesFilter=r}),d(),se(11,Vae,2,2,"mat-option",4,Te),d()(),c(13,"mat-form-field")(14,"mat-label")(15,"uds-translate"),f(16,"Authenticator"),d()(),c(17,"mat-select",5),de(),ae("ngModelChange",function(r){return oe(a.authId,r)||(a.authId=r),r}),C("selectionChange",function(r){return a.changeAuth(r)}),se(18,Bae,2,2,"mat-option",4,Te),d()(),c(20,"mat-form-field")(21,"mat-label")(22,"uds-translate"),f(23,"User"),d()(),c(24,"mat-select",2),de(),ae("ngModelChange",function(r){return oe(a.userId,r)||(a.userId=r),r}),c(25,"uds-cond-select-search",3),C("changed",function(r){return a.userFilter=r}),d(),se(26,jae,2,2,"mat-option",4,Te),d()()()(),c(28,"mat-dialog-actions")(29,"button",6),C("click",function(){return a.cancel()}),c(30,"uds-translate"),f(31,"Cancel"),d()(),c(32,"button",7),C("click",function(){return a.save()}),c(33,"uds-translate"),f(34,"Ok"),d()()()),n&2&&(p(9),ie("ngModel",a.serviceId),ue(),p(),y("options",a.assignablesServices),p(),le(a.filteredAssignables()),p(6),ie("ngModel",a.authId),ue(),p(),le(a.auths),p(6),ie("ngModel",a.userId),ue(),p(),y("options",a.users),p(),le(a.filteredUsers()))},dependencies:[et,it,Ne,vt,xt,yt,ze,dt,en,Mt,be,ci],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:90%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"],changeDetection:1})}}return t})();var zae=["chart"],I4=(()=>{class t{constructor(){this.rest=h(he),this.api=h(q),this.poolUuid="",this.chart=null,this.data=null,this.resizeObserver=null,this.themeObserver=null;let e=this.api;this.lastDark=e.isDarkTheme,this.themeObserver=new MutationObserver(()=>{this.api.isDarkTheme!==this.lastDark&&(this.lastDark=this.api.isDarkTheme,this.build())}),this.themeObserver.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]})}ngAfterViewInit(){return F(this,null,function*(){let e=yield this.rest.system.stats("complete",this.poolUuid);if(!e||!e.assigned)return;let n=e.assigned.map(l=>l.value),a=(e.cached||[]).map(l=>l.value),o=(e.inuse||[]).map(l=>l.value),r=e.assigned.map(l=>Math.floor(wo(l.stamp).getTime()/1e3)),s=n.map((l,u)=>l+(a[u]??0));this.data=[r,s,n,o],this.build(),this.resizeObserver=new ResizeObserver(l=>{let u=l[0]?.contentRect;u&&u.width>0&&u.height>0&&this.chart?.setSize({width:Math.round(u.width),height:Math.round(u.height)})}),this.resizeObserver.observe(this.chartEl.nativeElement)})}build(){if(!this.data)return;this.chart?.destroy();let e=this.api.isDarkTheme?"#f8fafc":"#1e293b",n=this.api.isDarkTheme?"rgba(255, 255, 255, 0.1)":"rgba(0, 0, 0, 0.05)",a=Hi.paths.spline(),o={width:this.width(),height:this.height(),scales:{x:{time:!0}},legend:{live:!0},axes:[{stroke:e,grid:{stroke:n},ticks:{stroke:n},space:110,values:(r,s)=>s.map(l=>ra("SHORT_DATETIME_FORMAT",l))},{stroke:e,grid:{stroke:n},ticks:{stroke:n}}],series:[{},{label:django.gettext("Cached"),stroke:"#6366f1",width:3,fill:"rgba(99, 102, 241, 0.2)",paths:a},{label:django.gettext("Assigned"),stroke:"#3b82f6",width:3,fill:"rgba(37, 99, 235, 0.2)",paths:a},{label:django.gettext("In use"),stroke:"#10b981",width:3,fill:"rgba(16, 185, 129, 0.1)",paths:a}]};this.chart=new Hi(o,this.data,this.chartEl.nativeElement)}ngOnDestroy(){this.resizeObserver?.disconnect(),this.themeObserver?.disconnect(),this.chart?.destroy()}width(){return this.chartEl.nativeElement.clientWidth||600}height(){return this.chartEl.nativeElement.clientHeight||360}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=I({type:t,selectors:[["uds-service-pools-charts"]],viewQuery:function(n,a){if(n&1&<(zae,7),n&2){let o;J(o=ee())&&(a.chartEl=o.first)}},inputs:{poolUuid:"poolUuid"},standalone:!1,decls:3,vars:0,consts:[["chart",""],[1,"statistics-chart"],[1,"statistics-chart-canvas"]],template:function(n,a){n&1&&(c(0,"div",1),N(1,"div",2,0),d())},styles:[".statistics-chart[_ngcontent-%COMP%]{width:100%;height:60vh;min-height:480px}.statistics-chart-canvas[_ngcontent-%COMP%]{width:100%;height:100%}"],changeDetection:1})}}return t})();var Uae=t=>["/pools","service-pools",t];function $ae(t,i){t&1&&(c(0,"uds-translate"),f(1,"Summary"),d())}function Wae(t,i){if(t&1&&N(0,"uds-information",12),t&2){let e=_(2);y("value",e.servicePool)("gui",e.gui)}}function Gae(t,i){t&1&&(c(0,"uds-translate"),f(1,"Assigned services"),d())}function qae(t,i){if(t&1){let e=H();c(0,"mat-tab"),Ee(1,Gae,2,0,"ng-template",8),c(2,"div",9)(3,"uds-table",15),C("customButtonAction",function(a){M(e);let o=_(2);return E(o.onCustomAssigned(a))})("deleteAction",function(a){M(e);let o=_(2);return E(o.onDeleteAssigned(a))}),d()()()}if(t&2){let e=_(2);p(3),y("rest",e.assignedServices)("multiSelect",!0)("allowExport",!0)("onItem",e.processsAssignedElement)("tableId","servicePools-d-services"+e.servicePool.id)("customButtons",e.customButtonsAssignedServices)("pageSize",e.api.config.admin.page_size)("navHeader",!1)}}function Yae(t,i){t&1&&(c(0,"span")(1,"uds-translate"),f(2,"Cache"),d()())}function Kae(t,i){t&1&&(c(0,"span")(1,"uds-translate"),f(2,"Servers"),d()())}function Qae(t,i){if(t&1&&(D(0,Yae,3,0,"span"),D(1,Kae,3,0,"span")),t&2){let e=_(3);k(e.servicePool.state!=="Q"?0:-1),p(),k(e.servicePool.state==="Q"?1:-1)}}function Zae(t,i){if(t&1){let e=H();c(0,"mat-tab"),Ee(1,Qae,2,2,"ng-template",8),c(2,"div",9)(3,"uds-table",16),C("customButtonAction",function(a){M(e);let o=_(2);return E(o.onCustomCached(a))})("deleteAction",function(a){M(e);let o=_(2);return E(o.onDeleteCache(a))}),d()()()}if(t&2){let e=_(2);p(3),y("rest",e.cache)("titleOverride",e.servicePool.state==="Q"?"Servers":"")("multiSelect",!0)("allowExport",!0)("onItem",e.processsCacheElement)("tableId","servicePools-d-cache"+e.servicePool.id)("customButtons",e.customButtonsCachedServices)("pageSize",e.api.config.admin.page_size)("navHeader",!1)}}function Xae(t,i){t&1&&(c(0,"uds-translate"),f(1,"Groups"),d())}function Jae(t,i){if(t&1){let e=H();c(0,"mat-tab"),Ee(1,Xae,2,0,"ng-template",8),c(2,"div",9)(3,"uds-table",17),C("newAction",function(a){M(e);let o=_(2);return E(o.onNewGroup(a))})("deleteAction",function(a){M(e);let o=_(2);return E(o.onDeleteGroup(a))}),d()()()}if(t&2){let e=_(2);p(3),y("rest",e.groups)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtonsGroups)("tableId","servicePools-d-groups"+e.servicePool.id)("pageSize",e.api.config.admin.page_size)("navHeader",!1)}}function eoe(t,i){t&1&&(c(0,"uds-translate"),f(1,"Transports"),d())}function toe(t,i){if(t&1){let e=H();c(0,"mat-tab"),Ee(1,eoe,2,0,"ng-template",8),c(2,"div",9)(3,"uds-table",18),C("newAction",function(a){M(e);let o=_(2);return E(o.onNewTransport(a))})("deleteAction",function(a){M(e);let o=_(2);return E(o.onDeleteTransport(a))}),d()()()}if(t&2){let e=_(2);p(3),y("rest",e.transports)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtonsTransports)("tableId","servicePools-d-transports"+e.servicePool.id)("pageSize",e.api.config.admin.page_size)("navHeader",!1)}}function noe(t,i){t&1&&(c(0,"uds-translate"),f(1,"Publications"),d())}function ioe(t,i){if(t&1){let e=H();c(0,"mat-tab"),Ee(1,noe,2,0,"ng-template",8),c(2,"div",9)(3,"uds-table",19),C("customButtonAction",function(a){M(e);let o=_(2);return E(o.onCustomPublication(a))})("newAction",function(a){M(e);let o=_(2);return E(o.onNewPublication(a))})("rowSelected",function(a){M(e);let o=_(2);return E(o.onPublicationRowSelect(a))}),d()()()}if(t&2){let e=_(2);p(3),y("rest",e.publications)("multiSelect",!0)("allowExport",!0)("tableId","servicePools-d-publications"+e.servicePool.id)("customButtons",e.customButtonsPublication)("pageSize",e.api.config.admin.page_size)("navHeader",!1)}}function aoe(t,i){t&1&&(c(0,"uds-translate"),f(1,"Scheduled actions"),d())}function ooe(t,i){t&1&&(c(0,"uds-translate"),f(1,"Access calendars"),d())}function roe(t,i){if(t&1){let e=H();c(0,"mat-tab"),Ee(1,ooe,2,0,"ng-template",8),c(2,"div",9)(3,"uds-table",20),C("customButtonAction",function(a){M(e);let o=_(2);return E(o.onCustomSetFallbackAction(a))})("newAction",function(a){M(e);let o=_(2);return E(o.onNewAccessCalendar(a))})("editAction",function(a){M(e);let o=_(2);return E(o.onEditAccessCalendar(a))})("deleteAction",function(a){M(e);let o=_(2);return E(o.onDeleteAccessCalendar(a))})("loaded",function(a){M(e);let o=_(2);return E(o.onAccessCalendarLoad(a))}),d()()()}if(t&2){let e=_(2);p(3),y("rest",e.accessCalendars)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtonAccessCalendars)("tableId","servicePools-d-access"+e.servicePool.id)("onItem",e.processsCalendarOrScheduledElement)("pageSize",e.api.config.admin.page_size)("navHeader",!1)}}function soe(t,i){t&1&&(c(0,"uds-translate"),f(1,"Charts"),d())}function loe(t,i){if(t&1&&(c(0,"mat-tab"),Ee(1,soe,2,0,"ng-template",8),c(2,"div",9),N(3,"uds-service-pools-charts",21),d()()),t&2){let e=_(2);p(3),y("poolUuid",e.servicePool.id)}}function coe(t,i){t&1&&(c(0,"uds-translate"),f(1,"Logs"),d())}function doe(t,i){if(t&1){let e=H();c(0,"div",5)(1,"div",6)(2,"mat-tab-group",7),ae("selectedIndexChange",function(a){M(e);let o=_();return oe(o.selectedTab,a)||(o.selectedTab=a),E(a)}),c(3,"mat-tab"),Ee(4,$ae,2,0,"ng-template",8),c(5,"div",9)(6,"div",10)(7,"a",11),C("click",function(){M(e);let a=_();return E(a.reloadInfo())}),c(8,"i",3),f(9,"autorenew"),d()()(),D(10,Wae,1,2,"uds-information",12),d()(),D(11,qae,4,8,"mat-tab"),D(12,Zae,4,9,"mat-tab"),D(13,Jae,4,7,"mat-tab"),D(14,toe,4,7,"mat-tab"),D(15,ioe,4,7,"mat-tab"),c(16,"mat-tab"),Ee(17,aoe,2,0,"ng-template",8),c(18,"div",9)(19,"uds-table",13),C("customButtonAction",function(a){M(e);let o=_();return E(o.onCustomScheduleAction(a))})("newAction",function(a){M(e);let o=_();return E(o.onNewScheduledAction(a))})("editAction",function(a){M(e);let o=_();return E(o.onEditScheduledAction(a))})("deleteAction",function(a){M(e);let o=_();return E(o.onDeleteScheduledAction(a))}),d()()(),D(20,roe,4,8,"mat-tab"),D(21,loe,4,1,"mat-tab"),c(22,"mat-tab"),Ee(23,coe,2,0,"ng-template",8),c(24,"div",9),N(25,"uds-logs-table",14),d()()()()()}if(t&2){let e=_();p(2),ie("selectedIndex",e.selectedTab),y("@.disabled",!0),p(5),y("matTooltip",e.refreshTooltip),p(3),k(e.servicePool&&e.gui?10:-1),p(),k(e.servicePool.state!=="Q"?11:-1),p(),k(e.cache?12:-1),p(),k(e.servicePool.state!=="Q"?13:-1),p(),k(e.servicePool.state!=="Q"?14:-1),p(),k(e.publications?15:-1),p(4),y("rest",e.scheduledActions)("multiSelect",!0)("allowExport",!0)("tableId","servicePools-d-actions"+e.servicePool.id)("customButtons",e.customButtonsScheduledAction)("onItem",e.processsCalendarOrScheduledElement)("pageSize",e.api.config.admin.page_size)("navHeader",!1),p(),k(e.servicePool.state!=="Q"?20:-1),p(),k(e.servicePool.state!=="Q"?21:-1),p(4),y("rest",e.rest.servicesPools)("itemId",e.servicePool.id)("tableId","servicePools-d-log"+e.servicePool.id)("pageSize",e.api.config.admin.page_size)}}var Rx='event'+django.gettext("Logs")+"",uoe='computer'+django.gettext("VNC")+"",moe='schedule'+django.gettext("Launch now")+"",ZE='perm_identity'+django.gettext("Change owner")+"",XE=''+django.gettext("Reset")+"",poe='perm_identity'+django.gettext("Assign service")+"",hoe='cancel'+django.gettext("Cancel")+"",foe='event'+django.gettext("Changelog")+"",A4='perm_identity'+django.gettext("Fallback: Allow")+"",goe='perm_identity'+django.gettext("Fallback: Deny")+"",Px=(()=>{class t{constructor(){this.route=h(st),this.rest=h(he),this.api=h(q),this.headerService=h(Xi),this.customButtonsScheduledAction=[{id:"launch-action",html:moe,type:Ot.SINGLE_SELECT},Zi.getGotoButton(L0,"calendar_id")],this.customButtonAccessCalendars=[{id:"set-fallback-access",html:A4,type:Ot.ALWAYS},Zi.getGotoButton(L0,"calendar_id")],this.customButtonsAssignedServices=[{id:"change-owner",html:ZE,type:Ot.SINGLE_SELECT},{id:"log",html:Rx,type:Ot.SINGLE_SELECT},{id:"reset",html:XE,type:Ot.SINGLE_SELECT},Zi.getGotoButton(Xf,"owner_info.auth_id","owner_info.user_id")],this.customButtonsCachedServices=[{id:"log",html:Rx,type:Ot.SINGLE_SELECT}],this.customButtonsPublication=[{id:"cancel-publication",html:hoe,type:Ot.SINGLE_SELECT},{id:"changelog",html:foe,type:Ot.ALWAYS}],this.customButtonsGroups=[Zi.getGotoButton(LM,"auth_id","id")],this.customButtonsTransports=[Zi.getGotoButton(VM,"id")],this.servicePoolId=null,this.servicePool=null,this.gui=[],this.refreshTooltip=django.gettext("Refresh"),this.assignedServices={},this.cache=null,this.groups={},this.transports={},this.publications=null,this.scheduledActions={},this.accessCalendars={},this.selectedTab=1}static cleanInvalidSelections(e){return e.table.selection.selected.filter(n=>["E","R","M","S","C"].includes(n.state)).forEach(n=>e.table.selection.deselect(n)),e.table.selection.isEmpty()}ngOnInit(){return F(this,null,function*(){let e=this.route.snapshot.paramMap.get("pool");if(!e)return;this.servicePoolId=e,this.assignedServices=this.rest.servicesPools.detail(e,"services"),this.groups=this.rest.servicesPools.detail(e,"groups"),this.transports=this.rest.servicesPools.detail(e,"transports"),this.scheduledActions=this.rest.servicesPools.detail(e,"actions"),this.accessCalendars=this.rest.servicesPools.detail(e,"access"),yield this.reloadInfo();let n=this.servicePool;n.info.uses_cache?this.cache=this.rest.servicesPools.detail(e,"cache"):this.cache=null,n.info.needs_publication?this.publications=this.rest.servicesPools.detail(e,"publications"):this.publications=null,this.api.config.admin.vnc_userservices&&this.customButtonsAssignedServices.push({id:"vnc",html:uoe,type:Ot.ONLY_MENU}),this.servicePool.info.can_list_assignables&&this.customButtonsAssignedServices.push({id:"assign-service",html:poe,type:Ot.ALWAYS})})}reloadInfo(){return F(this,null,function*(){if(!this.servicePoolId)return;let e=yield this.rest.servicesPools.get(this.servicePoolId),n=(yield this.rest.servicesPools.gui()).filter(a=>{let o=["initial_srvs","cache_l1_srvs","cache_l2_srvs","max_srvs"];return!(e.info.uses_cache===!1&&o.includes(a.name)||e.info.uses_cache_l2===!1&&a.name==="cache_l2_srvs"||e.info.needs_manager===!1&&a.name==="osmanager_id")});this.servicePool=e,this.gui=n,this.headerService.setTitle(this.servicePool.name,"pools",["/pools","service-pools"])})}vnc(e){let n=`[connection] host=`+e.ip+` port=5900 `,a=new Blob([n],{type:"application/extension-vnc"});$s(a,e.ip+".vnc")}onCustomAssigned(e){return F(this,null,function*(){let n=e.table.selection.selected[0];if(e.param.id==="change-owner"){if(["E","R","M","S","C"].includes(n.state))return;(yield Ix.launch(this.api,n,this.assignedServices))===!0&&e.table.reloadPage()}else if(e.param.id==="log")ug.launch(this.api,n,this.assignedServices,this.servicePool?.name);else if(e.param.id==="reset"){if(n.state!=="U")return;this.api.gui.questionDialog(django.gettext("Reset service"),django.gettext("Reset service to its initial state?"),!0).then(a=>{a&&this.assignedServices.invoke(n.id+"/reset",void 0,"POST").then(o=>{this.api.gui.snackbar.open(django.gettext("Service reset launched"),django.gettext("dismiss"),{duration:2e3}),e.table.reloadPage()})})}else e.param.id==="assign-service"?(yield T4.launch(this.api,this.servicePool))===!0&&e.table.reloadPage():e.param.id==="vnc"&&this.vnc(n)})}onCustomCached(e){let n=e.table.selection.selected[0];e.param.id==="log"&&this.cache&&ug.launch(this.api,n,this.cache,this.servicePool?.name)}processsAssignedElement(e){e.in_use=this.api.boolAsHumanString(e.in_use),e.origState=e.state,e.state==="U"&&(e.state=e.os_state!==""&&e.os_state!=="U"?"Z":"U")}onDeleteAssigned(e){t.cleanInvalidSelections(e)||this.api.gui.forms.deleteForm(e,django.gettext("Delete assigned service"))}onDeleteCache(e){t.cleanInvalidSelections(e)||this.api.gui.forms.deleteForm(e,django.gettext("Delete cached service"))}processsCacheElement(e){e.origState=e.state,e.state==="U"&&(e.state=e.os_state!==""&&e.os_state!=="U"?"Z":"U")}checkLocked(){return F(this,null,function*(){return this.servicePool.state==="Q"?(this.api.gui.alert(django.gettext("Service pool is locked"),django.gettext("Service pool is locked, no changes allowed")),!0):!1})}onNewGroup(e){return F(this,null,function*(){(yield this.checkLocked())||(yield Ax.launch(this.api,this.servicePool,this.groups))===!0&&e.table.reloadPage()})}onDeleteGroup(e){return F(this,null,function*(){(yield this.checkLocked())||this.api.gui.forms.deleteForm(e,django.gettext("Delete assigned group"))})}onNewTransport(e){return F(this,null,function*(){(yield this.checkLocked())||(yield D4.launch(this.api,this.servicePool))===!0&&e.table.reloadPage()})}onDeleteTransport(e){return F(this,null,function*(){(yield this.checkLocked())||this.api.gui.forms.deleteForm(e,django.gettext("Delete assigned transport"))})}onNewPublication(e){return F(this,null,function*(){(yield k4.launch(this.api,this.servicePool))===!0&&e.table.reloadPage()})}onPublicationRowSelect(e){return F(this,null,function*(){e.table.selection.selected.length===1&&(this.customButtonsPublication[0].disabled=!["P","W","L","K"].includes(e.table.selection.selected[0].state))})}onCustomPublication(e){return F(this,null,function*(){e.param.id==="cancel-publication"?this.api.gui.questionDialog(django.gettext("Publication"),django.gettext("Cancel publication?"),!0).then(n=>{n&&this.publications&&this.publications.invoke(e.table.selection.selected[0].id+"/cancel",void 0,"POST").then(a=>{this.api.gui.snackbar.open(django.gettext("Publication canceled"),django.gettext("dismiss"),{duration:2e3}),e.table.reloadPage()})}):e.param.id==="changelog"&&M4.launch(this.api,this.servicePool)})}onNewScheduledAction(e){return F(this,null,function*(){QE.launch(this.api,this.servicePool).subscribe(n=>e.table.reloadPage())})}onEditScheduledAction(e){return F(this,null,function*(){QE.launch(this.api,this.servicePool,e.table.selection.selected[0]).subscribe(n=>e.table.reloadPage())})}onDeleteScheduledAction(e){return F(this,null,function*(){this.api.gui.forms.deleteForm(e,django.gettext("Delete scheduled action"))})}onCustomSetFallbackAction(e){return F(this,null,function*(){lu.launch(this.api,this.servicePool,this.accessCalendars,{id:-1}).subscribe(n=>e.table.reloadPage())})}onCustomScheduleAction(e){return F(this,null,function*(){this.api.gui.questionDialog(django.gettext("Execute scheduled action"),django.gettext("Execute scheduled action right now?")).then(n=>{n&&this.scheduledActions.invoke(e.table.selection.selected[0].id+"/execute",void 0,"POST").then(()=>{this.api.gui.snackbar.open(django.gettext("Scheduled action executed"),django.gettext("dismiss"),{duration:2e3}),e.table.reloadPage()})})})}onNewAccessCalendar(e){return F(this,null,function*(){(yield this.checkLocked())||lu.launch(this.api,this.servicePool,this.accessCalendars).subscribe(n=>e.table.reloadPage())})}onEditAccessCalendar(e){return F(this,null,function*(){(yield this.checkLocked())||lu.launch(this.api,this.servicePool,this.accessCalendars,e.table.selection.selected[0]).subscribe(n=>e.table.reloadPage())})}onDeleteAccessCalendar(e){return F(this,null,function*(){(yield this.checkLocked())||(e.table.selection.selected[0].id!==-1?this.api.gui.forms.deleteForm(e,django.gettext("Delete calendar access rule")):this.onEditAccessCalendar(e))})}onAccessCalendarLoad(e){return F(this,null,function*(){this.rest.servicesPools.getFallbackAccess(this.servicePool.id).then(n=>{n.toLowerCase()==="allow"?this.customButtonAccessCalendars[0].html=A4:this.customButtonAccessCalendars[0].html=goe})})}processsCalendarOrScheduledElement(e){e.name=e.calendar,e.atStart=this.api.boolAsHumanString(e.atStart)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=I({type:t,selectors:[["uds-service-pools-detail"]],standalone:!1,decls:9,vars:6,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],[1,"content"],[1,"info-toolbar"],["mat-icon-button","",3,"click","matTooltip"],[3,"value","gui"],["icon","calendars",3,"customButtonAction","newAction","editAction","deleteAction","rest","multiSelect","allowExport","tableId","customButtons","onItem","pageSize","navHeader"],[3,"rest","itemId","tableId","pageSize"],["icon","pools",3,"customButtonAction","deleteAction","rest","multiSelect","allowExport","onItem","tableId","customButtons","pageSize","navHeader"],["icon","cached",3,"customButtonAction","deleteAction","rest","titleOverride","multiSelect","allowExport","onItem","tableId","customButtons","pageSize","navHeader"],["icon","groups",3,"newAction","deleteAction","rest","multiSelect","allowExport","customButtons","tableId","pageSize","navHeader"],["icon","transports",3,"newAction","deleteAction","rest","multiSelect","allowExport","customButtons","tableId","pageSize","navHeader"],["icon","publications",3,"customButtonAction","newAction","rowSelected","rest","multiSelect","allowExport","tableId","customButtons","pageSize","navHeader"],["icon","calendars",3,"customButtonAction","newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","customButtons","tableId","onItem","pageSize","navHeader"],[3,"poolUuid"]],template:function(n,a){n&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),f(4,"arrow_back"),d()(),f(5," \xA0"),N(6,"img",4),f(7),d(),D(8,doe,26,23,"div",5),d()),n&2&&(p(2),y("routerLink",Sa(4,Uae,a.servicePool?a.servicePool.id:"")),p(4),y("src",a.api.staticURL("admin/img/icons/pools.png")),p(),j(" \xA0",a.servicePool?.name," "),p(),k(a.servicePool!==null?8:-1))},dependencies:[Jn,ti,mo,fi,gi,yi,be,tt,Do,Mr,I4],styles:[".info-toolbar[_ngcontent-%COMP%]{display:flex;justify-content:flex-end} .mat-column-state{max-width:10rem;justify-content:center} .mat-column-state div{width:auto!important} .mat-column-revision, .mat-column-cache_level, .mat-column-in_use, .mat-column-priority{max-width:7rem;justify-content:center} .mat-column-revision div, .mat-column-cache_level div, .mat-column-in_use div, .mat-column-priority div{width:auto!important} .mat-column-publish_date, .mat-column-state_date, .mat-column-creation_date{width:14rem} .mat-column-trans_type, .mat-column-access{max-width:9rem} .mat-column-owner{overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-all;word-break:break-word} .row-state-S>.mat-mdc-cell{color:gray!important} .row-state-C>.mat-mdc-cell{color:gray!important} .row-state-E>.mat-mdc-cell{color:red!important} .row-state-R>.mat-mdc-cell{color:orange!important}"],changeDetection:1})}}return t})();var _oe=[{field:"name",title:django.gettext("Name")},{field:"state",title:django.gettext("State")},{field:"user_services_count",title:django.gettext("User services"),type:mn.NUMERIC},{field:"user_services_in_preparation",title:django.gettext("In preparation"),type:mn.NUMERIC},{field:"usage",title:django.gettext("Usage")},{field:"pool_group_name",title:django.gettext("Pool group")}],N4=[{field:"friendly_name",title:django.gettext("Name")},{field:"pool_name",title:django.gettext("Service pool")},{field:"unique_id",title:django.gettext("Unique ID")},{field:"state",title:django.gettext("State")},{field:"ip",title:django.gettext("IP")},{field:"in_use",title:django.gettext("In use"),type:mn.BOOLEAN}],Fx=(()=>{class t{constructor(){this.api=h(q),this.route=h(st),this.rest=h(he);let e=this.route.snapshot.data;this.icon=e.icon,this.title=e.title;let n={"user-services":[()=>this.userServices(!0),N4],"assigned-services":[()=>this.userServices(!1),N4],"restrained-pools":[()=>this.pools(!0),_oe]},[a,o]=n[e.list];this.selectedRest=new So(this.title,a,o,e.list)}pools(e){return F(this,null,function*(){let n=yield this.rest.servicesPools.overview();return e?n.filter(a=>a.restrained):n})}forEachPool(e){return F(this,null,function*(){let n=yield this.rest.servicesPools.overview();return(yield Promise.allSettled(n.map(o=>F(this,null,function*(){return(yield e(o)).map(r=>We($({},r),{pool_name:o.name}))})))).filter(o=>o.status==="fulfilled").flatMap(o=>o.value)})}userServices(e){return F(this,null,function*(){let n=this.forEachPool(o=>this.rest.servicesPools.detail(o.id,"services").overview());if(!e)return n;let a=this.forEachPool(o=>this.rest.servicesPools.detail(o.id,"cache").overview());return(yield Promise.all([n,a])).flat()})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=I({type:t,selectors:[["uds-dashboard-list"]],standalone:!1,decls:2,vars:7,consts:[[3,"rest","multiSelect","allowExport","hasPermissions","pageSize","titleOverride","icon"]],template:function(n,a){n&1&&(c(0,"div"),N(1,"uds-table",0),d()),n&2&&(p(),y("rest",a.selectedRest)("multiSelect",!1)("allowExport",!0)("hasPermissions",!1)("pageSize",a.api.config.admin.page_size)("titleOverride",a.title)("icon",a.icon))},dependencies:[tt],encapsulation:2,changeDetection:1})}}return t})();var JE=(()=>{class t{constructor(){this.api=h(q),this.route=h(st),this.rest=h(he)}ngOnInit(){}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New meta pool"))}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit meta pool"))}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete meta pool"),void 0,!0)}onDetail(e){this.api.navigation.gotoMetapoolDetail(e.param.id)}processElement(e){typeof e.name!="string"&&(e.name=""),e.name=e.name.replace(//g,">"),e.name=this.api.safeString(this.api.gui.icon_from_image(e.thumb)+e.name),e.pool_group_name=this.api.safeString(this.api.gui.icon_from_image(e.pool_group_thumb)+e.pool_group_name)}onLoad(e){e.param===!0&&e.table.selectElement(this.route.snapshot.paramMap.get("metapool"))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=I({type:t,selectors:[["uds-meta-pools"]],standalone:!1,decls:2,vars:6,consts:[["icon","metas",3,"detailAction","newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","onItem","hasPermissions","pageSize"]],template:function(n,a){n&1&&(c(0,"div")(1,"uds-table",0),C("detailAction",function(r){return a.onDetail(r)})("newAction",function(r){return a.onNew(r)})("editAction",function(r){return a.onEdit(r)})("deleteAction",function(r){return a.onDelete(r)})("loaded",function(r){return a.onLoad(r)}),d()()),n&2&&(p(),y("rest",a.rest.metaPools)("multiSelect",!0)("allowExport",!0)("onItem",a.processElement)("hasPermissions",!0)("pageSize",a.api.config.admin.page_size))},dependencies:[tt],styles:[".mat-column-user_services_count, .mat-column-user_services_in_preparation, .mat-column-visible, .mat-column-pool_group_name{max-width:7rem;justify-content:center} .mat-column-user_services_count div, .mat-column-user_services_in_preparation div, .mat-column-visible div, .mat-column-pool_group_name div{width:auto!important}"],changeDetection:1})}}return t})();function boe(t,i){t&1&&(c(0,"uds-translate"),f(1,"New member pool"),d())}function voe(t,i){t&1&&(c(0,"uds-translate"),f(1,"Edit member pool"),d())}function yoe(t,i){if(t&1){let e=H();c(0,"uds-cond-select-search",9),C("changed",function(a){M(e);let o=_();return E(o.servicePoolsFilter=a)}),d()}}function xoe(t,i){if(t&1&&(c(0,"mat-option",4),f(1),d()),t&2){let e=i.$implicit;y("value",e.id),p(),j(" ",e.name," ")}}var eT=(()=>{class t{constructor(){this.api=h(q),this.rest=h(he),this.dialogRef=h(ct),this.done=new ni,this.servicePools=[],this.servicePoolsFilter="";let e=h(_t);this.model=e.model,this.memberPool={id:void 0,priority:0,pool_id:"",enabled:!0},e.memberPool&&(this.memberPool.id=e.memberPool.id)}static launch(e,n,a){let o=window.innerWidth<800?"60%":"40%";return e.gui.dialog.open(t,{width:o,position:{top:window.innerWidth<800?"0px":"7rem"},data:{memberPool:a,model:n},disableClose:!1}).componentInstance.done}ngOnInit(){return F(this,null,function*(){this.servicePools=yield this.rest.servicesPools.overview(),this.memberPool.id&&(this.memberPool=yield this.model.get(this.memberPool.id))})}filtered(e,n){return n?e.filter(a=>a.name.toLocaleLowerCase().includes(n.toLocaleLowerCase())):e}save(){return F(this,null,function*(){if(!this.memberPool.pool_id){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid service pool"));return}yield this.model.save(this.memberPool),this.dialogRef.close(),this.done.resolve(!0)})}cancel(){this.dialogRef.close(),this.done.resolve(!1)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=I({type:t,selectors:[["uds-meta-pools-service-pools"]],standalone:!1,decls:31,vars:7,consts:[["mat-dialog-title",""],[1,"content"],["matInput","","type","number",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],[3,"value"],[1,"mat-form-field-infix"],[1,"label-enabled"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"changed"]],template:function(n,a){n&1&&(c(0,"h4",0),D(1,boe,2,0,"uds-translate"),D(2,voe,2,0,"uds-translate"),d(),c(3,"mat-dialog-content")(4,"div",1)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),f(8,"Priority"),d()(),c(9,"input",2),de(),ae("ngModelChange",function(r){return oe(a.memberPool.priority,r)||(a.memberPool.priority=r),r}),d()(),c(10,"mat-form-field")(11,"mat-label")(12,"uds-translate"),f(13,"Service pool"),d()(),c(14,"mat-select",3),de(),ae("ngModelChange",function(r){return oe(a.memberPool.pool_id,r)||(a.memberPool.pool_id=r),r}),D(15,yoe,1,0,"uds-cond-select-search"),se(16,xoe,2,2,"mat-option",4,Te),d()(),c(18,"div",5)(19,"span",6)(20,"uds-translate"),f(21,"Enabled?"),d()(),c(22,"mat-slide-toggle",3),de(),ae("ngModelChange",function(r){return oe(a.memberPool.enabled,r)||(a.memberPool.enabled=r),r}),f(23),d()()()(),c(24,"mat-dialog-actions")(25,"button",7),C("click",function(){return a.cancel()}),c(26,"uds-translate"),f(27,"Cancel"),d()(),c(28,"button",8),C("click",function(){return a.save()}),c(29,"uds-translate"),f(30,"Ok"),d()()()),n&2&&(p(),k(a.memberPool?.id?-1:1),p(),k(a.memberPool?.id?2:-1),p(7),ie("ngModel",a.memberPool.priority),ue(),p(5),ie("ngModel",a.memberPool.pool_id),ue(),p(),k(a.servicePools.length>10?15:-1),p(),le(a.filtered(a.servicePools,a.servicePoolsFilter)),p(6),ie("ngModel",a.memberPool.enabled),ue(),p(),j(" ",a.api.boolAsHumanString(a.memberPool.enabled)," "))},dependencies:[Kt,Go,et,it,Ne,vt,xt,yt,ze,dt,Jt,en,Mt,Rl,be,ci],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:90%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.label-enabled[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0;line-height:18px;overflow:hidden;pointer-events:none;text-align:left;text-overflow:ellipsis;transform:matrix(.85,0,0,.85,-4,-.5);white-space:nowrap}"],changeDetection:1})}}return t})();var Coe=t=>["/pools","meta-pools",t];function woe(t,i){t&1&&(c(0,"uds-translate"),f(1,"Summary"),d())}function Soe(t,i){if(t&1&&N(0,"uds-information",10),t&2){let e=_(2);y("value",e.metaPool)("gui",e.gui)}}function Doe(t,i){t&1&&(c(0,"uds-translate"),f(1,"Service pools"),d())}function koe(t,i){t&1&&(c(0,"uds-translate"),f(1,"Assigned services"),d())}function Moe(t,i){t&1&&(c(0,"uds-translate"),f(1,"Groups"),d())}function Eoe(t,i){t&1&&(c(0,"uds-translate"),f(1,"Access calendars"),d())}function Toe(t,i){t&1&&(c(0,"uds-translate"),f(1,"Logs"),d())}function Ioe(t,i){if(t&1){let e=H();c(0,"div",5)(1,"div",6)(2,"mat-tab-group",7),ae("selectedIndexChange",function(a){M(e);let o=_();return oe(o.selectedTab,a)||(o.selectedTab=a),E(a)}),c(3,"mat-tab"),Ee(4,woe,2,0,"ng-template",8),c(5,"div",9),D(6,Soe,1,2,"uds-information",10),d()(),c(7,"mat-tab"),Ee(8,Doe,2,0,"ng-template",8),c(9,"div",9)(10,"uds-table",11),C("newAction",function(a){M(e);let o=_();return E(o.onNewMemberPool(a))})("editAction",function(a){M(e);let o=_();return E(o.onEditMemberPool(a))})("deleteAction",function(a){M(e);let o=_();return E(o.onDeleteMemberPool(a))}),d()()(),c(11,"mat-tab"),Ee(12,koe,2,0,"ng-template",8),c(13,"div",9)(14,"uds-table",12),C("customButtonAction",function(a){M(e);let o=_();return E(o.onCustomAssigned(a))})("deleteAction",function(a){M(e);let o=_();return E(o.onDeleteAssigned(a))}),d()()(),c(15,"mat-tab"),Ee(16,Moe,2,0,"ng-template",8),c(17,"div",9)(18,"uds-table",13),C("newAction",function(a){M(e);let o=_();return E(o.onNewGroup(a))})("deleteAction",function(a){M(e);let o=_();return E(o.onDeleteGroup(a))}),d()()(),c(19,"mat-tab"),Ee(20,Eoe,2,0,"ng-template",8),c(21,"div",9)(22,"uds-table",14),C("newAction",function(a){M(e);let o=_();return E(o.onNewAccessCalendar(a))})("editAction",function(a){M(e);let o=_();return E(o.onEditAccessCalendar(a))})("deleteAction",function(a){M(e);let o=_();return E(o.onDeleteAccessCalendar(a))})("loaded",function(a){M(e);let o=_();return E(o.onAccessCalendarLoad(a))}),d()()(),c(23,"mat-tab"),Ee(24,Toe,2,0,"ng-template",8),c(25,"div",9),N(26,"uds-logs-table",15),d()()()()()}if(t&2){let e=_();p(2),ie("selectedIndex",e.selectedTab),y("@.disabled",!0),p(4),k(e.metaPool&&e.gui?6:-1),p(4),y("navHeader",!1)("rest",e.memberPools)("multiSelect",!0)("allowExport",!0)("onItem",e.processElement)("customButtons",e.customButtons)("tableId","metaPools-d-members"+e.metaPool.id)("pageSize",e.api.config.admin.page_size),p(4),y("navHeader",!1)("rest",e.memberUserServices)("multiSelect",!0)("allowExport",!0)("tableId","metaPools-d-services"+e.metaPool.id)("customButtons",e.customButtonsAssignedServices)("pageSize",e.api.config.admin.page_size),p(4),y("navHeader",!1)("rest",e.groups)("multiSelect",!0)("allowExport",!0)("tableId","metaPools-d-groups"+e.metaPool.id)("pageSize",e.api.config.admin.page_size),p(4),y("navHeader",!1)("rest",e.accessCalendars)("multiSelect",!0)("allowExport",!0)("tableId","metaPools-d-access"+e.metaPool.id)("pageSize",e.api.config.admin.page_size)("onItem",e.processsCalendarItem),p(4),y("rest",e.rest.metaPools)("itemId",e.metaPool.id)("tableId","metaPools-d-log"+e.metaPool.id)("pageSize",e.api.config.admin.page_size)}}var O4=(()=>{class t{constructor(){this.route=h(st),this.rest=h(he),this.api=h(q),this.headerService=h(Xi),this.customButtons=[Zi.getGotoButton(Zf,"pool_id")],this.customButtonsAssignedServices=[{id:"change-owner",html:ZE,type:Ot.SINGLE_SELECT},{id:"log",html:Rx,type:Ot.SINGLE_SELECT},{id:"reset",html:XE,type:Ot.SINGLE_SELECT},Zi.getGotoButton(Xf,"owner_info.auth_id","owner_info.user_id")],this.metaPool=null,this.gui=null,this.selectedTab=1,this.memberPools={},this.memberUserServices={},this.groups={},this.accessCalendars={}}ngOnInit(){return F(this,null,function*(){let e=this.route.snapshot.paramMap.get("metapool");if(!e)return;let n=yield this.rest.metaPools.get(e),a=yield this.rest.metaPools.gui();this.memberPools=this.rest.metaPools.detail(e,"pools"),this.memberUserServices=this.rest.metaPools.detail(e,"services"),this.groups=this.rest.metaPools.detail(e,"groups"),this.accessCalendars=this.rest.metaPools.detail(e,"access"),this.metaPool=n,this.gui=a,this.headerService.setTitle(n.name,"metas",["/pools","meta-pools"])})}onNewMemberPool(e){return F(this,null,function*(){(yield eT.launch(this.api,this.memberPools))===!0&&e.table.reloadPage()})}onEditMemberPool(e){return F(this,null,function*(){(yield eT.launch(this.api,this.memberPools,e.table.selection.selected[0]))===!0&&e.table.reloadPage()})}onDeleteMemberPool(e){return F(this,null,function*(){this.api.gui.forms.deleteForm(e,django.gettext("Remove member pool"))})}onCustomAssigned(e){return F(this,null,function*(){let n=e.table.selection.selected[0];if(e.param.id==="change-owner"){if(["E","R","M","S","C"].includes(n.state))return;(yield Ix.launch(this.api,n,this.memberUserServices))===!0&&e.table.reloadPage()}else if(e.param.id==="log")ug.launch(this.api,n,this.memberUserServices,this.metaPool?.name);else if(e.param.id==="reset"){if(n.state!=="U")return;this.api.gui.questionDialog(django.gettext("Reset service"),django.gettext("Reset service to its initial state?"),!0).then(a=>{a&&this.memberUserServices.invoke(n.id+"/reset",void 0,"POST").then(o=>{this.api.gui.snackbar.open(django.gettext("Service reset launched"),django.gettext("dismiss"),{duration:2e3}),e.table.reloadPage()})})}})}onDeleteAssigned(e){return F(this,null,function*(){Px.cleanInvalidSelections(e)||this.api.gui.forms.deleteForm(e,django.gettext("Delete assigned service"))})}onNewGroup(e){return F(this,null,function*(){(yield Ax.launch(this.api,this.metaPool.id,this.groups))===!0&&e.table.reloadPage()})}onDeleteGroup(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete assigned group"))}onNewAccessCalendar(e){lu.launch(this.api,this.metaPool,this.accessCalendars).subscribe(n=>e.table.reloadPage())}onEditAccessCalendar(e){lu.launch(this.api,this.metaPool,this.accessCalendars,e.table.selection.selected[0]).subscribe(n=>e.table.reloadPage())}onDeleteAccessCalendar(e){e.table.selection.selected[0].id!==-1?this.api.gui.forms.deleteForm(e,django.gettext("Delete calendar access rule")):this.onEditAccessCalendar(e)}onAccessCalendarLoad(e){this.rest.metaPools.getFallbackAccess(this.metaPool.id).then(n=>{})}processElement(e){e.enabled=this.api.boolAsHumanString(e.enabled)}processsCalendarItem(e){e.name=e.calendar,e.atStart=this.api.boolAsHumanString(e.atStart)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=I({type:t,selectors:[["uds-meta-pools-detail"]],standalone:!1,decls:10,vars:8,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],[1,"content"],[3,"value","gui"],["icon","pools",3,"newAction","editAction","deleteAction","navHeader","rest","multiSelect","allowExport","onItem","customButtons","tableId","pageSize"],["icon","pools",3,"customButtonAction","deleteAction","navHeader","rest","multiSelect","allowExport","tableId","customButtons","pageSize"],["icon","groups",3,"newAction","deleteAction","navHeader","rest","multiSelect","allowExport","tableId","pageSize"],["icon","calendars",3,"newAction","editAction","deleteAction","loaded","navHeader","rest","multiSelect","allowExport","tableId","pageSize","onItem"],[3,"rest","itemId","tableId","pageSize"]],template:function(n,a){n&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),f(4,"arrow_back"),d()(),f(5," \xA0"),N(6,"img",4),f(7),d(),D(8,Ioe,27,35,"div",5),Vt(9,"notEmpty"),d()),n&2&&(p(2),y("routerLink",Sa(6,Coe,a.metaPool?a.metaPool.id:"")),p(4),y("src",a.api.staticURL("admin/img/icons/metas.png")),p(),j(" ",a.metaPool?.name," "),p(),k(dn(9,4,a.metaPool)?8:-1))},dependencies:[Jn,fi,gi,yi,be,tt,Do,Mr,Ri],styles:[".mat-column-enabled, .mat-column-priority{max-width:8rem;justify-content:center}"],changeDetection:1})}}return t})();var tT=(()=>{class t{constructor(){this.route=h(st),this.rest=h(he),this.api=h(q)}ngOnInit(){}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New pool group"),!1).then(()=>e.table.reloadPage())}onEdit(e){return F(this,null,function*(){this.api.gui.forms.typedEditForm(e,django.gettext("Edit pool group"),!1)})}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete pool group"))}onLoad(e){e.param===!0&&e.table.selectElement(this.route.snapshot.paramMap.get("poolgroup"))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=I({type:t,selectors:[["uds-pool-groups"]],standalone:!1,decls:1,vars:5,consts:[["icon","spool-group",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(n,a){n&1&&(c(0,"uds-table",0),C("newAction",function(r){return a.onNew(r)})("editAction",function(r){return a.onEdit(r)})("deleteAction",function(r){return a.onDelete(r)})("loaded",function(r){return a.onLoad(r)}),d()),n&2&&y("rest",a.rest.servicesPoolGroups)("multiSelect",!0)("allowExport",!0)("hasPermissions",!1)("pageSize",a.api.config.admin.page_size)},dependencies:[tt],styles:[".mat-column-priority, .mat-column-thumb{max-width:7rem;justify-content:center}"],changeDetection:1})}}return t})();var nT=(()=>{class t{constructor(){this.route=h(st),this.rest=h(he),this.api=h(q)}ngOnInit(){}onNew(e){this.api.gui.forms.typedNewForm(e,django.gettext("New calendar"))}onEdit(e){this.api.gui.forms.typedEditForm(e,django.gettext("Edit calendar"))}onDelete(e){this.api.gui.forms.deleteForm(e,django.gettext("Delete calendar"))}onDetail(e){this.api.navigation.gotoCalendarDetail(e.param.id)}onLoad(e){e.param===!0&&e.table.selectElement(this.route.snapshot.paramMap.get("calendar"))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=I({type:t,selectors:[["uds-calendars"]],standalone:!1,decls:1,vars:5,consts:[["icon","calendars",3,"newAction","editAction","deleteAction","detailAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(n,a){n&1&&(c(0,"uds-table",0),C("newAction",function(r){return a.onNew(r)})("editAction",function(r){return a.onEdit(r)})("deleteAction",function(r){return a.onDelete(r)})("detailAction",function(r){return a.onDetail(r)})("loaded",function(r){return a.onLoad(r)}),d()),n&2&&y("rest",a.rest.calendars)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",a.api.config.admin.page_size)},dependencies:[tt],encapsulation:2,changeDetection:1})}}return t})();var cs=()=>Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC",Aoe=t=>{if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}),!0}catch(i){return!1}},iT="calendars-time-zone",F4=t=>Aoe(t)?t:cs(),L4=()=>{let t=Intl.supportedValuesOf("timeZone");return t.includes("UTC")?t:["UTC",...t]};var R4=new Map,Noe=t=>{let i=R4.get(t);return i||(i=new Intl.DateTimeFormat("en-US",{timeZone:t,hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}),R4.set(t,i)),i},Pc=(t,i)=>{let e=Noe(i).formatToParts(t),n=a=>Number(e.find(o=>o.type===a)?.value);return new Date(Date.UTC(n("year"),n("month")-1,n("day"),n("hour"),n("minute")))},P4=(t,i)=>{let e=Math.floor(t/6e4)*6e4;return Pc(new Date(e),i).getTime()-e},Lx=(t,i)=>{let e=t.getTime(),n=Math.floor(e/6e4)*6e4,o=[...new Set([-864e5,-864e5/2,0,864e5/2,864e5].map(s=>P4(e+s,i)))].map(s=>n-s).filter(s=>Pc(new Date(s),i).getTime()===n).sort((s,l)=>s-l);if(o.length>0)return new Date(o[0]+(e-n));let r=P4(e-864e5,i);return new Date(e-r)},Ks=(t,i)=>{let e=Pc(t,i);return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes())},V4=(t,i)=>Lx(new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes())),i);var Cp=(()=>{class t{changes=new ne;calendarLabel="Calendar";openCalendarLabel="Open calendar";closeCalendarLabel="Close calendar";prevMonthLabel="Previous month";nextMonthLabel="Next month";prevYearLabel="Previous year";nextYearLabel="Next year";prevMultiYearLabel="Previous 24 years";nextMultiYearLabel="Next 24 years";switchToMonthViewLabel="Choose date";switchToMultiYearViewLabel="Choose month and year";startDateLabel="Start date";endDateLabel="End date";comparisonDateLabel="Comparison range";formatYearRange(e,n){return`${e} \u2013 ${n}`}formatYearRangeLabel(e,n){return`${e} to ${n}`}static \u0275fac=function(n){return new(n||t)};static \u0275prov=Me({token:t,factory:t.\u0275fac})}return t})(),Ooe=0,pg=class{value;displayValue;ariaLabel;enabled;compareValue;rawValue;id=Ooe++;cssClasses;constructor(i,e,n,a,o,r=i,s){this.value=i,this.displayValue=e,this.ariaLabel=n,this.enabled=a,this.compareValue=r,this.rawValue=s,this.cssClasses=o instanceof Set?Array.from(o):o}},Roe={passive:!1,capture:!0},Vx={passive:!0,capture:!0},B4={passive:!0},xp=(()=>{class t{_elementRef=h(pe);_ngZone=h(Se);_platform=h($t);_intl=h(Cp);_eventCleanups;_skipNextFocus=!1;_focusActiveCellAfterViewChecked=!1;label;rows;todayValue;startValue;endValue;labelMinRequiredCells;numCols=7;activeCell=0;ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}isRange=!1;cellAspectRatio=1;comparisonStart=null;comparisonEnd=null;previewStart=null;previewEnd=null;startDateAccessibleName=null;endDateAccessibleName=null;selectedValueChange=new z;previewChange=new z;activeDateChange=new z;dragStarted=new z;dragEnded=new z;_firstRowOffset;_cellPadding;_cellWidth;_startDateLabelId;_endDateLabelId;_comparisonStartDateLabelId;_comparisonEndDateLabelId;_didDragSinceMouseDown=!1;_injector=h(Ae);comparisonDateAccessibleName=this._intl.comparisonDateLabel;_trackRow=e=>e;constructor(){let e=h(zt),n=h(Rt);this._startDateLabelId=n.getId("mat-calendar-body-start-"),this._endDateLabelId=n.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=n.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=n.getId("mat-calendar-body-comparison-end-"),h(sn).load(vi),this._ngZone.runOutsideAngular(()=>{let a=this._elementRef.nativeElement,o=[e.listen(a,"touchmove",this._touchmoveHandler,Roe),e.listen(a,"mouseenter",this._enterHandler,Vx),e.listen(a,"focus",this._enterHandler,Vx),e.listen(a,"mouseleave",this._leaveHandler,Vx),e.listen(a,"blur",this._leaveHandler,Vx),e.listen(a,"mousedown",this._mousedownHandler,B4),e.listen(a,"touchstart",this._mousedownHandler,B4)];this._platform.isBrowser&&o.push(e.listen("window","mouseup",this._mouseupHandler),e.listen("window","touchend",this._touchendHandler)),this._eventCleanups=o})}_cellClicked(e,n){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:n})}_emitActiveDateChange(e,n){e.enabled&&this.activeDateChange.emit({value:e.value,event:n})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){let n=e.numCols,{rows:a,numCols:o}=this;(e.rows||n)&&(this._firstRowOffset=a&&a.length&&a[0].length?o-a[0].length:0),(e.cellAspectRatio||n||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/o}%`),(n||!this._cellWidth)&&(this._cellWidth=`${100/o}%`)}ngOnDestroy(){this._eventCleanups.forEach(e=>e())}_isActiveCell(e,n){let a=e*this.numCols+n;return e&&(a-=this._firstRowOffset),a==this.activeCell}_focusActiveCell(e=!0){fn(()=>{setTimeout(()=>{let n=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");n&&(e||(this._skipNextFocus=!0),n.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return rT(e,this.startValue,this.endValue)}_isRangeEnd(e){return sT(e,this.startValue,this.endValue)}_isInRange(e){return lT(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return rT(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,n,a){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let o=this.rows[n][a-1];if(!o){let r=this.rows[n-1];o=r&&r[r.length-1]}return o&&!this._isRangeEnd(o.compareValue)}_isComparisonBridgeEnd(e,n,a){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let o=this.rows[n][a+1];if(!o){let r=this.rows[n+1];o=r&&r[0]}return o&&!this._isRangeStart(o.compareValue)}_isComparisonEnd(e){return sT(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return lT(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return rT(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return sT(e,this.previewStart,this.previewEnd)}_isInPreview(e){return lT(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){if(!this.isRange)return null;if(this.startValue===e&&this.endValue===e)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===e)return this._startDateLabelId;if(this.endValue===e)return this._endDateLabelId;if(this.comparisonStart!==null&&this.comparisonEnd!==null){if(e===this.comparisonStart&&e===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(e===this.comparisonStart)return this._comparisonStartDateLabelId;if(e===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_enterHandler=e=>{if(this._skipNextFocus&&e.type==="focus"){this._skipNextFocus=!1;return}if(e.target&&this.isRange){let n=this._getCellFromElement(e.target);n&&this._ngZone.run(()=>this.previewChange.emit({value:n.enabled?n:null,event:e}))}};_touchmoveHandler=e=>{if(!this.isRange)return;let n=j4(e),a=n?this._getCellFromElement(n):null;n!==e.target&&(this._didDragSinceMouseDown=!0),oT(e.target)&&e.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:a?.enabled?a:null,event:e}))};_leaveHandler=e=>{this.previewEnd!==null&&this.isRange&&(e.type!=="blur"&&(this._didDragSinceMouseDown=!0),e.target&&this._getCellFromElement(e.target)&&!(e.relatedTarget&&this._getCellFromElement(e.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:e})))};_mousedownHandler=e=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let n=e.target&&this._getCellFromElement(e.target);!n||!this._isInRange(n.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:n.rawValue,event:e})})};_mouseupHandler=e=>{if(!this.isRange)return;let n=oT(e.target);if(!n){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:e})});return}n.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let a=this._getCellFromElement(n);this.dragEnded.emit({value:a?.rawValue??null,event:e})})};_touchendHandler=e=>{let n=j4(e);n&&this._mouseupHandler({target:n})};_getCellFromElement(e){let n=oT(e);if(n){let a=n.getAttribute("data-mat-row"),o=n.getAttribute("data-mat-col");if(a&&o)return this.rows[parseInt(a)]?.[parseInt(o)]||null}return null}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=(function(){function e(l,u){return this._trackRow(u)}let n=(l,u)=>u.id;function a(l,u){if(l&1&&(nn(0,"tr",0)(1,"td",3),f(2),rn()()),l&2){let m=_();p(),En("padding-top",m._cellPadding)("padding-bottom",m._cellPadding),re("colspan",m.numCols),p(),j(" ",m.label," ")}}function o(l,u){if(l&1&&(nn(0,"td",3),f(1),rn()),l&2){let m=_(2);En("padding-top",m._cellPadding)("padding-bottom",m._cellPadding),re("colspan",m._firstRowOffset),p(),j(" ",m._firstRowOffset>=m.labelMinRequiredCells?m.label:""," ")}}function r(l,u){if(l&1){let m=H();nn(0,"td",6)(1,"button",7),uc("click",function(b){let v=M(m).$implicit,w=_(2);return E(w._cellClicked(v,b))})("focus",function(b){let v=M(m).$implicit,w=_(2);return E(w._emitActiveDateChange(v,b))}),nn(2,"span",8),f(3),rn(),_a(4,"span",9),rn()()}if(l&2){let m=u.$implicit,g=u.$index,b=_().$index,v=_();En("width",v._cellWidth)("padding-top",v._cellPadding)("padding-bottom",v._cellPadding),re("data-mat-row",b)("data-mat-col",g),p(),Yt(m.cssClasses),X("mat-calendar-body-disabled",!m.enabled)("mat-calendar-body-active",v._isActiveCell(b,g))("mat-calendar-body-range-start",v._isRangeStart(m.compareValue))("mat-calendar-body-range-end",v._isRangeEnd(m.compareValue))("mat-calendar-body-in-range",v._isInRange(m.compareValue))("mat-calendar-body-comparison-bridge-start",v._isComparisonBridgeStart(m.compareValue,b,g))("mat-calendar-body-comparison-bridge-end",v._isComparisonBridgeEnd(m.compareValue,b,g))("mat-calendar-body-comparison-start",v._isComparisonStart(m.compareValue))("mat-calendar-body-comparison-end",v._isComparisonEnd(m.compareValue))("mat-calendar-body-in-comparison-range",v._isInComparisonRange(m.compareValue))("mat-calendar-body-preview-start",v._isPreviewStart(m.compareValue))("mat-calendar-body-preview-end",v._isPreviewEnd(m.compareValue))("mat-calendar-body-in-preview",v._isInPreview(m.compareValue)),Bn("tabIndex",v._isActiveCell(b,g)?0:-1),re("aria-label",m.ariaLabel)("aria-disabled",!m.enabled||null)("aria-pressed",v._isSelected(m.compareValue))("aria-current",v.todayValue===m.compareValue?"date":null)("aria-describedby",v._getDescribedby(m.compareValue)),p(),X("mat-calendar-body-selected",v._isSelected(m.compareValue))("mat-calendar-body-comparison-identical",v._isComparisonIdentical(m.compareValue))("mat-calendar-body-today",v.todayValue===m.compareValue),p(),j(" ",m.displayValue," ")}}function s(l,u){if(l&1&&(nn(0,"tr",1),D(1,o,2,6,"td",4),se(2,r,5,49,"td",5,n),rn()),l&2){let m=u.$implicit,g=u.$index,b=_();p(),k(g===0&&b._firstRowOffset?1:-1),p(),le(m)}}return I({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[St],decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(u,m){u&1&&(D(0,a,3,6,"tr",0),se(1,s,4,1,"tr",1,e,!0),nn(3,"span",2),f(4),rn(),nn(5,"span",2),f(6),rn(),nn(7,"span",2),f(8),rn(),nn(9,"span",2),f(10),rn()),u&2&&(k(m._firstRowOffset*{vertical-align:middle;display:inline-block}.u-legend .u-marker{width:1em;height:1em;margin-right:4px;background-clip:padding-box!important}.u-inline.u-live th:after{content:":";vertical-align:middle}.u-inline:not(.u-live) .u-value{display:none}.u-series>*{padding:4px}.u-series th{cursor:pointer}.u-legend .u-off>*{opacity:.3}.u-select{background:#00000012;position:absolute;pointer-events:none}.u-cursor-x,.u-cursor-y{position:absolute;left:0;top:0;pointer-events:none;will-change:transform}.u-hz .u-cursor-x,.u-vt .u-cursor-y{height:100%;border-right:1px dashed #607D8B}.u-hz .u-cursor-y,.u-vt .u-cursor-x{width:100%;border-bottom:1px dashed #607D8B}.u-cursor-pt{position:absolute;top:0;left:0;border-radius:50%;border:0 solid;pointer-events:none;will-change:transform;background-clip:padding-box!important}.u-axis.u-off,.u-select.u-off,.u-cursor-x.u-off,.u-cursor-y.u-off,.u-cursor-pt.u-off{display:none}.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:var(--mat-app-elevation-shadow-level-0, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow)}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:var(--mat-app-elevation-shadow-level-1, 0px 2px 1px -1px --mat-sys-shadow, 0px 1px 1px 0px --mat-sys-shadow, 0px 1px 3px 0px --mat-sys-shadow)}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:var(--mat-app-elevation-shadow-level-2, 0px 3px 1px -2px --mat-sys-shadow, 0px 2px 2px 0px --mat-sys-shadow, 0px 1px 5px 0px --mat-sys-shadow)}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:var(--mat-app-elevation-shadow-level-3, 0px 3px 3px -2px --mat-sys-shadow, 0px 3px 4px 0px --mat-sys-shadow, 0px 1px 8px 0px --mat-sys-shadow)}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:var(--mat-app-elevation-shadow-level-4, 0px 2px 4px -1px --mat-sys-shadow, 0px 4px 5px 0px --mat-sys-shadow, 0px 1px 10px 0px --mat-sys-shadow)}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:var(--mat-app-elevation-shadow-level-5, 0px 3px 5px -1px --mat-sys-shadow, 0px 5px 8px 0px --mat-sys-shadow, 0px 1px 14px 0px --mat-sys-shadow)}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:var(--mat-app-elevation-shadow-level-6, 0px 3px 5px -1px --mat-sys-shadow, 0px 6px 10px 0px --mat-sys-shadow, 0px 1px 18px 0px --mat-sys-shadow)}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:var(--mat-app-elevation-shadow-level-7, 0px 4px 5px -2px --mat-sys-shadow, 0px 7px 10px 1px --mat-sys-shadow, 0px 2px 16px 1px --mat-sys-shadow)}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:var(--mat-app-elevation-shadow-level-8, 0px 5px 5px -3px --mat-sys-shadow, 0px 8px 10px 1px --mat-sys-shadow, 0px 3px 14px 2px --mat-sys-shadow)}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:var(--mat-app-elevation-shadow-level-9, 0px 5px 6px -3px --mat-sys-shadow, 0px 9px 12px 1px --mat-sys-shadow, 0px 3px 16px 2px --mat-sys-shadow)}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:var(--mat-app-elevation-shadow-level-10, 0px 6px 6px -3px --mat-sys-shadow, 0px 10px 14px 1px --mat-sys-shadow, 0px 4px 18px 3px --mat-sys-shadow)}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:var(--mat-app-elevation-shadow-level-11, 0px 6px 7px -4px --mat-sys-shadow, 0px 11px 15px 1px --mat-sys-shadow, 0px 4px 20px 3px --mat-sys-shadow)}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:var(--mat-app-elevation-shadow-level-12, 0px 7px 8px -4px --mat-sys-shadow, 0px 12px 17px 2px --mat-sys-shadow, 0px 5px 22px 4px --mat-sys-shadow)}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:var(--mat-app-elevation-shadow-level-13, 0px 7px 8px -4px --mat-sys-shadow, 0px 13px 19px 2px --mat-sys-shadow, 0px 5px 24px 4px --mat-sys-shadow)}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:var(--mat-app-elevation-shadow-level-14, 0px 7px 9px -4px --mat-sys-shadow, 0px 14px 21px 2px --mat-sys-shadow, 0px 5px 26px 4px --mat-sys-shadow)}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:var(--mat-app-elevation-shadow-level-15, 0px 8px 9px -5px --mat-sys-shadow, 0px 15px 22px 2px --mat-sys-shadow, 0px 6px 28px 5px --mat-sys-shadow)}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:var(--mat-app-elevation-shadow-level-16, 0px 8px 10px -5px --mat-sys-shadow, 0px 16px 24px 2px --mat-sys-shadow, 0px 6px 30px 5px --mat-sys-shadow)}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:var(--mat-app-elevation-shadow-level-17, 0px 8px 11px -5px --mat-sys-shadow, 0px 17px 26px 2px --mat-sys-shadow, 0px 6px 32px 5px --mat-sys-shadow)}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:var(--mat-app-elevation-shadow-level-18, 0px 9px 11px -5px --mat-sys-shadow, 0px 18px 28px 2px --mat-sys-shadow, 0px 7px 34px 6px --mat-sys-shadow)}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:var(--mat-app-elevation-shadow-level-19, 0px 9px 12px -6px --mat-sys-shadow, 0px 19px 29px 2px --mat-sys-shadow, 0px 7px 36px 6px --mat-sys-shadow)}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:var(--mat-app-elevation-shadow-level-20, 0px 10px 13px -6px --mat-sys-shadow, 0px 20px 31px 3px --mat-sys-shadow, 0px 8px 38px 7px --mat-sys-shadow)}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:var(--mat-app-elevation-shadow-level-21, 0px 10px 13px -6px --mat-sys-shadow, 0px 21px 33px 3px --mat-sys-shadow, 0px 8px 40px 7px --mat-sys-shadow)}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:var(--mat-app-elevation-shadow-level-22, 0px 10px 14px -6px --mat-sys-shadow, 0px 22px 35px 3px --mat-sys-shadow, 0px 8px 42px 7px --mat-sys-shadow)}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:var(--mat-app-elevation-shadow-level-23, 0px 11px 14px -7px --mat-sys-shadow, 0px 23px 36px 3px --mat-sys-shadow, 0px 9px 44px 8px --mat-sys-shadow)}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:var(--mat-app-elevation-shadow-level-24, 0px 11px 15px -7px --mat-sys-shadow, 0px 24px 38px 3px --mat-sys-shadow, 0px 9px 46px 8px --mat-sys-shadow)}html{--mat-sys-on-surface: initial}.mat-app-background{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}html{--mat-app-background-color: #fafafa;--mat-app-text-color: rgba(0, 0, 0, .87);--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}html{--mat-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent)}html{--mat-option-selected-state-label-text-color: #1976d2;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-option-focus-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-option-selected-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent)}.mat-accent{--mat-option-selected-state-label-text-color: #40c4ff;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-option-focus-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-option-selected-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent)}.mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-option-focus-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-option-selected-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent)}html{--mat-optgroup-label-text-color: rgba(0, 0, 0, .87)}html{--mat-pseudo-checkbox-full-selected-icon-color: #40c4ff;--mat-pseudo-checkbox-full-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(0, 0, 0, .54);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #40c4ff;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent)}.mat-primary{--mat-pseudo-checkbox-full-selected-icon-color: #1976d2;--mat-pseudo-checkbox-full-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(0, 0, 0, .54);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #1976d2;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent)}.mat-accent{--mat-pseudo-checkbox-full-selected-icon-color: #40c4ff;--mat-pseudo-checkbox-full-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(0, 0, 0, .54);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #40c4ff;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent)}.mat-warn{--mat-pseudo-checkbox-full-selected-icon-color: #f44336;--mat-pseudo-checkbox-full-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(0, 0, 0, .54);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #f44336;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent)}html{--mat-option-label-text-font: Roboto, sans-serif;--mat-option-label-text-line-height: 24px;--mat-option-label-text-size: 16px;--mat-option-label-text-tracking: .03125em;--mat-option-label-text-weight: 400}html{--mat-optgroup-label-text-font: Roboto, sans-serif;--mat-optgroup-label-text-line-height: 24px;--mat-optgroup-label-text-size: 16px;--mat-optgroup-label-text-tracking: .03125em;--mat-optgroup-label-text-weight: 400}html{--mat-card-elevated-container-shape: 4px;--mat-card-outlined-container-shape: 4px;--mat-card-filled-container-shape: 4px;--mat-card-outlined-outline-width: 1px}html{--mat-card-elevated-container-color: white;--mat-card-elevated-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-card-outlined-container-color: white;--mat-card-outlined-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-outlined-outline-color: rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: rgba(0, 0, 0, .54);--mat-card-filled-container-color: white;--mat-card-filled-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12)}html{--mat-card-title-text-font: Roboto, sans-serif;--mat-card-title-text-line-height: 32px;--mat-card-title-text-size: 20px;--mat-card-title-text-tracking: .0125em;--mat-card-title-text-weight: 500;--mat-card-subtitle-text-font: Roboto, sans-serif;--mat-card-subtitle-text-line-height: 22px;--mat-card-subtitle-text-size: 14px;--mat-card-subtitle-text-tracking: .0071428571em;--mat-card-subtitle-text-weight: 500}html{--mat-progress-bar-active-indicator-height: 4px;--mat-progress-bar-track-height: 4px;--mat-progress-bar-track-shape: 0}.mat-mdc-progress-bar{--mat-progress-bar-active-indicator-color: #1976d2;--mat-progress-bar-track-color: rgba(25, 118, 210, .25)}.mat-mdc-progress-bar.mat-accent{--mat-progress-bar-active-indicator-color: #40c4ff;--mat-progress-bar-track-color: rgba(64, 196, 255, .25)}.mat-mdc-progress-bar.mat-warn{--mat-progress-bar-active-indicator-color: #f44336;--mat-progress-bar-track-color: rgba(244, 67, 54, .25)}html{--mat-tooltip-container-shape: 4px;--mat-tooltip-supporting-text-line-height: 16px}html{--mat-tooltip-container-color: #424242;--mat-tooltip-supporting-text-color: white}html{--mat-tooltip-supporting-text-font: Roboto, sans-serif;--mat-tooltip-supporting-text-size: 12px;--mat-tooltip-supporting-text-weight: 400;--mat-tooltip-supporting-text-tracking: .0333333333em}html{--mat-form-field-filled-active-indicator-height: 1px;--mat-form-field-filled-focus-active-indicator-height: 2px;--mat-form-field-filled-container-shape: 4px;--mat-form-field-outlined-outline-width: 1px;--mat-form-field-outlined-focus-outline-width: 2px;--mat-form-field-outlined-container-shape: 4px}html{--mat-form-field-focus-select-arrow-color: color-mix(in srgb, #1976d2 87%, transparent);--mat-form-field-filled-caret-color: #1976d2;--mat-form-field-filled-focus-active-indicator-color: #1976d2;--mat-form-field-filled-focus-label-text-color: color-mix(in srgb, #1976d2 87%, transparent);--mat-form-field-outlined-caret-color: #1976d2;--mat-form-field-outlined-focus-outline-color: #1976d2;--mat-form-field-outlined-focus-label-text-color: color-mix(in srgb, #1976d2 87%, transparent);--mat-form-field-disabled-input-text-placeholder-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-form-field-state-layer-color: rgba(0, 0, 0, .87);--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: inherit;--mat-form-field-select-disabled-option-text-color: GrayText;--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(0, 0, 0, .54);--mat-form-field-disabled-select-arrow-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-form-field-hover-state-layer-opacity: .04;--mat-form-field-focus-state-layer-opacity: .12;--mat-form-field-filled-container-color: #f6f6f6;--mat-form-field-filled-disabled-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-form-field-filled-label-text-color: rgba(0, 0, 0, .54);--mat-form-field-filled-hover-label-text-color: rgba(0, 0, 0, .54);--mat-form-field-filled-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-form-field-filled-input-text-color: rgba(0, 0, 0, .87);--mat-form-field-filled-disabled-input-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-form-field-filled-input-text-placeholder-color: rgba(0, 0, 0, .54);--mat-form-field-filled-error-hover-label-text-color: #f44336;--mat-form-field-filled-error-focus-label-text-color: #f44336;--mat-form-field-filled-error-label-text-color: #f44336;--mat-form-field-filled-error-caret-color: #f44336;--mat-form-field-filled-active-indicator-color: rgba(0, 0, 0, .54);--mat-form-field-filled-disabled-active-indicator-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-form-field-filled-hover-active-indicator-color: rgba(0, 0, 0, .87);--mat-form-field-filled-error-active-indicator-color: #f44336;--mat-form-field-filled-error-focus-active-indicator-color: #f44336;--mat-form-field-filled-error-hover-active-indicator-color: #f44336;--mat-form-field-outlined-label-text-color: rgba(0, 0, 0, .54);--mat-form-field-outlined-hover-label-text-color: rgba(0, 0, 0, .87);--mat-form-field-outlined-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-form-field-outlined-input-text-color: rgba(0, 0, 0, .87);--mat-form-field-outlined-disabled-input-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-form-field-outlined-input-text-placeholder-color: rgba(0, 0, 0, .54);--mat-form-field-outlined-error-caret-color: #f44336;--mat-form-field-outlined-error-focus-label-text-color: #f44336;--mat-form-field-outlined-error-label-text-color: #f44336;--mat-form-field-outlined-error-hover-label-text-color: #f44336;--mat-form-field-outlined-outline-color: rgba(0, 0, 0, .38);--mat-form-field-outlined-disabled-outline-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-form-field-outlined-hover-outline-color: rgba(0, 0, 0, .87);--mat-form-field-outlined-error-focus-outline-color: #f44336;--mat-form-field-outlined-error-hover-outline-color: #f44336;--mat-form-field-outlined-error-outline-color: #f44336}.mat-mdc-form-field.mat-accent{--mat-form-field-focus-select-arrow-color: color-mix(in srgb, #40c4ff 87%, transparent);--mat-form-field-filled-caret-color: #40c4ff;--mat-form-field-filled-focus-active-indicator-color: #40c4ff;--mat-form-field-filled-focus-label-text-color: color-mix(in srgb, #40c4ff 87%, transparent);--mat-form-field-outlined-caret-color: #40c4ff;--mat-form-field-outlined-focus-outline-color: #40c4ff;--mat-form-field-outlined-focus-label-text-color: color-mix(in srgb, #40c4ff 87%, transparent)}.mat-mdc-form-field.mat-warn{--mat-form-field-focus-select-arrow-color: color-mix(in srgb, #f44336 87%, transparent);--mat-form-field-filled-caret-color: #f44336;--mat-form-field-filled-focus-active-indicator-color: #f44336;--mat-form-field-filled-focus-label-text-color: color-mix(in srgb, #f44336 87%, transparent);--mat-form-field-outlined-caret-color: #f44336;--mat-form-field-outlined-focus-outline-color: #f44336;--mat-form-field-outlined-focus-label-text-color: color-mix(in srgb, #f44336 87%, transparent)}html{--mat-form-field-container-height: 56px;--mat-form-field-filled-label-display: block;--mat-form-field-container-vertical-padding: 16px;--mat-form-field-filled-with-label-container-padding-top: 24px;--mat-form-field-filled-with-label-container-padding-bottom: 8px}html{--mat-form-field-container-text-font: Roboto, sans-serif;--mat-form-field-container-text-line-height: 24px;--mat-form-field-container-text-size: 16px;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 16px;--mat-form-field-subscript-text-font: Roboto, sans-serif;--mat-form-field-subscript-text-line-height: 20px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400;--mat-form-field-filled-label-text-font: Roboto, sans-serif;--mat-form-field-filled-label-text-size: 16px;--mat-form-field-filled-label-text-tracking: .03125em;--mat-form-field-filled-label-text-weight: 400;--mat-form-field-outlined-label-text-font: Roboto, sans-serif;--mat-form-field-outlined-label-text-size: 16px;--mat-form-field-outlined-label-text-tracking: .03125em;--mat-form-field-outlined-label-text-weight: 400}html{--mat-select-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-select-placeholder-text-color: rgba(0, 0, 0, .54);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-select-focused-arrow-color: #1976d2;--mat-select-invalid-arrow-color: #f44336}.mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-select-placeholder-text-color: rgba(0, 0, 0, .54);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-select-focused-arrow-color: #40c4ff;--mat-select-invalid-arrow-color: #f44336}.mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-select-placeholder-text-color: rgba(0, 0, 0, .54);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-select-focused-arrow-color: #f44336;--mat-select-invalid-arrow-color: #f44336}html{--mat-select-arrow-transform: translateY(-8px)}html{--mat-select-trigger-text-font: Roboto, sans-serif;--mat-select-trigger-text-line-height: 24px;--mat-select-trigger-text-size: 16px;--mat-select-trigger-text-tracking: .03125em;--mat-select-trigger-text-weight: 400}html{--mat-autocomplete-container-shape: 4px;--mat-autocomplete-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-autocomplete-background-color: white}html{--mat-dialog-container-shape: 4px;--mat-dialog-container-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-dialog-container-max-width: 80vw;--mat-dialog-container-small-max-width: 80vw;--mat-dialog-container-min-width: 0;--mat-dialog-actions-alignment: start;--mat-dialog-actions-padding: 8px;--mat-dialog-content-padding: 20px 24px;--mat-dialog-with-actions-content-padding: 20px 24px;--mat-dialog-headline-padding: 0 24px 9px}html{--mat-dialog-container-color: white;--mat-dialog-subhead-color: rgba(0, 0, 0, .87);--mat-dialog-supporting-text-color: rgba(0, 0, 0, .54)}html{--mat-dialog-subhead-font: Roboto, sans-serif;--mat-dialog-subhead-line-height: 32px;--mat-dialog-subhead-size: 20px;--mat-dialog-subhead-weight: 500;--mat-dialog-subhead-tracking: .0125em;--mat-dialog-supporting-text-font: Roboto, sans-serif;--mat-dialog-supporting-text-line-height: 24px;--mat-dialog-supporting-text-size: 16px;--mat-dialog-supporting-text-weight: 400;--mat-dialog-supporting-text-tracking: .03125em}.mat-mdc-standard-chip{--mat-chip-container-shape-radius: 16px;--mat-chip-disabled-container-opacity: .4;--mat-chip-disabled-outline-color: transparent;--mat-chip-flat-selected-outline-width: 0;--mat-chip-focus-outline-color: transparent;--mat-chip-hover-state-layer-opacity: .04;--mat-chip-outline-color: transparent;--mat-chip-outline-width: 0;--mat-chip-selected-hover-state-layer-opacity: .04;--mat-chip-selected-trailing-action-state-layer-color: transparent;--mat-chip-trailing-action-focus-opacity: 1;--mat-chip-trailing-action-focus-state-layer-opacity: 0;--mat-chip-trailing-action-hover-state-layer-opacity: 0;--mat-chip-trailing-action-opacity: .54;--mat-chip-trailing-action-state-layer-color: transparent;--mat-chip-with-avatar-avatar-shape-radius: 14px;--mat-chip-with-avatar-avatar-size: 28px;--mat-chip-with-avatar-disabled-avatar-opacity: 1;--mat-chip-with-icon-disabled-icon-opacity: 1;--mat-chip-with-icon-icon-size: 18px;--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity: 1}.mat-mdc-standard-chip{--mat-chip-disabled-label-text-color: rgba(0, 0, 0, .87);--mat-chip-elevated-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-chip-elevated-disabled-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-chip-elevated-selected-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-chip-flat-disabled-selected-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-chip-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-label-text-color: rgba(0, 0, 0, .87);--mat-chip-selected-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: rgba(0, 0, 0, .87);--mat-chip-selected-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-icon-disabled-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-icon-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-icon-selected-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-trailing-icon-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-trailing-icon-trailing-icon-color: rgba(0, 0, 0, .87)}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mat-chip-disabled-label-text-color: white;--mat-chip-elevated-container-color: #1976d2;--mat-chip-elevated-disabled-container-color: #1976d2;--mat-chip-elevated-selected-container-color: #1976d2;--mat-chip-flat-disabled-selected-container-color: #1976d2;--mat-chip-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-label-text-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: white;--mat-chip-selected-trailing-icon-color: white;--mat-chip-with-icon-disabled-icon-color: white;--mat-chip-with-icon-icon-color: white;--mat-chip-with-icon-selected-icon-color: white;--mat-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mat-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mat-chip-disabled-label-text-color: rgba(0, 0, 0, .87);--mat-chip-elevated-container-color: #40c4ff;--mat-chip-elevated-disabled-container-color: #40c4ff;--mat-chip-elevated-selected-container-color: #40c4ff;--mat-chip-flat-disabled-selected-container-color: #40c4ff;--mat-chip-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-label-text-color: rgba(0, 0, 0, .87);--mat-chip-selected-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: rgba(0, 0, 0, .87);--mat-chip-selected-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-icon-disabled-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-icon-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-icon-selected-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-trailing-icon-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-trailing-icon-trailing-icon-color: rgba(0, 0, 0, .87)}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mat-chip-disabled-label-text-color: white;--mat-chip-elevated-container-color: #f44336;--mat-chip-elevated-disabled-container-color: #f44336;--mat-chip-elevated-selected-container-color: #f44336;--mat-chip-flat-disabled-selected-container-color: #f44336;--mat-chip-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-label-text-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: white;--mat-chip-selected-trailing-icon-color: white;--mat-chip-with-icon-disabled-icon-color: white;--mat-chip-with-icon-icon-color: white;--mat-chip-with-icon-selected-icon-color: white;--mat-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mat-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-chip.mat-mdc-standard-chip{--mat-chip-container-height: 32px;--mat-chip-touch-target-display: block}.mat-mdc-standard-chip{--mat-chip-label-text-font: Roboto, sans-serif;--mat-chip-label-text-line-height: 20px;--mat-chip-label-text-size: 14px;--mat-chip-label-text-tracking: .0178571429em;--mat-chip-label-text-weight: 400}html{--mat-slide-toggle-disabled-handle-opacity: .38;--mat-slide-toggle-disabled-selected-handle-opacity: .38;--mat-slide-toggle-disabled-selected-icon-opacity: .38;--mat-slide-toggle-disabled-track-opacity: .12;--mat-slide-toggle-disabled-unselected-handle-opacity: .38;--mat-slide-toggle-disabled-unselected-icon-opacity: .38;--mat-slide-toggle-disabled-unselected-track-outline-width: 1px;--mat-slide-toggle-handle-height: 20px;--mat-slide-toggle-handle-shape: 10px;--mat-slide-toggle-handle-width: 20px;--mat-slide-toggle-hidden-track-opacity: 1;--mat-slide-toggle-hidden-track-transition: transform 75ms 0ms cubic-bezier(.4, 0, .6, 1);--mat-slide-toggle-pressed-handle-size: 20px;--mat-slide-toggle-selected-focus-state-layer-opacity: .12;--mat-slide-toggle-selected-handle-horizontal-margin: 0;--mat-slide-toggle-selected-handle-size: 20px;--mat-slide-toggle-selected-hover-state-layer-opacity: .04;--mat-slide-toggle-selected-icon-size: 18px;--mat-slide-toggle-selected-pressed-handle-horizontal-margin: 0;--mat-slide-toggle-selected-pressed-state-layer-opacity: .12;--mat-slide-toggle-selected-track-outline-width: 1px;--mat-slide-toggle-selected-with-icon-handle-horizontal-margin: 0;--mat-slide-toggle-track-height: 14px;--mat-slide-toggle-track-outline-width: 1px;--mat-slide-toggle-track-shape: 7px;--mat-slide-toggle-track-width: 36px;--mat-slide-toggle-unselected-focus-state-layer-opacity: .12;--mat-slide-toggle-unselected-handle-horizontal-margin: 0;--mat-slide-toggle-unselected-handle-size: 20px;--mat-slide-toggle-unselected-hover-state-layer-opacity: .12;--mat-slide-toggle-unselected-icon-size: 18px;--mat-slide-toggle-unselected-pressed-handle-horizontal-margin: 0;--mat-slide-toggle-unselected-pressed-state-layer-opacity: .1;--mat-slide-toggle-unselected-with-icon-handle-horizontal-margin: 0;--mat-slide-toggle-visible-track-opacity: 1;--mat-slide-toggle-visible-track-transition: transform 75ms 0ms cubic-bezier(0, 0, .2, 1);--mat-slide-toggle-with-icon-handle-size: 20px;--mat-slide-toggle-touch-target-size: 48px}html{--mat-slide-toggle-selected-icon-color: white;--mat-slide-toggle-disabled-selected-icon-color: white;--mat-slide-toggle-selected-focus-state-layer-color: #1976d2;--mat-slide-toggle-selected-handle-color: #1976d2;--mat-slide-toggle-selected-hover-state-layer-color: #1976d2;--mat-slide-toggle-selected-pressed-state-layer-color: #1976d2;--mat-slide-toggle-selected-focus-handle-color: #1976d2;--mat-slide-toggle-selected-hover-handle-color: #1976d2;--mat-slide-toggle-selected-pressed-handle-color: #1976d2;--mat-slide-toggle-selected-focus-track-color: #64b5f6;--mat-slide-toggle-selected-hover-track-color: #64b5f6;--mat-slide-toggle-selected-pressed-track-color: #64b5f6;--mat-slide-toggle-selected-track-color: #64b5f6;--mat-slide-toggle-disabled-unselected-track-outline-color: transparent;--mat-slide-toggle-selected-track-outline-color: transparent;--mat-slide-toggle-track-outline-color: transparent;--mat-slide-toggle-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-slide-toggle-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-slide-toggle-disabled-selected-handle-color: rgba(0, 0, 0, .87);--mat-slide-toggle-disabled-selected-track-color: rgba(0, 0, 0, .87);--mat-slide-toggle-disabled-unselected-handle-color: rgba(0, 0, 0, .87);--mat-slide-toggle-disabled-unselected-icon-color: #f6f6f6;--mat-slide-toggle-disabled-unselected-track-color: rgba(0, 0, 0, .87);--mat-slide-toggle-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-slide-toggle-handle-surface-color: white;--mat-slide-toggle-label-text-color: rgba(0, 0, 0, .87);--mat-slide-toggle-unselected-hover-handle-color: #424242;--mat-slide-toggle-unselected-focus-handle-color: #424242;--mat-slide-toggle-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-slide-toggle-unselected-focus-track-color: rgba(0, 0, 0, .12);--mat-slide-toggle-unselected-icon-color: #f6f6f6;--mat-slide-toggle-unselected-handle-color: rgba(0, 0, 0, .54);--mat-slide-toggle-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-slide-toggle-unselected-hover-track-color: rgba(0, 0, 0, .12);--mat-slide-toggle-unselected-pressed-handle-color: #424242;--mat-slide-toggle-unselected-pressed-track-color: rgba(0, 0, 0, .12);--mat-slide-toggle-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87);--mat-slide-toggle-unselected-track-color: rgba(0, 0, 0, .12)}.mat-mdc-slide-toggle.mat-accent{--mat-slide-toggle-selected-icon-color: rgba(0, 0, 0, .87);--mat-slide-toggle-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-slide-toggle-selected-focus-state-layer-color: #40c4ff;--mat-slide-toggle-selected-handle-color: #40c4ff;--mat-slide-toggle-selected-hover-state-layer-color: #40c4ff;--mat-slide-toggle-selected-pressed-state-layer-color: #40c4ff;--mat-slide-toggle-selected-focus-handle-color: #40c4ff;--mat-slide-toggle-selected-hover-handle-color: #40c4ff;--mat-slide-toggle-selected-pressed-handle-color: #40c4ff;--mat-slide-toggle-selected-focus-track-color: #4fc3f7;--mat-slide-toggle-selected-hover-track-color: #4fc3f7;--mat-slide-toggle-selected-pressed-track-color: #4fc3f7;--mat-slide-toggle-selected-track-color: #4fc3f7}.mat-mdc-slide-toggle.mat-warn{--mat-slide-toggle-selected-icon-color: white;--mat-slide-toggle-disabled-selected-icon-color: white;--mat-slide-toggle-selected-focus-state-layer-color: #f44336;--mat-slide-toggle-selected-handle-color: #f44336;--mat-slide-toggle-selected-hover-state-layer-color: #f44336;--mat-slide-toggle-selected-pressed-state-layer-color: #f44336;--mat-slide-toggle-selected-focus-handle-color: #f44336;--mat-slide-toggle-selected-hover-handle-color: #f44336;--mat-slide-toggle-selected-pressed-handle-color: #f44336;--mat-slide-toggle-selected-focus-track-color: #e57373;--mat-slide-toggle-selected-hover-track-color: #e57373;--mat-slide-toggle-selected-pressed-track-color: #e57373;--mat-slide-toggle-selected-track-color: #e57373}html{--mat-slide-toggle-state-layer-size: 40px;--mat-slide-toggle-touch-target-display: block}html,html .mat-mdc-slide-toggle{--mat-slide-toggle-label-text-font: Roboto, sans-serif;--mat-slide-toggle-label-text-line-height: 20px;--mat-slide-toggle-label-text-size: 14px;--mat-slide-toggle-label-text-tracking: .0178571429em;--mat-slide-toggle-label-text-weight: 400}html{--mat-radio-disabled-selected-icon-opacity: .38;--mat-radio-disabled-unselected-icon-opacity: .38;--mat-radio-state-layer-size: 40px;--mat-radio-touch-target-size: 48px}.mat-mdc-radio-button.mat-primary{--mat-radio-checked-ripple-color: #1976d2;--mat-radio-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-radio-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-radio-disabled-unselected-icon-color: rgba(0, 0, 0, .87);--mat-radio-label-text-color: rgba(0, 0, 0, .87);--mat-radio-ripple-color: rgba(0, 0, 0, .87);--mat-radio-selected-focus-icon-color: #1976d2;--mat-radio-selected-hover-icon-color: #1976d2;--mat-radio-selected-icon-color: #1976d2;--mat-radio-selected-pressed-icon-color: #1976d2;--mat-radio-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mat-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .87)}.mat-mdc-radio-button.mat-accent{--mat-radio-checked-ripple-color: #40c4ff;--mat-radio-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-radio-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-radio-disabled-unselected-icon-color: rgba(0, 0, 0, .87);--mat-radio-label-text-color: rgba(0, 0, 0, .87);--mat-radio-ripple-color: rgba(0, 0, 0, .87);--mat-radio-selected-focus-icon-color: #40c4ff;--mat-radio-selected-hover-icon-color: #40c4ff;--mat-radio-selected-icon-color: #40c4ff;--mat-radio-selected-pressed-icon-color: #40c4ff;--mat-radio-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mat-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .87)}.mat-mdc-radio-button.mat-warn{--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-radio-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-radio-disabled-unselected-icon-color: rgba(0, 0, 0, .87);--mat-radio-label-text-color: rgba(0, 0, 0, .87);--mat-radio-ripple-color: rgba(0, 0, 0, .87);--mat-radio-selected-focus-icon-color: #f44336;--mat-radio-selected-hover-icon-color: #f44336;--mat-radio-selected-icon-color: #f44336;--mat-radio-selected-pressed-icon-color: #f44336;--mat-radio-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mat-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .87)}html{--mat-radio-state-layer-size: 40px;--mat-radio-touch-target-display: block}html{--mat-radio-label-text-font: Roboto, sans-serif;--mat-radio-label-text-line-height: 20px;--mat-radio-label-text-size: 14px;--mat-radio-label-text-tracking: .0178571429em;--mat-radio-label-text-weight: 400}html{--mat-slider-active-track-height: 6px;--mat-slider-active-track-shape: 9999px;--mat-slider-handle-height: 20px;--mat-slider-handle-shape: 50%;--mat-slider-handle-width: 20px;--mat-slider-inactive-track-height: 4px;--mat-slider-inactive-track-shape: 9999px;--mat-slider-value-indicator-border-radius: 4px;--mat-slider-value-indicator-caret-display: block;--mat-slider-value-indicator-container-transform: translateX(-50%);--mat-slider-value-indicator-height: 32px;--mat-slider-value-indicator-padding: 0 12px;--mat-slider-value-indicator-text-transform: none;--mat-slider-value-indicator-width: auto;--mat-slider-with-overlap-handle-outline-width: 1px;--mat-slider-with-tick-marks-active-container-opacity: .6;--mat-slider-with-tick-marks-container-shape: 50%;--mat-slider-with-tick-marks-container-size: 2px;--mat-slider-with-tick-marks-inactive-container-opacity: .6;--mat-slider-value-indicator-transform-origin: bottom}html{--mat-slider-active-track-color: #1976d2;--mat-slider-focus-handle-color: #1976d2;--mat-slider-handle-color: #1976d2;--mat-slider-hover-handle-color: #1976d2;--mat-slider-focus-state-layer-color: color-mix(in srgb, #1976d2 12%, transparent);--mat-slider-hover-state-layer-color: color-mix(in srgb, #1976d2 4%, transparent);--mat-slider-inactive-track-color: #1976d2;--mat-slider-ripple-color: #1976d2;--mat-slider-with-tick-marks-active-container-color: white;--mat-slider-with-tick-marks-inactive-container-color: #1976d2;--mat-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-slider-disabled-active-track-color: rgba(0, 0, 0, .87);--mat-slider-disabled-handle-color: rgba(0, 0, 0, .87);--mat-slider-disabled-inactive-track-color: rgba(0, 0, 0, .87);--mat-slider-label-container-color: #424242;--mat-slider-label-label-text-color: white;--mat-slider-value-indicator-opacity: 1;--mat-slider-with-overlap-handle-outline-color: rgba(0, 0, 0, .87);--mat-slider-with-tick-marks-disabled-container-color: rgba(0, 0, 0, .87)}.mat-accent{--mat-slider-active-track-color: #40c4ff;--mat-slider-focus-handle-color: #40c4ff;--mat-slider-handle-color: #40c4ff;--mat-slider-hover-handle-color: #40c4ff;--mat-slider-focus-state-layer-color: color-mix(in srgb, #40c4ff 12%, transparent);--mat-slider-hover-state-layer-color: color-mix(in srgb, #40c4ff 4%, transparent);--mat-slider-inactive-track-color: #40c4ff;--mat-slider-ripple-color: #40c4ff;--mat-slider-with-tick-marks-active-container-color: rgba(0, 0, 0, .87);--mat-slider-with-tick-marks-inactive-container-color: #40c4ff}.mat-warn{--mat-slider-active-track-color: #f44336;--mat-slider-focus-handle-color: #f44336;--mat-slider-handle-color: #f44336;--mat-slider-hover-handle-color: #f44336;--mat-slider-focus-state-layer-color: color-mix(in srgb, #f44336 12%, transparent);--mat-slider-hover-state-layer-color: color-mix(in srgb, #f44336 4%, transparent);--mat-slider-inactive-track-color: #f44336;--mat-slider-ripple-color: #f44336;--mat-slider-with-tick-marks-active-container-color: white;--mat-slider-with-tick-marks-inactive-container-color: #f44336}html{--mat-slider-label-label-text-font: Roboto, sans-serif;--mat-slider-label-label-text-size: 14px;--mat-slider-label-label-text-line-height: 22px;--mat-slider-label-label-text-tracking: .0071428571em;--mat-slider-label-label-text-weight: 500}html{--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 0;--mat-menu-divider-top-spacing: 0;--mat-menu-item-spacing: 16px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 16px;--mat-menu-item-trailing-spacing: 16px;--mat-menu-item-with-icon-leading-spacing: 16px;--mat-menu-item-with-icon-trailing-spacing: 16px;--mat-menu-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-menu-item-label-text-color: rgba(0, 0, 0, .87);--mat-menu-item-icon-color: rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-menu-item-focus-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-menu-container-color: white;--mat-menu-divider-color: rgba(0, 0, 0, .12)}html{--mat-menu-item-label-text-font: Roboto, sans-serif;--mat-menu-item-label-text-size: 16px;--mat-menu-item-label-text-tracking: .03125em;--mat-menu-item-label-text-line-height: 24px;--mat-menu-item-label-text-weight: 400}html{--mat-list-active-indicator-shape: 4px;--mat-list-list-item-container-shape: 0;--mat-list-list-item-leading-avatar-shape: 50%;--mat-list-list-item-leading-icon-size: 24px;--mat-list-list-item-leading-avatar-size: 40px;--mat-list-list-item-trailing-icon-size: 24px;--mat-list-list-item-disabled-state-layer-opacity: 0;--mat-list-list-item-disabled-label-text-opacity: .38;--mat-list-list-item-disabled-leading-icon-opacity: .38;--mat-list-list-item-disabled-trailing-icon-opacity: .38}html{--mat-list-active-indicator-color: transparent;--mat-list-list-item-container-color: transparent;--mat-list-list-item-selected-container-color: transparent;--mat-list-list-item-leading-avatar-color: transparent;--mat-list-list-item-disabled-state-layer-color: transparent;--mat-list-list-item-label-text-color: rgba(0, 0, 0, .87);--mat-list-list-item-supporting-text-color: rgba(0, 0, 0, .54);--mat-list-list-item-leading-icon-color: rgba(0, 0, 0, .54);--mat-list-list-item-trailing-supporting-text-color: rgba(0, 0, 0, .54);--mat-list-list-item-trailing-icon-color: rgba(0, 0, 0, .54);--mat-list-list-item-selected-trailing-icon-color: rgba(0, 0, 0, .54);--mat-list-list-item-disabled-label-text-color: rgba(0, 0, 0, .87);--mat-list-list-item-disabled-leading-icon-color: rgba(0, 0, 0, .87);--mat-list-list-item-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mat-list-list-item-hover-label-text-color: rgba(0, 0, 0, .87);--mat-list-list-item-hover-leading-icon-color: rgba(0, 0, 0, .54);--mat-list-list-item-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-list-list-item-hover-state-layer-opacity: .04;--mat-list-list-item-hover-trailing-icon-color: rgba(0, 0, 0, .54);--mat-list-list-item-focus-label-text-color: rgba(0, 0, 0, .87);--mat-list-list-item-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-list-list-item-focus-state-layer-opacity: .12}.mdc-list-item__start,.mdc-list-item__end{--mat-radio-checked-ripple-color: #1976d2;--mat-radio-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-radio-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-radio-disabled-unselected-icon-color: rgba(0, 0, 0, .87);--mat-radio-label-text-color: rgba(0, 0, 0, .87);--mat-radio-ripple-color: rgba(0, 0, 0, .87);--mat-radio-selected-focus-icon-color: #1976d2;--mat-radio-selected-hover-icon-color: #1976d2;--mat-radio-selected-icon-color: #1976d2;--mat-radio-selected-pressed-icon-color: #1976d2;--mat-radio-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mat-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .87)}.mat-accent .mdc-list-item__start,.mat-accent .mdc-list-item__end{--mat-radio-checked-ripple-color: #40c4ff;--mat-radio-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-radio-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-radio-disabled-unselected-icon-color: rgba(0, 0, 0, .87);--mat-radio-label-text-color: rgba(0, 0, 0, .87);--mat-radio-ripple-color: rgba(0, 0, 0, .87);--mat-radio-selected-focus-icon-color: #40c4ff;--mat-radio-selected-hover-icon-color: #40c4ff;--mat-radio-selected-icon-color: #40c4ff;--mat-radio-selected-pressed-icon-color: #40c4ff;--mat-radio-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mat-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .87)}.mat-warn .mdc-list-item__start,.mat-warn .mdc-list-item__end{--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-radio-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-radio-disabled-unselected-icon-color: rgba(0, 0, 0, .87);--mat-radio-label-text-color: rgba(0, 0, 0, .87);--mat-radio-ripple-color: rgba(0, 0, 0, .87);--mat-radio-selected-focus-icon-color: #f44336;--mat-radio-selected-hover-icon-color: #f44336;--mat-radio-selected-icon-color: #f44336;--mat-radio-selected-pressed-icon-color: #f44336;--mat-radio-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mat-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .87)}.mat-mdc-list-option{--mat-checkbox-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-label-text-color: rgba(0, 0, 0, .87);--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #1976d2;--mat-checkbox-selected-hover-icon-color: #1976d2;--mat-checkbox-selected-icon-color: #1976d2;--mat-checkbox-selected-pressed-icon-color: #1976d2;--mat-checkbox-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-checkbox-selected-focus-state-layer-color: #1976d2;--mat-checkbox-selected-hover-state-layer-color: #1976d2;--mat-checkbox-selected-pressed-state-layer-color: #1976d2;--mat-checkbox-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-list-option.mat-accent{--mat-checkbox-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-label-text-color: rgba(0, 0, 0, .87);--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-selected-checkmark-color: rgba(0, 0, 0, .87);--mat-checkbox-selected-focus-icon-color: #40c4ff;--mat-checkbox-selected-hover-icon-color: #40c4ff;--mat-checkbox-selected-icon-color: #40c4ff;--mat-checkbox-selected-pressed-icon-color: #40c4ff;--mat-checkbox-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-checkbox-selected-focus-state-layer-color: #40c4ff;--mat-checkbox-selected-hover-state-layer-color: #40c4ff;--mat-checkbox-selected-pressed-state-layer-color: #40c4ff;--mat-checkbox-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-list-option.mat-warn{--mat-checkbox-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-label-text-color: rgba(0, 0, 0, .87);--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #f44336;--mat-checkbox-selected-hover-icon-color: #f44336;--mat-checkbox-selected-icon-color: #f44336;--mat-checkbox-selected-pressed-icon-color: #f44336;--mat-checkbox-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-checkbox-selected-focus-state-layer-color: #f44336;--mat-checkbox-selected-hover-state-layer-color: #f44336;--mat-checkbox-selected-pressed-state-layer-color: #f44336;--mat-checkbox-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__start,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__start{color:#1976d2}.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}html{--mat-list-list-item-leading-icon-start-space: 16px;--mat-list-list-item-leading-icon-end-space: 32px;--mat-list-list-item-one-line-container-height: 48px;--mat-list-list-item-two-line-container-height: 64px;--mat-list-list-item-three-line-container-height: 88px}.mdc-list-item__start,.mdc-list-item__end{--mat-radio-state-layer-size: 40px;--mat-radio-touch-target-display: block}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}html{--mat-list-list-item-label-text-font: Roboto, sans-serif;--mat-list-list-item-label-text-line-height: 24px;--mat-list-list-item-label-text-size: 16px;--mat-list-list-item-label-text-tracking: .03125em;--mat-list-list-item-label-text-weight: 400;--mat-list-list-item-supporting-text-font: Roboto, sans-serif;--mat-list-list-item-supporting-text-line-height: 20px;--mat-list-list-item-supporting-text-size: 14px;--mat-list-list-item-supporting-text-tracking: .0178571429em;--mat-list-list-item-supporting-text-weight: 400;--mat-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mat-list-list-item-trailing-supporting-text-line-height: 20px;--mat-list-list-item-trailing-supporting-text-size: 12px;--mat-list-list-item-trailing-supporting-text-tracking: .0333333333em;--mat-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader{font:400 16px/28px Roboto,sans-serif;letter-spacing:.009375em}html{--mat-paginator-page-size-select-width: 84px;--mat-paginator-page-size-select-touch-target-height: 48px}html{--mat-paginator-container-text-color: rgba(0, 0, 0, .87);--mat-paginator-container-background-color: white;--mat-paginator-enabled-icon-color: rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent)}html{--mat-paginator-container-size: 56px;--mat-paginator-form-field-container-height: 40px;--mat-paginator-form-field-container-vertical-padding: 8px;--mat-paginator-touch-target-display: block}html{--mat-paginator-container-text-font: Roboto, sans-serif;--mat-paginator-container-text-line-height: 20px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: .0333333333em;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px}html{--mat-tab-container-height: 48px;--mat-tab-divider-color: transparent;--mat-tab-divider-height: 0;--mat-tab-active-indicator-height: 2px;--mat-tab-active-indicator-shape: 0}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mat-tab-disabled-ripple-color: rgba(0, 0, 0, .54);--mat-tab-pagination-icon-color: rgba(0, 0, 0, .87);--mat-tab-inactive-label-text-color: rgba(0, 0, 0, .54);--mat-tab-active-label-text-color: #1976d2;--mat-tab-active-ripple-color: #1976d2;--mat-tab-inactive-ripple-color: #1976d2;--mat-tab-inactive-focus-label-text-color: rgba(0, 0, 0, .54);--mat-tab-inactive-hover-label-text-color: rgba(0, 0, 0, .54);--mat-tab-active-focus-label-text-color: #1976d2;--mat-tab-active-hover-label-text-color: #1976d2;--mat-tab-active-focus-indicator-color: #1976d2;--mat-tab-active-hover-indicator-color: #1976d2;--mat-tab-active-indicator-color: #1976d2}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mat-tab-disabled-ripple-color: rgba(0, 0, 0, .54);--mat-tab-pagination-icon-color: rgba(0, 0, 0, .87);--mat-tab-inactive-label-text-color: rgba(0, 0, 0, .54);--mat-tab-active-label-text-color: #40c4ff;--mat-tab-active-ripple-color: #40c4ff;--mat-tab-inactive-ripple-color: #40c4ff;--mat-tab-inactive-focus-label-text-color: rgba(0, 0, 0, .54);--mat-tab-inactive-hover-label-text-color: rgba(0, 0, 0, .54);--mat-tab-active-focus-label-text-color: #40c4ff;--mat-tab-active-hover-label-text-color: #40c4ff;--mat-tab-active-focus-indicator-color: #40c4ff;--mat-tab-active-hover-indicator-color: #40c4ff;--mat-tab-active-indicator-color: #40c4ff}.mat-mdc-tab-group.mat-warn,.mat-mdc-tab-nav-bar.mat-warn{--mat-tab-disabled-ripple-color: rgba(0, 0, 0, .54);--mat-tab-pagination-icon-color: rgba(0, 0, 0, .87);--mat-tab-inactive-label-text-color: rgba(0, 0, 0, .54);--mat-tab-active-label-text-color: #f44336;--mat-tab-active-ripple-color: #f44336;--mat-tab-inactive-ripple-color: #f44336;--mat-tab-inactive-focus-label-text-color: rgba(0, 0, 0, .54);--mat-tab-inactive-hover-label-text-color: rgba(0, 0, 0, .54);--mat-tab-active-focus-label-text-color: #f44336;--mat-tab-active-hover-label-text-color: #f44336;--mat-tab-active-focus-indicator-color: #f44336;--mat-tab-active-hover-indicator-color: #f44336;--mat-tab-active-indicator-color: #f44336}.mat-mdc-tab-group.mat-background-primary,.mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-background-color: #1976d2;--mat-tab-foreground-color: white}.mat-mdc-tab-group.mat-background-accent,.mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-background-color: #40c4ff;--mat-tab-foreground-color: rgba(0, 0, 0, .87)}.mat-mdc-tab-group.mat-background-warn,.mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-background-color: #f44336;--mat-tab-foreground-color: white}.mat-mdc-tab-header{--mat-tab-container-height: 48px}.mat-mdc-tab-header{--mat-tab-label-text-font: Roboto, sans-serif;--mat-tab-label-text-size: 14px;--mat-tab-label-text-tracking: .0892857143em;--mat-tab-label-text-line-height: 36px;--mat-tab-label-text-weight: 500}html{--mat-checkbox-disabled-selected-checkmark-color: white;--mat-checkbox-selected-focus-state-layer-opacity: .12;--mat-checkbox-selected-hover-state-layer-opacity: .04;--mat-checkbox-selected-pressed-state-layer-opacity: .12;--mat-checkbox-unselected-focus-state-layer-opacity: .12;--mat-checkbox-unselected-hover-state-layer-opacity: .04;--mat-checkbox-unselected-pressed-state-layer-opacity: .12;--mat-checkbox-touch-target-size: 48px}html{--mat-checkbox-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-label-text-color: rgba(0, 0, 0, .87);--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-selected-checkmark-color: rgba(0, 0, 0, .87);--mat-checkbox-selected-focus-icon-color: #40c4ff;--mat-checkbox-selected-hover-icon-color: #40c4ff;--mat-checkbox-selected-icon-color: #40c4ff;--mat-checkbox-selected-pressed-icon-color: #40c4ff;--mat-checkbox-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-checkbox-selected-focus-state-layer-color: #40c4ff;--mat-checkbox-selected-hover-state-layer-color: #40c4ff;--mat-checkbox-selected-pressed-state-layer-color: #40c4ff;--mat-checkbox-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-checkbox.mat-primary{--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #1976d2;--mat-checkbox-selected-hover-icon-color: #1976d2;--mat-checkbox-selected-icon-color: #1976d2;--mat-checkbox-selected-pressed-icon-color: #1976d2;--mat-checkbox-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-checkbox-selected-focus-state-layer-color: #1976d2;--mat-checkbox-selected-hover-state-layer-color: #1976d2;--mat-checkbox-selected-pressed-state-layer-color: #1976d2;--mat-checkbox-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-checkbox.mat-warn{--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #f44336;--mat-checkbox-selected-hover-icon-color: #f44336;--mat-checkbox-selected-icon-color: #f44336;--mat-checkbox-selected-pressed-icon-color: #f44336;--mat-checkbox-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-checkbox-selected-focus-state-layer-color: #f44336;--mat-checkbox-selected-hover-state-layer-color: #f44336;--mat-checkbox-selected-pressed-state-layer-color: #f44336;--mat-checkbox-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87)}html{--mat-checkbox-touch-target-display: block;--mat-checkbox-state-layer-size: 40px}html{--mat-checkbox-label-text-font: Roboto, sans-serif;--mat-checkbox-label-text-line-height: 20px;--mat-checkbox-label-text-size: 14px;--mat-checkbox-label-text-tracking: .0178571429em;--mat-checkbox-label-text-weight: 400}html{--mat-button-filled-container-shape: 4px;--mat-button-filled-horizontal-padding: 16px;--mat-button-filled-icon-offset: -4px;--mat-button-filled-icon-spacing: 8px;--mat-button-filled-touch-target-size: 48px;--mat-button-outlined-container-shape: 4px;--mat-button-outlined-horizontal-padding: 15px;--mat-button-outlined-icon-offset: -4px;--mat-button-outlined-icon-spacing: 8px;--mat-button-outlined-keep-touch-target: false;--mat-button-outlined-outline-width: 1px;--mat-button-outlined-touch-target-size: 48px;--mat-button-protected-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-button-protected-container-shape: 4px;--mat-button-protected-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-button-protected-focus-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-button-protected-horizontal-padding: 16px;--mat-button-protected-hover-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-button-protected-icon-offset: -4px;--mat-button-protected-icon-spacing: 8px;--mat-button-protected-pressed-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-button-protected-touch-target-size: 48px;--mat-button-text-container-shape: 4px;--mat-button-text-horizontal-padding: 8px;--mat-button-text-icon-offset: 0;--mat-button-text-icon-spacing: 8px;--mat-button-text-with-icon-horizontal-padding: 8px;--mat-button-text-touch-target-size: 48px;--mat-button-tonal-container-shape: 4px;--mat-button-tonal-horizontal-padding: 16px;--mat-button-tonal-icon-offset: -4px;--mat-button-tonal-icon-spacing: 8px;--mat-button-tonal-touch-target-size: 48px}html{--mat-button-filled-container-color: white;--mat-button-filled-disabled-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-filled-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-filled-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-button-filled-focus-state-layer-opacity: .12;--mat-button-filled-hover-state-layer-opacity: .04;--mat-button-filled-label-text-color: rgba(0, 0, 0, .87);--mat-button-filled-pressed-state-layer-opacity: .12;--mat-button-filled-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-filled-state-layer-color: rgba(0, 0, 0, .87);--mat-button-outlined-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-outlined-disabled-outline-color: rgba(0, 0, 0, .12);--mat-button-outlined-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-button-outlined-focus-state-layer-opacity: .12;--mat-button-outlined-hover-state-layer-opacity: .04;--mat-button-outlined-label-text-color: rgba(0, 0, 0, .87);--mat-button-outlined-outline-color: rgba(0, 0, 0, .12);--mat-button-outlined-pressed-state-layer-opacity: .12;--mat-button-outlined-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-outlined-state-layer-color: rgba(0, 0, 0, .87);--mat-button-protected-container-color: white;--mat-button-protected-disabled-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-protected-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-protected-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-button-protected-focus-state-layer-opacity: .12;--mat-button-protected-hover-state-layer-opacity: .04;--mat-button-protected-label-text-color: rgba(0, 0, 0, .87);--mat-button-protected-pressed-state-layer-opacity: .12;--mat-button-protected-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-protected-state-layer-color: rgba(0, 0, 0, .87);--mat-button-text-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-text-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-button-text-focus-state-layer-opacity: .12;--mat-button-text-hover-state-layer-opacity: .04;--mat-button-text-label-text-color: rgba(0, 0, 0, .87);--mat-button-text-pressed-state-layer-opacity: .12;--mat-button-text-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-text-state-layer-color: rgba(0, 0, 0, .87);--mat-button-tonal-container-color: white;--mat-button-tonal-disabled-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-tonal-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-tonal-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-button-tonal-focus-state-layer-opacity: .12;--mat-button-tonal-hover-state-layer-opacity: .04;--mat-button-tonal-label-text-color: rgba(0, 0, 0, .87);--mat-button-tonal-pressed-state-layer-opacity: .12;--mat-button-tonal-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-tonal-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-button.mat-primary,.mat-mdc-unelevated-button.mat-primary,.mat-mdc-raised-button.mat-primary,.mat-mdc-outlined-button.mat-primary,.mat-tonal-button.mat-primary{--mat-button-filled-container-color: #1976d2;--mat-button-filled-label-text-color: white;--mat-button-filled-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-state-layer-color: white;--mat-button-outlined-label-text-color: #1976d2;--mat-button-outlined-outline-color: rgba(0, 0, 0, .12);--mat-button-outlined-ripple-color: color-mix(in srgb, #1976d2 12%, transparent);--mat-button-outlined-state-layer-color: #1976d2;--mat-button-protected-container-color: #1976d2;--mat-button-protected-label-text-color: white;--mat-button-protected-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-state-layer-color: white;--mat-button-text-label-text-color: #1976d2;--mat-button-text-ripple-color: color-mix(in srgb, #1976d2 12%, transparent);--mat-button-text-state-layer-color: #1976d2;--mat-button-tonal-container-color: #1976d2;--mat-button-tonal-label-text-color: white;--mat-button-tonal-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-state-layer-color: white}.mat-mdc-button.mat-accent,.mat-mdc-unelevated-button.mat-accent,.mat-mdc-raised-button.mat-accent,.mat-mdc-outlined-button.mat-accent,.mat-tonal-button.mat-accent{--mat-button-filled-container-color: #40c4ff;--mat-button-filled-label-text-color: rgba(0, 0, 0, .87);--mat-button-filled-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-filled-state-layer-color: rgba(0, 0, 0, .87);--mat-button-outlined-label-text-color: #40c4ff;--mat-button-outlined-outline-color: rgba(0, 0, 0, .12);--mat-button-outlined-ripple-color: color-mix(in srgb, #40c4ff 12%, transparent);--mat-button-outlined-state-layer-color: #40c4ff;--mat-button-protected-container-color: #40c4ff;--mat-button-protected-label-text-color: rgba(0, 0, 0, .87);--mat-button-protected-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-protected-state-layer-color: rgba(0, 0, 0, .87);--mat-button-text-label-text-color: #40c4ff;--mat-button-text-ripple-color: color-mix(in srgb, #40c4ff 12%, transparent);--mat-button-text-state-layer-color: #40c4ff;--mat-button-tonal-container-color: #40c4ff;--mat-button-tonal-label-text-color: rgba(0, 0, 0, .87);--mat-button-tonal-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-tonal-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-button.mat-warn,.mat-mdc-unelevated-button.mat-warn,.mat-mdc-raised-button.mat-warn,.mat-mdc-outlined-button.mat-warn,.mat-tonal-button.mat-warn{--mat-button-filled-container-color: #f44336;--mat-button-filled-label-text-color: white;--mat-button-filled-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-state-layer-color: white;--mat-button-outlined-label-text-color: #f44336;--mat-button-outlined-outline-color: rgba(0, 0, 0, .12);--mat-button-outlined-ripple-color: color-mix(in srgb, #f44336 12%, transparent);--mat-button-outlined-state-layer-color: #f44336;--mat-button-protected-container-color: #f44336;--mat-button-protected-label-text-color: white;--mat-button-protected-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-state-layer-color: white;--mat-button-text-label-text-color: #f44336;--mat-button-text-ripple-color: color-mix(in srgb, #f44336 12%, transparent);--mat-button-text-state-layer-color: #f44336;--mat-button-tonal-container-color: #f44336;--mat-button-tonal-label-text-color: white;--mat-button-tonal-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-state-layer-color: white}html{--mat-button-filled-container-height: 36px;--mat-button-filled-touch-target-display: block;--mat-button-outlined-container-height: 36px;--mat-button-outlined-touch-target-display: block;--mat-button-protected-container-height: 36px;--mat-button-protected-touch-target-display: block;--mat-button-text-container-height: 36px;--mat-button-text-touch-target-display: block;--mat-button-tonal-container-height: 36px;--mat-button-tonal-touch-target-display: block}html{--mat-button-filled-label-text-font: Roboto, sans-serif;--mat-button-filled-label-text-size: 14px;--mat-button-filled-label-text-tracking: .0892857143em;--mat-button-filled-label-text-transform: none;--mat-button-filled-label-text-weight: 500;--mat-button-outlined-label-text-font: Roboto, sans-serif;--mat-button-outlined-label-text-size: 14px;--mat-button-outlined-label-text-tracking: .0892857143em;--mat-button-outlined-label-text-transform: none;--mat-button-outlined-label-text-weight: 500;--mat-button-protected-label-text-font: Roboto, sans-serif;--mat-button-protected-label-text-size: 14px;--mat-button-protected-label-text-tracking: .0892857143em;--mat-button-protected-label-text-transform: none;--mat-button-protected-label-text-weight: 500;--mat-button-text-label-text-font: Roboto, sans-serif;--mat-button-text-label-text-size: 14px;--mat-button-text-label-text-tracking: .0892857143em;--mat-button-text-label-text-transform: none;--mat-button-text-label-text-weight: 500;--mat-button-tonal-label-text-font: Roboto, sans-serif;--mat-button-tonal-label-text-size: 14px;--mat-button-tonal-label-text-tracking: .0892857143em;--mat-button-tonal-label-text-transform: none;--mat-button-tonal-label-text-weight: 500}html{--mat-icon-button-icon-size: 24px;--mat-icon-button-container-shape: 50%;--mat-icon-button-touch-target-size: 48px}html{--mat-icon-button-disabled-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-icon-button-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-hover-state-layer-opacity: .04;--mat-icon-button-icon-color: inherit;--mat-icon-button-pressed-state-layer-opacity: .12;--mat-icon-button-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-icon-button-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-icon-button.mat-primary{--mat-icon-button-icon-color: #1976d2;--mat-icon-button-state-layer-color: #1976d2;--mat-icon-button-ripple-color: color-mix(in srgb, #1976d2 12%, transparent)}.mat-mdc-icon-button.mat-accent{--mat-icon-button-icon-color: #40c4ff;--mat-icon-button-state-layer-color: #40c4ff;--mat-icon-button-ripple-color: color-mix(in srgb, #40c4ff 12%, transparent)}.mat-mdc-icon-button.mat-warn{--mat-icon-button-icon-color: #f44336;--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: color-mix(in srgb, #f44336 12%, transparent)}html{--mat-icon-button-touch-target-display: block}.mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 48px;--mat-icon-button-state-layer-size: 48px;width:var(--mat-icon-button-state-layer-size);height:var(--mat-icon-button-state-layer-size);padding:12px}html{--mat-fab-container-shape: 50%;--mat-fab-touch-target-size: 48px;--mat-fab-extended-container-height: 48px;--mat-fab-extended-container-shape: 24px;--mat-fab-small-container-shape: 50%;--mat-fab-small-touch-target-size: 48px}html{--mat-fab-container-color: white;--mat-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-fab-extended-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-fab-extended-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-extended-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-extended-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-fab-small-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-small-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-fab-disabled-state-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-fab-disabled-state-foreground-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-fab-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-fab-focus-state-layer-opacity: .12;--mat-fab-foreground-color: rgba(0, 0, 0, .87);--mat-fab-hover-state-layer-opacity: .04;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-fab-small-container-color: white;--mat-fab-small-disabled-state-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-fab-small-disabled-state-foreground-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-fab-small-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-fab-small-focus-state-layer-opacity: .12;--mat-fab-small-foreground-color: rgba(0, 0, 0, .87);--mat-fab-small-hover-state-layer-opacity: .04;--mat-fab-small-pressed-state-layer-opacity: .12;--mat-fab-small-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-fab-small-state-layer-color: rgba(0, 0, 0, .87);--mat-fab-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-fab.mat-primary,.mat-mdc-mini-fab.mat-primary{--mat-fab-container-color: #1976d2;--mat-fab-foreground-color: white;--mat-fab-ripple-color: color-mix(in srgb, #1976d2 12%, transparent);--mat-fab-small-container-color: #1976d2;--mat-fab-small-foreground-color: white;--mat-fab-small-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-state-layer-color: white;--mat-fab-state-layer-color: white}.mat-mdc-fab.mat-accent,.mat-mdc-mini-fab.mat-accent{--mat-fab-container-color: #40c4ff;--mat-fab-foreground-color: rgba(0, 0, 0, .87);--mat-fab-ripple-color: color-mix(in srgb, #40c4ff 12%, transparent);--mat-fab-small-container-color: #40c4ff;--mat-fab-small-foreground-color: rgba(0, 0, 0, .87);--mat-fab-small-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-fab-small-state-layer-color: rgba(0, 0, 0, .87);--mat-fab-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-fab.mat-warn,.mat-mdc-mini-fab.mat-warn{--mat-fab-container-color: #f44336;--mat-fab-foreground-color: white;--mat-fab-ripple-color: color-mix(in srgb, #f44336 12%, transparent);--mat-fab-small-container-color: #f44336;--mat-fab-small-foreground-color: white;--mat-fab-small-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-state-layer-color: white;--mat-fab-state-layer-color: white}html{--mat-fab-small-touch-target-display: block;--mat-fab-touch-target-display: block}html{--mat-fab-extended-label-text-font: Roboto, sans-serif;--mat-fab-extended-label-text-size: 14px;--mat-fab-extended-label-text-tracking: .0892857143em;--mat-fab-extended-label-text-weight: 500}html{--mat-snack-bar-container-shape: 4px}html{--mat-snack-bar-container-color: #424242;--mat-snack-bar-supporting-text-color: white;--mat-snack-bar-button-color: #64b5f6}html{--mat-snack-bar-supporting-text-font: Roboto, sans-serif;--mat-snack-bar-supporting-text-line-height: 20px;--mat-snack-bar-supporting-text-size: 14px;--mat-snack-bar-supporting-text-weight: 400}html{--mat-table-row-item-outline-width: 1px}html{--mat-table-background-color: white;--mat-table-header-headline-color: rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-color: rgba(0, 0, 0, .12)}html{--mat-table-header-container-height: 56px;--mat-table-footer-container-height: 52px;--mat-table-row-item-container-height: 52px}html{--mat-table-header-headline-font: Roboto, sans-serif;--mat-table-header-headline-line-height: 22px;--mat-table-header-headline-size: 14px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .0071428571em;--mat-table-row-item-label-text-font: Roboto, sans-serif;--mat-table-row-item-label-text-line-height: 20px;--mat-table-row-item-label-text-size: 14px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: .0178571429em;--mat-table-footer-supporting-text-font: Roboto, sans-serif;--mat-table-footer-supporting-text-line-height: 20px;--mat-table-footer-supporting-text-size: 14px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: .0178571429em}html{--mat-progress-spinner-active-indicator-width: 4px;--mat-progress-spinner-size: 48px}html{--mat-progress-spinner-active-indicator-color: #1976d2}.mat-accent{--mat-progress-spinner-active-indicator-color: #40c4ff}.mat-warn{--mat-progress-spinner-active-indicator-color: #f44336}html{--mat-badge-container-shape: 50%;--mat-badge-container-size: unset;--mat-badge-small-size-container-size: unset;--mat-badge-large-size-container-size: unset;--mat-badge-legacy-container-size: 22px;--mat-badge-legacy-small-size-container-size: 16px;--mat-badge-legacy-large-size-container-size: 28px;--mat-badge-container-offset: -11px 0;--mat-badge-small-size-container-offset: -8px 0;--mat-badge-large-size-container-offset: -14px 0;--mat-badge-container-overlap-offset: -11px;--mat-badge-small-size-container-overlap-offset: -8px;--mat-badge-large-size-container-overlap-offset: -14px;--mat-badge-container-padding: 0;--mat-badge-small-size-container-padding: 0;--mat-badge-large-size-container-padding: 0}html{--mat-badge-background-color: #1976d2;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-badge-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent)}.mat-badge-accent{--mat-badge-background-color: #40c4ff;--mat-badge-text-color: rgba(0, 0, 0, .87)}.mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}html{--mat-badge-text-font: Roboto, sans-serif;--mat-badge-line-height: 22px;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-small-size-line-height: 16px;--mat-badge-large-size-text-size: 24px;--mat-badge-large-size-line-height: 28px}html{--mat-bottom-sheet-container-shape: 4px}html{--mat-bottom-sheet-container-text-color: rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color: white}html{--mat-bottom-sheet-container-text-font: Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height: 20px;--mat-bottom-sheet-container-text-size: 14px;--mat-bottom-sheet-container-text-tracking: .0178571429em;--mat-bottom-sheet-container-text-weight: 400}html{--mat-button-toggle-focus-state-layer-opacity: .12;--mat-button-toggle-hover-state-layer-opacity: .04;--mat-button-toggle-legacy-focus-state-layer-opacity: 1;--mat-button-toggle-legacy-height: 36px;--mat-button-toggle-legacy-shape: 2px;--mat-button-toggle-shape: 4px}html{--mat-button-toggle-background-color: white;--mat-button-toggle-disabled-selected-state-background-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-toggle-disabled-selected-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-toggle-disabled-state-background-color: white;--mat-button-toggle-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-toggle-divider-color: rgba(0, 0, 0, .12);--mat-button-toggle-legacy-disabled-selected-state-background-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-toggle-legacy-disabled-state-background-color: white;--mat-button-toggle-legacy-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-toggle-legacy-selected-state-background-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-toggle-legacy-selected-state-text-color: rgba(0, 0, 0, .87);--mat-button-toggle-legacy-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-toggle-legacy-text-color: rgba(0, 0, 0, .87);--mat-button-toggle-selected-state-background-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-toggle-selected-state-text-color: rgba(0, 0, 0, .87);--mat-button-toggle-state-layer-color: rgba(0, 0, 0, .87);--mat-button-toggle-text-color: rgba(0, 0, 0, .87)}html{--mat-button-toggle-height: 48px}html{--mat-button-toggle-label-text-font: Roboto, sans-serif;--mat-button-toggle-label-text-line-height: 24px;--mat-button-toggle-label-text-size: 16px;--mat-button-toggle-label-text-tracking: .03125em;--mat-button-toggle-label-text-weight: 400;--mat-button-toggle-legacy-label-text-font: Roboto, sans-serif;--mat-button-toggle-legacy-label-text-line-height: 24px;--mat-button-toggle-legacy-label-text-size: 16px;--mat-button-toggle-legacy-label-text-tracking: .03125em;--mat-button-toggle-legacy-label-text-weight: 400}html{--mat-datepicker-calendar-container-shape: 4px;--mat-datepicker-calendar-container-touch-shape: 4px;--mat-datepicker-calendar-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-container-touch-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}html{--mat-datepicker-calendar-date-in-range-state-background-color: color-mix(in srgb, #1976d2 20%, transparent);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: color-mix(in srgb, #40c4ff 20%, transparent);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(27.2643896268%, 64.1081593928%, 36.843769766%);--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #1976d2;--mat-datepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #1976d2 38%, transparent);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #1976d2 12%, transparent);--mat-datepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #1976d2 4%, transparent);--mat-datepicker-toggle-active-state-icon-color: #1976d2;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-disabled-state-outline-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .54);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-range-input-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent,.mat-datepicker-toggle-active.mat-accent{--mat-datepicker-calendar-date-in-range-state-background-color: color-mix(in srgb, #40c4ff 20%, transparent);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: color-mix(in srgb, #40c4ff 20%, transparent);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(27.2643896268%, 64.1081593928%, 36.843769766%);--mat-datepicker-calendar-date-selected-state-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-selected-state-background-color: #40c4ff;--mat-datepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #40c4ff 38%, transparent);--mat-datepicker-calendar-date-today-selected-state-outline-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #40c4ff 12%, transparent);--mat-datepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #40c4ff 4%, transparent);--mat-datepicker-toggle-active-state-icon-color: #40c4ff;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-disabled-state-outline-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .54);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-range-input-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-warn,.mat-datepicker-toggle-active.mat-warn{--mat-datepicker-calendar-date-in-range-state-background-color: color-mix(in srgb, #f44336 20%, transparent);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: color-mix(in srgb, #40c4ff 20%, transparent);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(27.2643896268%, 64.1081593928%, 36.843769766%);--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #f44336 38%, transparent);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #f44336 12%, transparent);--mat-datepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #f44336 4%, transparent);--mat-datepicker-toggle-active-state-icon-color: #f44336;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-disabled-state-outline-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .54);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-range-input-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-calendar-controls{--mat-icon-button-touch-target-display: none}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 40px;--mat-icon-button-state-layer-size: 40px;width:var(--mat-icon-button-state-layer-size);height:var(--mat-icon-button-state-layer-size);padding:8px}html{--mat-datepicker-calendar-text-font: Roboto, sans-serif;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 14px;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: 14px;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400}html{--mat-divider-width: 1px}html{--mat-divider-color: rgba(0, 0, 0, .12)}html{--mat-expansion-container-shape: 4px;--mat-expansion-legacy-header-indicator-display: inline-block;--mat-expansion-header-indicator-display: none}html{--mat-expansion-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-expansion-container-background-color: white;--mat-expansion-container-text-color: rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color: rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-expansion-header-focus-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-expansion-header-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-expansion-header-text-color: rgba(0, 0, 0, .87);--mat-expansion-header-description-color: rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color: rgba(0, 0, 0, .54)}html{--mat-expansion-header-collapsed-state-height: 48px;--mat-expansion-header-expanded-state-height: 64px}html{--mat-expansion-header-text-font: Roboto, sans-serif;--mat-expansion-header-text-size: 14px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Roboto, sans-serif;--mat-expansion-container-text-line-height: 20px;--mat-expansion-container-text-size: 14px;--mat-expansion-container-text-tracking: .0178571429em;--mat-expansion-container-text-weight: 400}html{--mat-grid-list-tile-header-primary-text-size: 14px;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 14px;--mat-grid-list-tile-footer-secondary-text-size: 12px}html{--mat-icon-color: inherit}.mat-icon.mat-primary{--mat-icon-color: #1976d2}.mat-icon.mat-accent{--mat-icon-color: #40c4ff}.mat-icon.mat-warn{--mat-icon-color: #f44336}html{--mat-sidenav-container-shape: 0;--mat-sidenav-container-width: auto}html{--mat-sidenav-container-elevation-shadow: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-sidenav-container-divider-color: rgba(0, 0, 0, .12);--mat-sidenav-container-background-color: white;--mat-sidenav-container-text-color: rgba(0, 0, 0, .87);--mat-sidenav-content-background-color: #fafafa;--mat-sidenav-content-text-color: rgba(0, 0, 0, .87);--mat-sidenav-scrim-color: rgba(0, 0, 0, .6)}html{--mat-stepper-header-focus-state-layer-shape: 4px;--mat-stepper-header-hover-state-layer-shape: 4px}html{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #1976d2;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #1976d2;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #1976d2;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: white;--mat-stepper-line-color: rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-stepper-header-focus-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-stepper-header-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color: rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}.mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: rgba(0, 0, 0, .87);--mat-stepper-header-selected-state-icon-background-color: #40c4ff;--mat-stepper-header-selected-state-icon-foreground-color: rgba(0, 0, 0, .87);--mat-stepper-header-done-state-icon-background-color: #40c4ff;--mat-stepper-header-done-state-icon-foreground-color: rgba(0, 0, 0, .87);--mat-stepper-header-edit-state-icon-background-color: #40c4ff;--mat-stepper-header-edit-state-icon-foreground-color: rgba(0, 0, 0, .87)}.mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}html{--mat-stepper-header-height: 72px}html{--mat-stepper-container-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-size: 14px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-weight: 400}html{--mat-sort-arrow-color: rgba(0, 0, 0, .87)}html{--mat-toolbar-container-background-color: white;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #1976d2;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #40c4ff;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}html{--mat-toolbar-standard-height: 64px;--mat-toolbar-mobile-height: 56px}html{--mat-toolbar-title-text-font: Roboto, sans-serif;--mat-toolbar-title-text-line-height: 32px;--mat-toolbar-title-text-size: 20px;--mat-toolbar-title-text-tracking: .0125em;--mat-toolbar-title-text-weight: 500}html{--mat-tree-container-background-color: white;--mat-tree-node-text-color: rgba(0, 0, 0, .87)}html{--mat-tree-node-min-height: 48px}html{--mat-tree-node-text-font: Roboto, sans-serif;--mat-tree-node-text-size: 14px;--mat-tree-node-text-weight: 400}html{--mat-timepicker-container-shape: 4px}html{--mat-timepicker-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-timepicker-container-background-color: white}@font-face{font-family:Inter;font-style:normal;font-weight:300;font-display:swap;src:url(/uds/res/admin/fonts/Inter-Light.woff2) format("woff2")}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/uds/res/admin/fonts/Inter-Regular.woff2) format("woff2")}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(/uds/res/admin/fonts/Inter-Medium.woff2) format("woff2")}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(/uds/res/admin/fonts/Inter-SemiBold.woff2) format("woff2")}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(/uds/res/admin/fonts/Inter-Bold.woff2) format("woff2")}:root{--bg-surface: #eef1f5;--bg-accent: #f0f2f5;--text-primary: #121212;--text-secondary: #5f6368;--glass-bg: rgba(255, 255, 255, .8);--tooltip-bg: rgba(255, 255, 255, .96);--glass-hover-bg: rgba(255, 255, 255, .92);--glass-border: rgba(0, 0, 0, .14);--glass-border-strong: rgba(25, 118, 210, .55);--nav-active-bg: rgba(25, 118, 210, .18);--nav-active-fg: #0b4a8f;--nav-active-accent: #1976d2;--glass-shadow: rgba(0, 0, 0, .12);--glass-backdrop-filter: blur(14px);--warning-color: #d32f2f;--caution-color: #f59e0b;--caution-surface: rgba(245, 158, 11, .12);--caution-border: rgba(245, 158, 11, .4);--bg-button: linear-gradient(135deg, #1976d2, #1565c0);--glass-header-bg: linear-gradient(135deg, rgba(25, 118, 210, .12), rgba(25, 118, 210, .04));--navbar-height: 70px;--sidebar-full-width: 310px;--sidebar-mini-width: 80px;--sidebar-width: var(--sidebar-full-width)}html,body{margin:0;font-family:Inter,Roboto,Helvetica,Arial,sans-serif;font-size:14px;height:100%;color:var(--text-primary);transition:background-color .4s ease,color .4s ease}html{background-color:var(--bg-surface)}body{background-color:transparent!important;background-image:radial-gradient(at 0% 0%,rgba(70,93,156,.15) 0px,transparent 50%),radial-gradient(at 100% 100%,rgba(75,82,102,.1) 0px,transparent 50%);background-attachment:fixed}uds-navbar{position:fixed;top:15px;left:15px;right:15px;z-index:1000}uds-navbar .mat-toolbar.uds-nav{background:var(--glass-bg)!important;backdrop-filter:var(--glass-backdrop-filter);-webkit-backdrop-filter:var(--glass-backdrop-filter);border:1px solid var(--glass-border);border-radius:20px;box-shadow:0 8px 32px 0 var(--glass-shadow);height:var(--navbar-height)!important;padding:0 10px 0 5px!important;color:var(--text-primary)!important}uds-navbar .udsicon{filter:none!important;height:40px}.sidebar-handle{position:fixed;left:calc(var(--sidebar-full-width) + 15px);top:50%;transform:translateY(-50%);width:28px;height:70px;background:var(--glass-bg);backdrop-filter:var(--glass-backdrop-filter);-webkit-backdrop-filter:var(--glass-backdrop-filter);border:1px solid var(--glass-border);border-left:none;border-radius:0 16px 16px 0;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:1001;transition:left .4s cubic-bezier(.4,0,.2,1),padding-left .4s ease;color:var(--text-primary)}.sidebar-handle:hover{padding-left:6px}.sidebar-handle.sidebar-hidden{left:0}.sidebar-handle:before,.sidebar-handle:after{content:"";position:absolute;left:-1px;width:1px;background:var(--glass-border);pointer-events:none}.sidebar-handle:before{bottom:100%;height:calc(50vh - var(--navbar-height) - 86px)}.sidebar-handle:after{top:100%;height:calc(50vh - 66px)}.sidebar-handle.sidebar-hidden:before,.sidebar-handle.sidebar-hidden:after{display:none}.sidebar-handle i{font-size:22px}uds-sidebar{position:fixed;top:calc(var(--navbar-height) + 35px);left:15px;bottom:15px;width:var(--sidebar-full-width);z-index:999;transition:transform .4s cubic-bezier(.4,0,.2,1),opacity .4s cubic-bezier(.4,0,.2,1)}uds-sidebar.sidebar-hidden{transform:translate(calc(-100% - 30px));opacity:0;pointer-events:none}uds-sidebar .sidebar{box-sizing:border-box;height:100%!important;width:100%!important;background:var(--glass-bg)!important;backdrop-filter:var(--glass-backdrop-filter);-webkit-backdrop-filter:var(--glass-backdrop-filter);border:1px solid var(--glass-border);border-right:none;border-radius:24px;box-shadow:0 8px 32px 0 var(--glass-shadow);clip-path:inset(-40px 0 -40px -40px);padding:24px 0 24px 12px!important;display:flex;flex-direction:column;overflow:hidden;color:var(--text-primary)!important;transition:background .4s ease,color .4s ease,border-color .4s ease}uds-sidebar .sidebar-scroll{flex:1;min-height:0;padding-right:4px;overflow-y:auto;overflow-x:hidden}uds-sidebar .sidebar-scroll::-webkit-scrollbar{width:4px}uds-sidebar .sidebar-scroll::-webkit-scrollbar-thumb{background:var(--glass-border);border-radius:10px}@supports not selector(::-webkit-scrollbar){uds-sidebar .sidebar-scroll{scrollbar-width:thin;scrollbar-color:var(--glass-border) transparent}}uds-sidebar .sidebar-link{width:100%;text-align:left!important;justify-content:flex-start!important;border-radius:12px!important;margin-bottom:4px!important;padding:10px 16px!important;height:auto!important;color:var(--text-primary)!important;font-weight:500!important;transition:background .3s ease,color .3s ease,transform .3s ease!important;display:flex;align-items:center}uds-sidebar .sidebar-link .mdc-button__label{flex:1;min-width:0;display:flex;align-items:center}uds-sidebar .sidebar-link .mdc-button__label>span,uds-sidebar .sidebar-link .mdc-button__label>uds-translate{flex:1;white-space:nowrap;margin-left:12px;font-size:.9rem;opacity:1}uds-sidebar .sidebar-link .mdc-button__label>span{display:flex;align-items:center;justify-content:space-between}uds-sidebar .sidebar-link:hover{background:var(--glass-hover-bg)!important;transform:translate(5px)}uds-sidebar .sidebar-link .icon{width:20px;height:20px;flex-shrink:0;transition:filter .3s ease,opacity .3s ease}uds-sidebar .sidebar-link .material-icons{margin-left:auto;font-size:18px;opacity:.7}uds-sidebar .submenu,uds-sidebar .submenu2{background:#0000000d;border-radius:12px;margin:4px 8px 8px;padding:4px 0}uds-sidebar .submenu .sidebar-link,uds-sidebar .submenu2 .sidebar-link{padding-left:45px!important;font-size:.85rem!important;opacity:.9}uds-sidebar .submenu .sidebar-link:hover,uds-sidebar .submenu2 .sidebar-link:hover{opacity:1}.page{margin-left:calc(var(--sidebar-full-width) + 50px);padding-top:calc(var(--navbar-height) + 35px);min-height:100vh;box-sizing:border-box;transition:margin-left .4s cubic-bezier(.4,0,.2,1)}.page.sidebar-hidden{margin-left:15px}@media(max-width:768px){.page,.page.sidebar-hidden{margin-left:0}}.content{padding:0 20px 40px}.app-loading .logo{width:113px;height:120px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAABhWlDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AYht+malUqCnYQcchQnexiRRxLFYtgobQVWnUwufRHaNKQpLg4Cq4FB38Wqw4uzro6uAqC4A+Is4OToouU+F1SaBHjHcc9vPe9L3ffAUKjwlSzKwaommWkE3Exl18RA6/owxDNHkQlZurJzEIWnuPrHj6+30V4lnfdn2NAKZgM8InEMaYbFvE68cympXPeJw6xsqQQnxNRBqVdLNcHAITJcpe83h3b2ff/q1p9e8HsopywPnxfBcAAAGDUExURQAAABkMiRwRhiYRgR4WghwdhyUcgSohcycjeiMkhSkmdSopZy8sYBovjzEzVyUykTE3UyQ3kTM1dTM3ZDU9SDZBQCY/lS9DgD9GLT5DazxKMCNOpEFWG0BWLkVQZSVVoUFXKERYFkJYI0ZZEB1ZqztZQD5ZNUZZGD1ZOjxZRTJZbTtZUzVaXjxaS0dbGTdaZyZboSlapkVeFDBZoEldGyxdmDBdiy9cnCJgrDBekjRehjdeeylfpDNfgVFbXDxjdDllfEFkcUJnakdoYTlpkklqW1RtFzxrh01qVk9sT1VuQ1RuSVZvP1pxN2ByKl5zMGR0EmJ0JGN1HWZ2FUR4gmd3F2l5DWl5GWF9Gk18e259E01/eGJ+T2uBFnGGEWqIFmeFSFaIb1qMZ22KPnKOGXSRL3iTE2OUXnOXF3CaRGqbUHibMn2dEnujGn+mDXmqPISrFoGvGYGwNIazEIO2LIu5HJC8DIy/EJLFG5XHCJbIDZjKEZLMEZvMAJbQGZrTB53VAJ6wE90AAAABdFJOUwBA5thmAAALzklEQVR42tVb/VvbRhJ2gHD56EeSNtyFmGJjJyJAQMLYxjYuAQoJ3wad5JQUSBsfoRcgEOMg7erk/uk3uysZ21qBVoHcc/MreTyvZt6ZeWekRCJfYnXbts6ODg/3Xy8sjEeu2ywTmaZGKaBLNvGZyeHu7uvwRbAxkdHpbjHJOkq/BKnJjGrTsyu1/+qGydHh/u7m+OjUpQZ+JKkUcm1UWITExMuqHCeqVuLPLKJiGFqlmWeney/Hid+2p+Xa42/CwXbQPSxsU3MsjAmCAgghI2T3YVx9uTxS60RESkwBtMyDAORWNsWpj6bDaNqZUFyfcNPJxLjrZbwhob9U8iJdCkGRHyDZ+TxzAyh6u4o8y4lIAyxWF9vq/2jty8WG4B/kgDzJml09AIIEHRkkkwjX/9WbTcRZY8eHYj1Pvzx3nff3G21R0MjI8PPnzzpGxgYcNjZlpG45Ov+gmd3ABwuRBmAaO+9u3du3brV3d3VbLd7UmmwXC6TyRfGhp89jUXbwkCKhRMEA0HosXmJIWNfipLfiD387u6tDmadzLq6Oju6vu3plycVaslkKpvLF4fGRp4PxoAqTTBGvRAwutw7YwAAkOK99/7W1dHlsZvf98utRoDIucLIc8hI/BwDyUNr+G18YegbAE62pShE/5sunnXfT8l8y2bTheHBAYLdRdBCBNO2A7gnAGqV0agE/js6vf4h/VN8/yQj2XSmMBxrikFTNRiWbZiBDOHD8ejAj92c8IN/2ce/i0LODAEEyZsFhJEZEIBdfZ3o/YEH4DL/DEN6bNCtinMEqI7NoAZ9eOHhHc7z3+yRAxhwpPhswM3DhAPAqFumAIL9Z3d4/lNTQRDIipwfdhG4TfHEQCgwAAvVPvzcfaPVfWfX/f5g/kkaMs/dITbKAFSOkUAIELY//tTeBL7tlwObIhefNADQWiztGwIAoB0bHx7d6GwjoIApypCTBKcUSzvHBhZD8PZBR3MMfBuQDwJIgouAAijv1SwkgMCyar/daUJw+/GULGaFWIIBoCxQVf3wTAgBqp++utXRVAGC/pO5wXgzgC11+8gQAQBK7fTn2y6C2/2iAVDSTimyXqRuaYQGIkQ0bOvwp65OtwTEAYz1NQGIaGVNrVSRUAws+8OjThqDm/fFAWQLg1LTUNTKZUJELFiM71gpdAdtgs2Wf5JonokkCdsHZ0IxAHn49sGNLwTgdgK1XFbV7UNBIlq15TugC64CQETb0tTSthgRoR2czHd3dHT39F8BABKD0o4gEbH94afujhAkbAYQZSMZAGglTbAjImx9eBSqDLPFRhW4skgjtVjeP0MiU8Goo3896rgZAsDQ03YAEVXXVLV88FmwHeB3P3T1iDeikVhzI3JCoGtQjEdnIiEgWXj34PvH4q046gEQIQBU0pPF2kG99vbvPaIAck/YhiCNNu8nmg5EhJ4sRETSkH7LK4KCIDcoxb0AyEwAHkApYDEa1N7n+hWxcfw0wQUA/YiWglgMMD79Pd0vFIFMXyLu4QDtBppGp4JYO0Do0++5ZAhFJHmOFTQEVJ4IFuOnNymBJGSH/ACoOnREVa0cm0I0gG3h469ZJTCE9MiAD4CISolYqlRNsVLAgCAwDxqqmHcvoghgKpwJDUaGIBswBEpx0AXAORWBOAEEuiARTfM/6OMbOVA/SCmFvvgFAMqEiCWQJ1gMgYU/vkknlSAAhgacRsi92IFCJKWwK7YukWqEWsgFYaIyFI/7cJBamXXESlUQgYnRpz9+CYAAADgZiPIPlowGIE8EkwAy8fTPN7lkcpLYlO+Qzo5cQAG6LJY0gqAsTERSDJ/+eHnek6a4MDLPLwEQITwEIuoHhjACZJ2dOr/iLwifMQATvgCqB1uqSkrhSEwns2Ko/9X0U8Th5GQLA+TCIAUgTfi8T0HYPtsrkzSUdk5M0RgYyLaM1h9M0WRMNgThWIwB4FchMshrglpFU8loFl0ZqdWR2f6rjBFTDMBwNO7n3zQg6+AfG8c7KkGg7X8WR4Btw/T+9rkkHna0QNTrHuE6PdrC6nkAyxJ0AyCiaDGahmVjbnIdAM8SvAhY2HC8U6lZd5IQiogm8kcwBYo0wZFjn2nqkVvNtdM/326qtB1snyDxLCDb9EEwKRcHE953irsH0HipH/qC7vT9P3Mvlzd12hErVSxORNxeCi4CJVuggrBtEGjblYOaZZFXRnX06f2vvyiPlRerJAKEiLUQpYB9YpBMj9GtqA0A8K28d1QzLHz68d+knSsAdXadhAA04kEIGsCj8BFk2IGqHcAWrOflveMatPKGsEnP0SSIXw7cnshHwORQ2yAgAGA33Xn7Mi03lgyluOgg2KlaYUrB5CKIUQDtg4CoEE3Vl/qbNE1KBhpQIqoVwXXJSQLmMTE6wRuFVIxq+lK2ecFIZmfXdEpEdU/scuDGgFcL8QmeGuICgD16fpMhEFepvlkgalzyaAFouhwAIB4WaRI0SkRxBBYnBPEJCUaxBwDZyjR9NZ9qVdaKQwNV3amGAACl0I4gLiXIxw1xrhDUV1+0bRdKdmadhUAVvKU2RFo7AraU8JWovj7dvt4o6bkN3emIZyE6IrKQEeSzBbYO6GuzacVzzlikLZnt7WYYIgYDQFioby5mPACU4pLeIGKIGNg4YAhIDrTVIufSML1OEajhBiO3FPwA6JvTCueq5vSjkrYfqhtYZpAsUPmhb86leVetRfpXtbQVbjAGowFphrq6yLm5AQ1WzmkQAkHdCJIEtaxDz1mf4ayXijKzxmig7oYR6hgHCwGpA22ee+hIz244NNgLo4+C5YBczHV9KS+neHcdRxuo5YMQtWibgXJACkHfmOOFQJHzS0wihhLqIHiDV+IK9+iopKZXHSLuVE1RbQD7phEwB9COp33OXbPuUKiID0YcsBK3gAWby5kk/8btqBNyuhClQcBWQC72mrYx63PbyS872mD7SDQJ0A0Dz0RdWynIvCQoIFJZEsgpVfSSaQYbCJSH6qs0lwWKPLvGSoHIZMFjrhEwBJSHHmF0rk5UPdQFCwAEKkSmjHRtOcMvhGRmmSEAGiB0HRGAXlBmQ9EnCUWHBuSFP74OALQSYCZN80NAVlbN3VUEkiAAgK4ouraYkX1oML/JJKLQrhK0DNlYJpWwMc9PQirpdAOiDUwU/DO44ACckbA249ORlYKzsmoCRzxsW8EBqOT3dX294EcDZ1dRtcAtGQUch40kUBosFZN+NNhwJvNhwMmMA24nLQg0bZH//kEBdaK6kzlYCIIJEk8MNl7lfPqRSwM92EsFC6OIIACHiLN+/WjaWVlhLl4eA1QX9e+uitr6bJb7JsxdWdXS7uXnI2QJNIG2JOir/BikUo1dZe+ySkB2GP+No806vx0ocmGFffJw2c4M+3ko/+cxKPi8eWHagCYBXVkH8Exmoo9ecN+MJx2JWLrwgwOELSMSGkCZjmZ95UWaw8SUuymUyv7SIHz8XRpQHvCZCC15lVWC77bmdywVbQc+/UBJv2IqWfdZ2r/w+VsQgEJSvC3ZPeXuVDlf4hnYRkbki61MVwVAkPdSMZVly5Kq73NK0bKNK/Dv9ERQiUtFTiXk3Y7sKUVof4YZuRJzsrC5OuMRacncovNex6MMLBEFclkWtmgM9PXZdiK42kTVto9bNDKyw7cf364M43k+3/qtTErOrDgq/aAJAHQfy4hcpWkMgba59KIVgZJd1j0zifyPDRSJXDECes3X1dW5FpWkyMuNdbVRiZZlRq7coCEwLm4sTjdBUORFXXNWNeeLD0j/NfhvTAbalIpARsVphksuAKZPofquOP0eKgITVucyWfL0QIHp1RYA5D0VilyXaU5P0rWNlbminFSSCqgSrQkANP/rc88gbLGC1DdX5menZ+aWmDxnHLCs60p/MxHYGYlWxNqG655VQd0yrci1m+YsLTog0PRzAHtnwU6BV1OQDhvPTS0f2ghHvpIBGdsglOgr/sjXMyjIFgzlneOv6Z5RQXWqkpbAQS3y1U0lZKCmbVUi/xtzLnZq5P/a/gvm8NIms2W1xQAAAABJRU5ErkJggg==)}i.material-icons{vertical-align:middle!important}i.spaced{margin-right:.5rem}.dark-theme{--mat-app-background-color: #303030;--mat-app-text-color: white;--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-option-selected-state-label-text-color: #1976d2;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: color-mix(in srgb, white 4%, transparent);--mat-option-focus-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-option-selected-state-layer-color: color-mix(in srgb, white 12%, transparent)}.dark-theme .mat-accent{--mat-option-selected-state-label-text-color: #40c4ff;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: color-mix(in srgb, white 4%, transparent);--mat-option-focus-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-option-selected-state-layer-color: color-mix(in srgb, white 12%, transparent)}.dark-theme .mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: color-mix(in srgb, white 4%, transparent);--mat-option-focus-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-option-selected-state-layer-color: color-mix(in srgb, white 12%, transparent)}.dark-theme{--mat-optgroup-label-text-color: white;--mat-pseudo-checkbox-full-selected-icon-color: #40c4ff;--mat-pseudo-checkbox-full-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(255, 255, 255, .7);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #40c4ff;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, white 38%, transparent)}.dark-theme .mat-primary{--mat-pseudo-checkbox-full-selected-icon-color: #1976d2;--mat-pseudo-checkbox-full-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(255, 255, 255, .7);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #1976d2;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, white 38%, transparent)}.dark-theme .mat-accent{--mat-pseudo-checkbox-full-selected-icon-color: #40c4ff;--mat-pseudo-checkbox-full-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(255, 255, 255, .7);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #40c4ff;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, white 38%, transparent)}.dark-theme .mat-warn{--mat-pseudo-checkbox-full-selected-icon-color: #f44336;--mat-pseudo-checkbox-full-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(255, 255, 255, .7);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #f44336;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, white 38%, transparent)}.dark-theme{--mat-card-elevated-container-color: #424242;--mat-card-elevated-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-card-outlined-container-color: #424242;--mat-card-outlined-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-outlined-outline-color: rgba(255, 255, 255, .12);--mat-card-subtitle-text-color: rgba(255, 255, 255, .7);--mat-card-filled-container-color: #424242;--mat-card-filled-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12)}.dark-theme .mat-mdc-progress-bar{--mat-progress-bar-active-indicator-color: #1976d2;--mat-progress-bar-track-color: rgba(25, 118, 210, .25)}.dark-theme .mat-mdc-progress-bar.mat-accent{--mat-progress-bar-active-indicator-color: #40c4ff;--mat-progress-bar-track-color: rgba(64, 196, 255, .25)}.dark-theme .mat-mdc-progress-bar.mat-warn{--mat-progress-bar-active-indicator-color: #f44336;--mat-progress-bar-track-color: rgba(244, 67, 54, .25)}.dark-theme{--mat-tooltip-container-color: white;--mat-tooltip-supporting-text-color: rgba(0, 0, 0, .87);--mat-form-field-focus-select-arrow-color: color-mix(in srgb, #1976d2 87%, transparent);--mat-form-field-filled-caret-color: #1976d2;--mat-form-field-filled-focus-active-indicator-color: #1976d2;--mat-form-field-filled-focus-label-text-color: color-mix(in srgb, #1976d2 87%, transparent);--mat-form-field-outlined-caret-color: #1976d2;--mat-form-field-outlined-focus-outline-color: #1976d2;--mat-form-field-outlined-focus-label-text-color: color-mix(in srgb, #1976d2 87%, transparent);--mat-form-field-disabled-input-text-placeholder-color: color-mix(in srgb, white 38%, transparent);--mat-form-field-state-layer-color: white;--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: rgba(0, 0, 0, .87);--mat-form-field-select-disabled-option-text-color: rgba(0, 0, 0, .38);--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(255, 255, 255, .7);--mat-form-field-disabled-select-arrow-color: color-mix(in srgb, white 38%, transparent);--mat-form-field-hover-state-layer-opacity: .04;--mat-form-field-focus-state-layer-opacity: .12;--mat-form-field-filled-container-color: #4a4a4a;--mat-form-field-filled-disabled-container-color: color-mix(in srgb, white 4%, transparent);--mat-form-field-filled-label-text-color: rgba(255, 255, 255, .7);--mat-form-field-filled-hover-label-text-color: rgba(255, 255, 255, .7);--mat-form-field-filled-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-form-field-filled-input-text-color: white;--mat-form-field-filled-disabled-input-text-color: color-mix(in srgb, white 38%, transparent);--mat-form-field-filled-input-text-placeholder-color: rgba(255, 255, 255, .7);--mat-form-field-filled-error-hover-label-text-color: #f44336;--mat-form-field-filled-error-focus-label-text-color: #f44336;--mat-form-field-filled-error-label-text-color: #f44336;--mat-form-field-filled-error-caret-color: #f44336;--mat-form-field-filled-active-indicator-color: rgba(255, 255, 255, .7);--mat-form-field-filled-disabled-active-indicator-color: color-mix(in srgb, white 12%, transparent);--mat-form-field-filled-hover-active-indicator-color: white;--mat-form-field-filled-error-active-indicator-color: #f44336;--mat-form-field-filled-error-focus-active-indicator-color: #f44336;--mat-form-field-filled-error-hover-active-indicator-color: #f44336;--mat-form-field-outlined-label-text-color: rgba(255, 255, 255, .7);--mat-form-field-outlined-hover-label-text-color: white;--mat-form-field-outlined-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-form-field-outlined-input-text-color: white;--mat-form-field-outlined-disabled-input-text-color: color-mix(in srgb, white 38%, transparent);--mat-form-field-outlined-input-text-placeholder-color: rgba(255, 255, 255, .7);--mat-form-field-outlined-error-caret-color: #f44336;--mat-form-field-outlined-error-focus-label-text-color: #f44336;--mat-form-field-outlined-error-label-text-color: #f44336;--mat-form-field-outlined-error-hover-label-text-color: #f44336;--mat-form-field-outlined-outline-color: rgba(255, 255, 255, .38);--mat-form-field-outlined-disabled-outline-color: color-mix(in srgb, white 12%, transparent);--mat-form-field-outlined-hover-outline-color: white;--mat-form-field-outlined-error-focus-outline-color: #f44336;--mat-form-field-outlined-error-hover-outline-color: #f44336;--mat-form-field-outlined-error-outline-color: #f44336}.dark-theme .mat-mdc-form-field.mat-accent{--mat-form-field-focus-select-arrow-color: color-mix(in srgb, #40c4ff 87%, transparent);--mat-form-field-filled-caret-color: #40c4ff;--mat-form-field-filled-focus-active-indicator-color: #40c4ff;--mat-form-field-filled-focus-label-text-color: color-mix(in srgb, #40c4ff 87%, transparent);--mat-form-field-outlined-caret-color: #40c4ff;--mat-form-field-outlined-focus-outline-color: #40c4ff;--mat-form-field-outlined-focus-label-text-color: color-mix(in srgb, #40c4ff 87%, transparent)}.dark-theme .mat-mdc-form-field.mat-warn{--mat-form-field-focus-select-arrow-color: color-mix(in srgb, #f44336 87%, transparent);--mat-form-field-filled-caret-color: #f44336;--mat-form-field-filled-focus-active-indicator-color: #f44336;--mat-form-field-filled-focus-label-text-color: color-mix(in srgb, #f44336 87%, transparent);--mat-form-field-outlined-caret-color: #f44336;--mat-form-field-outlined-focus-outline-color: #f44336;--mat-form-field-outlined-focus-label-text-color: color-mix(in srgb, #f44336 87%, transparent)}.dark-theme{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: white;--mat-select-disabled-trigger-text-color: color-mix(in srgb, white 38%, transparent);--mat-select-placeholder-text-color: rgba(255, 255, 255, .7);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .7);--mat-select-disabled-arrow-color: color-mix(in srgb, white 38%, transparent);--mat-select-focused-arrow-color: #1976d2;--mat-select-invalid-arrow-color: #f44336}.dark-theme .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: white;--mat-select-disabled-trigger-text-color: color-mix(in srgb, white 38%, transparent);--mat-select-placeholder-text-color: rgba(255, 255, 255, .7);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .7);--mat-select-disabled-arrow-color: color-mix(in srgb, white 38%, transparent);--mat-select-focused-arrow-color: #40c4ff;--mat-select-invalid-arrow-color: #f44336}.dark-theme .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: white;--mat-select-disabled-trigger-text-color: color-mix(in srgb, white 38%, transparent);--mat-select-placeholder-text-color: rgba(255, 255, 255, .7);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .7);--mat-select-disabled-arrow-color: color-mix(in srgb, white 38%, transparent);--mat-select-focused-arrow-color: #f44336;--mat-select-invalid-arrow-color: #f44336}.dark-theme{--mat-autocomplete-background-color: #424242;--mat-dialog-container-color: #424242;--mat-dialog-subhead-color: white;--mat-dialog-supporting-text-color: rgba(255, 255, 255, .7)}.dark-theme .mat-mdc-standard-chip{--mat-chip-disabled-label-text-color: white;--mat-chip-elevated-container-color: color-mix(in srgb, white 12%, transparent);--mat-chip-elevated-disabled-container-color: color-mix(in srgb, white 12%, transparent);--mat-chip-elevated-selected-container-color: color-mix(in srgb, white 12%, transparent);--mat-chip-flat-disabled-selected-container-color: color-mix(in srgb, white 12%, transparent);--mat-chip-focus-state-layer-color: white;--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: white;--mat-chip-label-text-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: white;--mat-chip-selected-trailing-icon-color: white;--mat-chip-with-icon-disabled-icon-color: white;--mat-chip-with-icon-icon-color: white;--mat-chip-with-icon-selected-icon-color: white;--mat-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mat-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mat-chip-disabled-label-text-color: white;--mat-chip-elevated-container-color: #1976d2;--mat-chip-elevated-disabled-container-color: #1976d2;--mat-chip-elevated-selected-container-color: #1976d2;--mat-chip-flat-disabled-selected-container-color: #1976d2;--mat-chip-focus-state-layer-color: white;--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: white;--mat-chip-label-text-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: white;--mat-chip-selected-trailing-icon-color: white;--mat-chip-with-icon-disabled-icon-color: white;--mat-chip-with-icon-icon-color: white;--mat-chip-with-icon-selected-icon-color: white;--mat-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mat-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mat-chip-disabled-label-text-color: rgba(0, 0, 0, .87);--mat-chip-elevated-container-color: #40c4ff;--mat-chip-elevated-disabled-container-color: #40c4ff;--mat-chip-elevated-selected-container-color: #40c4ff;--mat-chip-flat-disabled-selected-container-color: #40c4ff;--mat-chip-focus-state-layer-color: white;--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: white;--mat-chip-label-text-color: rgba(0, 0, 0, .87);--mat-chip-selected-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: rgba(0, 0, 0, .87);--mat-chip-selected-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-icon-disabled-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-icon-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-icon-selected-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-trailing-icon-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-trailing-icon-trailing-icon-color: rgba(0, 0, 0, .87)}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mat-chip-disabled-label-text-color: white;--mat-chip-elevated-container-color: #f44336;--mat-chip-elevated-disabled-container-color: #f44336;--mat-chip-elevated-selected-container-color: #f44336;--mat-chip-flat-disabled-selected-container-color: #f44336;--mat-chip-focus-state-layer-color: white;--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: white;--mat-chip-label-text-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: white;--mat-chip-selected-trailing-icon-color: white;--mat-chip-with-icon-disabled-icon-color: white;--mat-chip-with-icon-icon-color: white;--mat-chip-with-icon-selected-icon-color: white;--mat-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mat-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme{--mat-slide-toggle-selected-icon-color: white;--mat-slide-toggle-disabled-selected-icon-color: white;--mat-slide-toggle-selected-focus-state-layer-color: #1976d2;--mat-slide-toggle-selected-handle-color: #1976d2;--mat-slide-toggle-selected-hover-state-layer-color: #1976d2;--mat-slide-toggle-selected-pressed-state-layer-color: #1976d2;--mat-slide-toggle-selected-focus-handle-color: #1976d2;--mat-slide-toggle-selected-hover-handle-color: #1976d2;--mat-slide-toggle-selected-pressed-handle-color: #1976d2;--mat-slide-toggle-selected-focus-track-color: #1e88e5;--mat-slide-toggle-selected-hover-track-color: #1e88e5;--mat-slide-toggle-selected-pressed-track-color: #1e88e5;--mat-slide-toggle-selected-track-color: #1e88e5;--mat-slide-toggle-disabled-unselected-track-outline-color: transparent;--mat-slide-toggle-selected-track-outline-color: transparent;--mat-slide-toggle-track-outline-color: transparent;--mat-slide-toggle-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-slide-toggle-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-slide-toggle-disabled-selected-handle-color: white;--mat-slide-toggle-disabled-selected-track-color: white;--mat-slide-toggle-disabled-unselected-handle-color: white;--mat-slide-toggle-disabled-unselected-icon-color: #4a4a4a;--mat-slide-toggle-disabled-unselected-track-color: white;--mat-slide-toggle-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-slide-toggle-handle-surface-color: #424242;--mat-slide-toggle-label-text-color: white;--mat-slide-toggle-unselected-hover-handle-color: white;--mat-slide-toggle-unselected-focus-handle-color: white;--mat-slide-toggle-unselected-focus-state-layer-color: white;--mat-slide-toggle-unselected-focus-track-color: rgba(255, 255, 255, .12);--mat-slide-toggle-unselected-icon-color: #4a4a4a;--mat-slide-toggle-unselected-handle-color: rgba(255, 255, 255, .7);--mat-slide-toggle-unselected-hover-state-layer-color: white;--mat-slide-toggle-unselected-hover-track-color: rgba(255, 255, 255, .12);--mat-slide-toggle-unselected-pressed-handle-color: white;--mat-slide-toggle-unselected-pressed-track-color: rgba(255, 255, 255, .12);--mat-slide-toggle-unselected-pressed-state-layer-color: white;--mat-slide-toggle-unselected-track-color: rgba(255, 255, 255, .12)}.dark-theme .mat-mdc-slide-toggle.mat-accent{--mat-slide-toggle-selected-icon-color: rgba(0, 0, 0, .87);--mat-slide-toggle-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-slide-toggle-selected-focus-state-layer-color: #40c4ff;--mat-slide-toggle-selected-handle-color: #40c4ff;--mat-slide-toggle-selected-hover-state-layer-color: #40c4ff;--mat-slide-toggle-selected-pressed-state-layer-color: #40c4ff;--mat-slide-toggle-selected-focus-handle-color: #40c4ff;--mat-slide-toggle-selected-hover-handle-color: #40c4ff;--mat-slide-toggle-selected-pressed-handle-color: #40c4ff;--mat-slide-toggle-selected-focus-track-color: #039be5;--mat-slide-toggle-selected-hover-track-color: #039be5;--mat-slide-toggle-selected-pressed-track-color: #039be5;--mat-slide-toggle-selected-track-color: #039be5}.dark-theme .mat-mdc-slide-toggle.mat-warn{--mat-slide-toggle-selected-icon-color: white;--mat-slide-toggle-disabled-selected-icon-color: white;--mat-slide-toggle-selected-focus-state-layer-color: #f44336;--mat-slide-toggle-selected-handle-color: #f44336;--mat-slide-toggle-selected-hover-state-layer-color: #f44336;--mat-slide-toggle-selected-pressed-state-layer-color: #f44336;--mat-slide-toggle-selected-focus-handle-color: #f44336;--mat-slide-toggle-selected-hover-handle-color: #f44336;--mat-slide-toggle-selected-pressed-handle-color: #f44336;--mat-slide-toggle-selected-focus-track-color: #e53935;--mat-slide-toggle-selected-hover-track-color: #e53935;--mat-slide-toggle-selected-pressed-track-color: #e53935;--mat-slide-toggle-selected-track-color: #e53935}.dark-theme .mat-mdc-radio-button.mat-primary{--mat-radio-checked-ripple-color: #1976d2;--mat-radio-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-radio-disabled-selected-icon-color: white;--mat-radio-disabled-unselected-icon-color: white;--mat-radio-label-text-color: white;--mat-radio-ripple-color: white;--mat-radio-selected-focus-icon-color: #1976d2;--mat-radio-selected-hover-icon-color: #1976d2;--mat-radio-selected-icon-color: #1976d2;--mat-radio-selected-pressed-icon-color: #1976d2;--mat-radio-unselected-focus-icon-color: white;--mat-radio-unselected-hover-icon-color: white;--mat-radio-unselected-icon-color: rgba(255, 255, 255, .7);--mat-radio-unselected-pressed-icon-color: white}.dark-theme .mat-mdc-radio-button.mat-accent{--mat-radio-checked-ripple-color: #40c4ff;--mat-radio-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-radio-disabled-selected-icon-color: white;--mat-radio-disabled-unselected-icon-color: white;--mat-radio-label-text-color: white;--mat-radio-ripple-color: white;--mat-radio-selected-focus-icon-color: #40c4ff;--mat-radio-selected-hover-icon-color: #40c4ff;--mat-radio-selected-icon-color: #40c4ff;--mat-radio-selected-pressed-icon-color: #40c4ff;--mat-radio-unselected-focus-icon-color: white;--mat-radio-unselected-hover-icon-color: white;--mat-radio-unselected-icon-color: rgba(255, 255, 255, .7);--mat-radio-unselected-pressed-icon-color: white}.dark-theme .mat-mdc-radio-button.mat-warn{--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-radio-disabled-selected-icon-color: white;--mat-radio-disabled-unselected-icon-color: white;--mat-radio-label-text-color: white;--mat-radio-ripple-color: white;--mat-radio-selected-focus-icon-color: #f44336;--mat-radio-selected-hover-icon-color: #f44336;--mat-radio-selected-icon-color: #f44336;--mat-radio-selected-pressed-icon-color: #f44336;--mat-radio-unselected-focus-icon-color: white;--mat-radio-unselected-hover-icon-color: white;--mat-radio-unselected-icon-color: rgba(255, 255, 255, .7);--mat-radio-unselected-pressed-icon-color: white}.dark-theme{--mat-slider-active-track-color: #1976d2;--mat-slider-focus-handle-color: #1976d2;--mat-slider-handle-color: #1976d2;--mat-slider-hover-handle-color: #1976d2;--mat-slider-focus-state-layer-color: color-mix(in srgb, #1976d2 12%, transparent);--mat-slider-hover-state-layer-color: color-mix(in srgb, #1976d2 4%, transparent);--mat-slider-inactive-track-color: #1976d2;--mat-slider-ripple-color: #1976d2;--mat-slider-with-tick-marks-active-container-color: white;--mat-slider-with-tick-marks-inactive-container-color: #1976d2;--mat-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-slider-disabled-active-track-color: white;--mat-slider-disabled-handle-color: white;--mat-slider-disabled-inactive-track-color: white;--mat-slider-label-container-color: white;--mat-slider-label-label-text-color: rgba(0, 0, 0, .87);--mat-slider-value-indicator-opacity: 1;--mat-slider-with-overlap-handle-outline-color: white;--mat-slider-with-tick-marks-disabled-container-color: white}.dark-theme .mat-accent{--mat-slider-active-track-color: #40c4ff;--mat-slider-focus-handle-color: #40c4ff;--mat-slider-handle-color: #40c4ff;--mat-slider-hover-handle-color: #40c4ff;--mat-slider-focus-state-layer-color: color-mix(in srgb, #40c4ff 12%, transparent);--mat-slider-hover-state-layer-color: color-mix(in srgb, #40c4ff 4%, transparent);--mat-slider-inactive-track-color: #40c4ff;--mat-slider-ripple-color: #40c4ff;--mat-slider-with-tick-marks-active-container-color: rgba(0, 0, 0, .87);--mat-slider-with-tick-marks-inactive-container-color: #40c4ff}.dark-theme .mat-warn{--mat-slider-active-track-color: #f44336;--mat-slider-focus-handle-color: #f44336;--mat-slider-handle-color: #f44336;--mat-slider-hover-handle-color: #f44336;--mat-slider-focus-state-layer-color: color-mix(in srgb, #f44336 12%, transparent);--mat-slider-hover-state-layer-color: color-mix(in srgb, #f44336 4%, transparent);--mat-slider-inactive-track-color: #f44336;--mat-slider-ripple-color: #f44336;--mat-slider-with-tick-marks-active-container-color: white;--mat-slider-with-tick-marks-inactive-container-color: #f44336}.dark-theme{--mat-menu-item-label-text-color: white;--mat-menu-item-icon-color: white;--mat-menu-item-hover-state-layer-color: color-mix(in srgb, white 4%, transparent);--mat-menu-item-focus-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-menu-container-color: #424242;--mat-menu-divider-color: rgba(255, 255, 255, .12);--mat-list-active-indicator-color: transparent;--mat-list-list-item-container-color: transparent;--mat-list-list-item-selected-container-color: transparent;--mat-list-list-item-leading-avatar-color: transparent;--mat-list-list-item-disabled-state-layer-color: transparent;--mat-list-list-item-label-text-color: white;--mat-list-list-item-supporting-text-color: rgba(255, 255, 255, .7);--mat-list-list-item-leading-icon-color: rgba(255, 255, 255, .7);--mat-list-list-item-trailing-supporting-text-color: rgba(255, 255, 255, .7);--mat-list-list-item-trailing-icon-color: rgba(255, 255, 255, .7);--mat-list-list-item-selected-trailing-icon-color: rgba(255, 255, 255, .7);--mat-list-list-item-disabled-label-text-color: white;--mat-list-list-item-disabled-leading-icon-color: white;--mat-list-list-item-disabled-trailing-icon-color: white;--mat-list-list-item-hover-label-text-color: white;--mat-list-list-item-hover-leading-icon-color: rgba(255, 255, 255, .7);--mat-list-list-item-hover-state-layer-color: white;--mat-list-list-item-hover-state-layer-opacity: .04;--mat-list-list-item-hover-trailing-icon-color: rgba(255, 255, 255, .7);--mat-list-list-item-focus-label-text-color: white;--mat-list-list-item-focus-state-layer-color: white;--mat-list-list-item-focus-state-layer-opacity: .12}.dark-theme .mdc-list-item__start,.dark-theme .mdc-list-item__end{--mat-radio-checked-ripple-color: #1976d2;--mat-radio-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-radio-disabled-selected-icon-color: white;--mat-radio-disabled-unselected-icon-color: white;--mat-radio-label-text-color: white;--mat-radio-ripple-color: white;--mat-radio-selected-focus-icon-color: #1976d2;--mat-radio-selected-hover-icon-color: #1976d2;--mat-radio-selected-icon-color: #1976d2;--mat-radio-selected-pressed-icon-color: #1976d2;--mat-radio-unselected-focus-icon-color: white;--mat-radio-unselected-hover-icon-color: white;--mat-radio-unselected-icon-color: rgba(255, 255, 255, .7);--mat-radio-unselected-pressed-icon-color: white}.dark-theme .mat-accent .mdc-list-item__start,.dark-theme .mat-accent .mdc-list-item__end{--mat-radio-checked-ripple-color: #40c4ff;--mat-radio-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-radio-disabled-selected-icon-color: white;--mat-radio-disabled-unselected-icon-color: white;--mat-radio-label-text-color: white;--mat-radio-ripple-color: white;--mat-radio-selected-focus-icon-color: #40c4ff;--mat-radio-selected-hover-icon-color: #40c4ff;--mat-radio-selected-icon-color: #40c4ff;--mat-radio-selected-pressed-icon-color: #40c4ff;--mat-radio-unselected-focus-icon-color: white;--mat-radio-unselected-hover-icon-color: white;--mat-radio-unselected-icon-color: rgba(255, 255, 255, .7);--mat-radio-unselected-pressed-icon-color: white}.dark-theme .mat-warn .mdc-list-item__start,.dark-theme .mat-warn .mdc-list-item__end{--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-radio-disabled-selected-icon-color: white;--mat-radio-disabled-unselected-icon-color: white;--mat-radio-label-text-color: white;--mat-radio-ripple-color: white;--mat-radio-selected-focus-icon-color: #f44336;--mat-radio-selected-hover-icon-color: #f44336;--mat-radio-selected-icon-color: #f44336;--mat-radio-selected-pressed-icon-color: #f44336;--mat-radio-unselected-focus-icon-color: white;--mat-radio-unselected-hover-icon-color: white;--mat-radio-unselected-icon-color: rgba(255, 255, 255, .7);--mat-radio-unselected-pressed-icon-color: white}.dark-theme .mat-mdc-list-option{--mat-checkbox-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-label-text-color: white;--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #1976d2;--mat-checkbox-selected-hover-icon-color: #1976d2;--mat-checkbox-selected-icon-color: #1976d2;--mat-checkbox-selected-pressed-icon-color: #1976d2;--mat-checkbox-unselected-focus-icon-color: white;--mat-checkbox-unselected-hover-icon-color: white;--mat-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-checkbox-selected-focus-state-layer-color: #1976d2;--mat-checkbox-selected-hover-state-layer-color: #1976d2;--mat-checkbox-selected-pressed-state-layer-color: #1976d2;--mat-checkbox-unselected-focus-state-layer-color: white;--mat-checkbox-unselected-hover-state-layer-color: white;--mat-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-option.mat-accent{--mat-checkbox-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-label-text-color: white;--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-selected-checkmark-color: rgba(0, 0, 0, .87);--mat-checkbox-selected-focus-icon-color: #40c4ff;--mat-checkbox-selected-hover-icon-color: #40c4ff;--mat-checkbox-selected-icon-color: #40c4ff;--mat-checkbox-selected-pressed-icon-color: #40c4ff;--mat-checkbox-unselected-focus-icon-color: white;--mat-checkbox-unselected-hover-icon-color: white;--mat-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-checkbox-selected-focus-state-layer-color: #40c4ff;--mat-checkbox-selected-hover-state-layer-color: #40c4ff;--mat-checkbox-selected-pressed-state-layer-color: #40c4ff;--mat-checkbox-unselected-focus-state-layer-color: white;--mat-checkbox-unselected-hover-state-layer-color: white;--mat-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-option.mat-warn{--mat-checkbox-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-label-text-color: white;--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #f44336;--mat-checkbox-selected-hover-icon-color: #f44336;--mat-checkbox-selected-icon-color: #f44336;--mat-checkbox-selected-pressed-icon-color: #f44336;--mat-checkbox-unselected-focus-icon-color: white;--mat-checkbox-unselected-hover-icon-color: white;--mat-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-checkbox-selected-focus-state-layer-color: #f44336;--mat-checkbox-selected-hover-state-layer-color: #f44336;--mat-checkbox-selected-pressed-state-layer-color: #f44336;--mat-checkbox-unselected-focus-state-layer-color: white;--mat-checkbox-unselected-hover-state-layer-color: white;--mat-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__start,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__start{color:#1976d2}.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}.dark-theme{--mat-paginator-container-text-color: white;--mat-paginator-container-background-color: #424242;--mat-paginator-enabled-icon-color: rgba(255, 255, 255, .7);--mat-paginator-disabled-icon-color: color-mix(in srgb, white 38%, transparent)}.dark-theme .mat-mdc-tab-group,.dark-theme .mat-mdc-tab-nav-bar{--mat-tab-disabled-ripple-color: rgba(255, 255, 255, .7);--mat-tab-pagination-icon-color: white;--mat-tab-inactive-label-text-color: rgba(255, 255, 255, .7);--mat-tab-active-label-text-color: #1976d2;--mat-tab-active-ripple-color: #1976d2;--mat-tab-inactive-ripple-color: #1976d2;--mat-tab-inactive-focus-label-text-color: rgba(255, 255, 255, .7);--mat-tab-inactive-hover-label-text-color: rgba(255, 255, 255, .7);--mat-tab-active-focus-label-text-color: #1976d2;--mat-tab-active-hover-label-text-color: #1976d2;--mat-tab-active-focus-indicator-color: #1976d2;--mat-tab-active-hover-indicator-color: #1976d2;--mat-tab-active-indicator-color: #1976d2}.dark-theme .mat-mdc-tab-group.mat-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-accent{--mat-tab-disabled-ripple-color: rgba(255, 255, 255, .7);--mat-tab-pagination-icon-color: white;--mat-tab-inactive-label-text-color: rgba(255, 255, 255, .7);--mat-tab-active-label-text-color: #40c4ff;--mat-tab-active-ripple-color: #40c4ff;--mat-tab-inactive-ripple-color: #40c4ff;--mat-tab-inactive-focus-label-text-color: rgba(255, 255, 255, .7);--mat-tab-inactive-hover-label-text-color: rgba(255, 255, 255, .7);--mat-tab-active-focus-label-text-color: #40c4ff;--mat-tab-active-hover-label-text-color: #40c4ff;--mat-tab-active-focus-indicator-color: #40c4ff;--mat-tab-active-hover-indicator-color: #40c4ff;--mat-tab-active-indicator-color: #40c4ff}.dark-theme .mat-mdc-tab-group.mat-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-warn{--mat-tab-disabled-ripple-color: rgba(255, 255, 255, .7);--mat-tab-pagination-icon-color: white;--mat-tab-inactive-label-text-color: rgba(255, 255, 255, .7);--mat-tab-active-label-text-color: #f44336;--mat-tab-active-ripple-color: #f44336;--mat-tab-inactive-ripple-color: #f44336;--mat-tab-inactive-focus-label-text-color: rgba(255, 255, 255, .7);--mat-tab-inactive-hover-label-text-color: rgba(255, 255, 255, .7);--mat-tab-active-focus-label-text-color: #f44336;--mat-tab-active-hover-label-text-color: #f44336;--mat-tab-active-focus-indicator-color: #f44336;--mat-tab-active-hover-indicator-color: #f44336;--mat-tab-active-indicator-color: #f44336}.dark-theme .mat-mdc-tab-group.mat-background-primary,.dark-theme .mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-background-color: #1976d2;--mat-tab-foreground-color: white}.dark-theme .mat-mdc-tab-group.mat-background-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-background-color: #40c4ff;--mat-tab-foreground-color: rgba(0, 0, 0, .87)}.dark-theme .mat-mdc-tab-group.mat-background-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-background-color: #f44336;--mat-tab-foreground-color: white}.dark-theme{--mat-checkbox-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-label-text-color: white;--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-selected-checkmark-color: rgba(0, 0, 0, .87);--mat-checkbox-selected-focus-icon-color: #40c4ff;--mat-checkbox-selected-hover-icon-color: #40c4ff;--mat-checkbox-selected-icon-color: #40c4ff;--mat-checkbox-selected-pressed-icon-color: #40c4ff;--mat-checkbox-unselected-focus-icon-color: white;--mat-checkbox-unselected-hover-icon-color: white;--mat-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-checkbox-selected-focus-state-layer-color: #40c4ff;--mat-checkbox-selected-hover-state-layer-color: #40c4ff;--mat-checkbox-selected-pressed-state-layer-color: #40c4ff;--mat-checkbox-unselected-focus-state-layer-color: white;--mat-checkbox-unselected-hover-state-layer-color: white;--mat-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-checkbox.mat-primary{--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #1976d2;--mat-checkbox-selected-hover-icon-color: #1976d2;--mat-checkbox-selected-icon-color: #1976d2;--mat-checkbox-selected-pressed-icon-color: #1976d2;--mat-checkbox-unselected-focus-icon-color: white;--mat-checkbox-unselected-hover-icon-color: white;--mat-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-checkbox-selected-focus-state-layer-color: #1976d2;--mat-checkbox-selected-hover-state-layer-color: #1976d2;--mat-checkbox-selected-pressed-state-layer-color: #1976d2;--mat-checkbox-unselected-focus-state-layer-color: white;--mat-checkbox-unselected-hover-state-layer-color: white;--mat-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-checkbox.mat-warn{--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #f44336;--mat-checkbox-selected-hover-icon-color: #f44336;--mat-checkbox-selected-icon-color: #f44336;--mat-checkbox-selected-pressed-icon-color: #f44336;--mat-checkbox-unselected-focus-icon-color: white;--mat-checkbox-unselected-hover-icon-color: white;--mat-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-checkbox-selected-focus-state-layer-color: #f44336;--mat-checkbox-selected-hover-state-layer-color: #f44336;--mat-checkbox-selected-pressed-state-layer-color: #f44336;--mat-checkbox-unselected-focus-state-layer-color: white;--mat-checkbox-unselected-hover-state-layer-color: white;--mat-checkbox-unselected-pressed-state-layer-color: white}.dark-theme{--mat-button-filled-container-color: #424242;--mat-button-filled-disabled-container-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-filled-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-button-filled-focus-state-layer-opacity: .12;--mat-button-filled-hover-state-layer-opacity: .04;--mat-button-filled-label-text-color: white;--mat-button-filled-pressed-state-layer-opacity: .12;--mat-button-filled-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-state-layer-color: white;--mat-button-outlined-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-outlined-disabled-outline-color: rgba(255, 255, 255, .12);--mat-button-outlined-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-button-outlined-focus-state-layer-opacity: .12;--mat-button-outlined-hover-state-layer-opacity: .04;--mat-button-outlined-label-text-color: white;--mat-button-outlined-outline-color: rgba(255, 255, 255, .12);--mat-button-outlined-pressed-state-layer-opacity: .12;--mat-button-outlined-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-outlined-state-layer-color: white;--mat-button-protected-container-color: #424242;--mat-button-protected-disabled-container-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-protected-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-button-protected-focus-state-layer-opacity: .12;--mat-button-protected-hover-state-layer-opacity: .04;--mat-button-protected-label-text-color: white;--mat-button-protected-pressed-state-layer-opacity: .12;--mat-button-protected-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-state-layer-color: white;--mat-button-text-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-text-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-button-text-focus-state-layer-opacity: .12;--mat-button-text-hover-state-layer-opacity: .04;--mat-button-text-label-text-color: white;--mat-button-text-pressed-state-layer-opacity: .12;--mat-button-text-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-text-state-layer-color: white;--mat-button-tonal-container-color: #424242;--mat-button-tonal-disabled-container-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-tonal-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-button-tonal-focus-state-layer-opacity: .12;--mat-button-tonal-hover-state-layer-opacity: .04;--mat-button-tonal-label-text-color: white;--mat-button-tonal-pressed-state-layer-opacity: .12;--mat-button-tonal-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-state-layer-color: white}.dark-theme .mat-mdc-button.mat-primary,.dark-theme .mat-mdc-unelevated-button.mat-primary,.dark-theme .mat-mdc-raised-button.mat-primary,.dark-theme .mat-mdc-outlined-button.mat-primary,.dark-theme .mat-tonal-button.mat-primary{--mat-button-filled-container-color: #1976d2;--mat-button-filled-label-text-color: white;--mat-button-filled-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-state-layer-color: white;--mat-button-outlined-label-text-color: #1976d2;--mat-button-outlined-outline-color: rgba(255, 255, 255, .12);--mat-button-outlined-ripple-color: color-mix(in srgb, #1976d2 12%, transparent);--mat-button-outlined-state-layer-color: #1976d2;--mat-button-protected-container-color: #1976d2;--mat-button-protected-label-text-color: white;--mat-button-protected-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-state-layer-color: white;--mat-button-text-label-text-color: #1976d2;--mat-button-text-ripple-color: color-mix(in srgb, #1976d2 12%, transparent);--mat-button-text-state-layer-color: #1976d2;--mat-button-tonal-container-color: #1976d2;--mat-button-tonal-label-text-color: white;--mat-button-tonal-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-state-layer-color: white}.dark-theme .mat-mdc-button.mat-accent,.dark-theme .mat-mdc-unelevated-button.mat-accent,.dark-theme .mat-mdc-raised-button.mat-accent,.dark-theme .mat-mdc-outlined-button.mat-accent,.dark-theme .mat-tonal-button.mat-accent{--mat-button-filled-container-color: #40c4ff;--mat-button-filled-label-text-color: rgba(0, 0, 0, .87);--mat-button-filled-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-filled-state-layer-color: rgba(0, 0, 0, .87);--mat-button-outlined-label-text-color: #40c4ff;--mat-button-outlined-outline-color: rgba(255, 255, 255, .12);--mat-button-outlined-ripple-color: color-mix(in srgb, #40c4ff 12%, transparent);--mat-button-outlined-state-layer-color: #40c4ff;--mat-button-protected-container-color: #40c4ff;--mat-button-protected-label-text-color: rgba(0, 0, 0, .87);--mat-button-protected-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-protected-state-layer-color: rgba(0, 0, 0, .87);--mat-button-text-label-text-color: #40c4ff;--mat-button-text-ripple-color: color-mix(in srgb, #40c4ff 12%, transparent);--mat-button-text-state-layer-color: #40c4ff;--mat-button-tonal-container-color: #40c4ff;--mat-button-tonal-label-text-color: rgba(0, 0, 0, .87);--mat-button-tonal-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-tonal-state-layer-color: rgba(0, 0, 0, .87)}.dark-theme .mat-mdc-button.mat-warn,.dark-theme .mat-mdc-unelevated-button.mat-warn,.dark-theme .mat-mdc-raised-button.mat-warn,.dark-theme .mat-mdc-outlined-button.mat-warn,.dark-theme .mat-tonal-button.mat-warn{--mat-button-filled-container-color: #f44336;--mat-button-filled-label-text-color: white;--mat-button-filled-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-state-layer-color: white;--mat-button-outlined-label-text-color: #f44336;--mat-button-outlined-outline-color: rgba(255, 255, 255, .12);--mat-button-outlined-ripple-color: color-mix(in srgb, #f44336 12%, transparent);--mat-button-outlined-state-layer-color: #f44336;--mat-button-protected-container-color: #f44336;--mat-button-protected-label-text-color: white;--mat-button-protected-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-state-layer-color: white;--mat-button-text-label-text-color: #f44336;--mat-button-text-ripple-color: color-mix(in srgb, #f44336 12%, transparent);--mat-button-text-state-layer-color: #f44336;--mat-button-tonal-container-color: #f44336;--mat-button-tonal-label-text-color: white;--mat-button-tonal-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-state-layer-color: white}.dark-theme{--mat-icon-button-disabled-icon-color: color-mix(in srgb, white 38%, transparent);--mat-icon-button-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-hover-state-layer-opacity: .04;--mat-icon-button-icon-color: inherit;--mat-icon-button-pressed-state-layer-opacity: .12;--mat-icon-button-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-icon-button-state-layer-color: white}.dark-theme .mat-mdc-icon-button.mat-primary{--mat-icon-button-icon-color: #1976d2;--mat-icon-button-state-layer-color: #1976d2;--mat-icon-button-ripple-color: color-mix(in srgb, #1976d2 12%, transparent)}.dark-theme .mat-mdc-icon-button.mat-accent{--mat-icon-button-icon-color: #40c4ff;--mat-icon-button-state-layer-color: #40c4ff;--mat-icon-button-ripple-color: color-mix(in srgb, #40c4ff 12%, transparent)}.dark-theme .mat-mdc-icon-button.mat-warn{--mat-icon-button-icon-color: #f44336;--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: color-mix(in srgb, #f44336 12%, transparent)}.dark-theme{--mat-fab-container-color: #424242;--mat-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-fab-extended-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-fab-extended-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-extended-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-extended-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-fab-small-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-small-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-fab-disabled-state-container-color: color-mix(in srgb, white 12%, transparent);--mat-fab-disabled-state-foreground-color: color-mix(in srgb, white 38%, transparent);--mat-fab-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-fab-focus-state-layer-opacity: .12;--mat-fab-foreground-color: white;--mat-fab-hover-state-layer-opacity: .04;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-container-color: #424242;--mat-fab-small-disabled-state-container-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-disabled-state-foreground-color: color-mix(in srgb, white 38%, transparent);--mat-fab-small-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-fab-small-focus-state-layer-opacity: .12;--mat-fab-small-foreground-color: white;--mat-fab-small-hover-state-layer-opacity: .04;--mat-fab-small-pressed-state-layer-opacity: .12;--mat-fab-small-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-state-layer-color: white;--mat-fab-state-layer-color: white}.dark-theme .mat-mdc-fab.mat-primary,.dark-theme .mat-mdc-mini-fab.mat-primary{--mat-fab-container-color: #1976d2;--mat-fab-foreground-color: white;--mat-fab-ripple-color: color-mix(in srgb, #1976d2 12%, transparent);--mat-fab-small-container-color: #1976d2;--mat-fab-small-foreground-color: white;--mat-fab-small-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-state-layer-color: white;--mat-fab-state-layer-color: white}.dark-theme .mat-mdc-fab.mat-accent,.dark-theme .mat-mdc-mini-fab.mat-accent{--mat-fab-container-color: #40c4ff;--mat-fab-foreground-color: rgba(0, 0, 0, .87);--mat-fab-ripple-color: color-mix(in srgb, #40c4ff 12%, transparent);--mat-fab-small-container-color: #40c4ff;--mat-fab-small-foreground-color: rgba(0, 0, 0, .87);--mat-fab-small-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-fab-small-state-layer-color: rgba(0, 0, 0, .87);--mat-fab-state-layer-color: rgba(0, 0, 0, .87)}.dark-theme .mat-mdc-fab.mat-warn,.dark-theme .mat-mdc-mini-fab.mat-warn{--mat-fab-container-color: #f44336;--mat-fab-foreground-color: white;--mat-fab-ripple-color: color-mix(in srgb, #f44336 12%, transparent);--mat-fab-small-container-color: #f44336;--mat-fab-small-foreground-color: white;--mat-fab-small-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-state-layer-color: white;--mat-fab-state-layer-color: white}.dark-theme{--mat-snack-bar-container-color: white;--mat-snack-bar-supporting-text-color: rgba(0, 0, 0, .87);--mat-snack-bar-button-color: #1e88e5;--mat-table-background-color: #424242;--mat-table-header-headline-color: white;--mat-table-row-item-label-text-color: white;--mat-table-row-item-outline-color: rgba(255, 255, 255, .12);--mat-progress-spinner-active-indicator-color: #1976d2}.dark-theme .mat-accent{--mat-progress-spinner-active-indicator-color: #40c4ff}.dark-theme .mat-warn{--mat-progress-spinner-active-indicator-color: #f44336}.dark-theme{--mat-badge-background-color: #1976d2;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: color-mix(in srgb, white 12%, transparent);--mat-badge-disabled-state-text-color: color-mix(in srgb, white 38%, transparent)}.dark-theme .mat-badge-accent{--mat-badge-background-color: #40c4ff;--mat-badge-text-color: rgba(0, 0, 0, .87)}.dark-theme .mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}.dark-theme{--mat-bottom-sheet-container-text-color: white;--mat-bottom-sheet-container-background-color: #424242;--mat-button-toggle-background-color: #424242;--mat-button-toggle-disabled-selected-state-background-color: color-mix(in srgb, white 12%, transparent);--mat-button-toggle-disabled-selected-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-toggle-disabled-state-background-color: #424242;--mat-button-toggle-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-toggle-divider-color: rgba(255, 255, 255, .12);--mat-button-toggle-legacy-disabled-selected-state-background-color: color-mix(in srgb, white 12%, transparent);--mat-button-toggle-legacy-disabled-state-background-color: #424242;--mat-button-toggle-legacy-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-toggle-legacy-selected-state-background-color: color-mix(in srgb, white 12%, transparent);--mat-button-toggle-legacy-selected-state-text-color: white;--mat-button-toggle-legacy-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-button-toggle-legacy-text-color: white;--mat-button-toggle-selected-state-background-color: color-mix(in srgb, white 12%, transparent);--mat-button-toggle-selected-state-text-color: white;--mat-button-toggle-state-layer-color: white;--mat-button-toggle-text-color: white;--mat-datepicker-calendar-date-in-range-state-background-color: color-mix(in srgb, #1976d2 20%, transparent);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: color-mix(in srgb, #40c4ff 20%, transparent);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(27.2643896268%, 64.1081593928%, 36.843769766%);--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #1976d2;--mat-datepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #1976d2 38%, transparent);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #1976d2 12%, transparent);--mat-datepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #1976d2 4%, transparent);--mat-datepicker-toggle-active-state-icon-color: #1976d2;--mat-datepicker-toggle-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-body-label-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-period-button-text-color: white;--mat-datepicker-calendar-period-button-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-navigation-button-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-header-divider-color: rgba(255, 255, 255, .12);--mat-datepicker-calendar-header-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-outline-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-disabled-state-outline-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-date-text-color: white;--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(255, 255, 255, .7);--mat-datepicker-range-input-separator-color: white;--mat-datepicker-range-input-disabled-state-separator-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-range-input-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-container-background-color: #424242;--mat-datepicker-calendar-container-text-color: white}.dark-theme .mat-datepicker-content.mat-accent,.dark-theme .mat-datepicker-toggle-active.mat-accent{--mat-datepicker-calendar-date-in-range-state-background-color: color-mix(in srgb, #40c4ff 20%, transparent);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: color-mix(in srgb, #40c4ff 20%, transparent);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(27.2643896268%, 64.1081593928%, 36.843769766%);--mat-datepicker-calendar-date-selected-state-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-selected-state-background-color: #40c4ff;--mat-datepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #40c4ff 38%, transparent);--mat-datepicker-calendar-date-today-selected-state-outline-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #40c4ff 12%, transparent);--mat-datepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #40c4ff 4%, transparent);--mat-datepicker-toggle-active-state-icon-color: #40c4ff;--mat-datepicker-toggle-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-body-label-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-period-button-text-color: white;--mat-datepicker-calendar-period-button-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-navigation-button-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-header-divider-color: rgba(255, 255, 255, .12);--mat-datepicker-calendar-header-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-outline-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-disabled-state-outline-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-date-text-color: white;--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(255, 255, 255, .7);--mat-datepicker-range-input-separator-color: white;--mat-datepicker-range-input-disabled-state-separator-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-range-input-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-container-background-color: #424242;--mat-datepicker-calendar-container-text-color: white}.dark-theme .mat-datepicker-content.mat-warn,.dark-theme .mat-datepicker-toggle-active.mat-warn{--mat-datepicker-calendar-date-in-range-state-background-color: color-mix(in srgb, #f44336 20%, transparent);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: color-mix(in srgb, #40c4ff 20%, transparent);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(27.2643896268%, 64.1081593928%, 36.843769766%);--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #f44336 38%, transparent);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #f44336 12%, transparent);--mat-datepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #f44336 4%, transparent);--mat-datepicker-toggle-active-state-icon-color: #f44336;--mat-datepicker-toggle-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-body-label-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-period-button-text-color: white;--mat-datepicker-calendar-period-button-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-navigation-button-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-header-divider-color: rgba(255, 255, 255, .12);--mat-datepicker-calendar-header-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-outline-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-disabled-state-outline-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-date-text-color: white;--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(255, 255, 255, .7);--mat-datepicker-range-input-separator-color: white;--mat-datepicker-range-input-disabled-state-separator-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-range-input-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-container-background-color: #424242;--mat-datepicker-calendar-container-text-color: white}.dark-theme{--mat-divider-color: rgba(255, 255, 255, .12);--mat-expansion-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-expansion-container-background-color: #424242;--mat-expansion-container-text-color: white;--mat-expansion-actions-divider-color: rgba(255, 255, 255, .12);--mat-expansion-header-hover-state-layer-color: color-mix(in srgb, white 4%, transparent);--mat-expansion-header-focus-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-expansion-header-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-expansion-header-text-color: white;--mat-expansion-header-description-color: rgba(255, 255, 255, .7);--mat-expansion-header-indicator-color: rgba(255, 255, 255, .7);--mat-icon-color: inherit}.dark-theme .mat-icon.mat-primary{--mat-icon-color: #1976d2}.dark-theme .mat-icon.mat-accent{--mat-icon-color: #40c4ff}.dark-theme .mat-icon.mat-warn{--mat-icon-color: #f44336}.dark-theme{--mat-sidenav-container-elevation-shadow: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-sidenav-container-divider-color: rgba(255, 255, 255, .12);--mat-sidenav-container-background-color: #424242;--mat-sidenav-container-text-color: white;--mat-sidenav-content-background-color: #303030;--mat-sidenav-content-text-color: white;--mat-sidenav-scrim-color: rgba(255, 255, 255, .6);--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #1976d2;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #1976d2;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #1976d2;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: #424242;--mat-stepper-line-color: rgba(255, 255, 255, .12);--mat-stepper-header-hover-state-layer-color: color-mix(in srgb, white 4%, transparent);--mat-stepper-header-focus-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-stepper-header-label-text-color: rgba(255, 255, 255, .7);--mat-stepper-header-optional-label-text-color: rgba(255, 255, 255, .7);--mat-stepper-header-selected-state-label-text-color: white;--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(255, 255, 255, .7);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}.dark-theme .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: rgba(0, 0, 0, .87);--mat-stepper-header-selected-state-icon-background-color: #40c4ff;--mat-stepper-header-selected-state-icon-foreground-color: rgba(0, 0, 0, .87);--mat-stepper-header-done-state-icon-background-color: #40c4ff;--mat-stepper-header-done-state-icon-foreground-color: rgba(0, 0, 0, .87);--mat-stepper-header-edit-state-icon-background-color: #40c4ff;--mat-stepper-header-edit-state-icon-foreground-color: rgba(0, 0, 0, .87)}.dark-theme .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}.dark-theme{--mat-sort-arrow-color: white;--mat-toolbar-container-background-color: #424242;--mat-toolbar-container-text-color: white}.dark-theme .mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #1976d2;--mat-toolbar-container-text-color: white}.dark-theme .mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #40c4ff;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.dark-theme .mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}.dark-theme{--mat-tree-container-background-color: #424242;--mat-tree-node-text-color: white;--mat-timepicker-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-timepicker-container-background-color: #424242;--bg-surface: #0f111a;--bg-accent: #1e2235;--text-primary: #ffffff;--text-secondary: #9aa0a6;--glass-bg: rgba(16, 25, 45, .4);--tooltip-bg: rgba(16, 25, 45, .96);--glass-hover-bg: rgba(16, 25, 45, .6);--glass-border: rgba(255, 255, 255, .15);--glass-border-strong: rgba(255, 255, 255, .55);--nav-active-bg: rgba(100, 181, 246, .18);--nav-active-fg: #e8f2fe;--nav-active-accent: #64b5f6;--glass-shadow: rgba(0, 0, 0, .45);--bg-button: linear-gradient(135deg, #3f51b5, #1a237e);--glass-header-bg: linear-gradient(135deg, rgba(100, 116, 139, .3), rgba(30, 41, 59, .2))}.dark-theme uds-sidebar .sidebar-link .icon,.dark-theme uds-navbar .context-icon{filter:brightness(0) invert(1)}.card,.detail{background:var(--glass-bg)!important;backdrop-filter:var(--glass-backdrop-filter)!important;-webkit-backdrop-filter:var(--glass-backdrop-filter)!important;border:1px solid var(--glass-border)!important;border-radius:20px!important;box-shadow:0 8px 32px 0 var(--glass-shadow)!important;margin:60px 0 1.5rem!important;overflow:visible!important;color:var(--text-primary)!important;transition:transform .3s ease,box-shadow .3s ease;position:relative}.card:hover,.detail:hover{transform:translateY(-2px);box-shadow:0 12px 48px 0 var(--glass-shadow)!important}.detail{background:transparent!important;border:none!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;margin-top:50px!important}.card-header,.detail>.title{background:linear-gradient(135deg,#ffffff1f,#ffffff0d)!important;backdrop-filter:blur(40px) saturate(210%)!important;-webkit-backdrop-filter:blur(40px) saturate(210%)!important;color:var(--text-primary)!important;position:absolute;top:-42px;left:30px;width:auto;min-width:280px;max-width:calc(100% - 60px);z-index:10;border:1px solid rgba(255,255,255,.3)!important;border-top:1.5px solid rgba(255,255,255,.5)!important;border-left:1.5px solid rgba(255,255,255,.5)!important;box-shadow:0 10px 40px #00000040,inset 0 0 0 1px #ffffff1a!important;padding:8px 18px!important;border-radius:12px!important;font-weight:600;letter-spacing:.5px;text-shadow:0 1px 3px rgba(0,0,0,.2);display:flex!important;flex-direction:column!important;justify-content:center!important;min-height:48px}.card-header.title,.detail>.title.title{flex-direction:row!important;align-items:center!important;gap:12px}.card-header img,.detail>.title img{height:24px!important;width:auto!important;filter:drop-shadow(0 2px 4px rgba(0,0,0,.1));vertical-align:middle}.card-header .material-icons,.detail>.title .material-icons{font-size:24px!important;vertical-align:middle!important;opacity:.9}.card-header .card-title,.detail>.title .card-title{display:flex;align-items:center;gap:10px;font-size:1.1rem;white-space:nowrap}.card-header .card-title img,.detail>.title .card-title img{height:24px;width:auto;filter:drop-shadow(0 2px 4px rgba(0,0,0,.1))}.card-header .card-subtitle,.detail>.title .card-subtitle{display:block;width:100%;font-size:.8rem;opacity:.8;margin-top:-2px;padding-left:34px}.card-title img.header-icon{filter:grayscale(100%) brightness(.8) sepia(100%) hue-rotate(190deg) saturate(500%);opacity:.9}.nav-header>.card-header,.detail>.title{display:none!important}.card:not(.nav-header)>.card-header{position:static!important;top:auto!important;left:auto!important;width:auto!important;min-width:0!important;max-width:none!important;min-height:0!important;z-index:auto!important;margin:1.25rem 1.25rem 0!important;padding:0 0 .75rem!important;background:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:none!important;border-bottom:1px solid var(--glass-border)!important;border-radius:0!important;box-shadow:none!important;text-shadow:none!important}.card:not(.nav-header)>.card-header+.card-content>.header{margin-top:1.25rem!important}.card,.detail{margin-top:20px!important}.mat-mdc-menu-panel{background-color:var(--glass-bg)!important;backdrop-filter:var(--glass-backdrop-filter)!important;-webkit-backdrop-filter:var(--glass-backdrop-filter)!important;border:1px solid var(--glass-border)!important;box-shadow:0 8px 32px 0 var(--glass-shadow)!important;border-radius:16px!important;padding:8px!important}.mat-mdc-menu-item{color:var(--text-primary)!important;border-radius:10px!important;transition:background-color .2s ease,color .2s ease!important}.mat-mdc-menu-item:hover{background-color:var(--glass-hover-bg)!important}.mat-mdc-select-panel{background-color:var(--glass-bg)!important;backdrop-filter:var(--glass-backdrop-filter)!important;-webkit-backdrop-filter:var(--glass-backdrop-filter)!important;border:1px solid var(--glass-border)!important;box-shadow:0 8px 32px 0 var(--glass-shadow)!important;border-radius:16px!important}.mat-mdc-option{color:var(--text-primary)!important}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--glass-hover-bg)!important}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--glass-bg)!important;backdrop-filter:var(--glass-backdrop-filter)!important;-webkit-backdrop-filter:var(--glass-backdrop-filter)!important;border:1px solid var(--glass-border)!important;border-radius:24px!important;box-shadow:0 24px 64px 0 var(--glass-shadow)!important}.mat-mdc-tooltip .mdc-tooltip__surface{background:var(--tooltip-bg)!important;box-shadow:0 4px 16px #00000040!important;backdrop-filter:var(--glass-backdrop-filter)!important;-webkit-backdrop-filter:var(--glass-backdrop-filter)!important;border:1px solid var(--glass-border)!important;color:var(--text-primary)!important;border-radius:8px!important}.mat-mdc-tab-group{border-radius:20px!important;background:transparent!important;overflow:visible!important}.mat-mdc-tab-group .mat-mdc-tab-header{background:var(--glass-header-bg)!important;backdrop-filter:blur(25px) saturate(210%)!important;-webkit-backdrop-filter:blur(25px) saturate(210%)!important;border-bottom:1px solid var(--glass-border)!important;border-radius:20px 20px 0 0!important;padding:10px 16px 0!important;margin-bottom:8px!important}.mat-mdc-tab-group .mat-mdc-tab .mdc-tab__text-label{color:var(--text-primary)!important;opacity:.7!important;font-weight:500!important;transition:color .3s ease,opacity .3s ease!important}.mat-mdc-tab-group .mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--text-primary)!important;opacity:1!important;font-weight:600!important}.mat-mdc-tab-group .mat-mdc-tab:hover:not(.mdc-tab--active) .mdc-tab__text-label{opacity:1!important}.detail .card .mat-mdc-tab-header{padding-top:28px!important}.mat-mdc-raised-button,.mat-mdc-unelevated-button,.mat-mdc-dialog-actions .mat-mdc-button,.mat-actions .mat-mdc-button{background:var(--bg-button)!important;color:#fff!important;border-radius:12px!important;border:1px solid rgba(255,255,255,.25)!important;box-shadow:0 4px 15px var(--glass-shadow)!important;transition:transform .3s cubic-bezier(.4,0,.2,1),box-shadow .3s cubic-bezier(.4,0,.2,1),filter .3s ease!important;font-weight:500!important;letter-spacing:.3px!important;-webkit-backdrop-filter:blur(4px)!important;backdrop-filter:blur(4px)!important}.mat-mdc-raised-button:hover,.mat-mdc-unelevated-button:hover,.mat-mdc-dialog-actions .mat-mdc-button:hover,.mat-actions .mat-mdc-button:hover{transform:translateY(-2px) scale(1.02);box-shadow:0 8px 30px var(--glass-shadow)!important;filter:brightness(1.1)}.mat-mdc-raised-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-dialog-actions .mat-mdc-button .mdc-button__label,.mat-actions .mat-mdc-button .mdc-button__label{text-shadow:0 1px 2px rgba(0,0,0,.1)}.mat-mdc-dialog-actions{padding:16px 24px!important;gap:12px!important}.mat-mdc-slide-toggle.mat-primary{--mdc-switch-selected-focus-state-layer-color: #2196f3;--mdc-switch-selected-handle-color: #2196f3;--mdc-switch-selected-hover-state-layer-color: rgba(33, 150, 243, .1);--mdc-switch-selected-pressed-state-layer-color: rgba(33, 150, 243, .2);--mdc-switch-selected-track-color: rgba(33, 150, 243, .4)}.mat-mdc-slide-toggle.mat-primary .mdc-switch__track{background:#0000001a!important;border:1px solid var(--glass-border)!important}.mat-mdc-slide-toggle.mat-primary.mat-mdc-slide-toggle-checked .mdc-switch__handle{background:#2196f3!important;box-shadow:0 0 10px #2196f380}.mat-mdc-slide-toggle.mat-primary.mat-mdc-slide-toggle-checked .mdc-switch__track{background:#2196f333!important}.dark-theme .mat-mdc-slide-toggle.mat-primary{--mdc-switch-selected-handle-color: #64b5f6;--mdc-switch-selected-track-color: rgba(100, 181, 246, .4)}.dark-theme .mat-mdc-slide-toggle.mat-primary.mat-mdc-slide-toggle-checked .mdc-switch__handle{background:#64b5f6!important;box-shadow:0 0 15px #64b5f699}.dark-theme .mat-mdc-slide-toggle.mat-primary.mat-mdc-slide-toggle-checked .mdc-switch__track{background:#64b5f640!important}.mat-mdc-checkbox.mat-primary{--mdc-checkbox-selected-focus-icon-color: #2196f3;--mdc-checkbox-selected-hover-icon-color: #2196f3;--mdc-checkbox-selected-icon-color: #2196f3;--mdc-checkbox-selected-pressed-icon-color: #2196f3}.dark-theme{scrollbar-color:rgba(255,255,255,.22) transparent;scrollbar-width:thin}.dark-theme *::-webkit-scrollbar{width:10px;height:10px}.dark-theme *::-webkit-scrollbar-track{background:transparent}.dark-theme *::-webkit-scrollbar-thumb{background:#fff3;border-radius:8px;border:2px solid transparent;background-clip:content-box}.dark-theme *::-webkit-scrollbar-thumb:hover{background:#ffffff59;background-clip:content-box} +.uplot,.uplot *,.uplot *:before,.uplot *:after{box-sizing:border-box}.uplot{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5;width:min-content}.u-title{text-align:center;font-size:18px;font-weight:700}.u-wrap{position:relative;-webkit-user-select:none;user-select:none}.u-over,.u-under{position:absolute}.u-under{overflow:hidden}.uplot canvas{display:block;position:relative;width:100%;height:100%}.u-axis{position:absolute}.u-legend{font-size:14px;margin:auto;text-align:center}.u-inline{display:block}.u-inline *{display:inline-block}.u-inline tr{margin-right:16px}.u-legend th{font-weight:600}.u-legend th>*{vertical-align:middle;display:inline-block}.u-legend .u-marker{width:1em;height:1em;margin-right:4px;background-clip:padding-box!important}.u-inline.u-live th:after{content:":";vertical-align:middle}.u-inline:not(.u-live) .u-value{display:none}.u-series>*{padding:4px}.u-series th{cursor:pointer}.u-legend .u-off>*{opacity:.3}.u-select{background:#00000012;position:absolute;pointer-events:none}.u-cursor-x,.u-cursor-y{position:absolute;left:0;top:0;pointer-events:none;will-change:transform}.u-hz .u-cursor-x,.u-vt .u-cursor-y{height:100%;border-right:1px dashed #607D8B}.u-hz .u-cursor-y,.u-vt .u-cursor-x{width:100%;border-bottom:1px dashed #607D8B}.u-cursor-pt{position:absolute;top:0;left:0;border-radius:50%;border:0 solid;pointer-events:none;will-change:transform;background-clip:padding-box!important}.u-axis.u-off,.u-select.u-off,.u-cursor-x.u-off,.u-cursor-y.u-off,.u-cursor-pt.u-off{display:none}.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:var(--mat-app-elevation-shadow-level-0, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow)}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:var(--mat-app-elevation-shadow-level-1, 0px 2px 1px -1px --mat-sys-shadow, 0px 1px 1px 0px --mat-sys-shadow, 0px 1px 3px 0px --mat-sys-shadow)}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:var(--mat-app-elevation-shadow-level-2, 0px 3px 1px -2px --mat-sys-shadow, 0px 2px 2px 0px --mat-sys-shadow, 0px 1px 5px 0px --mat-sys-shadow)}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:var(--mat-app-elevation-shadow-level-3, 0px 3px 3px -2px --mat-sys-shadow, 0px 3px 4px 0px --mat-sys-shadow, 0px 1px 8px 0px --mat-sys-shadow)}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:var(--mat-app-elevation-shadow-level-4, 0px 2px 4px -1px --mat-sys-shadow, 0px 4px 5px 0px --mat-sys-shadow, 0px 1px 10px 0px --mat-sys-shadow)}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:var(--mat-app-elevation-shadow-level-5, 0px 3px 5px -1px --mat-sys-shadow, 0px 5px 8px 0px --mat-sys-shadow, 0px 1px 14px 0px --mat-sys-shadow)}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:var(--mat-app-elevation-shadow-level-6, 0px 3px 5px -1px --mat-sys-shadow, 0px 6px 10px 0px --mat-sys-shadow, 0px 1px 18px 0px --mat-sys-shadow)}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:var(--mat-app-elevation-shadow-level-7, 0px 4px 5px -2px --mat-sys-shadow, 0px 7px 10px 1px --mat-sys-shadow, 0px 2px 16px 1px --mat-sys-shadow)}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:var(--mat-app-elevation-shadow-level-8, 0px 5px 5px -3px --mat-sys-shadow, 0px 8px 10px 1px --mat-sys-shadow, 0px 3px 14px 2px --mat-sys-shadow)}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:var(--mat-app-elevation-shadow-level-9, 0px 5px 6px -3px --mat-sys-shadow, 0px 9px 12px 1px --mat-sys-shadow, 0px 3px 16px 2px --mat-sys-shadow)}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:var(--mat-app-elevation-shadow-level-10, 0px 6px 6px -3px --mat-sys-shadow, 0px 10px 14px 1px --mat-sys-shadow, 0px 4px 18px 3px --mat-sys-shadow)}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:var(--mat-app-elevation-shadow-level-11, 0px 6px 7px -4px --mat-sys-shadow, 0px 11px 15px 1px --mat-sys-shadow, 0px 4px 20px 3px --mat-sys-shadow)}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:var(--mat-app-elevation-shadow-level-12, 0px 7px 8px -4px --mat-sys-shadow, 0px 12px 17px 2px --mat-sys-shadow, 0px 5px 22px 4px --mat-sys-shadow)}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:var(--mat-app-elevation-shadow-level-13, 0px 7px 8px -4px --mat-sys-shadow, 0px 13px 19px 2px --mat-sys-shadow, 0px 5px 24px 4px --mat-sys-shadow)}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:var(--mat-app-elevation-shadow-level-14, 0px 7px 9px -4px --mat-sys-shadow, 0px 14px 21px 2px --mat-sys-shadow, 0px 5px 26px 4px --mat-sys-shadow)}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:var(--mat-app-elevation-shadow-level-15, 0px 8px 9px -5px --mat-sys-shadow, 0px 15px 22px 2px --mat-sys-shadow, 0px 6px 28px 5px --mat-sys-shadow)}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:var(--mat-app-elevation-shadow-level-16, 0px 8px 10px -5px --mat-sys-shadow, 0px 16px 24px 2px --mat-sys-shadow, 0px 6px 30px 5px --mat-sys-shadow)}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:var(--mat-app-elevation-shadow-level-17, 0px 8px 11px -5px --mat-sys-shadow, 0px 17px 26px 2px --mat-sys-shadow, 0px 6px 32px 5px --mat-sys-shadow)}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:var(--mat-app-elevation-shadow-level-18, 0px 9px 11px -5px --mat-sys-shadow, 0px 18px 28px 2px --mat-sys-shadow, 0px 7px 34px 6px --mat-sys-shadow)}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:var(--mat-app-elevation-shadow-level-19, 0px 9px 12px -6px --mat-sys-shadow, 0px 19px 29px 2px --mat-sys-shadow, 0px 7px 36px 6px --mat-sys-shadow)}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:var(--mat-app-elevation-shadow-level-20, 0px 10px 13px -6px --mat-sys-shadow, 0px 20px 31px 3px --mat-sys-shadow, 0px 8px 38px 7px --mat-sys-shadow)}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:var(--mat-app-elevation-shadow-level-21, 0px 10px 13px -6px --mat-sys-shadow, 0px 21px 33px 3px --mat-sys-shadow, 0px 8px 40px 7px --mat-sys-shadow)}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:var(--mat-app-elevation-shadow-level-22, 0px 10px 14px -6px --mat-sys-shadow, 0px 22px 35px 3px --mat-sys-shadow, 0px 8px 42px 7px --mat-sys-shadow)}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:var(--mat-app-elevation-shadow-level-23, 0px 11px 14px -7px --mat-sys-shadow, 0px 23px 36px 3px --mat-sys-shadow, 0px 9px 44px 8px --mat-sys-shadow)}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:var(--mat-app-elevation-shadow-level-24, 0px 11px 15px -7px --mat-sys-shadow, 0px 24px 38px 3px --mat-sys-shadow, 0px 9px 46px 8px --mat-sys-shadow)}html{--mat-sys-on-surface: initial}.mat-app-background{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}html{--mat-app-background-color: #fafafa;--mat-app-text-color: rgba(0, 0, 0, .87);--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}html{--mat-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent)}html{--mat-option-selected-state-label-text-color: #1976d2;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-option-focus-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-option-selected-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent)}.mat-accent{--mat-option-selected-state-label-text-color: #40c4ff;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-option-focus-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-option-selected-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent)}.mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-option-focus-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-option-selected-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent)}html{--mat-optgroup-label-text-color: rgba(0, 0, 0, .87)}html{--mat-pseudo-checkbox-full-selected-icon-color: #40c4ff;--mat-pseudo-checkbox-full-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(0, 0, 0, .54);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #40c4ff;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent)}.mat-primary{--mat-pseudo-checkbox-full-selected-icon-color: #1976d2;--mat-pseudo-checkbox-full-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(0, 0, 0, .54);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #1976d2;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent)}.mat-accent{--mat-pseudo-checkbox-full-selected-icon-color: #40c4ff;--mat-pseudo-checkbox-full-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(0, 0, 0, .54);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #40c4ff;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent)}.mat-warn{--mat-pseudo-checkbox-full-selected-icon-color: #f44336;--mat-pseudo-checkbox-full-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(0, 0, 0, .54);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #fafafa;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #f44336;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent)}html{--mat-option-label-text-font: Roboto, sans-serif;--mat-option-label-text-line-height: 24px;--mat-option-label-text-size: 16px;--mat-option-label-text-tracking: .03125em;--mat-option-label-text-weight: 400}html{--mat-optgroup-label-text-font: Roboto, sans-serif;--mat-optgroup-label-text-line-height: 24px;--mat-optgroup-label-text-size: 16px;--mat-optgroup-label-text-tracking: .03125em;--mat-optgroup-label-text-weight: 400}html{--mat-card-elevated-container-shape: 4px;--mat-card-outlined-container-shape: 4px;--mat-card-filled-container-shape: 4px;--mat-card-outlined-outline-width: 1px}html{--mat-card-elevated-container-color: white;--mat-card-elevated-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-card-outlined-container-color: white;--mat-card-outlined-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-outlined-outline-color: rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: rgba(0, 0, 0, .54);--mat-card-filled-container-color: white;--mat-card-filled-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12)}html{--mat-card-title-text-font: Roboto, sans-serif;--mat-card-title-text-line-height: 32px;--mat-card-title-text-size: 20px;--mat-card-title-text-tracking: .0125em;--mat-card-title-text-weight: 500;--mat-card-subtitle-text-font: Roboto, sans-serif;--mat-card-subtitle-text-line-height: 22px;--mat-card-subtitle-text-size: 14px;--mat-card-subtitle-text-tracking: .0071428571em;--mat-card-subtitle-text-weight: 500}html{--mat-progress-bar-active-indicator-height: 4px;--mat-progress-bar-track-height: 4px;--mat-progress-bar-track-shape: 0}.mat-mdc-progress-bar{--mat-progress-bar-active-indicator-color: #1976d2;--mat-progress-bar-track-color: rgba(25, 118, 210, .25)}.mat-mdc-progress-bar.mat-accent{--mat-progress-bar-active-indicator-color: #40c4ff;--mat-progress-bar-track-color: rgba(64, 196, 255, .25)}.mat-mdc-progress-bar.mat-warn{--mat-progress-bar-active-indicator-color: #f44336;--mat-progress-bar-track-color: rgba(244, 67, 54, .25)}html{--mat-tooltip-container-shape: 4px;--mat-tooltip-supporting-text-line-height: 16px}html{--mat-tooltip-container-color: #424242;--mat-tooltip-supporting-text-color: white}html{--mat-tooltip-supporting-text-font: Roboto, sans-serif;--mat-tooltip-supporting-text-size: 12px;--mat-tooltip-supporting-text-weight: 400;--mat-tooltip-supporting-text-tracking: .0333333333em}html{--mat-form-field-filled-active-indicator-height: 1px;--mat-form-field-filled-focus-active-indicator-height: 2px;--mat-form-field-filled-container-shape: 4px;--mat-form-field-outlined-outline-width: 1px;--mat-form-field-outlined-focus-outline-width: 2px;--mat-form-field-outlined-container-shape: 4px}html{--mat-form-field-focus-select-arrow-color: color-mix(in srgb, #1976d2 87%, transparent);--mat-form-field-filled-caret-color: #1976d2;--mat-form-field-filled-focus-active-indicator-color: #1976d2;--mat-form-field-filled-focus-label-text-color: color-mix(in srgb, #1976d2 87%, transparent);--mat-form-field-outlined-caret-color: #1976d2;--mat-form-field-outlined-focus-outline-color: #1976d2;--mat-form-field-outlined-focus-label-text-color: color-mix(in srgb, #1976d2 87%, transparent);--mat-form-field-disabled-input-text-placeholder-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-form-field-state-layer-color: rgba(0, 0, 0, .87);--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: inherit;--mat-form-field-select-disabled-option-text-color: GrayText;--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(0, 0, 0, .54);--mat-form-field-disabled-select-arrow-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-form-field-hover-state-layer-opacity: .04;--mat-form-field-focus-state-layer-opacity: .12;--mat-form-field-filled-container-color: #f6f6f6;--mat-form-field-filled-disabled-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-form-field-filled-label-text-color: rgba(0, 0, 0, .54);--mat-form-field-filled-hover-label-text-color: rgba(0, 0, 0, .54);--mat-form-field-filled-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-form-field-filled-input-text-color: rgba(0, 0, 0, .87);--mat-form-field-filled-disabled-input-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-form-field-filled-input-text-placeholder-color: rgba(0, 0, 0, .54);--mat-form-field-filled-error-hover-label-text-color: #f44336;--mat-form-field-filled-error-focus-label-text-color: #f44336;--mat-form-field-filled-error-label-text-color: #f44336;--mat-form-field-filled-error-caret-color: #f44336;--mat-form-field-filled-active-indicator-color: rgba(0, 0, 0, .54);--mat-form-field-filled-disabled-active-indicator-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-form-field-filled-hover-active-indicator-color: rgba(0, 0, 0, .87);--mat-form-field-filled-error-active-indicator-color: #f44336;--mat-form-field-filled-error-focus-active-indicator-color: #f44336;--mat-form-field-filled-error-hover-active-indicator-color: #f44336;--mat-form-field-outlined-label-text-color: rgba(0, 0, 0, .54);--mat-form-field-outlined-hover-label-text-color: rgba(0, 0, 0, .87);--mat-form-field-outlined-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-form-field-outlined-input-text-color: rgba(0, 0, 0, .87);--mat-form-field-outlined-disabled-input-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-form-field-outlined-input-text-placeholder-color: rgba(0, 0, 0, .54);--mat-form-field-outlined-error-caret-color: #f44336;--mat-form-field-outlined-error-focus-label-text-color: #f44336;--mat-form-field-outlined-error-label-text-color: #f44336;--mat-form-field-outlined-error-hover-label-text-color: #f44336;--mat-form-field-outlined-outline-color: rgba(0, 0, 0, .38);--mat-form-field-outlined-disabled-outline-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-form-field-outlined-hover-outline-color: rgba(0, 0, 0, .87);--mat-form-field-outlined-error-focus-outline-color: #f44336;--mat-form-field-outlined-error-hover-outline-color: #f44336;--mat-form-field-outlined-error-outline-color: #f44336}.mat-mdc-form-field.mat-accent{--mat-form-field-focus-select-arrow-color: color-mix(in srgb, #40c4ff 87%, transparent);--mat-form-field-filled-caret-color: #40c4ff;--mat-form-field-filled-focus-active-indicator-color: #40c4ff;--mat-form-field-filled-focus-label-text-color: color-mix(in srgb, #40c4ff 87%, transparent);--mat-form-field-outlined-caret-color: #40c4ff;--mat-form-field-outlined-focus-outline-color: #40c4ff;--mat-form-field-outlined-focus-label-text-color: color-mix(in srgb, #40c4ff 87%, transparent)}.mat-mdc-form-field.mat-warn{--mat-form-field-focus-select-arrow-color: color-mix(in srgb, #f44336 87%, transparent);--mat-form-field-filled-caret-color: #f44336;--mat-form-field-filled-focus-active-indicator-color: #f44336;--mat-form-field-filled-focus-label-text-color: color-mix(in srgb, #f44336 87%, transparent);--mat-form-field-outlined-caret-color: #f44336;--mat-form-field-outlined-focus-outline-color: #f44336;--mat-form-field-outlined-focus-label-text-color: color-mix(in srgb, #f44336 87%, transparent)}html{--mat-form-field-container-height: 56px;--mat-form-field-filled-label-display: block;--mat-form-field-container-vertical-padding: 16px;--mat-form-field-filled-with-label-container-padding-top: 24px;--mat-form-field-filled-with-label-container-padding-bottom: 8px}html{--mat-form-field-container-text-font: Roboto, sans-serif;--mat-form-field-container-text-line-height: 24px;--mat-form-field-container-text-size: 16px;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 16px;--mat-form-field-subscript-text-font: Roboto, sans-serif;--mat-form-field-subscript-text-line-height: 20px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400;--mat-form-field-filled-label-text-font: Roboto, sans-serif;--mat-form-field-filled-label-text-size: 16px;--mat-form-field-filled-label-text-tracking: .03125em;--mat-form-field-filled-label-text-weight: 400;--mat-form-field-outlined-label-text-font: Roboto, sans-serif;--mat-form-field-outlined-label-text-size: 16px;--mat-form-field-outlined-label-text-tracking: .03125em;--mat-form-field-outlined-label-text-weight: 400}html{--mat-select-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-select-placeholder-text-color: rgba(0, 0, 0, .54);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-select-focused-arrow-color: #1976d2;--mat-select-invalid-arrow-color: #f44336}.mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-select-placeholder-text-color: rgba(0, 0, 0, .54);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-select-focused-arrow-color: #40c4ff;--mat-select-invalid-arrow-color: #f44336}.mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-select-placeholder-text-color: rgba(0, 0, 0, .54);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-select-focused-arrow-color: #f44336;--mat-select-invalid-arrow-color: #f44336}html{--mat-select-arrow-transform: translateY(-8px)}html{--mat-select-trigger-text-font: Roboto, sans-serif;--mat-select-trigger-text-line-height: 24px;--mat-select-trigger-text-size: 16px;--mat-select-trigger-text-tracking: .03125em;--mat-select-trigger-text-weight: 400}html{--mat-autocomplete-container-shape: 4px;--mat-autocomplete-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-autocomplete-background-color: white}html{--mat-dialog-container-shape: 4px;--mat-dialog-container-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-dialog-container-max-width: 80vw;--mat-dialog-container-small-max-width: 80vw;--mat-dialog-container-min-width: 0;--mat-dialog-actions-alignment: start;--mat-dialog-actions-padding: 8px;--mat-dialog-content-padding: 20px 24px;--mat-dialog-with-actions-content-padding: 20px 24px;--mat-dialog-headline-padding: 0 24px 9px}html{--mat-dialog-container-color: white;--mat-dialog-subhead-color: rgba(0, 0, 0, .87);--mat-dialog-supporting-text-color: rgba(0, 0, 0, .54)}html{--mat-dialog-subhead-font: Roboto, sans-serif;--mat-dialog-subhead-line-height: 32px;--mat-dialog-subhead-size: 20px;--mat-dialog-subhead-weight: 500;--mat-dialog-subhead-tracking: .0125em;--mat-dialog-supporting-text-font: Roboto, sans-serif;--mat-dialog-supporting-text-line-height: 24px;--mat-dialog-supporting-text-size: 16px;--mat-dialog-supporting-text-weight: 400;--mat-dialog-supporting-text-tracking: .03125em}.mat-mdc-standard-chip{--mat-chip-container-shape-radius: 16px;--mat-chip-disabled-container-opacity: .4;--mat-chip-disabled-outline-color: transparent;--mat-chip-flat-selected-outline-width: 0;--mat-chip-focus-outline-color: transparent;--mat-chip-hover-state-layer-opacity: .04;--mat-chip-outline-color: transparent;--mat-chip-outline-width: 0;--mat-chip-selected-hover-state-layer-opacity: .04;--mat-chip-selected-trailing-action-state-layer-color: transparent;--mat-chip-trailing-action-focus-opacity: 1;--mat-chip-trailing-action-focus-state-layer-opacity: 0;--mat-chip-trailing-action-hover-state-layer-opacity: 0;--mat-chip-trailing-action-opacity: .54;--mat-chip-trailing-action-state-layer-color: transparent;--mat-chip-with-avatar-avatar-shape-radius: 14px;--mat-chip-with-avatar-avatar-size: 28px;--mat-chip-with-avatar-disabled-avatar-opacity: 1;--mat-chip-with-icon-disabled-icon-opacity: 1;--mat-chip-with-icon-icon-size: 18px;--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity: 1}.mat-mdc-standard-chip{--mat-chip-disabled-label-text-color: rgba(0, 0, 0, .87);--mat-chip-elevated-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-chip-elevated-disabled-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-chip-elevated-selected-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-chip-flat-disabled-selected-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-chip-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-label-text-color: rgba(0, 0, 0, .87);--mat-chip-selected-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: rgba(0, 0, 0, .87);--mat-chip-selected-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-icon-disabled-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-icon-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-icon-selected-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-trailing-icon-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-trailing-icon-trailing-icon-color: rgba(0, 0, 0, .87)}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mat-chip-disabled-label-text-color: white;--mat-chip-elevated-container-color: #1976d2;--mat-chip-elevated-disabled-container-color: #1976d2;--mat-chip-elevated-selected-container-color: #1976d2;--mat-chip-flat-disabled-selected-container-color: #1976d2;--mat-chip-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-label-text-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: white;--mat-chip-selected-trailing-icon-color: white;--mat-chip-with-icon-disabled-icon-color: white;--mat-chip-with-icon-icon-color: white;--mat-chip-with-icon-selected-icon-color: white;--mat-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mat-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mat-chip-disabled-label-text-color: rgba(0, 0, 0, .87);--mat-chip-elevated-container-color: #40c4ff;--mat-chip-elevated-disabled-container-color: #40c4ff;--mat-chip-elevated-selected-container-color: #40c4ff;--mat-chip-flat-disabled-selected-container-color: #40c4ff;--mat-chip-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-label-text-color: rgba(0, 0, 0, .87);--mat-chip-selected-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: rgba(0, 0, 0, .87);--mat-chip-selected-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-icon-disabled-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-icon-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-icon-selected-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-trailing-icon-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-trailing-icon-trailing-icon-color: rgba(0, 0, 0, .87)}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mat-chip-disabled-label-text-color: white;--mat-chip-elevated-container-color: #f44336;--mat-chip-elevated-disabled-container-color: #f44336;--mat-chip-elevated-selected-container-color: #f44336;--mat-chip-flat-disabled-selected-container-color: #f44336;--mat-chip-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-chip-label-text-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: white;--mat-chip-selected-trailing-icon-color: white;--mat-chip-with-icon-disabled-icon-color: white;--mat-chip-with-icon-icon-color: white;--mat-chip-with-icon-selected-icon-color: white;--mat-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mat-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-chip.mat-mdc-standard-chip{--mat-chip-container-height: 32px;--mat-chip-touch-target-display: block}.mat-mdc-standard-chip{--mat-chip-label-text-font: Roboto, sans-serif;--mat-chip-label-text-line-height: 20px;--mat-chip-label-text-size: 14px;--mat-chip-label-text-tracking: .0178571429em;--mat-chip-label-text-weight: 400}html{--mat-slide-toggle-disabled-handle-opacity: .38;--mat-slide-toggle-disabled-selected-handle-opacity: .38;--mat-slide-toggle-disabled-selected-icon-opacity: .38;--mat-slide-toggle-disabled-track-opacity: .12;--mat-slide-toggle-disabled-unselected-handle-opacity: .38;--mat-slide-toggle-disabled-unselected-icon-opacity: .38;--mat-slide-toggle-disabled-unselected-track-outline-width: 1px;--mat-slide-toggle-handle-height: 20px;--mat-slide-toggle-handle-shape: 10px;--mat-slide-toggle-handle-width: 20px;--mat-slide-toggle-hidden-track-opacity: 1;--mat-slide-toggle-hidden-track-transition: transform 75ms 0ms cubic-bezier(.4, 0, .6, 1);--mat-slide-toggle-pressed-handle-size: 20px;--mat-slide-toggle-selected-focus-state-layer-opacity: .12;--mat-slide-toggle-selected-handle-horizontal-margin: 0;--mat-slide-toggle-selected-handle-size: 20px;--mat-slide-toggle-selected-hover-state-layer-opacity: .04;--mat-slide-toggle-selected-icon-size: 18px;--mat-slide-toggle-selected-pressed-handle-horizontal-margin: 0;--mat-slide-toggle-selected-pressed-state-layer-opacity: .12;--mat-slide-toggle-selected-track-outline-width: 1px;--mat-slide-toggle-selected-with-icon-handle-horizontal-margin: 0;--mat-slide-toggle-track-height: 14px;--mat-slide-toggle-track-outline-width: 1px;--mat-slide-toggle-track-shape: 7px;--mat-slide-toggle-track-width: 36px;--mat-slide-toggle-unselected-focus-state-layer-opacity: .12;--mat-slide-toggle-unselected-handle-horizontal-margin: 0;--mat-slide-toggle-unselected-handle-size: 20px;--mat-slide-toggle-unselected-hover-state-layer-opacity: .12;--mat-slide-toggle-unselected-icon-size: 18px;--mat-slide-toggle-unselected-pressed-handle-horizontal-margin: 0;--mat-slide-toggle-unselected-pressed-state-layer-opacity: .1;--mat-slide-toggle-unselected-with-icon-handle-horizontal-margin: 0;--mat-slide-toggle-visible-track-opacity: 1;--mat-slide-toggle-visible-track-transition: transform 75ms 0ms cubic-bezier(0, 0, .2, 1);--mat-slide-toggle-with-icon-handle-size: 20px;--mat-slide-toggle-touch-target-size: 48px}html{--mat-slide-toggle-selected-icon-color: white;--mat-slide-toggle-disabled-selected-icon-color: white;--mat-slide-toggle-selected-focus-state-layer-color: #1976d2;--mat-slide-toggle-selected-handle-color: #1976d2;--mat-slide-toggle-selected-hover-state-layer-color: #1976d2;--mat-slide-toggle-selected-pressed-state-layer-color: #1976d2;--mat-slide-toggle-selected-focus-handle-color: #1976d2;--mat-slide-toggle-selected-hover-handle-color: #1976d2;--mat-slide-toggle-selected-pressed-handle-color: #1976d2;--mat-slide-toggle-selected-focus-track-color: #64b5f6;--mat-slide-toggle-selected-hover-track-color: #64b5f6;--mat-slide-toggle-selected-pressed-track-color: #64b5f6;--mat-slide-toggle-selected-track-color: #64b5f6;--mat-slide-toggle-disabled-unselected-track-outline-color: transparent;--mat-slide-toggle-selected-track-outline-color: transparent;--mat-slide-toggle-track-outline-color: transparent;--mat-slide-toggle-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-slide-toggle-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-slide-toggle-disabled-selected-handle-color: rgba(0, 0, 0, .87);--mat-slide-toggle-disabled-selected-track-color: rgba(0, 0, 0, .87);--mat-slide-toggle-disabled-unselected-handle-color: rgba(0, 0, 0, .87);--mat-slide-toggle-disabled-unselected-icon-color: #f6f6f6;--mat-slide-toggle-disabled-unselected-track-color: rgba(0, 0, 0, .87);--mat-slide-toggle-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-slide-toggle-handle-surface-color: white;--mat-slide-toggle-label-text-color: rgba(0, 0, 0, .87);--mat-slide-toggle-unselected-hover-handle-color: #424242;--mat-slide-toggle-unselected-focus-handle-color: #424242;--mat-slide-toggle-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-slide-toggle-unselected-focus-track-color: rgba(0, 0, 0, .12);--mat-slide-toggle-unselected-icon-color: #f6f6f6;--mat-slide-toggle-unselected-handle-color: rgba(0, 0, 0, .54);--mat-slide-toggle-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-slide-toggle-unselected-hover-track-color: rgba(0, 0, 0, .12);--mat-slide-toggle-unselected-pressed-handle-color: #424242;--mat-slide-toggle-unselected-pressed-track-color: rgba(0, 0, 0, .12);--mat-slide-toggle-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87);--mat-slide-toggle-unselected-track-color: rgba(0, 0, 0, .12)}.mat-mdc-slide-toggle.mat-accent{--mat-slide-toggle-selected-icon-color: rgba(0, 0, 0, .87);--mat-slide-toggle-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-slide-toggle-selected-focus-state-layer-color: #40c4ff;--mat-slide-toggle-selected-handle-color: #40c4ff;--mat-slide-toggle-selected-hover-state-layer-color: #40c4ff;--mat-slide-toggle-selected-pressed-state-layer-color: #40c4ff;--mat-slide-toggle-selected-focus-handle-color: #40c4ff;--mat-slide-toggle-selected-hover-handle-color: #40c4ff;--mat-slide-toggle-selected-pressed-handle-color: #40c4ff;--mat-slide-toggle-selected-focus-track-color: #4fc3f7;--mat-slide-toggle-selected-hover-track-color: #4fc3f7;--mat-slide-toggle-selected-pressed-track-color: #4fc3f7;--mat-slide-toggle-selected-track-color: #4fc3f7}.mat-mdc-slide-toggle.mat-warn{--mat-slide-toggle-selected-icon-color: white;--mat-slide-toggle-disabled-selected-icon-color: white;--mat-slide-toggle-selected-focus-state-layer-color: #f44336;--mat-slide-toggle-selected-handle-color: #f44336;--mat-slide-toggle-selected-hover-state-layer-color: #f44336;--mat-slide-toggle-selected-pressed-state-layer-color: #f44336;--mat-slide-toggle-selected-focus-handle-color: #f44336;--mat-slide-toggle-selected-hover-handle-color: #f44336;--mat-slide-toggle-selected-pressed-handle-color: #f44336;--mat-slide-toggle-selected-focus-track-color: #e57373;--mat-slide-toggle-selected-hover-track-color: #e57373;--mat-slide-toggle-selected-pressed-track-color: #e57373;--mat-slide-toggle-selected-track-color: #e57373}html{--mat-slide-toggle-state-layer-size: 40px;--mat-slide-toggle-touch-target-display: block}html,html .mat-mdc-slide-toggle{--mat-slide-toggle-label-text-font: Roboto, sans-serif;--mat-slide-toggle-label-text-line-height: 20px;--mat-slide-toggle-label-text-size: 14px;--mat-slide-toggle-label-text-tracking: .0178571429em;--mat-slide-toggle-label-text-weight: 400}html{--mat-radio-disabled-selected-icon-opacity: .38;--mat-radio-disabled-unselected-icon-opacity: .38;--mat-radio-state-layer-size: 40px;--mat-radio-touch-target-size: 48px}.mat-mdc-radio-button.mat-primary{--mat-radio-checked-ripple-color: #1976d2;--mat-radio-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-radio-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-radio-disabled-unselected-icon-color: rgba(0, 0, 0, .87);--mat-radio-label-text-color: rgba(0, 0, 0, .87);--mat-radio-ripple-color: rgba(0, 0, 0, .87);--mat-radio-selected-focus-icon-color: #1976d2;--mat-radio-selected-hover-icon-color: #1976d2;--mat-radio-selected-icon-color: #1976d2;--mat-radio-selected-pressed-icon-color: #1976d2;--mat-radio-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mat-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .87)}.mat-mdc-radio-button.mat-accent{--mat-radio-checked-ripple-color: #40c4ff;--mat-radio-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-radio-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-radio-disabled-unselected-icon-color: rgba(0, 0, 0, .87);--mat-radio-label-text-color: rgba(0, 0, 0, .87);--mat-radio-ripple-color: rgba(0, 0, 0, .87);--mat-radio-selected-focus-icon-color: #40c4ff;--mat-radio-selected-hover-icon-color: #40c4ff;--mat-radio-selected-icon-color: #40c4ff;--mat-radio-selected-pressed-icon-color: #40c4ff;--mat-radio-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mat-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .87)}.mat-mdc-radio-button.mat-warn{--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-radio-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-radio-disabled-unselected-icon-color: rgba(0, 0, 0, .87);--mat-radio-label-text-color: rgba(0, 0, 0, .87);--mat-radio-ripple-color: rgba(0, 0, 0, .87);--mat-radio-selected-focus-icon-color: #f44336;--mat-radio-selected-hover-icon-color: #f44336;--mat-radio-selected-icon-color: #f44336;--mat-radio-selected-pressed-icon-color: #f44336;--mat-radio-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mat-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .87)}html{--mat-radio-state-layer-size: 40px;--mat-radio-touch-target-display: block}html{--mat-radio-label-text-font: Roboto, sans-serif;--mat-radio-label-text-line-height: 20px;--mat-radio-label-text-size: 14px;--mat-radio-label-text-tracking: .0178571429em;--mat-radio-label-text-weight: 400}html{--mat-slider-active-track-height: 6px;--mat-slider-active-track-shape: 9999px;--mat-slider-handle-height: 20px;--mat-slider-handle-shape: 50%;--mat-slider-handle-width: 20px;--mat-slider-inactive-track-height: 4px;--mat-slider-inactive-track-shape: 9999px;--mat-slider-value-indicator-border-radius: 4px;--mat-slider-value-indicator-caret-display: block;--mat-slider-value-indicator-container-transform: translateX(-50%);--mat-slider-value-indicator-height: 32px;--mat-slider-value-indicator-padding: 0 12px;--mat-slider-value-indicator-text-transform: none;--mat-slider-value-indicator-width: auto;--mat-slider-with-overlap-handle-outline-width: 1px;--mat-slider-with-tick-marks-active-container-opacity: .6;--mat-slider-with-tick-marks-container-shape: 50%;--mat-slider-with-tick-marks-container-size: 2px;--mat-slider-with-tick-marks-inactive-container-opacity: .6;--mat-slider-value-indicator-transform-origin: bottom}html{--mat-slider-active-track-color: #1976d2;--mat-slider-focus-handle-color: #1976d2;--mat-slider-handle-color: #1976d2;--mat-slider-hover-handle-color: #1976d2;--mat-slider-focus-state-layer-color: color-mix(in srgb, #1976d2 12%, transparent);--mat-slider-hover-state-layer-color: color-mix(in srgb, #1976d2 4%, transparent);--mat-slider-inactive-track-color: #1976d2;--mat-slider-ripple-color: #1976d2;--mat-slider-with-tick-marks-active-container-color: white;--mat-slider-with-tick-marks-inactive-container-color: #1976d2;--mat-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-slider-disabled-active-track-color: rgba(0, 0, 0, .87);--mat-slider-disabled-handle-color: rgba(0, 0, 0, .87);--mat-slider-disabled-inactive-track-color: rgba(0, 0, 0, .87);--mat-slider-label-container-color: #424242;--mat-slider-label-label-text-color: white;--mat-slider-value-indicator-opacity: 1;--mat-slider-with-overlap-handle-outline-color: rgba(0, 0, 0, .87);--mat-slider-with-tick-marks-disabled-container-color: rgba(0, 0, 0, .87)}.mat-accent{--mat-slider-active-track-color: #40c4ff;--mat-slider-focus-handle-color: #40c4ff;--mat-slider-handle-color: #40c4ff;--mat-slider-hover-handle-color: #40c4ff;--mat-slider-focus-state-layer-color: color-mix(in srgb, #40c4ff 12%, transparent);--mat-slider-hover-state-layer-color: color-mix(in srgb, #40c4ff 4%, transparent);--mat-slider-inactive-track-color: #40c4ff;--mat-slider-ripple-color: #40c4ff;--mat-slider-with-tick-marks-active-container-color: rgba(0, 0, 0, .87);--mat-slider-with-tick-marks-inactive-container-color: #40c4ff}.mat-warn{--mat-slider-active-track-color: #f44336;--mat-slider-focus-handle-color: #f44336;--mat-slider-handle-color: #f44336;--mat-slider-hover-handle-color: #f44336;--mat-slider-focus-state-layer-color: color-mix(in srgb, #f44336 12%, transparent);--mat-slider-hover-state-layer-color: color-mix(in srgb, #f44336 4%, transparent);--mat-slider-inactive-track-color: #f44336;--mat-slider-ripple-color: #f44336;--mat-slider-with-tick-marks-active-container-color: white;--mat-slider-with-tick-marks-inactive-container-color: #f44336}html{--mat-slider-label-label-text-font: Roboto, sans-serif;--mat-slider-label-label-text-size: 14px;--mat-slider-label-label-text-line-height: 22px;--mat-slider-label-label-text-tracking: .0071428571em;--mat-slider-label-label-text-weight: 500}html{--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 0;--mat-menu-divider-top-spacing: 0;--mat-menu-item-spacing: 16px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 16px;--mat-menu-item-trailing-spacing: 16px;--mat-menu-item-with-icon-leading-spacing: 16px;--mat-menu-item-with-icon-trailing-spacing: 16px;--mat-menu-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-menu-item-label-text-color: rgba(0, 0, 0, .87);--mat-menu-item-icon-color: rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-menu-item-focus-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-menu-container-color: white;--mat-menu-divider-color: rgba(0, 0, 0, .12)}html{--mat-menu-item-label-text-font: Roboto, sans-serif;--mat-menu-item-label-text-size: 16px;--mat-menu-item-label-text-tracking: .03125em;--mat-menu-item-label-text-line-height: 24px;--mat-menu-item-label-text-weight: 400}html{--mat-list-active-indicator-shape: 4px;--mat-list-list-item-container-shape: 0;--mat-list-list-item-leading-avatar-shape: 50%;--mat-list-list-item-leading-icon-size: 24px;--mat-list-list-item-leading-avatar-size: 40px;--mat-list-list-item-trailing-icon-size: 24px;--mat-list-list-item-disabled-state-layer-opacity: 0;--mat-list-list-item-disabled-label-text-opacity: .38;--mat-list-list-item-disabled-leading-icon-opacity: .38;--mat-list-list-item-disabled-trailing-icon-opacity: .38}html{--mat-list-active-indicator-color: transparent;--mat-list-list-item-container-color: transparent;--mat-list-list-item-selected-container-color: transparent;--mat-list-list-item-leading-avatar-color: transparent;--mat-list-list-item-disabled-state-layer-color: transparent;--mat-list-list-item-label-text-color: rgba(0, 0, 0, .87);--mat-list-list-item-supporting-text-color: rgba(0, 0, 0, .54);--mat-list-list-item-leading-icon-color: rgba(0, 0, 0, .54);--mat-list-list-item-trailing-supporting-text-color: rgba(0, 0, 0, .54);--mat-list-list-item-trailing-icon-color: rgba(0, 0, 0, .54);--mat-list-list-item-selected-trailing-icon-color: rgba(0, 0, 0, .54);--mat-list-list-item-disabled-label-text-color: rgba(0, 0, 0, .87);--mat-list-list-item-disabled-leading-icon-color: rgba(0, 0, 0, .87);--mat-list-list-item-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mat-list-list-item-hover-label-text-color: rgba(0, 0, 0, .87);--mat-list-list-item-hover-leading-icon-color: rgba(0, 0, 0, .54);--mat-list-list-item-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-list-list-item-hover-state-layer-opacity: .04;--mat-list-list-item-hover-trailing-icon-color: rgba(0, 0, 0, .54);--mat-list-list-item-focus-label-text-color: rgba(0, 0, 0, .87);--mat-list-list-item-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-list-list-item-focus-state-layer-opacity: .12}.mdc-list-item__start,.mdc-list-item__end{--mat-radio-checked-ripple-color: #1976d2;--mat-radio-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-radio-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-radio-disabled-unselected-icon-color: rgba(0, 0, 0, .87);--mat-radio-label-text-color: rgba(0, 0, 0, .87);--mat-radio-ripple-color: rgba(0, 0, 0, .87);--mat-radio-selected-focus-icon-color: #1976d2;--mat-radio-selected-hover-icon-color: #1976d2;--mat-radio-selected-icon-color: #1976d2;--mat-radio-selected-pressed-icon-color: #1976d2;--mat-radio-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mat-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .87)}.mat-accent .mdc-list-item__start,.mat-accent .mdc-list-item__end{--mat-radio-checked-ripple-color: #40c4ff;--mat-radio-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-radio-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-radio-disabled-unselected-icon-color: rgba(0, 0, 0, .87);--mat-radio-label-text-color: rgba(0, 0, 0, .87);--mat-radio-ripple-color: rgba(0, 0, 0, .87);--mat-radio-selected-focus-icon-color: #40c4ff;--mat-radio-selected-hover-icon-color: #40c4ff;--mat-radio-selected-icon-color: #40c4ff;--mat-radio-selected-pressed-icon-color: #40c4ff;--mat-radio-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mat-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .87)}.mat-warn .mdc-list-item__start,.mat-warn .mdc-list-item__end{--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-radio-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-radio-disabled-unselected-icon-color: rgba(0, 0, 0, .87);--mat-radio-label-text-color: rgba(0, 0, 0, .87);--mat-radio-ripple-color: rgba(0, 0, 0, .87);--mat-radio-selected-focus-icon-color: #f44336;--mat-radio-selected-hover-icon-color: #f44336;--mat-radio-selected-icon-color: #f44336;--mat-radio-selected-pressed-icon-color: #f44336;--mat-radio-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mat-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .87)}.mat-mdc-list-option{--mat-checkbox-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-label-text-color: rgba(0, 0, 0, .87);--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #1976d2;--mat-checkbox-selected-hover-icon-color: #1976d2;--mat-checkbox-selected-icon-color: #1976d2;--mat-checkbox-selected-pressed-icon-color: #1976d2;--mat-checkbox-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-checkbox-selected-focus-state-layer-color: #1976d2;--mat-checkbox-selected-hover-state-layer-color: #1976d2;--mat-checkbox-selected-pressed-state-layer-color: #1976d2;--mat-checkbox-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-list-option.mat-accent{--mat-checkbox-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-label-text-color: rgba(0, 0, 0, .87);--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-selected-checkmark-color: rgba(0, 0, 0, .87);--mat-checkbox-selected-focus-icon-color: #40c4ff;--mat-checkbox-selected-hover-icon-color: #40c4ff;--mat-checkbox-selected-icon-color: #40c4ff;--mat-checkbox-selected-pressed-icon-color: #40c4ff;--mat-checkbox-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-checkbox-selected-focus-state-layer-color: #40c4ff;--mat-checkbox-selected-hover-state-layer-color: #40c4ff;--mat-checkbox-selected-pressed-state-layer-color: #40c4ff;--mat-checkbox-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-list-option.mat-warn{--mat-checkbox-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-label-text-color: rgba(0, 0, 0, .87);--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #f44336;--mat-checkbox-selected-hover-icon-color: #f44336;--mat-checkbox-selected-icon-color: #f44336;--mat-checkbox-selected-pressed-icon-color: #f44336;--mat-checkbox-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-checkbox-selected-focus-state-layer-color: #f44336;--mat-checkbox-selected-hover-state-layer-color: #f44336;--mat-checkbox-selected-pressed-state-layer-color: #f44336;--mat-checkbox-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__start,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__start{color:#1976d2}.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}html{--mat-list-list-item-leading-icon-start-space: 16px;--mat-list-list-item-leading-icon-end-space: 32px;--mat-list-list-item-one-line-container-height: 48px;--mat-list-list-item-two-line-container-height: 64px;--mat-list-list-item-three-line-container-height: 88px}.mdc-list-item__start,.mdc-list-item__end{--mat-radio-state-layer-size: 40px;--mat-radio-touch-target-display: block}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}html{--mat-list-list-item-label-text-font: Roboto, sans-serif;--mat-list-list-item-label-text-line-height: 24px;--mat-list-list-item-label-text-size: 16px;--mat-list-list-item-label-text-tracking: .03125em;--mat-list-list-item-label-text-weight: 400;--mat-list-list-item-supporting-text-font: Roboto, sans-serif;--mat-list-list-item-supporting-text-line-height: 20px;--mat-list-list-item-supporting-text-size: 14px;--mat-list-list-item-supporting-text-tracking: .0178571429em;--mat-list-list-item-supporting-text-weight: 400;--mat-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mat-list-list-item-trailing-supporting-text-line-height: 20px;--mat-list-list-item-trailing-supporting-text-size: 12px;--mat-list-list-item-trailing-supporting-text-tracking: .0333333333em;--mat-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader{font:400 16px/28px Roboto,sans-serif;letter-spacing:.009375em}html{--mat-paginator-page-size-select-width: 84px;--mat-paginator-page-size-select-touch-target-height: 48px}html{--mat-paginator-container-text-color: rgba(0, 0, 0, .87);--mat-paginator-container-background-color: white;--mat-paginator-enabled-icon-color: rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent)}html{--mat-paginator-container-size: 56px;--mat-paginator-form-field-container-height: 40px;--mat-paginator-form-field-container-vertical-padding: 8px;--mat-paginator-touch-target-display: block}html{--mat-paginator-container-text-font: Roboto, sans-serif;--mat-paginator-container-text-line-height: 20px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: .0333333333em;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px}html{--mat-tab-container-height: 48px;--mat-tab-divider-color: transparent;--mat-tab-divider-height: 0;--mat-tab-active-indicator-height: 2px;--mat-tab-active-indicator-shape: 0}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mat-tab-disabled-ripple-color: rgba(0, 0, 0, .54);--mat-tab-pagination-icon-color: rgba(0, 0, 0, .87);--mat-tab-inactive-label-text-color: rgba(0, 0, 0, .54);--mat-tab-active-label-text-color: #1976d2;--mat-tab-active-ripple-color: #1976d2;--mat-tab-inactive-ripple-color: #1976d2;--mat-tab-inactive-focus-label-text-color: rgba(0, 0, 0, .54);--mat-tab-inactive-hover-label-text-color: rgba(0, 0, 0, .54);--mat-tab-active-focus-label-text-color: #1976d2;--mat-tab-active-hover-label-text-color: #1976d2;--mat-tab-active-focus-indicator-color: #1976d2;--mat-tab-active-hover-indicator-color: #1976d2;--mat-tab-active-indicator-color: #1976d2}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mat-tab-disabled-ripple-color: rgba(0, 0, 0, .54);--mat-tab-pagination-icon-color: rgba(0, 0, 0, .87);--mat-tab-inactive-label-text-color: rgba(0, 0, 0, .54);--mat-tab-active-label-text-color: #40c4ff;--mat-tab-active-ripple-color: #40c4ff;--mat-tab-inactive-ripple-color: #40c4ff;--mat-tab-inactive-focus-label-text-color: rgba(0, 0, 0, .54);--mat-tab-inactive-hover-label-text-color: rgba(0, 0, 0, .54);--mat-tab-active-focus-label-text-color: #40c4ff;--mat-tab-active-hover-label-text-color: #40c4ff;--mat-tab-active-focus-indicator-color: #40c4ff;--mat-tab-active-hover-indicator-color: #40c4ff;--mat-tab-active-indicator-color: #40c4ff}.mat-mdc-tab-group.mat-warn,.mat-mdc-tab-nav-bar.mat-warn{--mat-tab-disabled-ripple-color: rgba(0, 0, 0, .54);--mat-tab-pagination-icon-color: rgba(0, 0, 0, .87);--mat-tab-inactive-label-text-color: rgba(0, 0, 0, .54);--mat-tab-active-label-text-color: #f44336;--mat-tab-active-ripple-color: #f44336;--mat-tab-inactive-ripple-color: #f44336;--mat-tab-inactive-focus-label-text-color: rgba(0, 0, 0, .54);--mat-tab-inactive-hover-label-text-color: rgba(0, 0, 0, .54);--mat-tab-active-focus-label-text-color: #f44336;--mat-tab-active-hover-label-text-color: #f44336;--mat-tab-active-focus-indicator-color: #f44336;--mat-tab-active-hover-indicator-color: #f44336;--mat-tab-active-indicator-color: #f44336}.mat-mdc-tab-group.mat-background-primary,.mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-background-color: #1976d2;--mat-tab-foreground-color: white}.mat-mdc-tab-group.mat-background-accent,.mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-background-color: #40c4ff;--mat-tab-foreground-color: rgba(0, 0, 0, .87)}.mat-mdc-tab-group.mat-background-warn,.mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-background-color: #f44336;--mat-tab-foreground-color: white}.mat-mdc-tab-header{--mat-tab-container-height: 48px}.mat-mdc-tab-header{--mat-tab-label-text-font: Roboto, sans-serif;--mat-tab-label-text-size: 14px;--mat-tab-label-text-tracking: .0892857143em;--mat-tab-label-text-line-height: 36px;--mat-tab-label-text-weight: 500}html{--mat-checkbox-disabled-selected-checkmark-color: white;--mat-checkbox-selected-focus-state-layer-opacity: .12;--mat-checkbox-selected-hover-state-layer-opacity: .04;--mat-checkbox-selected-pressed-state-layer-opacity: .12;--mat-checkbox-unselected-focus-state-layer-opacity: .12;--mat-checkbox-unselected-hover-state-layer-opacity: .04;--mat-checkbox-unselected-pressed-state-layer-opacity: .12;--mat-checkbox-touch-target-size: 48px}html{--mat-checkbox-disabled-label-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-label-text-color: rgba(0, 0, 0, .87);--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-selected-checkmark-color: rgba(0, 0, 0, .87);--mat-checkbox-selected-focus-icon-color: #40c4ff;--mat-checkbox-selected-hover-icon-color: #40c4ff;--mat-checkbox-selected-icon-color: #40c4ff;--mat-checkbox-selected-pressed-icon-color: #40c4ff;--mat-checkbox-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-checkbox-selected-focus-state-layer-color: #40c4ff;--mat-checkbox-selected-hover-state-layer-color: #40c4ff;--mat-checkbox-selected-pressed-state-layer-color: #40c4ff;--mat-checkbox-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-checkbox.mat-primary{--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #1976d2;--mat-checkbox-selected-hover-icon-color: #1976d2;--mat-checkbox-selected-icon-color: #1976d2;--mat-checkbox-selected-pressed-icon-color: #1976d2;--mat-checkbox-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-checkbox-selected-focus-state-layer-color: #1976d2;--mat-checkbox-selected-hover-state-layer-color: #1976d2;--mat-checkbox-selected-pressed-state-layer-color: #1976d2;--mat-checkbox-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-checkbox.mat-warn{--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #f44336;--mat-checkbox-selected-hover-icon-color: #f44336;--mat-checkbox-selected-icon-color: #f44336;--mat-checkbox-selected-pressed-icon-color: #f44336;--mat-checkbox-unselected-focus-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-icon-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-checkbox-selected-focus-state-layer-color: #f44336;--mat-checkbox-selected-hover-state-layer-color: #f44336;--mat-checkbox-selected-pressed-state-layer-color: #f44336;--mat-checkbox-unselected-focus-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-hover-state-layer-color: rgba(0, 0, 0, .87);--mat-checkbox-unselected-pressed-state-layer-color: rgba(0, 0, 0, .87)}html{--mat-checkbox-touch-target-display: block;--mat-checkbox-state-layer-size: 40px}html{--mat-checkbox-label-text-font: Roboto, sans-serif;--mat-checkbox-label-text-line-height: 20px;--mat-checkbox-label-text-size: 14px;--mat-checkbox-label-text-tracking: .0178571429em;--mat-checkbox-label-text-weight: 400}html{--mat-button-filled-container-shape: 4px;--mat-button-filled-horizontal-padding: 16px;--mat-button-filled-icon-offset: -4px;--mat-button-filled-icon-spacing: 8px;--mat-button-filled-touch-target-size: 48px;--mat-button-outlined-container-shape: 4px;--mat-button-outlined-horizontal-padding: 15px;--mat-button-outlined-icon-offset: -4px;--mat-button-outlined-icon-spacing: 8px;--mat-button-outlined-keep-touch-target: false;--mat-button-outlined-outline-width: 1px;--mat-button-outlined-touch-target-size: 48px;--mat-button-protected-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-button-protected-container-shape: 4px;--mat-button-protected-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-button-protected-focus-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-button-protected-horizontal-padding: 16px;--mat-button-protected-hover-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-button-protected-icon-offset: -4px;--mat-button-protected-icon-spacing: 8px;--mat-button-protected-pressed-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-button-protected-touch-target-size: 48px;--mat-button-text-container-shape: 4px;--mat-button-text-horizontal-padding: 8px;--mat-button-text-icon-offset: 0;--mat-button-text-icon-spacing: 8px;--mat-button-text-with-icon-horizontal-padding: 8px;--mat-button-text-touch-target-size: 48px;--mat-button-tonal-container-shape: 4px;--mat-button-tonal-horizontal-padding: 16px;--mat-button-tonal-icon-offset: -4px;--mat-button-tonal-icon-spacing: 8px;--mat-button-tonal-touch-target-size: 48px}html{--mat-button-filled-container-color: white;--mat-button-filled-disabled-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-filled-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-filled-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-button-filled-focus-state-layer-opacity: .12;--mat-button-filled-hover-state-layer-opacity: .04;--mat-button-filled-label-text-color: rgba(0, 0, 0, .87);--mat-button-filled-pressed-state-layer-opacity: .12;--mat-button-filled-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-filled-state-layer-color: rgba(0, 0, 0, .87);--mat-button-outlined-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-outlined-disabled-outline-color: rgba(0, 0, 0, .12);--mat-button-outlined-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-button-outlined-focus-state-layer-opacity: .12;--mat-button-outlined-hover-state-layer-opacity: .04;--mat-button-outlined-label-text-color: rgba(0, 0, 0, .87);--mat-button-outlined-outline-color: rgba(0, 0, 0, .12);--mat-button-outlined-pressed-state-layer-opacity: .12;--mat-button-outlined-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-outlined-state-layer-color: rgba(0, 0, 0, .87);--mat-button-protected-container-color: white;--mat-button-protected-disabled-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-protected-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-protected-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-button-protected-focus-state-layer-opacity: .12;--mat-button-protected-hover-state-layer-opacity: .04;--mat-button-protected-label-text-color: rgba(0, 0, 0, .87);--mat-button-protected-pressed-state-layer-opacity: .12;--mat-button-protected-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-protected-state-layer-color: rgba(0, 0, 0, .87);--mat-button-text-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-text-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-button-text-focus-state-layer-opacity: .12;--mat-button-text-hover-state-layer-opacity: .04;--mat-button-text-label-text-color: rgba(0, 0, 0, .87);--mat-button-text-pressed-state-layer-opacity: .12;--mat-button-text-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-text-state-layer-color: rgba(0, 0, 0, .87);--mat-button-tonal-container-color: white;--mat-button-tonal-disabled-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-tonal-disabled-label-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-tonal-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-button-tonal-focus-state-layer-opacity: .12;--mat-button-tonal-hover-state-layer-opacity: .04;--mat-button-tonal-label-text-color: rgba(0, 0, 0, .87);--mat-button-tonal-pressed-state-layer-opacity: .12;--mat-button-tonal-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-tonal-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-button.mat-primary,.mat-mdc-unelevated-button.mat-primary,.mat-mdc-raised-button.mat-primary,.mat-mdc-outlined-button.mat-primary,.mat-tonal-button.mat-primary{--mat-button-filled-container-color: #1976d2;--mat-button-filled-label-text-color: white;--mat-button-filled-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-state-layer-color: white;--mat-button-outlined-label-text-color: #1976d2;--mat-button-outlined-outline-color: rgba(0, 0, 0, .12);--mat-button-outlined-ripple-color: color-mix(in srgb, #1976d2 12%, transparent);--mat-button-outlined-state-layer-color: #1976d2;--mat-button-protected-container-color: #1976d2;--mat-button-protected-label-text-color: white;--mat-button-protected-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-state-layer-color: white;--mat-button-text-label-text-color: #1976d2;--mat-button-text-ripple-color: color-mix(in srgb, #1976d2 12%, transparent);--mat-button-text-state-layer-color: #1976d2;--mat-button-tonal-container-color: #1976d2;--mat-button-tonal-label-text-color: white;--mat-button-tonal-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-state-layer-color: white}.mat-mdc-button.mat-accent,.mat-mdc-unelevated-button.mat-accent,.mat-mdc-raised-button.mat-accent,.mat-mdc-outlined-button.mat-accent,.mat-tonal-button.mat-accent{--mat-button-filled-container-color: #40c4ff;--mat-button-filled-label-text-color: rgba(0, 0, 0, .87);--mat-button-filled-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-filled-state-layer-color: rgba(0, 0, 0, .87);--mat-button-outlined-label-text-color: #40c4ff;--mat-button-outlined-outline-color: rgba(0, 0, 0, .12);--mat-button-outlined-ripple-color: color-mix(in srgb, #40c4ff 12%, transparent);--mat-button-outlined-state-layer-color: #40c4ff;--mat-button-protected-container-color: #40c4ff;--mat-button-protected-label-text-color: rgba(0, 0, 0, .87);--mat-button-protected-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-protected-state-layer-color: rgba(0, 0, 0, .87);--mat-button-text-label-text-color: #40c4ff;--mat-button-text-ripple-color: color-mix(in srgb, #40c4ff 12%, transparent);--mat-button-text-state-layer-color: #40c4ff;--mat-button-tonal-container-color: #40c4ff;--mat-button-tonal-label-text-color: rgba(0, 0, 0, .87);--mat-button-tonal-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-tonal-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-button.mat-warn,.mat-mdc-unelevated-button.mat-warn,.mat-mdc-raised-button.mat-warn,.mat-mdc-outlined-button.mat-warn,.mat-tonal-button.mat-warn{--mat-button-filled-container-color: #f44336;--mat-button-filled-label-text-color: white;--mat-button-filled-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-state-layer-color: white;--mat-button-outlined-label-text-color: #f44336;--mat-button-outlined-outline-color: rgba(0, 0, 0, .12);--mat-button-outlined-ripple-color: color-mix(in srgb, #f44336 12%, transparent);--mat-button-outlined-state-layer-color: #f44336;--mat-button-protected-container-color: #f44336;--mat-button-protected-label-text-color: white;--mat-button-protected-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-state-layer-color: white;--mat-button-text-label-text-color: #f44336;--mat-button-text-ripple-color: color-mix(in srgb, #f44336 12%, transparent);--mat-button-text-state-layer-color: #f44336;--mat-button-tonal-container-color: #f44336;--mat-button-tonal-label-text-color: white;--mat-button-tonal-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-state-layer-color: white}html{--mat-button-filled-container-height: 36px;--mat-button-filled-touch-target-display: block;--mat-button-outlined-container-height: 36px;--mat-button-outlined-touch-target-display: block;--mat-button-protected-container-height: 36px;--mat-button-protected-touch-target-display: block;--mat-button-text-container-height: 36px;--mat-button-text-touch-target-display: block;--mat-button-tonal-container-height: 36px;--mat-button-tonal-touch-target-display: block}html{--mat-button-filled-label-text-font: Roboto, sans-serif;--mat-button-filled-label-text-size: 14px;--mat-button-filled-label-text-tracking: .0892857143em;--mat-button-filled-label-text-transform: none;--mat-button-filled-label-text-weight: 500;--mat-button-outlined-label-text-font: Roboto, sans-serif;--mat-button-outlined-label-text-size: 14px;--mat-button-outlined-label-text-tracking: .0892857143em;--mat-button-outlined-label-text-transform: none;--mat-button-outlined-label-text-weight: 500;--mat-button-protected-label-text-font: Roboto, sans-serif;--mat-button-protected-label-text-size: 14px;--mat-button-protected-label-text-tracking: .0892857143em;--mat-button-protected-label-text-transform: none;--mat-button-protected-label-text-weight: 500;--mat-button-text-label-text-font: Roboto, sans-serif;--mat-button-text-label-text-size: 14px;--mat-button-text-label-text-tracking: .0892857143em;--mat-button-text-label-text-transform: none;--mat-button-text-label-text-weight: 500;--mat-button-tonal-label-text-font: Roboto, sans-serif;--mat-button-tonal-label-text-size: 14px;--mat-button-tonal-label-text-tracking: .0892857143em;--mat-button-tonal-label-text-transform: none;--mat-button-tonal-label-text-weight: 500}html{--mat-icon-button-icon-size: 24px;--mat-icon-button-container-shape: 50%;--mat-icon-button-touch-target-size: 48px}html{--mat-icon-button-disabled-icon-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-icon-button-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-hover-state-layer-opacity: .04;--mat-icon-button-icon-color: inherit;--mat-icon-button-pressed-state-layer-opacity: .12;--mat-icon-button-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-icon-button-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-icon-button.mat-primary{--mat-icon-button-icon-color: #1976d2;--mat-icon-button-state-layer-color: #1976d2;--mat-icon-button-ripple-color: color-mix(in srgb, #1976d2 12%, transparent)}.mat-mdc-icon-button.mat-accent{--mat-icon-button-icon-color: #40c4ff;--mat-icon-button-state-layer-color: #40c4ff;--mat-icon-button-ripple-color: color-mix(in srgb, #40c4ff 12%, transparent)}.mat-mdc-icon-button.mat-warn{--mat-icon-button-icon-color: #f44336;--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: color-mix(in srgb, #f44336 12%, transparent)}html{--mat-icon-button-touch-target-display: block}.mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 48px;--mat-icon-button-state-layer-size: 48px;width:var(--mat-icon-button-state-layer-size);height:var(--mat-icon-button-state-layer-size);padding:12px}html{--mat-fab-container-shape: 50%;--mat-fab-touch-target-size: 48px;--mat-fab-extended-container-height: 48px;--mat-fab-extended-container-shape: 24px;--mat-fab-small-container-shape: 50%;--mat-fab-small-touch-target-size: 48px}html{--mat-fab-container-color: white;--mat-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-fab-extended-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-fab-extended-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-extended-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-extended-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-fab-small-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-small-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-fab-disabled-state-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-fab-disabled-state-foreground-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-fab-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-fab-focus-state-layer-opacity: .12;--mat-fab-foreground-color: rgba(0, 0, 0, .87);--mat-fab-hover-state-layer-opacity: .04;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-fab-small-container-color: white;--mat-fab-small-disabled-state-container-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-fab-small-disabled-state-foreground-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-fab-small-disabled-state-layer-color: rgba(0, 0, 0, .54);--mat-fab-small-focus-state-layer-opacity: .12;--mat-fab-small-foreground-color: rgba(0, 0, 0, .87);--mat-fab-small-hover-state-layer-opacity: .04;--mat-fab-small-pressed-state-layer-opacity: .12;--mat-fab-small-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-fab-small-state-layer-color: rgba(0, 0, 0, .87);--mat-fab-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-fab.mat-primary,.mat-mdc-mini-fab.mat-primary{--mat-fab-container-color: #1976d2;--mat-fab-foreground-color: white;--mat-fab-ripple-color: color-mix(in srgb, #1976d2 12%, transparent);--mat-fab-small-container-color: #1976d2;--mat-fab-small-foreground-color: white;--mat-fab-small-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-state-layer-color: white;--mat-fab-state-layer-color: white}.mat-mdc-fab.mat-accent,.mat-mdc-mini-fab.mat-accent{--mat-fab-container-color: #40c4ff;--mat-fab-foreground-color: rgba(0, 0, 0, .87);--mat-fab-ripple-color: color-mix(in srgb, #40c4ff 12%, transparent);--mat-fab-small-container-color: #40c4ff;--mat-fab-small-foreground-color: rgba(0, 0, 0, .87);--mat-fab-small-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-fab-small-state-layer-color: rgba(0, 0, 0, .87);--mat-fab-state-layer-color: rgba(0, 0, 0, .87)}.mat-mdc-fab.mat-warn,.mat-mdc-mini-fab.mat-warn{--mat-fab-container-color: #f44336;--mat-fab-foreground-color: white;--mat-fab-ripple-color: color-mix(in srgb, #f44336 12%, transparent);--mat-fab-small-container-color: #f44336;--mat-fab-small-foreground-color: white;--mat-fab-small-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-state-layer-color: white;--mat-fab-state-layer-color: white}html{--mat-fab-small-touch-target-display: block;--mat-fab-touch-target-display: block}html{--mat-fab-extended-label-text-font: Roboto, sans-serif;--mat-fab-extended-label-text-size: 14px;--mat-fab-extended-label-text-tracking: .0892857143em;--mat-fab-extended-label-text-weight: 500}html{--mat-snack-bar-container-shape: 4px}html{--mat-snack-bar-container-color: #424242;--mat-snack-bar-supporting-text-color: white;--mat-snack-bar-button-color: #64b5f6}html{--mat-snack-bar-supporting-text-font: Roboto, sans-serif;--mat-snack-bar-supporting-text-line-height: 20px;--mat-snack-bar-supporting-text-size: 14px;--mat-snack-bar-supporting-text-weight: 400}html{--mat-table-row-item-outline-width: 1px}html{--mat-table-background-color: white;--mat-table-header-headline-color: rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-color: rgba(0, 0, 0, .12)}html{--mat-table-header-container-height: 56px;--mat-table-footer-container-height: 52px;--mat-table-row-item-container-height: 52px}html{--mat-table-header-headline-font: Roboto, sans-serif;--mat-table-header-headline-line-height: 22px;--mat-table-header-headline-size: 14px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .0071428571em;--mat-table-row-item-label-text-font: Roboto, sans-serif;--mat-table-row-item-label-text-line-height: 20px;--mat-table-row-item-label-text-size: 14px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: .0178571429em;--mat-table-footer-supporting-text-font: Roboto, sans-serif;--mat-table-footer-supporting-text-line-height: 20px;--mat-table-footer-supporting-text-size: 14px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: .0178571429em}html{--mat-progress-spinner-active-indicator-width: 4px;--mat-progress-spinner-size: 48px}html{--mat-progress-spinner-active-indicator-color: #1976d2}.mat-accent{--mat-progress-spinner-active-indicator-color: #40c4ff}.mat-warn{--mat-progress-spinner-active-indicator-color: #f44336}html{--mat-badge-container-shape: 50%;--mat-badge-container-size: unset;--mat-badge-small-size-container-size: unset;--mat-badge-large-size-container-size: unset;--mat-badge-legacy-container-size: 22px;--mat-badge-legacy-small-size-container-size: 16px;--mat-badge-legacy-large-size-container-size: 28px;--mat-badge-container-offset: -11px 0;--mat-badge-small-size-container-offset: -8px 0;--mat-badge-large-size-container-offset: -14px 0;--mat-badge-container-overlap-offset: -11px;--mat-badge-small-size-container-overlap-offset: -8px;--mat-badge-large-size-container-overlap-offset: -14px;--mat-badge-container-padding: 0;--mat-badge-small-size-container-padding: 0;--mat-badge-large-size-container-padding: 0}html{--mat-badge-background-color: #1976d2;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-badge-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent)}.mat-badge-accent{--mat-badge-background-color: #40c4ff;--mat-badge-text-color: rgba(0, 0, 0, .87)}.mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}html{--mat-badge-text-font: Roboto, sans-serif;--mat-badge-line-height: 22px;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-small-size-line-height: 16px;--mat-badge-large-size-text-size: 24px;--mat-badge-large-size-line-height: 28px}html{--mat-bottom-sheet-container-shape: 4px}html{--mat-bottom-sheet-container-text-color: rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color: white}html{--mat-bottom-sheet-container-text-font: Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height: 20px;--mat-bottom-sheet-container-text-size: 14px;--mat-bottom-sheet-container-text-tracking: .0178571429em;--mat-bottom-sheet-container-text-weight: 400}html{--mat-button-toggle-focus-state-layer-opacity: .12;--mat-button-toggle-hover-state-layer-opacity: .04;--mat-button-toggle-legacy-focus-state-layer-opacity: 1;--mat-button-toggle-legacy-height: 36px;--mat-button-toggle-legacy-shape: 2px;--mat-button-toggle-shape: 4px}html{--mat-button-toggle-background-color: white;--mat-button-toggle-disabled-selected-state-background-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-toggle-disabled-selected-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-toggle-disabled-state-background-color: white;--mat-button-toggle-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-toggle-divider-color: rgba(0, 0, 0, .12);--mat-button-toggle-legacy-disabled-selected-state-background-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-toggle-legacy-disabled-state-background-color: white;--mat-button-toggle-legacy-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-button-toggle-legacy-selected-state-background-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-toggle-legacy-selected-state-text-color: rgba(0, 0, 0, .87);--mat-button-toggle-legacy-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-toggle-legacy-text-color: rgba(0, 0, 0, .87);--mat-button-toggle-selected-state-background-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-toggle-selected-state-text-color: rgba(0, 0, 0, .87);--mat-button-toggle-state-layer-color: rgba(0, 0, 0, .87);--mat-button-toggle-text-color: rgba(0, 0, 0, .87)}html{--mat-button-toggle-height: 48px}html{--mat-button-toggle-label-text-font: Roboto, sans-serif;--mat-button-toggle-label-text-line-height: 24px;--mat-button-toggle-label-text-size: 16px;--mat-button-toggle-label-text-tracking: .03125em;--mat-button-toggle-label-text-weight: 400;--mat-button-toggle-legacy-label-text-font: Roboto, sans-serif;--mat-button-toggle-legacy-label-text-line-height: 24px;--mat-button-toggle-legacy-label-text-size: 16px;--mat-button-toggle-legacy-label-text-tracking: .03125em;--mat-button-toggle-legacy-label-text-weight: 400}html{--mat-datepicker-calendar-container-shape: 4px;--mat-datepicker-calendar-container-touch-shape: 4px;--mat-datepicker-calendar-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-container-touch-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}html{--mat-datepicker-calendar-date-in-range-state-background-color: color-mix(in srgb, #1976d2 20%, transparent);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: color-mix(in srgb, #40c4ff 20%, transparent);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(27.2643896268%, 64.1081593928%, 36.843769766%);--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #1976d2;--mat-datepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #1976d2 38%, transparent);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #1976d2 12%, transparent);--mat-datepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #1976d2 4%, transparent);--mat-datepicker-toggle-active-state-icon-color: #1976d2;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-disabled-state-outline-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .54);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-range-input-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent,.mat-datepicker-toggle-active.mat-accent{--mat-datepicker-calendar-date-in-range-state-background-color: color-mix(in srgb, #40c4ff 20%, transparent);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: color-mix(in srgb, #40c4ff 20%, transparent);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(27.2643896268%, 64.1081593928%, 36.843769766%);--mat-datepicker-calendar-date-selected-state-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-selected-state-background-color: #40c4ff;--mat-datepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #40c4ff 38%, transparent);--mat-datepicker-calendar-date-today-selected-state-outline-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #40c4ff 12%, transparent);--mat-datepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #40c4ff 4%, transparent);--mat-datepicker-toggle-active-state-icon-color: #40c4ff;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-disabled-state-outline-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .54);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-range-input-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-warn,.mat-datepicker-toggle-active.mat-warn{--mat-datepicker-calendar-date-in-range-state-background-color: color-mix(in srgb, #f44336 20%, transparent);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: color-mix(in srgb, #40c4ff 20%, transparent);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(27.2643896268%, 64.1081593928%, 36.843769766%);--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #f44336 38%, transparent);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #f44336 12%, transparent);--mat-datepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #f44336 4%, transparent);--mat-datepicker-toggle-active-state-icon-color: #f44336;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-disabled-state-outline-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .54);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-range-input-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-calendar-controls{--mat-icon-button-touch-target-display: none}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 40px;--mat-icon-button-state-layer-size: 40px;width:var(--mat-icon-button-state-layer-size);height:var(--mat-icon-button-state-layer-size);padding:8px}html{--mat-datepicker-calendar-text-font: Roboto, sans-serif;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 14px;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: 14px;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400}html{--mat-divider-width: 1px}html{--mat-divider-color: rgba(0, 0, 0, .12)}html{--mat-expansion-container-shape: 4px;--mat-expansion-legacy-header-indicator-display: inline-block;--mat-expansion-header-indicator-display: none}html{--mat-expansion-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-expansion-container-background-color: white;--mat-expansion-container-text-color: rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color: rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-expansion-header-focus-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-expansion-header-disabled-state-text-color: color-mix(in srgb, rgba(0, 0, 0, .87) 38%, transparent);--mat-expansion-header-text-color: rgba(0, 0, 0, .87);--mat-expansion-header-description-color: rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color: rgba(0, 0, 0, .54)}html{--mat-expansion-header-collapsed-state-height: 48px;--mat-expansion-header-expanded-state-height: 64px}html{--mat-expansion-header-text-font: Roboto, sans-serif;--mat-expansion-header-text-size: 14px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Roboto, sans-serif;--mat-expansion-container-text-line-height: 20px;--mat-expansion-container-text-size: 14px;--mat-expansion-container-text-tracking: .0178571429em;--mat-expansion-container-text-weight: 400}html{--mat-grid-list-tile-header-primary-text-size: 14px;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 14px;--mat-grid-list-tile-footer-secondary-text-size: 12px}html{--mat-icon-color: inherit}.mat-icon.mat-primary{--mat-icon-color: #1976d2}.mat-icon.mat-accent{--mat-icon-color: #40c4ff}.mat-icon.mat-warn{--mat-icon-color: #f44336}html{--mat-sidenav-container-shape: 0;--mat-sidenav-container-width: auto}html{--mat-sidenav-container-elevation-shadow: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-sidenav-container-divider-color: rgba(0, 0, 0, .12);--mat-sidenav-container-background-color: white;--mat-sidenav-container-text-color: rgba(0, 0, 0, .87);--mat-sidenav-content-background-color: #fafafa;--mat-sidenav-content-text-color: rgba(0, 0, 0, .87);--mat-sidenav-scrim-color: rgba(0, 0, 0, .6)}html{--mat-stepper-header-focus-state-layer-shape: 4px;--mat-stepper-header-hover-state-layer-shape: 4px}html{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #1976d2;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #1976d2;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #1976d2;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: white;--mat-stepper-line-color: rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 4%, transparent);--mat-stepper-header-focus-state-layer-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-stepper-header-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color: rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}.mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: rgba(0, 0, 0, .87);--mat-stepper-header-selected-state-icon-background-color: #40c4ff;--mat-stepper-header-selected-state-icon-foreground-color: rgba(0, 0, 0, .87);--mat-stepper-header-done-state-icon-background-color: #40c4ff;--mat-stepper-header-done-state-icon-foreground-color: rgba(0, 0, 0, .87);--mat-stepper-header-edit-state-icon-background-color: #40c4ff;--mat-stepper-header-edit-state-icon-foreground-color: rgba(0, 0, 0, .87)}.mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}html{--mat-stepper-header-height: 72px}html{--mat-stepper-container-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-size: 14px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-weight: 400}html{--mat-sort-arrow-color: rgba(0, 0, 0, .87)}html{--mat-toolbar-container-background-color: white;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #1976d2;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #40c4ff;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}html{--mat-toolbar-standard-height: 64px;--mat-toolbar-mobile-height: 56px}html{--mat-toolbar-title-text-font: Roboto, sans-serif;--mat-toolbar-title-text-line-height: 32px;--mat-toolbar-title-text-size: 20px;--mat-toolbar-title-text-tracking: .0125em;--mat-toolbar-title-text-weight: 500}html{--mat-tree-container-background-color: white;--mat-tree-node-text-color: rgba(0, 0, 0, .87)}html{--mat-tree-node-min-height: 48px}html{--mat-tree-node-text-font: Roboto, sans-serif;--mat-tree-node-text-size: 14px;--mat-tree-node-text-weight: 400}html{--mat-timepicker-container-shape: 4px}html{--mat-timepicker-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-timepicker-container-background-color: white}@font-face{font-family:Inter;font-style:normal;font-weight:300;font-display:swap;src:url(/uds/res/admin/fonts/Inter-Light.woff2) format("woff2")}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/uds/res/admin/fonts/Inter-Regular.woff2) format("woff2")}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(/uds/res/admin/fonts/Inter-Medium.woff2) format("woff2")}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(/uds/res/admin/fonts/Inter-SemiBold.woff2) format("woff2")}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(/uds/res/admin/fonts/Inter-Bold.woff2) format("woff2")}:root{--bg-surface: #eef1f5;--bg-accent: #f0f2f5;--text-primary: #121212;--text-secondary: #5f6368;--glass-bg: rgba(255, 255, 255, .8);--tooltip-bg: rgba(255, 255, 255, .96);--glass-hover-bg: rgba(255, 255, 255, .92);--glass-border: rgba(0, 0, 0, .14);--glass-border-strong: rgba(25, 118, 210, .55);--nav-active-bg: rgba(25, 118, 210, .18);--nav-active-fg: #0b4a8f;--nav-active-accent: #1976d2;--glass-shadow: rgba(0, 0, 0, .12);--glass-backdrop-filter: blur(14px);--warning-color: #d32f2f;--caution-color: #f59e0b;--caution-surface: rgba(245, 158, 11, .12);--caution-border: rgba(245, 158, 11, .4);--bg-button: linear-gradient(135deg, #1976d2, #1565c0);--glass-header-bg: linear-gradient(135deg, rgba(25, 118, 210, .12), rgba(25, 118, 210, .04));--navbar-height: 70px;--sidebar-full-width: 310px;--sidebar-mini-width: 80px;--sidebar-width: var(--sidebar-full-width)}html,body{margin:0;font-family:Inter,Roboto,Helvetica,Arial,sans-serif;font-size:14px;height:100%;color:var(--text-primary);transition:background-color .4s ease,color .4s ease}html{background-color:var(--bg-surface)}body{background-color:transparent!important;background-image:radial-gradient(at 0% 0%,rgba(70,93,156,.15) 0px,transparent 50%),radial-gradient(at 100% 100%,rgba(75,82,102,.1) 0px,transparent 50%);background-attachment:fixed}uds-navbar{position:fixed;top:15px;left:15px;right:15px;z-index:1000}uds-navbar .mat-toolbar.uds-nav{background:var(--glass-bg)!important;backdrop-filter:var(--glass-backdrop-filter);-webkit-backdrop-filter:var(--glass-backdrop-filter);border:1px solid var(--glass-border);border-radius:20px;box-shadow:0 8px 32px 0 var(--glass-shadow);height:var(--navbar-height)!important;padding:0 10px 0 5px!important;color:var(--text-primary)!important}uds-navbar .udsicon{filter:none!important;height:40px}.sidebar-handle{position:fixed;left:calc(var(--sidebar-full-width) + 15px);top:50%;transform:translateY(-50%);width:28px;height:70px;background:var(--glass-bg);backdrop-filter:var(--glass-backdrop-filter);-webkit-backdrop-filter:var(--glass-backdrop-filter);border:1px solid var(--glass-border);border-left:none;border-radius:0 16px 16px 0;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:1001;transition:left .4s cubic-bezier(.4,0,.2,1),padding-left .4s ease;color:var(--text-primary)}.sidebar-handle:hover{padding-left:6px}.sidebar-handle.sidebar-hidden{left:0}.sidebar-handle:before,.sidebar-handle:after{content:"";position:absolute;left:-1px;width:1px;background:var(--glass-border);pointer-events:none}.sidebar-handle:before{bottom:100%;height:calc(50vh - var(--navbar-height) - 86px)}.sidebar-handle:after{top:100%;height:calc(50vh - 66px)}.sidebar-handle.sidebar-hidden:before,.sidebar-handle.sidebar-hidden:after{display:none}.sidebar-handle i{font-size:22px}uds-sidebar{position:fixed;top:calc(var(--navbar-height) + 35px);left:15px;bottom:15px;width:var(--sidebar-full-width);z-index:999;transition:transform .4s cubic-bezier(.4,0,.2,1),opacity .4s cubic-bezier(.4,0,.2,1)}uds-sidebar.sidebar-hidden{transform:translate(calc(-100% - 30px));opacity:0;pointer-events:none}uds-sidebar .sidebar{box-sizing:border-box;height:100%!important;width:100%!important;background:var(--glass-bg)!important;backdrop-filter:var(--glass-backdrop-filter);-webkit-backdrop-filter:var(--glass-backdrop-filter);border:1px solid var(--glass-border);border-right:none;border-radius:24px;box-shadow:0 8px 32px 0 var(--glass-shadow);clip-path:inset(-40px 0 -40px -40px);padding:24px 0 24px 12px!important;display:flex;flex-direction:column;overflow:hidden;color:var(--text-primary)!important;transition:background .4s ease,color .4s ease,border-color .4s ease}uds-sidebar .sidebar-scroll{flex:1;min-height:0;padding-right:4px;overflow-y:auto;overflow-x:hidden}uds-sidebar .sidebar-scroll::-webkit-scrollbar{width:4px}uds-sidebar .sidebar-scroll::-webkit-scrollbar-thumb{background:var(--glass-border);border-radius:10px}@supports not selector(::-webkit-scrollbar){uds-sidebar .sidebar-scroll{scrollbar-width:thin;scrollbar-color:var(--glass-border) transparent}}uds-sidebar .sidebar-link{width:100%;text-align:left!important;justify-content:flex-start!important;border-radius:12px!important;margin-bottom:4px!important;padding:10px 16px!important;height:auto!important;color:var(--text-primary)!important;font-weight:500!important;transition:background .3s ease,color .3s ease,transform .3s ease!important;display:flex;align-items:center}uds-sidebar .sidebar-link .mdc-button__label{flex:1;min-width:0;display:flex;align-items:center}uds-sidebar .sidebar-link .mdc-button__label>span,uds-sidebar .sidebar-link .mdc-button__label>uds-translate{flex:1;white-space:nowrap;margin-left:12px;font-size:.9rem;opacity:1}uds-sidebar .sidebar-link .mdc-button__label>span{display:flex;align-items:center;justify-content:space-between}uds-sidebar .sidebar-link:hover{background:var(--glass-hover-bg)!important;transform:translate(5px)}uds-sidebar .sidebar-link .icon{width:20px;height:20px;flex-shrink:0;transition:filter .3s ease,opacity .3s ease}uds-sidebar .sidebar-link .material-icons{margin-left:auto;font-size:18px;opacity:.7}uds-sidebar .submenu,uds-sidebar .submenu2{background:#0000000d;border-radius:12px;margin:4px 8px 8px;padding:4px 0}uds-sidebar .submenu .sidebar-link,uds-sidebar .submenu2 .sidebar-link{padding-left:45px!important;font-size:.85rem!important;opacity:.9}uds-sidebar .submenu .sidebar-link:hover,uds-sidebar .submenu2 .sidebar-link:hover{opacity:1}.page{margin-left:calc(var(--sidebar-full-width) + 50px);padding-top:calc(var(--navbar-height) + 35px);min-height:100vh;box-sizing:border-box;transition:margin-left .4s cubic-bezier(.4,0,.2,1)}.page.sidebar-hidden{margin-left:15px}@media(max-width:768px){.page,.page.sidebar-hidden{margin-left:0}}.content{padding:0 20px 40px}.app-loading .logo{width:113px;height:120px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAABhWlDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AYht+malUqCnYQcchQnexiRRxLFYtgobQVWnUwufRHaNKQpLg4Cq4FB38Wqw4uzro6uAqC4A+Is4OToouU+F1SaBHjHcc9vPe9L3ffAUKjwlSzKwaommWkE3Exl18RA6/owxDNHkQlZurJzEIWnuPrHj6+30V4lnfdn2NAKZgM8InEMaYbFvE68cympXPeJw6xsqQQnxNRBqVdLNcHAITJcpe83h3b2ff/q1p9e8HsopywPnxfBcAAAGDUExURQAAABkMiRwRhiYRgR4WghwdhyUcgSohcycjeiMkhSkmdSopZy8sYBovjzEzVyUykTE3UyQ3kTM1dTM3ZDU9SDZBQCY/lS9DgD9GLT5DazxKMCNOpEFWG0BWLkVQZSVVoUFXKERYFkJYI0ZZEB1ZqztZQD5ZNUZZGD1ZOjxZRTJZbTtZUzVaXjxaS0dbGTdaZyZboSlapkVeFDBZoEldGyxdmDBdiy9cnCJgrDBekjRehjdeeylfpDNfgVFbXDxjdDllfEFkcUJnakdoYTlpkklqW1RtFzxrh01qVk9sT1VuQ1RuSVZvP1pxN2ByKl5zMGR0EmJ0JGN1HWZ2FUR4gmd3F2l5DWl5GWF9Gk18e259E01/eGJ+T2uBFnGGEWqIFmeFSFaIb1qMZ22KPnKOGXSRL3iTE2OUXnOXF3CaRGqbUHibMn2dEnujGn+mDXmqPISrFoGvGYGwNIazEIO2LIu5HJC8DIy/EJLFG5XHCJbIDZjKEZLMEZvMAJbQGZrTB53VAJ6wE90AAAABdFJOUwBA5thmAAALzklEQVR42tVb/VvbRhJ2gHD56EeSNtyFmGJjJyJAQMLYxjYuAQoJ3wad5JQUSBsfoRcgEOMg7erk/uk3uysZ21qBVoHcc/MreTyvZt6ZeWekRCJfYnXbts6ODg/3Xy8sjEeu2ywTmaZGKaBLNvGZyeHu7uvwRbAxkdHpbjHJOkq/BKnJjGrTsyu1/+qGydHh/u7m+OjUpQZ+JKkUcm1UWITExMuqHCeqVuLPLKJiGFqlmWeney/Hid+2p+Xa42/CwXbQPSxsU3MsjAmCAgghI2T3YVx9uTxS60RESkwBtMyDAORWNsWpj6bDaNqZUFyfcNPJxLjrZbwhob9U8iJdCkGRHyDZ+TxzAyh6u4o8y4lIAyxWF9vq/2jty8WG4B/kgDzJml09AIIEHRkkkwjX/9WbTcRZY8eHYj1Pvzx3nff3G21R0MjI8PPnzzpGxgYcNjZlpG45Ov+gmd3ABwuRBmAaO+9u3du3brV3d3VbLd7UmmwXC6TyRfGhp89jUXbwkCKhRMEA0HosXmJIWNfipLfiD387u6tDmadzLq6Oju6vu3plycVaslkKpvLF4fGRp4PxoAqTTBGvRAwutw7YwAAkOK99/7W1dHlsZvf98utRoDIucLIc8hI/BwDyUNr+G18YegbAE62pShE/5sunnXfT8l8y2bTheHBAYLdRdBCBNO2A7gnAGqV0agE/js6vf4h/VN8/yQj2XSmMBxrikFTNRiWbZiBDOHD8ejAj92c8IN/2ce/i0LODAEEyZsFhJEZEIBdfZ3o/YEH4DL/DEN6bNCtinMEqI7NoAZ9eOHhHc7z3+yRAxhwpPhswM3DhAPAqFumAIL9Z3d4/lNTQRDIipwfdhG4TfHEQCgwAAvVPvzcfaPVfWfX/f5g/kkaMs/dITbKAFSOkUAIELY//tTeBL7tlwObIhefNADQWiztGwIAoB0bHx7d6GwjoIApypCTBKcUSzvHBhZD8PZBR3MMfBuQDwJIgouAAijv1SwkgMCyar/daUJw+/GULGaFWIIBoCxQVf3wTAgBqp++utXRVAGC/pO5wXgzgC11+8gQAQBK7fTn2y6C2/2iAVDSTimyXqRuaYQGIkQ0bOvwp65OtwTEAYz1NQGIaGVNrVSRUAws+8OjThqDm/fFAWQLg1LTUNTKZUJELFiM71gpdAdtgs2Wf5JonokkCdsHZ0IxAHn49sGNLwTgdgK1XFbV7UNBIlq15TugC64CQETb0tTSthgRoR2czHd3dHT39F8BABKD0o4gEbH94afujhAkbAYQZSMZAGglTbAjImx9eBSqDLPFRhW4skgjtVjeP0MiU8Goo3896rgZAsDQ03YAEVXXVLV88FmwHeB3P3T1iDeikVhzI3JCoGtQjEdnIiEgWXj34PvH4q046gEQIQBU0pPF2kG99vbvPaIAck/YhiCNNu8nmg5EhJ4sRETSkH7LK4KCIDcoxb0AyEwAHkApYDEa1N7n+hWxcfw0wQUA/YiWglgMMD79Pd0vFIFMXyLu4QDtBppGp4JYO0Do0++5ZAhFJHmOFTQEVJ4IFuOnNymBJGSH/ACoOnREVa0cm0I0gG3h469ZJTCE9MiAD4CISolYqlRNsVLAgCAwDxqqmHcvoghgKpwJDUaGIBswBEpx0AXAORWBOAEEuiARTfM/6OMbOVA/SCmFvvgFAMqEiCWQJ1gMgYU/vkknlSAAhgacRsi92IFCJKWwK7YukWqEWsgFYaIyFI/7cJBamXXESlUQgYnRpz9+CYAAADgZiPIPlowGIE8EkwAy8fTPN7lkcpLYlO+Qzo5cQAG6LJY0gqAsTERSDJ/+eHnek6a4MDLPLwEQITwEIuoHhjACZJ2dOr/iLwifMQATvgCqB1uqSkrhSEwns2Ko/9X0U8Th5GQLA+TCIAUgTfi8T0HYPtsrkzSUdk5M0RgYyLaM1h9M0WRMNgThWIwB4FchMshrglpFU8loFl0ZqdWR2f6rjBFTDMBwNO7n3zQg6+AfG8c7KkGg7X8WR4Btw/T+9rkkHna0QNTrHuE6PdrC6nkAyxJ0AyCiaDGahmVjbnIdAM8SvAhY2HC8U6lZd5IQiogm8kcwBYo0wZFjn2nqkVvNtdM/326qtB1snyDxLCDb9EEwKRcHE953irsH0HipH/qC7vT9P3Mvlzd12hErVSxORNxeCi4CJVuggrBtEGjblYOaZZFXRnX06f2vvyiPlRerJAKEiLUQpYB9YpBMj9GtqA0A8K28d1QzLHz68d+knSsAdXadhAA04kEIGsCj8BFk2IGqHcAWrOflveMatPKGsEnP0SSIXw7cnshHwORQ2yAgAGA33Xn7Mi03lgyluOgg2KlaYUrB5CKIUQDtg4CoEE3Vl/qbNE1KBhpQIqoVwXXJSQLmMTE6wRuFVIxq+lK2ecFIZmfXdEpEdU/scuDGgFcL8QmeGuICgD16fpMhEFepvlkgalzyaAFouhwAIB4WaRI0SkRxBBYnBPEJCUaxBwDZyjR9NZ9qVdaKQwNV3amGAACl0I4gLiXIxw1xrhDUV1+0bRdKdmadhUAVvKU2RFo7AraU8JWovj7dvt4o6bkN3emIZyE6IrKQEeSzBbYO6GuzacVzzlikLZnt7WYYIgYDQFioby5mPACU4pLeIGKIGNg4YAhIDrTVIufSML1OEajhBiO3FPwA6JvTCueq5vSjkrYfqhtYZpAsUPmhb86leVetRfpXtbQVbjAGowFphrq6yLm5AQ1WzmkQAkHdCJIEtaxDz1mf4ayXijKzxmig7oYR6hgHCwGpA22ee+hIz244NNgLo4+C5YBczHV9KS+neHcdRxuo5YMQtWibgXJACkHfmOOFQJHzS0wihhLqIHiDV+IK9+iopKZXHSLuVE1RbQD7phEwB9COp33OXbPuUKiID0YcsBK3gAWby5kk/8btqBNyuhClQcBWQC72mrYx63PbyS872mD7SDQJ0A0Dz0RdWynIvCQoIFJZEsgpVfSSaQYbCJSH6qs0lwWKPLvGSoHIZMFjrhEwBJSHHmF0rk5UPdQFCwAEKkSmjHRtOcMvhGRmmSEAGiB0HRGAXlBmQ9EnCUWHBuSFP74OALQSYCZN80NAVlbN3VUEkiAAgK4ouraYkX1oML/JJKLQrhK0DNlYJpWwMc9PQirpdAOiDUwU/DO44ACckbA249ORlYKzsmoCRzxsW8EBqOT3dX294EcDZ1dRtcAtGQUch40kUBosFZN+NNhwJvNhwMmMA24nLQg0bZH//kEBdaK6kzlYCIIJEk8MNl7lfPqRSwM92EsFC6OIIACHiLN+/WjaWVlhLl4eA1QX9e+uitr6bJb7JsxdWdXS7uXnI2QJNIG2JOir/BikUo1dZe+ySkB2GP+No806vx0ocmGFffJw2c4M+3ko/+cxKPi8eWHagCYBXVkH8Exmoo9ecN+MJx2JWLrwgwOELSMSGkCZjmZ95UWaw8SUuymUyv7SIHz8XRpQHvCZCC15lVWC77bmdywVbQc+/UBJv2IqWfdZ2r/w+VsQgEJSvC3ZPeXuVDlf4hnYRkbki61MVwVAkPdSMZVly5Kq73NK0bKNK/Dv9ERQiUtFTiXk3Y7sKUVof4YZuRJzsrC5OuMRacncovNex6MMLBEFclkWtmgM9PXZdiK42kTVto9bNDKyw7cf364M43k+3/qtTErOrDgq/aAJAHQfy4hcpWkMgba59KIVgZJd1j0zifyPDRSJXDECes3X1dW5FpWkyMuNdbVRiZZlRq7coCEwLm4sTjdBUORFXXNWNeeLD0j/NfhvTAbalIpARsVphksuAKZPofquOP0eKgITVucyWfL0QIHp1RYA5D0VilyXaU5P0rWNlbminFSSCqgSrQkANP/rc88gbLGC1DdX5menZ+aWmDxnHLCs60p/MxHYGYlWxNqG655VQd0yrci1m+YsLTog0PRzAHtnwU6BV1OQDhvPTS0f2ghHvpIBGdsglOgr/sjXMyjIFgzlneOv6Z5RQXWqkpbAQS3y1U0lZKCmbVUi/xtzLnZq5P/a/gvm8NIms2W1xQAAAABJRU5ErkJggg==)}i.material-icons{vertical-align:middle!important}i.spaced{margin-right:.5rem}.reset-action-icon{display:inline-block;width:24px;height:24px;margin-right:.5rem;vertical-align:middle;background-color:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12a8 8 0 1 1-2.34-5.66'/%3E%3Cpath d='M20 4v4h-4'/%3E%3Ccircle cx='12' cy='12' r='1.5' fill='black' stroke='none'/%3E%3C/svg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12a8 8 0 1 1-2.34-5.66'/%3E%3Cpath d='M20 4v4h-4'/%3E%3Ccircle cx='12' cy='12' r='1.5' fill='black' stroke='none'/%3E%3C/svg%3E") no-repeat center/contain}.dark-theme{--mat-app-background-color: #303030;--mat-app-text-color: white;--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-option-selected-state-label-text-color: #1976d2;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: color-mix(in srgb, white 4%, transparent);--mat-option-focus-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-option-selected-state-layer-color: color-mix(in srgb, white 12%, transparent)}.dark-theme .mat-accent{--mat-option-selected-state-label-text-color: #40c4ff;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: color-mix(in srgb, white 4%, transparent);--mat-option-focus-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-option-selected-state-layer-color: color-mix(in srgb, white 12%, transparent)}.dark-theme .mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: color-mix(in srgb, white 4%, transparent);--mat-option-focus-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-option-selected-state-layer-color: color-mix(in srgb, white 12%, transparent)}.dark-theme{--mat-optgroup-label-text-color: white;--mat-pseudo-checkbox-full-selected-icon-color: #40c4ff;--mat-pseudo-checkbox-full-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(255, 255, 255, .7);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #40c4ff;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, white 38%, transparent)}.dark-theme .mat-primary{--mat-pseudo-checkbox-full-selected-icon-color: #1976d2;--mat-pseudo-checkbox-full-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(255, 255, 255, .7);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #1976d2;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, white 38%, transparent)}.dark-theme .mat-accent{--mat-pseudo-checkbox-full-selected-icon-color: #40c4ff;--mat-pseudo-checkbox-full-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(255, 255, 255, .7);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #40c4ff;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, white 38%, transparent)}.dark-theme .mat-warn{--mat-pseudo-checkbox-full-selected-icon-color: #f44336;--mat-pseudo-checkbox-full-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-unselected-icon-color: rgba(255, 255, 255, .7);--mat-pseudo-checkbox-full-disabled-selected-checkmark-color: #303030;--mat-pseudo-checkbox-full-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-full-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-pseudo-checkbox-minimal-selected-checkmark-color: #f44336;--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: color-mix(in srgb, white 38%, transparent)}.dark-theme{--mat-card-elevated-container-color: #424242;--mat-card-elevated-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-card-outlined-container-color: #424242;--mat-card-outlined-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-outlined-outline-color: rgba(255, 255, 255, .12);--mat-card-subtitle-text-color: rgba(255, 255, 255, .7);--mat-card-filled-container-color: #424242;--mat-card-filled-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12)}.dark-theme .mat-mdc-progress-bar{--mat-progress-bar-active-indicator-color: #1976d2;--mat-progress-bar-track-color: rgba(25, 118, 210, .25)}.dark-theme .mat-mdc-progress-bar.mat-accent{--mat-progress-bar-active-indicator-color: #40c4ff;--mat-progress-bar-track-color: rgba(64, 196, 255, .25)}.dark-theme .mat-mdc-progress-bar.mat-warn{--mat-progress-bar-active-indicator-color: #f44336;--mat-progress-bar-track-color: rgba(244, 67, 54, .25)}.dark-theme{--mat-tooltip-container-color: white;--mat-tooltip-supporting-text-color: rgba(0, 0, 0, .87);--mat-form-field-focus-select-arrow-color: color-mix(in srgb, #1976d2 87%, transparent);--mat-form-field-filled-caret-color: #1976d2;--mat-form-field-filled-focus-active-indicator-color: #1976d2;--mat-form-field-filled-focus-label-text-color: color-mix(in srgb, #1976d2 87%, transparent);--mat-form-field-outlined-caret-color: #1976d2;--mat-form-field-outlined-focus-outline-color: #1976d2;--mat-form-field-outlined-focus-label-text-color: color-mix(in srgb, #1976d2 87%, transparent);--mat-form-field-disabled-input-text-placeholder-color: color-mix(in srgb, white 38%, transparent);--mat-form-field-state-layer-color: white;--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: rgba(0, 0, 0, .87);--mat-form-field-select-disabled-option-text-color: rgba(0, 0, 0, .38);--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(255, 255, 255, .7);--mat-form-field-disabled-select-arrow-color: color-mix(in srgb, white 38%, transparent);--mat-form-field-hover-state-layer-opacity: .04;--mat-form-field-focus-state-layer-opacity: .12;--mat-form-field-filled-container-color: #4a4a4a;--mat-form-field-filled-disabled-container-color: color-mix(in srgb, white 4%, transparent);--mat-form-field-filled-label-text-color: rgba(255, 255, 255, .7);--mat-form-field-filled-hover-label-text-color: rgba(255, 255, 255, .7);--mat-form-field-filled-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-form-field-filled-input-text-color: white;--mat-form-field-filled-disabled-input-text-color: color-mix(in srgb, white 38%, transparent);--mat-form-field-filled-input-text-placeholder-color: rgba(255, 255, 255, .7);--mat-form-field-filled-error-hover-label-text-color: #f44336;--mat-form-field-filled-error-focus-label-text-color: #f44336;--mat-form-field-filled-error-label-text-color: #f44336;--mat-form-field-filled-error-caret-color: #f44336;--mat-form-field-filled-active-indicator-color: rgba(255, 255, 255, .7);--mat-form-field-filled-disabled-active-indicator-color: color-mix(in srgb, white 12%, transparent);--mat-form-field-filled-hover-active-indicator-color: white;--mat-form-field-filled-error-active-indicator-color: #f44336;--mat-form-field-filled-error-focus-active-indicator-color: #f44336;--mat-form-field-filled-error-hover-active-indicator-color: #f44336;--mat-form-field-outlined-label-text-color: rgba(255, 255, 255, .7);--mat-form-field-outlined-hover-label-text-color: white;--mat-form-field-outlined-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-form-field-outlined-input-text-color: white;--mat-form-field-outlined-disabled-input-text-color: color-mix(in srgb, white 38%, transparent);--mat-form-field-outlined-input-text-placeholder-color: rgba(255, 255, 255, .7);--mat-form-field-outlined-error-caret-color: #f44336;--mat-form-field-outlined-error-focus-label-text-color: #f44336;--mat-form-field-outlined-error-label-text-color: #f44336;--mat-form-field-outlined-error-hover-label-text-color: #f44336;--mat-form-field-outlined-outline-color: rgba(255, 255, 255, .38);--mat-form-field-outlined-disabled-outline-color: color-mix(in srgb, white 12%, transparent);--mat-form-field-outlined-hover-outline-color: white;--mat-form-field-outlined-error-focus-outline-color: #f44336;--mat-form-field-outlined-error-hover-outline-color: #f44336;--mat-form-field-outlined-error-outline-color: #f44336}.dark-theme .mat-mdc-form-field.mat-accent{--mat-form-field-focus-select-arrow-color: color-mix(in srgb, #40c4ff 87%, transparent);--mat-form-field-filled-caret-color: #40c4ff;--mat-form-field-filled-focus-active-indicator-color: #40c4ff;--mat-form-field-filled-focus-label-text-color: color-mix(in srgb, #40c4ff 87%, transparent);--mat-form-field-outlined-caret-color: #40c4ff;--mat-form-field-outlined-focus-outline-color: #40c4ff;--mat-form-field-outlined-focus-label-text-color: color-mix(in srgb, #40c4ff 87%, transparent)}.dark-theme .mat-mdc-form-field.mat-warn{--mat-form-field-focus-select-arrow-color: color-mix(in srgb, #f44336 87%, transparent);--mat-form-field-filled-caret-color: #f44336;--mat-form-field-filled-focus-active-indicator-color: #f44336;--mat-form-field-filled-focus-label-text-color: color-mix(in srgb, #f44336 87%, transparent);--mat-form-field-outlined-caret-color: #f44336;--mat-form-field-outlined-focus-outline-color: #f44336;--mat-form-field-outlined-focus-label-text-color: color-mix(in srgb, #f44336 87%, transparent)}.dark-theme{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: white;--mat-select-disabled-trigger-text-color: color-mix(in srgb, white 38%, transparent);--mat-select-placeholder-text-color: rgba(255, 255, 255, .7);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .7);--mat-select-disabled-arrow-color: color-mix(in srgb, white 38%, transparent);--mat-select-focused-arrow-color: #1976d2;--mat-select-invalid-arrow-color: #f44336}.dark-theme .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: white;--mat-select-disabled-trigger-text-color: color-mix(in srgb, white 38%, transparent);--mat-select-placeholder-text-color: rgba(255, 255, 255, .7);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .7);--mat-select-disabled-arrow-color: color-mix(in srgb, white 38%, transparent);--mat-select-focused-arrow-color: #40c4ff;--mat-select-invalid-arrow-color: #f44336}.dark-theme .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: white;--mat-select-disabled-trigger-text-color: color-mix(in srgb, white 38%, transparent);--mat-select-placeholder-text-color: rgba(255, 255, 255, .7);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .7);--mat-select-disabled-arrow-color: color-mix(in srgb, white 38%, transparent);--mat-select-focused-arrow-color: #f44336;--mat-select-invalid-arrow-color: #f44336}.dark-theme{--mat-autocomplete-background-color: #424242;--mat-dialog-container-color: #424242;--mat-dialog-subhead-color: white;--mat-dialog-supporting-text-color: rgba(255, 255, 255, .7)}.dark-theme .mat-mdc-standard-chip{--mat-chip-disabled-label-text-color: white;--mat-chip-elevated-container-color: color-mix(in srgb, white 12%, transparent);--mat-chip-elevated-disabled-container-color: color-mix(in srgb, white 12%, transparent);--mat-chip-elevated-selected-container-color: color-mix(in srgb, white 12%, transparent);--mat-chip-flat-disabled-selected-container-color: color-mix(in srgb, white 12%, transparent);--mat-chip-focus-state-layer-color: white;--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: white;--mat-chip-label-text-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: white;--mat-chip-selected-trailing-icon-color: white;--mat-chip-with-icon-disabled-icon-color: white;--mat-chip-with-icon-icon-color: white;--mat-chip-with-icon-selected-icon-color: white;--mat-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mat-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mat-chip-disabled-label-text-color: white;--mat-chip-elevated-container-color: #1976d2;--mat-chip-elevated-disabled-container-color: #1976d2;--mat-chip-elevated-selected-container-color: #1976d2;--mat-chip-flat-disabled-selected-container-color: #1976d2;--mat-chip-focus-state-layer-color: white;--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: white;--mat-chip-label-text-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: white;--mat-chip-selected-trailing-icon-color: white;--mat-chip-with-icon-disabled-icon-color: white;--mat-chip-with-icon-icon-color: white;--mat-chip-with-icon-selected-icon-color: white;--mat-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mat-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mat-chip-disabled-label-text-color: rgba(0, 0, 0, .87);--mat-chip-elevated-container-color: #40c4ff;--mat-chip-elevated-disabled-container-color: #40c4ff;--mat-chip-elevated-selected-container-color: #40c4ff;--mat-chip-flat-disabled-selected-container-color: #40c4ff;--mat-chip-focus-state-layer-color: white;--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: white;--mat-chip-label-text-color: rgba(0, 0, 0, .87);--mat-chip-selected-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: rgba(0, 0, 0, .87);--mat-chip-selected-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-icon-disabled-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-icon-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-icon-selected-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-trailing-icon-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mat-chip-with-trailing-icon-trailing-icon-color: rgba(0, 0, 0, .87)}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mat-chip-disabled-label-text-color: white;--mat-chip-elevated-container-color: #f44336;--mat-chip-elevated-disabled-container-color: #f44336;--mat-chip-elevated-selected-container-color: #f44336;--mat-chip-flat-disabled-selected-container-color: #f44336;--mat-chip-focus-state-layer-color: white;--mat-chip-focus-state-layer-opacity: .12;--mat-chip-hover-state-layer-color: white;--mat-chip-label-text-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-focus-state-layer-color: .12;--mat-chip-selected-focus-state-layer-opacity: .12;--mat-chip-selected-hover-state-layer-color: .04;--mat-chip-selected-label-text-color: white;--mat-chip-selected-trailing-icon-color: white;--mat-chip-with-icon-disabled-icon-color: white;--mat-chip-with-icon-icon-color: white;--mat-chip-with-icon-selected-icon-color: white;--mat-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mat-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme{--mat-slide-toggle-selected-icon-color: white;--mat-slide-toggle-disabled-selected-icon-color: white;--mat-slide-toggle-selected-focus-state-layer-color: #1976d2;--mat-slide-toggle-selected-handle-color: #1976d2;--mat-slide-toggle-selected-hover-state-layer-color: #1976d2;--mat-slide-toggle-selected-pressed-state-layer-color: #1976d2;--mat-slide-toggle-selected-focus-handle-color: #1976d2;--mat-slide-toggle-selected-hover-handle-color: #1976d2;--mat-slide-toggle-selected-pressed-handle-color: #1976d2;--mat-slide-toggle-selected-focus-track-color: #1e88e5;--mat-slide-toggle-selected-hover-track-color: #1e88e5;--mat-slide-toggle-selected-pressed-track-color: #1e88e5;--mat-slide-toggle-selected-track-color: #1e88e5;--mat-slide-toggle-disabled-unselected-track-outline-color: transparent;--mat-slide-toggle-selected-track-outline-color: transparent;--mat-slide-toggle-track-outline-color: transparent;--mat-slide-toggle-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-slide-toggle-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-slide-toggle-disabled-selected-handle-color: white;--mat-slide-toggle-disabled-selected-track-color: white;--mat-slide-toggle-disabled-unselected-handle-color: white;--mat-slide-toggle-disabled-unselected-icon-color: #4a4a4a;--mat-slide-toggle-disabled-unselected-track-color: white;--mat-slide-toggle-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-slide-toggle-handle-surface-color: #424242;--mat-slide-toggle-label-text-color: white;--mat-slide-toggle-unselected-hover-handle-color: white;--mat-slide-toggle-unselected-focus-handle-color: white;--mat-slide-toggle-unselected-focus-state-layer-color: white;--mat-slide-toggle-unselected-focus-track-color: rgba(255, 255, 255, .12);--mat-slide-toggle-unselected-icon-color: #4a4a4a;--mat-slide-toggle-unselected-handle-color: rgba(255, 255, 255, .7);--mat-slide-toggle-unselected-hover-state-layer-color: white;--mat-slide-toggle-unselected-hover-track-color: rgba(255, 255, 255, .12);--mat-slide-toggle-unselected-pressed-handle-color: white;--mat-slide-toggle-unselected-pressed-track-color: rgba(255, 255, 255, .12);--mat-slide-toggle-unselected-pressed-state-layer-color: white;--mat-slide-toggle-unselected-track-color: rgba(255, 255, 255, .12)}.dark-theme .mat-mdc-slide-toggle.mat-accent{--mat-slide-toggle-selected-icon-color: rgba(0, 0, 0, .87);--mat-slide-toggle-disabled-selected-icon-color: rgba(0, 0, 0, .87);--mat-slide-toggle-selected-focus-state-layer-color: #40c4ff;--mat-slide-toggle-selected-handle-color: #40c4ff;--mat-slide-toggle-selected-hover-state-layer-color: #40c4ff;--mat-slide-toggle-selected-pressed-state-layer-color: #40c4ff;--mat-slide-toggle-selected-focus-handle-color: #40c4ff;--mat-slide-toggle-selected-hover-handle-color: #40c4ff;--mat-slide-toggle-selected-pressed-handle-color: #40c4ff;--mat-slide-toggle-selected-focus-track-color: #039be5;--mat-slide-toggle-selected-hover-track-color: #039be5;--mat-slide-toggle-selected-pressed-track-color: #039be5;--mat-slide-toggle-selected-track-color: #039be5}.dark-theme .mat-mdc-slide-toggle.mat-warn{--mat-slide-toggle-selected-icon-color: white;--mat-slide-toggle-disabled-selected-icon-color: white;--mat-slide-toggle-selected-focus-state-layer-color: #f44336;--mat-slide-toggle-selected-handle-color: #f44336;--mat-slide-toggle-selected-hover-state-layer-color: #f44336;--mat-slide-toggle-selected-pressed-state-layer-color: #f44336;--mat-slide-toggle-selected-focus-handle-color: #f44336;--mat-slide-toggle-selected-hover-handle-color: #f44336;--mat-slide-toggle-selected-pressed-handle-color: #f44336;--mat-slide-toggle-selected-focus-track-color: #e53935;--mat-slide-toggle-selected-hover-track-color: #e53935;--mat-slide-toggle-selected-pressed-track-color: #e53935;--mat-slide-toggle-selected-track-color: #e53935}.dark-theme .mat-mdc-radio-button.mat-primary{--mat-radio-checked-ripple-color: #1976d2;--mat-radio-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-radio-disabled-selected-icon-color: white;--mat-radio-disabled-unselected-icon-color: white;--mat-radio-label-text-color: white;--mat-radio-ripple-color: white;--mat-radio-selected-focus-icon-color: #1976d2;--mat-radio-selected-hover-icon-color: #1976d2;--mat-radio-selected-icon-color: #1976d2;--mat-radio-selected-pressed-icon-color: #1976d2;--mat-radio-unselected-focus-icon-color: white;--mat-radio-unselected-hover-icon-color: white;--mat-radio-unselected-icon-color: rgba(255, 255, 255, .7);--mat-radio-unselected-pressed-icon-color: white}.dark-theme .mat-mdc-radio-button.mat-accent{--mat-radio-checked-ripple-color: #40c4ff;--mat-radio-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-radio-disabled-selected-icon-color: white;--mat-radio-disabled-unselected-icon-color: white;--mat-radio-label-text-color: white;--mat-radio-ripple-color: white;--mat-radio-selected-focus-icon-color: #40c4ff;--mat-radio-selected-hover-icon-color: #40c4ff;--mat-radio-selected-icon-color: #40c4ff;--mat-radio-selected-pressed-icon-color: #40c4ff;--mat-radio-unselected-focus-icon-color: white;--mat-radio-unselected-hover-icon-color: white;--mat-radio-unselected-icon-color: rgba(255, 255, 255, .7);--mat-radio-unselected-pressed-icon-color: white}.dark-theme .mat-mdc-radio-button.mat-warn{--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-radio-disabled-selected-icon-color: white;--mat-radio-disabled-unselected-icon-color: white;--mat-radio-label-text-color: white;--mat-radio-ripple-color: white;--mat-radio-selected-focus-icon-color: #f44336;--mat-radio-selected-hover-icon-color: #f44336;--mat-radio-selected-icon-color: #f44336;--mat-radio-selected-pressed-icon-color: #f44336;--mat-radio-unselected-focus-icon-color: white;--mat-radio-unselected-hover-icon-color: white;--mat-radio-unselected-icon-color: rgba(255, 255, 255, .7);--mat-radio-unselected-pressed-icon-color: white}.dark-theme{--mat-slider-active-track-color: #1976d2;--mat-slider-focus-handle-color: #1976d2;--mat-slider-handle-color: #1976d2;--mat-slider-hover-handle-color: #1976d2;--mat-slider-focus-state-layer-color: color-mix(in srgb, #1976d2 12%, transparent);--mat-slider-hover-state-layer-color: color-mix(in srgb, #1976d2 4%, transparent);--mat-slider-inactive-track-color: #1976d2;--mat-slider-ripple-color: #1976d2;--mat-slider-with-tick-marks-active-container-color: white;--mat-slider-with-tick-marks-inactive-container-color: #1976d2;--mat-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-slider-disabled-active-track-color: white;--mat-slider-disabled-handle-color: white;--mat-slider-disabled-inactive-track-color: white;--mat-slider-label-container-color: white;--mat-slider-label-label-text-color: rgba(0, 0, 0, .87);--mat-slider-value-indicator-opacity: 1;--mat-slider-with-overlap-handle-outline-color: white;--mat-slider-with-tick-marks-disabled-container-color: white}.dark-theme .mat-accent{--mat-slider-active-track-color: #40c4ff;--mat-slider-focus-handle-color: #40c4ff;--mat-slider-handle-color: #40c4ff;--mat-slider-hover-handle-color: #40c4ff;--mat-slider-focus-state-layer-color: color-mix(in srgb, #40c4ff 12%, transparent);--mat-slider-hover-state-layer-color: color-mix(in srgb, #40c4ff 4%, transparent);--mat-slider-inactive-track-color: #40c4ff;--mat-slider-ripple-color: #40c4ff;--mat-slider-with-tick-marks-active-container-color: rgba(0, 0, 0, .87);--mat-slider-with-tick-marks-inactive-container-color: #40c4ff}.dark-theme .mat-warn{--mat-slider-active-track-color: #f44336;--mat-slider-focus-handle-color: #f44336;--mat-slider-handle-color: #f44336;--mat-slider-hover-handle-color: #f44336;--mat-slider-focus-state-layer-color: color-mix(in srgb, #f44336 12%, transparent);--mat-slider-hover-state-layer-color: color-mix(in srgb, #f44336 4%, transparent);--mat-slider-inactive-track-color: #f44336;--mat-slider-ripple-color: #f44336;--mat-slider-with-tick-marks-active-container-color: white;--mat-slider-with-tick-marks-inactive-container-color: #f44336}.dark-theme{--mat-menu-item-label-text-color: white;--mat-menu-item-icon-color: white;--mat-menu-item-hover-state-layer-color: color-mix(in srgb, white 4%, transparent);--mat-menu-item-focus-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-menu-container-color: #424242;--mat-menu-divider-color: rgba(255, 255, 255, .12);--mat-list-active-indicator-color: transparent;--mat-list-list-item-container-color: transparent;--mat-list-list-item-selected-container-color: transparent;--mat-list-list-item-leading-avatar-color: transparent;--mat-list-list-item-disabled-state-layer-color: transparent;--mat-list-list-item-label-text-color: white;--mat-list-list-item-supporting-text-color: rgba(255, 255, 255, .7);--mat-list-list-item-leading-icon-color: rgba(255, 255, 255, .7);--mat-list-list-item-trailing-supporting-text-color: rgba(255, 255, 255, .7);--mat-list-list-item-trailing-icon-color: rgba(255, 255, 255, .7);--mat-list-list-item-selected-trailing-icon-color: rgba(255, 255, 255, .7);--mat-list-list-item-disabled-label-text-color: white;--mat-list-list-item-disabled-leading-icon-color: white;--mat-list-list-item-disabled-trailing-icon-color: white;--mat-list-list-item-hover-label-text-color: white;--mat-list-list-item-hover-leading-icon-color: rgba(255, 255, 255, .7);--mat-list-list-item-hover-state-layer-color: white;--mat-list-list-item-hover-state-layer-opacity: .04;--mat-list-list-item-hover-trailing-icon-color: rgba(255, 255, 255, .7);--mat-list-list-item-focus-label-text-color: white;--mat-list-list-item-focus-state-layer-color: white;--mat-list-list-item-focus-state-layer-opacity: .12}.dark-theme .mdc-list-item__start,.dark-theme .mdc-list-item__end{--mat-radio-checked-ripple-color: #1976d2;--mat-radio-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-radio-disabled-selected-icon-color: white;--mat-radio-disabled-unselected-icon-color: white;--mat-radio-label-text-color: white;--mat-radio-ripple-color: white;--mat-radio-selected-focus-icon-color: #1976d2;--mat-radio-selected-hover-icon-color: #1976d2;--mat-radio-selected-icon-color: #1976d2;--mat-radio-selected-pressed-icon-color: #1976d2;--mat-radio-unselected-focus-icon-color: white;--mat-radio-unselected-hover-icon-color: white;--mat-radio-unselected-icon-color: rgba(255, 255, 255, .7);--mat-radio-unselected-pressed-icon-color: white}.dark-theme .mat-accent .mdc-list-item__start,.dark-theme .mat-accent .mdc-list-item__end{--mat-radio-checked-ripple-color: #40c4ff;--mat-radio-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-radio-disabled-selected-icon-color: white;--mat-radio-disabled-unselected-icon-color: white;--mat-radio-label-text-color: white;--mat-radio-ripple-color: white;--mat-radio-selected-focus-icon-color: #40c4ff;--mat-radio-selected-hover-icon-color: #40c4ff;--mat-radio-selected-icon-color: #40c4ff;--mat-radio-selected-pressed-icon-color: #40c4ff;--mat-radio-unselected-focus-icon-color: white;--mat-radio-unselected-hover-icon-color: white;--mat-radio-unselected-icon-color: rgba(255, 255, 255, .7);--mat-radio-unselected-pressed-icon-color: white}.dark-theme .mat-warn .mdc-list-item__start,.dark-theme .mat-warn .mdc-list-item__end{--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-radio-disabled-selected-icon-color: white;--mat-radio-disabled-unselected-icon-color: white;--mat-radio-label-text-color: white;--mat-radio-ripple-color: white;--mat-radio-selected-focus-icon-color: #f44336;--mat-radio-selected-hover-icon-color: #f44336;--mat-radio-selected-icon-color: #f44336;--mat-radio-selected-pressed-icon-color: #f44336;--mat-radio-unselected-focus-icon-color: white;--mat-radio-unselected-hover-icon-color: white;--mat-radio-unselected-icon-color: rgba(255, 255, 255, .7);--mat-radio-unselected-pressed-icon-color: white}.dark-theme .mat-mdc-list-option{--mat-checkbox-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-label-text-color: white;--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #1976d2;--mat-checkbox-selected-hover-icon-color: #1976d2;--mat-checkbox-selected-icon-color: #1976d2;--mat-checkbox-selected-pressed-icon-color: #1976d2;--mat-checkbox-unselected-focus-icon-color: white;--mat-checkbox-unselected-hover-icon-color: white;--mat-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-checkbox-selected-focus-state-layer-color: #1976d2;--mat-checkbox-selected-hover-state-layer-color: #1976d2;--mat-checkbox-selected-pressed-state-layer-color: #1976d2;--mat-checkbox-unselected-focus-state-layer-color: white;--mat-checkbox-unselected-hover-state-layer-color: white;--mat-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-option.mat-accent{--mat-checkbox-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-label-text-color: white;--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-selected-checkmark-color: rgba(0, 0, 0, .87);--mat-checkbox-selected-focus-icon-color: #40c4ff;--mat-checkbox-selected-hover-icon-color: #40c4ff;--mat-checkbox-selected-icon-color: #40c4ff;--mat-checkbox-selected-pressed-icon-color: #40c4ff;--mat-checkbox-unselected-focus-icon-color: white;--mat-checkbox-unselected-hover-icon-color: white;--mat-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-checkbox-selected-focus-state-layer-color: #40c4ff;--mat-checkbox-selected-hover-state-layer-color: #40c4ff;--mat-checkbox-selected-pressed-state-layer-color: #40c4ff;--mat-checkbox-unselected-focus-state-layer-color: white;--mat-checkbox-unselected-hover-state-layer-color: white;--mat-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-option.mat-warn{--mat-checkbox-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-label-text-color: white;--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #f44336;--mat-checkbox-selected-hover-icon-color: #f44336;--mat-checkbox-selected-icon-color: #f44336;--mat-checkbox-selected-pressed-icon-color: #f44336;--mat-checkbox-unselected-focus-icon-color: white;--mat-checkbox-unselected-hover-icon-color: white;--mat-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-checkbox-selected-focus-state-layer-color: #f44336;--mat-checkbox-selected-hover-state-layer-color: #f44336;--mat-checkbox-selected-pressed-state-layer-color: #f44336;--mat-checkbox-unselected-focus-state-layer-color: white;--mat-checkbox-unselected-hover-state-layer-color: white;--mat-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__start,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__start{color:#1976d2}.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}.dark-theme{--mat-paginator-container-text-color: white;--mat-paginator-container-background-color: #424242;--mat-paginator-enabled-icon-color: rgba(255, 255, 255, .7);--mat-paginator-disabled-icon-color: color-mix(in srgb, white 38%, transparent)}.dark-theme .mat-mdc-tab-group,.dark-theme .mat-mdc-tab-nav-bar{--mat-tab-disabled-ripple-color: rgba(255, 255, 255, .7);--mat-tab-pagination-icon-color: white;--mat-tab-inactive-label-text-color: rgba(255, 255, 255, .7);--mat-tab-active-label-text-color: #1976d2;--mat-tab-active-ripple-color: #1976d2;--mat-tab-inactive-ripple-color: #1976d2;--mat-tab-inactive-focus-label-text-color: rgba(255, 255, 255, .7);--mat-tab-inactive-hover-label-text-color: rgba(255, 255, 255, .7);--mat-tab-active-focus-label-text-color: #1976d2;--mat-tab-active-hover-label-text-color: #1976d2;--mat-tab-active-focus-indicator-color: #1976d2;--mat-tab-active-hover-indicator-color: #1976d2;--mat-tab-active-indicator-color: #1976d2}.dark-theme .mat-mdc-tab-group.mat-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-accent{--mat-tab-disabled-ripple-color: rgba(255, 255, 255, .7);--mat-tab-pagination-icon-color: white;--mat-tab-inactive-label-text-color: rgba(255, 255, 255, .7);--mat-tab-active-label-text-color: #40c4ff;--mat-tab-active-ripple-color: #40c4ff;--mat-tab-inactive-ripple-color: #40c4ff;--mat-tab-inactive-focus-label-text-color: rgba(255, 255, 255, .7);--mat-tab-inactive-hover-label-text-color: rgba(255, 255, 255, .7);--mat-tab-active-focus-label-text-color: #40c4ff;--mat-tab-active-hover-label-text-color: #40c4ff;--mat-tab-active-focus-indicator-color: #40c4ff;--mat-tab-active-hover-indicator-color: #40c4ff;--mat-tab-active-indicator-color: #40c4ff}.dark-theme .mat-mdc-tab-group.mat-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-warn{--mat-tab-disabled-ripple-color: rgba(255, 255, 255, .7);--mat-tab-pagination-icon-color: white;--mat-tab-inactive-label-text-color: rgba(255, 255, 255, .7);--mat-tab-active-label-text-color: #f44336;--mat-tab-active-ripple-color: #f44336;--mat-tab-inactive-ripple-color: #f44336;--mat-tab-inactive-focus-label-text-color: rgba(255, 255, 255, .7);--mat-tab-inactive-hover-label-text-color: rgba(255, 255, 255, .7);--mat-tab-active-focus-label-text-color: #f44336;--mat-tab-active-hover-label-text-color: #f44336;--mat-tab-active-focus-indicator-color: #f44336;--mat-tab-active-hover-indicator-color: #f44336;--mat-tab-active-indicator-color: #f44336}.dark-theme .mat-mdc-tab-group.mat-background-primary,.dark-theme .mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-background-color: #1976d2;--mat-tab-foreground-color: white}.dark-theme .mat-mdc-tab-group.mat-background-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-background-color: #40c4ff;--mat-tab-foreground-color: rgba(0, 0, 0, .87)}.dark-theme .mat-mdc-tab-group.mat-background-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-background-color: #f44336;--mat-tab-foreground-color: white}.dark-theme{--mat-checkbox-disabled-label-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-label-text-color: white;--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-selected-checkmark-color: rgba(0, 0, 0, .87);--mat-checkbox-selected-focus-icon-color: #40c4ff;--mat-checkbox-selected-hover-icon-color: #40c4ff;--mat-checkbox-selected-icon-color: #40c4ff;--mat-checkbox-selected-pressed-icon-color: #40c4ff;--mat-checkbox-unselected-focus-icon-color: white;--mat-checkbox-unselected-hover-icon-color: white;--mat-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-checkbox-selected-focus-state-layer-color: #40c4ff;--mat-checkbox-selected-hover-state-layer-color: #40c4ff;--mat-checkbox-selected-pressed-state-layer-color: #40c4ff;--mat-checkbox-unselected-focus-state-layer-color: white;--mat-checkbox-unselected-hover-state-layer-color: white;--mat-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-checkbox.mat-primary{--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #1976d2;--mat-checkbox-selected-hover-icon-color: #1976d2;--mat-checkbox-selected-icon-color: #1976d2;--mat-checkbox-selected-pressed-icon-color: #1976d2;--mat-checkbox-unselected-focus-icon-color: white;--mat-checkbox-unselected-hover-icon-color: white;--mat-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-checkbox-selected-focus-state-layer-color: #1976d2;--mat-checkbox-selected-hover-state-layer-color: #1976d2;--mat-checkbox-selected-pressed-state-layer-color: #1976d2;--mat-checkbox-unselected-focus-state-layer-color: white;--mat-checkbox-unselected-hover-state-layer-color: white;--mat-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-checkbox.mat-warn{--mat-checkbox-disabled-selected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-disabled-unselected-icon-color: color-mix(in srgb, white 38%, transparent);--mat-checkbox-selected-checkmark-color: white;--mat-checkbox-selected-focus-icon-color: #f44336;--mat-checkbox-selected-hover-icon-color: #f44336;--mat-checkbox-selected-icon-color: #f44336;--mat-checkbox-selected-pressed-icon-color: #f44336;--mat-checkbox-unselected-focus-icon-color: white;--mat-checkbox-unselected-hover-icon-color: white;--mat-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-checkbox-selected-focus-state-layer-color: #f44336;--mat-checkbox-selected-hover-state-layer-color: #f44336;--mat-checkbox-selected-pressed-state-layer-color: #f44336;--mat-checkbox-unselected-focus-state-layer-color: white;--mat-checkbox-unselected-hover-state-layer-color: white;--mat-checkbox-unselected-pressed-state-layer-color: white}.dark-theme{--mat-button-filled-container-color: #424242;--mat-button-filled-disabled-container-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-filled-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-button-filled-focus-state-layer-opacity: .12;--mat-button-filled-hover-state-layer-opacity: .04;--mat-button-filled-label-text-color: white;--mat-button-filled-pressed-state-layer-opacity: .12;--mat-button-filled-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-state-layer-color: white;--mat-button-outlined-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-outlined-disabled-outline-color: rgba(255, 255, 255, .12);--mat-button-outlined-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-button-outlined-focus-state-layer-opacity: .12;--mat-button-outlined-hover-state-layer-opacity: .04;--mat-button-outlined-label-text-color: white;--mat-button-outlined-outline-color: rgba(255, 255, 255, .12);--mat-button-outlined-pressed-state-layer-opacity: .12;--mat-button-outlined-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-outlined-state-layer-color: white;--mat-button-protected-container-color: #424242;--mat-button-protected-disabled-container-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-protected-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-button-protected-focus-state-layer-opacity: .12;--mat-button-protected-hover-state-layer-opacity: .04;--mat-button-protected-label-text-color: white;--mat-button-protected-pressed-state-layer-opacity: .12;--mat-button-protected-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-state-layer-color: white;--mat-button-text-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-text-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-button-text-focus-state-layer-opacity: .12;--mat-button-text-hover-state-layer-opacity: .04;--mat-button-text-label-text-color: white;--mat-button-text-pressed-state-layer-opacity: .12;--mat-button-text-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-text-state-layer-color: white;--mat-button-tonal-container-color: #424242;--mat-button-tonal-disabled-container-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-disabled-label-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-tonal-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-button-tonal-focus-state-layer-opacity: .12;--mat-button-tonal-hover-state-layer-opacity: .04;--mat-button-tonal-label-text-color: white;--mat-button-tonal-pressed-state-layer-opacity: .12;--mat-button-tonal-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-state-layer-color: white}.dark-theme .mat-mdc-button.mat-primary,.dark-theme .mat-mdc-unelevated-button.mat-primary,.dark-theme .mat-mdc-raised-button.mat-primary,.dark-theme .mat-mdc-outlined-button.mat-primary,.dark-theme .mat-tonal-button.mat-primary{--mat-button-filled-container-color: #1976d2;--mat-button-filled-label-text-color: white;--mat-button-filled-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-state-layer-color: white;--mat-button-outlined-label-text-color: #1976d2;--mat-button-outlined-outline-color: rgba(255, 255, 255, .12);--mat-button-outlined-ripple-color: color-mix(in srgb, #1976d2 12%, transparent);--mat-button-outlined-state-layer-color: #1976d2;--mat-button-protected-container-color: #1976d2;--mat-button-protected-label-text-color: white;--mat-button-protected-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-state-layer-color: white;--mat-button-text-label-text-color: #1976d2;--mat-button-text-ripple-color: color-mix(in srgb, #1976d2 12%, transparent);--mat-button-text-state-layer-color: #1976d2;--mat-button-tonal-container-color: #1976d2;--mat-button-tonal-label-text-color: white;--mat-button-tonal-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-state-layer-color: white}.dark-theme .mat-mdc-button.mat-accent,.dark-theme .mat-mdc-unelevated-button.mat-accent,.dark-theme .mat-mdc-raised-button.mat-accent,.dark-theme .mat-mdc-outlined-button.mat-accent,.dark-theme .mat-tonal-button.mat-accent{--mat-button-filled-container-color: #40c4ff;--mat-button-filled-label-text-color: rgba(0, 0, 0, .87);--mat-button-filled-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-filled-state-layer-color: rgba(0, 0, 0, .87);--mat-button-outlined-label-text-color: #40c4ff;--mat-button-outlined-outline-color: rgba(255, 255, 255, .12);--mat-button-outlined-ripple-color: color-mix(in srgb, #40c4ff 12%, transparent);--mat-button-outlined-state-layer-color: #40c4ff;--mat-button-protected-container-color: #40c4ff;--mat-button-protected-label-text-color: rgba(0, 0, 0, .87);--mat-button-protected-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-protected-state-layer-color: rgba(0, 0, 0, .87);--mat-button-text-label-text-color: #40c4ff;--mat-button-text-ripple-color: color-mix(in srgb, #40c4ff 12%, transparent);--mat-button-text-state-layer-color: #40c4ff;--mat-button-tonal-container-color: #40c4ff;--mat-button-tonal-label-text-color: rgba(0, 0, 0, .87);--mat-button-tonal-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-button-tonal-state-layer-color: rgba(0, 0, 0, .87)}.dark-theme .mat-mdc-button.mat-warn,.dark-theme .mat-mdc-unelevated-button.mat-warn,.dark-theme .mat-mdc-raised-button.mat-warn,.dark-theme .mat-mdc-outlined-button.mat-warn,.dark-theme .mat-tonal-button.mat-warn{--mat-button-filled-container-color: #f44336;--mat-button-filled-label-text-color: white;--mat-button-filled-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-filled-state-layer-color: white;--mat-button-outlined-label-text-color: #f44336;--mat-button-outlined-outline-color: rgba(255, 255, 255, .12);--mat-button-outlined-ripple-color: color-mix(in srgb, #f44336 12%, transparent);--mat-button-outlined-state-layer-color: #f44336;--mat-button-protected-container-color: #f44336;--mat-button-protected-label-text-color: white;--mat-button-protected-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-protected-state-layer-color: white;--mat-button-text-label-text-color: #f44336;--mat-button-text-ripple-color: color-mix(in srgb, #f44336 12%, transparent);--mat-button-text-state-layer-color: #f44336;--mat-button-tonal-container-color: #f44336;--mat-button-tonal-label-text-color: white;--mat-button-tonal-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-button-tonal-state-layer-color: white}.dark-theme{--mat-icon-button-disabled-icon-color: color-mix(in srgb, white 38%, transparent);--mat-icon-button-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-hover-state-layer-opacity: .04;--mat-icon-button-icon-color: inherit;--mat-icon-button-pressed-state-layer-opacity: .12;--mat-icon-button-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-icon-button-state-layer-color: white}.dark-theme .mat-mdc-icon-button.mat-primary{--mat-icon-button-icon-color: #1976d2;--mat-icon-button-state-layer-color: #1976d2;--mat-icon-button-ripple-color: color-mix(in srgb, #1976d2 12%, transparent)}.dark-theme .mat-mdc-icon-button.mat-accent{--mat-icon-button-icon-color: #40c4ff;--mat-icon-button-state-layer-color: #40c4ff;--mat-icon-button-ripple-color: color-mix(in srgb, #40c4ff 12%, transparent)}.dark-theme .mat-mdc-icon-button.mat-warn{--mat-icon-button-icon-color: #f44336;--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: color-mix(in srgb, #f44336 12%, transparent)}.dark-theme{--mat-fab-container-color: #424242;--mat-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-fab-extended-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-fab-extended-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-extended-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-extended-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-fab-small-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-fab-small-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-fab-disabled-state-container-color: color-mix(in srgb, white 12%, transparent);--mat-fab-disabled-state-foreground-color: color-mix(in srgb, white 38%, transparent);--mat-fab-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-fab-focus-state-layer-opacity: .12;--mat-fab-foreground-color: white;--mat-fab-hover-state-layer-opacity: .04;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-container-color: #424242;--mat-fab-small-disabled-state-container-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-disabled-state-foreground-color: color-mix(in srgb, white 38%, transparent);--mat-fab-small-disabled-state-layer-color: rgba(255, 255, 255, .7);--mat-fab-small-focus-state-layer-opacity: .12;--mat-fab-small-foreground-color: white;--mat-fab-small-hover-state-layer-opacity: .04;--mat-fab-small-pressed-state-layer-opacity: .12;--mat-fab-small-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-state-layer-color: white;--mat-fab-state-layer-color: white}.dark-theme .mat-mdc-fab.mat-primary,.dark-theme .mat-mdc-mini-fab.mat-primary{--mat-fab-container-color: #1976d2;--mat-fab-foreground-color: white;--mat-fab-ripple-color: color-mix(in srgb, #1976d2 12%, transparent);--mat-fab-small-container-color: #1976d2;--mat-fab-small-foreground-color: white;--mat-fab-small-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-state-layer-color: white;--mat-fab-state-layer-color: white}.dark-theme .mat-mdc-fab.mat-accent,.dark-theme .mat-mdc-mini-fab.mat-accent{--mat-fab-container-color: #40c4ff;--mat-fab-foreground-color: rgba(0, 0, 0, .87);--mat-fab-ripple-color: color-mix(in srgb, #40c4ff 12%, transparent);--mat-fab-small-container-color: #40c4ff;--mat-fab-small-foreground-color: rgba(0, 0, 0, .87);--mat-fab-small-ripple-color: color-mix(in srgb, rgba(0, 0, 0, .87) 12%, transparent);--mat-fab-small-state-layer-color: rgba(0, 0, 0, .87);--mat-fab-state-layer-color: rgba(0, 0, 0, .87)}.dark-theme .mat-mdc-fab.mat-warn,.dark-theme .mat-mdc-mini-fab.mat-warn{--mat-fab-container-color: #f44336;--mat-fab-foreground-color: white;--mat-fab-ripple-color: color-mix(in srgb, #f44336 12%, transparent);--mat-fab-small-container-color: #f44336;--mat-fab-small-foreground-color: white;--mat-fab-small-ripple-color: color-mix(in srgb, white 12%, transparent);--mat-fab-small-state-layer-color: white;--mat-fab-state-layer-color: white}.dark-theme{--mat-snack-bar-container-color: white;--mat-snack-bar-supporting-text-color: rgba(0, 0, 0, .87);--mat-snack-bar-button-color: #1e88e5;--mat-table-background-color: #424242;--mat-table-header-headline-color: white;--mat-table-row-item-label-text-color: white;--mat-table-row-item-outline-color: rgba(255, 255, 255, .12);--mat-progress-spinner-active-indicator-color: #1976d2}.dark-theme .mat-accent{--mat-progress-spinner-active-indicator-color: #40c4ff}.dark-theme .mat-warn{--mat-progress-spinner-active-indicator-color: #f44336}.dark-theme{--mat-badge-background-color: #1976d2;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: color-mix(in srgb, white 12%, transparent);--mat-badge-disabled-state-text-color: color-mix(in srgb, white 38%, transparent)}.dark-theme .mat-badge-accent{--mat-badge-background-color: #40c4ff;--mat-badge-text-color: rgba(0, 0, 0, .87)}.dark-theme .mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}.dark-theme{--mat-bottom-sheet-container-text-color: white;--mat-bottom-sheet-container-background-color: #424242;--mat-button-toggle-background-color: #424242;--mat-button-toggle-disabled-selected-state-background-color: color-mix(in srgb, white 12%, transparent);--mat-button-toggle-disabled-selected-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-toggle-disabled-state-background-color: #424242;--mat-button-toggle-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-toggle-divider-color: rgba(255, 255, 255, .12);--mat-button-toggle-legacy-disabled-selected-state-background-color: color-mix(in srgb, white 12%, transparent);--mat-button-toggle-legacy-disabled-state-background-color: #424242;--mat-button-toggle-legacy-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-button-toggle-legacy-selected-state-background-color: color-mix(in srgb, white 12%, transparent);--mat-button-toggle-legacy-selected-state-text-color: white;--mat-button-toggle-legacy-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-button-toggle-legacy-text-color: white;--mat-button-toggle-selected-state-background-color: color-mix(in srgb, white 12%, transparent);--mat-button-toggle-selected-state-text-color: white;--mat-button-toggle-state-layer-color: white;--mat-button-toggle-text-color: white;--mat-datepicker-calendar-date-in-range-state-background-color: color-mix(in srgb, #1976d2 20%, transparent);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: color-mix(in srgb, #40c4ff 20%, transparent);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(27.2643896268%, 64.1081593928%, 36.843769766%);--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #1976d2;--mat-datepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #1976d2 38%, transparent);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #1976d2 12%, transparent);--mat-datepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #1976d2 4%, transparent);--mat-datepicker-toggle-active-state-icon-color: #1976d2;--mat-datepicker-toggle-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-body-label-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-period-button-text-color: white;--mat-datepicker-calendar-period-button-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-navigation-button-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-header-divider-color: rgba(255, 255, 255, .12);--mat-datepicker-calendar-header-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-outline-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-disabled-state-outline-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-date-text-color: white;--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(255, 255, 255, .7);--mat-datepicker-range-input-separator-color: white;--mat-datepicker-range-input-disabled-state-separator-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-range-input-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-container-background-color: #424242;--mat-datepicker-calendar-container-text-color: white}.dark-theme .mat-datepicker-content.mat-accent,.dark-theme .mat-datepicker-toggle-active.mat-accent{--mat-datepicker-calendar-date-in-range-state-background-color: color-mix(in srgb, #40c4ff 20%, transparent);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: color-mix(in srgb, #40c4ff 20%, transparent);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(27.2643896268%, 64.1081593928%, 36.843769766%);--mat-datepicker-calendar-date-selected-state-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-selected-state-background-color: #40c4ff;--mat-datepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #40c4ff 38%, transparent);--mat-datepicker-calendar-date-today-selected-state-outline-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #40c4ff 12%, transparent);--mat-datepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #40c4ff 4%, transparent);--mat-datepicker-toggle-active-state-icon-color: #40c4ff;--mat-datepicker-toggle-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-body-label-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-period-button-text-color: white;--mat-datepicker-calendar-period-button-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-navigation-button-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-header-divider-color: rgba(255, 255, 255, .12);--mat-datepicker-calendar-header-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-outline-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-disabled-state-outline-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-date-text-color: white;--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(255, 255, 255, .7);--mat-datepicker-range-input-separator-color: white;--mat-datepicker-range-input-disabled-state-separator-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-range-input-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-container-background-color: #424242;--mat-datepicker-calendar-container-text-color: white}.dark-theme .mat-datepicker-content.mat-warn,.dark-theme .mat-datepicker-toggle-active.mat-warn{--mat-datepicker-calendar-date-in-range-state-background-color: color-mix(in srgb, #f44336 20%, transparent);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: color-mix(in srgb, #40c4ff 20%, transparent);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(27.2643896268%, 64.1081593928%, 36.843769766%);--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #f44336 38%, transparent);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #f44336 12%, transparent);--mat-datepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #f44336 4%, transparent);--mat-datepicker-toggle-active-state-icon-color: #f44336;--mat-datepicker-toggle-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-body-label-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-period-button-text-color: white;--mat-datepicker-calendar-period-button-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-navigation-button-icon-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-header-divider-color: rgba(255, 255, 255, .12);--mat-datepicker-calendar-header-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-outline-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-disabled-state-outline-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-date-text-color: white;--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(255, 255, 255, .7);--mat-datepicker-range-input-separator-color: white;--mat-datepicker-range-input-disabled-state-separator-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-range-input-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-datepicker-calendar-container-background-color: #424242;--mat-datepicker-calendar-container-text-color: white}.dark-theme{--mat-divider-color: rgba(255, 255, 255, .12);--mat-expansion-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-expansion-container-background-color: #424242;--mat-expansion-container-text-color: white;--mat-expansion-actions-divider-color: rgba(255, 255, 255, .12);--mat-expansion-header-hover-state-layer-color: color-mix(in srgb, white 4%, transparent);--mat-expansion-header-focus-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-expansion-header-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mat-expansion-header-text-color: white;--mat-expansion-header-description-color: rgba(255, 255, 255, .7);--mat-expansion-header-indicator-color: rgba(255, 255, 255, .7);--mat-icon-color: inherit}.dark-theme .mat-icon.mat-primary{--mat-icon-color: #1976d2}.dark-theme .mat-icon.mat-accent{--mat-icon-color: #40c4ff}.dark-theme .mat-icon.mat-warn{--mat-icon-color: #f44336}.dark-theme{--mat-sidenav-container-elevation-shadow: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-sidenav-container-divider-color: rgba(255, 255, 255, .12);--mat-sidenav-container-background-color: #424242;--mat-sidenav-container-text-color: white;--mat-sidenav-content-background-color: #303030;--mat-sidenav-content-text-color: white;--mat-sidenav-scrim-color: rgba(255, 255, 255, .6);--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #1976d2;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #1976d2;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #1976d2;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: #424242;--mat-stepper-line-color: rgba(255, 255, 255, .12);--mat-stepper-header-hover-state-layer-color: color-mix(in srgb, white 4%, transparent);--mat-stepper-header-focus-state-layer-color: color-mix(in srgb, white 12%, transparent);--mat-stepper-header-label-text-color: rgba(255, 255, 255, .7);--mat-stepper-header-optional-label-text-color: rgba(255, 255, 255, .7);--mat-stepper-header-selected-state-label-text-color: white;--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(255, 255, 255, .7);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}.dark-theme .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: rgba(0, 0, 0, .87);--mat-stepper-header-selected-state-icon-background-color: #40c4ff;--mat-stepper-header-selected-state-icon-foreground-color: rgba(0, 0, 0, .87);--mat-stepper-header-done-state-icon-background-color: #40c4ff;--mat-stepper-header-done-state-icon-foreground-color: rgba(0, 0, 0, .87);--mat-stepper-header-edit-state-icon-background-color: #40c4ff;--mat-stepper-header-edit-state-icon-foreground-color: rgba(0, 0, 0, .87)}.dark-theme .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}.dark-theme{--mat-sort-arrow-color: white;--mat-toolbar-container-background-color: #424242;--mat-toolbar-container-text-color: white}.dark-theme .mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #1976d2;--mat-toolbar-container-text-color: white}.dark-theme .mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #40c4ff;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.dark-theme .mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}.dark-theme{--mat-tree-container-background-color: #424242;--mat-tree-node-text-color: white;--mat-timepicker-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-timepicker-container-background-color: #424242;--bg-surface: #0f111a;--bg-accent: #1e2235;--text-primary: #ffffff;--text-secondary: #9aa0a6;--glass-bg: rgba(16, 25, 45, .4);--tooltip-bg: rgba(16, 25, 45, .96);--glass-hover-bg: rgba(16, 25, 45, .6);--glass-border: rgba(255, 255, 255, .15);--glass-border-strong: rgba(255, 255, 255, .55);--nav-active-bg: rgba(100, 181, 246, .18);--nav-active-fg: #e8f2fe;--nav-active-accent: #64b5f6;--glass-shadow: rgba(0, 0, 0, .45);--bg-button: linear-gradient(135deg, #3f51b5, #1a237e);--glass-header-bg: linear-gradient(135deg, rgba(100, 116, 139, .3), rgba(30, 41, 59, .2))}.dark-theme uds-sidebar .sidebar-link .icon,.dark-theme uds-navbar .context-icon{filter:brightness(0) invert(1)}.card,.detail{background:var(--glass-bg)!important;backdrop-filter:var(--glass-backdrop-filter)!important;-webkit-backdrop-filter:var(--glass-backdrop-filter)!important;border:1px solid var(--glass-border)!important;border-radius:20px!important;box-shadow:0 8px 32px 0 var(--glass-shadow)!important;margin:60px 0 1.5rem!important;overflow:visible!important;color:var(--text-primary)!important;transition:transform .3s ease,box-shadow .3s ease;position:relative}.card:hover,.detail:hover{transform:translateY(-2px);box-shadow:0 12px 48px 0 var(--glass-shadow)!important}.detail{background:transparent!important;border:none!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;margin-top:50px!important}.card-header,.detail>.title{background:linear-gradient(135deg,#ffffff1f,#ffffff0d)!important;backdrop-filter:blur(40px) saturate(210%)!important;-webkit-backdrop-filter:blur(40px) saturate(210%)!important;color:var(--text-primary)!important;position:absolute;top:-42px;left:30px;width:auto;min-width:280px;max-width:calc(100% - 60px);z-index:10;border:1px solid rgba(255,255,255,.3)!important;border-top:1.5px solid rgba(255,255,255,.5)!important;border-left:1.5px solid rgba(255,255,255,.5)!important;box-shadow:0 10px 40px #00000040,inset 0 0 0 1px #ffffff1a!important;padding:8px 18px!important;border-radius:12px!important;font-weight:600;letter-spacing:.5px;text-shadow:0 1px 3px rgba(0,0,0,.2);display:flex!important;flex-direction:column!important;justify-content:center!important;min-height:48px}.card-header.title,.detail>.title.title{flex-direction:row!important;align-items:center!important;gap:12px}.card-header img,.detail>.title img{height:24px!important;width:auto!important;filter:drop-shadow(0 2px 4px rgba(0,0,0,.1));vertical-align:middle}.card-header .material-icons,.detail>.title .material-icons{font-size:24px!important;vertical-align:middle!important;opacity:.9}.card-header .card-title,.detail>.title .card-title{display:flex;align-items:center;gap:10px;font-size:1.1rem;white-space:nowrap}.card-header .card-title img,.detail>.title .card-title img{height:24px;width:auto;filter:drop-shadow(0 2px 4px rgba(0,0,0,.1))}.card-header .card-subtitle,.detail>.title .card-subtitle{display:block;width:100%;font-size:.8rem;opacity:.8;margin-top:-2px;padding-left:34px}.card-title img.header-icon{filter:grayscale(100%) brightness(.8) sepia(100%) hue-rotate(190deg) saturate(500%);opacity:.9}.nav-header>.card-header,.detail>.title{display:none!important}.card:not(.nav-header)>.card-header{position:static!important;top:auto!important;left:auto!important;width:auto!important;min-width:0!important;max-width:none!important;min-height:0!important;z-index:auto!important;margin:1.25rem 1.25rem 0!important;padding:0 0 .75rem!important;background:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:none!important;border-bottom:1px solid var(--glass-border)!important;border-radius:0!important;box-shadow:none!important;text-shadow:none!important}.card:not(.nav-header)>.card-header+.card-content>.header{margin-top:1.25rem!important}.card,.detail{margin-top:20px!important}.mat-mdc-menu-panel{background-color:var(--glass-bg)!important;backdrop-filter:var(--glass-backdrop-filter)!important;-webkit-backdrop-filter:var(--glass-backdrop-filter)!important;border:1px solid var(--glass-border)!important;box-shadow:0 8px 32px 0 var(--glass-shadow)!important;border-radius:16px!important;padding:8px!important}.mat-mdc-menu-item{color:var(--text-primary)!important;border-radius:10px!important;transition:background-color .2s ease,color .2s ease!important}.mat-mdc-menu-item:hover{background-color:var(--glass-hover-bg)!important}.mat-mdc-select-panel{background-color:var(--glass-bg)!important;backdrop-filter:var(--glass-backdrop-filter)!important;-webkit-backdrop-filter:var(--glass-backdrop-filter)!important;border:1px solid var(--glass-border)!important;box-shadow:0 8px 32px 0 var(--glass-shadow)!important;border-radius:16px!important}.mat-mdc-option{color:var(--text-primary)!important}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--glass-hover-bg)!important}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--glass-bg)!important;backdrop-filter:var(--glass-backdrop-filter)!important;-webkit-backdrop-filter:var(--glass-backdrop-filter)!important;border:1px solid var(--glass-border)!important;border-radius:24px!important;box-shadow:0 24px 64px 0 var(--glass-shadow)!important}.mat-mdc-tooltip .mdc-tooltip__surface{background:var(--tooltip-bg)!important;box-shadow:0 4px 16px #00000040!important;backdrop-filter:var(--glass-backdrop-filter)!important;-webkit-backdrop-filter:var(--glass-backdrop-filter)!important;border:1px solid var(--glass-border)!important;color:var(--text-primary)!important;border-radius:8px!important}.mat-mdc-tab-group{border-radius:20px!important;background:transparent!important;overflow:visible!important}.mat-mdc-tab-group .mat-mdc-tab-header{background:var(--glass-header-bg)!important;backdrop-filter:blur(25px) saturate(210%)!important;-webkit-backdrop-filter:blur(25px) saturate(210%)!important;border-bottom:1px solid var(--glass-border)!important;border-radius:20px 20px 0 0!important;padding:10px 16px 0!important;margin-bottom:8px!important}.mat-mdc-tab-group .mat-mdc-tab .mdc-tab__text-label{color:var(--text-primary)!important;opacity:.7!important;font-weight:500!important;transition:color .3s ease,opacity .3s ease!important}.mat-mdc-tab-group .mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--text-primary)!important;opacity:1!important;font-weight:600!important}.mat-mdc-tab-group .mat-mdc-tab:hover:not(.mdc-tab--active) .mdc-tab__text-label{opacity:1!important}.detail .card .mat-mdc-tab-header{padding-top:28px!important}.mat-mdc-raised-button,.mat-mdc-unelevated-button,.mat-mdc-dialog-actions .mat-mdc-button,.mat-actions .mat-mdc-button{background:var(--bg-button)!important;color:#fff!important;border-radius:12px!important;border:1px solid rgba(255,255,255,.25)!important;box-shadow:0 4px 15px var(--glass-shadow)!important;transition:transform .3s cubic-bezier(.4,0,.2,1),box-shadow .3s cubic-bezier(.4,0,.2,1),filter .3s ease!important;font-weight:500!important;letter-spacing:.3px!important;-webkit-backdrop-filter:blur(4px)!important;backdrop-filter:blur(4px)!important}.mat-mdc-raised-button:hover,.mat-mdc-unelevated-button:hover,.mat-mdc-dialog-actions .mat-mdc-button:hover,.mat-actions .mat-mdc-button:hover{transform:translateY(-2px) scale(1.02);box-shadow:0 8px 30px var(--glass-shadow)!important;filter:brightness(1.1)}.mat-mdc-raised-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-dialog-actions .mat-mdc-button .mdc-button__label,.mat-actions .mat-mdc-button .mdc-button__label{text-shadow:0 1px 2px rgba(0,0,0,.1)}.mat-mdc-dialog-actions{padding:16px 24px!important;gap:12px!important}.mat-mdc-slide-toggle.mat-primary{--mdc-switch-selected-focus-state-layer-color: #2196f3;--mdc-switch-selected-handle-color: #2196f3;--mdc-switch-selected-hover-state-layer-color: rgba(33, 150, 243, .1);--mdc-switch-selected-pressed-state-layer-color: rgba(33, 150, 243, .2);--mdc-switch-selected-track-color: rgba(33, 150, 243, .4)}.mat-mdc-slide-toggle.mat-primary .mdc-switch__track{background:#0000001a!important;border:1px solid var(--glass-border)!important}.mat-mdc-slide-toggle.mat-primary.mat-mdc-slide-toggle-checked .mdc-switch__handle{background:#2196f3!important;box-shadow:0 0 10px #2196f380}.mat-mdc-slide-toggle.mat-primary.mat-mdc-slide-toggle-checked .mdc-switch__track{background:#2196f333!important}.dark-theme .mat-mdc-slide-toggle.mat-primary{--mdc-switch-selected-handle-color: #64b5f6;--mdc-switch-selected-track-color: rgba(100, 181, 246, .4)}.dark-theme .mat-mdc-slide-toggle.mat-primary.mat-mdc-slide-toggle-checked .mdc-switch__handle{background:#64b5f6!important;box-shadow:0 0 15px #64b5f699}.dark-theme .mat-mdc-slide-toggle.mat-primary.mat-mdc-slide-toggle-checked .mdc-switch__track{background:#64b5f640!important}.mat-mdc-checkbox.mat-primary{--mdc-checkbox-selected-focus-icon-color: #2196f3;--mdc-checkbox-selected-hover-icon-color: #2196f3;--mdc-checkbox-selected-icon-color: #2196f3;--mdc-checkbox-selected-pressed-icon-color: #2196f3}.dark-theme{scrollbar-color:rgba(255,255,255,.22) transparent;scrollbar-width:thin}.dark-theme *::-webkit-scrollbar{width:10px;height:10px}.dark-theme *::-webkit-scrollbar-track{background:transparent}.dark-theme *::-webkit-scrollbar-thumb{background:#fff3;border-radius:8px;border:2px solid transparent;background-clip:content-box}.dark-theme *::-webkit-scrollbar-thumb:hover{background:#ffffff59;background-clip:content-box} diff --git a/src/uds/static/modern/main.js b/src/uds/static/modern/main.js index d29214c5c..1887000cc 100644 --- a/src/uds/static/modern/main.js +++ b/src/uds/static/modern/main.js @@ -1,8 +1,8 @@ -var BO=Object.defineProperty,zO=Object.defineProperties;var HO=Object.getOwnPropertyDescriptors;var Vu=Object.getOwnPropertySymbols;var KC=Object.prototype.hasOwnProperty,QC=Object.prototype.propertyIsEnumerable;var YC=(t,n,e)=>n in t?BO(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,w=(t,n)=>{for(var e in n||={})KC.call(n,e)&&YC(t,e,n[e]);if(Vu)for(var e of Vu(n))QC.call(n,e)&&YC(t,e,n[e]);return t},de=(t,n)=>zO(t,HO(n));var Vg=(t,n)=>{var e={};for(var i in t)KC.call(t,i)&&n.indexOf(i)<0&&(e[i]=t[i]);if(t!=null&&Vu)for(var i of Vu(t))n.indexOf(i)<0&&QC.call(t,i)&&(e[i]=t[i]);return e};var z=(t,n,e)=>new Promise((i,r)=>{var o=l=>{try{s(e.next(l))}catch(c){r(c)}},a=l=>{try{s(e.throw(l))}catch(c){r(c)}},s=l=>l.done?i(l.value):Promise.resolve(l.value).then(o,a);s((e=e.apply(t,n)).next())});var lc=[null],ju=[!1],da=1,UO=null,Ot=Symbol("SIGNAL");function se(t){let n=lc[0];return lc[0]=t,n}function Bu(){return lc[0]}var yo={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Rr(t){if(ju[0])throw new Error("");let n=lc[0];if(n===null)return;n.consumerOnSignalRead(t);let e=n.producersTail;if(e!==void 0&&e.producer===t)return;let i,r=n.recomputing;if(r&&(i=e!==void 0?e.nextProducer:n.producers,i!==void 0&&i.producer===t)){n.producersTail=i,i.lastReadVersion=t.version,i.knownValidAtEpoch=da;return}let o=t.consumersTail;if(o!==void 0&&o.consumer===n&&(!r||o.knownValidAtEpoch===da))return;let a=bs(n),s={producer:t,consumer:n,nextProducer:i,prevConsumer:void 0,knownValidAtEpoch:da,lastReadVersion:t.version,nextConsumer:void 0};n.producersTail=s,e!==void 0?e.nextProducer=s:n.producers=s,a&&ew(t,s)}function ZC(){da++}function _o(t){if(!(bs(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===da)){if(!t.producerMustRecompute(t)&&!gs(t)){hs(t);return}t.producerRecomputeValue(t),hs(t)}}function jg(t){if(t.consumers===void 0)return;let n=ju[0];ju[0]=!0;try{for(let e=t.consumers;e!==void 0;e=e.nextConsumer){let i=e.consumer;i.dirty||$O(i)}}finally{ju[0]=n}}function Bg(){return lc[0]?.consumerAllowSignalWrites!==!1}function $O(t){t.dirty=!0,jg(t),t.consumerMarkedDirty?.(t)}function hs(t){t.dirty=!1,t.lastCleanEpoch=da}function Or(t){return t&&XC(t),se(t)}function XC(t){if(t.producersTail?.knownValidAtEpoch===da){let n=t.producers;for(;n!==void 0;)n.knownValidAtEpoch=null,n=n.nextProducer}t.producersTail=void 0,t.recomputing=!0}function xo(t,n){se(n),t&&JC(t)}function JC(t){t.recomputing=!1;let n=t.producersTail,e=n!==void 0?n.nextProducer:t.producers;if(e!==void 0){if(bs(t))do e=zg(e);while(e!==void 0);n!==void 0?n.nextProducer=void 0:t.producers=void 0}}function gs(t){for(let n=t.producers;n!==void 0;n=n.nextProducer){let e=n.producer,i=n.lastReadVersion;if(i!==e.version||(_o(e),i!==e.version))return!0}return!1}function Co(t){if(bs(t)){let n=t.producers;for(;n!==void 0;)n=zg(n)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function ew(t,n){let e=t.consumersTail,i=bs(t);if(e!==void 0?(n.nextConsumer=e.nextConsumer,e.nextConsumer=n):(n.nextConsumer=void 0,t.consumers=n),n.prevConsumer=e,t.consumersTail=n,!i)for(let r=t.producers;r!==void 0;r=r.nextProducer)ew(r.producer,r)}function zg(t){let n=t.producer,e=t.nextProducer,i=t.nextConsumer,r=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,i!==void 0?i.prevConsumer=r:n.consumersTail=r,r!==void 0)r.nextConsumer=i;else if(n.consumers=i,!bs(n)){let o=n.producers;for(;o!==void 0;)o=zg(o)}return e}function bs(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function cc(t){UO?.(t)}function dc(t,n){return Object.is(t,n)}function uc(t,n){let e=Object.create(GO);e.computation=t,n!==void 0&&(e.equal=n);let i=()=>{if(_o(e),Rr(e),e.value===ci)throw e.error;return e.value};return i[Ot]=e,cc(e),i}var ua=Symbol("UNSET"),ma=Symbol("COMPUTING"),ci=Symbol("ERRORED"),GO=de(w({},yo),{value:ua,dirty:!0,error:null,equal:dc,kind:"computed",producerMustRecompute(t){return t.value===ua||t.value===ma},producerRecomputeValue(t){if(t.value===ma)throw new Error("");let n=t.value;t.value=ma;let e=Or(t),i,r=!1;try{i=t.computation(),se(null),r=n!==ua&&n!==ci&&i!==ci&&t.equal(n,i)}catch(o){i=ci,t.error=o}finally{xo(t,e)}if(r){t.value=n;return}t.value=i,t.version++}});function WO(){throw new Error}var tw=WO;function nw(t){tw(t)}function Hg(t){tw=t}var qO=null;function Ug(t,n){let e=Object.create(vs);e.value=t,n!==void 0&&(e.equal=n);let i=()=>iw(e);return i[Ot]=e,cc(e),[i,a=>wo(e,a),a=>zu(e,a)]}function iw(t){return Rr(t),t.value}function wo(t,n){Bg()||nw(t),t.equal(t.value,n)||(t.value=n,YO(t))}function zu(t,n){Bg()||nw(t),wo(t,n(t.value))}var vs=de(w({},yo),{equal:dc,value:void 0,kind:"signal"});function YO(t){t.version++,ZC(),jg(t),qO?.(t)}var $g=de(w({},yo),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Gg(t){if(t.dirty=!1,t.version>0&&!gs(t))return;t.version++;let n=Or(t);try{t.cleanup(),t.fn()}finally{xo(t,n)}}var Wg=[void 0];function Hu(){return Wg[0]}function sr(t){let n=Wg[0];return Wg[0]=t,n}var rw=Symbol("NotFound");function ys(t){return t===rw||t?.name==="\u0275NotFound"}function qg(t,n,e){let i=Object.create(KO);i.source=t,i.computation=n,e!=null&&(i.equal=e);let o=()=>{if(_o(i),Rr(i),i.value===ci)throw i.error;return i.value};return o[Ot]=i,cc(i),o}function Yg(t,n){_o(t),wo(t,n),hs(t)}function ow(t,n){if(_o(t),t.value===ci)throw t.error;zu(t,n),hs(t)}var KO=de(w({},yo),{value:ua,dirty:!0,error:null,equal:dc,kind:"linkedSignal",producerMustRecompute(t){return t.value===ua||t.value===ma},producerRecomputeValue(t){if(t.value===ma)throw new Error("");let n=t.value;t.value=ma;let e=Or(t),i,r=!1;try{let o=t.source(),a=n!==ua&&n!==ci,s=a?{source:t.sourceValue,value:n}:void 0;i=t.computation(o,s),t.sourceValue=o,se(null),r=a&&i!==ci&&t.equal(n,i)}catch(o){i=ci,t.error=o}finally{xo(t,e)}if(r){t.value=n;return}t.value=i,t.version++}});function aw(t){let n=se(null);try{return t()}finally{se(n)}}function ve(t){return typeof t=="function"}function So(t){let e=t(i=>{Error.call(i),i.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Uu=So(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription: +var BO=Object.defineProperty,zO=Object.defineProperties;var HO=Object.getOwnPropertyDescriptors;var Vu=Object.getOwnPropertySymbols;var KC=Object.prototype.hasOwnProperty,QC=Object.prototype.propertyIsEnumerable;var YC=(t,n,e)=>n in t?BO(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,w=(t,n)=>{for(var e in n||={})KC.call(n,e)&&YC(t,e,n[e]);if(Vu)for(var e of Vu(n))QC.call(n,e)&&YC(t,e,n[e]);return t},de=(t,n)=>zO(t,HO(n));var Vg=(t,n)=>{var e={};for(var i in t)KC.call(t,i)&&n.indexOf(i)<0&&(e[i]=t[i]);if(t!=null&&Vu)for(var i of Vu(t))n.indexOf(i)<0&&QC.call(t,i)&&(e[i]=t[i]);return e};var z=(t,n,e)=>new Promise((i,r)=>{var o=l=>{try{s(e.next(l))}catch(c){r(c)}},a=l=>{try{s(e.throw(l))}catch(c){r(c)}},s=l=>l.done?i(l.value):Promise.resolve(l.value).then(o,a);s((e=e.apply(t,n)).next())});var lc=[null],ju=[!1],ua=1,UO=null,Ot=Symbol("SIGNAL");function se(t){let n=lc[0];return lc[0]=t,n}function Bu(){return lc[0]}var yo={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Rr(t){if(ju[0])throw new Error("");let n=lc[0];if(n===null)return;n.consumerOnSignalRead(t);let e=n.producersTail;if(e!==void 0&&e.producer===t)return;let i,r=n.recomputing;if(r&&(i=e!==void 0?e.nextProducer:n.producers,i!==void 0&&i.producer===t)){n.producersTail=i,i.lastReadVersion=t.version,i.knownValidAtEpoch=ua;return}let o=t.consumersTail;if(o!==void 0&&o.consumer===n&&(!r||o.knownValidAtEpoch===ua))return;let a=vs(n),s={producer:t,consumer:n,nextProducer:i,prevConsumer:void 0,knownValidAtEpoch:ua,lastReadVersion:t.version,nextConsumer:void 0};n.producersTail=s,e!==void 0?e.nextProducer=s:n.producers=s,a&&ew(t,s)}function ZC(){ua++}function _o(t){if(!(vs(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===ua)){if(!t.producerMustRecompute(t)&&!bs(t)){gs(t);return}t.producerRecomputeValue(t),gs(t)}}function jg(t){if(t.consumers===void 0)return;let n=ju[0];ju[0]=!0;try{for(let e=t.consumers;e!==void 0;e=e.nextConsumer){let i=e.consumer;i.dirty||$O(i)}}finally{ju[0]=n}}function Bg(){return lc[0]?.consumerAllowSignalWrites!==!1}function $O(t){t.dirty=!0,jg(t),t.consumerMarkedDirty?.(t)}function gs(t){t.dirty=!1,t.lastCleanEpoch=ua}function Or(t){return t&&XC(t),se(t)}function XC(t){if(t.producersTail?.knownValidAtEpoch===ua){let n=t.producers;for(;n!==void 0;)n.knownValidAtEpoch=null,n=n.nextProducer}t.producersTail=void 0,t.recomputing=!0}function xo(t,n){se(n),t&&JC(t)}function JC(t){t.recomputing=!1;let n=t.producersTail,e=n!==void 0?n.nextProducer:t.producers;if(e!==void 0){if(vs(t))do e=zg(e);while(e!==void 0);n!==void 0?n.nextProducer=void 0:t.producers=void 0}}function bs(t){for(let n=t.producers;n!==void 0;n=n.nextProducer){let e=n.producer,i=n.lastReadVersion;if(i!==e.version||(_o(e),i!==e.version))return!0}return!1}function Co(t){if(vs(t)){let n=t.producers;for(;n!==void 0;)n=zg(n)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function ew(t,n){let e=t.consumersTail,i=vs(t);if(e!==void 0?(n.nextConsumer=e.nextConsumer,e.nextConsumer=n):(n.nextConsumer=void 0,t.consumers=n),n.prevConsumer=e,t.consumersTail=n,!i)for(let r=t.producers;r!==void 0;r=r.nextProducer)ew(r.producer,r)}function zg(t){let n=t.producer,e=t.nextProducer,i=t.nextConsumer,r=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,i!==void 0?i.prevConsumer=r:n.consumersTail=r,r!==void 0)r.nextConsumer=i;else if(n.consumers=i,!vs(n)){let o=n.producers;for(;o!==void 0;)o=zg(o)}return e}function vs(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function cc(t){UO?.(t)}function dc(t,n){return Object.is(t,n)}function uc(t,n){let e=Object.create(GO);e.computation=t,n!==void 0&&(e.equal=n);let i=()=>{if(_o(e),Rr(e),e.value===di)throw e.error;return e.value};return i[Ot]=e,cc(e),i}var ma=Symbol("UNSET"),fa=Symbol("COMPUTING"),di=Symbol("ERRORED"),GO=de(w({},yo),{value:ma,dirty:!0,error:null,equal:dc,kind:"computed",producerMustRecompute(t){return t.value===ma||t.value===fa},producerRecomputeValue(t){if(t.value===fa)throw new Error("");let n=t.value;t.value=fa;let e=Or(t),i,r=!1;try{i=t.computation(),se(null),r=n!==ma&&n!==di&&i!==di&&t.equal(n,i)}catch(o){i=di,t.error=o}finally{xo(t,e)}if(r){t.value=n;return}t.value=i,t.version++}});function WO(){throw new Error}var tw=WO;function nw(t){tw(t)}function Hg(t){tw=t}var qO=null;function Ug(t,n){let e=Object.create(ys);e.value=t,n!==void 0&&(e.equal=n);let i=()=>iw(e);return i[Ot]=e,cc(e),[i,a=>wo(e,a),a=>zu(e,a)]}function iw(t){return Rr(t),t.value}function wo(t,n){Bg()||nw(t),t.equal(t.value,n)||(t.value=n,YO(t))}function zu(t,n){Bg()||nw(t),wo(t,n(t.value))}var ys=de(w({},yo),{equal:dc,value:void 0,kind:"signal"});function YO(t){t.version++,ZC(),jg(t),qO?.(t)}var $g=de(w({},yo),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Gg(t){if(t.dirty=!1,t.version>0&&!bs(t))return;t.version++;let n=Or(t);try{t.cleanup(),t.fn()}finally{xo(t,n)}}var Wg=[void 0];function Hu(){return Wg[0]}function sr(t){let n=Wg[0];return Wg[0]=t,n}var rw=Symbol("NotFound");function _s(t){return t===rw||t?.name==="\u0275NotFound"}function qg(t,n,e){let i=Object.create(KO);i.source=t,i.computation=n,e!=null&&(i.equal=e);let o=()=>{if(_o(i),Rr(i),i.value===di)throw i.error;return i.value};return o[Ot]=i,cc(i),o}function Yg(t,n){_o(t),wo(t,n),gs(t)}function ow(t,n){if(_o(t),t.value===di)throw t.error;zu(t,n),gs(t)}var KO=de(w({},yo),{value:ma,dirty:!0,error:null,equal:dc,kind:"linkedSignal",producerMustRecompute(t){return t.value===ma||t.value===fa},producerRecomputeValue(t){if(t.value===fa)throw new Error("");let n=t.value;t.value=fa;let e=Or(t),i,r=!1;try{let o=t.source(),a=n!==ma&&n!==di,s=a?{source:t.sourceValue,value:n}:void 0;i=t.computation(o,s),t.sourceValue=o,se(null),r=a&&i!==di&&t.equal(n,i)}catch(o){i=di,t.error=o}finally{xo(t,e)}if(r){t.value=n;return}t.value=i,t.version++}});function aw(t){let n=se(null);try{return t()}finally{se(n)}}function ve(t){return typeof t=="function"}function So(t){let e=t(i=>{Error.call(i),i.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Uu=So(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription: ${e.map((i,r)=>`${r+1}) ${i.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=e});function fa(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var xe=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let o of e)o.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(ve(i))try{i()}catch(o){n=o instanceof Uu?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{sw(o)}catch(a){n=n??[],a instanceof Uu?n=[...n,...a.errors]:n.push(a)}}if(n)throw new Uu(n)}}add(n){var e;if(n&&n!==this)if(this.closed)sw(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&fa(e,n)}remove(n){let{_finalizers:e}=this;e&&fa(e,n),n instanceof t&&n._removeParent(this)}};xe.EMPTY=(()=>{let t=new xe;return t.closed=!0,t})();var Kg=xe.EMPTY;function $u(t){return t instanceof xe||t&&"closed"in t&&ve(t.remove)&&ve(t.add)&&ve(t.unsubscribe)}function sw(t){ve(t)?t():t.unsubscribe()}var ki={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var _s={setTimeout(t,n,...e){let{delegate:i}=_s;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=_s;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Gu(t){_s.setTimeout(()=>{let{onUnhandledError:n}=ki;if(n)n(t);else throw t})}function mc(){}var lw=Qg("C",void 0,void 0);function cw(t){return Qg("E",void 0,t)}function dw(t){return Qg("N",t,void 0)}function Qg(t,n,e){return{kind:t,value:n,error:e}}var pa=null;function xs(t){if(ki.useDeprecatedSynchronousErrorHandling){let n=!pa;if(n&&(pa={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:i}=pa;if(pa=null,e)throw i}}else t()}function uw(t){ki.useDeprecatedSynchronousErrorHandling&&pa&&(pa.errorThrown=!0,pa.error=t)}var ha=class extends xe{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,$u(n)&&n.add(this)):this.destination=XO}static create(n,e,i){return new Ti(n,e,i)}next(n){this.isStopped?Xg(dw(n),this):this._next(n)}error(n){this.isStopped?Xg(cw(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Xg(lw,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},QO=Function.prototype.bind;function Zg(t,n){return QO.call(t,n)}var Jg=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){Wu(i)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){Wu(i)}else Wu(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){Wu(e)}}},Ti=class extends ha{constructor(n,e,i){super();let r;if(ve(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&ki.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Zg(n.next,o),error:n.error&&Zg(n.error,o),complete:n.complete&&Zg(n.complete,o)}):r=n}this.destination=new Jg(r)}};function Wu(t){ki.useDeprecatedSynchronousErrorHandling?uw(t):Gu(t)}function ZO(t){throw t}function Xg(t,n){let{onStoppedNotification:e}=ki;e&&_s.setTimeout(()=>e(t,n))}var XO={closed:!0,next:mc,error:ZO,complete:mc};var Cs=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Zn(t){return t}function qu(...t){return eb(t)}function eb(t){return t.length===0?Zn:t.length===1?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}var fe=class t{constructor(n){n&&(this._subscribe=n)}lift(n){let e=new t;return e.source=this,e.operator=n,e}subscribe(n,e,i){let r=e1(n)?n:new Ti(n,e,i);return xs(()=>{let{operator:o,source:a}=this;r.add(o?o.call(r,a):a?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(n){try{return this._subscribe(n)}catch(e){n.error(e)}}forEach(n,e){return e=mw(e),new e((i,r)=>{let o=new Ti({next:a=>{try{n(a)}catch(s){r(s),o.unsubscribe()}},error:r,complete:i});this.subscribe(o)})}_subscribe(n){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(n)}[Cs](){return this}pipe(...n){return eb(n)(this)}toPromise(n){return n=mw(n),new n((e,i)=>{let r;this.subscribe(o=>r=o,o=>i(o),()=>e(r))})}};fe.create=t=>new fe(t);function mw(t){var n;return(n=t??ki.Promise)!==null&&n!==void 0?n:Promise}function JO(t){return t&&ve(t.next)&&ve(t.error)&&ve(t.complete)}function e1(t){return t&&t instanceof ha||JO(t)&&$u(t)}function t1(t){return ve(t?.lift)}function ke(t){return n=>{if(t1(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ne(t,n,e,i,r){return new tb(t,n,e,i,r)}var tb=class extends ha{constructor(n,e,i,r,o,a){super(n),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=e?function(s){try{e(s)}catch(l){n.error(l)}}:super._next,this._error=r?function(s){try{r(s)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};var fw=So(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var R=class extends fe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let e=new Yu(this,this);return e.operator=n,e}_throwIfClosed(){if(this.closed)throw new fw}next(n){xs(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let e of this.currentObservers)e.next(n)}})}error(n){xs(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:e}=this;for(;e.length;)e.shift().error(n)}})}complete(){xs(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:e,isStopped:i,observers:r}=this;return e||i?Kg:(this.currentObservers=null,r.push(n),new xe(()=>{this.currentObservers=null,fa(r,n)}))}_checkFinalizedStatuses(n){let{hasError:e,thrownError:i,isStopped:r}=this;e?n.error(i):r&&n.complete()}asObservable(){let n=new fe;return n.source=this,n}};R.create=(t,n)=>new Yu(t,n);var Yu=class extends R{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,n)}error(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&i!==void 0?i:Kg}};var Kt=class extends R{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}};var fc={now(){return(fc.delegate||Date).now()},delegate:void 0};var Eo=class extends R{constructor(n=1/0,e=1/0,i=fc){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){let{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:a}=this;e||(i.push(n),!r&&i.push(o.now()+a)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let a=0;at.complete());function Xu(t){return t&&ve(t.schedule)}function nb(t){return t[t.length-1]}function Ju(t){return ve(nb(t))?t.pop():void 0}function lr(t){return Xu(nb(t))?t.pop():void 0}function hw(t,n){return typeof nb(t)=="number"?t.pop():n}function bw(t,n,e,i){function r(o){return o instanceof e?o:new e(function(a){a(o)})}return new(e||(e=Promise))(function(o,a){function s(d){try{c(i.next(d))}catch(m){a(m)}}function l(d){try{c(i.throw(d))}catch(m){a(m)}}function c(d){d.done?o(d.value):r(d.value).then(s,l)}c((i=i.apply(t,n||[])).next())})}function gw(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function ga(t){return this instanceof ga?(this.v=t,this):new ga(t)}function vw(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(t,n||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",a),r[Symbol.asyncIterator]=function(){return this},r;function a(f){return function(g){return Promise.resolve(g).then(f,m)}}function s(f,g){i[f]&&(r[f]=function(_){return new Promise(function(E,L){o.push([f,_,E,L])>1||l(f,_)})},g&&(r[f]=g(r[f])))}function l(f,g){try{c(i[f](g))}catch(_){p(o[0][3],_)}}function c(f){f.value instanceof ga?Promise.resolve(f.value.v).then(d,m):p(o[0][2],f)}function d(f){l("next",f)}function m(f){l("throw",f)}function p(f,g){f(g),o.shift(),o.length&&l(o[0][0],o[0][1])}}function yw(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof gw=="function"?gw(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=t[o]&&function(a){return new Promise(function(s,l){a=t[o](a),r(s,l,a.done,a.value)})}}function r(o,a,s,l){Promise.resolve(l).then(function(c){o({value:c,done:s})},a)}}var Ss=(t=>t&&typeof t.length=="number"&&typeof t!="function");function em(t){return ve(t?.then)}function tm(t){return ve(t[Cs])}function nm(t){return Symbol.asyncIterator&&ve(t?.[Symbol.asyncIterator])}function im(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function n1(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var rm=n1();function om(t){return ve(t?.[rm])}function am(t){return vw(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:i,done:r}=yield ga(e.read());if(r)return yield ga(void 0);yield yield ga(i)}}finally{e.releaseLock()}})}function sm(t){return ve(t?.getReader)}function et(t){if(t instanceof fe)return t;if(t!=null){if(tm(t))return i1(t);if(Ss(t))return r1(t);if(em(t))return o1(t);if(nm(t))return _w(t);if(om(t))return a1(t);if(sm(t))return s1(t)}throw im(t)}function i1(t){return new fe(n=>{let e=t[Cs]();if(ve(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function r1(t){return new fe(n=>{for(let e=0;e{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,Gu)})}function a1(t){return new fe(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function _w(t){return new fe(n=>{l1(t,n).catch(e=>n.error(e))})}function s1(t){return _w(am(t))}function l1(t,n){var e,i,r,o;return bw(this,void 0,void 0,function*(){try{for(e=yw(t);i=yield e.next(),!i.done;){let a=i.value;if(n.next(a),n.closed)return}}catch(a){r={error:a}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}n.complete()})}function Cn(t,n,e,i=0,r=!1){let o=n.schedule(function(){e(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(o),!r)return o}function lm(t,n=0){return ke((e,i)=>{e.subscribe(Ne(i,r=>Cn(i,t,()=>i.next(r),n),()=>Cn(i,t,()=>i.complete(),n),r=>Cn(i,t,()=>i.error(r),n)))})}function cm(t,n=0){return ke((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function xw(t,n){return et(t).pipe(cm(n),lm(n))}function Cw(t,n){return et(t).pipe(cm(n),lm(n))}function ww(t,n){return new fe(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}function Sw(t,n){return new fe(e=>{let i;return Cn(e,n,()=>{i=t[rm](),Cn(e,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(a){e.error(a);return}o?e.complete():e.next(r)},0,!0)}),()=>ve(i?.return)&&i.return()})}function dm(t,n){if(!t)throw new Error("Iterable cannot be null");return new fe(e=>{Cn(e,n,()=>{let i=t[Symbol.asyncIterator]();Cn(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function Ew(t,n){return dm(am(t),n)}function Dw(t,n){if(t!=null){if(tm(t))return xw(t,n);if(Ss(t))return ww(t,n);if(em(t))return Cw(t,n);if(nm(t))return dm(t,n);if(om(t))return Sw(t,n);if(sm(t))return Ew(t,n)}throw im(t)}function bt(t,n){return n?Dw(t,n):et(t)}function pe(...t){let n=lr(t);return bt(t,n)}function ib(t,n){let e=ve(t)?t:()=>t,i=r=>r.error(e());return new fe(n?r=>n.schedule(i,0,r):i)}function hc(t){return!!t&&(t instanceof fe||ve(t.lift)&&ve(t.subscribe))}var Fr=So(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function Lr(t,n){let e=typeof n=="object";return new Promise((i,r)=>{let o=new Ti({next:a=>{i(a),o.unsubscribe()},error:r,complete:()=>{e?i(n.defaultValue):r(new Fr)}});t.subscribe(o)})}function um(t){return t instanceof Date&&!isNaN(t)}var c1=So(t=>function(e=null){t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=e});function rb(t,n){let{first:e,each:i,with:r=d1,scheduler:o=n??Pr,meta:a=null}=um(t)?{first:t}:typeof t=="number"?{each:t}:t;if(e==null&&i==null)throw new TypeError("No timeout provided.");return ke((s,l)=>{let c,d,m=null,p=0,f=g=>{d=Cn(l,o,()=>{try{c.unsubscribe(),et(r({meta:a,lastValue:m,seen:p})).subscribe(l)}catch(_){l.error(_)}},g)};c=s.subscribe(Ne(l,g=>{d?.unsubscribe(),p++,l.next(m=g),i>0&&f(i)},void 0,void 0,()=>{d?.closed||d?.unsubscribe(),m=null})),!p&&f(e!=null?typeof e=="number"?e:+e-o.now():i)})}function d1(t){throw new c1(t)}function Ae(t,n){return ke((e,i)=>{let r=0;e.subscribe(Ne(i,o=>{i.next(t.call(n,o,r++))}))})}var{isArray:u1}=Array;function m1(t,n){return u1(n)?t(...n):t(n)}function Es(t){return Ae(n=>m1(t,n))}var{isArray:f1}=Array,{getPrototypeOf:p1,prototype:h1,keys:g1}=Object;function mm(t){if(t.length===1){let n=t[0];if(f1(n))return{args:n,keys:null};if(b1(n)){let e=g1(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function b1(t){return t&&typeof t=="object"&&p1(t)===h1}function fm(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}function Ds(...t){let n=lr(t),e=Ju(t),{args:i,keys:r}=mm(t);if(i.length===0)return bt([],n);let o=new fe(v1(i,n,r?a=>fm(r,a):Zn));return e?o.pipe(Es(e)):o}function v1(t,n,e=Zn){return i=>{Mw(n,()=>{let{length:r}=t,o=new Array(r),a=r,s=r;for(let l=0;l{let c=bt(t[l],n),d=!1;c.subscribe(Ne(i,m=>{o[l]=m,d||(d=!0,s--),s||i.next(e(o.slice()))},()=>{--a||i.complete()}))},i)},i)}}function Mw(t,n,e){t?Cn(e,t,n):n()}function Iw(t,n,e,i,r,o,a,s){let l=[],c=0,d=0,m=!1,p=()=>{m&&!l.length&&!c&&n.complete()},f=_=>c{o&&n.next(_),c++;let E=!1;et(e(_,d++)).subscribe(Ne(n,L=>{r?.(L),o?f(L):n.next(L)},()=>{E=!0},void 0,()=>{if(E)try{for(c--;l.length&&cg(L)):g(L)}p()}catch(L){n.error(L)}}))};return t.subscribe(Ne(n,f,()=>{m=!0,p()})),()=>{s?.()}}function nn(t,n,e=1/0){return ve(n)?nn((i,r)=>Ae((o,a)=>n(i,o,r,a))(et(t(i,r))),e):(typeof n=="number"&&(e=n),ke((i,r)=>Iw(i,r,t,e)))}function Do(t=1/0){return nn(Zn,t)}function kw(){return Do(1)}function Mo(...t){return kw()(bt(t,lr(t)))}function Ni(t){return new fe(n=>{et(t()).subscribe(n)})}function ob(...t){let n=Ju(t),{args:e,keys:i}=mm(t),r=new fe(o=>{let{length:a}=e;if(!a){o.complete();return}let s=new Array(a),l=a,c=a;for(let d=0;d{m||(m=!0,c--),s[d]=p},()=>l--,void 0,()=>{(!l||!m)&&(c||o.next(i?fm(i,s):s),o.complete())}))}});return n?r.pipe(Es(n)):r}var y1=["addListener","removeListener"],_1=["addEventListener","removeEventListener"],x1=["on","off"];function gc(t,n,e,i){if(ve(e)&&(i=e,e=void 0),i)return gc(t,n,e).pipe(Es(i));let[r,o]=S1(t)?_1.map(a=>s=>t[a](n,s,e)):C1(t)?y1.map(Tw(t,n)):w1(t)?x1.map(Tw(t,n)):[];if(!r&&Ss(t))return nn(a=>gc(a,n,e))(et(t));if(!r)throw new TypeError("Invalid event target");return new fe(a=>{let s=(...l)=>a.next(1o(s)})}function Tw(t,n){return e=>i=>t[e](n,i)}function C1(t){return ve(t.addListener)&&ve(t.removeListener)}function w1(t){return ve(t.on)&&ve(t.off)}function S1(t){return ve(t.addEventListener)&&ve(t.removeEventListener)}function ba(t=0,n,e=pw){let i=-1;return n!=null&&(Xu(n)?e=n:i=n),new fe(r=>{let o=um(t)?+t-e.now():t;o<0&&(o=0);let a=0;return e.schedule(function(){r.closed||(r.next(a++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function ab(t=0,n=Pr){return t<0&&(t=0),ba(t,t,n)}function rn(...t){let n=lr(t),e=hw(t,1/0),i=t;return i.length?i.length===1?et(i[0]):Do(e)(bt(i,n)):xt}function Me(t,n){return ke((e,i)=>{let r=0;e.subscribe(Ne(i,o=>t.call(n,o,r++)&&i.next(o)))})}function Nw(t){return ke((n,e)=>{let i=!1,r=null,o=null,a=!1,s=()=>{if(o?.unsubscribe(),o=null,i){i=!1;let c=r;r=null,e.next(c)}a&&e.complete()},l=()=>{o=null,a&&e.complete()};n.subscribe(Ne(e,c=>{i=!0,r=c,o||et(t(c)).subscribe(o=Ne(e,s,l))},()=>{a=!0,(!i||!o||o.closed)&&e.complete()}))})}function pm(t,n=Pr){return Nw(()=>ba(t,n))}function va(t){return ke((n,e)=>{let i=null,r=!1,o;i=n.subscribe(Ne(e,void 0,void 0,a=>{o=et(t(a,va(t)(n))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}function Io(t,n){return ve(n)?nn(t,n,1):nn(t,1)}function Ai(t,n=Pr){return ke((e,i)=>{let r=null,o=null,a=null,s=()=>{if(r){r.unsubscribe(),r=null;let c=o;o=null,i.next(c)}};function l(){let c=a+t,d=n.now();if(d{o=c,a=n.now(),r||(r=n.schedule(l,t),i.add(r))},()=>{s(),i.complete()},void 0,()=>{o=r=null}))})}function Aw(t){return ke((n,e)=>{let i=!1;n.subscribe(Ne(e,r=>{i=!0,e.next(r)},()=>{i||e.next(t),e.complete()}))})}function Pt(t){return t<=0?()=>xt:ke((n,e)=>{let i=0;n.subscribe(Ne(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}function Ms(t,n=Zn){return t=t??E1,ke((e,i)=>{let r,o=!0;e.subscribe(Ne(i,a=>{let s=n(a);(o||!t(r,s))&&(o=!1,r=s,i.next(a))}))})}function E1(t,n){return t===n}function Rw(t=D1){return ke((n,e)=>{let i=!1;n.subscribe(Ne(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(t())))})}function D1(){return new Fr}function Is(t){return ke((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function Vr(t,n){let e=arguments.length>=2;return i=>i.pipe(t?Me((r,o)=>t(r,o,i)):Zn,Pt(1),e?Aw(n):Rw(()=>new Fr))}function hm(t){return t<=0?()=>xt:ke((n,e)=>{let i=[];n.subscribe(Ne(e,r=>{i.push(r),t{for(let r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}function gm(){return ke((t,n)=>{let e,i=!1;t.subscribe(Ne(n,r=>{let o=e;e=r,i&&n.next([o,r]),i=!0}))})}function Ow(t={}){let{connector:n=()=>new R,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return o=>{let a,s,l,c=0,d=!1,m=!1,p=()=>{s?.unsubscribe(),s=void 0},f=()=>{p(),a=l=void 0,d=m=!1},g=()=>{let _=a;f(),_?.unsubscribe()};return ke((_,E)=>{c++,!m&&!d&&p();let L=l=l??n();E.add(()=>{c--,c===0&&!m&&!d&&(s=sb(g,r))}),L.subscribe(E),!a&&c>0&&(a=new Ti({next:A=>L.next(A),error:A=>{m=!0,p(),s=sb(f,e,A),L.error(A)},complete:()=>{d=!0,p(),s=sb(f,i),L.complete()}}),et(_).subscribe(a))})(o)}}function sb(t,n,...e){if(n===!0){t();return}if(n===!1)return;let i=new Ti({next:()=>{i.unsubscribe(),t()}});return et(n(...e)).subscribe(i)}function bm(t,n,e){let i,r=!1;return t&&typeof t=="object"?{bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:e}=t:i=t??1/0,Ow({connector:()=>new Eo(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function ya(t){return Me((n,e)=>t<=e)}function vt(...t){let n=lr(t);return ke((e,i)=>{(n?Mo(t,e,n):Mo(t,e)).subscribe(i)})}function St(t,n){return ke((e,i)=>{let r=null,o=0,a=!1,s=()=>a&&!r&&i.complete();e.subscribe(Ne(i,l=>{r?.unsubscribe();let c=0,d=o++;et(t(l,d)).subscribe(r=Ne(i,m=>i.next(n?n(l,m,d,c++):m),()=>{r=null,s()}))},()=>{a=!0,s()}))})}function Ye(t){return ke((n,e)=>{et(t).subscribe(Ne(e,()=>e.complete(),mc)),!e.closed&&n.subscribe(e)})}function lb(t,n=!1){return ke((e,i)=>{let r=0;e.subscribe(Ne(i,o=>{let a=t(o,r++);(a||n)&&i.next(o),!a&&i.complete()}))})}function wn(t,n,e){let i=ve(t)||n||e?{next:t,error:n,complete:e}:t;return i?ke((r,o)=>{var a;(a=i.subscribe)===null||a===void 0||a.call(i);let s=!0;r.subscribe(Ne(o,l=>{var c;(c=i.next)===null||c===void 0||c.call(i,l),o.next(l)},()=>{var l;s=!1,(l=i.complete)===null||l===void 0||l.call(i),o.complete()},l=>{var c;s=!1,(c=i.error)===null||c===void 0||c.call(i,l),o.error(l)},()=>{var l,c;s&&((l=i.unsubscribe)===null||l===void 0||l.call(i)),(c=i.finalize)===null||c===void 0||c.call(i)}))}):Zn}var Sb="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",D=class extends Error{code;constructor(n,e){super(di(n,e)),this.code=n}};function M1(t){return`NG0${Math.abs(t)}`}function di(t,n){return`${M1(t)}${n?": "+n:""}`}function at(t){for(let n in t)if(t[n]===at)return n;throw Error("")}function Bw(t,n){for(let e in n)Object.hasOwn(n,e)&&!Object.hasOwn(t,e)&&(t[e]=n[e])}function wc(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(wc).join(", ")}]`;if(t==null)return""+t;let n=t.overriddenName||t.name;if(n)return`${n}`;let e=t.toString();if(e==null)return""+e;let i=e.indexOf(` -`);return i>=0?e.slice(0,i):e}function Sm(t,n){return t?n?`${t} ${n}`:t:n||""}var I1=at({__forward_ref__:at});function Hn(t){return t.__forward_ref__=Hn,t}function on(t){return Eb(t)?t():t}function Eb(t){return typeof t=="function"&&Object.hasOwn(t,I1)&&t.__forward_ref__===Hn}function re(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function W(t){return{providers:t.providers||[],imports:t.imports||[]}}function Sc(t){return k1(t,Em)}function Db(t){return Sc(t)!==null}function k1(t,n){return Object.hasOwn(t,n)&&t[n]||null}function T1(t){let n=t?.[Em]??null;return n||null}function db(t){return t&&Object.hasOwn(t,ym)?t[ym]:null}var Em=at({\u0275prov:at}),ym=at({\u0275inj:at}),C=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,e){this._desc=n,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=re({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Mb(t){return t&&!!t.\u0275providers}var Ec=at({\u0275cmp:at}),Dc=at({\u0275dir:at}),Ib=at({\u0275pipe:at}),kb=at({\u0275mod:at}),yc=at({\u0275fac:at}),Ea=at({__NG_ELEMENT_ID__:at}),Pw=at({__NG_ENV_ID__:at});function zw(t){return Dm(t,"@NgModule"),t[kb]||null}function Hr(t){return Dm(t,"@Component"),t[Ec]||null}function Mc(t){return Dm(t,"@Directive"),t[Dc]||null}function Hw(t){return Dm(t,"@Pipe"),t[Ib]||null}function Dm(t,n){if(t==null)throw new D(-919,!1)}function Pi(t){return typeof t=="string"?t:t==null?"":String(t)}var Uw=at({ngErrorCode:at}),N1=at({ngErrorMessage:at}),A1=at({ngTokenPath:at});function Tb(t,n){return $w("",-200,n)}function Mm(t,n){throw new D(-201,!1)}function $w(t,n,e){let i=new D(n,t);return i[Uw]=n,i[N1]=t,e&&(i[A1]=e),i}function R1(t){return t[Uw]}var ub;function Gw(){return ub}function Nn(t){let n=ub;return ub=t,n}function Nb(t,n,e){let i=Sc(t);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&8)return null;if(n!==void 0)return n;Mm(t,"")}var En=globalThis;var O1={},_a=O1,P1="__NG_DI_FLAG__",mb=class{injector;constructor(n){this.injector=n}retrieve(n,e){let i=xa(e)||0;try{return this.injector.get(n,i&8?null:_a,i)}catch(r){if(ys(r))return r;throw r}}};function F1(t,n=0){let e=Hu();if(e===void 0)throw new D(-203,!1);if(e===null)return Nb(t,void 0,n);{let i=L1(n),r=e.retrieve(t,i);if(ys(r)){if(i.optional)return null;throw r}return r}}function K(t,n=0){return(Gw()||F1)(on(t),n)}function u(t,n){return K(t,xa(n))}function xa(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function L1(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function fb(t){let n=[];for(let e=0;eArray.isArray(e)?Im(e,n):n(e))}function Ab(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Ic(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function Yw(t,n){let e=[];for(let i=0;in;){let o=r-2;t[r]=t[o],r--}t[n]=e,t[n+1]=i}}function km(t,n,e){let i=Ns(t,n);return i>=0?t[i|1]=e:(i=~i,Kw(t,i,n,e)),i}function Tm(t,n){let e=Ns(t,n);if(e>=0)return t[e|1]}function Ns(t,n){return j1(t,n,1)}function j1(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){let o=i+(r-i>>1),a=t[o<n?r=o:i=o+1}return~(r<{e.push(a)};return Im(n,a=>{let s=a;_m(s,o,[],i)&&(r||=[],r.push(s))}),r!==void 0&&Zw(r,o),e}function Zw(t,n){for(let e=0;e{n(o,i)})}}function _m(t,n,e,i){if(t=on(t),!t)return!1;let r=null,o=db(t),a=!o&&Hr(t);if(!o&&!a){let l=t.ngModule;if(o=db(l),o)r=l;else return!1}else{if(a&&!a.standalone)return!1;r=t}let s=i.has(r);if(a){if(s)return!1;if(i.add(r),a.dependencies){let l=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let c of l)_m(c,n,e,i)}}else if(o){if(o.imports!=null&&!s){i.add(r);let c;Im(o.imports,d=>{_m(d,n,e,i)&&(c||=[],c.push(d))}),c!==void 0&&Zw(c,n)}if(!s){let c=To(r)||(()=>new r);n({provide:r,useFactory:c,deps:Sn},r),n({provide:Ob,useValue:r,multi:!0},r),n({provide:Ao,useValue:()=>K(r),multi:!0},r)}let l=o.providers;if(l!=null&&!s){let c=t;Fb(l,d=>{n(d,c)})}}else return!1;return r!==t&&t.providers!==void 0}function Fb(t,n){for(let e of t)Mb(e)&&(e=e.\u0275providers),Array.isArray(e)?Fb(e,n):n(e)}var B1=at({provide:String,useValue:at});function Xw(t){return t!==null&&typeof t=="object"&&B1 in t}function z1(t){return!!(t&&t.useExisting)}function H1(t){return!!(t&&t.useFactory)}function Ca(t){return typeof t=="function"}function Jw(t){return!!t.useClass}var kc=new C(""),vm={},Fw={},cb;function As(){return cb===void 0&&(cb=new Ts),cb}var lt=class{},wa=class extends lt{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,hb(n,a=>this.processProvider(a)),this.records.set(Rb,ks(void 0,this)),r.has("environment")&&this.records.set(lt,ks(void 0,this));let o=this.records.get(kc);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Ob,Sn,{self:!0}))}retrieve(n,e){let i=xa(e)||0;try{return this.get(n,_a,i)}catch(r){if(ys(r))return r;throw r}}destroy(){bc(this),this._destroyed=!0;let n=se(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),se(n)}}onDestroy(n){return bc(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){bc(this);let e=sr(this),i=Nn(void 0),r;try{return n()}finally{sr(e),Nn(i)}}get(n,e=_a,i){if(bc(this),Object.hasOwn(n,Pw))return n[Pw](this);let r=xa(i),o,a=sr(this),s=Nn(void 0);try{if(!(r&4)){let c=this.records.get(n);if(c===void 0){let d=q1(n)&&Sc(n);d&&this.injectableDefInScope(d)?c=ks(pb(n),vm):c=null,this.records.set(n,c)}if(c!=null)return this.hydrate(n,c,r)}let l=r&2?As():this.parent;return e=r&8&&e===_a?null:e,l.get(n,e)}catch(l){let c=R1(l);throw c===-200||c===-201?new D(c,null):l}finally{Nn(s),sr(a)}}resolveInjectorInitializers(){let n=se(null),e=sr(this),i=Nn(void 0),r;try{let o=this.get(Ao,Sn,{self:!0});for(let a of o)a()}finally{sr(e),Nn(i),se(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=on(n);let e=Ca(n)?n:on(n&&n.provide),i=$1(n);if(!Ca(n)&&n.multi===!0){let r=this.records.get(e);r||(r=ks(void 0,vm,!0),r.factory=()=>fb(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e,i){let r=se(null);try{if(e.value===Fw)throw Tb("");return e.value===vm&&(e.value=Fw,e.value=e.factory(void 0,i)),typeof e.value=="object"&&e.value&&W1(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{se(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=on(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function pb(t){let n=Sc(t),e=n!==null?n.factory:To(t);if(e!==null)return e;if(t instanceof C)throw new D(-204,!1);if(t instanceof Function)return U1(t);throw new D(-204,!1)}function U1(t){if(t.length>0)throw new D(-204,!1);let e=T1(t);return e!==null?()=>e.factory(t):()=>new t}function $1(t){if(Xw(t))return ks(void 0,t.useValue);{let n=Lb(t);return ks(n,vm)}}function Lb(t,n,e){let i;if(Ca(t)){let r=on(t);return To(r)||pb(r)}else if(Xw(t))i=()=>on(t.useValue);else if(H1(t))i=()=>t.useFactory(...fb(t.deps||[]));else if(z1(t))i=(r,o)=>K(on(t.useExisting),o!==void 0&&o&8?8:void 0);else{let r=on(t&&(t.useClass||t.provide));if(G1(t))i=()=>new r(...fb(t.deps));else return To(r)||pb(r)}return i}function bc(t){if(t.destroyed)throw new D(-205,!1)}function ks(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function G1(t){return!!t.deps}function W1(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function q1(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function hb(t,n){for(let e of t)Array.isArray(e)?hb(e,n):e&&Mb(e)?hb(e.\u0275providers,n):n(e)}function Qt(t,n){let e;t instanceof wa?(bc(t),e=t):e=new mb(t);let i,r=sr(e),o=Nn(void 0);try{return n()}finally{sr(r),Nn(o)}}function Vb(){return Gw()!==void 0||Hu()!=null}var Fi=0,ge=1,Ce=2,Gt=3,ui=4,pn=5,Da=6,Rs=7,Ft=8,Ur=9,Li=10,mt=11,Os=12,jb=13,Ro=14,Dn=15,Oo=16,Ma=17,dr=18,Tc=19,Bb=20,jr=21,Nm=22,Br=23,Xn=24,Ia=25,eS=26,Ps=27,Tt=28,tS=1,zb=6,ka=7,Nc=8,Ta=9,Lt=10;function $r(t){return Array.isArray(t)&&typeof t[tS]=="object"}function mi(t){return Array.isArray(t)&&t[tS]===!0}function Hb(t){return(t.flags&4)!==0}function ur(t){return t.componentOffset>-1}function Ac(t){return(t.flags&1)===1}function Vi(t){return!!t.template}function Fs(t){return(t[Ce]&512)!==0}function Na(t){return(t[Ce]&256)===256}var ut=(function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t[t.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",t})(ut||{}),vc,Sa="svg",Am="math",gb="",Lw="*",bb=()=>Object.create(null);function Y1(){return vc||(vc=bb(),ko(ut.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),ko(ut.STYLE,void 0,[["*",["style"]]]),ko(ut.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]]]),ko(ut.URL,Am,[["*",["href","xlink:href"]]]),ko(ut.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),ko(ut.URL,Sa,[["a",["href","xlink:href"]]]),ko(ut.ATTRIBUTE_NO_BINDING,Sa,[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),ko(ut.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority","credentialless"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority","credentialless"]]]),vc)}function ko(t,n,e){let i=n??gb;for(let[r,o]of e){let a=r.toLowerCase();for(let s of o){let l=s.toLowerCase(),c=vc[l]??=bb(),d=c[i]??=bb();d[a]=t}}}function nS(t,n,e){let r=Y1()[n.toLowerCase()];if(!r)return ut.NONE;let o=t.toLowerCase(),a;if(e){let s=r[e];s&&(a=s[o]??s[Lw])}if(a===void 0){let s=r[gb];s&&(a=s[o]??s[Lw])}if(a===void 0&&(!e||e===gb)){let s=r[Sa];s&&(a=s[o])}return a??ut.NONE}function hn(t){for(;Array.isArray(t);)t=t[Fi];return t}function Ub(t,n){return hn(n[t])}function Un(t,n){return hn(n[t.index])}function Rm(t,n){return t.data[n]}function $b(t,n){return t[n]}function Gb(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function fi(t,n){let e=n[t];return $r(e)?e:e[Fi]}function iS(t){return(t[Ce]&4)===4}function Om(t){return(t[Ce]&128)===128}function rS(t){return mi(t[Gt])}function Jn(t,n){return n==null?null:t[n]}function Wb(t){t[Ma]=0}function qb(t){t[Ce]&1024||(t[Ce]|=1024,Om(t)&&Aa(t))}function oS(t,n){for(;t>0;)n=n[Ro],t--;return n}function Rc(t){return!!(t[Ce]&9216||t[Xn]?.dirty)}function Pm(t){t[Li].changeDetectionScheduler?.notify(8),t[Ce]&64&&(t[Ce]|=1024),Rc(t)&&Aa(t)}function Aa(t){t[Li].changeDetectionScheduler?.notify(0);let n=zr(t);for(;n!==null&&!(n[Ce]&8192||(n[Ce]|=8192,!Om(n)));)n=zr(n)}function Fm(t,n){if(Na(t))throw new D(911,!1);t[jr]===null&&(t[jr]=[]),t[jr].push(n)}function aS(t,n){if(t[jr]===null)return;let e=t[jr].indexOf(n);e!==-1&&t[jr].splice(e,1)}function zr(t){let n=t[Gt];return mi(n)?n[Gt]:n}function Yb(t){return t[Rs]??=[]}function Kb(t){return t.cleanup??=[]}function sS(t,n,e,i){let r=Yb(n);r.push(e),t.firstCreatePass&&Kb(t).push(i,r.length-1)}var Oe={lFrame:vS(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var vb=!1;function lS(){return Oe.lFrame.elementDepthCount}function cS(){Oe.lFrame.elementDepthCount++}function Qb(){Oe.lFrame.elementDepthCount--}function Zb(){return Oe.bindingsEnabled}function Xb(){return Oe.skipHydrationRootTNode!==null}function Jb(t){return Oe.skipHydrationRootTNode===t}function ev(){Oe.skipHydrationRootTNode=null}function ue(){return Oe.lFrame.lView}function ft(){return Oe.lFrame.tView}function we(t){return Oe.lFrame.contextLView=t,t[Ft]}function Se(t){return Oe.lFrame.contextLView=null,t}function an(){let t=tv();for(;t!==null&&t.type===64;)t=t.parent;return t}function tv(){return Oe.lFrame.currentTNode}function dS(){let t=Oe.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function Ls(t,n){let e=Oe.lFrame;e.currentTNode=t,e.isParent=n}function nv(){return Oe.lFrame.isParent}function iv(){Oe.lFrame.isParent=!1}function uS(){return Oe.lFrame.contextLView}function rv(){return vb}function _c(t){let n=vb;return vb=t,n}function Lm(){let t=Oe.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function ov(){return Oe.lFrame.bindingIndex}function mS(t){return Oe.lFrame.bindingIndex=t}function mr(){return Oe.lFrame.bindingIndex++}function Oc(t){let n=Oe.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function fS(){return Oe.lFrame.inI18n}function pS(t,n){let e=Oe.lFrame;e.bindingIndex=e.bindingRootIndex=t,Vm(n)}function hS(){return Oe.lFrame.currentDirectiveIndex}function Vm(t){Oe.lFrame.currentDirectiveIndex=t}function gS(t){let n=Oe.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function jm(){return Oe.lFrame.currentQueryIndex}function Pc(t){Oe.lFrame.currentQueryIndex=t}function K1(t){let n=t[ge];return n.type===2?n.declTNode:n.type===1?t[pn]:null}function av(t,n,e){if(e&4){let r=n,o=t;for(;r=r.parent,r===null&&!(e&1);)if(r=K1(o),r===null||(o=o[Ro],r.type&10))break;if(r===null)return!1;n=r,t=o}let i=Oe.lFrame=bS();return i.currentTNode=n,i.lView=t,!0}function Bm(t){let n=bS(),e=t[ge];Oe.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function bS(){let t=Oe.lFrame,n=t===null?null:t.child;return n===null?vS(t):n}function vS(t){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=n),n}function yS(){let t=Oe.lFrame;return Oe.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var sv=yS;function zm(){let t=yS();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function _S(t){return(Oe.lFrame.contextLView=oS(t,Oe.lFrame.contextLView))[Ft]}function pi(){return Oe.lFrame.selectedIndex}function Po(t){Oe.lFrame.selectedIndex=t}function Fo(){let t=Oe.lFrame;return Rm(t.tView,t.selectedIndex)}function hi(){Oe.lFrame.currentNamespace=Sa}function Vs(){Q1()}function Q1(){Oe.lFrame.currentNamespace=null}function lv(){return Oe.lFrame.currentNamespace}var xS=!0;function Hm(){return xS}function Um(t){xS=t}function yb(t,n=null,e=null,i){let r=cv(t,n,e,i);return r.resolveInjectorInitializers(),r}function cv(t,n=null,e=null,i,r=new Set){let o=[e||Sn,Qw(t)],a;return new wa(o,n||As(),a||null,r)}var ne=class t{static THROW_IF_NOT_FOUND=_a;static NULL=new Ts;static create(n,e){if(Array.isArray(n))return yb({name:""},e,n,"");{let i=n.name??"";return yb({name:i},n.parent,n.providers,i)}}static \u0275prov=re({token:t,providedIn:"any",factory:()=>K(Rb)});static __NG_ELEMENT_ID__=-1},oe=new C(""),Wt=class{static __NG_ELEMENT_ID__=Z1;static __NG_ENV_ID__=n=>n},xm=class extends Wt{_lView;constructor(n){super(),this._lView=n}get destroyed(){return Na(this._lView)}onDestroy(n){let e=this._lView;return Fm(e,n),()=>aS(e,n)}};function Z1(){return new xm(ue())}var dv=!1,CS=new C(""),ji=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Kt(!1);debugTaskTracker=u(CS,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new fe(e=>{e.next(!1),e.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),this.debugTaskTracker?.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.debugTaskTracker?.remove(e),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=re({token:t,providedIn:"root",factory:()=>new t})}return t})(),_b=class extends R{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,Vb()&&(this.destroyRef=u(Wt,{optional:!0})??void 0,this.pendingTasks=u(ji,{optional:!0})??void 0)}emit(n){let e=se(null);try{super.next(n)}finally{se(e)}}subscribe(n,e,i){let r=n,o=e||(()=>null),a=i;if(n&&typeof n=="object"){let l=n;r=l.next?.bind(l),o=l.error?.bind(l),a=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),a&&(a=this.wrapInTimeout(a)));let s=super.subscribe({next:r,error:o,complete:a});return n instanceof xe&&n.add(s),s}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{try{n(e)}finally{i!==void 0&&this.pendingTasks?.remove(i)}})}}},H=_b;function Cm(...t){}function uv(t){let n,e;function i(){t=Cm;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch(r){}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function wS(t){return queueMicrotask(()=>t()),()=>{t=Cm}}var mv="isAngularZone",xc=mv+"_ID",X1=0,O=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new H(!1);onMicrotaskEmpty=new H(!1);onStable=new H(!1);onError=new H(!1);constructor(n){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=dv}=n;if(typeof Zone>"u")throw new D(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!r&&i,a.shouldCoalesceRunChangeDetection=r,a.callbackScheduled=!1,a.scheduleInRootZone=o,tP(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(mv)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new D(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){let o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,n,J1,Cm,Cm);try{return o.runTask(a,e,i)}finally{o.cancelTask(a)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},J1={};function fv(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function eP(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){uv(()=>{t.callbackScheduled=!1,xb(t),t.isCheckStableRunning=!0,fv(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),xb(t)}function tP(t){let n=()=>{eP(t)},e=X1++;t._inner=t._inner.fork({name:"angular",properties:{[mv]:!0,[xc]:e,[xc+e]:!0},onInvokeTask:(i,r,o,a,s,l)=>{if(nP(l))return i.invokeTask(o,a,s,l);try{return Vw(t),i.invokeTask(o,a,s,l)}finally{(t.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),jw(t)}},onInvoke:(i,r,o,a,s,l,c)=>{try{return Vw(t),i.invoke(o,a,s,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!iP(l)&&n(),jw(t)}},onHasTask:(i,r,o,a)=>{i.hasTask(o,a),r===o&&(a.change=="microTask"?(t._hasPendingMicrotasks=a.microTask,xb(t),fv(t)):a.change=="macroTask"&&(t.hasPendingMacrotasks=a.macroTask))},onHandleError:(i,r,o,a)=>(i.handleError(o,a),t.runOutsideAngular(()=>t.onError.emit(a)),!1)})}function xb(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Vw(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function jw(t){t._nesting--,fv(t)}var Cc=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new H;onMicrotaskEmpty=new H;onStable=new H;onError=new H;run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,r){return n.apply(e,i)}};function nP(t){return SS(t,"__ignore_ng_zone__")}function iP(t){return SS(t,"__scheduler_tick__")}function SS(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var Ri=class{_console=console;handleError(n){this._console.error("ERROR",n)}};function ES(t){return DS(t)?t:new Cb(t)}function DS(t){return t instanceof Error||typeof t=="object"&&t!==null&&typeof t.name=="string"&&typeof t.message=="string"}var Cb=class extends Error{constructor(n){super(String(n),{cause:n}),this.name="ErrorBoundaryWrappedError"}},ei=new C("",{factory:()=>{let t=u(O),n=u(lt),e;return i=>{t.runOutsideAngular(()=>{n.destroyed&&!e?setTimeout(()=>{throw i}):(e??=n.get(Ri),e.handleError(i))})}}}),MS={provide:Ao,useValue:()=>{let t=u(Ri,{optional:!0})},multi:!0};function he(t,n){let[e,i,r]=Ug(t,n?.equal),o=e,a=o[Ot];return o.set=i,o.update=r,o.asReadonly=$m.bind(o),o}function $m(){let t=this[Ot];if(t.readonlyFn===void 0){let n=()=>this();n[Ot]=t,t.readonlyFn=n}return t.readonlyFn}var Gr=new C("",{factory:()=>rP}),rP="ng";var Gm=new C(""),Ra=new C("",{providedIn:"platform",factory:()=>"unknown"}),Lo=new C(""),Vo=new C("",{factory:()=>u(oe).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var js=(()=>{class t{view;node;constructor(e,i){this.view=e,this.node=i}static __NG_ELEMENT_ID__=oP}return t})();function oP(){return new js(ue(),an())}var Oi=class{},Bs=new C("",{factory:()=>!0});var Wm=new C(""),qm=(()=>{class t{static \u0275prov=re({token:t,providedIn:"root",factory:()=>new wb})}return t})(),wb=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let e=n.zone,i=this.queues.get(e);i.has(n)&&(i.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let e=n.zone;this.queues.has(e)||this.queues.set(e,new Set);let i=this.queues.get(e);i.has(n)||i.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[e,i]of this.queues)e===null?n||=this.flushQueue(i):n||=e.run(()=>this.flushQueue(i));n||(this.dirtyEffectCount=0)}}flushQueue(n){let e=!1;for(let i of n)i.dirty&&(this.dirtyEffectCount--,e=!0,i.run());return e}},wm=class{[Ot];constructor(n){this[Ot]=n}destroy(){this[Ot].destroy()}};function ti(t,n){let e=n?.injector??u(ne),i=n?.manualCleanup!==!0?e.get(Wt):null,r,o=e.get(js,null,{optional:!0}),a=e.get(Oi);return o!==null?(r=kS(o.view,a,t),i instanceof xm&&i._lView===o.view&&(i=null)):r=lP(t,e.get(qm),a),r.injector=e,i!==null&&(r.onDestroyFns=[i.onDestroy(()=>r.destroy())]),new wm(r)}var IS=de(w({},$g),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let t=_c(!1);try{Gg(this)}finally{_c(t)}},cleanup(){if(!this.cleanupFns?.length)return;let t=se(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],se(t)}}}),aP=de(w({},IS),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Co(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.scheduler.remove(this)}}),sP=de(w({},IS),{consumerMarkedDirty(){this.view[Ce]|=8192,Aa(this.view),this.notifier.notify(13)},destroy(){if(Co(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.view[Br]?.delete(this)}});function kS(t,n,e){let i=Object.create(sP);return i.view=t,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=n,i.userFn=e,i.fn=TS(i,e),t[Br]??=new Set,t[Br].add(i),i.consumerMarkedDirty(i),i}function lP(t,n,e){let i=Object.create(aP);return i.userFn=t,i.fn=TS(i,t),i.scheduler=n,i.notifier=e,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.add(i),i.notifier.notify(12),i}function TS(t,n){return()=>{n(e=>(t.cleanupFns??=[]).push(e))}}function Mn(t){return typeof t=="function"&&t[Ot]!==void 0}function Ym(t){return Mn(t)&&typeof t.set=="function"}var zs=(()=>{class t{internalPendingTasks=u(ji);scheduler=u(Oi);errorHandler=u(ei);add(){let e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){let i=this.add();try{e().catch(this.errorHandler).finally(i)}catch(r){this.errorHandler(r),i()}}static \u0275prov=re({token:t,providedIn:"root",factory:()=>new t})}return t})();var xf=Symbol("InputSignalNode#UNSET"),_E=de(w({},vs),{transformFn:void 0,applyValueToInputSignal(t,n){wo(t,n)}});function Gc(t){return{toString:t}.toString()}var tt=(function(t){return t[t.TemplateCreateStart=0]="TemplateCreateStart",t[t.TemplateCreateEnd=1]="TemplateCreateEnd",t[t.TemplateUpdateStart=2]="TemplateUpdateStart",t[t.TemplateUpdateEnd=3]="TemplateUpdateEnd",t[t.LifecycleHookStart=4]="LifecycleHookStart",t[t.LifecycleHookEnd=5]="LifecycleHookEnd",t[t.OutputStart=6]="OutputStart",t[t.OutputEnd=7]="OutputEnd",t[t.BootstrapApplicationStart=8]="BootstrapApplicationStart",t[t.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",t[t.BootstrapComponentStart=10]="BootstrapComponentStart",t[t.BootstrapComponentEnd=11]="BootstrapComponentEnd",t[t.ChangeDetectionStart=12]="ChangeDetectionStart",t[t.ChangeDetectionEnd=13]="ChangeDetectionEnd",t[t.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",t[t.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",t[t.AfterRenderHooksStart=16]="AfterRenderHooksStart",t[t.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",t[t.ComponentStart=18]="ComponentStart",t[t.ComponentEnd=19]="ComponentEnd",t[t.DeferBlockStateStart=20]="DeferBlockStateStart",t[t.DeferBlockStateEnd=21]="DeferBlockStateEnd",t[t.DynamicComponentStart=22]="DynamicComponentStart",t[t.DynamicComponentEnd=23]="DynamicComponentEnd",t[t.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",t[t.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",t})(tt||{}),of=class{previousValue;currentValue;firstChange;constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};function xE(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}var CE=null,nt=(()=>{CE=NS;let t=()=>NS;return t.ngInherit=!0,t})();function bP(){return CE}function NS(t){return t.type.prototype.ngOnChanges&&(t.setInput=yP),vP}function vP(){let t=wE(this),n=t?.current;if(n){let e=t.previous;if(e===No)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function yP(t,n,e,i,r){let o=this.declaredInputs[i],a=wE(t)||_P(t,{previous:No,current:null}),s=a.current||(a.current={}),l=a.previous,c=l[o];s[o]=new of(c&&c.currentValue,e,l===No),xE(t,n,r,e)}var Sv="__ngSimpleChanges__";function wE(t){return Object.hasOwn(t,Sv)&&t[Sv]||null}function _P(t,n){return t[Sv]=n}var AS=[];var pt=function(t,n=null,e){for(let i=0;i=i)break}else n[l]<0&&(t[Ma]+=65536),(s>14>16&&(t[Ce]&3)===n&&(t[Ce]+=16384,RS(s,o)):RS(s,o)}var $s=-1,Pa=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,i,r){this.factory=n,this.name=r,this.canSeeViewProviders=e,this.injectImpl=i}};function wP(t){return(t.flags&8)!==0}function SP(t){return(t.flags&16)!==0}function EP(t,n,e){let i=0;for(;in){a=o-1;break}}}for(;o>16}function sf(t,n){let e=MP(t),i=n;for(;e>0;)i=i[Ro],e--;return i}var Ev=!0;function lf(t){let n=Ev;return Ev=t,n}var IP=256,IE=IP-1,kE=5,kP=0,fr={};function TP(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:Object.hasOwn(e,Ea)&&(i=e[Ea]),i==null&&(i=e[Ea]=kP++);let r=i&IE,o=1<>kE)]|=o}function cf(t,n){let e=TE(t,n);if(e!==-1)return e;let i=n[ge];i.firstCreatePass&&(t.injectorIndex=n.length,hv(i.data,t),hv(n,null),hv(i.blueprint,null));let r=ly(t,n),o=t.injectorIndex;if(ME(r)){let a=af(r),s=sf(r,n),l=s[ge].data;for(let c=0;c<8;c++)n[o+c]=s[a+c]|l[a+c]}return n[o+8]=r,o}function hv(t,n){t.push(0,0,0,0,0,0,0,0,n)}function TE(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function ly(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;r!==null;){if(i=PE(r),i===null)return $s;if(e++,r=r[Ro],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return $s}function Dv(t,n,e){TP(t,n,e)}function NP(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let i=e.length,r=0;for(;r>20,m=i?s:s+d,p=r?s+d:c;for(let f=m;f=l&&g.type===e)return f}if(r){let f=a[l];if(f&&Vi(f)&&f.type===e)return l}return null}function Vc(t,n,e,i,r){let o=t[e],a=n.data;if(o instanceof Pa){let s=o;if(s.resolving)throw Tb("");let l=lf(s.canSeeViewProviders);s.resolving=!0;let c=a[e].type||a[e],d,m=s.injectImpl?Nn(s.injectImpl):null,p=av(t,i,0);try{o=t[e]=s.factory(void 0,r,a,t,i),n.firstCreatePass&&e>=i.directiveStart&&xP(e,a[e],n)}finally{m!==null&&Nn(m),lf(l),s.resolving=!1,sv()}}return o}function RP(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=Object.hasOwn(t,Ea)?t[Ea]:void 0;return typeof n=="number"?n>=0?n&IE:OP:n}function PS(t,n,e){let i=1<>kE)]&i)}function FS(t,n){return!(t&2)&&!(t&1&&n)}var Wr=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return RE(this._tNode,this._lView,n,xa(i),e)}};function OP(){return new Wr(an(),ue())}function Zt(t){return Gc(()=>{let n=t.prototype.constructor,e=n[yc]||Mv(n),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){let o=r[yc]||Mv(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Mv(t){return Eb(t)?()=>{let n=Mv(on(t));return n&&n()}:To(t)}function PP(t,n,e,i,r){let o=t,a=n;for(;o!==null&&a!==null&&a[Ce]&2048&&!Fs(a);){let s=OE(o,a,e,i|2,fr);if(s!==fr)return s;i&=-5;let l=o.parent;if(!l){let c=a[Bb];if(c){let d=c.get(e,fr,i);if(d!==fr)return d}l=PE(a),a=a[Ro]}o=l}return r}function PE(t){let n=t[ge],e=n.type;return e===2?n.declTNode:e===1?t[pn]:null}function Wc(t){return NP(an(),t)}function FE(t){let n=En.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function U(t){return{token:t.token,providedIn:t.autoProvided===!1?null:"root",factory:t.factory,value:void 0}}function FP(){return Zs(an(),ue())}function Zs(t,n){return new $(Un(t,n))}var $=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=FP}return t})();function LE(t){return t instanceof $?t.nativeElement:t}function LP(){return this._results[Symbol.iterator]()}var ni=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new R}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let i=qw(n);(this._changesDetected=!Ww(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=LP};function VE(t){return(t.flags&128)===128}var cy=(function(t){return t[t.OnPush=0]="OnPush",t[t.Eager=1]="Eager",t[t.Default=1]="Default",t})(cy||{}),jE=new Map,VP=0;function jP(){return VP++}function BP(t){jE.set(t[Tc],t)}function Iv(t){jE.delete(t[Tc])}var LS="__ngContext__";function qs(t,n){$r(n)?(t[LS]=n[Tc],BP(n)):t[LS]=n}function BE(t){return HE(t[Os])}function zE(t){return HE(t[ui])}function HE(t){for(;t!==null&&!mi(t);)t=t[ui];return t}var kv;function dy(t){kv=t}function uy(){if(kv!==void 0)return kv;if(typeof document<"u")return document;throw new D(210,!1)}var UE="r";var $E="di";var my=new C(""),GE=!1,WE=new C("",{factory:()=>GE});var Cf=new C("");var VS=new WeakMap;function zP(t,n){if(t==null||typeof t!="object")return;let e=VS.get(t);e||(e=new WeakSet,VS.set(t,e)),e.add(n)}var HP=(t,n,e,i)=>{};function UP(t,n,e,i){HP(t,n,e,i)}function wf(t){return(t.flags&32)===32}var $P=()=>null;function qE(t,n,e=!1){return $P(t,n,e)}function YE(t,n){let e=t.contentQueries;if(e!==null){let i=se(null);try{for(let r=0;rt,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Km}function Sf(t){return WP()?.createHTML(t)||t}var Qm;function ZE(){if(Qm===void 0&&(Qm=null,En.trustedTypes))try{Qm=En.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Qm}function jS(t){return ZE()?.createHTML(t)||t}function BS(t){return ZE()?.createScriptURL(t)||t}function qP(t){let n=new Lv(t);return YP()?new Fv(n):n}var Fv=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{let e=new window.DOMParser().parseFromString(Sf(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch(e){return null}}},Lv=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=Sf(n),e}};function YP(){try{return!!new window.DOMParser().parseFromString(Sf(""),"text/html")}catch(t){return!1}}var KP=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function qc(t){return t=String(t),t.match(KP)?t:"unsafe:"+t}function Yr(t){let n=Object.create(null);for(let e of t.split(","))n[e]=!0;return n}function Yc(...t){let n=Object.create(null);for(let e of t)for(let i in e)Object.hasOwn(e,i)&&(n[i]=!0);return n}var XE=Yr("area,br,col,hr,img,wbr"),JE=Yr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),eD=Yr("rp,rt"),QP=Yc(eD,JE),ZP=Yc(JE,Yr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),XP=Yc(eD,Yr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),zS=Yc(XE,ZP,XP,QP),tD=Yr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),JP=Yr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),eF=Yr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),tF=Yc(tD,JP,eF),nF=Yr("script,style,template"),Vv=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let e=n.firstChild,i=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild){r.push(e),e=oF(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=rF(e);if(o){e=o;break}e=r.pop()}}return this.buf.join("")}startElement(n){let e=HS(n).toLowerCase();if(!Object.hasOwn(zS,e))return this.sanitizedSomething=!0,!Object.hasOwn(nF,e);this.buf.push("<"),this.buf.push(e);let i=n.attributes;for(let r=0;r"),!0}endElement(n){let e=HS(n).toLowerCase();Object.hasOwn(zS,e)&&!Object.hasOwn(XE,e)&&(this.buf.push(""))}chars(n){this.buf.push(US(n))}};function iF(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function rF(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw nD(n);return n}function oF(t){let n=t.firstChild;if(n&&iF(t,n))throw nD(n);return n}function HS(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function nD(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var aF=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sF=/([^\#-~ |!])/g;function US(t){return t.replace(/&/g,"&").replace(aF,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(sF,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}var Zm;function Ef(t,n){let e=null;try{Zm=Zm||qP(t);let i=n?String(n):"";e=Zm.getInertBodyElement(i);let r=5,o=i;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=Zm.getInertBodyElement(i)}while(i!==o);let s=new Vv().sanitizeChildren($S(e)||e);return Sf(s)}finally{if(e){let i=$S(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function $S(t){return"content"in t&&lF(t)?t.content:null}function lF(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}function cF(t,n){return t.createText(n)}function dF(t,n,e){t.setValue(n,e)}function iD(t,n,e){return t.createElement(n,e)}function Oa(t,n,e,i,r){t.insertBefore(n,e,i,r)}function rD(t,n,e){t.appendChild(n,e)}function GS(t,n,e,i,r){i!==null?Oa(t,n,e,i,r):rD(t,n,e)}function oD(t,n,e,i){t.removeChild(null,n,e,i)}function uF(t,n,e){t.setAttribute(n,"style",e)}function mF(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function aD(t,n,e){let{mergedAttrs:i,classes:r,styles:o}=e;i!==null&&EP(t,n,i),r!==null&&mF(t,n,r),o!==null&&uF(t,n,o)}function fF(t,n=!0){if(t[0]!=":")return[null,t];let e=t.indexOf(":",1);if(e===-1){if(n)throw new Error(`Unsupported format "${t}" expecting ":namespace:name"`);return[null,t]}return[t.slice(1,e),t.slice(e+1)]}function gi(t,n,e){if(n!==void 0&&e!==void 0&&lD(n,e)!==ut.HTML)return t;let i=yy();return i?jS(i.sanitize(ut.HTML,t)||""):gr(t,"HTML")?jS(An(t)):Ef(uy(),Pi(t))}function Xs(t){let n=yy();return n?n.sanitize(ut.URL,t)||"":gr(t,"URL")?An(t):qc(Pi(t))}function sD(t){let n=yy();if(n)return BS(n.sanitize(ut.RESOURCE_URL,t)||"");if(gr(t,"ResourceURL"))return BS(An(t));throw new D(-904,!1)}function pF(t,n){switch(lD(t,n)){case ut.RESOURCE_URL:return sD;case ut.URL:return Xs;default:return null}}function vy(t,n,e){return pF(n,e)?.(t)??t}function yy(){let t=ue();return t&&t[Li].sanitizer}function lD(t,n){let[e,i]=hF(t);return nS(i,n,e)}function hF(t){t=t.toLowerCase();let n=fF(t,!1);if(n[0])return n;let i=pi()===-1?null:Fo(),r=i?.namespace;if(t==="#host"&&i?.type===2){let o=Un(i,ue());if(o.tagName&&(t=o.tagName.toLowerCase()),r==null){let a=o.namespaceURI;r=a&&GP[a]}}return[r,t]}function _y(t){return t.ownerDocument.defaultView}function xy(t){return t.ownerDocument}function gF(t){return t instanceof Function?t():t}function bF(t,n,e){let i=t.length;for(;;){let r=t.indexOf(n,e);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=n.length;if(r+o===i||t.charCodeAt(r+o)<=32)return r}e=r+1}}var cD="ng-template";function vF(t,n,e,i){let r=0;if(i){for(;r-1){let o;for(;++ro?m="":m=r[d+1].toLowerCase(),i&2&&c!==m){if(Bi(i))return!1;a=!0}}}}return Bi(i)||a}function Bi(t){return(t&1)===0}function xF(t,n,e,i){if(n===null)return-1;let r=0;if(i||!e){let o=!1;for(;r-1)for(e++;e0?'="'+s+'"':"")+"]"}else i&8?r+="."+a:i&4&&(r+=" "+a);else r!==""&&!Bi(a)&&(n+=WS(o,r),r=""),i=a,o=o||!Bi(i);e++}return r!==""&&(n+=WS(o,r)),n}function MF(t){return t.map(DF).join(",")}function IF(t){let n=[],e=[],i=1,r=2;for(;i=0;s--){let{el:l,declarationView:c}=i[s],d=l.parentNode;l===n?(i.splice(s,1),Hs.add(l),l.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):o&&l===o?(i.splice(s,1),l.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),l.parentNode?.removeChild(l)):d&&r&&d!==r&&(a===null||c===null||a===c)&&(i.splice(s,1),l.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),l.parentNode?.removeChild(l))}}function NF(t,n,e){let i=uD(e),r=jv.get(t);r?r.some(o=>o.el===n)||r.push({el:n,declarationView:i}):jv.set(t,[{el:n,declarationView:i}])}var Df=(function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t})(Df||{}),bi=new C(""),qS=new Set;function ii(t){qS.has(t)||(qS.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var Mf=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=re({token:t,providedIn:"root",factory:()=>new t})}return t})(),Ey=[0,1,2,3],Dy=(()=>{class t{ngZone=u(O);scheduler=u(Oi);errorHandler=u(Ri,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){u(bi,{optional:!0})}execute(){let e=this.sequences.size>0;e&&pt(tt.AfterRenderHooksStart),this.executing=!0;for(let i of Ey)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[i]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[i];return o(r.pipelinedValue)},r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&pt(tt.AfterRenderHooksEnd)}register(e){let{view:i}=e;i!==void 0?((i[Ia]??=[]).push(e),Aa(i),i[Ce]|=8192):this.addSequence(e)}addSequence(e){this.executing?this.deferredRegistrations.add(e):this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,i){return i?i.run(Df.AFTER_NEXT_RENDER,e):e()}static \u0275prov=re({token:t,providedIn:"root",factory:()=>new t})}return t})(),jc=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,i,r,o,a=null){this.impl=n,this.hooks=e,this.view=i,this.once=r,this.snapshot=a,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[Ia];n&&(this.view[Ia]=n.filter(e=>e!==this))}};function jt(t,n){let e=n?.injector??u(ne);return ii("NgAfterNextRender"),RF(t,e,n,!0)}function AF(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function RF(t,n,e,i){let r=n.get(Mf);r.impl??=n.get(Dy);let o=n.get(bi,null,{optional:!0}),a=e?.manualCleanup!==!0?n.get(Wt):null,s=n.get(js,null,{optional:!0}),l=new jc(r.impl,AF(t),s?.view,i,a,o?.snapshot(null));return r.impl.register(l),l}var Bv=null,mD=null;function YS(t,n,e,i){Bv?.maybeQueueEnterAnimation(t,n,e,i)}function KS(t,n,e,i){Bv===null?i(!1):Bv.runLeaveAnimationsWithCallback(t,n,e,i)}function OF(t){mD?.initViewDetachAnimations(t)}function PF(t){mD?.clearViewDetachAnimations(t)}function Us(t,n,e,i,r,o,a,s){if(r!=null){let l,c=!1;mi(r)?l=r:$r(r)&&(c=!0,r=r[Fi]);let d=hn(r);t===0&&i!==null?(YS(s,i,o,e),a==null?rD(n,i,d):Oa(n,i,d,a||null,!0)):t===1&&i!==null?(Oa(n,i,d,a||null,!0),TF(o,d,s),Hs.has(d)||YS(s,i,o,e)):t===2?(s?.[eS]?.leave?.has(o.index)&&NF(o,d,s),Hs.delete(d),KS(s,o,e,m=>{if(Hs.has(d)){Hs.delete(d);return}oD(n,d,c,m)})):t===3&&(Hs.delete(d),KS(s,o,e,()=>{n.destroyNode(d)})),l!=null&&WF(n,t,e,l,o,i,a)}}function FF(t,n){fD(t,n),n[Fi]=null,n[pn]=null}function LF(t,n,e,i,r,o){i[Fi]=r,i[pn]=n,kf(t,i,e,1,r,o)}function fD(t,n){n[Li].changeDetectionScheduler?.notify(9),kf(t,n,n[mt],2,null,null)}function VF(t){let n=t[Os];if(!n)return gv(t[ge],t);for(;n;){let e=null;if($r(n))e=n[Os];else{let i=n[Lt];i&&(e=i)}if(!e){for(;n&&!n[ui]&&n!==t;)$r(n)&&gv(n[ge],n),n=n[Gt];n===null&&(n=t),$r(n)&&gv(n[ge],n),e=n&&n[ui]}n=e}}function My(t,n){let e=t[Ta],i=e.indexOf(n);e.splice(i,1)}function If(t,n){if(Na(n))return;let e=n[mt];e.destroyNode&&kf(t,n,e,3,null,null),VF(n)}function gv(t,n){if(Na(n))return;let e=se(null);try{n[Ce]&=-129,n[Ce]|=256,n[Xn]&&Co(n[Xn]),BF(t,n),jF(t,n),n[ge].type===1&&n[mt].destroy();let i=n[Oo];if(i!==null&&mi(n[Gt])){i!==n[Gt]&&My(i,n);let r=n[dr];r!==null&&r.detachView(t)}Iv(n)}finally{se(e)}}function jF(t,n){let e=t.cleanup,i=n[Rs];if(e!==null)for(let a=0;a=0?i[s]():i[-s].unsubscribe(),a+=2}else{let s=i[e[a+1]];e[a].call(s)}i!==null&&(n[Rs]=null);let r=n[jr];if(r!==null){n[jr]=null;for(let a=0;aTt&&_D(t,n,Tt,!1);let s=a?tt.TemplateUpdateStart:tt.TemplateCreateStart;pt(s,r,e),e(i,r)}finally{Po(o);let s=a?tt.TemplateUpdateEnd:tt.TemplateCreateEnd;pt(s,r,e)}}function Ry(t,n,e){tL(t,n,e),(e.flags&64)===64&&nL(t,n,e)}function Tf(t,n,e=Un){let i=n.localNames;if(i!==null){let r=n.index+1;for(let o=0;onull;function eL(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function CD(t,n,e,i,r,o){let a=n[ge];if(Nf(t,a,n,e,i)){ur(t)&&ED(n,t.index);return}t.type&3&&(e=eL(e)),wD(t,n,e,i,r,o)}function wD(t,n,e,i,r,o){if(t.type&3){let a=Un(t,n);i=o!=null?o(i,t.value||"",e):i,i=SD(e,a,i),r.setProperty(a,e,i)}else t.type&12}function SD(t,n,e,i=!1){return t==="src"&&(n.tagName==="IMG"||n.tagName==="VIDEO")?e==null?i?e:"":An(e):e}function ED(t,n){let e=fi(n,t);e[Ce]&16||(e[Ce]|=64)}function tL(t,n,e){let i=e.directiveStart,r=e.directiveEnd;ur(e)&&QF(n,e,t.data[i+e.componentOffset]),t.firstCreatePass||cf(e,n);let o=e.initialInputs;for(let a=i;a=s&&f<=l){let g=n.data[f],_=m[p+1];Fa(g,e[f],_,o),c=!0}else if(f>l)break}}return a!==null&&Object.hasOwn(i.inputs,r)&&(Fa(i,e[a],r,o),c=!0),c}function lL(t,n){let e=fi(n,t),i=e[ge];cL(i,e);let r=e[Fi];r!==null&&e[Da]===null&&(e[Da]=qE(r,e[Ur])),pt(tt.ComponentStart);try{Oy(i,e,e[Ft])}finally{pt(tt.ComponentEnd,e[Ft])}}function cL(t,n){for(let e=n.length;e{Aa(t.lView)},consumerOnSignalRead(){this.lView[Xn]=this}});function hL(t){let n=t[Xn]??Object.create(gL);return n.lView=t,n}var gL=de(w({},yo),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=zr(t.lView);for(;n&&!RD(n[ge]);)n=zr(n);n&&qb(n)},consumerOnSignalRead(){this.lView[Xn]=this}});function RD(t){return t.type!==2}function OD(t){if(t[Br]===null)return;let n=!0;for(;n;){let e=!1;for(let i of t[Br])if(i.dirty&&(e=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()),t[Br]===null))return;n=e&&!!(t[Ce]&8192)}}var bL=100;function PD(t,n=0){let i=t[Li].rendererFactory,r=!1;r||i.begin?.();try{vL(t,n)}finally{r||i.end?.()}}function vL(t,n){let e=rv();try{_c(!0),Hv(t,n);let i=0;for(;Rc(t);){if(i===bL)throw new D(103,!1);i++,Hv(t,1)}}finally{_c(e)}}function yL(t,n,e,i){if(Na(n))return;let r=n[Ce],o=!1,a=!1;Bm(n);let s=!0,l=null,c=null;o||(RD(t)?(c=uL(n),l=Or(c)):Bu()===null?(s=!1,c=hL(n),l=Or(c)):n[Xn]&&(Co(n[Xn]),n[Xn]=null));try{Wb(n),mS(t.bindingStartIndex),e!==null&&xD(t,n,e,2,i);let d=(r&3)===3;if(!o)if(d){let f=t.preOrderCheckHooks;f!==null&&ef(n,f,null)}else{let f=t.preOrderHooks;f!==null&&tf(n,f,0,null),pv(n,0)}if(a||_L(n),OD(n),LD(n,0),t.contentQueries!==null&&YE(t,n),!o)if(d){let f=t.contentCheckHooks;f!==null&&ef(n,f)}else{let f=t.contentHooks;f!==null&&tf(n,f,1),pv(n,1)}CL(t,n);let m=t.components;m!==null&&jD(n,m,0);let p=t.viewQuery;if(p!==null&&Tv(2,p,i),!o)if(d){let f=t.viewCheckHooks;f!==null&&ef(n,f)}else{let f=t.viewHooks;f!==null&&tf(n,f,2),pv(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[Nm]){for(let f of n[Nm])f();n[Nm]=null}o||(ND(n),n[Ce]&=-73)}catch(d){FD(n,d,o)}finally{c!==null&&(xo(c,l),s&&fL(c)),zm()}}function FD(t,n,e){let i=!1,r=n,o=t,a=se(null);try{for(;o!==null;){if(mi(o)){o=o[Gt];continue}let s=o[Ps];if(s)try{let l=t[Dn][Ft],c=l?.constructor,d={declarationInstance:l,declarationType:c,caughtBy:s},m=se(null);try{s(ES(r),d)}finally{se(m)}i=!0;break}catch(l){r=l}o=o[Gt]}}finally{se(a)}if(!i)throw e||Aa(t),r}function LD(t,n){for(let e=BE(t);e!==null;e=zE(e))for(let i=Lt;i0&&(t[e-1][ui]=i[ui]);let o=Ic(t,Lt+n);FF(i[ge],i);let a=o[dr];a!==null&&a.detachView(o[ge]),i[Gt]=null,i[ui]=null,i[Ce]&=-129}return i}function wL(t,n,e,i){let r=Lt+i,o=e.length;i>0&&(e[r-1][ui]=n),i-1&&(zc(n,i),Ic(e,i))}this._attachedToViewContainer=!1}If(this._lView[ge],this._lView)}onDestroy(n){Fm(this._lView,n)}markForCheck(){Py(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Ce]&=-129}reattach(){Pm(this._lView),this._lView[Ce]|=128}detectChanges(){this._lView[Ce]|=1024,PD(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Fs(this._lView),e=this._lView[Oo];e!==null&&!n&&My(e,this._lView),fD(this._lView[ge],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=n;let e=Fs(this._lView),i=this._lView[Oo];i!==null&&!e&&UD(i,this._lView),Pm(this._lView)}};var qt=(()=>{class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=SL;constructor(e,i,r){this._declarationLView=e,this._declarationTContainer=i,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,r){let o=Qc(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:r});return new jo(o)}}return t})();function SL(){return Af(an(),ue())}function Af(t,n){return t.type&4?new qt(n,t,Zs(t,n)):null}function Js(t,n,e,i,r){let o=t.data[n];if(o===null)o=EL(t,n,e,i,r),fS()&&(o.flags|=32);else if(o.type&64){o.type=e,o.value=i,o.attrs=r;let a=dS();o.injectorIndex=a===null?-1:a.injectorIndex}return Ls(o,!0),o}function EL(t,n,e,i,r){let o=tv(),a=nv(),s=a?o:o&&o.parent,l=t.data[n]=ML(t,s,e,n,i,r);return DL(t,l,o,a),l}function DL(t,n,e,i){t.firstChild===null&&(t.firstChild=n),e!==null&&(i?e.child==null&&n.parent!==null&&(e.child=n):e.next===null&&(e.next=n,n.prev=e))}function ML(t,n,e,i,r,o){let a=n?n.injectorIndex:-1,s=0;return Xb()&&(s|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:s,providerIndexes:0,value:r,namespace:lv(),attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function IL(t){let n=t[zb]??[],i=t[Gt][mt],r=[];for(let o of n)o.data[$E]!==void 0?r.push(o):kL(o,i);t[zb]=r}function kL(t,n){let e=0,i=t.firstChild;if(i){let r=t.data[UE];for(;enull,NL=()=>null;function df(t,n){return TL(t,n)}function $D(t,n,e){return NL(t,n,e)}var GD=class{},Vt=class{},He=class{destroyNode=null;static __NG_ELEMENT_ID__=()=>AL()};function AL(){let t=ue(),n=an(),e=fi(n.index,t);return($r(e)?e:t)[mt]}var WD=(()=>{class t{static \u0275prov=re({token:t,providedIn:"root",factory:()=>null})}return t})();function qD(t){return t.debugInfo?.className||t.type.name||null}var rf={},uf=class{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){let r=this.injector.get(n,rf,i);return r!==rf||e===rf?r:this.parentInjector.get(n,e,i)}};function YD(t,n,e){return t[n]=e}function Rn(t,n,e){if(e===gn)return!1;let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0)}function KD(t,n,e,i){let r=Rn(t,n,e);return Rn(t,n+1,i)||r}function QD(t,n,e,i,r){let o=KD(t,n,e,i);return Rn(t,n+2,r)||o}function Gs(t,n,e){return function i(r){let o=i.__ngNativeEl__;o!==void 0&&zP(r,o);let a=ur(t)?fi(t.index,n):n;Py(a,5);let s=n[Ft],l=ZS(n,s,e,r),c=i.__ngNextListenerFn__;for(;c;)l=ZS(n,s,c,r)&&l,c=c.__ngNextListenerFn__;return l}}function ZS(t,n,e,i){let r=se(null);try{return pt(tt.OutputStart,n,e),e(i)!==!1}catch(o){return aL(t,o),!1}finally{pt(tt.OutputEnd,n,e),se(r)}}function ZD(t,n,e,i,r,o,a,s){let l=Ac(t),c=!1,d=null;if(!i&&l&&(d=OL(n,e,o,t.index)),d!==null){let m=d.__ngLastListenerFn__||d;m.__ngNextListenerFn__=a,d.__ngLastListenerFn__=a,c=!0}else{let m=Un(t,e),p=i?i(m):m;UP(e,p,o,s),i||(s.__ngNativeEl__=m);let f=r.listen(p,o,s);if(!RL(o)){let g=i?_=>i(hn(_[t.index])):t.index;XD(g,n,e,o,s,f,!1)}}return c}function RL(t){return t.startsWith("animation")||t.startsWith("transition")}function OL(t,n,e,i){let r=t.cleanup;if(r!=null)for(let o=0;ol?s[l]:null}typeof a=="string"&&(o+=2)}return null}function XD(t,n,e,i,r,o,a){let s=n.firstCreatePass?Kb(n):null,l=Yb(e),c=l.length;l.push(r,o),s&&s.push(i,t,c,(c+1)*(a?-1:1))}function XS(t,n,e,i,r){let o=null,a=null,s=null,l=!1,c=t.directiveToIndex.get(e.type);if(typeof c=="number"?o=c:[o,a,s]=c,a!==null&&s!==null&&t.hostDirectiveOutputs&&Object.hasOwn(t.hostDirectiveOutputs,i)){let d=t.hostDirectiveOutputs[i];for(let m=0;m=a&&p<=s)l=!0,mf(t,n,p,d[m+1],i,r);else if(p>s)break}}return Object.hasOwn(e.outputs,i)&&(l=!0,mf(t,n,o,i,i,r)),l}function mf(t,n,e,i,r,o){let a=n[e],s=n[ge],c=s.data[e].outputs[i],m=a[c].subscribe(o);XD(t.index,s,n,r,o,m,!0)}function Xc(){PL()}function PL(){let t=ue(),n=ft(),e=an();if(n.firstCreatePass&&LL(n,e),e.controlDirectiveIndex===-1)return;ii("NgSignalForms");let i=t[e.controlDirectiveIndex];n.data[e.controlDirectiveIndex].controlDef.create(i,new ff(t,n,e))}function Jc(){FL()}function FL(){let t=ue(),n=ft(),e=Fo();if(e.controlDirectiveIndex===-1)return;let i=n.data[e.controlDirectiveIndex].controlDef,r=t[e.controlDirectiveIndex];i.update(r,new ff(t,n,e))}var ff=class{lView;tView;tNode;hasPassThrough;constructor(n,e,i){this.lView=n,this.tView=e,this.tNode=i,this.hasPassThrough=!!(i.flags&4096)}get customControl(){return this.tNode.customControlIndex!==-1?this.lView[this.tNode.customControlIndex]:void 0}get nativeElement(){return Un(this.tNode,this.lView)}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(n,e){let i=this.tView.data[this.tNode.customControlIndex];XS(this.tNode,this.lView,i,n,Gs(this.tNode,this.lView,e))}listenToCustomControlModel(n){let e=this.tNode.flags&1024?"valueChange":"checkedChange",i=this.tView.data[this.tNode.customControlIndex];XS(this.tNode,this.lView,i,e,Gs(this.tNode,this.lView,n))}setInputOnDirectives(n,e,i){let r=this.tNode.inputs?.[n],o=this.tNode.hostDirectiveInputs?.[n];if(!r&&!o)return!1;let a=!1;if(r)for(let s of r){if(s===this.tNode.controlDirectiveIndex)continue;let l=this.lView[s],c=this.tView.data[s];(!i||i(eE(l,c,n)))&&(Fa(c,l,n,e),a=!0)}if(o)for(let s=0;s0;){let r=i.shift();if(typeof r!="function"){for(let a in r.inputs)e[r.inputs[a]]=!0;let o=JS(r.directive);o!==null&&i.push(...o);continue}for(let o of r()){if(typeof o=="function")continue;if(o.inputs)for(let s=0;s1){n.flags|=4096;return}VL(t,n)}function VL(t,n){for(let e=n.directiveStart;e{let o=n.hostDirectiveInputs[i],a=n.hostDirectiveOutputs[i+"Change"];if(!o||!a)return!1;for(let s=0;s=f&&l<=g)return n.flags|=r,n.customControlIndex=p,!0}}}return!1};if(e("value",1024)||e("checked",2048))return}}function tE(t,n){return jL(t,n)&&BL(t,n+"Change")}function jL(t,n){return n in t.inputs}function BL(t,n){return n in t.outputs}var Uv=Symbol("BINDING");var ja=new C("");function pf(t,n,e){let i=e?t.styles:null,r=e?t.classes:null,o=0;if(n!==null)for(let a=0;a0&&(e.directiveToIndex=new Map);for(let p=0;p0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function YL(t,n,e){if(e){if(n.exportAs)for(let i=0;i{let[e,i,r]=t[n],o={propName:e,templateName:n,isSignal:(i&Kc.SignalBased)!==0};return r&&(o.transform=r),o})}function JL(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}function e2(t,n,e){let i=n instanceof lt?n:n?.injector;return i&&t.getStandaloneInjector!==null&&(i=t.getStandaloneInjector(i)||i),i?new uf(e,i):e}function t2(t){let n=t.get(Vt,null);if(n===null)throw new D(407,!1);let e=t.get(WD,null),i=t.get(Oi,null),r=t.get(bi,null,{optional:!0});return{rendererFactory:n,sanitizer:e,changeDetectionScheduler:i,ngReflect:!1,tracingService:r}}function n2(t,n,e){let i=rM(t);return iD(n,i,i==="svg"?Sa:i==="math"?Am:e)}function i2(t){if((t&&"localName"in t&&typeof t.localName=="string"?t.localName:t?.tagName)?.toLowerCase()==="script")throw new D(905,!1)}function rM(t){return(t.selectors[0][0]||"div").toLowerCase()}var La=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=XL(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=JL(this.componentDef.outputs),this.cachedOutputs}constructor(n,e){this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=MF(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!e}create(n,e,i,r,o,a,s,l){pt(tt.DynamicComponentStart);let c=se(null);try{let d=this.componentDef,m=e2(d,r||this.ngModule,n),p=t2(m),f=p.tracingService;return f&&f.componentCreate?f.componentCreate(qD(d),()=>this.createComponentRef(p,m,e,i,o,a,s,l)):this.createComponentRef(p,m,e,i,o,a,s,l)}finally{se(c)}}createComponentRef(n,e,i,r,o,a,s,l){let c=this.componentDef,d=r2(r,c,a,o,l),m=n.rendererFactory.createRenderer(null,c),p=r?ZF(m,r,c.encapsulation,e):n2(c,m,s??null);i2(p);let f=e.get(ja,null),g=o2(p,()=>e.get(oe,null)??uy());f&&f.addHost(g);let _=a?.some(oE)||o?.some(A=>typeof A!="function"&&A.bindings.some(oE)),E=Ny(null,d,null,512|vD(c),null,null,n,m,e,null,qE(p,e,!0));f&&iM&&g instanceof ShadowRoot&&Fm(E,()=>{f.removeHost(g)}),E[Tt]=p,Bm(E);let L=null;try{let A=tM(Tt,E,2,"#host",()=>d.directiveRegistry,!0,0);aD(m,p,A),qs(p,E),Ry(d,E,A),KE(d,A,E),nM(d,A),i!==void 0&&s2(A,this.ngContentSelectors,i),L=fi(A.index,E),E[Ft]=L[Ft],Oy(d,E,null)}catch(A){throw L!==null&&Iv(L),Iv(E),A}finally{pt(tt.DynamicComponentEnd),zm()}return new hf(this.componentType,E,!!_)}};function r2(t,n,e,i,r){let o=t?["ng-version","22.2.5"]:IF(n.selectors[0]),a=null,s=null,l=0;if(e)for(let m of e)l+=m[Uv].requiredVars,m.create&&(m.targetIdx=0,(a??=[]).push(m)),m.update&&(m.targetIdx=0,(s??=[]).push(m));if(i)for(let m=0;m{if(e&1&&t)for(let i of t)i.create();if(e&2&&n)for(let i of n)i.update()}}function oE(t){let n=t[Uv].kind;return n==="input"||n==="twoWay"}var hf=class extends GD{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,e,i){super(),this._rootLView=e,this._hasInputBindings=i,this._tNode=Rm(e[ge],Tt),this.location=Zs(this._tNode,e),this.instance=fi(this._tNode.index,e)[Ft],this.hostView=this.changeDetectorRef=new jo(e,void 0),this.componentType=n}setInput(n,e){this._hasInputBindings;let i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let r=this._rootLView,o=Nf(i,r[ge],r,n,e);this.previousInputValues.set(n,e);let a=fi(i.index,r);Py(a,1)}get injector(){return new Wr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function s2(t,n,e){let i=t.projection=[];for(let r=0;r{class t{static __NG_ELEMENT_ID__=l2}return t})();function l2(){let t=an();return oM(t,ue())}var $v=class t extends Bt{_lContainer;_hostTNode;_hostLView;constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return Zs(this._hostTNode,this._hostLView)}get injector(){return new Wr(this._hostTNode,this._hostLView)}get parentInjector(){let n=ly(this._hostTNode,this._hostLView);if(ME(n)){let e=sf(n,this._hostLView),i=af(n),r=e[ge].data[i+8];return new Wr(r,e)}else return new Wr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=aE(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-Lt}createEmbeddedView(n,e,i){let r,o,a;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector,a=i.onError);let s=df(this._lContainer,n.ssrId),l=n.createEmbeddedViewImpl(e||{},o,s);return a&&(l._lView[Ps]=a),this.insertImpl(l,r,Ys(this._hostTNode,s)),l}createComponent(n,e,i,r,o,a,s){let l,c,d=e||{};l=d.index,i=d.injector,r=d.projectableNodes,o=d.environmentInjector||d.ngModuleRef,a=d.directives,s=d.bindings,c=d.onError;let m=new La(Hr(n)),p=i||this.parentInjector;if(!o&&m.ngModule==null){let A=this.parentInjector.get(lt,null);A&&(o=A)}let f=Hr(m.componentType??{}),g=df(this._lContainer,f?.id??null),_=g?.firstChild??null,E=m.create(p,r,_,o,a,s,this._getHostElementNamespace());return c&&(E.hostView._lView[Ps]=c),this.insertImpl(E.hostView,l,Ys(this._hostTNode,g)),E}_getHostElementNamespace(){if(this._hostTNode.type&2){let n=this._hostTNode.parent??this._hostLView[pn];return n!==null&&n.type&2&&typeof n.value=="string"&&n.value.toLowerCase()==="foreignobject"?null:n?.namespace??null}return this._hostTNode.namespace}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let r=n._lView;if(rS(r)){let s=this.indexOf(n);if(s!==-1)this.detach(s);else{let l=r[Gt],c=new t(l,l[pn],l[Gt]);c.detach(c.indexOf(n))}}let o=this._adjustIndex(e),a=this._lContainer;return Zc(a,r,o,i),n.attachToViewContainerRef(),Ab(bv(a),o,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=aE(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=zc(this._lContainer,e);i&&(Ic(bv(this._lContainer),e),If(i[ge],i))}detach(n){let e=this._adjustIndex(n,-1),i=zc(this._lContainer,e);return i&&Ic(bv(this._lContainer),e)!=null?new jo(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function aE(t){return t[Nc]}function bv(t){return t[Nc]||(t[Nc]=[])}function oM(t,n){let e,i=n[t.index];return mi(i)?e=i:(e=BD(i,n,null,t),n[t.index]=e,Ay(n,e)),d2(e,n,t,i),new $v(e,t,n)}function c2(t,n){let e=t[mt],i=e.createComment(""),r=Un(n,t),o=e.parentNode(r);return Oa(e,o,i,e.nextSibling(r),!1),i}var d2=f2,u2=()=>!1;function m2(t,n,e){return u2(t,n,e)}function f2(t,n,e,i){if(t[ka])return;let r;e.type&8?r=hn(i):r=c2(n,e),t[ka]=r}var Gv=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Wv=class t{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.contentQueries[0]:e.length,r=[];for(let o=0;o0)i.push(a[s/2]);else{let c=o[s+1],d=n[-l];for(let m=Lt;mn.trim())}function dM(t,n,e){t.queries===null&&(t.queries=new qv),t.queries.track(new Yv(n,e))}function y2(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n)}function Ly(t,n){return t.queries.getByIndex(n)}function uM(t,n){let e=t[ge],i=Ly(e,n);return i.crossesNgTemplate?Kv(e,t,n,[]):aM(e,t,i,n)}function mM(t,n,e){let i,r=uc(()=>{i._dirtyCounter();let o=_2(i,t);if(n&&o===void 0)throw new D(-951,!1);return o});return i=r[Ot],i._dirtyCounter=he(0),i._flatValue=void 0,r}function Vy(t){return mM(!0,!1,t)}function jy(t){return mM(!0,!0,t)}function fM(t,n){let e=t[Ot];e._lView=ue(),e._queryIndex=n,e._queryList=Fy(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1))}function _2(t,n){let e=t._lView,i=t._queryIndex;if(e===void 0||i===void 0||e[Ce]&4)return n?void 0:Sn;let r=Fy(e,i),o=uM(e,i);return r.reset(o,LE),n?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}function Kr(t){return!!t&&typeof t.then=="function"}function By(t){return!!t&&typeof t.subscribe=="function"}var hr=class{},Rf=class{};var Hc=class extends hr{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(n,e,i,r=!0){super(),this.ngModuleType=n,this._parent=e;let o=zw(n);this._bootstrapComponents=gF(o.bootstrap),this._r3Injector=cv(n,e,[{provide:hr,useValue:this},...i],wc(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},Uc=class extends Rf{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new Hc(this.moduleType,n,[])}};function pM(t,n,e){return new Hc(t,n,e,!1)}var bf=class extends hr{injector;instance=null;constructor(n){super();let e=new wa([...n.providers,{provide:hr,useValue:this}],n.parent||As(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function el(t,n,e=null){return new bf({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}var x2=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=Pb(!1,e.type),r=i.length>0?el([i],this._injector,""):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=re({token:t,providedIn:"environment",factory:()=>new t(K(lt))})}return t})();function F(t){return Gc(()=>{let n=hM(t),e=de(w({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection!==cy.Eager,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?r=>r.get(x2).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Hi.Emulated,styles:t.styles||Sn,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&ii("NgStandalone"),gM(e);let i=t.dependencies;return e.directiveDefs=sE(i,C2),e.pipeDefs=sE(i,Hw),e.id=E2(e),e})}function C2(t){return Hr(t)||Mc(t)}function q(t){return Gc(()=>({type:t.type,bootstrap:t.bootstrap||Sn,declarations:t.declarations||Sn,imports:t.imports||Sn,exports:t.exports||Sn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function w2(t,n){if(t==null)return No;let e={};for(let i in t)if(Object.hasOwn(t,i)){let r=t[i],o,a,s,l;Array.isArray(r)?(s=r[0],o=r[1],a=r[2]??o,l=r[3]||null):(o=r,a=r,s=Kc.None,l=null),e[o]=[i,s,l],n[o]=a}return e}function S2(t){if(t==null)return No;let n={};for(let e in t)Object.hasOwn(t,e)&&(n[t[e]]=e);return n}function B(t){return Gc(()=>{let n=hM(t);return gM(n),n})}function Of(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function hM(t){let n={};return{type:t.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputConfig:t.inputs||No,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Sn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:w2(t.inputs,n),outputs:S2(t.outputs),debugInfo:null}}function gM(t){t.features?.forEach(n=>n(t))}function sE(t,n){return t?()=>{let e=typeof t=="function"?t():t,i=[];for(let r of e){let o=n(r);o!==null&&i.push(o)}return i}:null}function E2(t){let n=0,e=typeof t.consts=="function"?"":t.consts,i=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,e,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let o of i.join("|"))n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}var zy=new C("");function Pf(t){return cr([{provide:zy,multi:!0,useValue:t}])}var Hy=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i});appInits=u(zy,{optional:!0})??[];injector=u(ne);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=Qt(this.injector,r);if(Kr(o))e.push(o);else if(By(o)){let a=new Promise((s,l)=>{o.subscribe({complete:s,error:l})});e.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),e.length===0&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),Qv=new Map,D2=new Set;function Uy(t){return z(this,null,function*(){let n=Qv;Qv=new Map;let e=new Map;function i(o){let a=e.get(o);if(a)return a;let s=t(o).then(l=>M2(o,l));return e.set(o,s),s}let r=Array.from(n).map(s=>z(null,[s],function*([o,a]){if(a.styleUrl&&a.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");let l=[];a.templateUrl&&l.push(i(a.templateUrl).then(p=>{a.template=p}));let c=typeof a.styles=="string"?[a.styles]:a.styles??[];a.styles=c;let{styleUrl:d,styleUrls:m}=a;if(d&&(m=[d],a.styleUrl=void 0),m?.length){let p=Promise.all(m.map(f=>i(f))).then(f=>{c.push(...f),a.styleUrls=void 0});l.push(p)}yield Promise.all(l),D2.delete(o)}));yield Promise.all(r)})}function bM(){return Qv.size===0}function M2(t,n){return z(this,null,function*(){if(typeof n=="string")return n;if(n.status!==void 0&&n.status!==200)throw new D(918,!1);return n.text()})}function $y(t){return n=>{n.controlDef={create:(e,i)=>{e?.\u0275ngControlCreate(i)},update:(e,i)=>{e?.\u0275ngControlUpdate?.(i)},passThroughInput:t}}}function Gy(t){let n=e=>{let i=Array.isArray(t);e.hostDirectives===null?(e.resolveHostDirectives=I2,e.hostDirectives=i?t.map(Zv):[t]):i?e.hostDirectives.unshift(...t.map(Zv)):e.hostDirectives.unshift(t)};return n.ngInherit=!0,n}function I2(t){let n=[],e=!1,i=null,r=null;for(let o=0;o{k2(a.declaredInputs,o.inputs)}),[n,i,r]}function vM(t,n,e,i){if(t.hostDirectives!==null)for(let r of t.hostDirectives)if(typeof r=="function"){let o=r();for(let a of o)lE(Zv(a),n,e,i)}else lE(r,n,e,i)}function lE(t,n,e,i){let r=Mc(t.directive);if(vM(r,n,e,i),e.has(r)){let o=e.get(r);cE(o,t.inputs,"input"),cE(o,t.outputs,"output")}else i.includes(r)||(e.set(r,t),n.push(r))}function cE(t,n,e){let i=e==="input"?t.inputs:t.outputs;Object.keys(n).forEach(r=>{let o=n[r];(!Object.hasOwn(i,r)||i[r]===o)&&(i[r]=o)})}function Zv(t){return typeof t=="function"?{directive:on(t),inputs:{},outputs:{}}:{directive:on(t.directive),inputs:dE(t.inputs),outputs:dE(t.outputs)}}function dE(t){let n={};if(t!==void 0&&t.length>0)for(let e=0;e=0;i--){let r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Ws(r.hostAttrs,e=Ws(e,r.hostAttrs))}}function vv(t){return t===No?{}:t===Sn?[]:t}function R2(t,n){let e=t.viewQuery;e?t.viewQuery=(i,r)=>{n(i,r),e(i,r)}:t.viewQuery=n}function O2(t,n){let e=t.contentQueries;e?t.contentQueries=(i,r,o)=>{n(i,r,o),e(i,r,o)}:t.contentQueries=n}function P2(t,n){let e=t.hostBindings;e?t.hostBindings=(i,r)=>{n(i,r),e(i,r)}:t.hostBindings=n}function yM(t,n,e,i,r,o,a,s){if(e.firstCreatePass){t.mergedAttrs=Ws(t.mergedAttrs,t.attrs);let d=t.tView=Ty(2,t,r,o,a,e.directiveRegistry,e.pipeRegistry,null,e.schemas,e.consts,null);e.queries!==null&&(e.queries.template(e,t),d.queries=e.queries.embeddedTView(t))}s&&(t.flags|=s),Ls(t,!1);let l=L2(e,n,t,i);Hm()&&Iy(e,n,l,t),qs(l,n);let c=BD(l,n,l,t);n[i+Tt]=c,Ay(n,c),m2(c,t,n)}function F2(t,n,e,i,r,o,a,s,l,c,d){let m=e+Tt,p;return n.firstCreatePass?(p=Js(n,m,4,a||null,s||null),Zb()&&JD(n,t,p,Jn(n.consts,c),DD),SE(n,p)):p=n.data[m],yM(p,t,n,e,i,r,o,l),Ac(p)&&Ry(n,t,p),c!=null&&Tf(t,p,d),p}function Ks(t,n,e,i,r,o,a,s,l,c,d){let m=e+Tt,p;if(n.firstCreatePass){if(p=Js(n,m,4,a||null,s||null),c!=null){let f=Jn(n.consts,c);p.localNames=[];for(let g=0;g{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();var Lf=new C(""),nl=new C(""),Wy=new C("USE_PENDING_TASKS",{providedIn:"root",factory:()=>typeof Zone>"u"}),ed=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;pendingTasksInternal=u(ji);_usePendingTasks=u(Wy);constructor(e,i,r){this._ngZone=e,this.registry=i,Vb()&&(this._destroyRef=u(Wt,{optional:!0})??void 0),qy||(_M(r),r.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let e=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),i,r;this._ngZone.runOutsideAngular(()=>{this._usePendingTasks&&(i=this.pendingTasksInternal.hasPendingTasksObservable.subscribe(()=>{this.isStable()&&this._ngZone.runOutsideAngular(()=>{this._runCallbacksIfReady()})})),r=this._ngZone.onStable.subscribe({next:()=>{O.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})}),this._destroyRef?.onDestroy(()=>{e.unsubscribe(),i?.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks&&(!this._usePendingTasks||!this.pendingTasksInternal.hasPendingTasks)}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(e)?(clearTimeout(i.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==o),e()},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,i,r){if(r&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,r),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}static \u0275fac=function(i){return new(i||t)(K(O),K(td),K(nl))};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})(),td=(()=>{class t{_applications=new Map;registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return qy?.findTestabilityInTree(this,e,i)??null}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function _M(t){qy=t}var qy,nd=new C("");function xM(){Hg(t=>{let n="";throw new D(-600,n)})}var j2=10;function Yy(t,n){return Array.isArray(n)?n.reduce(Yy,t):w(w({},t),n)}var un=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=u(ei);afterRenderManager=u(Mf);zonelessEnabled=u(Bs);rootEffectScheduler=u(qm);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new R;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=u(ji);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Ae(e=>!e))}constructor(){u(bi,{optional:!0})}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{e.unsubscribe()})}_injector=u(lt);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,i){return this.bootstrapImpl(e,i)}bootstrapImpl(e,i,r=ne.NULL){return this._injector.get(O).run(()=>{if(pt(tt.BootstrapComponentStart),!this._injector.get(Hy).done){let L="";throw new D(405,L)}let s=Hr(e),l=this._injector.get(hr),c=new La(s,l);this.componentTypes.push(e);let{hostElement:d,directives:m,bindings:p}=B2(i),f=d||c.selector,g=c.create(r,[],f,l.injector,m,p),_=g.location.nativeElement,E=g.injector.get(Lf,null);return E?.registerApplication(_),g.onDestroy(()=>{this.detachView(g.hostView),Lc(this.components,g),E?.unregisterApplication(_)}),this._loadComponent(g),pt(tt.BootstrapComponentEnd,g),g})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){pt(tt.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Df.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw pt(tt.ChangeDetectionEnd),new D(101,!1);let e=se(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,se(e),this.afterTick.next(),pt(tt.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Vt,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++Rc(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;Lc(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(e),this._injector.get(nd,[]).forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Lc(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new D(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function B2(t){return t===void 0||typeof t=="string"||t instanceof Element?{hostElement:t}:t}function Lc(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function Vf(t,n){let e=ue(),i=mr();if(Rn(e,i,n)){let r=ft(),o=Fo();if(Nf(o,r,e,t,n))ur(o)&&ED(e,o.index);else{let s=Un(o,e);MD(e[mt],s,null,o.value,t,n,null)}}return Vf}function ye(t,n,e,i){let r=ue(),o=mr();if(Rn(r,o,n)){let a=ft(),s=Fo();rL(s,r,t,n,e,i)}return ye}var Xv=class{destroy(n){}updateValue(n,e){}swap(n,e){let i=Math.min(n,e),r=Math.max(n,e),o=this.detach(r);if(r-i>1){let a=this.detach(i);this.attach(i,o),this.attach(r,a)}else this.attach(i,o)}move(n,e){this.attach(e,this.detach(n))}};function yv(t,n,e,i,r){return t===e&&Object.is(n,i)?1:Object.is(r(t,n),r(e,i))?-1:0}function z2(t,n,e,i){let r,o,a=0,s=t.length-1,l=void 0;if(Array.isArray(n)){se(i);let c=n.length-1;for(se(null);a<=s&&a<=c;){let d=t.at(a),m=n[a],p=yv(a,d,a,m,e);if(p!==0){p<0&&t.updateValue(a,m),a++;continue}let f=t.at(s),g=n[c],_=yv(s,f,c,g,e);if(_!==0){_<0&&t.updateValue(s,g),s--,c--;continue}let E=e(a,d),L=e(s,f),A=e(a,m);if(Object.is(A,L)){let ee=e(c,g);Object.is(ee,E)?(t.swap(a,s),t.updateValue(s,g),c--,s--):t.move(s,a),t.updateValue(a,m),a++;continue}if(r??=new vf,o??=mE(t,a,s,e),Jv(t,r,a,A))t.updateValue(a,m),a++,s++;else if(o.has(A))r.set(E,t.detach(a)),s--;else{let ee=t.create(a,n[a]);t.attach(a,ee),a++,s++}}for(;a<=c;)uE(t,r,e,a,n[a]),a++}else if(n!=null){se(i);let c=n[Symbol.iterator]();se(null);let d=c.next();for(;!d.done&&a<=s;){let m=t.at(a),p=d.value,f=yv(a,m,a,p,e);if(f!==0)f<0&&t.updateValue(a,p),a++,d=c.next();else{r??=new vf,o??=mE(t,a,s,e);let g=e(a,p);if(Jv(t,r,a,g))t.updateValue(a,p),a++,s++,d=c.next();else if(!o.has(g))t.attach(a,t.create(a,p)),a++,s++,d=c.next();else{let _=e(a,m);r.set(_,t.detach(a)),s--}}}for(;!d.done;)uE(t,r,e,t.length,d.value),d=c.next()}for(;a<=s;)t.destroy(t.detach(s--));r?.forEach(c=>{t.destroy(c)})}function Jv(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function uE(t,n,e,i,r){if(Jv(t,n,i,e(i,r)))t.updateValue(i,r);else{let o=t.create(i,r);t.attach(i,o)}}function mE(t,n,e,i){let r=new Set;for(let o=n;o<=e;o++)r.add(i(o,t.at(o)));return r}var vf=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let i=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),n(i,e)}}};function Q(t,n,e,i,r,o,a,s){ii("NgControlFlow");let l=ue(),c=ft(),d=Jn(c.consts,o);return Ks(l,c,t,n,e,i,r,d,256,a,s),Ky}function Ky(t,n,e,i,r,o,a,s){return ii("NgControlFlow"),H2(t,n,e,i,r,o,a,s),Ky}function H2(t,n,e,i,r,o,a,s){let l=ue(),c=ft(),d=Jn(c.consts,o);Ks(l,c,t,n,e,i,r,d,512,a,s)}function Z(t,n){ii("NgControlFlow");let e=ue(),i=mr(),r=e[i]!==gn?e[i]:-1,o=r!==-1?yf(e,Tt+r):void 0,a=0;if(Rn(e,i,t)){let s=se(null);try{if(o!==void 0&&HD(o,a),t!==-1){let l=Tt+t,c=yf(e,l),d=iy(e[ge],l),m=$D(c,d,e),p=Qc(e,d,n,{dehydratedView:m});Zc(c,p,a,Ys(d,m))}}finally{se(s)}}else if(o!==void 0){let s=zD(o,a);s!==void 0&&(s[Ft]=n)}}var ey=class{lContainer;$implicit;$index;constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-Lt}};function Xt(t,n){return n}var ty=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}};function Nt(t,n,e,i,r,o,a,s,l,c,d,m,p){ii("NgControlFlow");let f=ue(),g=ft(),_=l!==void 0,E=ue(),L=s?a.bind(E[Dn][Ft]):a,A=new ty(_,L);E[Tt+t]=A,Ks(f,g,t+1,n,e,i,r,Jn(g.consts,o),256),_&&Ks(f,g,t+2,l,c,d,m,Jn(g.consts,p),512)}var ny=class extends Xv{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i}get length(){return this.lContainer.length-Lt}at(n){return this.getLView(n)[Ft].$implicit}attach(n,e){let i=e[Da];this.needsIndexUpdate||=n!==this.length,Zc(this.lContainer,e,n,Ys(this.templateTNode,i)),U2(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,$2(this.lContainer,n),G2(this.lContainer,n)}create(n,e){let i=df(this.lContainer,this.templateTNode.tView.ssrId);return Qc(this.hostLView,this.templateTNode,new ey(this.lContainer,e,n),{dehydratedView:i})}destroy(n){If(n[ge],n)}updateValue(n,e){this.getLView(n)[Ft].$implicit=e}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n(fE(t,n,r,s,i),b))}}return fE(t,n,r,s,i),b}function fE(t,n,e,i,r){if(ID(i,e,t,n,CM),Ac(i)){let o=e[ge];Ry(o,e,i),KE(o,i,e)}r!=null&&Tf(e,i)}function v(){let t=ft(),n=an(),e=kD(n);return t.firstCreatePass&&nM(t,e),Jb(e)&&ev(),Qb(),e.classesWithoutHost!=null&&wP(e)&&ry(t,e,ue(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&SP(e)&&ry(t,e,ue(),e.stylesWithoutHost,!1),v}function Y(t,n,e,i){return b(t,n,e,i),v(),Y}function zt(t,n,e,i){let r=ue(),o=r[ge],a=t+Tt,s=o.firstCreatePass?QL(a,o,2,n,e,i):o.data[a];return ID(s,r,t,n,CM),i!=null&&Tf(r,s),zt}function ln(){let t=an(),n=kD(t);return Jb(n)&&ev(),Qb(),ln}function $n(t,n,e,i){return zt(t,n,e,i),ln(),$n}var CM=(t,n,e,i,r)=>(Um(!0),iD(n[mt],i,lv()));function Be(){return ue()}function On(t,n,e){let i=ue(),r=mr();if(Rn(i,r,n)){let o=ft(),a=Fo();wD(a,i,t,n,i[mt],e)}return On}var id="en-US";var q2=id;function wM(t){typeof t=="string"&&(q2=t.toLowerCase().replace(/_/g,"-"))}function j(t,n,e){let i=ue(),r=ft(),o=an();return SM(r,i,i[mt],o,t,n,e),j}function il(t,n,e){let i=ue(),r=ft(),o=an();return(o.type&3||e)&&ZD(o,r,i,e,i[mt],t,n,Gs(o,i,n)),il}function SM(t,n,e,i,r,o,a){let s=!0,l=null;if((i.type&3||a)&&(l??=Gs(i,n,o),ZD(i,t,n,a,e,r,o,l)&&(s=!1)),s){let c=i.outputs?.[r],d=i.hostDirectiveOutputs?.[r];if(d&&d.length)for(let m=0;m>17&32767}function Q2(t){return(t&2)==2}function Z2(t,n){return t&131071|n<<17}function oy(t){return t|2}function Qs(t){return(t&131068)>>2}function _v(t,n){return t&-131069|n<<2}function X2(t){return(t&1)===1}function ay(t){return t|1}function J2(t,n,e,i,r,o){let a=o?n.classBindings:n.styleBindings,s=Va(a),l=Qs(a);t[i]=e;let c=!1,d;if(Array.isArray(e)){let m=e;d=m[1],(d===null||Ns(m,d)>0)&&(c=!0)}else d=e;if(r)if(l!==0){let p=Va(t[s+1]);t[i+1]=Xm(p,s),p!==0&&(t[p+1]=_v(t[p+1],i)),t[s+1]=Z2(t[s+1],i)}else t[i+1]=Xm(s,0),s!==0&&(t[s+1]=_v(t[s+1],i)),s=i;else t[i+1]=Xm(l,0),s===0?s=i:t[l+1]=_v(t[l+1],i),l=i;c&&(t[i+1]=oy(t[i+1])),pE(t,d,i,!0),pE(t,d,i,!1),eV(n,d,t,i,o),a=Xm(s,l),o?n.classBindings=a:n.styleBindings=a}function eV(t,n,e,i,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof n=="string"&&Ns(o,n)>=0&&(e[i+1]=ay(e[i+1]))}function pE(t,n,e,i){let r=t[e+1],o=n===null,a=i?Va(r):Qs(r),s=!1;for(;a!==0&&(s===!1||o);){let l=t[a],c=t[a+1];tV(l,n)&&(s=!0,t[a+1]=i?ay(c):oy(c)),a=i?Va(c):Qs(c)}s&&(t[e+1]=i?oy(r):ay(r))}function tV(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?Ns(t,n)>=0:!1}var zi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function nV(t){return t.substring(zi.key,zi.keyEnd)}function iV(t){return rV(t),EM(t,DM(t,0,zi.textEnd))}function EM(t,n){let e=zi.textEnd;return e===n?-1:(n=zi.keyEnd=oV(t,zi.key=n,e),DM(t,n,e))}function rV(t){zi.key=0,zi.keyEnd=0,zi.value=0,zi.valueEnd=0,zi.textEnd=t.length}function DM(t,n,e){for(;n32;)n++;return n}function Qr(t,n,e){return MM(t,n,e,!1),Qr}function ie(t,n){return MM(t,n,null,!0),ie}function Rt(t){sV(fV,aV,t,!0)}function aV(t,n){for(let e=iV(n);e>=0;e=EM(n,e))km(t,nV(n),!0)}function MM(t,n,e,i){let r=ue(),o=ft(),a=Oc(2);if(o.firstUpdatePass&&kM(o,t,a,i),n!==gn&&Rn(r,a,n)){let s=o.data[pi()];TM(o,s,r,r[mt],t,r[a+1]=hV(n,e),i,a)}}function sV(t,n,e,i){let r=ft(),o=Oc(2);r.firstUpdatePass&&kM(r,null,o,i);let a=ue();if(e!==gn&&Rn(a,o,e)){let s=r.data[pi()];if(NM(s,i)&&!IM(r,o)){let l=i?s.classesWithoutHost:s.stylesWithoutHost;l!==null&&(e=Sm(l,e||"")),ry(r,s,a,e,i)}else pV(r,s,a,a[mt],a[o+1],a[o+1]=mV(t,n,e),i,o)}}function IM(t,n){return n>=t.expandoStartIndex}function kM(t,n,e,i){let r=t.data;if(r[e+1]===null){let o=r[pi()],a=IM(t,e);NM(o,i)&&n===null&&!a&&(n=!1),n=lV(r,o,n,i),J2(r,o,n,e,a,i)}}function lV(t,n,e,i){let r=gS(t),o=i?n.residualClasses:n.residualStyles;if(r===null)(i?n.classBindings:n.styleBindings)===0&&(e=xv(null,t,n,e,i),e=$c(e,n.attrs,i),o=null);else{let a=n.directiveStylingLast;if(a===-1||t[a]!==r)if(e=xv(r,t,n,e,i),o===null){let l=cV(t,n,i);l!==void 0&&Array.isArray(l)&&(l=xv(null,t,n,l[1],i),l=$c(l,n.attrs,i),dV(t,n,i,l))}else o=uV(t,n,i)}return o!==void 0&&(i?n.residualClasses=o:n.residualStyles=o),e}function cV(t,n,e){let i=e?n.classBindings:n.styleBindings;if(Qs(i)!==0)return t[Va(i)]}function dV(t,n,e,i){let r=e?n.classBindings:n.styleBindings;t[Va(r)]=i}function uV(t,n,e){let i,r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0;){let l=t[r],c=Array.isArray(l),d=c?l[1]:l,m=d===null,p=e[r+1];p===gn&&(p=m?Sn:void 0);let f=m?Tm(p,i):d===i?p:void 0;if(c&&!_f(f)&&(f=Tm(l,i)),_f(f)&&(s=f,a))return s;let g=t[r+1];r=a?Va(g):Qs(g)}if(n!==null){let l=o?n.residualClasses:n.residualStyles;l!=null&&(s=Tm(l,i))}return s}function _f(t){return t!==void 0}function hV(t,n){return t==null||t===""||(typeof n=="string"?t=An(t)+n:typeof t=="object"&&(t=wc(An(t)))),t}function NM(t,n){return(t.flags&(n?8:16))!==0}function S(t,n=""){let e=ue(),i=ft(),r=t+Tt,o=i.firstCreatePass?Js(i,r,1,n,null):i.data[r],a=gV(i,e,o,n);e[r]=a,Hm()&&Iy(i,e,a,o),Ls(o,!1)}var gV=(t,n,e,i)=>(Um(!0),cF(n[mt],i));function bV(t,n,e,i=""){return Rn(t,mr(),e)?n+Pi(e)+i:gn}function vV(t,n,e,i,r,o=""){let a=ov(),s=KD(t,a,e,r);return Oc(2),s?n+Pi(e)+i+Pi(r)+o:gn}function yV(t,n,e,i,r,o,a,s=""){let l=ov(),c=QD(t,l,e,r,a);return Oc(3),c?n+Pi(e)+i+Pi(r)+o+Pi(a)+s:gn}function rt(t){return Ke("",t),rt}function Ke(t,n,e){let i=ue(),r=bV(i,t,n,e);return r!==gn&&Qy(i,pi(),r),Ke}function Hf(t,n,e,i,r){let o=ue(),a=vV(o,t,n,e,i,r);return a!==gn&&Qy(o,pi(),a),Hf}function Uf(t,n,e,i,r,o,a){let s=ue(),l=yV(s,t,n,e,i,r,o,a);return l!==gn&&Qy(s,pi(),l),Uf}function Qy(t,n,e){let i=Ub(n,t);dF(t[mt],i,e)}function rl(t,n,e){Ym(n)&&(n=n());let i=ue(),r=mr();if(Rn(i,r,n)){let o=ft(),a=Fo();CD(a,i,t,n,i[mt],e)}return rl}function rd(t,n){let e=Ym(t);return e&&t.set(n),e}function ol(t,n){let e=ue(),i=ft(),r=an();return SM(i,e,e[mt],r,t,n),ol}function al(t){return Rn(ue(),mr(),t)?Pi(t):gn}function gE(t,n,e){let i=ft();i.firstCreatePass&&AM(n,i.data,i.blueprint,Vi(t),e)}function AM(t,n,e,i,r){if(t=on(t),Array.isArray(t))for(let o=0;o>20;if(Ca(t)||!t.multi){let f=new Pa(c,r,Ue,null),g=wv(l,n,r?d:d+p,m);g===-1?(Dv(cf(s,a),o,l),Cv(o,t,n.length),n.push(l),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(f),a.push(f)):(e[g]=f,a[g]=f)}else{let f=wv(l,n,d+p,m),g=wv(l,n,d,d+p),_=f>=0&&e[f],E=g>=0&&e[g];if(r&&!E||!r&&!_){Dv(cf(s,a),o,l);let L=CV(r?xV:_V,e.length,r,i,c,t);!r&&E&&(e[g].providerFactory=L),Cv(o,t,n.length,0),n.push(l),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(L),a.push(L)}else{let L=RM(e[r?g:f],c,!r&&i);Cv(o,t,f>-1?f:g,L)}!r&&i&&E&&e[g].componentProviders++}}}function Cv(t,n,e,i){let r=Ca(n),o=Jw(n);if(r||o){let l=(o?on(n.useClass):n).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.multi){let d=c.indexOf(e);d===-1?c.push(e,[i,l]):c[d+1].push(i,l)}else c.push(e,l)}}}function RM(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function wv(t,n,e,i){for(let r=e;r{e.providersResolver=(i,r)=>gE(i,r?r(t):t,!1),n&&(e.viewProvidersResolver=(i,r)=>gE(i,r?r(n):n,!0))}}function sl(t,n,e){return PM(ue(),Lm(),t,n,e)}function $f(t,n,e,i,r){return wV(ue(),Lm(),t,n,e,i,r)}function OM(t,n){let e=t[n];return e===gn?void 0:e}function PM(t,n,e,i,r,o){let a=n+e;return Rn(t,a,r)?YD(t,a+1,o?i.call(o,r):i(r)):OM(t,a+1)}function wV(t,n,e,i,r,o,a,s){let l=n+e;return QD(t,l,r,o,a)?YD(t,l+3,s?i.call(s,r,o,a):i(r,o,a)):OM(t,l+3)}function vi(t,n){let e=ft(),i,r=t+Tt;e.firstCreatePass?(i=SV(n,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];let o=i.factory||(i.factory=To(i.type,!0)),a,s=Nn(Ue);try{let l=lf(!1),c=o();return lf(l),Gb(e,ue(),r,c),c}finally{Nn(s)}}function SV(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function yi(t,n,e){let i=t+Tt,r=ue(),o=$b(r,i);return EV(r,i)?PM(r,Lm(),n,o.transform,e,o):o.transform(e)}function EV(t,n){return t[ge].data[n].pure}function Zy(t,n){return Af(t,n)}var Jm=null;function FM(t){Jm!==null&&(t.defaultEncapsulation!==Jm.defaultEncapsulation||t.preserveWhitespaces!==Jm.preserveWhitespaces)||(Jm=t)}var LM=(()=>{class t{applicationErrorHandler=u(ei);appRef=u(un);taskService=u(ji);ngZone=u(O);zonelessEnabled=u(Bs);tracing=u(bi,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new xe;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(xc):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(u(Wm,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let e=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(e);return}this.switchToMicrotaskScheduler(),this.taskService.remove(e)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let e=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})})}notify(e){if(!this.zonelessEnabled&&e===5)return;switch(e){case 0:case 2:{this.appRef.dirtyFlags|=2;break}case 3:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?wS:uv;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(xc+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){this.applicationErrorHandler(i)}finally{this.taskService.remove(e),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function VM(){return[{provide:Oi,useExisting:LM},{provide:O,useClass:Cc},{provide:Bs,useValue:!0}]}var Xy=(()=>{class t{compileModuleSync(e){return new Uc(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),jM=new C("");function DV(){return typeof $localize<"u"&&$localize.locale||id}var Gf=new C("",{factory:()=>u(Gf,{optional:!0,skipSelf:!0})||DV()});function In(t,n){return uc(t,n?.equal)}function Te(t){return aw(t)}var BM=class t extends Error{_brand;constructor(n){super(n)}static IDLE=new t("IDLE");static LOADING=new t("LOADING")},MV=t=>t;function Wf(t,n){if(typeof t=="function"){let e=qg(t,MV,n?.equal);return zM(e,void 0,n?.set)}else{let e=qg(t.source,t.computation,t.equal);return zM(e,void 0,t.set)}}function zM(t,n,e){let i=t[Ot],r=t;if(e!==void 0){let o=a=>Yg(i,a);r.set=a=>e(a,o),r.update=a=>e(a(Te(t)),o)}else r.set=o=>Yg(i,o),r.update=o=>ow(i,o);return r.asReadonly=$m.bind(t),r}function YM(t,n){let e=Object.create(_E);e.value=t,e.transformFn=n?.transform;function i(){if(Rr(e),e.value===xf){let r=null;throw new D(-950,r)}return e.value}return i[Ot]=e,i}var Ui=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>Wc(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function i_(t){return LV(t)?t.default:t}function LV(t){return t&&typeof t=="object"&&"default"in t}function HM(t,n){return YM(t,n)}function VV(t){return YM(xf,t)}var za=(HM.required=VV,HM);function UM(t,n){return Vy(n)}function jV(t,n){return jy(n)}var ad=(UM.required=jV,UM);function $M(t,n){return Vy(n)}function BV(t,n){return jy(n)}var KM=($M.required=BV,$M);var QM=(()=>{class t{constructor(e){}static \u0275fac=function(i){return new(i||t)(K(un))};static \u0275mod=q({type:t});static \u0275inj=W({})}return t})();var zV=1e4;var cee=zV-1e3;var We=(()=>{class t{static __NG_ELEMENT_ID__=HV}return t})();function HV(t){return UV(an(),ue(),(t&16)===16)}function UV(t,n,e){if(ur(t)&&!e){let i=fi(t.index,n);return new jo(i,i)}else if(t.type&175){let i=n[Dn];return new jo(i,n)}return null}var $V=(()=>{class t{zone=u(O);changeDetectionScheduler=u(Oi);applicationRef=u(un);applicationErrorHandler=u(ei);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.applicationRef._runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(e){this.applicationErrorHandler(e)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),GV=new C("",{factory:()=>!1});function WV({ngZoneFactory:t,scheduleInRootZone:n}){return t??=()=>new O(de(w({},XM()),{scheduleInRootZone:n})),[{provide:Bs,useValue:!1},{provide:O,useFactory:t},{provide:Ao,multi:!0,useFactory:()=>{let e=u($V,{optional:!0});return()=>e.initialize()}},{provide:Ao,multi:!0,useFactory:()=>{let e=u(qV);return()=>{e.initialize()}}},{provide:Wm,useValue:n??dv}]}function ZM(t){let n=t?.scheduleInRootZone,e=WV({ngZoneFactory:()=>{let i=XM(t);return i.scheduleInRootZone=n,i.shouldCoalesceEventChangeDetection&&ii("NgZone_CoalesceEvent"),new O(i)},scheduleInRootZone:n});return cr([{provide:GV,useValue:!0},e])}function XM(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var qV=(()=>{class t{subscription=new xe;initialized=!1;zone=u(O);pendingTasks=u(ji);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{O.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{O.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function YV(t,n,e){let i=new Uc(e);return Promise.resolve(i)}function GM(t){for(let n=t.length-1;n>=0;n--)if(t[n]!==void 0)return t[n]}var qf=new C(""),KV=new C("");function od(t){return!t.moduleRef}function QV(t){let n=od(t)?t.r3Injector:t.moduleRef.injector,e=n.get(O);return e.run(()=>{od(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(ei),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:i})}),od(t)){let o=()=>n.destroy(),a=t.platformInjector.get(qf);a.add(o),n.onDestroy(()=>{r.unsubscribe(),a.delete(o)})}else{let o=()=>t.moduleRef.destroy(),a=t.platformInjector.get(qf);a.add(o),t.moduleRef.onDestroy(()=>{Lc(t.allPlatformModules,t.moduleRef),r.unsubscribe(),a.delete(o)})}return XV(i,e,()=>{let o=n.get(ji),a=o.add(),s=n.get(Hy);return s.runInitializers(),s.donePromise.then(()=>{let l=n.get(Gf,id);if(wM(l||id),!n.get(KV,!0))return od(t)?n.get(un):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(od(t)){let d=n.get(un);return t.rootComponent!==void 0&&d.bootstrap(t.rootComponent),d}else return JM?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>{o.remove(a)})})})}var JM;function WM(){JM=ZV}function ZV(t,n){let e=t.injector.get(un);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>e.bootstrap(i));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new D(-403,!1);n.push(t)}function XV(t,n,e){try{let i=e();return Kr(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t(i)),i}}var eI=(()=>{class t{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(e){this._injector=e}bootstrapModuleFactory(e,i){let r=[VM(),...i?.applicationProviders??[],MS],o=pM(e.moduleType,this.injector,r);return WM(),QV({moduleRef:o,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,i=[]){let r=Yy({},i);return WM(),YV(this.injector,r,e).then(o=>this.bootstrapModuleFactory(o,r))}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());let e=this._injector.get(qf,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(i){return new(i||t)(K(ne))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();var r_=null;function JV(t){if(a_())throw new D(400,!1);xM(),r_=t;let n=t.get(eI);return nj(t),n}function o_(t,n,e=[]){let i=`Platform: ${n}`,r=new C(i);return(o=[])=>{let a=a_();if(!a){let s=[...e,...o,{provide:r,useValue:!0}];a=t?.(s)??JV(ej(s,i))}return tj(r)}}function ej(t=[],n){return ne.create({name:n,providers:[{provide:kc,useValue:"platform"},{provide:qf,useValue:new Set([()=>r_=null])},...t]})}function tj(t){let n=a_();if(!n)throw new D(-401,!1);return n}function a_(){return r_?.get(eI)??null}function nj(t){let n=t.get(Gm,null);Qt(t,()=>{n?.forEach(e=>e())})}function G(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Gn(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}var Jy=Symbol("NOT_SET"),tI=new Set,ij=de(w({},vs),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Jy,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase(Rr(d),d.value),d.signal[Ot]=d,d.registerCleanupFn=m=>(d.cleanup??=new Set).add(m),this.nodes[l]=d,this.hooks[l]=m=>d.phaseFn(m)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let n of this.onDestroyFns)n();super.destroy();for(let n of this.nodes)if(n)try{for(let e of n.cleanup??tI)e()}finally{Co(n)}}};function s_(t,n){let e=n?.injector??u(ne),i=e.get(Oi),r=e.get(Mf),o=e.get(bi,null,{optional:!0});r.impl??=e.get(Dy);let a=t;typeof a=="function"&&(a={mixedReadWrite:t});let s=e.get(js,null,{optional:!0}),l=new e_(r.impl,[a.earlyRead,a.write,a.mixedReadWrite,a.read],s?.view,i,e,o?.snapshot(null),void 0);return r.impl.register(l),l}var nI=o_(null,"core",[]);function Yf(t,n){let e=Hr(t),i=n.elementInjector||As(),o=new La(e).create(i,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings);return n.onError&&(o.hostView._lView[Ps]=n.onError),o}function l_(t){let n=Hr(t);if(!n)return null;let e=new La(n);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var iI=null;function ri(){return iI}function c_(t){iI??=t}var sd=class{},Zr=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:()=>u(rI),providedIn:"platform"})}return t})(),d_=new C(""),rI=(()=>{class t extends Zr{_location;_history;_doc=u(oe);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ri().getBaseHref(this._doc)}onPopState(e){let i=ri().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){let i=ri().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,r){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function Kf(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function oI(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function $i(t){return t&&t[0]!=="?"?`?${t}`:t}var Gi=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:()=>u(Zf),providedIn:"root"})}return t})(),Qf=new C(""),Zf=(()=>{class t extends Gi{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??u(oe).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Kf(this._baseHref,e)}path(e=!1){let i=this._platformLocation.pathname+$i(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){let a=this.prepareExternalUrl(r+$i(o));this._platformLocation.pushState(e,i,a)}replaceState(e,i,r,o){let a=this.prepareExternalUrl(r+$i(o));this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||t)(K(Zr),K(Qf,8))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var br=(()=>{class t{_subject=new R;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=aj(oI(aI(i))),this._locationStrategy.onPopState(r=>{let o={url:this.path(!0),pop:!0,state:r.state,type:r.type};r.hasUAVisualTransition&&(o.hasUAVisualTransition=!0),this._subject.next(o)})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+$i(i))}normalize(e){return t.stripTrailingSlash(oj(this._basePath,aI(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+$i(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+$i(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i??void 0,complete:r??void 0})}static normalizeQueryParams=$i;static joinWithSlash=Kf;static stripTrailingSlash=oI;static \u0275fac=function(i){return new(i||t)(K(Gi))};static \u0275prov=re({token:t,factory:()=>rj(),providedIn:"root"})}return t})();function rj(){return new br(K(Gi))}function oj(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function aI(t){return t.replace(/\/index\.html$/,"")}function aj(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var m_=(()=>{class t extends Gi{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(e){let i=Kf(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let a=this.prepareExternalUrl(r+$i(o))||this._platformLocation.pathname;this._platformLocation.pushState(e,i,a)}replaceState(e,i,r,o){let a=this.prepareExternalUrl(r+$i(o))||this._platformLocation.pathname;this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||t)(K(Zr),K(Qf,8))};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})();var u_=/\s+/,sI=[],ld=(()=>{class t{_ngEl;_renderer;initialClasses=sI;rawClass;stateMap=new Map;constructor(e,i){this._ngEl=e,this._renderer=i}set klass(e){this.initialClasses=e!=null?e.trim().split(u_):sI}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(u_):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(u_).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||t)(Ue($),Ue(He))};static \u0275dir=B({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var f_=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=u(ne);constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(e,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||t)(Ue(Bt))};static \u0275dir=B({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[nt]})}return t})();var p_=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({})}return t})();function cd(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[r,o]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()!==n)continue;let a=o;try{a=decodeURIComponent(o)}catch(s){}return a.length>1&&a[0]==='"'&&a[a.length-1]==='"'&&(a=a.slice(1,-1)),a}return null}var lj=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),h_=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=K(lj),r},providedIn:"root"})}return t})();var b_="browser";function lI(t){return t===b_}var v_=(()=>{class t{static \u0275prov=re({token:t,providedIn:"root",factory:()=>new g_(u(oe),window)})}return t})(),g_=class{document;window;offset=()=>[0,0];constructor(n,e){this.document=n,this.window=e}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n,e){this.window.scrollTo(de(w({},e),{left:n[0],top:n[1]}))}scrollToAnchor(n,e){let i=dj(this.document,n);i&&(this.scrollToElement(i,e),i.focus({preventScroll:!0}))}setHistoryScrollRestoration(n){try{this.window.history.scrollRestoration=n}catch(e){console.warn(di(2400,!1))}}scrollToElement(n,e){let i=n.getBoundingClientRect(),r=i.left+this.window.pageXOffset,o=i.top+this.window.pageYOffset,a=this.offset();this.window.scrollTo(de(w({},e),{left:r-a[0],top:o-a[1]}))}};function dj(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;for(;r;){let o=r.shadowRoot;if(o){let a=o.getElementById(n)||o.querySelector(`[name="${CSS.escape(n)}"]`);if(a)return a}r=i.nextNode()}}return null}var dd=class{_doc;constructor(n){this._doc=n}manager},Xf=(()=>{class t extends dd{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r,o){return e.addEventListener(i,r,o),()=>this.removeEventListener(e,i,r,o)}removeEventListener(e,i,r,o){return e.removeEventListener(i,r,o)}static \u0275fac=function(i){return new(i||t)(K(oe))};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})(),tp=new C(""),w_=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,i){this._zone=i,e.forEach(a=>{a.manager=this});let r=e.filter(a=>!(a instanceof Xf));this._plugins=r.slice().reverse();let o=e.find(a=>a instanceof Xf);o&&this._plugins.push(o)}addEventListener(e,i,r,o){return this._findPluginFor(i).addEventListener(e,i,r,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(o=>o.supports(e)),!i)throw new D(-5101,!1);return this._eventNameToPlugin.set(e,i),i}static \u0275fac=function(i){return new(i||t)(K(tp),K(O))};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})(),__="ng-app-id";function cI(t){for(let n of t)n.remove()}function dI(t,n){let e=n.createElement("style");return e.textContent=t,e}function uj(t,n,e,i){let r=t.head?.querySelectorAll(`style[${__}="${n}"],link[${__}="${n}"]`);if(!r||r.length===0)return!1;for(let o of r)o.removeAttribute(__),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]});return!0}function C_(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var S_=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,i,r,o={}){this.doc=e,this.appId=i,this.nonce=r,uj(e,i,this.inline,this.external)&&this.hosts.add(e.head)}addStyles(e,i){for(let r of e)this.addUsage(r,this.inline,dI);i?.forEach(r=>this.addUsage(r,this.external,C_))}removeStyles(e,i){for(let r of e)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,i,r){let o=i.get(e);o?o.usage++:i.set(e,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,r(e,this.doc)))})}removeUsage(e,i){let r=i.get(e);r&&(r.usage--,r.usage<=0&&(cI(r.elements),i.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])cI(e);this.hosts.clear()}addHost(e){if(!this.hosts.has(e)){this.hosts.add(e);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(e,dI(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(e,C_(i,this.doc)))}}removeHost(e){this.hosts.delete(e);for(let i of[...this.inline.values(),...this.external.values()]){let r=[];for(let o of i.elements)o.parentNode===e?o.remove():r.push(o);i.elements=r}}addElement(e,i){return this.nonce&&i.setAttribute("nonce",this.nonce),e.appendChild(i)}static \u0275fac=function(i){return new(i||t)(K(oe),K(Gr),K(Vo,8),K(Ra))};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})(),x_={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},E_=/%COMP%/g;var mI="%COMP%",mj=`_nghost-${mI}`,fj=`_ngcontent-${mI}`,pj=!0,hj=new C("",{factory:()=>pj}),gj=new C("");function bj(t){return fj.replace(E_,t)}function vj(t){return mj.replace(E_,t)}function fI(t,n){return n.map(e=>e.replace(E_,t))}var fd=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;cssVarNamespace;constructor(e,i,r,o,a,s,l=null,c=null,d=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=a,this.ngZone=s,this.nonce=l,this.tracingService=c,this.cssVarNamespace=d??"",this.defaultRenderer=new ud(e,a,s,this.tracingService,this.cssVarNamespace)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;let r=this.getOrCreateRenderer(e,i);return r instanceof ep?r.applyToHost(e):r instanceof md&&r.applyStyles(),r}getOrCreateRenderer(e,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let a=this.doc,s=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,m=this.tracingService;switch(i.encapsulation){case Hi.Emulated:o=new ep(l,c,i,this.appId,d,a,s,m,this.cssVarNamespace);break;case Hi.ShadowDom:return new Jf(l,e,i,a,s,this.nonce,m,this.cssVarNamespace,c);case Hi.ExperimentalIsolatedShadowDom:return new Jf(l,e,i,a,s,this.nonce,m,this.cssVarNamespace);default:o=new md(l,c,i,d,a,s,m,this.cssVarNamespace);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(i){return new(i||t)(K(w_),K(ja),K(Gr),K(hj),K(oe),K(O),K(Vo),K(bi,8),K(gj,8))};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})(),ud=class{eventManager;doc;ngZone;tracingService;cssVarNamespace;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,i,r,o=""){this.eventManager=n,this.doc=e,this.ngZone=i,this.tracingService=r,this.cssVarNamespace=o}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(x_[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(uI(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){if(n){let r=uI(n)?n.content:n;if(i!=null&&i.parentNode!==r)throw new D(-5106,!1);r.insertBefore(e,i)}}removeChild(n,e){e.remove()}selectRootElement(n,e){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new D(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,r){if(r){e=r+":"+e;let o=x_[r];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let r=x_[i];r?n.removeAttributeNS(r,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,r){let o=e.startsWith("--");o&&(e=e.replace("%NS%",this.cssVarNamespace)),o||r&(pr.DashCase|pr.Important)?n.style.setProperty(e,i,r&pr.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){let r=e.startsWith("--");r&&(e=e.replace("%NS%",this.cssVarNamespace)),r||i&pr.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n!=null&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i,r){if(typeof n=="string"&&(n=ri().getGlobalEventTarget(this.doc,n),!n))throw new D(-5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,r)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===!1&&e.preventDefault()}}};function uI(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Jf=class extends ud{hostEl;sharedStylesHost;shadowRoot;constructor(n,e,i,r,o,a,s,l,c){super(n,r,o,s,l),this.hostEl=e,this.sharedStylesHost=c,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let d=i.styles;d=fI(i.id,d).map(p=>p.replace(/%NS%/g,l));for(let p of d){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=p,this.shadowRoot.appendChild(f)}let m=i.getExternalStyles?.();if(m)for(let p of m){let f=C_(p,r);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},md=class extends ud{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,i,r,o,a,s,l,c){super(n,o,a,s,l),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let d=i.styles,m=c?fI(c,d):d;this.styles=m.map(p=>p.replace(/%NS%/g,l)),this.styleUrls=i.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Sy.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ep=class extends md{contentAttr;hostAttr;constructor(n,e,i,r,o,a,s,l,c){let d=r+"-"+i.id;super(n,e,i,o,a,s,l,c,d),this.contentAttr=bj(d),this.hostAttr=vj(d)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}};var np=class t extends sd{supportsDOMEvents=!0;static makeCurrent(){c_(new t)}onAndCancel(n,e,i,r){return n.addEventListener(e,i,r),()=>{n.removeEventListener(e,i,r)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=yj();return e==null?null:_j(e)}resetBaseElement(){pd=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return cd(document.cookie,n)}},pd=null;function yj(){return pd=pd||document.head.querySelector("base"),pd?pd.getAttribute("href"):null}function _j(t){return new URL(t,document.baseURI).pathname}var ip=class{addToWindow(n){En.getAngularTestability=(i,r=!0)=>{let o=n.findTestabilityInTree(i,r);if(o==null)throw new D(5103,!1);return o},En.getAllAngularTestabilities=()=>n.getAllTestabilities(),En.getAllAngularRootElements=()=>n.getAllRootElements();let e=i=>{let r=En.getAllAngularTestabilities(),o=r.length,a=function(){o--,o==0&&i()};r.forEach(s=>{s.whenStable(a)})};En.frameworkStabilizers||(En.frameworkStabilizers=[]),En.frameworkStabilizers.push(e)}findTestabilityInTree(n,e,i){if(e==null)return null;let r=n.getTestability(e);return r??(i?ri().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},pI=["alt","control","meta","shift"],xj={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Cj={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},hI=(()=>{class t extends dd{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,r,o){let a=t.parseEventName(i),s=t.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ri().onAndCancel(e,a.domEventName,s,o))}static parseEventName(e){let i=e.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(i.pop()),a="",s=i.indexOf("code");if(s>-1&&(i.splice(s,1),a="code."),pI.forEach(c=>{let d=i.indexOf(c);d>-1&&(i.splice(d,1),a+=c+".")}),a+=o,i.length!=0||o.length===0)return null;let l={};return l.domEventName=r,l.fullKey=a,l}static matchEventFullKeyCode(e,i){let r=xj[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),pI.forEach(a=>{if(a!==r){let s=Cj[a];s(e)&&(o+=a+".")}}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(i){return new(i||t)(K(oe))};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})();function wj(){np.makeCurrent()}function Sj(){return new Ri}function Ej(){return dy(document),document}var Dj=[{provide:Ra,useValue:b_},{provide:Gm,useValue:wj,multi:!0},{provide:oe,useFactory:Ej}],D_=o_(nI,"browser",Dj);var Mj=[{provide:nl,useClass:ip},{provide:Lf,useClass:ed,deps:[O,td,nl]},{provide:ed,useClass:ed,deps:[O,td,nl]}],Ij=[{provide:kc,useValue:"root"},{provide:Ri,useFactory:Sj},{provide:tp,useClass:Xf,multi:!0},{provide:tp,useClass:hI,multi:!0},fd,{provide:ja,useClass:S_},{provide:S_,useExisting:ja},w_,{provide:Vt,useExisting:fd},[]],hd=(()=>{class t{constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({providers:[...Ij,...Mj],imports:[p_,QM]})}return t})();var _r=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(` -`).forEach(e=>{let i=e.indexOf(":");if(i>0){let r=e.slice(0,i),o=e.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.addHeaderEntry(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init();for(let[e,i]of n.headers.entries())this.headers.set(e,i),this.normalizedNames.set(e,n.normalizedNames.get(e))}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,e);let r=n.op==="a"?(this.headers.get(e)||[]).slice():[];r.push(...i),this.headers.set(e,r);break;case"d":let o=n.value;if(o===void 0)this.headers.delete(e),this.normalizedNames.delete(e);else{let a=Array.isArray(o)?o:[o],s=this.headers.get(e);if(!s)return;s=s.filter(l=>a.indexOf(l)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(n,e){let i=n.toLowerCase();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(e):this.headers.set(i,[e])}setHeaderEntries(n,e){let i=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var op=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}},ap=class{encodeKey(n){return gI(n)}encodeValue(n){return gI(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function kj(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[a,s]=o==-1?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=e.get(a)||[];l.push(s),e.set(a,l)}),e}var Tj=/[&+#]/g;function gI(t){return encodeURI(t).replace(Tj,encodeURIComponent)}function rp(t){return`${t}`}var Xr=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new ap,n.fromString){if(n.fromObject)throw new D(2805,!1);this.map=kj(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let i=n.fromObject[e],r=Array.isArray(i)?i.map(rp):[rp(i)];this.map.set(e,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(i=>{let r=n[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[n,e]of this.cloneFrom.map.entries())this.map.set(n,e);this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=n.op==="a"?(this.map.get(n.param)||[]).slice():[];e.push(rp(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let i=(this.map.get(n.param)||[]).slice(),r=i.indexOf(rp(n.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null}}};function Nj(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function bI(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function vI(t){return typeof Blob<"u"&&t instanceof Blob}function yI(t){return typeof FormData<"u"&&t instanceof FormData}function Aj(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var gd="Content-Type",sp="Accept",wI="text/plain",SI="application/json",EI=`${SI}, ${wI}, */*`,ll=class t{url;body=null;headers;context;reportProgress=!1;reportUploadProgress=!1;reportDownloadProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,e,i,r){this.url=e,this.method=n.toUpperCase();let o;if(Nj(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o){if(this.reportProgress=!!o.reportProgress,this.reportUploadProgress=!!o.reportUploadProgress,this.reportDownloadProgress=!!o.reportDownloadProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new D(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer!==void 0&&(this.referrer=o.referrer),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache}if(this.headers??=new _r,this.context??=new op,!this.params)this.params=new Xr,this.urlWithParams=e;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=e;else{let s=e,l="",c=e.indexOf("#");c!==-1&&(l=e.substring(c),s=e.substring(0,c));let d=s.indexOf("?"),m=d===-1?"?":dJe.set(It,n.setHeaders[It]),ht)),n.setParams&&(Le=Object.keys(n.setParams).reduce((Je,It)=>Je.set(It,n.setParams[It]),Le)),new t(e,i,E,{params:Le,headers:ht,context:Pe,reportProgress:A,reportUploadProgress:ee,reportDownloadProgress:Re,responseType:r,withCredentials:L,transferCache:g,keepalive:o,cache:s,priority:a,timeout:_,mode:l,redirect:c,credentials:d,referrer:m,integrity:p,referrerPolicy:f})}},yr=(function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t})(yr||{}),cl=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,e=200,i="OK"){this.headers=n.headers||new _r,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},bd=class t extends cl{constructor(n={}){super(n)}type=yr.ResponseHeader;clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},dl=class t extends cl{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=yr.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},vr=class extends cl{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},DI=200,Rj=204;var Oj=/^\)\]\}',?\n/,Fne=1024*1024,MI=new C("",{factory:()=>null}),lp=(()=>{class t{fetchImpl=u(I_,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=u(O);destroyRef=u(Wt);maxResponseSize=u(MI);handle(e){return new fe(i=>{let r=new AbortController,o=!1,a={next:l=>{l.type===yr.Response&&(o=!0),i.next(l)},error:l=>{o=!0,i.error(l)},complete:()=>{o=!0,i.complete()}};this.doRequest(e,r.signal,a).then(k_,l=>a.error(new vr({error:l})));let s;return e.timeout&&(s=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{r.signal.aborted||r.abort(new DOMException("signal timed out","TimeoutError"))},e.timeout))),()=>{s!==void 0&&clearTimeout(s),!o&&!r.signal.aborted&&r.abort()}})}doRequest(e,i,r){return z(this,null,function*(){let o=this.createRequestInit(e),a;try{let E=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,w({signal:i},o)));Pj(E),r.next({type:yr.Sent}),a=yield E}catch(E){r.error(new vr({error:E,status:E.status??0,statusText:E.statusText,url:e.urlWithParams,headers:E.headers}));return}let s=new _r(a.headers),l=a.statusText,c=a.url||e.urlWithParams,d=a.status,m=null,p=e.reportProgress||e.reportDownloadProgress;if(p&&r.next(new bd({headers:s,status:d,statusText:l,url:c})),a.body){let E=a.headers.get(gd)??"",L=a.headers.get("content-length"),A=L!==null?Number(L):NaN;this.maxResponseSize!==null&&Number.isFinite(A)&&A>this.maxResponseSize&&(yield a.body.cancel(),_I(this.maxResponseSize));let ee=[],Re=a.body.getReader(),ht=0,Le,Pe,Je=typeof Zone<"u"&&Zone.current,It=!1;if(yield this.ngZone.runOutsideAngular(()=>z(this,null,function*(){for(;;){if(this.destroyRef.destroyed){yield Re.cancel(),It=!0;break}let{done:_e,value:k}=yield Re.read();if(_e)break;if(ee.push(k),ht+=k.length,this.maxResponseSize!==null&&ht>this.maxResponseSize&&(yield Re.cancel(),_I(this.maxResponseSize)),p){Pe=e.responseType==="text"?(Pe??"")+(Le??=xI(E)).decode(k,{stream:!0}):void 0;let Ve=()=>r.next({type:yr.DownloadProgress,total:Number.isFinite(A)?A:void 0,loaded:ht,partialText:Pe});Je?Je.run(Ve):Ve()}}})),It){r.complete();return}let me=this.concatChunks(ee,ht);try{m=this.parseBody(e,me,E,d)}catch(_e){r.error(new vr({error:_e,headers:new _r(a.headers),status:a.status,statusText:a.statusText,url:a.url||e.urlWithParams}));return}}d===0&&(d=m?DI:0);let f=d>=200&&d<300,g=a.redirected,_=a.type;f?(r.next(new dl({body:m,headers:s,status:d,statusText:l,url:c,redirected:g,responseType:_})),r.complete()):r.error(new vr({error:m,headers:s,status:d,statusText:l,url:c,redirected:g,responseType:_}))})}parseBody(e,i,r,o){switch(e.responseType){case"json":let a=new TextDecoder().decode(i).replace(Oj,"");if(a==="")return null;try{return JSON.parse(a)}catch(s){if(o<200||o>=300)return a;throw s}case"text":return xI(r).decode(i);case"blob":return new Blob([i],{type:r});case"arraybuffer":return i.buffer}}createRequestInit(e){if(e.reportUploadProgress)throw new D(2824,!1);let i={},r;if(r=e.credentials,e.withCredentials&&(r="include"),e.headers.forEach((o,a)=>i[o]=a.join(",")),e.headers.has(sp)||(i[sp]=EI),!e.headers.has(gd)){let o=e.detectContentTypeHeader();o!==null&&(i[gd]=o)}return{body:e.serializeBody(),method:e.method,headers:i,credentials:r,keepalive:e.keepalive,cache:e.cache,priority:e.priority,mode:e.mode,redirect:e.redirect,referrer:e.referrer,integrity:e.integrity,referrerPolicy:e.referrerPolicy}}concatChunks(e,i){let r=new Uint8Array(i),o=0;for(let a of e)r.set(a,o),o+=a.length;return r}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),I_=class{};function k_(){}function Pj(t){t.then(k_,k_)}function _I(t){throw new D(-2825,!1)}var Fj=/charset=\s*["']?([^;"'\s]+)["']?/i;function xI(t){let n=t.match(Fj);if(n!==null)try{return new TextDecoder(n[1])}catch(e){}return new TextDecoder}var Lj=new C("",{factory:()=>!0}),Vj="XSRF-TOKEN",II=new C("",{factory:()=>Vj}),jj="X-XSRF-TOKEN",kI=new C("",{factory:()=>jj}),Bj=(()=>{class t{cookieName=u(II);doc=u(oe);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=cd(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),TI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=K(Bj),r},providedIn:"root"})}return t})();function NI(t,n){if(!u(Lj)||t.method==="GET"||t.method==="HEAD")return n(t);try{let r=u(Zr).href,{origin:o}=new URL(r),{origin:a}=new URL(t.url,o);if(o!==a)return n(t)}catch(r){return n(t)}let e=u(TI).getToken(),i=u(kI);return e!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,e)})),n(t)}function AI(t,n){return n(t)}function zj(t,n){return(e,i)=>n.intercept(e,{handle:r=>t(r,i)})}function Hj(t,n,e){return(i,r)=>Qt(e,()=>n(i,o=>t(o,r)))}var RI=new C(""),N_=new C("",{factory:()=>[NI]}),OI=new C(""),A_=new C("",{factory:()=>!0});function Uj(){let t=null;return(n,e)=>{t===null&&(t=(u(RI,{optional:!0})??[]).reduceRight(zj,AI));let i=u(zs);if(u(A_)){let o=i.add();return t(n,e).pipe(Is(o))}else return t(n,e)}}var dp=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=K(lp),r},providedIn:"root"})}return t})();var cp=(()=>{class t{backend;injector;chain=null;pendingTasks=u(zs);contributeToStability=u(A_);constructor(e,i){this.backend=e,this.injector=i}handle(e){if(this.chain===null){let r=this.injector.get(up,null,{skipSelf:!0}),o=r!==null&&this.backend===r,a=this.injector.get(OI,[],o?{self:!0}:void 0),s=Array.from(new Set([...this.injector.get(N_),...a]));this.chain=s.reduceRight((l,c)=>Hj(l,c,this.injector),AI)}let i=this.chain;if(this.contributeToStability){let r=this.pendingTasks.add();return Te(()=>i(e,o=>this.backend.handle(o))).pipe(Is(r))}else return Te(()=>i(e,r=>this.backend.handle(r)))}static \u0275fac=function(i){return new(i||t)(K(dp),K(lt))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),up=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=K(cp),r},providedIn:"root"})}return t})();function M_(t,n){return w({body:n},t)}var ul=(()=>{class t{handler;constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof ll)o=e;else{let l;r.headers instanceof _r?l=r.headers:l=new _r(r.headers);let c;r.params&&(r.params instanceof Xr?c=r.params:c=new Xr({fromObject:r.params})),o=new ll(e,i,r.body!==void 0?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,reportUploadProgress:r.reportUploadProgress,reportDownloadProgress:r.reportDownloadProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,credentials:r.credentials,referrer:r.referrer,referrerPolicy:r.referrerPolicy,integrity:r.integrity,timeout:r.timeout})}let a=pe(o).pipe(Io(l=>this.handler.handle(l)));if(e instanceof ll||r.observe==="events")return a;let s=a.pipe(Me(l=>l instanceof dl));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return s.pipe(Ae(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new D(2806,!1);return l.body}));case"blob":return s.pipe(Ae(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new D(2807,!1);return l.body}));case"text":return s.pipe(Ae(l=>{if(l.body!==null&&typeof l.body!="string")throw new D(2808,!1);return l.body}));default:return s.pipe(Ae(l=>l.body))}case"response":return s;default:throw new D(2809,!1)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new Xr().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,M_(r,i))}post(e,i,r={}){return this.request("POST",e,M_(r,i))}put(e,i,r={}){return this.request("PUT",e,M_(r,i))}static \u0275fac=function(i){return new(i||t)(K(up))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var $j=/^\)\]\}',?\n/;var T_=(()=>{class t{xhrFactory;tracingService=u(bi,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method==="JSONP")throw new D(-2800,!1);let i=this.xhrFactory;return pe(null).pipe(St(()=>new fe(o=>{let a=i.build();if(a.open(e.method,e.urlWithParams),e.withCredentials&&(a.withCredentials=!0),e.headers.forEach((A,ee)=>a.setRequestHeader(A,ee.join(","))),e.headers.has(sp)||a.setRequestHeader(sp,EI),!e.headers.has(gd)){let A=e.detectContentTypeHeader();A!==null&&a.setRequestHeader(gd,A)}if(e.timeout&&(a.timeout=e.timeout),e.responseType){let A=e.responseType.toLowerCase();a.responseType=A!=="json"?A:"text"}let s=e.serializeBody(),l=null,c=()=>{if(l!==null)return l;let A=a.statusText||"OK",ee=new _r(a.getAllResponseHeaders()),Re=a.responseURL||e.url;return l=new bd({headers:ee,status:a.status,statusText:A,url:Re}),l},d=this.maybePropagateTrace(()=>{let{headers:A,status:ee,statusText:Re,url:ht}=c(),Le=null;ee!==Rj&&(Le=typeof a.response>"u"?a.responseText:a.response),ee===0&&(ee=Le?DI:0);let Pe=ee>=200&&ee<300;if(e.responseType==="json"&&typeof Le=="string"){let Je=Le;Le=Le.replace($j,"");try{Le=Le!==""?JSON.parse(Le):null}catch(It){Le=Je,Pe&&(Pe=!1,Le={error:It,text:Le})}}Pe?(o.next(new dl({body:Le,headers:A,status:ee,statusText:Re,url:ht||void 0})),o.complete()):o.error(new vr({error:Le,headers:A,status:ee,statusText:Re,url:ht||void 0}))}),m=this.maybePropagateTrace(A=>{let{url:ee}=c(),Re=new vr({error:A,status:a.status||0,statusText:a.statusText||"Unknown Error",url:ee||void 0});o.error(Re)}),p=m;e.timeout&&(p=this.maybePropagateTrace(A=>{let{url:ee}=c(),Re=new vr({error:new DOMException("Request timed out","TimeoutError"),status:a.status||0,statusText:a.statusText||"Request timeout",url:ee||void 0});o.error(Re)}));let f=!1,g=this.maybePropagateTrace(A=>{f||(o.next(c()),f=!0);let ee={type:yr.DownloadProgress,loaded:A.loaded};A.lengthComputable&&(ee.total=A.total),e.responseType==="text"&&a.responseText&&(ee.partialText=a.responseText),o.next(ee)}),_=this.maybePropagateTrace(A=>{let ee={type:yr.UploadProgress,loaded:A.loaded};A.lengthComputable&&(ee.total=A.total),o.next(ee)});a.addEventListener("load",d),a.addEventListener("error",m),a.addEventListener("timeout",p),a.addEventListener("abort",m);let E=e.reportProgress||e.reportUploadProgress,L=e.reportProgress||e.reportDownloadProgress;return L&&a.addEventListener("progress",g),E&&s!==null&&a.upload&&a.upload.addEventListener("progress",_),a.send(s),o.next({type:yr.Sent}),()=>{a.removeEventListener("error",m),a.removeEventListener("abort",m),a.removeEventListener("load",d),a.removeEventListener("timeout",p),L&&a.removeEventListener("progress",g),E&&s!==null&&a.upload&&a.upload.removeEventListener("progress",_),a.readyState!==a.DONE&&a.abort()}})))}static \u0275fac=function(i){return new(i||t)(K(h_))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),vd=(function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t[t.Xhr=7]="Xhr",t})(vd||{});function R_(t,n){return{\u0275kind:t,\u0275providers:n}}function O_(...t){let n=[ul,lp,cp,{provide:up,useExisting:cp},{provide:dp,useFactory:()=>u(lp)},{provide:N_,useValue:NI,multi:!0}];for(let e of t)n.push(...e.\u0275providers);return cr(n)}var CI=new C("");function P_(){return R_(vd.LegacyInterceptors,[{provide:CI,useFactory:Uj},{provide:N_,useExisting:CI,multi:!0}])}function F_({cookieName:t,headerName:n}){let e=[];return t!==void 0&&e.push({provide:II,useValue:t}),n!==void 0&&e.push({provide:kI,useValue:n}),R_(vd.CustomXsrfConfiguration,e)}function L_(){return R_(vd.Xhr,[T_,{provide:dp,useExisting:T_}])}var PI=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(i){return new(i||t)(K(oe))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var yd=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=K(Gj),r},providedIn:"root"})}return t})(),Gj=(()=>{class t extends yd{_doc=u(oe);sanitize(e,i){if(i==null)return null;switch(e){case ut.NONE:return i;case ut.HTML:return gr(i,"HTML")?An(i):Ef(this._doc,String(i)).toString();case ut.STYLE:return gr(i,"Style")?An(i):i;case ut.SCRIPT:if(gr(i,"Script"))return An(i);throw new D(5200,!1);case ut.URL:return gr(i,"URL")?An(i):qc(String(i));case ut.RESOURCE_URL:if(gr(i,"ResourceURL"))return An(i);throw new D(-5201,!1);default:throw new D(5202,!1)}}bypassSecurityTrustHtml(e){return fy(e)}bypassSecurityTrustStyle(e){return py(e)}bypassSecurityTrustScript(e){return hy(e)}bypassSecurityTrustUrl(e){return gy(e)}bypassSecurityTrustResourceUrl(e){return by(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();var V_;try{V_=typeof Intl<"u"&&Intl.v8BreakIterator}catch(t){V_=!1}var $e=(()=>{class t{_platformId=u(Ra);isBrowser=this._platformId?lI(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||V_)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function ml(t){return Array.isArray(t)?t:[t]}var LI=new Set,Ha,fl=(()=>{class t{_platform=u($e);_nonce=u(Vo,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):qj}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&Wj(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function Wj(t,n){if(!LI.has(t))try{Ha||(Ha=document.createElement("style"),n&&Ha.setAttribute("nonce",n),Ha.setAttribute("type","text/css"),document.head.appendChild(Ha)),Ha.sheet&&(Ha.sheet.insertRule(`@media ${t.replace(/[{}]/g,"")} {body{ }}`,0),LI.add(t))}catch(e){console.error(e)}}function qj(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var j_=(()=>{class t{_mediaMatcher=u(fl);_zone=u(O);_queries=new Map;_destroySubject=new R;ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return VI(ml(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=VI(ml(e)).map(a=>this._registerQuery(a).observable),o=Ds(r);return o=Mo(o.pipe(Pt(1)),o.pipe(ya(1),Ai(0))),o.pipe(Ae(a=>{let s={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:c})=>{s.matches=s.matches||l,s.breakpoints[c]=l}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),o={observable:new fe(a=>{let s=l=>this._zone.run(()=>a.next(l));return i.addListener(s),()=>{i.removeListener(s)}}).pipe(vt(i),Ae(({matches:a})=>({query:e,matches:a})),Ye(this._destroySubject)),mql:i};return this._queries.set(e,o),o}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function VI(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var jI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({})}return t})();var Ie="primary",Nd=Symbol("RouteTitle"),G_=class{params;constructor(n){this.params=n||{}}has(n){return Object.hasOwn(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function $a(t){return new G_(t)}function B_(t,n,e){for(let i=0;it.length||e.pathMatch==="full"&&(n.hasChildren()||i.lengtht.length||e.pathMatch==="full"&&n.hasChildren()&&e.path!=="**")return null;let s={};return!B_(o,t.slice(0,o.length),s)||!B_(a,t.slice(t.length-a.length),s)?null:{consumed:t,posParams:s}}function bp(t){return new Promise((n,e)=>{t.pipe(Vr()).subscribe({next:i=>n(i),error:i=>e(i)})})}function Yj(t,n){if(t.length!==n.length)return!1;for(let e=0;ei[o]===r)}else return t===n}function Kj(t){return t.length>0?t[t.length-1]:null}function Ad(t){return hc(t)?t:Kr(t)?bt(Promise.resolve(t)):pe(t)}function KI(t){return hc(t)?bp(t):Promise.resolve(t)}var Qj={exact:XI,subset:JI},QI={exact:Zj,subset:Xj,ignored:()=>!0},ZI={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},vp={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function q_(t,n,e){let i=w(w({},vp),e||{});return Qj[i.paths](t.root,n.root,i.matrixParams)&&QI[i.queryParams](t.queryParams,n.queryParams)&&!(i.fragment==="exact"&&t.fragment!==n.fragment)}function Zj(t,n){return Cr(t,n)}function XI(t,n,e){if(!Ua(t.segments,n.segments)||!pp(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let i in n.children)if(!t.children[i]||!XI(t.children[i],n.children[i],e))return!1;return!0}function Xj(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>YI(t[e],n[e]))}function JI(t,n,e){return ek(t,n,n.segments,e)}function ek(t,n,e,i){if(t.segments.length>e.length){let r=t.segments.slice(0,e.length);return!(!Ua(r,e)||n.hasChildren()||!pp(r,e,i))}else if(t.segments.length===e.length){if(!Ua(t.segments,e)||!pp(t.segments,e,i))return!1;for(let r in n.children)if(!t.children[r]||!JI(t.children[r],n.children[r],i))return!1;return!0}else{let r=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!Ua(t.segments,r)||!pp(t.segments,r,i)||!t.children[Ie]?!1:ek(t.children[Ie],n,o,i)}}function pp(t,n,e){return n.every((i,r)=>QI[e](t[r].parameters,i.parameters))}var oi=class{root;queryParams;fragment;_queryParamMap;constructor(n=new ot([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap??=$a(this.queryParams),this._queryParamMap}toString(){return nB.serialize(this)}},ot=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return hp(this)}},Bo=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=$a(this.parameters),this._parameterMap}toString(){return nk(this)}};function Jj(t,n){return Ua(t,n)&&t.every((e,i)=>Cr(e.parameters,n[i].parameters))}function Ua(t,n){return t.length!==n.length?!1:t.every((e,i)=>e.path===n[i].path)}function eB(t,n){let e=[];return Object.entries(t.children).forEach(([i,r])=>{i===Ie&&(e=e.concat(n(r,i)))}),Object.entries(t.children).forEach(([i,r])=>{i!==Ie&&(e=e.concat(n(r,i)))}),e}var Go=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:()=>new Jr})}return t})(),Jr=class{parse(n){let e=new K_(n);return new oi(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${pl(n.root,!0)}`;tB(e)&&(e="/");let i=aB(n.queryParams),r=typeof n.fragment=="string"?`#${rB(n.fragment)}`:"";return`${e}${i}${r}`}},BI="http://fake";function tB(t){try{let n=new URL(t,BI);return n.origin!==BI||n.pathname.startsWith("//")}catch(n){return!0}}var nB=new Jr;function hp(t){return t.segments.map(n=>nk(n)).join("/")}function pl(t,n){if(!t.hasChildren())return hp(t);if(n){let e=t.children[Ie]?pl(t.children[Ie],!1):"",i=[];return Object.entries(t.children).forEach(([r,o])=>{r!==Ie&&i.push(`${r}:${pl(o,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}else{if(Object.keys(t.children).length===1&&t.children[Ie]!=null)return`${hp(t)}/${pl(t.children[Ie],!1)}`;let e=eB(t,(i,r)=>r===Ie?[iB(pl(t.children[Ie],!1))]:[`${r}:${pl(i,!1)}`]);return`${hp(t)}/(${e.join("//")})`}}function iB(t){return t.replace(ik,n=>n.replace(/:/g,"%3A"))}function tk(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function mp(t){return tk(t).replace(/%3B/gi,";")}function rB(t){return encodeURI(t)}function Y_(t){return tk(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function gp(t){return decodeURIComponent(t)}function zI(t){return gp(t.replace(/\+/g,"%20"))}function nk(t){return`${Y_(t.path)}${oB(t.parameters)}`}function oB(t){return Object.entries(t).map(([n,e])=>`;${Y_(n)}=${Y_(e)}`).join("")}function aB(t){let n=Object.entries(t).map(([e,i])=>Array.isArray(i)?i.map(r=>`${mp(e)}=${mp(r)}`).join("&"):`${mp(e)}=${mp(i)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var z_=1073741824;function yp(t,n,e){Number(n)>=32&&!Object.hasOwn(t,z_)&&(t[z_]=e,delete t[z_]),t[n]=e}var ik=/^[^\/()?;#]+/;function H_(t){let n=t.match(ik);return n?n[0]:""}var sB=/^[^\/()?;=#]+/;function lB(t){let n=t.match(sB);return n?n[0]:""}var cB=/^[^=?&#]+/;function dB(t){let n=t.match(cB);return n?n[0]:""}var uB=/^[^&#]+/;function mB(t){let n=t.match(uB);return n?n[0]:""}var K_=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new ot([],{}):new ot([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(n=0){if(n>50)throw new D(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0,n));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1,n)),(e.length>0||Object.keys(i).length>0)&&(r[Ie]=new ot(e,i)),r}parseSegment(){let n=H_(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new D(4009,!1);return this.capture(n),new Bo(gp(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=lB(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let r=H_(this.remaining);r&&(i=r,this.capture(i))}yp(n,gp(e),gp(i))}parseQueryParam(n){let e=dB(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let a=mB(this.remaining);a&&(i=a,this.capture(i))}let r=zI(e),o=zI(i);if(Object.hasOwn(n,r)){let a=n[r];Array.isArray(a)||(a=[a],n[r]=a),a.push(o)}else n[r]=o}parseParens(n,e){let i=Object.create(null);for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=H_(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new D(4010,!1);let a;r.indexOf(":")>-1?(a=r.slice(0,r.indexOf(":")),this.capture(a),this.capture(":")):n&&(a=Ie);let s=this.parseChildren(e+1),l=Object.keys(s).length===1&&s[Ie]?s[Ie]:new ot([],s);yp(i,a??Ie,l),this.consumeOptional("//")}return i}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new D(4011,!1)}};function rk(t){return t.segments.length>0?new ot([],{[Ie]:t}):t}function ok(t){let n=Object.create(null);for(let[i,r]of Object.entries(t.children)){let o=ok(r);if(i===Ie&&o.segments.length===0&&o.hasChildren())for(let[a,s]of Object.entries(o.children))yp(n,a,s);else(o.segments.length>0||o.hasChildren())&&yp(n,i,o)}let e=new ot(t.segments,n);return fB(e)}function fB(t){if(t.numberOfChildren===1&&t.children[Ie]){let n=t.children[Ie];return new ot(t.segments.concat(n.segments),n.children)}return t}function zo(t){return t instanceof oi}function ak(t,n,e=null,i=null,r=new Jr){let o=sk(t);return lk(o,n,e,i,r)}function sk(t){let n;function e(o){let a={};for(let l of o.children){let c=e(l);a[l.outlet]=c}let s=new ot(o.url,a);return o===t&&(n=s),s}let i=e(t.root),r=rk(i);return n??r}function lk(t,n,e,i,r){let o=t;for(;o.parent;)o=o.parent;if(n.length===0)return U_(o,o,o,e,i,r);let a=pB(n);if(a.toRoot())return U_(o,o,new ot([],{}),e,i,r);let s=hB(a,o,t),l=s.processChildren?xd(s.segmentGroup,s.index,a.commands):dk(s.segmentGroup,s.index,a.commands);return U_(o,s.segmentGroup,l,e,i,r)}function _p(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Sd(t){return typeof t=="object"&&t!=null&&t.outlets}function HI(t,n,e){t||="\u0275";let i=new oi;return i.queryParams={[t]:n},e.parse(e.serialize(i)).queryParams[t]}function U_(t,n,e,i,r,o){let a={};for(let[c,d]of Object.entries(i??{}))d!=null&&(a[c]=Array.isArray(d)?d.map(m=>HI(c,m,o)):HI(c,d,o));let s;t===n?s=e:s=ck(t,n,e);let l=rk(ok(s));return new oi(l,a,r)}function ck(t,n,e){let i=Object.create(null);return Object.entries(t.children).forEach(([r,o])=>{o===n?i[r]=e:i[r]=ck(o,n,e)}),new ot(t.segments,i)}var xp=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&_p(i[0]))throw new D(4003,!1);let r=i.find(Sd);if(r&&r!==Kj(i))throw new D(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function pB(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new xp(!0,0,t);let n=0,e=!1,i=t.reduce((r,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let s={};return Object.entries(o.outlets).forEach(([l,c])=>{s[l]=typeof c=="string"?c.split("/"):c}),[...r,{outlets:s}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:a===0?(o.split("/").forEach((s,l)=>{l==0&&s==="."||(l==0&&s===""?e=!0:s===".."?n++:s!=""&&r.push(s))}),r):[...r,o]},[]);return new xp(e,n,i)}var gl=class{segmentGroup;processChildren;index;constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}};function hB(t,n,e){if(t.isAbsolute)return new gl(n,!0,0);if(!e)return new gl(n,!1,NaN);if(e.parent===null)return new gl(e,!0,0);let i=_p(t.commands[0])?0:1,r=e.segments.length-1+i;return gB(e,r,t.numberOfDoubleDots)}function gB(t,n,e){let i=t,r=n,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new D(4005,!1);r=i.segments.length}return new gl(i,!1,r-o)}function bB(t){return Sd(t[0])?t[0].outlets:{[Ie]:t}}function dk(t,n,e){if(t??=new ot([],{}),t.segments.length===0&&t.hasChildren())return xd(t,n,e);let i=vB(t,n,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndexo!==Ie)&&t.children[Ie]&&t.numberOfChildren===1&&t.children[Ie].segments.length===0){let o=xd(t.children[Ie],n,e);return new ot(t.segments,o.children)}return Object.entries(i).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(r[o]=dk(t.children[o],n,a))}),Object.entries(t.children).forEach(([o,a])=>{i[o]===void 0&&(r[o]=a)}),new ot(t.segments,r)}}function vB(t,n,e){let i=0,r=n,o={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return o;let a=t.segments[r],s=e[i];if(Sd(s))break;let l=`${s}`,c=i0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!$I(l,c,a))return o;i+=2}else{if(!$I(l,{},a))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}function Q_(t,n,e){let i=t.segments.slice(0,n),r=0;for(;r{typeof i=="string"&&(i=[i]),i!==null&&(n[e]=Q_(new ot([],{}),0,i))}),n}function UI(t){let n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n}function $I(t,n,e){return t==e.path&&Cr(n,e.parameters)}var Cp=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new Ho(this.rootInjector)}resetChildren(){this.children=new Ho(this.rootInjector)}},Ho=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,i){let r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new Cp(this.rootInjector),this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(i){return new(i||t)(K(lt))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),wp=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=Z_(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){let e=Z_(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=X_(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return X_(n,this._root).map(e=>e.value)}};function Z_(t,n){if(t===n.value)return n;for(let e of n.children){let i=Z_(t,e);if(i)return i}return null}function X_(t,n){if(t===n.value)return[n];for(let e of n.children){let i=X_(t,e);if(i.length)return i.unshift(n),i}return[]}var Pn=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function hl(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Ed=class extends wp{snapshot;constructor(n,e){super(n),this.snapshot=e,lx(this,n)}toString(){return this.snapshot.toString()}};function uk(t,n){let e=_B(t,n),i=new Kt([new Bo("",{})]),r=new Kt({}),o=new Kt({}),a=new Kt({}),s=new Kt(""),l=new Wi(i,r,a,s,o,Ie,t,e.root);return l.snapshot=e.root,new Ed(new Pn(l,[]),e)}function _B(t,n){let e={},i={},r={},a=new yl([],e,r,"",i,Ie,t,null,{},n);return new Dd("",new Pn(a,[]))}var Wi=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;resources;_localInjector;pending;paramsSignal;queryParamsSignal;paramMapSignal;queryParamMapSignal;fragmentSignal;dataSignal;constructor(n,e,i,r,o,a,s,l){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(Ae(c=>c[Nd]))??pe(void 0),this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(Ae(n=>$a(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Ae(n=>$a(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}_setPending(n){this._futureSnapshot=n,this.pending?.set(!0)}},xB="always";function sx(t,n,e){let i,{routeConfig:r}=t;return n!==null&&(e==="always"||r?.path===""||!n.component&&!n.routeConfig?.loadComponent)?i={params:Object.keys(t.params).length===0?n.params:Object.freeze(w(w({},n.params),t.params)),data:Object.freeze(w(w({},n.data),t.data)),resolve:w(w(w(w({},t.data),n.data),r?.data),t._resolvedData)}:i={params:Object.freeze(w({},t.params)),data:Object.freeze(w({},t.data)),resolve:w(w({},t.data),t._resolvedData??{})},r&&fk(r)&&(i.resolve[Nd]=r.title),i}var yl=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;resources;get title(){return this.data?.[Nd]}constructor(n,e,i,r,o,a,s,l,c,d){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=l,this._resolve=c,this._environmentInjector=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=$a(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=$a(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(i=>i.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},Dd=class extends wp{url;constructor(n,e){super(e),this.url=n,lx(this,e)}toString(){return mk(this._root)}};function lx(t,n){n.value._routerState=t,n.children.forEach(e=>lx(t,e))}function mk(t){let n=t.children.length>0?` { ${t.children.map(mk).join(", ")} } `:"";return`${t.value}${n}`}function $_(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Cr(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),Cr(n.params,e.params)||t.paramsSubject.next(e.params),Yj(n.url,e.url)||t.urlSubject.next(e.url),Cr(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function J_(t,n){let e=Cr(t.params,n.params)&&Jj(t.url,n.url),i=!t.parent!=!n.parent;return e&&!i&&(!t.parent||J_(t.parent,n.parent))}function fk(t){return typeof t.title=="string"||t.title===null}var pk=new C(""),Rd=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=Ie;activateEvents=new H;deactivateEvents=new H;attachEvents=new H;detachEvents=new H;routerOutletData=za();parentContexts=u(Ho);location=u(Bt);changeDetector=u(We);inputBinder=u(Od,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new D(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new D(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new D(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this,this.location.injector),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.inputBinder?.unsubscribeFromRouteData(this),this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new D(4013,!1);this._activatedRoute=e;let r=this.location,a=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,l=new ex(e,s,r.injector,this.routerOutletData);this.activated=r.createComponent(a,{index:r.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this,this.location.injector),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[nt]})}return t})(),ex=class{route;childContexts;parent;outletData;constructor(n,e,i,r){this.route=n,this.childContexts=e,this.parent=i,this.outletData=r}get(n,e){return n===Wi?this.route:n===Ho?this.childContexts:n===pk?this.outletData:this.parent.get(n,e)}},Od=new C(""),hk=(()=>{class t{options;feature;outletDataSubscriptions=new Map;outletSeenKeys=new Map;outletEffects=new Map;constructor(e,i=null){this.options=e,this.feature=i,this.options.queryParams??=!0}bindActivatedRouteToOutletComponent(e,i){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e,i)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e),this.outletSeenKeys.delete(e),this.outletEffects.get(e)?.forEach(i=>i.destroy()),this.outletEffects.delete(e)}subscribeToRouteData(e,i){let{activatedRoute:r}=e,o=[],a=[];if(this.feature?.createResourceOutletBindingEffects&&e.activatedComponentRef){let{handledKeys:l,createdEffects:c}=this.feature.createResourceOutletBindingEffects(e.activatedComponentRef,r);o.push(...c),a=l}o.length>0&&this.outletEffects.set(e,o);let s=Ds([this.options.queryParams?r.queryParams:pe({}),r.params,r.data]).pipe(St(([l,c,d],m)=>(d=w(w(w(w({},l),c),d),r.resources),m===0?pe(d):Promise.resolve(d)))).subscribe(l=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(e);return}let c=l_(r.component);if(!c){this.unsubscribeFromRouteData(e);return}let d=this.outletSeenKeys.get(e);d||(d=new Set,this.outletSeenKeys.set(e,d));for(let p of Object.keys(l))d.add(p);let m=this.options.unmatchedInputBehavior??"alwaysUndefined";for(let{templateName:p}of c.inputs){if(a.includes(p))continue;let f=l[p];(f!==void 0||m==="alwaysUndefined"||d.has(p))&&e.activatedComponentRef.setInput(p,f)}});this.outletDataSubscriptions.set(e,s)}static \u0275fac=function(i){Ba()};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})(),cx=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=F({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(i,r){i&1&&Y(0,"router-outlet")},dependencies:[Rd],encapsulation:2,changeDetection:1})}return t})();function dx(t){let n=t.children&&t.children.map(dx),e=n?de(w({},t),{children:n}):w({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==Ie&&(e.component=cx),e}var bl="imperative",cn=(function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t})(cn||{}),ai=class{id;url;constructor(n,e){this.id=n,this.url=e}},Uo=class extends ai{type=cn.NavigationStart;navigationTrigger;restoredState;constructor(n,e,i="imperative",r=null){super(n,e),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},xi=class extends ai{urlAfterRedirects;type=cn.NavigationEnd;constructor(n,e,i){super(n,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},bn=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(bn||{}),_l=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(_l||{}),_i=class extends ai{reason;code;type=cn.NavigationCancel;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function gk(t){return t instanceof _i&&(t.code===bn.Redirect||t.code===bn.SupersededByNewNavigation)}var Sr=class extends ai{reason;code;type=cn.NavigationSkipped;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}},Ga=class extends ai{error;target;type=cn.NavigationError;constructor(n,e,i,r){super(n,e),this.error=i,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Md=class extends ai{urlAfterRedirects;state;type=cn.RoutesRecognized;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Sp=class extends ai{urlAfterRedirects;state;type=cn.GuardsCheckStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ep=class extends ai{urlAfterRedirects;state;shouldActivate;type=cn.GuardsCheckEnd;constructor(n,e,i,r,o){super(n,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Dp=class extends ai{urlAfterRedirects;state;type=cn.ResolveStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Mp=class extends ai{urlAfterRedirects;state;type=cn.ResolveEnd;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ip=class{route;type=cn.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},kp=class{route;type=cn.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Tp=class{snapshot;type=cn.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Np=class{snapshot;type=cn.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ap=class{snapshot;type=cn.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Rp=class{snapshot;type=cn.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},xl=class{routerEvent;position;anchor;scrollBehavior;type=cn.Scroll;constructor(n,e,i,r){this.routerEvent=n,this.position=e,this.anchor=i,this.scrollBehavior=r}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},Cl=class{},Id=class{},wl=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function CB(t){return!(t instanceof Cl)&&!(t instanceof wl)&&!(t instanceof Id)}function wB(t,n,e){let i=new Set,r=kd(t,n._root,e?e._root:void 0,i);return{newlyCreatedRoutes:i,state:new Ed(r,n)}}function kd(t,n,e,i){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let r=e.value;r._setPending(n.value);let o=SB(t,n,e,i);return new Pn(r,o)}else{if(t.shouldAttach(n.value)){let a=t.retrieve(n.value);if(a!==null){let s=a.route;return s.value._setPending(n.value),s.children=n.children.map(l=>kd(t,l,void 0,i)),s}}let r=EB(n.value);r._setPending(n.value),i.add(r);let o=n.children.map(a=>kd(t,a,void 0,i));return new Pn(r,o)}}function SB(t,n,e,i){return n.children.map(r=>{for(let o of e.children)if(t.shouldReuseRoute(r.value,o.value.snapshot))return kd(t,r,o,i);return kd(t,r,void 0,i)})}function EB(t){return new Wi(new Kt(t.url),new Kt(t.params),new Kt(t.queryParams),new Kt(t.fragment),new Kt(t.data),t.outlet,t.component,t)}var $o=class t extends Error{redirectTo;navigationBehaviorOptions;constructor(n,e){super(),this.redirectTo=n,this.navigationBehaviorOptions=e,Object.setPrototypeOf(this,t.prototype)}},bk="ngNavigationCancelingError";function Cd(t,n){let{redirectTo:e,navigationBehaviorOptions:i}=zo(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=vk(!1,bn.Redirect);return r.url=e,r.navigationBehaviorOptions=i,r}function vk(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[bk]=!0,e.cancellationCode=n,e}function DB(t){return yk(t)&&zo(t.url)}function yk(t){return!!t&&t[bk]}var tx=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,i,r,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),$_(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){let r=hl(e);n.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,r[a],i),delete r[a]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if(r===o)if(r.component){let a=i.getContext(r.outlet);a&&this.deactivateChildRoutes(n,e,a.children)}else this.deactivateChildRoutes(n,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=hl(n);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);if(i&&i.outlet){let a=i.outlet.detach(),s=i.children.contexts;i.resetChildren(),this.routeReuseStrategy.store(n.value.snapshot,{componentRef:a,route:n,contexts:s})}}deactivateRouteAndOutlet(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=hl(n);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null),n.value._localInjector?.destroy()}activateChildRoutes(n,e,i){let r=hl(e);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new Rp(o.value.snapshot))}),n.children.length&&this.forwardEvent(new Np(n.value.snapshot))}activateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if($_(r),r===o)if(r.component){let a=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,a.children)}else this.activateChildRoutes(n,e,i);else if(r.component){let a=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),$_(s.route.value),this.activateChildRoutes(n,null,a.children)}else a.attachRef=null,a.route=r,a.outlet&&a.outlet.activateWith(r,a.injector),this.activateChildRoutes(n,null,a.children)}else this.activateChildRoutes(n,null,i)}},Op=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},vl=class{component;route;constructor(n,e){this.component=n,this.route=e}};function MB(t,n,e){let i=t._root,r=n?n._root:null;return _d(i,r,e,[i.value])}function IB(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function El(t,n){let e=Symbol(),i=n.get(t,e);return i===e?typeof t=="function"&&!Db(t)?t:n.get(t):i}function _d(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=hl(n);return t.children.forEach(a=>{kB(a,o[a.value.outlet],e,i.concat([a.value]),r),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>wd(s,e.getContext(a),e,r)),r}function kB(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,a=n?n.value:null,s=e?e.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let l=TB(a,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Op(i)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?_d(t,n,s?s.children:null,i,r):_d(t,n,e,i,r),l&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new vl(s.outlet.component,a))}else a&&wd(n,s,e,r),r.canActivateChecks.push(new Op(i)),o.component?_d(t,null,s?s.children:null,i,r):_d(t,null,e,i,r);return r}function TB(t,n,e){if(typeof e=="function")return Qt(n._environmentInjector,()=>e(t,n));switch(e){case"pathParamsChange":return!Ua(t.url,n.url);case"pathParamsOrQueryParamsChange":return!Ua(t.url,n.url)||!Cr(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!J_(t,n)||!Cr(t.queryParams,n.queryParams);default:return!J_(t,n)}}function wd(t,n,e,i){let r=hl(t),o=t.value;Object.entries(r).forEach(([a,s])=>{o.component?n?wd(s,n.children.getContext(a),n.children,i):wd(s,null,null,i):wd(s,e?e.getContext(a):null,e,i)}),o.component?n&&n.outlet&&n.outlet.isActivated?i.canDeactivateChecks.push(new vl(n.outlet.component,o)):i.canDeactivateChecks.push(new vl(null,o)):i.canDeactivateChecks.push(new vl(null,o))}function Pd(t){return typeof t=="function"}function NB(t){return typeof t=="boolean"}function AB(t){return t&&Pd(t.canLoad)}function RB(t){return t&&Pd(t.canActivate)}function OB(t){return t&&Pd(t.canActivateChild)}function PB(t){return t&&Pd(t.canDeactivate)}function FB(t){return t&&Pd(t.canMatch)}function _k(t){return t instanceof Fr||t?.name==="EmptyError"}var fp=Symbol("INITIAL_VALUE");function Sl(){return St(t=>Ds(t.map(n=>n.pipe(Pt(1),va(e=>{if(e instanceof $o)return pe(e);throw e}),vt(fp)))).pipe(Ae(n=>{for(let e of n)if(e!==!0){if(e===fp)return fp;if(e===!1||LB(e))return e}return!0}),Me(n=>n!==fp),Pt(1)))}function LB(t){return zo(t)||t instanceof $o}function xk(t){return new fe(n=>{if(t.aborted){n.next(),n.complete();return}let e=()=>{n.next(),n.complete()};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function Ck(t){return Ye(xk(t))}function VB(t){return nn(n=>{let{targetSnapshot:e,currentSnapshot:i,guards:{canActivateChecks:r,canDeactivateChecks:o}}=n;return o.length===0&&r.length===0?pe(de(w({},n),{guardsResult:!0})):jB(o,e,i).pipe(nn(a=>a&&NB(a)?BB(e,r,t):pe(a)),Ae(a=>de(w({},n),{guardsResult:a})))})}function jB(t,n,e){return bt(t).pipe(nn(i=>GB(i.component,i.route,e,n)),Vr(i=>i!==!0,!0))}function BB(t,n,e){return bt(n).pipe(Io(i=>Mo(HB(i.route.parent,e),zB(i.route,e),$B(t,i.path),UB(t,i.route))),Vr(i=>i!==!0,!0))}function zB(t,n){return t!==null&&n&&n(new Ap(t)),pe(!0)}function HB(t,n){return t!==null&&n&&n(new Tp(t)),pe(!0)}function UB(t,n){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return pe(!0);let i=e.map(r=>Ni(()=>{let o=n._environmentInjector,a=El(r,o),s=RB(a)?a.canActivate(n,t):Qt(o,()=>a(n,t));return Ad(s).pipe(Vr())}));return pe(i).pipe(Sl())}function $B(t,n){let e=n[n.length-1],r=n.slice(0,n.length-1).reverse().map(o=>IB(o)).filter(o=>o!==null).map(o=>Ni(()=>{let a=o.guards.map(s=>{let l=o.node._environmentInjector,c=El(s,l),d=OB(c)?c.canActivateChild(e,t):Qt(l,()=>c(e,t));return Ad(d).pipe(Vr())});return pe(a).pipe(Sl())}));return pe(r).pipe(Sl())}function GB(t,n,e,i){let r=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!r||r.length===0)return pe(!0);let o=r.map(a=>{let s=n._environmentInjector,l=El(a,s);return ux(()=>PB(l)?l.canDeactivate(t,n,e,i):Qt(s,()=>l(t,n,e,i))).pipe(Vr())});return pe(o).pipe(Sl())}function WB(t,n,e,i,r){let o=n.canLoad;if(o===void 0||o.length===0)return pe(!0);let a=o.map(s=>{let l=El(s,t),c=ux(()=>AB(l)?l.canLoad(n,e):Qt(t,()=>l(n,e)));return r?c.pipe(Ck(r)):c});return pe(a).pipe(Sl(),wk(i))}function ux(t){try{return Ad(t())}catch(n){return new fe(e=>e.error(n))}}function wk(t){return qu(wn(n=>{if(typeof n!="boolean")throw Cd(t,n)}),Ae(n=>n===!0))}function qB(t,n,e,i,r,o){let a=n.canMatch;if(!a||a.length===0)return pe(!0);let s=a.map(l=>{let c=El(l,t);return ux(()=>FB(c)?c.canMatch(n,e,r):Qt(t,()=>c(n,e,r))).pipe(Ck(o))});return pe(s).pipe(Sl(),wk(i))}var xr=class t extends Error{name="NoMatch";segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,t.prototype)}},Td=class t extends Error{urlTree;name="AbsoluteRedirect";constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,t.prototype)}};function YB(t){throw new D(4e3,!1)}function KB(t){throw vk(!1,bn.GuardRejected)}var nx=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){return z(this,null,function*(){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return i;if(r.numberOfChildren>1||!r.children[Ie])throw YB(`${n.redirectTo}`);r=r.children[Ie]}})}applyRedirectCommands(n,e,i,r,o){return z(this,null,function*(){let a=yield QB(e,r,o);if(a instanceof oi)throw new Td(a);let s=this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),n,i);if(a[0]==="/")throw new Td(s);return s})}applyRedirectCreateUrlTree(n,e,i,r){let o=this.createSegmentGroup(n,e.root,i,r);return new oi(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let i={};return Object.entries(n).forEach(([r,o])=>{if(typeof o=="string"&&o[0]===":"){let s=o.substring(1);i[r]=e[s]}else i[r]=o}),i}createSegmentGroup(n,e,i,r){let o=this.createSegments(n,e.segments,i,r),a=Object.create(null);return Object.entries(e.children).forEach(([s,l])=>{a[s]=this.createSegmentGroup(n,l,i,r)}),new ot(o,a)}createSegments(n,e,i,r){return e.map(o=>o.path[0]===":"?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,e,i){let r=i[e.path.substring(1)];if(!r)throw new D(4001,!1);return r}findOrReturn(n,e){let i=0;for(let r of e){if(r.path===n.path)return e.splice(i),r;i++}return n}};function QB(t,n,e){if(typeof t=="string")return Promise.resolve(t);let i=t;return bp(Ad(Qt(e,()=>i(n))))}function ZB(t,n){return t.providers&&!t._injector&&(t._injector=el(t.providers,n,`Route: ${t.path}`)),t._injector??n}function wr(t){return t.outlet||Ie}function XB(t,n){let e=t.filter(i=>wr(i)===n);return e.push(...t.filter(i=>wr(i)!==n)),e}var ix={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Sk(t){return{routeConfig:t.routeConfig,url:t.url,params:t.params,queryParams:t.queryParams,fragment:t.fragment,data:t.data,outlet:t.outlet,title:t.title,paramMap:t.paramMap,queryParamMap:t.queryParamMap}}function JB(t,n,e,i,r,o,a){let s=Ek(t,n,e);if(!s.matched)return pe(s);let l=Sk(o(s));return i=ZB(n,i),qB(i,n,e,r,l,a).pipe(Ae(c=>c===!0?s:w({},ix)))}function Ek(t,n,e){if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?w({},ix):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(n.matcher||qI)(e,t,n);if(!r)return w({},ix);let o={};Object.entries(r.posParams??{}).forEach(([s,l])=>{o[s]=l.path});let a=r.consumed.length>0?w(w({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:a,positionalParamSegments:r.posParams??{}}}function GI(t,n,e,i){return e.length>0&&nz(t,e,i)?{segmentGroup:new ot(n,tz(i,new ot(e,t.children))),slicedSegments:[]}:e.length===0&&iz(t,e,i)?{segmentGroup:new ot(t.segments,ez(t,e,i,t.children)),slicedSegments:e}:{segmentGroup:new ot(t.segments,t.children),slicedSegments:e}}function ez(t,n,e,i){let r={};for(let o of e)if(Fp(t,n,o)&&!i[wr(o)]){let a=new ot([],{});r[wr(o)]=a}return w(w({},i),r)}function tz(t,n){let e={};e[Ie]=n;for(let i of t)if(i.path===""&&wr(i)!==Ie){let r=new ot([],{});e[wr(i)]=r}return e}function nz(t,n,e){return e.some(i=>Fp(t,n,i)&&wr(i)!==Ie)}function iz(t,n,e){return e.some(i=>Fp(t,n,i))}function Fp(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function rz(t,n,e){return n.length===0&&!t.hasChildren()}var rx=class{};function oz(t,n,e,i,r,o,a,s){return z(this,null,function*(){return new ox(t,n,e,i,r,a,o,s).recognize()})}var az=31,ox=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;queryParams;constructor(n,e,i,r,o,a,s,l){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.abortSignal=l,this.applyRedirects=new nx(this.urlSerializer,this.urlTree),this.queryParams=Object.freeze(w({},this.urlTree.queryParams))}noMatchError(n){return new D(4002,`'${n.segmentGroup}'`)}recognize(){return z(this,null,function*(){let n=GI(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:i}=yield this.match(n),r=new Pn(i,e),o=new Dd("",r),a=ak(i,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),{state:o,tree:a}})}match(n){return z(this,null,function*(){let e=new yl([],Object.freeze({}),this.queryParams,this.urlTree.fragment,Object.freeze({}),Ie,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,n,Ie,e),rootSnapshot:e}}catch(i){if(i instanceof Td)return this.absoluteRedirectCount++,this.absoluteRedirectCount>az&&(this.allowRedirects=!1),this.urlTree=i.urlTree,this.queryParams=Object.freeze(w({},this.urlTree.queryParams)),this.match(i.urlTree.root);throw i instanceof xr?this.noMatchError(i):i}})}processSegmentGroup(n,e,i,r,o){return z(this,null,function*(){if(i.segments.length===0&&i.hasChildren())return this.processChildren(n,e,i,o);let a=yield this.processSegment(n,e,i,i.segments,r,!0,o);return a instanceof Pn?[a]:[]})}processChildren(n,e,i,r){return z(this,null,function*(){let o=[];for(let l of Object.keys(i.children))l==="primary"?o.unshift(l):o.push(l);let a=[];for(let l of o){let c=i.children[l],d=XB(e,l),m=yield this.processSegment(n,d,c,c.segments,l,!0,r);m instanceof Pn&&a.push(m)}let s=Dk(a);return sz(s),s})}processSegment(n,e,i,r,o,a,s){return z(this,null,function*(){for(let l of e)try{return yield this.processSegmentAgainstRoute(l._injector??n,e,l,i,r,o,a,s)}catch(c){if(c instanceof xr||_k(c))continue;throw c}if(rz(i,r))return new rx;throw new xr(i)})}processSegmentAgainstRoute(n,e,i,r,o,a,s,l){return z(this,null,function*(){if(wr(i)!==a&&(a===Ie||!Fp(r,o,i)||!i.children?.length&&!i.loadChildren||o.length===0&&!r.hasChildren()))throw new xr(r);if(i.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,r,i,o,a,l);if(this.allowRedirects&&s)return this.expandSegmentAgainstRouteUsingRedirect(n,r,e,i,o,a,l);throw new xr(r)})}expandSegmentAgainstRouteUsingRedirect(n,e,i,r,o,a,s){return z(this,null,function*(){let{matched:l,parameters:c,consumedSegments:d,positionalParamSegments:m,remainingSegments:p}=Ek(e,r,o);if(!l)throw new xr(e);let f=this.createSnapshot(n,r,o,c,s);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let g=yield this.applyRedirects.applyRedirectCommands(d,r.redirectTo,m,Sk(f),n),_=yield this.applyRedirects.lineralizeSegments(r,g);return this.processSegment(n,i,e,_.concat(p),a,!1,s)})}createSnapshot(n,e,i,r,o){let a=new yl(i,r,this.queryParams,this.urlTree.fragment,dz(e),wr(e),e.component??e._loadedComponent??null,e,uz(e),n),s=sx(a,o,this.paramsInheritanceStrategy);return a.params=s.params,a.data=s.data,a}matchSegmentAgainstRoute(n,e,i,r,o,a){return z(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let s=ee=>this.createSnapshot(n,i,ee.consumedSegments,ee.parameters,a),l=yield bp(JB(e,i,r,n,this.urlSerializer,s,this.abortSignal));if(i.path==="**"&&(e.children={}),!l?.matched)throw new xr(e);n=i._injector??n;let{routes:c}=yield this.getChildConfig(n,i,r),d=i._loadedInjector??n,{parameters:m,consumedSegments:p,remainingSegments:f}=l,g=this.createSnapshot(n,i,p,m,a),_=wr(i)===o,{segmentGroup:E,slicedSegments:L}=_?GI(e,p,f,c):{segmentGroup:e,slicedSegments:f};if(_&&L.length===0&&E.hasChildren()){let ee=yield this.processChildren(d,c,E,g);return new Pn(g,ee)}if(_&&c.length===0&&L.length===0)return new Pn(g,[]);let A=yield this.processSegment(d,c,E,L,_?Ie:o,!0,g);if(!_&&!(A instanceof Pn))throw new xr(e);return new Pn(g,A instanceof Pn?[A]:[])})}getChildConfig(n,e,i){return z(this,null,function*(){if(e.children)return{routes:e.children,injector:n};if(e.loadChildren){if(e._loadedRoutes!==void 0){let o=e._loadedNgModuleFactory;return o&&!e._loadedInjector&&(e._loadedInjector=o.create(n).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield bp(WB(n,e,i,this.urlSerializer,this.abortSignal))){let o=yield this.configLoader.loadChildren(n,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw KB(e)}return{routes:[],injector:n}})}};function sz(t){t.sort((n,e)=>n.value.outlet===Ie?-1:e.value.outlet===Ie?1:n.value.outlet.localeCompare(e.value.outlet))}function lz(t){let n=t.value.routeConfig;return n&&n.path===""}function Dk(t){let n=[],e=new Set;for(let r of t){if(!lz(r)){n.push(r);continue}let o=n.find(a=>r.value.routeConfig===a.value.routeConfig);o!==void 0?(o.children.push(...r.children),e.add(o)):n.push(r)}for(let r of e){let o=Dk(r.children);n.push(new Pn(r.value,o))}let i=n.filter(r=>!e.has(r));return cz(i),i}function cz(t){let n=Object.create(null);t.forEach(e=>{let i=n[e.value.outlet];if(i){let r=i.url.map(a=>a.toString()).join("/"),o=e.value.url.map(a=>a.toString()).join("/");throw new D(4006,!1)}n[e.value.outlet]=e.value})}function dz(t){return t.data||{}}function uz(t){return t.resolve||{}}function mz(t,n,e,i,r,o,a){return nn(s=>z(null,null,function*(){let{state:l,tree:c}=yield oz(t,n,e,i,s.extractedUrl,r,o,a);return de(w({},s),{targetSnapshot:l,urlAfterRedirects:c})}))}function fz(t){return nn(n=>{let{targetSnapshot:e,guards:{canActivateChecks:i}}=n;if(!i.length)return pe(n);let r=new Set(i.map(s=>s.route)),o=new Set;for(let s of r)if(!o.has(s))for(let l of Mk(s))o.add(l);let a=0;return bt(o).pipe(Io(s=>r.has(s)?pz(s,e,t):(s.data=sx(s,s.parent,t).resolve,pe(void 0))),wn(()=>a++),hm(1),nn(s=>a===o.size?pe(n):xt))})}function Mk(t){let n=t.children.map(e=>Mk(e)).flat();return[t,...n]}function pz(t,n,e){let i=t.routeConfig,r=t._resolve;return i?.title!==void 0&&!fk(i)&&(r[Nd]=i.title),Ni(()=>(t.data=sx(t,t.parent,e).resolve,hz(r,t,n).pipe(Ae(o=>(t._resolvedData=o,t.data=w(w({},t.data),o),null)))))}function hz(t,n,e){let i=W_(t);if(i.length===0)return pe({});let r={};return bt(i).pipe(nn(o=>gz(t[o],n,e).pipe(Vr(),wn(a=>{if(a instanceof $o)throw Cd(new Jr,a);r[o]=a}))),hm(1),Ae(()=>r),va(o=>_k(o)?xt:ib(o)))}function gz(t,n,e){let i=n._environmentInjector,r=El(t,i),o=r.resolve?r.resolve(n,e):Qt(i,()=>r(n,e));return Ad(o)}var mx=new C("");function ax(t){return St(n=>{let e=t(n);return e?bt(e).pipe(Ae(()=>n)):pe(n)})}var fx=(()=>{class t{buildTitle(e){let i,r=e.root;for(;r!==void 0;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===Ie);return i}getResolvedTitleForRoute(e){return e.data[Nd]}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:()=>u(Ik)})}return t})(),Ik=(()=>{class t extends fx{title;constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}static \u0275fac=function(i){return new(i||t)(K(PI))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Wo=new C("",{factory:()=>({})}),Dl=new C(""),Lp=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=u(Xy);loadComponent(e,i){return z(this,null,function*(){if(this.componentLoaders.get(i))return this.componentLoaders.get(i);if(i._loadedComponent)return Promise.resolve(i._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(i);let r=z(this,null,function*(){try{let o=yield KI(Qt(e,()=>i.loadComponent())),a=yield Tk(i_(o));return this.onLoadEndListener&&this.onLoadEndListener(i),i._loadedComponent=a,a}finally{this.componentLoaders.delete(i)}});return this.componentLoaders.set(i,r),r})}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return Promise.resolve({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let r=z(this,null,function*(){try{let o=yield kk(i,this.compiler,e,this.onLoadEndListener);return i._loadedRoutes=o.routes,i._loadedInjector=o.injector,i._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(i)}});return this.childrenLoaders.set(i,r),r}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function kk(t,n,e,i){return z(this,null,function*(){let r=yield KI(Qt(e,()=>t.loadChildren())),o=yield Tk(i_(r)),a;o instanceof Rf||Array.isArray(o)?a=o:a=yield n.compileModuleAsync(o),i&&i(t);let s,l,c=!1,d;return Array.isArray(a)?(l=a,c=!0):(s=a.create(e).injector,d=a,l=s.get(Dl,[],{optional:!0,self:!0}).flat()),{routes:l.map(dx),injector:s,factory:d}})}function Tk(t){return z(this,null,function*(){return t})}var Vp=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:()=>u(bz)})}return t})(),bz=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),px=new C(""),hx=new C("");function Nk(t,n,e,i){let r=t.get(hx),o=t.get(oe);if(i){r.skipNextTransition=!1;return}if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(d=>setTimeout(d));let a,s=new Promise(d=>{a=d}),l=o.startViewTransition(()=>(a(),vz(t)));l.updateCallbackDone.catch(d=>{}),l.ready.catch(d=>{}),l.finished.catch(d=>{});let{onViewTransitionCreated:c}=r;return c&&Qt(t,()=>c({transition:l,from:n,to:e})),s}function vz(t){return new Promise(n=>{jt({read:()=>setTimeout(n)},{injector:t})})}var yz=()=>{},gx=new C(""),jp=(()=>{class t{currentNavigation=he(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=he(null);events=new R;transitionAbortWithErrorSubject=new R;configLoader=u(Lp);environmentInjector=u(lt);destroyRef=u(Wt);urlSerializer=u(Go);rootContexts=u(Ho);location=u(br);inputBindingEnabled=u(Od,{optional:!0})!==null;titleStrategy=u(fx);options=u(Wo,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||xB;urlHandlingStrategy=u(Vp);createViewTransition=u(px,{optional:!0});navigationErrorHandler=u(gx,{optional:!0});routerResourcesFeature=u(mx,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>pe(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=r=>this.events.next(new Ip(r)),i=r=>this.events.next(new kp(r));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;Te(()=>{this.transitions?.next(de(w({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:i,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(e){return this.transitions=new Kt(null),this.transitions.pipe(Me(i=>i!==null),St(i=>{let r=!0,o=!1,a=new AbortController,s=()=>!o&&this.currentTransition?.id===i.id;return pe(i).pipe(St(l=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",bn.SupersededByNewNavigation),xt;this.currentTransition=i;let c=this.lastSuccessfulNavigation();this.currentNavigation.set({id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl=="string"?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:c?de(w({},c),{previousNavigation:null}):null,abort:()=>a.abort(),routesRecognizeHandler:l.routesRecognizeHandler,beforeActivateHandler:l.beforeActivateHandler});let d=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),m=l.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!d&&m!=="reload")return this.events.next(new Sr(l.id,this.urlSerializer.serialize(l.rawUrl),"",_l.IgnoredSameUrlNavigation)),l.resolve(!1),xt;if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return pe(l).pipe(St(p=>(this.events.next(new Uo(p.id,this.urlSerializer.serialize(p.extractedUrl),p.source,p.restoredState)),p.id!==this.navigationId?xt:Promise.resolve(p))),mz(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,a.signal),wn(p=>{i.targetSnapshot=p.targetSnapshot,i.urlAfterRedirects=p.urlAfterRedirects,this.currentNavigation.update(f=>(f.finalUrl=p.urlAfterRedirects,f)),this.events.next(new Id)}),St(p=>bt(i.routesRecognizeHandler.deferredHandle??pe(void 0)).pipe(Ae(()=>p))),wn(()=>{let p=new Md(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(p)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:p,extractedUrl:f,source:g,restoredState:_,extras:E}=l,L=new Uo(p,this.urlSerializer.serialize(f),g,_);this.events.next(L);let A=uk(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=i=de(w({},l),{targetSnapshot:A,urlAfterRedirects:f,extras:de(w({},E),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(ee=>(ee.finalUrl=f,ee)),pe(i)}else return this.events.next(new Sr(l.id,this.urlSerializer.serialize(l.extractedUrl),"",_l.IgnoredByUrlHandlingStrategy)),l.resolve(!1),xt}),Ae(l=>{let c=new Sp(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);return this.events.next(c),this.currentTransition=i=de(w({},l),{guards:MB(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),i}),VB(l=>this.events.next(l)),St(l=>{if(i.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw Cd(this.urlSerializer,l.guardsResult);let c=new Ep(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);if(this.events.next(c),!s())return xt;if(!l.guardsResult)return this.cancelNavigationTransition(l,"",bn.GuardRejected),xt;if(l.guards.canActivateChecks.length===0)return pe(l);let d=new Dp(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);if(this.events.next(d),!s())return xt;let m=!1;return pe(l).pipe(fz(this.paramsInheritanceStrategy),wn({next:()=>{m=!0;let p=new Mp(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(p)},complete:()=>{m||this.cancelNavigationTransition(l,"",bn.NoDataFromResolver)}}))}),ax(l=>{let c=m=>{let p=[];if(m.routeConfig?._loadedComponent)m.component=m.routeConfig?._loadedComponent;else if(m.routeConfig?.loadComponent){let f=m._environmentInjector;p.push(this.configLoader.loadComponent(f,m.routeConfig).then(g=>{m.component=g}))}for(let f of m.children)p.push(...c(f));return p},d=c(l.targetSnapshot.root);return d.length===0?pe(l):bt(Promise.all(d).then(()=>l))}),St(l=>{let{newlyCreatedRoutes:c,state:d}=wB(e.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=i=l=de(w({},l),{targetRouterState:d,newlyCreatedRoutes:c}),this.currentNavigation.update(m=>(m.targetRouterState=d,m)),pe(l)}),this.routerResourcesFeature?.setupAndRunResources(a.signal)??(l=>l),ax(()=>this.afterPreactivation()),St(()=>{let{currentSnapshot:l,targetSnapshot:c}=i,d=this.createViewTransition?.(this.environmentInjector,l.root,c.root,i.hasUAVisualTransition);return d?bt(d).pipe(Ae(()=>i)):pe(i)}),Pt(1),St(l=>{r=!1,this.events.next(new Cl);let c=i.beforeActivateHandler.deferredHandle;return c?bt(c.then(()=>l)):pe(l)}),wn(l=>{new tx(e.routeReuseStrategy,i.targetRouterState,i.currentRouterState,c=>this.events.next(c),this.inputBindingEnabled).activate(this.rootContexts),l.newlyCreatedRoutes?.clear(),s()&&(Ak(l.targetRouterState),o=!0,this.currentNavigation.update(c=>(c.abort=yz,c)),this.lastSuccessfulNavigation.set(Te(this.currentNavigation)),this.events.next(new xi(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0))}),Ye(xk(a.signal).pipe(Me(()=>!o&&r),wn(()=>{this.cancelNavigationTransition(i,a.signal.reason+"",bn.Aborted)}))),wn({complete:()=>{o=!0}}),Ye(this.transitionAbortWithErrorSubject.pipe(wn(l=>{throw l}))),Is(()=>{a.abort(),o||this.cancelNavigationTransition(i,"",bn.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),va(l=>{if(o=!0,WI(i),this.destroyed)return i.resolve(!1),xt;if(l instanceof $o&&(l=Cd(this.urlSerializer,l)),yk(l))this.events.next(new _i(i.id,this.urlSerializer.serialize(i.extractedUrl),l.message,l.cancellationCode)),DB(l)?this.events.next(new wl(l.url,l.navigationBehaviorOptions)):i.resolve(!1);else{let c=new Ga(i.id,this.urlSerializer.serialize(i.extractedUrl),l,i.targetSnapshot??void 0);try{let d=Qt(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(d instanceof $o){let{message:m,cancellationCode:p}=Cd(this.urlSerializer,d);this.events.next(new _i(i.id,this.urlSerializer.serialize(i.extractedUrl),m,p)),this.events.next(new wl(d.redirectTo,d.navigationBehaviorOptions))}else throw this.events.next(c),l}catch(d){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(d)}}return xt}))}))}cancelNavigationTransition(e,i,r){WI(e);let o=new _i(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=Te(this.currentNavigation),r=i?.targetBrowserUrl??i?.extractedUrl;return e.toString()!==r?.toString()&&!i?.extras.skipLocationChange}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function _z(t){return t!==bl}function WI(t){for(let n of t.newlyCreatedRoutes??[])n._localInjector?.destroy(),n._localInjector=void 0;Ak(t.targetRouterState)}function Ak(t){if(!t)return;let n=e=>{e.value.pending?.set(!1),e.children.forEach(n)};n(t._root)}var Rk=new C("");var Ok=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:()=>u(xz)})}return t})(),Pp=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}shouldDestroyInjector(n){return!0}},xz=(()=>{class t extends Pp{static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),Bp=(()=>{class t{urlSerializer=u(Go);options=u(Wo,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=u(br);urlHandlingStrategy=u(Vp);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new oi;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:i,targetBrowserUrl:r}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,i):i,a=r??o;return a instanceof oi?this.urlSerializer.serialize(a):a}routerUrlState(e){return e?.targetBrowserUrl===void 0||e?.finalUrl===void 0?{}:{\u0275routerUrl:this.urlSerializer.serialize(e.finalUrl)}}commitTransition({targetRouterState:e,finalUrl:i,initialUrl:r}){i&&e?(this.currentUrlTree=i,this.rawUrlTree=this.urlHandlingStrategy.merge(i,r),this.routerState=e):this.rawUrlTree=r}routerState=uk(null,u(lt));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:()=>u(Cz)})}return t})(),Cz=(()=>{class t extends Bp{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&setTimeout(()=>{e(i.url,i.state,"popstate",{replaceUrl:!0},i.hasUAVisualTransition)})})}handleRouterEvent(e,i){e instanceof Uo?this.updateStateMemento():e instanceof Sr?this.commitTransition(i):e instanceof Md?this.urlUpdateStrategy==="eager"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof Cl?(this.commitTransition(i),this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof _i?gk(e)?e.code===bn.Redirect&&this.routerState===i.targetRouterState&&this.resetInternalState(i):this.restoreHistory(i):e instanceof Ga?this.restoreHistory(i,!0):e instanceof xi&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,i){let{extras:r,id:o}=i,{replaceUrl:a,state:s}=r;if(this.location.isCurrentPathEqualTo(e)||a){let l=this.browserPageId,c=w(w({},s),this.generateNgRouterState(o,l,i));this.location.replaceState(e,"",c)}else{let l=w(w({},s),this.generateNgRouterState(o,this.browserPageId+1,i));this.location.go(e,"",l)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,o=this.currentPageId-r;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i,r){return this.canceledNavigationResolution==="computed"?w({navigationId:e,\u0275routerPageId:i},this.routerUrlState(r)):w({navigationId:e},this.routerUrlState(r))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function zp(t,n){t.events.pipe(Me(e=>e instanceof xi||e instanceof _i||e instanceof Ga||e instanceof Sr),Ae(e=>e instanceof xi||e instanceof Sr?0:(e instanceof _i?e.code===bn.Redirect||e.code===bn.SupersededByNewNavigation:!1)?2:1),Me(e=>e!==2),Pt(1)).subscribe(()=>{n()})}var Ci=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=u(Ff);stateManager=u(Bp);options=u(Wo,{optional:!0})||{};pendingTasks=u(ji);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=u(jp);urlSerializer=u(Go);location=u(br);urlHandlingStrategy=u(Vp);injector=u(lt);_events=new R;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=u(Ok);injectorCleanup=u(Rk,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=u(Dl,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!u(Od,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new xe;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let r=this.navigationTransitions.currentTransition,o=Te(this.navigationTransitions.currentNavigation);if(r!==null&&o!==null){if(this.stateManager.handleRouterEvent(i,o),i instanceof _i&&i.code!==bn.Redirect&&i.code!==bn.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof xi)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(i instanceof wl){let a=i.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),l=w({scroll:r.extras.scroll,browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||_z(r.source)},a);this.scheduleNavigation(s,bl,null,l,r.hasUAVisualTransition,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}CB(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortWithErrorSubject.next(r)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),bl,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i,r,o,a)=>{this.navigateToSyncWithBrowser(e,r,i,o,a)})}navigateToSyncWithBrowser(e,i,r,o,a){let s=r?.navigationId?r:null,l=r?.\u0275routerUrl??e;if(r?.\u0275routerUrl&&(o=de(w({},o),{browserUrl:e})),r){let d=w({},r);delete d.navigationId,delete d.\u0275routerPageId,delete d.\u0275routerUrl,Object.keys(d).length!==0&&(o.state=d)}let c=this.parseUrl(l);this.scheduleNavigation(c,i,s,o,a).catch(d=>{this.disposed||this.injector.get(ei)(d)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return Te(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(dx),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){let{relativeTo:r,queryParams:o,fragment:a,queryParamsHandling:s,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:a,d=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":d=w(w({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}let m;try{let p=r?r.snapshot:this.routerState.snapshot.root;m=sk(p)}catch(p){(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),m=this.currentUrlTree.root}return lk(m,e,d,c??null,this.urlSerializer)}navigateByUrl(e,i={skipLocationChange:!1}){let r=zo(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,bl,null,i)}navigate(e,i={skipLocationChange:!1}){return wz(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch(i){return this.console.warn(di(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,i){let r;if(i===!0?r=w({},ZI):i===!1?r=w({},vp):r=w(w({},vp),i),zo(e))return q_(this.currentUrlTree,e,r);let o=this.parseUrl(e);return q_(this.currentUrlTree,o,r)}scheduleNavigation(e,i,r,o,a,s){if(this.disposed)return Promise.resolve(!1);let l,c,d;s?(l=s.resolve,c=s.reject,d=s.promise):d=new Promise((p,f)=>{l=p,c=f});let m=this.pendingTasks.add();return zp(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(m))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,hasUAVisualTransition:a,resolve:l,reject:c,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(Promise.reject.bind(Promise))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function wz(t){for(let n=0;n{class t{router=u(Ci);stateManager=u(Bp);fragment=he("");queryParams=he({});path=he("");serializer=u(Go);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof xi&&this.updateState()})}updateState(){let{fragment:e,root:i,queryParams:r}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(r),this.path.set(this.serializer.serialize(new oi(i)))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),qo=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=u(new Ui("href"),{optional:!0});reactiveHref=Wf(()=>{if(!this.isAnchorElement)return this.hrefAttributeValue;this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=i=>i==="preserve"||i==="merge";return(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams(),this.computeHref(this.createUrlTree())});get href(){return Te(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return Te(this._target)}_target=he(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return Te(this._queryParams)}_queryParams=he(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return Te(this._fragment)}_fragment=he(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return Te(this._queryParamsHandling)}_queryParamsHandling=he(void 0);set state(e){this._state.set(e)}get state(){return Te(this._state)}_state=he(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return Te(this._info)}_info=he(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return Te(this._relativeTo)}_relativeTo=he(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return Te(this._preserveFragment)}_preserveFragment=he(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return Te(this._skipLocationChange)}_skipLocationChange=he(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return Te(this._replaceUrl)}_replaceUrl=he(!1);browserUrl=za(void 0);isAnchorElement;onChanges=new R;applicationErrorHandler=u(ei);options=u(Wo,{optional:!0});reactiveRouterState=u(Ez);constructor(e,i,r,o,a,s){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=a,this.locationStrategy=s;let l=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area"||!!(typeof customElements=="object"&&customElements.get(l)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.onChanges.next(this)}routerLinkInput=he(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(zo(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,i,r,o,a){let s=this.urlTree;if(s===null||this.isAnchorElement&&(e!==0||i||r||o||a||typeof this.target=="string"&&this.target!="_self"))return!0;let l=this.browserUrl(),c=w({skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info},l!==void 0&&{browserUrl:l});return this.router.navigateByUrl(s,c)?.catch(d=>{this.applicationErrorHandler(d)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,i){let r=this.renderer,o=this.el.nativeElement;i!==null?r.setAttribute(o,e,i):r.removeAttribute(o,e)}createUrlTree(){let e=this.routerLinkInput();return e===null||!this.router.createUrlTree?null:zo(e)?e:this.router.createUrlTree(e,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})}get urlTree(){return Te(()=>this.createUrlTree())}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null}static \u0275fac=function(i){return new(i||t)(Ue(Ci),Ue(Wi),Wc("tabindex"),Ue(He),Ue($),Ue(Gi))};static \u0275dir=B({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(i,r){i&1&&j("click",function(a){return r.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&ye("href",r.reactiveHref(),vy)("target",r._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",G],skipLocationChange:[2,"skipLocationChange","skipLocationChange",G],replaceUrl:[2,"replaceUrl","replaceUrl",G],browserUrl:[1,"browserUrl"],routerLink:"routerLink"},features:[nt]})}return t})();var Fd=class{};var Pk=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,i,r,o){this.router=e,this.injector=i,this.preloadingStrategy=r,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(Me(e=>e instanceof xi),Io(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(e,i){let r=[];for(let o of i){o.providers&&!o._injector&&(o._injector=el(o.providers,e,""));let a=o._injector??e;o._loadedNgModuleFactory&&!o._loadedInjector&&(o._loadedInjector=o._loadedNgModuleFactory.create(a).injector);let s=o._loadedInjector??a;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(a,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(s,o.children??o._loadedRoutes))}return bt(r).pipe(Do())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{if(e.destroyed)return pe(null);let r;i.loadChildren&&i.canLoad===void 0?r=bt(this.loader.loadChildren(e,i)):r=pe(null);let o=r.pipe(nn(a=>a===null?pe(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,i._loadedNgModuleFactory=a.factory,this.processRoutes(a.injector??e,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(e,i);return bt([o,a]).pipe(Do())}else return o})}static \u0275fac=function(i){return new(i||t)(K(Ci),K(lt),K(Fd),K(Lp))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Fk=new C(""),Dz=(()=>{class t{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=bl;restoredId=0;store={};isHydrating=u(my,{optional:!0})??!1;urlSerializer=u(Go);zone=u(O);viewportScroller=u(v_);transitions=u(jp);constructor(e){this.options=e,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&u(un).whenStable().then(()=>{this.isHydrating=!1})}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Uo?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof xi?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Sr&&e.code===_l.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof xl)||e.scrollBehavior==="manual")return;let i={behavior:"instant"};e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],i):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position,i):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,i){if(this.isHydrating)return;let r=Te(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(()=>z(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new xl(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,i,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(i){Ba()};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})();function Mz(){return u(Ci).routerState.root}function Ld(t,n){return{\u0275kind:t,\u0275providers:n}}function Iz(){let t=u(ne);return n=>{let e=t.get(un);if(n!==e.components[0])return;let i=t.get(Ci),r=t.get(Lk);t.get(vx)===1&&i.initialNavigation(),t.get(Bk,null,{optional:!0})?.setUpPreloading(),t.get(Fk,null,{optional:!0})?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var Lk=new C("",{factory:()=>new R}),vx=new C("",{factory:()=>1});function Vk(){let t=[{provide:Cf,useValue:!0},{provide:vx,useValue:0},Pf(()=>{let n=u(ne);return n.get(d_,Promise.resolve()).then(()=>new Promise(i=>{let r=n.get(Ci),o=n.get(Lk);zp(r,()=>{i(!0)}),n.get(jp).afterPreactivation=()=>(i(!0),o.closed?pe(void 0):o),r.initialNavigation()}))})];return Ld(2,t)}function jk(){let t=[Pf(()=>{u(Ci).setUpLocationChangeListener()}),{provide:vx,useValue:2}];return Ld(3,t)}var Bk=new C("");function zk(t){return Ld(0,[{provide:Bk,useExisting:Pk},{provide:Fd,useExisting:t}])}function Hk(t={}){return Ld(8,[{provide:Od,useFactory:()=>new hk(t,u(mx,{optional:!0}))}])}function Uk(t){ii("NgRouterViewTransitions");let n=[{provide:px,useValue:Nk},{provide:hx,useValue:w({skipNextTransition:!!t?.skipInitialTransition},t)}];return Ld(9,n)}var $k=[br,{provide:Go,useClass:Jr},Ci,Ho,{provide:Wi,useFactory:Mz},Lp],Hp=(()=>{class t{constructor(){}static forRoot(e,i){return{ngModule:t,providers:[$k,[],{provide:Dl,multi:!0,useValue:e},[],i?.errorHandler?{provide:gx,useValue:i.errorHandler}:[],{provide:Wo,useValue:i||{}},i?.useHash?Tz():Nz(),kz(),i?.preloadingStrategy?zk(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?Az(i):[],i?.bindToComponentInputs?Hk(typeof i.bindToComponentInputs=="object"?i.bindToComponentInputs:{}).\u0275providers:[],i?.enableViewTransitions?Uk().\u0275providers:[],Rz()]}}static forChild(e){return{ngModule:t,providers:[{provide:Dl,multi:!0,useValue:e}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({})}return t})();function kz(){return{provide:Fk,useFactory:()=>{let t=u(v_),n=u(Wo);return n.scrollOffset&&t.setOffset(n.scrollOffset),new Dz(n)}}}function Tz(){return{provide:Gi,useClass:m_}}function Nz(){return{provide:Gi,useClass:Zf}}function Az(t){return[t.initialNavigation==="disabled"?jk().\u0275providers:[],t.initialNavigation==="enabledBlocking"?Vk().\u0275providers:[]]}var bx=new C("");function Rz(){return[{provide:bx,useFactory:Iz},{provide:nd,multi:!0,useExisting:bx}]}var $p=class{constructor(n){this.user=n.user,this.role=n.role,this.admin=n.admin}get isStaff(){return this.role==="staff"||this.role==="admin"}get isAdmin(){return this.role==="admin"}get isLogged(){return this.user!=null}get isRestricted(){return this.role==="restricted"}};var Gk;var Fn=(t,n)=>{let e;if(t instanceof Promise)e=t;else if(t instanceof Vd)e=t;else{if(n)return Lr(t.pipe(rb(n)));e=Lr(t)}return e},Vd=class{static{Gk=Symbol.toStringTag}constructor(){this[Gk]="Future",this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((n,e)=>{this.resolve=n,this.reject=e})}then(n,e){return this.promise.then(n,e)}catch(n){return this.promise.catch(n)}finally(n){return this.promise.finally(n)}};var yx;function Wk(){if(yx==null){let t=typeof document<"u"?document.head:null;yx=!!(t&&(t.createShadowRoot||t.attachShadow))}return yx}function _x(t){if(Wk()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function jd(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function vn(t){if(t.composedPath)try{return t.composedPath()[0]}catch(n){}return t.target}function xx(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Gp=new WeakMap,Dt=(()=>{class t{_appRef;_injector=u(ne);_environmentInjector=u(lt);load(e){let i=this._appRef=this._appRef||this._injector.get(un),r=Gp.get(i);r||(r={loaders:new Set,refs:[]},Gp.set(i,r),i.onDestroy(()=>{Gp.get(i)?.refs.forEach(o=>o.destroy()),Gp.delete(i)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(Yf(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function Yt(t){return t==null?"":typeof t=="string"?t:`${t}px`}function qi(t,n=0){return qk(t)?Number(t):arguments.length===2?n:0}function qk(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Ln(t){return t instanceof $?t.nativeElement:t}var Oz=new C("cdk-dir-doc",{providedIn:"root",factory:()=>u(oe)}),Pz=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Yk(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?Pz.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var Jt=(()=>{class t{get value(){return this.valueSignal()}valueSignal=he("ltr");change=new H;constructor(){let e=u(Oz,{optional:!0});if(e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(Yk(i||r||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();var Yi=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(Yi||{}),Wp,Wa;function qp(){if(Wa==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Wa=!1,Wa;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)Wa=!0;else{let t=Element.prototype.scrollTo;t?Wa=!/\{\s*\[native code\]\s*\}/.test(t.toString()):Wa=!1}}return Wa}function Ml(){if(typeof document!="object"||!document)return Yi.NORMAL;if(Wp==null){let t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),Wp=Yi.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,Wp=t.scrollLeft===0?Yi.NEGATED:Yi.INVERTED),t.remove()}return Wp}var Qe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({})}return t})();var Fz=20,Yo=(()=>{class t{_ngZone=u(O);_platform=u($e);_renderer=u(Vt).createRenderer(null,null);_cleanupGlobalListener;_scrolled=new R;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=Fz){return this._platform.isBrowser?new fe(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=e>0?this._scrolled.pipe(pm(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):pe()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Me(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((r,o)=>{this._targetContainsElement(o,e)&&i.push(o)}),i}_targetContainsElement(e,i){let r=Ln(i),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),Bd=(()=>{class t{elementRef=u($);scrollDispatcher=u(Yo);ngZone=u(O);dir=u(Jt,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new R;_renderer=u(He);_cleanupScroll;_elementScrolled=new R;ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let i=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&Ml()!=Yi.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),Ml()==Yi.INVERTED?e.left=e.right:Ml()==Yi.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;qp()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",r="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let a=this.dir&&this.dir.value=="rtl";return e=="start"?e=a?r:i:e=="end"&&(e=a?i:r),a&&Ml()==Yi.INVERTED?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:a&&Ml()==Yi.NEGATED?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),Lz=20,Ki=(()=>{class t{_platform=u($e);_listeners;_viewportSize=null;_change=new R;_document=u(oe);constructor(){let e=u(O),i=u(Vt).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=o=>this._change.next(o);this._listeners=[i.listen("window","resize",r),i.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),a=-o.top||e.body?.scrollTop||i.scrollY||r.scrollTop||0,s=-o.left||e.body?.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:a,left:s}}change(e=Lz){return e>0?this._change.pipe(pm(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();var eo=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({})}return t})(),Cx=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({imports:[Qe,eo,Qe,eo]})}return t})();var Kk=new Map,st=class t{_appId=u(Gr);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(n,e=!1){this._appId!=="ng"&&(n+=this._appId);let i=Kk.get(n);return i===void 0?i=0:i++,Kk.set(n,i),`${n}${e?t._infix+"-":""}${i}`}static \u0275fac=function(e){return new(e||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})};var zd=class{_attachedHost=null;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},Ko=class extends zd{component;viewContainerRef;injector;projectableNodes;bindings;directives;constructor(n,e,i,r,o,a){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.projectableNodes=r,this.bindings=o||null,this.directives=a||null}},Wn=class extends zd{templateRef;viewContainerRef;context;injector;constructor(n,e,i,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},wx=class extends zd{element;constructor(n){super(),this.element=n instanceof $?n.nativeElement:n}},Il=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof Ko)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Wn)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof wx)return this._attachedPortal=n,this.attachDomPortal(n)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},Hd=class extends Il{outletElement;_appRef;_defaultInjector;constructor(n,e,i){super(),this.outletElement=n,this._appRef=e,this._defaultInjector=i}attachComponentPortal(n){let e;if(n.viewContainerRef){let i=n.injector||n.viewContainerRef.injector,r=i.get(hr,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:i,ngModuleRef:r,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||void 0,directives:n.directives||void 0}),this.setDisposeFn(()=>e.destroy())}else{let i=this._appRef,r=n.injector||this._defaultInjector||ne.NULL,o=r.get(lt,i.injector);e=Yf(n.component,{elementInjector:r,environmentInjector:o,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||void 0,directives:n.directives||void 0}),i.attachView(e.hostView),this.setDisposeFn(()=>{i.viewCount>0&&i.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);r!==-1&&e.remove(r)}),this._attachedPortal=n,i}attachDomPortal=n=>{let e=n.element;e.parentNode;let i=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},Qk=(()=>{class t extends Wn{constructor(){let e=u(qt),i=u(Bt);super(e,i)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[Ge]})}return t})(),Er=(()=>{class t extends Il{_moduleRef=u(hr,{optional:!0});_document=u(oe);_viewContainerRef=u(Bt);_isInitialized=!1;_attachedRef=null;get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new H;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,r=i.createComponent(e.component,{index:i.length,injector:e.injector||i.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:e.bindings||void 0,directives:e.directives||void 0});return i!==this._viewContainerRef&&this._insertContent(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachDomPortal=e=>{let i=e.element;i.parentNode;let r=this._document.createComment("dom-portal");e.setAttachedHost(this),i.parentNode.insertBefore(r,i),this._insertContent(i),this._attachedPortal=e,super.setDisposeFn(()=>r.parentNode?.replaceChild(i,r))};_insertContent(e){let i=this._viewContainerRef.element.nativeElement;i.nodeType===i.ELEMENT_NODE?i.appendChild(e):i.parentNode?.insertBefore(e,i)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Zt(t)))(r||t)}})();static \u0275dir=B({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Ge]})}return t})(),to=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({})}return t})();function Ht(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var Zk=qp();function Nl(t){return new Yp(t.get(Ki),t.get(oe))}var Yp=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,e){this._viewportRuler=n,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Yt(-this._previousScrollPosition.left),n.style.top=Yt(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,i=n.style,r=e.style,o=i.scrollBehavior||"",a=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),Zk&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Zk&&(i.scrollBehavior=o,r.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}};function rT(t,n){return new Kp(t.get(Yo),t.get(O),t.get(Ki),n)}var Kp=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,i,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(Me(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var Ud=class{enable(){}disable(){}attach(){}};function Ex(t,n){return n.some(e=>{let i=t.bottome.bottom,o=t.righte.right;return i||r||o||a})}function Xk(t,n){return n.some(e=>{let i=t.tope.bottom,o=t.lefte.right;return i||r||o||a})}function ro(t,n){return new Qp(t.get(Yo),t.get(Ki),t.get(O),n)}var Qp=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,i,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Ex(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},oT=(()=>{class t{_injector=u(ne);noop=()=>new Ud;close=e=>rT(this._injector,e);block=()=>Nl(this._injector);reposition=e=>ro(this._injector,e);static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),no=class{positionStrategy;scrollStrategy=new Ud;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(n){if(n){let e=Object.keys(n);for(let i of e)n[i]!==void 0&&(this[i]=n[i])}}};var Zp=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var aT=(()=>{class t{_attachedOverlays=[];_document=u(oe);_isAttached=!1;ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}canReceiveEvent(e,i,r){return r.observers.length<1?!1:e.eventPredicate?e.eventPredicate(i):!0}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),sT=(()=>{class t extends aT{_ngZone=u(O);_renderer=u(Vt).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let i=this._attachedOverlays;for(let r=i.length-1;r>-1;r--){let o=i[r];if(this.canReceiveEvent(o,e,o._keydownEvents)){this._ngZone.run(()=>o._keydownEvents.next(e));break}}};static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),lT=(()=>{class t extends aT{_platform=u($e);_ngZone=u(O);_renderer=u(Vt).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(e){if(super.add(e),!this._isAttached){let i=this._document.body,r={capture:!0},o=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[o.listen(i,"pointerdown",this._pointerDownListener,r),o.listen(i,"click",this._clickListener,r),o.listen(i,"auxclick",this._clickListener,r),o.listen(i,"contextmenu",this._clickListener,r)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=vn(e)};_clickListener=e=>{let i=vn(e),r=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let o=this._attachedOverlays.slice();for(let a=o.length-1;a>-1;a--){let s=o[a],l=s._outsidePointerEvents;if(!(!s.hasAttached()||!this.canReceiveEvent(s,e,l))){if(Jk(s.overlayElement,i)||Jk(s.overlayElement,r))break;this._ngZone?this._ngZone.run(()=>l.next(e)):l.next(e)}}};static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function Jk(t,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=n;for(;i;){if(i===t)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}var cT=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=F({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-overlay-container, .cdk-global-overlay-wrapper { + `)}`:"",this.name="UnsubscriptionError",this.errors=e});function pa(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var xe=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let o of e)o.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(ve(i))try{i()}catch(o){n=o instanceof Uu?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{sw(o)}catch(a){n=n??[],a instanceof Uu?n=[...n,...a.errors]:n.push(a)}}if(n)throw new Uu(n)}}add(n){var e;if(n&&n!==this)if(this.closed)sw(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&pa(e,n)}remove(n){let{_finalizers:e}=this;e&&pa(e,n),n instanceof t&&n._removeParent(this)}};xe.EMPTY=(()=>{let t=new xe;return t.closed=!0,t})();var Kg=xe.EMPTY;function $u(t){return t instanceof xe||t&&"closed"in t&&ve(t.remove)&&ve(t.add)&&ve(t.unsubscribe)}function sw(t){ve(t)?t():t.unsubscribe()}var ki={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var xs={setTimeout(t,n,...e){let{delegate:i}=xs;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=xs;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Gu(t){xs.setTimeout(()=>{let{onUnhandledError:n}=ki;if(n)n(t);else throw t})}function mc(){}var lw=Qg("C",void 0,void 0);function cw(t){return Qg("E",void 0,t)}function dw(t){return Qg("N",t,void 0)}function Qg(t,n,e){return{kind:t,value:n,error:e}}var ha=null;function Cs(t){if(ki.useDeprecatedSynchronousErrorHandling){let n=!ha;if(n&&(ha={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:i}=ha;if(ha=null,e)throw i}}else t()}function uw(t){ki.useDeprecatedSynchronousErrorHandling&&ha&&(ha.errorThrown=!0,ha.error=t)}var ga=class extends xe{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,$u(n)&&n.add(this)):this.destination=XO}static create(n,e,i){return new Ti(n,e,i)}next(n){this.isStopped?Xg(dw(n),this):this._next(n)}error(n){this.isStopped?Xg(cw(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Xg(lw,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},QO=Function.prototype.bind;function Zg(t,n){return QO.call(t,n)}var Jg=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){Wu(i)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){Wu(i)}else Wu(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){Wu(e)}}},Ti=class extends ga{constructor(n,e,i){super();let r;if(ve(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&ki.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Zg(n.next,o),error:n.error&&Zg(n.error,o),complete:n.complete&&Zg(n.complete,o)}):r=n}this.destination=new Jg(r)}};function Wu(t){ki.useDeprecatedSynchronousErrorHandling?uw(t):Gu(t)}function ZO(t){throw t}function Xg(t,n){let{onStoppedNotification:e}=ki;e&&xs.setTimeout(()=>e(t,n))}var XO={closed:!0,next:mc,error:ZO,complete:mc};var ws=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Xn(t){return t}function qu(...t){return eb(t)}function eb(t){return t.length===0?Xn:t.length===1?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}var fe=class t{constructor(n){n&&(this._subscribe=n)}lift(n){let e=new t;return e.source=this,e.operator=n,e}subscribe(n,e,i){let r=e1(n)?n:new Ti(n,e,i);return Cs(()=>{let{operator:o,source:a}=this;r.add(o?o.call(r,a):a?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(n){try{return this._subscribe(n)}catch(e){n.error(e)}}forEach(n,e){return e=mw(e),new e((i,r)=>{let o=new Ti({next:a=>{try{n(a)}catch(s){r(s),o.unsubscribe()}},error:r,complete:i});this.subscribe(o)})}_subscribe(n){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(n)}[ws](){return this}pipe(...n){return eb(n)(this)}toPromise(n){return n=mw(n),new n((e,i)=>{let r;this.subscribe(o=>r=o,o=>i(o),()=>e(r))})}};fe.create=t=>new fe(t);function mw(t){var n;return(n=t??ki.Promise)!==null&&n!==void 0?n:Promise}function JO(t){return t&&ve(t.next)&&ve(t.error)&&ve(t.complete)}function e1(t){return t&&t instanceof ga||JO(t)&&$u(t)}function t1(t){return ve(t?.lift)}function ke(t){return n=>{if(t1(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ne(t,n,e,i,r){return new tb(t,n,e,i,r)}var tb=class extends ga{constructor(n,e,i,r,o,a){super(n),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=e?function(s){try{e(s)}catch(l){n.error(l)}}:super._next,this._error=r?function(s){try{r(s)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};var fw=So(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var R=class extends fe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let e=new Yu(this,this);return e.operator=n,e}_throwIfClosed(){if(this.closed)throw new fw}next(n){Cs(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let e of this.currentObservers)e.next(n)}})}error(n){Cs(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:e}=this;for(;e.length;)e.shift().error(n)}})}complete(){Cs(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:e,isStopped:i,observers:r}=this;return e||i?Kg:(this.currentObservers=null,r.push(n),new xe(()=>{this.currentObservers=null,pa(r,n)}))}_checkFinalizedStatuses(n){let{hasError:e,thrownError:i,isStopped:r}=this;e?n.error(i):r&&n.complete()}asObservable(){let n=new fe;return n.source=this,n}};R.create=(t,n)=>new Yu(t,n);var Yu=class extends R{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,n)}error(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&i!==void 0?i:Kg}};var Kt=class extends R{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}};var fc={now(){return(fc.delegate||Date).now()},delegate:void 0};var Eo=class extends R{constructor(n=1/0,e=1/0,i=fc){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){let{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:a}=this;e||(i.push(n),!r&&i.push(o.now()+a)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let a=0;at.complete());function Xu(t){return t&&ve(t.schedule)}function nb(t){return t[t.length-1]}function Ju(t){return ve(nb(t))?t.pop():void 0}function lr(t){return Xu(nb(t))?t.pop():void 0}function hw(t,n){return typeof nb(t)=="number"?t.pop():n}function bw(t,n,e,i){function r(o){return o instanceof e?o:new e(function(a){a(o)})}return new(e||(e=Promise))(function(o,a){function s(d){try{c(i.next(d))}catch(m){a(m)}}function l(d){try{c(i.throw(d))}catch(m){a(m)}}function c(d){d.done?o(d.value):r(d.value).then(s,l)}c((i=i.apply(t,n||[])).next())})}function gw(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function ba(t){return this instanceof ba?(this.v=t,this):new ba(t)}function vw(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(t,n||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",a),r[Symbol.asyncIterator]=function(){return this},r;function a(f){return function(g){return Promise.resolve(g).then(f,m)}}function s(f,g){i[f]&&(r[f]=function(_){return new Promise(function(E,L){o.push([f,_,E,L])>1||l(f,_)})},g&&(r[f]=g(r[f])))}function l(f,g){try{c(i[f](g))}catch(_){p(o[0][3],_)}}function c(f){f.value instanceof ba?Promise.resolve(f.value.v).then(d,m):p(o[0][2],f)}function d(f){l("next",f)}function m(f){l("throw",f)}function p(f,g){f(g),o.shift(),o.length&&l(o[0][0],o[0][1])}}function yw(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof gw=="function"?gw(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=t[o]&&function(a){return new Promise(function(s,l){a=t[o](a),r(s,l,a.done,a.value)})}}function r(o,a,s,l){Promise.resolve(l).then(function(c){o({value:c,done:s})},a)}}var Es=(t=>t&&typeof t.length=="number"&&typeof t!="function");function em(t){return ve(t?.then)}function tm(t){return ve(t[ws])}function nm(t){return Symbol.asyncIterator&&ve(t?.[Symbol.asyncIterator])}function im(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function n1(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var rm=n1();function om(t){return ve(t?.[rm])}function am(t){return vw(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:i,done:r}=yield ba(e.read());if(r)return yield ba(void 0);yield yield ba(i)}}finally{e.releaseLock()}})}function sm(t){return ve(t?.getReader)}function et(t){if(t instanceof fe)return t;if(t!=null){if(tm(t))return i1(t);if(Es(t))return r1(t);if(em(t))return o1(t);if(nm(t))return _w(t);if(om(t))return a1(t);if(sm(t))return s1(t)}throw im(t)}function i1(t){return new fe(n=>{let e=t[ws]();if(ve(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function r1(t){return new fe(n=>{for(let e=0;e{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,Gu)})}function a1(t){return new fe(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function _w(t){return new fe(n=>{l1(t,n).catch(e=>n.error(e))})}function s1(t){return _w(am(t))}function l1(t,n){var e,i,r,o;return bw(this,void 0,void 0,function*(){try{for(e=yw(t);i=yield e.next(),!i.done;){let a=i.value;if(n.next(a),n.closed)return}}catch(a){r={error:a}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}n.complete()})}function Cn(t,n,e,i=0,r=!1){let o=n.schedule(function(){e(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(o),!r)return o}function lm(t,n=0){return ke((e,i)=>{e.subscribe(Ne(i,r=>Cn(i,t,()=>i.next(r),n),()=>Cn(i,t,()=>i.complete(),n),r=>Cn(i,t,()=>i.error(r),n)))})}function cm(t,n=0){return ke((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function xw(t,n){return et(t).pipe(cm(n),lm(n))}function Cw(t,n){return et(t).pipe(cm(n),lm(n))}function ww(t,n){return new fe(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}function Sw(t,n){return new fe(e=>{let i;return Cn(e,n,()=>{i=t[rm](),Cn(e,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(a){e.error(a);return}o?e.complete():e.next(r)},0,!0)}),()=>ve(i?.return)&&i.return()})}function dm(t,n){if(!t)throw new Error("Iterable cannot be null");return new fe(e=>{Cn(e,n,()=>{let i=t[Symbol.asyncIterator]();Cn(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function Ew(t,n){return dm(am(t),n)}function Dw(t,n){if(t!=null){if(tm(t))return xw(t,n);if(Es(t))return ww(t,n);if(em(t))return Cw(t,n);if(nm(t))return dm(t,n);if(om(t))return Sw(t,n);if(sm(t))return Ew(t,n)}throw im(t)}function bt(t,n){return n?Dw(t,n):et(t)}function pe(...t){let n=lr(t);return bt(t,n)}function ib(t,n){let e=ve(t)?t:()=>t,i=r=>r.error(e());return new fe(n?r=>n.schedule(i,0,r):i)}function hc(t){return!!t&&(t instanceof fe||ve(t.lift)&&ve(t.subscribe))}var Fr=So(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function Lr(t,n){let e=typeof n=="object";return new Promise((i,r)=>{let o=new Ti({next:a=>{i(a),o.unsubscribe()},error:r,complete:()=>{e?i(n.defaultValue):r(new Fr)}});t.subscribe(o)})}function um(t){return t instanceof Date&&!isNaN(t)}var c1=So(t=>function(e=null){t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=e});function rb(t,n){let{first:e,each:i,with:r=d1,scheduler:o=n??Pr,meta:a=null}=um(t)?{first:t}:typeof t=="number"?{each:t}:t;if(e==null&&i==null)throw new TypeError("No timeout provided.");return ke((s,l)=>{let c,d,m=null,p=0,f=g=>{d=Cn(l,o,()=>{try{c.unsubscribe(),et(r({meta:a,lastValue:m,seen:p})).subscribe(l)}catch(_){l.error(_)}},g)};c=s.subscribe(Ne(l,g=>{d?.unsubscribe(),p++,l.next(m=g),i>0&&f(i)},void 0,void 0,()=>{d?.closed||d?.unsubscribe(),m=null})),!p&&f(e!=null?typeof e=="number"?e:+e-o.now():i)})}function d1(t){throw new c1(t)}function Ae(t,n){return ke((e,i)=>{let r=0;e.subscribe(Ne(i,o=>{i.next(t.call(n,o,r++))}))})}var{isArray:u1}=Array;function m1(t,n){return u1(n)?t(...n):t(n)}function Ds(t){return Ae(n=>m1(t,n))}var{isArray:f1}=Array,{getPrototypeOf:p1,prototype:h1,keys:g1}=Object;function mm(t){if(t.length===1){let n=t[0];if(f1(n))return{args:n,keys:null};if(b1(n)){let e=g1(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function b1(t){return t&&typeof t=="object"&&p1(t)===h1}function fm(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}function Ms(...t){let n=lr(t),e=Ju(t),{args:i,keys:r}=mm(t);if(i.length===0)return bt([],n);let o=new fe(v1(i,n,r?a=>fm(r,a):Xn));return e?o.pipe(Ds(e)):o}function v1(t,n,e=Xn){return i=>{Mw(n,()=>{let{length:r}=t,o=new Array(r),a=r,s=r;for(let l=0;l{let c=bt(t[l],n),d=!1;c.subscribe(Ne(i,m=>{o[l]=m,d||(d=!0,s--),s||i.next(e(o.slice()))},()=>{--a||i.complete()}))},i)},i)}}function Mw(t,n,e){t?Cn(e,t,n):n()}function Iw(t,n,e,i,r,o,a,s){let l=[],c=0,d=0,m=!1,p=()=>{m&&!l.length&&!c&&n.complete()},f=_=>c{o&&n.next(_),c++;let E=!1;et(e(_,d++)).subscribe(Ne(n,L=>{r?.(L),o?f(L):n.next(L)},()=>{E=!0},void 0,()=>{if(E)try{for(c--;l.length&&cg(L)):g(L)}p()}catch(L){n.error(L)}}))};return t.subscribe(Ne(n,f,()=>{m=!0,p()})),()=>{s?.()}}function nn(t,n,e=1/0){return ve(n)?nn((i,r)=>Ae((o,a)=>n(i,o,r,a))(et(t(i,r))),e):(typeof n=="number"&&(e=n),ke((i,r)=>Iw(i,r,t,e)))}function Do(t=1/0){return nn(Xn,t)}function kw(){return Do(1)}function Mo(...t){return kw()(bt(t,lr(t)))}function Ni(t){return new fe(n=>{et(t()).subscribe(n)})}function ob(...t){let n=Ju(t),{args:e,keys:i}=mm(t),r=new fe(o=>{let{length:a}=e;if(!a){o.complete();return}let s=new Array(a),l=a,c=a;for(let d=0;d{m||(m=!0,c--),s[d]=p},()=>l--,void 0,()=>{(!l||!m)&&(c||o.next(i?fm(i,s):s),o.complete())}))}});return n?r.pipe(Ds(n)):r}var y1=["addListener","removeListener"],_1=["addEventListener","removeEventListener"],x1=["on","off"];function gc(t,n,e,i){if(ve(e)&&(i=e,e=void 0),i)return gc(t,n,e).pipe(Ds(i));let[r,o]=S1(t)?_1.map(a=>s=>t[a](n,s,e)):C1(t)?y1.map(Tw(t,n)):w1(t)?x1.map(Tw(t,n)):[];if(!r&&Es(t))return nn(a=>gc(a,n,e))(et(t));if(!r)throw new TypeError("Invalid event target");return new fe(a=>{let s=(...l)=>a.next(1o(s)})}function Tw(t,n){return e=>i=>t[e](n,i)}function C1(t){return ve(t.addListener)&&ve(t.removeListener)}function w1(t){return ve(t.on)&&ve(t.off)}function S1(t){return ve(t.addEventListener)&&ve(t.removeEventListener)}function va(t=0,n,e=pw){let i=-1;return n!=null&&(Xu(n)?e=n:i=n),new fe(r=>{let o=um(t)?+t-e.now():t;o<0&&(o=0);let a=0;return e.schedule(function(){r.closed||(r.next(a++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function ab(t=0,n=Pr){return t<0&&(t=0),va(t,t,n)}function rn(...t){let n=lr(t),e=hw(t,1/0),i=t;return i.length?i.length===1?et(i[0]):Do(e)(bt(i,n)):xt}function Me(t,n){return ke((e,i)=>{let r=0;e.subscribe(Ne(i,o=>t.call(n,o,r++)&&i.next(o)))})}function Nw(t){return ke((n,e)=>{let i=!1,r=null,o=null,a=!1,s=()=>{if(o?.unsubscribe(),o=null,i){i=!1;let c=r;r=null,e.next(c)}a&&e.complete()},l=()=>{o=null,a&&e.complete()};n.subscribe(Ne(e,c=>{i=!0,r=c,o||et(t(c)).subscribe(o=Ne(e,s,l))},()=>{a=!0,(!i||!o||o.closed)&&e.complete()}))})}function pm(t,n=Pr){return Nw(()=>va(t,n))}function ya(t){return ke((n,e)=>{let i=null,r=!1,o;i=n.subscribe(Ne(e,void 0,void 0,a=>{o=et(t(a,ya(t)(n))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}function Io(t,n){return ve(n)?nn(t,n,1):nn(t,1)}function Ai(t,n=Pr){return ke((e,i)=>{let r=null,o=null,a=null,s=()=>{if(r){r.unsubscribe(),r=null;let c=o;o=null,i.next(c)}};function l(){let c=a+t,d=n.now();if(d{o=c,a=n.now(),r||(r=n.schedule(l,t),i.add(r))},()=>{s(),i.complete()},void 0,()=>{o=r=null}))})}function Aw(t){return ke((n,e)=>{let i=!1;n.subscribe(Ne(e,r=>{i=!0,e.next(r)},()=>{i||e.next(t),e.complete()}))})}function Pt(t){return t<=0?()=>xt:ke((n,e)=>{let i=0;n.subscribe(Ne(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}function Is(t,n=Xn){return t=t??E1,ke((e,i)=>{let r,o=!0;e.subscribe(Ne(i,a=>{let s=n(a);(o||!t(r,s))&&(o=!1,r=s,i.next(a))}))})}function E1(t,n){return t===n}function Rw(t=D1){return ke((n,e)=>{let i=!1;n.subscribe(Ne(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(t())))})}function D1(){return new Fr}function ks(t){return ke((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function Vr(t,n){let e=arguments.length>=2;return i=>i.pipe(t?Me((r,o)=>t(r,o,i)):Xn,Pt(1),e?Aw(n):Rw(()=>new Fr))}function hm(t){return t<=0?()=>xt:ke((n,e)=>{let i=[];n.subscribe(Ne(e,r=>{i.push(r),t{for(let r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}function gm(){return ke((t,n)=>{let e,i=!1;t.subscribe(Ne(n,r=>{let o=e;e=r,i&&n.next([o,r]),i=!0}))})}function Ow(t={}){let{connector:n=()=>new R,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return o=>{let a,s,l,c=0,d=!1,m=!1,p=()=>{s?.unsubscribe(),s=void 0},f=()=>{p(),a=l=void 0,d=m=!1},g=()=>{let _=a;f(),_?.unsubscribe()};return ke((_,E)=>{c++,!m&&!d&&p();let L=l=l??n();E.add(()=>{c--,c===0&&!m&&!d&&(s=sb(g,r))}),L.subscribe(E),!a&&c>0&&(a=new Ti({next:A=>L.next(A),error:A=>{m=!0,p(),s=sb(f,e,A),L.error(A)},complete:()=>{d=!0,p(),s=sb(f,i),L.complete()}}),et(_).subscribe(a))})(o)}}function sb(t,n,...e){if(n===!0){t();return}if(n===!1)return;let i=new Ti({next:()=>{i.unsubscribe(),t()}});return et(n(...e)).subscribe(i)}function bm(t,n,e){let i,r=!1;return t&&typeof t=="object"?{bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:e}=t:i=t??1/0,Ow({connector:()=>new Eo(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function _a(t){return Me((n,e)=>t<=e)}function vt(...t){let n=lr(t);return ke((e,i)=>{(n?Mo(t,e,n):Mo(t,e)).subscribe(i)})}function St(t,n){return ke((e,i)=>{let r=null,o=0,a=!1,s=()=>a&&!r&&i.complete();e.subscribe(Ne(i,l=>{r?.unsubscribe();let c=0,d=o++;et(t(l,d)).subscribe(r=Ne(i,m=>i.next(n?n(l,m,d,c++):m),()=>{r=null,s()}))},()=>{a=!0,s()}))})}function Ye(t){return ke((n,e)=>{et(t).subscribe(Ne(e,()=>e.complete(),mc)),!e.closed&&n.subscribe(e)})}function lb(t,n=!1){return ke((e,i)=>{let r=0;e.subscribe(Ne(i,o=>{let a=t(o,r++);(a||n)&&i.next(o),!a&&i.complete()}))})}function wn(t,n,e){let i=ve(t)||n||e?{next:t,error:n,complete:e}:t;return i?ke((r,o)=>{var a;(a=i.subscribe)===null||a===void 0||a.call(i);let s=!0;r.subscribe(Ne(o,l=>{var c;(c=i.next)===null||c===void 0||c.call(i,l),o.next(l)},()=>{var l;s=!1,(l=i.complete)===null||l===void 0||l.call(i),o.complete()},l=>{var c;s=!1,(c=i.error)===null||c===void 0||c.call(i,l),o.error(l)},()=>{var l,c;s&&((l=i.unsubscribe)===null||l===void 0||l.call(i)),(c=i.finalize)===null||c===void 0||c.call(i)}))}):Xn}var Sb="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",D=class extends Error{code;constructor(n,e){super(ui(n,e)),this.code=n}};function M1(t){return`NG0${Math.abs(t)}`}function ui(t,n){return`${M1(t)}${n?": "+n:""}`}function at(t){for(let n in t)if(t[n]===at)return n;throw Error("")}function Bw(t,n){for(let e in n)Object.hasOwn(n,e)&&!Object.hasOwn(t,e)&&(t[e]=n[e])}function wc(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(wc).join(", ")}]`;if(t==null)return""+t;let n=t.overriddenName||t.name;if(n)return`${n}`;let e=t.toString();if(e==null)return""+e;let i=e.indexOf(` +`);return i>=0?e.slice(0,i):e}function Sm(t,n){return t?n?`${t} ${n}`:t:n||""}var I1=at({__forward_ref__:at});function Hn(t){return t.__forward_ref__=Hn,t}function on(t){return Eb(t)?t():t}function Eb(t){return typeof t=="function"&&Object.hasOwn(t,I1)&&t.__forward_ref__===Hn}function re(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function W(t){return{providers:t.providers||[],imports:t.imports||[]}}function Sc(t){return k1(t,Em)}function Db(t){return Sc(t)!==null}function k1(t,n){return Object.hasOwn(t,n)&&t[n]||null}function T1(t){let n=t?.[Em]??null;return n||null}function db(t){return t&&Object.hasOwn(t,ym)?t[ym]:null}var Em=at({\u0275prov:at}),ym=at({\u0275inj:at}),C=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,e){this._desc=n,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=re({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Mb(t){return t&&!!t.\u0275providers}var Ec=at({\u0275cmp:at}),Dc=at({\u0275dir:at}),Ib=at({\u0275pipe:at}),kb=at({\u0275mod:at}),yc=at({\u0275fac:at}),Da=at({__NG_ELEMENT_ID__:at}),Pw=at({__NG_ENV_ID__:at});function zw(t){return Dm(t,"@NgModule"),t[kb]||null}function Hr(t){return Dm(t,"@Component"),t[Ec]||null}function Mc(t){return Dm(t,"@Directive"),t[Dc]||null}function Hw(t){return Dm(t,"@Pipe"),t[Ib]||null}function Dm(t,n){if(t==null)throw new D(-919,!1)}function Pi(t){return typeof t=="string"?t:t==null?"":String(t)}var Uw=at({ngErrorCode:at}),N1=at({ngErrorMessage:at}),A1=at({ngTokenPath:at});function Tb(t,n){return $w("",-200,n)}function Mm(t,n){throw new D(-201,!1)}function $w(t,n,e){let i=new D(n,t);return i[Uw]=n,i[N1]=t,e&&(i[A1]=e),i}function R1(t){return t[Uw]}var ub;function Gw(){return ub}function Nn(t){let n=ub;return ub=t,n}function Nb(t,n,e){let i=Sc(t);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&8)return null;if(n!==void 0)return n;Mm(t,"")}var En=globalThis;var O1={},xa=O1,P1="__NG_DI_FLAG__",mb=class{injector;constructor(n){this.injector=n}retrieve(n,e){let i=Ca(e)||0;try{return this.injector.get(n,i&8?null:xa,i)}catch(r){if(_s(r))return r;throw r}}};function F1(t,n=0){let e=Hu();if(e===void 0)throw new D(-203,!1);if(e===null)return Nb(t,void 0,n);{let i=L1(n),r=e.retrieve(t,i);if(_s(r)){if(i.optional)return null;throw r}return r}}function K(t,n=0){return(Gw()||F1)(on(t),n)}function u(t,n){return K(t,Ca(n))}function Ca(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function L1(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function fb(t){let n=[];for(let e=0;eArray.isArray(e)?Im(e,n):n(e))}function Ab(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Ic(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function Yw(t,n){let e=[];for(let i=0;in;){let o=r-2;t[r]=t[o],r--}t[n]=e,t[n+1]=i}}function km(t,n,e){let i=As(t,n);return i>=0?t[i|1]=e:(i=~i,Kw(t,i,n,e)),i}function Tm(t,n){let e=As(t,n);if(e>=0)return t[e|1]}function As(t,n){return j1(t,n,1)}function j1(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){let o=i+(r-i>>1),a=t[o<n?r=o:i=o+1}return~(r<{e.push(a)};return Im(n,a=>{let s=a;_m(s,o,[],i)&&(r||=[],r.push(s))}),r!==void 0&&Zw(r,o),e}function Zw(t,n){for(let e=0;e{n(o,i)})}}function _m(t,n,e,i){if(t=on(t),!t)return!1;let r=null,o=db(t),a=!o&&Hr(t);if(!o&&!a){let l=t.ngModule;if(o=db(l),o)r=l;else return!1}else{if(a&&!a.standalone)return!1;r=t}let s=i.has(r);if(a){if(s)return!1;if(i.add(r),a.dependencies){let l=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let c of l)_m(c,n,e,i)}}else if(o){if(o.imports!=null&&!s){i.add(r);let c;Im(o.imports,d=>{_m(d,n,e,i)&&(c||=[],c.push(d))}),c!==void 0&&Zw(c,n)}if(!s){let c=To(r)||(()=>new r);n({provide:r,useFactory:c,deps:Sn},r),n({provide:Ob,useValue:r,multi:!0},r),n({provide:Ao,useValue:()=>K(r),multi:!0},r)}let l=o.providers;if(l!=null&&!s){let c=t;Fb(l,d=>{n(d,c)})}}else return!1;return r!==t&&t.providers!==void 0}function Fb(t,n){for(let e of t)Mb(e)&&(e=e.\u0275providers),Array.isArray(e)?Fb(e,n):n(e)}var B1=at({provide:String,useValue:at});function Xw(t){return t!==null&&typeof t=="object"&&B1 in t}function z1(t){return!!(t&&t.useExisting)}function H1(t){return!!(t&&t.useFactory)}function wa(t){return typeof t=="function"}function Jw(t){return!!t.useClass}var kc=new C(""),vm={},Fw={},cb;function Rs(){return cb===void 0&&(cb=new Ns),cb}var lt=class{},Sa=class extends lt{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,hb(n,a=>this.processProvider(a)),this.records.set(Rb,Ts(void 0,this)),r.has("environment")&&this.records.set(lt,Ts(void 0,this));let o=this.records.get(kc);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Ob,Sn,{self:!0}))}retrieve(n,e){let i=Ca(e)||0;try{return this.get(n,xa,i)}catch(r){if(_s(r))return r;throw r}}destroy(){bc(this),this._destroyed=!0;let n=se(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),se(n)}}onDestroy(n){return bc(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){bc(this);let e=sr(this),i=Nn(void 0),r;try{return n()}finally{sr(e),Nn(i)}}get(n,e=xa,i){if(bc(this),Object.hasOwn(n,Pw))return n[Pw](this);let r=Ca(i),o,a=sr(this),s=Nn(void 0);try{if(!(r&4)){let c=this.records.get(n);if(c===void 0){let d=q1(n)&&Sc(n);d&&this.injectableDefInScope(d)?c=Ts(pb(n),vm):c=null,this.records.set(n,c)}if(c!=null)return this.hydrate(n,c,r)}let l=r&2?Rs():this.parent;return e=r&8&&e===xa?null:e,l.get(n,e)}catch(l){let c=R1(l);throw c===-200||c===-201?new D(c,null):l}finally{Nn(s),sr(a)}}resolveInjectorInitializers(){let n=se(null),e=sr(this),i=Nn(void 0),r;try{let o=this.get(Ao,Sn,{self:!0});for(let a of o)a()}finally{sr(e),Nn(i),se(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=on(n);let e=wa(n)?n:on(n&&n.provide),i=$1(n);if(!wa(n)&&n.multi===!0){let r=this.records.get(e);r||(r=Ts(void 0,vm,!0),r.factory=()=>fb(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e,i){let r=se(null);try{if(e.value===Fw)throw Tb("");return e.value===vm&&(e.value=Fw,e.value=e.factory(void 0,i)),typeof e.value=="object"&&e.value&&W1(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{se(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=on(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function pb(t){let n=Sc(t),e=n!==null?n.factory:To(t);if(e!==null)return e;if(t instanceof C)throw new D(-204,!1);if(t instanceof Function)return U1(t);throw new D(-204,!1)}function U1(t){if(t.length>0)throw new D(-204,!1);let e=T1(t);return e!==null?()=>e.factory(t):()=>new t}function $1(t){if(Xw(t))return Ts(void 0,t.useValue);{let n=Lb(t);return Ts(n,vm)}}function Lb(t,n,e){let i;if(wa(t)){let r=on(t);return To(r)||pb(r)}else if(Xw(t))i=()=>on(t.useValue);else if(H1(t))i=()=>t.useFactory(...fb(t.deps||[]));else if(z1(t))i=(r,o)=>K(on(t.useExisting),o!==void 0&&o&8?8:void 0);else{let r=on(t&&(t.useClass||t.provide));if(G1(t))i=()=>new r(...fb(t.deps));else return To(r)||pb(r)}return i}function bc(t){if(t.destroyed)throw new D(-205,!1)}function Ts(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function G1(t){return!!t.deps}function W1(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function q1(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function hb(t,n){for(let e of t)Array.isArray(e)?hb(e,n):e&&Mb(e)?hb(e.\u0275providers,n):n(e)}function Qt(t,n){let e;t instanceof Sa?(bc(t),e=t):e=new mb(t);let i,r=sr(e),o=Nn(void 0);try{return n()}finally{sr(r),Nn(o)}}function Vb(){return Gw()!==void 0||Hu()!=null}var Fi=0,ge=1,Ce=2,Gt=3,mi=4,pn=5,Ma=6,Os=7,Ft=8,Ur=9,Li=10,mt=11,Ps=12,jb=13,Ro=14,Dn=15,Oo=16,Ia=17,dr=18,Tc=19,Bb=20,jr=21,Nm=22,Br=23,Jn=24,ka=25,eS=26,Fs=27,Tt=28,tS=1,zb=6,Ta=7,Nc=8,Na=9,Lt=10;function $r(t){return Array.isArray(t)&&typeof t[tS]=="object"}function fi(t){return Array.isArray(t)&&t[tS]===!0}function Hb(t){return(t.flags&4)!==0}function ur(t){return t.componentOffset>-1}function Ac(t){return(t.flags&1)===1}function Vi(t){return!!t.template}function Ls(t){return(t[Ce]&512)!==0}function Aa(t){return(t[Ce]&256)===256}var ut=(function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t[t.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",t})(ut||{}),vc,Ea="svg",Am="math",gb="",Lw="*",bb=()=>Object.create(null);function Y1(){return vc||(vc=bb(),ko(ut.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),ko(ut.STYLE,void 0,[["*",["style"]]]),ko(ut.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]]]),ko(ut.URL,Am,[["*",["href","xlink:href"]]]),ko(ut.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),ko(ut.URL,Ea,[["a",["href","xlink:href"]]]),ko(ut.ATTRIBUTE_NO_BINDING,Ea,[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),ko(ut.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority","credentialless"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority","credentialless"]]]),vc)}function ko(t,n,e){let i=n??gb;for(let[r,o]of e){let a=r.toLowerCase();for(let s of o){let l=s.toLowerCase(),c=vc[l]??=bb(),d=c[i]??=bb();d[a]=t}}}function nS(t,n,e){let r=Y1()[n.toLowerCase()];if(!r)return ut.NONE;let o=t.toLowerCase(),a;if(e){let s=r[e];s&&(a=s[o]??s[Lw])}if(a===void 0){let s=r[gb];s&&(a=s[o]??s[Lw])}if(a===void 0&&(!e||e===gb)){let s=r[Ea];s&&(a=s[o])}return a??ut.NONE}function hn(t){for(;Array.isArray(t);)t=t[Fi];return t}function Ub(t,n){return hn(n[t])}function Un(t,n){return hn(n[t.index])}function Rm(t,n){return t.data[n]}function $b(t,n){return t[n]}function Gb(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function pi(t,n){let e=n[t];return $r(e)?e:e[Fi]}function iS(t){return(t[Ce]&4)===4}function Om(t){return(t[Ce]&128)===128}function rS(t){return fi(t[Gt])}function ei(t,n){return n==null?null:t[n]}function Wb(t){t[Ia]=0}function qb(t){t[Ce]&1024||(t[Ce]|=1024,Om(t)&&Ra(t))}function oS(t,n){for(;t>0;)n=n[Ro],t--;return n}function Rc(t){return!!(t[Ce]&9216||t[Jn]?.dirty)}function Pm(t){t[Li].changeDetectionScheduler?.notify(8),t[Ce]&64&&(t[Ce]|=1024),Rc(t)&&Ra(t)}function Ra(t){t[Li].changeDetectionScheduler?.notify(0);let n=zr(t);for(;n!==null&&!(n[Ce]&8192||(n[Ce]|=8192,!Om(n)));)n=zr(n)}function Fm(t,n){if(Aa(t))throw new D(911,!1);t[jr]===null&&(t[jr]=[]),t[jr].push(n)}function aS(t,n){if(t[jr]===null)return;let e=t[jr].indexOf(n);e!==-1&&t[jr].splice(e,1)}function zr(t){let n=t[Gt];return fi(n)?n[Gt]:n}function Yb(t){return t[Os]??=[]}function Kb(t){return t.cleanup??=[]}function sS(t,n,e,i){let r=Yb(n);r.push(e),t.firstCreatePass&&Kb(t).push(i,r.length-1)}var Oe={lFrame:vS(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var vb=!1;function lS(){return Oe.lFrame.elementDepthCount}function cS(){Oe.lFrame.elementDepthCount++}function Qb(){Oe.lFrame.elementDepthCount--}function Zb(){return Oe.bindingsEnabled}function Xb(){return Oe.skipHydrationRootTNode!==null}function Jb(t){return Oe.skipHydrationRootTNode===t}function ev(){Oe.skipHydrationRootTNode=null}function ue(){return Oe.lFrame.lView}function ft(){return Oe.lFrame.tView}function we(t){return Oe.lFrame.contextLView=t,t[Ft]}function Se(t){return Oe.lFrame.contextLView=null,t}function an(){let t=tv();for(;t!==null&&t.type===64;)t=t.parent;return t}function tv(){return Oe.lFrame.currentTNode}function dS(){let t=Oe.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function Vs(t,n){let e=Oe.lFrame;e.currentTNode=t,e.isParent=n}function nv(){return Oe.lFrame.isParent}function iv(){Oe.lFrame.isParent=!1}function uS(){return Oe.lFrame.contextLView}function rv(){return vb}function _c(t){let n=vb;return vb=t,n}function Lm(){let t=Oe.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function ov(){return Oe.lFrame.bindingIndex}function mS(t){return Oe.lFrame.bindingIndex=t}function mr(){return Oe.lFrame.bindingIndex++}function Oc(t){let n=Oe.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function fS(){return Oe.lFrame.inI18n}function pS(t,n){let e=Oe.lFrame;e.bindingIndex=e.bindingRootIndex=t,Vm(n)}function hS(){return Oe.lFrame.currentDirectiveIndex}function Vm(t){Oe.lFrame.currentDirectiveIndex=t}function gS(t){let n=Oe.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function jm(){return Oe.lFrame.currentQueryIndex}function Pc(t){Oe.lFrame.currentQueryIndex=t}function K1(t){let n=t[ge];return n.type===2?n.declTNode:n.type===1?t[pn]:null}function av(t,n,e){if(e&4){let r=n,o=t;for(;r=r.parent,r===null&&!(e&1);)if(r=K1(o),r===null||(o=o[Ro],r.type&10))break;if(r===null)return!1;n=r,t=o}let i=Oe.lFrame=bS();return i.currentTNode=n,i.lView=t,!0}function Bm(t){let n=bS(),e=t[ge];Oe.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function bS(){let t=Oe.lFrame,n=t===null?null:t.child;return n===null?vS(t):n}function vS(t){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=n),n}function yS(){let t=Oe.lFrame;return Oe.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var sv=yS;function zm(){let t=yS();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function _S(t){return(Oe.lFrame.contextLView=oS(t,Oe.lFrame.contextLView))[Ft]}function hi(){return Oe.lFrame.selectedIndex}function Po(t){Oe.lFrame.selectedIndex=t}function Fo(){let t=Oe.lFrame;return Rm(t.tView,t.selectedIndex)}function $n(){Oe.lFrame.currentNamespace=Ea}function Lo(){Q1()}function Q1(){Oe.lFrame.currentNamespace=null}function lv(){return Oe.lFrame.currentNamespace}var xS=!0;function Hm(){return xS}function Um(t){xS=t}function yb(t,n=null,e=null,i){let r=cv(t,n,e,i);return r.resolveInjectorInitializers(),r}function cv(t,n=null,e=null,i,r=new Set){let o=[e||Sn,Qw(t)],a;return new Sa(o,n||Rs(),a||null,r)}var ne=class t{static THROW_IF_NOT_FOUND=xa;static NULL=new Ns;static create(n,e){if(Array.isArray(n))return yb({name:""},e,n,"");{let i=n.name??"";return yb({name:i},n.parent,n.providers,i)}}static \u0275prov=re({token:t,providedIn:"any",factory:()=>K(Rb)});static __NG_ELEMENT_ID__=-1},oe=new C(""),Wt=class{static __NG_ELEMENT_ID__=Z1;static __NG_ENV_ID__=n=>n},xm=class extends Wt{_lView;constructor(n){super(),this._lView=n}get destroyed(){return Aa(this._lView)}onDestroy(n){let e=this._lView;return Fm(e,n),()=>aS(e,n)}};function Z1(){return new xm(ue())}var dv=!1,CS=new C(""),ji=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Kt(!1);debugTaskTracker=u(CS,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new fe(e=>{e.next(!1),e.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),this.debugTaskTracker?.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.debugTaskTracker?.remove(e),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=re({token:t,providedIn:"root",factory:()=>new t})}return t})(),_b=class extends R{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,Vb()&&(this.destroyRef=u(Wt,{optional:!0})??void 0,this.pendingTasks=u(ji,{optional:!0})??void 0)}emit(n){let e=se(null);try{super.next(n)}finally{se(e)}}subscribe(n,e,i){let r=n,o=e||(()=>null),a=i;if(n&&typeof n=="object"){let l=n;r=l.next?.bind(l),o=l.error?.bind(l),a=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),a&&(a=this.wrapInTimeout(a)));let s=super.subscribe({next:r,error:o,complete:a});return n instanceof xe&&n.add(s),s}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{try{n(e)}finally{i!==void 0&&this.pendingTasks?.remove(i)}})}}},H=_b;function Cm(...t){}function uv(t){let n,e;function i(){t=Cm;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch(r){}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function wS(t){return queueMicrotask(()=>t()),()=>{t=Cm}}var mv="isAngularZone",xc=mv+"_ID",X1=0,O=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new H(!1);onMicrotaskEmpty=new H(!1);onStable=new H(!1);onError=new H(!1);constructor(n){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=dv}=n;if(typeof Zone>"u")throw new D(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!r&&i,a.shouldCoalesceRunChangeDetection=r,a.callbackScheduled=!1,a.scheduleInRootZone=o,tP(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(mv)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new D(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){let o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,n,J1,Cm,Cm);try{return o.runTask(a,e,i)}finally{o.cancelTask(a)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},J1={};function fv(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function eP(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){uv(()=>{t.callbackScheduled=!1,xb(t),t.isCheckStableRunning=!0,fv(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),xb(t)}function tP(t){let n=()=>{eP(t)},e=X1++;t._inner=t._inner.fork({name:"angular",properties:{[mv]:!0,[xc]:e,[xc+e]:!0},onInvokeTask:(i,r,o,a,s,l)=>{if(nP(l))return i.invokeTask(o,a,s,l);try{return Vw(t),i.invokeTask(o,a,s,l)}finally{(t.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),jw(t)}},onInvoke:(i,r,o,a,s,l,c)=>{try{return Vw(t),i.invoke(o,a,s,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!iP(l)&&n(),jw(t)}},onHasTask:(i,r,o,a)=>{i.hasTask(o,a),r===o&&(a.change=="microTask"?(t._hasPendingMicrotasks=a.microTask,xb(t),fv(t)):a.change=="macroTask"&&(t.hasPendingMacrotasks=a.macroTask))},onHandleError:(i,r,o,a)=>(i.handleError(o,a),t.runOutsideAngular(()=>t.onError.emit(a)),!1)})}function xb(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Vw(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function jw(t){t._nesting--,fv(t)}var Cc=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new H;onMicrotaskEmpty=new H;onStable=new H;onError=new H;run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,r){return n.apply(e,i)}};function nP(t){return SS(t,"__ignore_ng_zone__")}function iP(t){return SS(t,"__scheduler_tick__")}function SS(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var Ri=class{_console=console;handleError(n){this._console.error("ERROR",n)}};function ES(t){return DS(t)?t:new Cb(t)}function DS(t){return t instanceof Error||typeof t=="object"&&t!==null&&typeof t.name=="string"&&typeof t.message=="string"}var Cb=class extends Error{constructor(n){super(String(n),{cause:n}),this.name="ErrorBoundaryWrappedError"}},ti=new C("",{factory:()=>{let t=u(O),n=u(lt),e;return i=>{t.runOutsideAngular(()=>{n.destroyed&&!e?setTimeout(()=>{throw i}):(e??=n.get(Ri),e.handleError(i))})}}}),MS={provide:Ao,useValue:()=>{let t=u(Ri,{optional:!0})},multi:!0};function he(t,n){let[e,i,r]=Ug(t,n?.equal),o=e,a=o[Ot];return o.set=i,o.update=r,o.asReadonly=$m.bind(o),o}function $m(){let t=this[Ot];if(t.readonlyFn===void 0){let n=()=>this();n[Ot]=t,t.readonlyFn=n}return t.readonlyFn}var Gr=new C("",{factory:()=>rP}),rP="ng";var Gm=new C(""),Oa=new C("",{providedIn:"platform",factory:()=>"unknown"}),Vo=new C(""),jo=new C("",{factory:()=>u(oe).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var js=(()=>{class t{view;node;constructor(e,i){this.view=e,this.node=i}static __NG_ELEMENT_ID__=oP}return t})();function oP(){return new js(ue(),an())}var Oi=class{},Bs=new C("",{factory:()=>!0});var Wm=new C(""),qm=(()=>{class t{static \u0275prov=re({token:t,providedIn:"root",factory:()=>new wb})}return t})(),wb=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let e=n.zone,i=this.queues.get(e);i.has(n)&&(i.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let e=n.zone;this.queues.has(e)||this.queues.set(e,new Set);let i=this.queues.get(e);i.has(n)||i.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[e,i]of this.queues)e===null?n||=this.flushQueue(i):n||=e.run(()=>this.flushQueue(i));n||(this.dirtyEffectCount=0)}}flushQueue(n){let e=!1;for(let i of n)i.dirty&&(this.dirtyEffectCount--,e=!0,i.run());return e}},wm=class{[Ot];constructor(n){this[Ot]=n}destroy(){this[Ot].destroy()}};function ni(t,n){let e=n?.injector??u(ne),i=n?.manualCleanup!==!0?e.get(Wt):null,r,o=e.get(js,null,{optional:!0}),a=e.get(Oi);return o!==null?(r=kS(o.view,a,t),i instanceof xm&&i._lView===o.view&&(i=null)):r=lP(t,e.get(qm),a),r.injector=e,i!==null&&(r.onDestroyFns=[i.onDestroy(()=>r.destroy())]),new wm(r)}var IS=de(w({},$g),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let t=_c(!1);try{Gg(this)}finally{_c(t)}},cleanup(){if(!this.cleanupFns?.length)return;let t=se(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],se(t)}}}),aP=de(w({},IS),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Co(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.scheduler.remove(this)}}),sP=de(w({},IS),{consumerMarkedDirty(){this.view[Ce]|=8192,Ra(this.view),this.notifier.notify(13)},destroy(){if(Co(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.view[Br]?.delete(this)}});function kS(t,n,e){let i=Object.create(sP);return i.view=t,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=n,i.userFn=e,i.fn=TS(i,e),t[Br]??=new Set,t[Br].add(i),i.consumerMarkedDirty(i),i}function lP(t,n,e){let i=Object.create(aP);return i.userFn=t,i.fn=TS(i,t),i.scheduler=n,i.notifier=e,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.add(i),i.notifier.notify(12),i}function TS(t,n){return()=>{n(e=>(t.cleanupFns??=[]).push(e))}}function Mn(t){return typeof t=="function"&&t[Ot]!==void 0}function Ym(t){return Mn(t)&&typeof t.set=="function"}var zs=(()=>{class t{internalPendingTasks=u(ji);scheduler=u(Oi);errorHandler=u(ti);add(){let e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){let i=this.add();try{e().catch(this.errorHandler).finally(i)}catch(r){this.errorHandler(r),i()}}static \u0275prov=re({token:t,providedIn:"root",factory:()=>new t})}return t})();var xf=Symbol("InputSignalNode#UNSET"),_E=de(w({},ys),{transformFn:void 0,applyValueToInputSignal(t,n){wo(t,n)}});function Gc(t){return{toString:t}.toString()}var tt=(function(t){return t[t.TemplateCreateStart=0]="TemplateCreateStart",t[t.TemplateCreateEnd=1]="TemplateCreateEnd",t[t.TemplateUpdateStart=2]="TemplateUpdateStart",t[t.TemplateUpdateEnd=3]="TemplateUpdateEnd",t[t.LifecycleHookStart=4]="LifecycleHookStart",t[t.LifecycleHookEnd=5]="LifecycleHookEnd",t[t.OutputStart=6]="OutputStart",t[t.OutputEnd=7]="OutputEnd",t[t.BootstrapApplicationStart=8]="BootstrapApplicationStart",t[t.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",t[t.BootstrapComponentStart=10]="BootstrapComponentStart",t[t.BootstrapComponentEnd=11]="BootstrapComponentEnd",t[t.ChangeDetectionStart=12]="ChangeDetectionStart",t[t.ChangeDetectionEnd=13]="ChangeDetectionEnd",t[t.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",t[t.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",t[t.AfterRenderHooksStart=16]="AfterRenderHooksStart",t[t.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",t[t.ComponentStart=18]="ComponentStart",t[t.ComponentEnd=19]="ComponentEnd",t[t.DeferBlockStateStart=20]="DeferBlockStateStart",t[t.DeferBlockStateEnd=21]="DeferBlockStateEnd",t[t.DynamicComponentStart=22]="DynamicComponentStart",t[t.DynamicComponentEnd=23]="DynamicComponentEnd",t[t.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",t[t.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",t})(tt||{}),of=class{previousValue;currentValue;firstChange;constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};function xE(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}var CE=null,nt=(()=>{CE=NS;let t=()=>NS;return t.ngInherit=!0,t})();function bP(){return CE}function NS(t){return t.type.prototype.ngOnChanges&&(t.setInput=yP),vP}function vP(){let t=wE(this),n=t?.current;if(n){let e=t.previous;if(e===No)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function yP(t,n,e,i,r){let o=this.declaredInputs[i],a=wE(t)||_P(t,{previous:No,current:null}),s=a.current||(a.current={}),l=a.previous,c=l[o];s[o]=new of(c&&c.currentValue,e,l===No),xE(t,n,r,e)}var Sv="__ngSimpleChanges__";function wE(t){return Object.hasOwn(t,Sv)&&t[Sv]||null}function _P(t,n){return t[Sv]=n}var AS=[];var pt=function(t,n=null,e){for(let i=0;i=i)break}else n[l]<0&&(t[Ia]+=65536),(s>14>16&&(t[Ce]&3)===n&&(t[Ce]+=16384,RS(s,o)):RS(s,o)}var $s=-1,Fa=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,i,r){this.factory=n,this.name=r,this.canSeeViewProviders=e,this.injectImpl=i}};function wP(t){return(t.flags&8)!==0}function SP(t){return(t.flags&16)!==0}function EP(t,n,e){let i=0;for(;in){a=o-1;break}}}for(;o>16}function sf(t,n){let e=MP(t),i=n;for(;e>0;)i=i[Ro],e--;return i}var Ev=!0;function lf(t){let n=Ev;return Ev=t,n}var IP=256,IE=IP-1,kE=5,kP=0,fr={};function TP(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:Object.hasOwn(e,Da)&&(i=e[Da]),i==null&&(i=e[Da]=kP++);let r=i&IE,o=1<>kE)]|=o}function cf(t,n){let e=TE(t,n);if(e!==-1)return e;let i=n[ge];i.firstCreatePass&&(t.injectorIndex=n.length,hv(i.data,t),hv(n,null),hv(i.blueprint,null));let r=ly(t,n),o=t.injectorIndex;if(ME(r)){let a=af(r),s=sf(r,n),l=s[ge].data;for(let c=0;c<8;c++)n[o+c]=s[a+c]|l[a+c]}return n[o+8]=r,o}function hv(t,n){t.push(0,0,0,0,0,0,0,0,n)}function TE(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function ly(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;r!==null;){if(i=PE(r),i===null)return $s;if(e++,r=r[Ro],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return $s}function Dv(t,n,e){TP(t,n,e)}function NP(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let i=e.length,r=0;for(;r>20,m=i?s:s+d,p=r?s+d:c;for(let f=m;f=l&&g.type===e)return f}if(r){let f=a[l];if(f&&Vi(f)&&f.type===e)return l}return null}function Vc(t,n,e,i,r){let o=t[e],a=n.data;if(o instanceof Fa){let s=o;if(s.resolving)throw Tb("");let l=lf(s.canSeeViewProviders);s.resolving=!0;let c=a[e].type||a[e],d,m=s.injectImpl?Nn(s.injectImpl):null,p=av(t,i,0);try{o=t[e]=s.factory(void 0,r,a,t,i),n.firstCreatePass&&e>=i.directiveStart&&xP(e,a[e],n)}finally{m!==null&&Nn(m),lf(l),s.resolving=!1,sv()}}return o}function RP(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=Object.hasOwn(t,Da)?t[Da]:void 0;return typeof n=="number"?n>=0?n&IE:OP:n}function PS(t,n,e){let i=1<>kE)]&i)}function FS(t,n){return!(t&2)&&!(t&1&&n)}var Wr=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return RE(this._tNode,this._lView,n,Ca(i),e)}};function OP(){return new Wr(an(),ue())}function Zt(t){return Gc(()=>{let n=t.prototype.constructor,e=n[yc]||Mv(n),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){let o=r[yc]||Mv(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Mv(t){return Eb(t)?()=>{let n=Mv(on(t));return n&&n()}:To(t)}function PP(t,n,e,i,r){let o=t,a=n;for(;o!==null&&a!==null&&a[Ce]&2048&&!Ls(a);){let s=OE(o,a,e,i|2,fr);if(s!==fr)return s;i&=-5;let l=o.parent;if(!l){let c=a[Bb];if(c){let d=c.get(e,fr,i);if(d!==fr)return d}l=PE(a),a=a[Ro]}o=l}return r}function PE(t){let n=t[ge],e=n.type;return e===2?n.declTNode:e===1?t[pn]:null}function Wc(t){return NP(an(),t)}function FE(t){let n=En.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function U(t){return{token:t.token,providedIn:t.autoProvided===!1?null:"root",factory:t.factory,value:void 0}}function FP(){return Zs(an(),ue())}function Zs(t,n){return new $(Un(t,n))}var $=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=FP}return t})();function LE(t){return t instanceof $?t.nativeElement:t}function LP(){return this._results[Symbol.iterator]()}var ii=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new R}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let i=qw(n);(this._changesDetected=!Ww(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=LP};function VE(t){return(t.flags&128)===128}var cy=(function(t){return t[t.OnPush=0]="OnPush",t[t.Eager=1]="Eager",t[t.Default=1]="Default",t})(cy||{}),jE=new Map,VP=0;function jP(){return VP++}function BP(t){jE.set(t[Tc],t)}function Iv(t){jE.delete(t[Tc])}var LS="__ngContext__";function qs(t,n){$r(n)?(t[LS]=n[Tc],BP(n)):t[LS]=n}function BE(t){return HE(t[Ps])}function zE(t){return HE(t[mi])}function HE(t){for(;t!==null&&!fi(t);)t=t[mi];return t}var kv;function dy(t){kv=t}function uy(){if(kv!==void 0)return kv;if(typeof document<"u")return document;throw new D(210,!1)}var UE="r";var $E="di";var my=new C(""),GE=!1,WE=new C("",{factory:()=>GE});var Cf=new C("");var VS=new WeakMap;function zP(t,n){if(t==null||typeof t!="object")return;let e=VS.get(t);e||(e=new WeakSet,VS.set(t,e)),e.add(n)}var HP=(t,n,e,i)=>{};function UP(t,n,e,i){HP(t,n,e,i)}function wf(t){return(t.flags&32)===32}var $P=()=>null;function qE(t,n,e=!1){return $P(t,n,e)}function YE(t,n){let e=t.contentQueries;if(e!==null){let i=se(null);try{for(let r=0;rt,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Km}function Sf(t){return WP()?.createHTML(t)||t}var Qm;function ZE(){if(Qm===void 0&&(Qm=null,En.trustedTypes))try{Qm=En.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Qm}function jS(t){return ZE()?.createHTML(t)||t}function BS(t){return ZE()?.createScriptURL(t)||t}function qP(t){let n=new Lv(t);return YP()?new Fv(n):n}var Fv=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{let e=new window.DOMParser().parseFromString(Sf(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch(e){return null}}},Lv=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=Sf(n),e}};function YP(){try{return!!new window.DOMParser().parseFromString(Sf(""),"text/html")}catch(t){return!1}}var KP=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function qc(t){return t=String(t),t.match(KP)?t:"unsafe:"+t}function Yr(t){let n=Object.create(null);for(let e of t.split(","))n[e]=!0;return n}function Yc(...t){let n=Object.create(null);for(let e of t)for(let i in e)Object.hasOwn(e,i)&&(n[i]=!0);return n}var XE=Yr("area,br,col,hr,img,wbr"),JE=Yr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),eD=Yr("rp,rt"),QP=Yc(eD,JE),ZP=Yc(JE,Yr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),XP=Yc(eD,Yr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),zS=Yc(XE,ZP,XP,QP),tD=Yr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),JP=Yr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),eF=Yr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),tF=Yc(tD,JP,eF),nF=Yr("script,style,template"),Vv=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let e=n.firstChild,i=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild){r.push(e),e=oF(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=rF(e);if(o){e=o;break}e=r.pop()}}return this.buf.join("")}startElement(n){let e=HS(n).toLowerCase();if(!Object.hasOwn(zS,e))return this.sanitizedSomething=!0,!Object.hasOwn(nF,e);this.buf.push("<"),this.buf.push(e);let i=n.attributes;for(let r=0;r"),!0}endElement(n){let e=HS(n).toLowerCase();Object.hasOwn(zS,e)&&!Object.hasOwn(XE,e)&&(this.buf.push(""))}chars(n){this.buf.push(US(n))}};function iF(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function rF(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw nD(n);return n}function oF(t){let n=t.firstChild;if(n&&iF(t,n))throw nD(n);return n}function HS(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function nD(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var aF=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sF=/([^\#-~ |!])/g;function US(t){return t.replace(/&/g,"&").replace(aF,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(sF,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}var Zm;function Ef(t,n){let e=null;try{Zm=Zm||qP(t);let i=n?String(n):"";e=Zm.getInertBodyElement(i);let r=5,o=i;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=Zm.getInertBodyElement(i)}while(i!==o);let s=new Vv().sanitizeChildren($S(e)||e);return Sf(s)}finally{if(e){let i=$S(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function $S(t){return"content"in t&&lF(t)?t.content:null}function lF(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}function cF(t,n){return t.createText(n)}function dF(t,n,e){t.setValue(n,e)}function iD(t,n,e){return t.createElement(n,e)}function Pa(t,n,e,i,r){t.insertBefore(n,e,i,r)}function rD(t,n,e){t.appendChild(n,e)}function GS(t,n,e,i,r){i!==null?Pa(t,n,e,i,r):rD(t,n,e)}function oD(t,n,e,i){t.removeChild(null,n,e,i)}function uF(t,n,e){t.setAttribute(n,"style",e)}function mF(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function aD(t,n,e){let{mergedAttrs:i,classes:r,styles:o}=e;i!==null&&EP(t,n,i),r!==null&&mF(t,n,r),o!==null&&uF(t,n,o)}function fF(t,n=!0){if(t[0]!=":")return[null,t];let e=t.indexOf(":",1);if(e===-1){if(n)throw new Error(`Unsupported format "${t}" expecting ":namespace:name"`);return[null,t]}return[t.slice(1,e),t.slice(e+1)]}function gi(t,n,e){if(n!==void 0&&e!==void 0&&lD(n,e)!==ut.HTML)return t;let i=yy();return i?jS(i.sanitize(ut.HTML,t)||""):gr(t,"HTML")?jS(An(t)):Ef(uy(),Pi(t))}function Xs(t){let n=yy();return n?n.sanitize(ut.URL,t)||"":gr(t,"URL")?An(t):qc(Pi(t))}function sD(t){let n=yy();if(n)return BS(n.sanitize(ut.RESOURCE_URL,t)||"");if(gr(t,"ResourceURL"))return BS(An(t));throw new D(-904,!1)}function pF(t,n){switch(lD(t,n)){case ut.RESOURCE_URL:return sD;case ut.URL:return Xs;default:return null}}function vy(t,n,e){return pF(n,e)?.(t)??t}function yy(){let t=ue();return t&&t[Li].sanitizer}function lD(t,n){let[e,i]=hF(t);return nS(i,n,e)}function hF(t){t=t.toLowerCase();let n=fF(t,!1);if(n[0])return n;let i=hi()===-1?null:Fo(),r=i?.namespace;if(t==="#host"&&i?.type===2){let o=Un(i,ue());if(o.tagName&&(t=o.tagName.toLowerCase()),r==null){let a=o.namespaceURI;r=a&&GP[a]}}return[r,t]}function _y(t){return t.ownerDocument.defaultView}function xy(t){return t.ownerDocument}function gF(t){return t instanceof Function?t():t}function bF(t,n,e){let i=t.length;for(;;){let r=t.indexOf(n,e);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=n.length;if(r+o===i||t.charCodeAt(r+o)<=32)return r}e=r+1}}var cD="ng-template";function vF(t,n,e,i){let r=0;if(i){for(;r-1){let o;for(;++ro?m="":m=r[d+1].toLowerCase(),i&2&&c!==m){if(Bi(i))return!1;a=!0}}}}return Bi(i)||a}function Bi(t){return(t&1)===0}function xF(t,n,e,i){if(n===null)return-1;let r=0;if(i||!e){let o=!1;for(;r-1)for(e++;e0?'="'+s+'"':"")+"]"}else i&8?r+="."+a:i&4&&(r+=" "+a);else r!==""&&!Bi(a)&&(n+=WS(o,r),r=""),i=a,o=o||!Bi(i);e++}return r!==""&&(n+=WS(o,r)),n}function MF(t){return t.map(DF).join(",")}function IF(t){let n=[],e=[],i=1,r=2;for(;i=0;s--){let{el:l,declarationView:c}=i[s],d=l.parentNode;l===n?(i.splice(s,1),Hs.add(l),l.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):o&&l===o?(i.splice(s,1),l.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),l.parentNode?.removeChild(l)):d&&r&&d!==r&&(a===null||c===null||a===c)&&(i.splice(s,1),l.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),l.parentNode?.removeChild(l))}}function NF(t,n,e){let i=uD(e),r=jv.get(t);r?r.some(o=>o.el===n)||r.push({el:n,declarationView:i}):jv.set(t,[{el:n,declarationView:i}])}var Df=(function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t})(Df||{}),bi=new C(""),qS=new Set;function ri(t){qS.has(t)||(qS.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var Mf=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=re({token:t,providedIn:"root",factory:()=>new t})}return t})(),Ey=[0,1,2,3],Dy=(()=>{class t{ngZone=u(O);scheduler=u(Oi);errorHandler=u(Ri,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){u(bi,{optional:!0})}execute(){let e=this.sequences.size>0;e&&pt(tt.AfterRenderHooksStart),this.executing=!0;for(let i of Ey)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[i]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[i];return o(r.pipelinedValue)},r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&pt(tt.AfterRenderHooksEnd)}register(e){let{view:i}=e;i!==void 0?((i[ka]??=[]).push(e),Ra(i),i[Ce]|=8192):this.addSequence(e)}addSequence(e){this.executing?this.deferredRegistrations.add(e):this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,i){return i?i.run(Df.AFTER_NEXT_RENDER,e):e()}static \u0275prov=re({token:t,providedIn:"root",factory:()=>new t})}return t})(),jc=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,i,r,o,a=null){this.impl=n,this.hooks=e,this.view=i,this.once=r,this.snapshot=a,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[ka];n&&(this.view[ka]=n.filter(e=>e!==this))}};function jt(t,n){let e=n?.injector??u(ne);return ri("NgAfterNextRender"),RF(t,e,n,!0)}function AF(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function RF(t,n,e,i){let r=n.get(Mf);r.impl??=n.get(Dy);let o=n.get(bi,null,{optional:!0}),a=e?.manualCleanup!==!0?n.get(Wt):null,s=n.get(js,null,{optional:!0}),l=new jc(r.impl,AF(t),s?.view,i,a,o?.snapshot(null));return r.impl.register(l),l}var Bv=null,mD=null;function YS(t,n,e,i){Bv?.maybeQueueEnterAnimation(t,n,e,i)}function KS(t,n,e,i){Bv===null?i(!1):Bv.runLeaveAnimationsWithCallback(t,n,e,i)}function OF(t){mD?.initViewDetachAnimations(t)}function PF(t){mD?.clearViewDetachAnimations(t)}function Us(t,n,e,i,r,o,a,s){if(r!=null){let l,c=!1;fi(r)?l=r:$r(r)&&(c=!0,r=r[Fi]);let d=hn(r);t===0&&i!==null?(YS(s,i,o,e),a==null?rD(n,i,d):Pa(n,i,d,a||null,!0)):t===1&&i!==null?(Pa(n,i,d,a||null,!0),TF(o,d,s),Hs.has(d)||YS(s,i,o,e)):t===2?(s?.[eS]?.leave?.has(o.index)&&NF(o,d,s),Hs.delete(d),KS(s,o,e,m=>{if(Hs.has(d)){Hs.delete(d);return}oD(n,d,c,m)})):t===3&&(Hs.delete(d),KS(s,o,e,()=>{n.destroyNode(d)})),l!=null&&WF(n,t,e,l,o,i,a)}}function FF(t,n){fD(t,n),n[Fi]=null,n[pn]=null}function LF(t,n,e,i,r,o){i[Fi]=r,i[pn]=n,kf(t,i,e,1,r,o)}function fD(t,n){n[Li].changeDetectionScheduler?.notify(9),kf(t,n,n[mt],2,null,null)}function VF(t){let n=t[Ps];if(!n)return gv(t[ge],t);for(;n;){let e=null;if($r(n))e=n[Ps];else{let i=n[Lt];i&&(e=i)}if(!e){for(;n&&!n[mi]&&n!==t;)$r(n)&&gv(n[ge],n),n=n[Gt];n===null&&(n=t),$r(n)&&gv(n[ge],n),e=n&&n[mi]}n=e}}function My(t,n){let e=t[Na],i=e.indexOf(n);e.splice(i,1)}function If(t,n){if(Aa(n))return;let e=n[mt];e.destroyNode&&kf(t,n,e,3,null,null),VF(n)}function gv(t,n){if(Aa(n))return;let e=se(null);try{n[Ce]&=-129,n[Ce]|=256,n[Jn]&&Co(n[Jn]),BF(t,n),jF(t,n),n[ge].type===1&&n[mt].destroy();let i=n[Oo];if(i!==null&&fi(n[Gt])){i!==n[Gt]&&My(i,n);let r=n[dr];r!==null&&r.detachView(t)}Iv(n)}finally{se(e)}}function jF(t,n){let e=t.cleanup,i=n[Os];if(e!==null)for(let a=0;a=0?i[s]():i[-s].unsubscribe(),a+=2}else{let s=i[e[a+1]];e[a].call(s)}i!==null&&(n[Os]=null);let r=n[jr];if(r!==null){n[jr]=null;for(let a=0;aTt&&_D(t,n,Tt,!1);let s=a?tt.TemplateUpdateStart:tt.TemplateCreateStart;pt(s,r,e),e(i,r)}finally{Po(o);let s=a?tt.TemplateUpdateEnd:tt.TemplateCreateEnd;pt(s,r,e)}}function Ry(t,n,e){tL(t,n,e),(e.flags&64)===64&&nL(t,n,e)}function Tf(t,n,e=Un){let i=n.localNames;if(i!==null){let r=n.index+1;for(let o=0;onull;function eL(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function CD(t,n,e,i,r,o){let a=n[ge];if(Nf(t,a,n,e,i)){ur(t)&&ED(n,t.index);return}t.type&3&&(e=eL(e)),wD(t,n,e,i,r,o)}function wD(t,n,e,i,r,o){if(t.type&3){let a=Un(t,n);i=o!=null?o(i,t.value||"",e):i,i=SD(e,a,i),r.setProperty(a,e,i)}else t.type&12}function SD(t,n,e,i=!1){return t==="src"&&(n.tagName==="IMG"||n.tagName==="VIDEO")?e==null?i?e:"":An(e):e}function ED(t,n){let e=pi(n,t);e[Ce]&16||(e[Ce]|=64)}function tL(t,n,e){let i=e.directiveStart,r=e.directiveEnd;ur(e)&&QF(n,e,t.data[i+e.componentOffset]),t.firstCreatePass||cf(e,n);let o=e.initialInputs;for(let a=i;a=s&&f<=l){let g=n.data[f],_=m[p+1];La(g,e[f],_,o),c=!0}else if(f>l)break}}return a!==null&&Object.hasOwn(i.inputs,r)&&(La(i,e[a],r,o),c=!0),c}function lL(t,n){let e=pi(n,t),i=e[ge];cL(i,e);let r=e[Fi];r!==null&&e[Ma]===null&&(e[Ma]=qE(r,e[Ur])),pt(tt.ComponentStart);try{Oy(i,e,e[Ft])}finally{pt(tt.ComponentEnd,e[Ft])}}function cL(t,n){for(let e=n.length;e{Ra(t.lView)},consumerOnSignalRead(){this.lView[Jn]=this}});function hL(t){let n=t[Jn]??Object.create(gL);return n.lView=t,n}var gL=de(w({},yo),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=zr(t.lView);for(;n&&!RD(n[ge]);)n=zr(n);n&&qb(n)},consumerOnSignalRead(){this.lView[Jn]=this}});function RD(t){return t.type!==2}function OD(t){if(t[Br]===null)return;let n=!0;for(;n;){let e=!1;for(let i of t[Br])if(i.dirty&&(e=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()),t[Br]===null))return;n=e&&!!(t[Ce]&8192)}}var bL=100;function PD(t,n=0){let i=t[Li].rendererFactory,r=!1;r||i.begin?.();try{vL(t,n)}finally{r||i.end?.()}}function vL(t,n){let e=rv();try{_c(!0),Hv(t,n);let i=0;for(;Rc(t);){if(i===bL)throw new D(103,!1);i++,Hv(t,1)}}finally{_c(e)}}function yL(t,n,e,i){if(Aa(n))return;let r=n[Ce],o=!1,a=!1;Bm(n);let s=!0,l=null,c=null;o||(RD(t)?(c=uL(n),l=Or(c)):Bu()===null?(s=!1,c=hL(n),l=Or(c)):n[Jn]&&(Co(n[Jn]),n[Jn]=null));try{Wb(n),mS(t.bindingStartIndex),e!==null&&xD(t,n,e,2,i);let d=(r&3)===3;if(!o)if(d){let f=t.preOrderCheckHooks;f!==null&&ef(n,f,null)}else{let f=t.preOrderHooks;f!==null&&tf(n,f,0,null),pv(n,0)}if(a||_L(n),OD(n),LD(n,0),t.contentQueries!==null&&YE(t,n),!o)if(d){let f=t.contentCheckHooks;f!==null&&ef(n,f)}else{let f=t.contentHooks;f!==null&&tf(n,f,1),pv(n,1)}CL(t,n);let m=t.components;m!==null&&jD(n,m,0);let p=t.viewQuery;if(p!==null&&Tv(2,p,i),!o)if(d){let f=t.viewCheckHooks;f!==null&&ef(n,f)}else{let f=t.viewHooks;f!==null&&tf(n,f,2),pv(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[Nm]){for(let f of n[Nm])f();n[Nm]=null}o||(ND(n),n[Ce]&=-73)}catch(d){FD(n,d,o)}finally{c!==null&&(xo(c,l),s&&fL(c)),zm()}}function FD(t,n,e){let i=!1,r=n,o=t,a=se(null);try{for(;o!==null;){if(fi(o)){o=o[Gt];continue}let s=o[Fs];if(s)try{let l=t[Dn][Ft],c=l?.constructor,d={declarationInstance:l,declarationType:c,caughtBy:s},m=se(null);try{s(ES(r),d)}finally{se(m)}i=!0;break}catch(l){r=l}o=o[Gt]}}finally{se(a)}if(!i)throw e||Ra(t),r}function LD(t,n){for(let e=BE(t);e!==null;e=zE(e))for(let i=Lt;i0&&(t[e-1][mi]=i[mi]);let o=Ic(t,Lt+n);FF(i[ge],i);let a=o[dr];a!==null&&a.detachView(o[ge]),i[Gt]=null,i[mi]=null,i[Ce]&=-129}return i}function wL(t,n,e,i){let r=Lt+i,o=e.length;i>0&&(e[r-1][mi]=n),i-1&&(zc(n,i),Ic(e,i))}this._attachedToViewContainer=!1}If(this._lView[ge],this._lView)}onDestroy(n){Fm(this._lView,n)}markForCheck(){Py(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Ce]&=-129}reattach(){Pm(this._lView),this._lView[Ce]|=128}detectChanges(){this._lView[Ce]|=1024,PD(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Ls(this._lView),e=this._lView[Oo];e!==null&&!n&&My(e,this._lView),fD(this._lView[ge],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=n;let e=Ls(this._lView),i=this._lView[Oo];i!==null&&!e&&UD(i,this._lView),Pm(this._lView)}};var qt=(()=>{class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=SL;constructor(e,i,r){this._declarationLView=e,this._declarationTContainer=i,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,r){let o=Qc(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:r});return new Bo(o)}}return t})();function SL(){return Af(an(),ue())}function Af(t,n){return t.type&4?new qt(n,t,Zs(t,n)):null}function Js(t,n,e,i,r){let o=t.data[n];if(o===null)o=EL(t,n,e,i,r),fS()&&(o.flags|=32);else if(o.type&64){o.type=e,o.value=i,o.attrs=r;let a=dS();o.injectorIndex=a===null?-1:a.injectorIndex}return Vs(o,!0),o}function EL(t,n,e,i,r){let o=tv(),a=nv(),s=a?o:o&&o.parent,l=t.data[n]=ML(t,s,e,n,i,r);return DL(t,l,o,a),l}function DL(t,n,e,i){t.firstChild===null&&(t.firstChild=n),e!==null&&(i?e.child==null&&n.parent!==null&&(e.child=n):e.next===null&&(e.next=n,n.prev=e))}function ML(t,n,e,i,r,o){let a=n?n.injectorIndex:-1,s=0;return Xb()&&(s|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:s,providerIndexes:0,value:r,namespace:lv(),attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function IL(t){let n=t[zb]??[],i=t[Gt][mt],r=[];for(let o of n)o.data[$E]!==void 0?r.push(o):kL(o,i);t[zb]=r}function kL(t,n){let e=0,i=t.firstChild;if(i){let r=t.data[UE];for(;enull,NL=()=>null;function df(t,n){return TL(t,n)}function $D(t,n,e){return NL(t,n,e)}var GD=class{},Vt=class{},He=class{destroyNode=null;static __NG_ELEMENT_ID__=()=>AL()};function AL(){let t=ue(),n=an(),e=pi(n.index,t);return($r(e)?e:t)[mt]}var WD=(()=>{class t{static \u0275prov=re({token:t,providedIn:"root",factory:()=>null})}return t})();function qD(t){return t.debugInfo?.className||t.type.name||null}var rf={},uf=class{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){let r=this.injector.get(n,rf,i);return r!==rf||e===rf?r:this.parentInjector.get(n,e,i)}};function YD(t,n,e){return t[n]=e}function Rn(t,n,e){if(e===gn)return!1;let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0)}function KD(t,n,e,i){let r=Rn(t,n,e);return Rn(t,n+1,i)||r}function QD(t,n,e,i,r){let o=KD(t,n,e,i);return Rn(t,n+2,r)||o}function Gs(t,n,e){return function i(r){let o=i.__ngNativeEl__;o!==void 0&&zP(r,o);let a=ur(t)?pi(t.index,n):n;Py(a,5);let s=n[Ft],l=ZS(n,s,e,r),c=i.__ngNextListenerFn__;for(;c;)l=ZS(n,s,c,r)&&l,c=c.__ngNextListenerFn__;return l}}function ZS(t,n,e,i){let r=se(null);try{return pt(tt.OutputStart,n,e),e(i)!==!1}catch(o){return aL(t,o),!1}finally{pt(tt.OutputEnd,n,e),se(r)}}function ZD(t,n,e,i,r,o,a,s){let l=Ac(t),c=!1,d=null;if(!i&&l&&(d=OL(n,e,o,t.index)),d!==null){let m=d.__ngLastListenerFn__||d;m.__ngNextListenerFn__=a,d.__ngLastListenerFn__=a,c=!0}else{let m=Un(t,e),p=i?i(m):m;UP(e,p,o,s),i||(s.__ngNativeEl__=m);let f=r.listen(p,o,s);if(!RL(o)){let g=i?_=>i(hn(_[t.index])):t.index;XD(g,n,e,o,s,f,!1)}}return c}function RL(t){return t.startsWith("animation")||t.startsWith("transition")}function OL(t,n,e,i){let r=t.cleanup;if(r!=null)for(let o=0;ol?s[l]:null}typeof a=="string"&&(o+=2)}return null}function XD(t,n,e,i,r,o,a){let s=n.firstCreatePass?Kb(n):null,l=Yb(e),c=l.length;l.push(r,o),s&&s.push(i,t,c,(c+1)*(a?-1:1))}function XS(t,n,e,i,r){let o=null,a=null,s=null,l=!1,c=t.directiveToIndex.get(e.type);if(typeof c=="number"?o=c:[o,a,s]=c,a!==null&&s!==null&&t.hostDirectiveOutputs&&Object.hasOwn(t.hostDirectiveOutputs,i)){let d=t.hostDirectiveOutputs[i];for(let m=0;m=a&&p<=s)l=!0,mf(t,n,p,d[m+1],i,r);else if(p>s)break}}return Object.hasOwn(e.outputs,i)&&(l=!0,mf(t,n,o,i,i,r)),l}function mf(t,n,e,i,r,o){let a=n[e],s=n[ge],c=s.data[e].outputs[i],m=a[c].subscribe(o);XD(t.index,s,n,r,o,m,!0)}function Xc(){PL()}function PL(){let t=ue(),n=ft(),e=an();if(n.firstCreatePass&&LL(n,e),e.controlDirectiveIndex===-1)return;ri("NgSignalForms");let i=t[e.controlDirectiveIndex];n.data[e.controlDirectiveIndex].controlDef.create(i,new ff(t,n,e))}function Jc(){FL()}function FL(){let t=ue(),n=ft(),e=Fo();if(e.controlDirectiveIndex===-1)return;let i=n.data[e.controlDirectiveIndex].controlDef,r=t[e.controlDirectiveIndex];i.update(r,new ff(t,n,e))}var ff=class{lView;tView;tNode;hasPassThrough;constructor(n,e,i){this.lView=n,this.tView=e,this.tNode=i,this.hasPassThrough=!!(i.flags&4096)}get customControl(){return this.tNode.customControlIndex!==-1?this.lView[this.tNode.customControlIndex]:void 0}get nativeElement(){return Un(this.tNode,this.lView)}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(n,e){let i=this.tView.data[this.tNode.customControlIndex];XS(this.tNode,this.lView,i,n,Gs(this.tNode,this.lView,e))}listenToCustomControlModel(n){let e=this.tNode.flags&1024?"valueChange":"checkedChange",i=this.tView.data[this.tNode.customControlIndex];XS(this.tNode,this.lView,i,e,Gs(this.tNode,this.lView,n))}setInputOnDirectives(n,e,i){let r=this.tNode.inputs?.[n],o=this.tNode.hostDirectiveInputs?.[n];if(!r&&!o)return!1;let a=!1;if(r)for(let s of r){if(s===this.tNode.controlDirectiveIndex)continue;let l=this.lView[s],c=this.tView.data[s];(!i||i(eE(l,c,n)))&&(La(c,l,n,e),a=!0)}if(o)for(let s=0;s0;){let r=i.shift();if(typeof r!="function"){for(let a in r.inputs)e[r.inputs[a]]=!0;let o=JS(r.directive);o!==null&&i.push(...o);continue}for(let o of r()){if(typeof o=="function")continue;if(o.inputs)for(let s=0;s1){n.flags|=4096;return}VL(t,n)}function VL(t,n){for(let e=n.directiveStart;e{let o=n.hostDirectiveInputs[i],a=n.hostDirectiveOutputs[i+"Change"];if(!o||!a)return!1;for(let s=0;s=f&&l<=g)return n.flags|=r,n.customControlIndex=p,!0}}}return!1};if(e("value",1024)||e("checked",2048))return}}function tE(t,n){return jL(t,n)&&BL(t,n+"Change")}function jL(t,n){return n in t.inputs}function BL(t,n){return n in t.outputs}var Uv=Symbol("BINDING");var Ba=new C("");function pf(t,n,e){let i=e?t.styles:null,r=e?t.classes:null,o=0;if(n!==null)for(let a=0;a0&&(e.directiveToIndex=new Map);for(let p=0;p0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function YL(t,n,e){if(e){if(n.exportAs)for(let i=0;i{let[e,i,r]=t[n],o={propName:e,templateName:n,isSignal:(i&Kc.SignalBased)!==0};return r&&(o.transform=r),o})}function JL(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}function e2(t,n,e){let i=n instanceof lt?n:n?.injector;return i&&t.getStandaloneInjector!==null&&(i=t.getStandaloneInjector(i)||i),i?new uf(e,i):e}function t2(t){let n=t.get(Vt,null);if(n===null)throw new D(407,!1);let e=t.get(WD,null),i=t.get(Oi,null),r=t.get(bi,null,{optional:!0});return{rendererFactory:n,sanitizer:e,changeDetectionScheduler:i,ngReflect:!1,tracingService:r}}function n2(t,n,e){let i=rM(t);return iD(n,i,i==="svg"?Ea:i==="math"?Am:e)}function i2(t){if((t&&"localName"in t&&typeof t.localName=="string"?t.localName:t?.tagName)?.toLowerCase()==="script")throw new D(905,!1)}function rM(t){return(t.selectors[0][0]||"div").toLowerCase()}var Va=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=XL(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=JL(this.componentDef.outputs),this.cachedOutputs}constructor(n,e){this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=MF(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!e}create(n,e,i,r,o,a,s,l){pt(tt.DynamicComponentStart);let c=se(null);try{let d=this.componentDef,m=e2(d,r||this.ngModule,n),p=t2(m),f=p.tracingService;return f&&f.componentCreate?f.componentCreate(qD(d),()=>this.createComponentRef(p,m,e,i,o,a,s,l)):this.createComponentRef(p,m,e,i,o,a,s,l)}finally{se(c)}}createComponentRef(n,e,i,r,o,a,s,l){let c=this.componentDef,d=r2(r,c,a,o,l),m=n.rendererFactory.createRenderer(null,c),p=r?ZF(m,r,c.encapsulation,e):n2(c,m,s??null);i2(p);let f=e.get(Ba,null),g=o2(p,()=>e.get(oe,null)??uy());f&&f.addHost(g);let _=a?.some(oE)||o?.some(A=>typeof A!="function"&&A.bindings.some(oE)),E=Ny(null,d,null,512|vD(c),null,null,n,m,e,null,qE(p,e,!0));f&&iM&&g instanceof ShadowRoot&&Fm(E,()=>{f.removeHost(g)}),E[Tt]=p,Bm(E);let L=null;try{let A=tM(Tt,E,2,"#host",()=>d.directiveRegistry,!0,0);aD(m,p,A),qs(p,E),Ry(d,E,A),KE(d,A,E),nM(d,A),i!==void 0&&s2(A,this.ngContentSelectors,i),L=pi(A.index,E),E[Ft]=L[Ft],Oy(d,E,null)}catch(A){throw L!==null&&Iv(L),Iv(E),A}finally{pt(tt.DynamicComponentEnd),zm()}return new hf(this.componentType,E,!!_)}};function r2(t,n,e,i,r){let o=t?["ng-version","22.2.5"]:IF(n.selectors[0]),a=null,s=null,l=0;if(e)for(let m of e)l+=m[Uv].requiredVars,m.create&&(m.targetIdx=0,(a??=[]).push(m)),m.update&&(m.targetIdx=0,(s??=[]).push(m));if(i)for(let m=0;m{if(e&1&&t)for(let i of t)i.create();if(e&2&&n)for(let i of n)i.update()}}function oE(t){let n=t[Uv].kind;return n==="input"||n==="twoWay"}var hf=class extends GD{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,e,i){super(),this._rootLView=e,this._hasInputBindings=i,this._tNode=Rm(e[ge],Tt),this.location=Zs(this._tNode,e),this.instance=pi(this._tNode.index,e)[Ft],this.hostView=this.changeDetectorRef=new Bo(e,void 0),this.componentType=n}setInput(n,e){this._hasInputBindings;let i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let r=this._rootLView,o=Nf(i,r[ge],r,n,e);this.previousInputValues.set(n,e);let a=pi(i.index,r);Py(a,1)}get injector(){return new Wr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function s2(t,n,e){let i=t.projection=[];for(let r=0;r{class t{static __NG_ELEMENT_ID__=l2}return t})();function l2(){let t=an();return oM(t,ue())}var $v=class t extends Bt{_lContainer;_hostTNode;_hostLView;constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return Zs(this._hostTNode,this._hostLView)}get injector(){return new Wr(this._hostTNode,this._hostLView)}get parentInjector(){let n=ly(this._hostTNode,this._hostLView);if(ME(n)){let e=sf(n,this._hostLView),i=af(n),r=e[ge].data[i+8];return new Wr(r,e)}else return new Wr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=aE(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-Lt}createEmbeddedView(n,e,i){let r,o,a;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector,a=i.onError);let s=df(this._lContainer,n.ssrId),l=n.createEmbeddedViewImpl(e||{},o,s);return a&&(l._lView[Fs]=a),this.insertImpl(l,r,Ys(this._hostTNode,s)),l}createComponent(n,e,i,r,o,a,s){let l,c,d=e||{};l=d.index,i=d.injector,r=d.projectableNodes,o=d.environmentInjector||d.ngModuleRef,a=d.directives,s=d.bindings,c=d.onError;let m=new Va(Hr(n)),p=i||this.parentInjector;if(!o&&m.ngModule==null){let A=this.parentInjector.get(lt,null);A&&(o=A)}let f=Hr(m.componentType??{}),g=df(this._lContainer,f?.id??null),_=g?.firstChild??null,E=m.create(p,r,_,o,a,s,this._getHostElementNamespace());return c&&(E.hostView._lView[Fs]=c),this.insertImpl(E.hostView,l,Ys(this._hostTNode,g)),E}_getHostElementNamespace(){if(this._hostTNode.type&2){let n=this._hostTNode.parent??this._hostLView[pn];return n!==null&&n.type&2&&typeof n.value=="string"&&n.value.toLowerCase()==="foreignobject"?null:n?.namespace??null}return this._hostTNode.namespace}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let r=n._lView;if(rS(r)){let s=this.indexOf(n);if(s!==-1)this.detach(s);else{let l=r[Gt],c=new t(l,l[pn],l[Gt]);c.detach(c.indexOf(n))}}let o=this._adjustIndex(e),a=this._lContainer;return Zc(a,r,o,i),n.attachToViewContainerRef(),Ab(bv(a),o,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=aE(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=zc(this._lContainer,e);i&&(Ic(bv(this._lContainer),e),If(i[ge],i))}detach(n){let e=this._adjustIndex(n,-1),i=zc(this._lContainer,e);return i&&Ic(bv(this._lContainer),e)!=null?new Bo(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function aE(t){return t[Nc]}function bv(t){return t[Nc]||(t[Nc]=[])}function oM(t,n){let e,i=n[t.index];return fi(i)?e=i:(e=BD(i,n,null,t),n[t.index]=e,Ay(n,e)),d2(e,n,t,i),new $v(e,t,n)}function c2(t,n){let e=t[mt],i=e.createComment(""),r=Un(n,t),o=e.parentNode(r);return Pa(e,o,i,e.nextSibling(r),!1),i}var d2=f2,u2=()=>!1;function m2(t,n,e){return u2(t,n,e)}function f2(t,n,e,i){if(t[Ta])return;let r;e.type&8?r=hn(i):r=c2(n,e),t[Ta]=r}var Gv=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Wv=class t{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.contentQueries[0]:e.length,r=[];for(let o=0;o0)i.push(a[s/2]);else{let c=o[s+1],d=n[-l];for(let m=Lt;mn.trim())}function dM(t,n,e){t.queries===null&&(t.queries=new qv),t.queries.track(new Yv(n,e))}function y2(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n)}function Ly(t,n){return t.queries.getByIndex(n)}function uM(t,n){let e=t[ge],i=Ly(e,n);return i.crossesNgTemplate?Kv(e,t,n,[]):aM(e,t,i,n)}function mM(t,n,e){let i,r=uc(()=>{i._dirtyCounter();let o=_2(i,t);if(n&&o===void 0)throw new D(-951,!1);return o});return i=r[Ot],i._dirtyCounter=he(0),i._flatValue=void 0,r}function Vy(t){return mM(!0,!1,t)}function jy(t){return mM(!0,!0,t)}function fM(t,n){let e=t[Ot];e._lView=ue(),e._queryIndex=n,e._queryList=Fy(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1))}function _2(t,n){let e=t._lView,i=t._queryIndex;if(e===void 0||i===void 0||e[Ce]&4)return n?void 0:Sn;let r=Fy(e,i),o=uM(e,i);return r.reset(o,LE),n?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}function Kr(t){return!!t&&typeof t.then=="function"}function By(t){return!!t&&typeof t.subscribe=="function"}var hr=class{},Rf=class{};var Hc=class extends hr{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(n,e,i,r=!0){super(),this.ngModuleType=n,this._parent=e;let o=zw(n);this._bootstrapComponents=gF(o.bootstrap),this._r3Injector=cv(n,e,[{provide:hr,useValue:this},...i],wc(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},Uc=class extends Rf{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new Hc(this.moduleType,n,[])}};function pM(t,n,e){return new Hc(t,n,e,!1)}var bf=class extends hr{injector;instance=null;constructor(n){super();let e=new Sa([...n.providers,{provide:hr,useValue:this}],n.parent||Rs(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function el(t,n,e=null){return new bf({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}var x2=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=Pb(!1,e.type),r=i.length>0?el([i],this._injector,""):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=re({token:t,providedIn:"environment",factory:()=>new t(K(lt))})}return t})();function F(t){return Gc(()=>{let n=hM(t),e=de(w({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection!==cy.Eager,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?r=>r.get(x2).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Hi.Emulated,styles:t.styles||Sn,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&ri("NgStandalone"),gM(e);let i=t.dependencies;return e.directiveDefs=sE(i,C2),e.pipeDefs=sE(i,Hw),e.id=E2(e),e})}function C2(t){return Hr(t)||Mc(t)}function Y(t){return Gc(()=>({type:t.type,bootstrap:t.bootstrap||Sn,declarations:t.declarations||Sn,imports:t.imports||Sn,exports:t.exports||Sn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function w2(t,n){if(t==null)return No;let e={};for(let i in t)if(Object.hasOwn(t,i)){let r=t[i],o,a,s,l;Array.isArray(r)?(s=r[0],o=r[1],a=r[2]??o,l=r[3]||null):(o=r,a=r,s=Kc.None,l=null),e[o]=[i,s,l],n[o]=a}return e}function S2(t){if(t==null)return No;let n={};for(let e in t)Object.hasOwn(t,e)&&(n[t[e]]=e);return n}function B(t){return Gc(()=>{let n=hM(t);return gM(n),n})}function Of(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function hM(t){let n={};return{type:t.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputConfig:t.inputs||No,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Sn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:w2(t.inputs,n),outputs:S2(t.outputs),debugInfo:null}}function gM(t){t.features?.forEach(n=>n(t))}function sE(t,n){return t?()=>{let e=typeof t=="function"?t():t,i=[];for(let r of e){let o=n(r);o!==null&&i.push(o)}return i}:null}function E2(t){let n=0,e=typeof t.consts=="function"?"":t.consts,i=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,e,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let o of i.join("|"))n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}var zy=new C("");function Pf(t){return cr([{provide:zy,multi:!0,useValue:t}])}var Hy=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i});appInits=u(zy,{optional:!0})??[];injector=u(ne);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=Qt(this.injector,r);if(Kr(o))e.push(o);else if(By(o)){let a=new Promise((s,l)=>{o.subscribe({complete:s,error:l})});e.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),e.length===0&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),Qv=new Map,D2=new Set;function Uy(t){return z(this,null,function*(){let n=Qv;Qv=new Map;let e=new Map;function i(o){let a=e.get(o);if(a)return a;let s=t(o).then(l=>M2(o,l));return e.set(o,s),s}let r=Array.from(n).map(s=>z(null,[s],function*([o,a]){if(a.styleUrl&&a.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");let l=[];a.templateUrl&&l.push(i(a.templateUrl).then(p=>{a.template=p}));let c=typeof a.styles=="string"?[a.styles]:a.styles??[];a.styles=c;let{styleUrl:d,styleUrls:m}=a;if(d&&(m=[d],a.styleUrl=void 0),m?.length){let p=Promise.all(m.map(f=>i(f))).then(f=>{c.push(...f),a.styleUrls=void 0});l.push(p)}yield Promise.all(l),D2.delete(o)}));yield Promise.all(r)})}function bM(){return Qv.size===0}function M2(t,n){return z(this,null,function*(){if(typeof n=="string")return n;if(n.status!==void 0&&n.status!==200)throw new D(918,!1);return n.text()})}function $y(t){return n=>{n.controlDef={create:(e,i)=>{e?.\u0275ngControlCreate(i)},update:(e,i)=>{e?.\u0275ngControlUpdate?.(i)},passThroughInput:t}}}function Gy(t){let n=e=>{let i=Array.isArray(t);e.hostDirectives===null?(e.resolveHostDirectives=I2,e.hostDirectives=i?t.map(Zv):[t]):i?e.hostDirectives.unshift(...t.map(Zv)):e.hostDirectives.unshift(t)};return n.ngInherit=!0,n}function I2(t){let n=[],e=!1,i=null,r=null;for(let o=0;o{k2(a.declaredInputs,o.inputs)}),[n,i,r]}function vM(t,n,e,i){if(t.hostDirectives!==null)for(let r of t.hostDirectives)if(typeof r=="function"){let o=r();for(let a of o)lE(Zv(a),n,e,i)}else lE(r,n,e,i)}function lE(t,n,e,i){let r=Mc(t.directive);if(vM(r,n,e,i),e.has(r)){let o=e.get(r);cE(o,t.inputs,"input"),cE(o,t.outputs,"output")}else i.includes(r)||(e.set(r,t),n.push(r))}function cE(t,n,e){let i=e==="input"?t.inputs:t.outputs;Object.keys(n).forEach(r=>{let o=n[r];(!Object.hasOwn(i,r)||i[r]===o)&&(i[r]=o)})}function Zv(t){return typeof t=="function"?{directive:on(t),inputs:{},outputs:{}}:{directive:on(t.directive),inputs:dE(t.inputs),outputs:dE(t.outputs)}}function dE(t){let n={};if(t!==void 0&&t.length>0)for(let e=0;e=0;i--){let r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Ws(r.hostAttrs,e=Ws(e,r.hostAttrs))}}function vv(t){return t===No?{}:t===Sn?[]:t}function R2(t,n){let e=t.viewQuery;e?t.viewQuery=(i,r)=>{n(i,r),e(i,r)}:t.viewQuery=n}function O2(t,n){let e=t.contentQueries;e?t.contentQueries=(i,r,o)=>{n(i,r,o),e(i,r,o)}:t.contentQueries=n}function P2(t,n){let e=t.hostBindings;e?t.hostBindings=(i,r)=>{n(i,r),e(i,r)}:t.hostBindings=n}function yM(t,n,e,i,r,o,a,s){if(e.firstCreatePass){t.mergedAttrs=Ws(t.mergedAttrs,t.attrs);let d=t.tView=Ty(2,t,r,o,a,e.directiveRegistry,e.pipeRegistry,null,e.schemas,e.consts,null);e.queries!==null&&(e.queries.template(e,t),d.queries=e.queries.embeddedTView(t))}s&&(t.flags|=s),Vs(t,!1);let l=L2(e,n,t,i);Hm()&&Iy(e,n,l,t),qs(l,n);let c=BD(l,n,l,t);n[i+Tt]=c,Ay(n,c),m2(c,t,n)}function F2(t,n,e,i,r,o,a,s,l,c,d){let m=e+Tt,p;return n.firstCreatePass?(p=Js(n,m,4,a||null,s||null),Zb()&&JD(n,t,p,ei(n.consts,c),DD),SE(n,p)):p=n.data[m],yM(p,t,n,e,i,r,o,l),Ac(p)&&Ry(n,t,p),c!=null&&Tf(t,p,d),p}function Ks(t,n,e,i,r,o,a,s,l,c,d){let m=e+Tt,p;if(n.firstCreatePass){if(p=Js(n,m,4,a||null,s||null),c!=null){let f=ei(n.consts,c);p.localNames=[];for(let g=0;g{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();var Lf=new C(""),nl=new C(""),Wy=new C("USE_PENDING_TASKS",{providedIn:"root",factory:()=>typeof Zone>"u"}),ed=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;pendingTasksInternal=u(ji);_usePendingTasks=u(Wy);constructor(e,i,r){this._ngZone=e,this.registry=i,Vb()&&(this._destroyRef=u(Wt,{optional:!0})??void 0),qy||(_M(r),r.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let e=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),i,r;this._ngZone.runOutsideAngular(()=>{this._usePendingTasks&&(i=this.pendingTasksInternal.hasPendingTasksObservable.subscribe(()=>{this.isStable()&&this._ngZone.runOutsideAngular(()=>{this._runCallbacksIfReady()})})),r=this._ngZone.onStable.subscribe({next:()=>{O.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})}),this._destroyRef?.onDestroy(()=>{e.unsubscribe(),i?.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks&&(!this._usePendingTasks||!this.pendingTasksInternal.hasPendingTasks)}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(e)?(clearTimeout(i.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==o),e()},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,i,r){if(r&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,r),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}static \u0275fac=function(i){return new(i||t)(K(O),K(td),K(nl))};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})(),td=(()=>{class t{_applications=new Map;registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return qy?.findTestabilityInTree(this,e,i)??null}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function _M(t){qy=t}var qy,nd=new C("");function xM(){Hg(t=>{let n="";throw new D(-600,n)})}var j2=10;function Yy(t,n){return Array.isArray(n)?n.reduce(Yy,t):w(w({},t),n)}var un=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=u(ti);afterRenderManager=u(Mf);zonelessEnabled=u(Bs);rootEffectScheduler=u(qm);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new R;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=u(ji);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Ae(e=>!e))}constructor(){u(bi,{optional:!0})}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{e.unsubscribe()})}_injector=u(lt);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,i){return this.bootstrapImpl(e,i)}bootstrapImpl(e,i,r=ne.NULL){return this._injector.get(O).run(()=>{if(pt(tt.BootstrapComponentStart),!this._injector.get(Hy).done){let L="";throw new D(405,L)}let s=Hr(e),l=this._injector.get(hr),c=new Va(s,l);this.componentTypes.push(e);let{hostElement:d,directives:m,bindings:p}=B2(i),f=d||c.selector,g=c.create(r,[],f,l.injector,m,p),_=g.location.nativeElement,E=g.injector.get(Lf,null);return E?.registerApplication(_),g.onDestroy(()=>{this.detachView(g.hostView),Lc(this.components,g),E?.unregisterApplication(_)}),this._loadComponent(g),pt(tt.BootstrapComponentEnd,g),g})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){pt(tt.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Df.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw pt(tt.ChangeDetectionEnd),new D(101,!1);let e=se(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,se(e),this.afterTick.next(),pt(tt.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Vt,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++Rc(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;Lc(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(e),this._injector.get(nd,[]).forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Lc(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new D(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function B2(t){return t===void 0||typeof t=="string"||t instanceof Element?{hostElement:t}:t}function Lc(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function Vf(t,n){let e=ue(),i=mr();if(Rn(e,i,n)){let r=ft(),o=Fo();if(Nf(o,r,e,t,n))ur(o)&&ED(e,o.index);else{let s=Un(o,e);MD(e[mt],s,null,o.value,t,n,null)}}return Vf}function ye(t,n,e,i){let r=ue(),o=mr();if(Rn(r,o,n)){let a=ft(),s=Fo();rL(s,r,t,n,e,i)}return ye}var Xv=class{destroy(n){}updateValue(n,e){}swap(n,e){let i=Math.min(n,e),r=Math.max(n,e),o=this.detach(r);if(r-i>1){let a=this.detach(i);this.attach(i,o),this.attach(r,a)}else this.attach(i,o)}move(n,e){this.attach(e,this.detach(n))}};function yv(t,n,e,i,r){return t===e&&Object.is(n,i)?1:Object.is(r(t,n),r(e,i))?-1:0}function z2(t,n,e,i){let r,o,a=0,s=t.length-1,l=void 0;if(Array.isArray(n)){se(i);let c=n.length-1;for(se(null);a<=s&&a<=c;){let d=t.at(a),m=n[a],p=yv(a,d,a,m,e);if(p!==0){p<0&&t.updateValue(a,m),a++;continue}let f=t.at(s),g=n[c],_=yv(s,f,c,g,e);if(_!==0){_<0&&t.updateValue(s,g),s--,c--;continue}let E=e(a,d),L=e(s,f),A=e(a,m);if(Object.is(A,L)){let ee=e(c,g);Object.is(ee,E)?(t.swap(a,s),t.updateValue(s,g),c--,s--):t.move(s,a),t.updateValue(a,m),a++;continue}if(r??=new vf,o??=mE(t,a,s,e),Jv(t,r,a,A))t.updateValue(a,m),a++,s++;else if(o.has(A))r.set(E,t.detach(a)),s--;else{let ee=t.create(a,n[a]);t.attach(a,ee),a++,s++}}for(;a<=c;)uE(t,r,e,a,n[a]),a++}else if(n!=null){se(i);let c=n[Symbol.iterator]();se(null);let d=c.next();for(;!d.done&&a<=s;){let m=t.at(a),p=d.value,f=yv(a,m,a,p,e);if(f!==0)f<0&&t.updateValue(a,p),a++,d=c.next();else{r??=new vf,o??=mE(t,a,s,e);let g=e(a,p);if(Jv(t,r,a,g))t.updateValue(a,p),a++,s++,d=c.next();else if(!o.has(g))t.attach(a,t.create(a,p)),a++,s++,d=c.next();else{let _=e(a,m);r.set(_,t.detach(a)),s--}}}for(;!d.done;)uE(t,r,e,t.length,d.value),d=c.next()}for(;a<=s;)t.destroy(t.detach(s--));r?.forEach(c=>{t.destroy(c)})}function Jv(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function uE(t,n,e,i,r){if(Jv(t,n,i,e(i,r)))t.updateValue(i,r);else{let o=t.create(i,r);t.attach(i,o)}}function mE(t,n,e,i){let r=new Set;for(let o=n;o<=e;o++)r.add(i(o,t.at(o)));return r}var vf=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let i=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),n(i,e)}}};function Q(t,n,e,i,r,o,a,s){ri("NgControlFlow");let l=ue(),c=ft(),d=ei(c.consts,o);return Ks(l,c,t,n,e,i,r,d,256,a,s),Ky}function Ky(t,n,e,i,r,o,a,s){return ri("NgControlFlow"),H2(t,n,e,i,r,o,a,s),Ky}function H2(t,n,e,i,r,o,a,s){let l=ue(),c=ft(),d=ei(c.consts,o);Ks(l,c,t,n,e,i,r,d,512,a,s)}function Z(t,n){ri("NgControlFlow");let e=ue(),i=mr(),r=e[i]!==gn?e[i]:-1,o=r!==-1?yf(e,Tt+r):void 0,a=0;if(Rn(e,i,t)){let s=se(null);try{if(o!==void 0&&HD(o,a),t!==-1){let l=Tt+t,c=yf(e,l),d=iy(e[ge],l),m=$D(c,d,e),p=Qc(e,d,n,{dehydratedView:m});Zc(c,p,a,Ys(d,m))}}finally{se(s)}}else if(o!==void 0){let s=zD(o,a);s!==void 0&&(s[Ft]=n)}}var ey=class{lContainer;$implicit;$index;constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-Lt}};function Xt(t,n){return n}var ty=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}};function Nt(t,n,e,i,r,o,a,s,l,c,d,m,p){ri("NgControlFlow");let f=ue(),g=ft(),_=l!==void 0,E=ue(),L=s?a.bind(E[Dn][Ft]):a,A=new ty(_,L);E[Tt+t]=A,Ks(f,g,t+1,n,e,i,r,ei(g.consts,o),256),_&&Ks(f,g,t+2,l,c,d,m,ei(g.consts,p),512)}var ny=class extends Xv{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i}get length(){return this.lContainer.length-Lt}at(n){return this.getLView(n)[Ft].$implicit}attach(n,e){let i=e[Ma];this.needsIndexUpdate||=n!==this.length,Zc(this.lContainer,e,n,Ys(this.templateTNode,i)),U2(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,$2(this.lContainer,n),G2(this.lContainer,n)}create(n,e){let i=df(this.lContainer,this.templateTNode.tView.ssrId);return Qc(this.hostLView,this.templateTNode,new ey(this.lContainer,e,n),{dehydratedView:i})}destroy(n){If(n[ge],n)}updateValue(n,e){this.getLView(n)[Ft].$implicit=e}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n(fE(t,n,r,s,i),b))}}return fE(t,n,r,s,i),b}function fE(t,n,e,i,r){if(ID(i,e,t,n,CM),Ac(i)){let o=e[ge];Ry(o,e,i),KE(o,i,e)}r!=null&&Tf(e,i)}function v(){let t=ft(),n=an(),e=kD(n);return t.firstCreatePass&&nM(t,e),Jb(e)&&ev(),Qb(),e.classesWithoutHost!=null&&wP(e)&&ry(t,e,ue(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&SP(e)&&ry(t,e,ue(),e.stylesWithoutHost,!1),v}function q(t,n,e,i){return b(t,n,e,i),v(),q}function zt(t,n,e,i){let r=ue(),o=r[ge],a=t+Tt,s=o.firstCreatePass?QL(a,o,2,n,e,i):o.data[a];return ID(s,r,t,n,CM),i!=null&&Tf(r,s),zt}function ln(){let t=an(),n=kD(t);return Jb(n)&&ev(),Qb(),ln}function Gn(t,n,e,i){return zt(t,n,e,i),ln(),Gn}var CM=(t,n,e,i,r)=>(Um(!0),iD(n[mt],i,lv()));function Be(){return ue()}function On(t,n,e){let i=ue(),r=mr();if(Rn(i,r,n)){let o=ft(),a=Fo();wD(a,i,t,n,i[mt],e)}return On}var id="en-US";var q2=id;function wM(t){typeof t=="string"&&(q2=t.toLowerCase().replace(/_/g,"-"))}function j(t,n,e){let i=ue(),r=ft(),o=an();return SM(r,i,i[mt],o,t,n,e),j}function il(t,n,e){let i=ue(),r=ft(),o=an();return(o.type&3||e)&&ZD(o,r,i,e,i[mt],t,n,Gs(o,i,n)),il}function SM(t,n,e,i,r,o,a){let s=!0,l=null;if((i.type&3||a)&&(l??=Gs(i,n,o),ZD(i,t,n,a,e,r,o,l)&&(s=!1)),s){let c=i.outputs?.[r],d=i.hostDirectiveOutputs?.[r];if(d&&d.length)for(let m=0;m>17&32767}function Q2(t){return(t&2)==2}function Z2(t,n){return t&131071|n<<17}function oy(t){return t|2}function Qs(t){return(t&131068)>>2}function _v(t,n){return t&-131069|n<<2}function X2(t){return(t&1)===1}function ay(t){return t|1}function J2(t,n,e,i,r,o){let a=o?n.classBindings:n.styleBindings,s=ja(a),l=Qs(a);t[i]=e;let c=!1,d;if(Array.isArray(e)){let m=e;d=m[1],(d===null||As(m,d)>0)&&(c=!0)}else d=e;if(r)if(l!==0){let p=ja(t[s+1]);t[i+1]=Xm(p,s),p!==0&&(t[p+1]=_v(t[p+1],i)),t[s+1]=Z2(t[s+1],i)}else t[i+1]=Xm(s,0),s!==0&&(t[s+1]=_v(t[s+1],i)),s=i;else t[i+1]=Xm(l,0),s===0?s=i:t[l+1]=_v(t[l+1],i),l=i;c&&(t[i+1]=oy(t[i+1])),pE(t,d,i,!0),pE(t,d,i,!1),eV(n,d,t,i,o),a=Xm(s,l),o?n.classBindings=a:n.styleBindings=a}function eV(t,n,e,i,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof n=="string"&&As(o,n)>=0&&(e[i+1]=ay(e[i+1]))}function pE(t,n,e,i){let r=t[e+1],o=n===null,a=i?ja(r):Qs(r),s=!1;for(;a!==0&&(s===!1||o);){let l=t[a],c=t[a+1];tV(l,n)&&(s=!0,t[a+1]=i?ay(c):oy(c)),a=i?ja(c):Qs(c)}s&&(t[e+1]=i?oy(r):ay(r))}function tV(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?As(t,n)>=0:!1}var zi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function nV(t){return t.substring(zi.key,zi.keyEnd)}function iV(t){return rV(t),EM(t,DM(t,0,zi.textEnd))}function EM(t,n){let e=zi.textEnd;return e===n?-1:(n=zi.keyEnd=oV(t,zi.key=n,e),DM(t,n,e))}function rV(t){zi.key=0,zi.keyEnd=0,zi.value=0,zi.valueEnd=0,zi.textEnd=t.length}function DM(t,n,e){for(;n32;)n++;return n}function Qr(t,n,e){return MM(t,n,e,!1),Qr}function ie(t,n){return MM(t,n,null,!0),ie}function Rt(t){sV(fV,aV,t,!0)}function aV(t,n){for(let e=iV(n);e>=0;e=EM(n,e))km(t,nV(n),!0)}function MM(t,n,e,i){let r=ue(),o=ft(),a=Oc(2);if(o.firstUpdatePass&&kM(o,t,a,i),n!==gn&&Rn(r,a,n)){let s=o.data[hi()];TM(o,s,r,r[mt],t,r[a+1]=hV(n,e),i,a)}}function sV(t,n,e,i){let r=ft(),o=Oc(2);r.firstUpdatePass&&kM(r,null,o,i);let a=ue();if(e!==gn&&Rn(a,o,e)){let s=r.data[hi()];if(NM(s,i)&&!IM(r,o)){let l=i?s.classesWithoutHost:s.stylesWithoutHost;l!==null&&(e=Sm(l,e||"")),ry(r,s,a,e,i)}else pV(r,s,a,a[mt],a[o+1],a[o+1]=mV(t,n,e),i,o)}}function IM(t,n){return n>=t.expandoStartIndex}function kM(t,n,e,i){let r=t.data;if(r[e+1]===null){let o=r[hi()],a=IM(t,e);NM(o,i)&&n===null&&!a&&(n=!1),n=lV(r,o,n,i),J2(r,o,n,e,a,i)}}function lV(t,n,e,i){let r=gS(t),o=i?n.residualClasses:n.residualStyles;if(r===null)(i?n.classBindings:n.styleBindings)===0&&(e=xv(null,t,n,e,i),e=$c(e,n.attrs,i),o=null);else{let a=n.directiveStylingLast;if(a===-1||t[a]!==r)if(e=xv(r,t,n,e,i),o===null){let l=cV(t,n,i);l!==void 0&&Array.isArray(l)&&(l=xv(null,t,n,l[1],i),l=$c(l,n.attrs,i),dV(t,n,i,l))}else o=uV(t,n,i)}return o!==void 0&&(i?n.residualClasses=o:n.residualStyles=o),e}function cV(t,n,e){let i=e?n.classBindings:n.styleBindings;if(Qs(i)!==0)return t[ja(i)]}function dV(t,n,e,i){let r=e?n.classBindings:n.styleBindings;t[ja(r)]=i}function uV(t,n,e){let i,r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0;){let l=t[r],c=Array.isArray(l),d=c?l[1]:l,m=d===null,p=e[r+1];p===gn&&(p=m?Sn:void 0);let f=m?Tm(p,i):d===i?p:void 0;if(c&&!_f(f)&&(f=Tm(l,i)),_f(f)&&(s=f,a))return s;let g=t[r+1];r=a?ja(g):Qs(g)}if(n!==null){let l=o?n.residualClasses:n.residualStyles;l!=null&&(s=Tm(l,i))}return s}function _f(t){return t!==void 0}function hV(t,n){return t==null||t===""||(typeof n=="string"?t=An(t)+n:typeof t=="object"&&(t=wc(An(t)))),t}function NM(t,n){return(t.flags&(n?8:16))!==0}function S(t,n=""){let e=ue(),i=ft(),r=t+Tt,o=i.firstCreatePass?Js(i,r,1,n,null):i.data[r],a=gV(i,e,o,n);e[r]=a,Hm()&&Iy(i,e,a,o),Vs(o,!1)}var gV=(t,n,e,i)=>(Um(!0),cF(n[mt],i));function bV(t,n,e,i=""){return Rn(t,mr(),e)?n+Pi(e)+i:gn}function vV(t,n,e,i,r,o=""){let a=ov(),s=KD(t,a,e,r);return Oc(2),s?n+Pi(e)+i+Pi(r)+o:gn}function yV(t,n,e,i,r,o,a,s=""){let l=ov(),c=QD(t,l,e,r,a);return Oc(3),c?n+Pi(e)+i+Pi(r)+o+Pi(a)+s:gn}function rt(t){return Ke("",t),rt}function Ke(t,n,e){let i=ue(),r=bV(i,t,n,e);return r!==gn&&Qy(i,hi(),r),Ke}function Hf(t,n,e,i,r){let o=ue(),a=vV(o,t,n,e,i,r);return a!==gn&&Qy(o,hi(),a),Hf}function Uf(t,n,e,i,r,o,a){let s=ue(),l=yV(s,t,n,e,i,r,o,a);return l!==gn&&Qy(s,hi(),l),Uf}function Qy(t,n,e){let i=Ub(n,t);dF(t[mt],i,e)}function rl(t,n,e){Ym(n)&&(n=n());let i=ue(),r=mr();if(Rn(i,r,n)){let o=ft(),a=Fo();CD(a,i,t,n,i[mt],e)}return rl}function rd(t,n){let e=Ym(t);return e&&t.set(n),e}function ol(t,n){let e=ue(),i=ft(),r=an();return SM(i,e,e[mt],r,t,n),ol}function al(t){return Rn(ue(),mr(),t)?Pi(t):gn}function gE(t,n,e){let i=ft();i.firstCreatePass&&AM(n,i.data,i.blueprint,Vi(t),e)}function AM(t,n,e,i,r){if(t=on(t),Array.isArray(t))for(let o=0;o>20;if(wa(t)||!t.multi){let f=new Fa(c,r,Ue,null),g=wv(l,n,r?d:d+p,m);g===-1?(Dv(cf(s,a),o,l),Cv(o,t,n.length),n.push(l),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(f),a.push(f)):(e[g]=f,a[g]=f)}else{let f=wv(l,n,d+p,m),g=wv(l,n,d,d+p),_=f>=0&&e[f],E=g>=0&&e[g];if(r&&!E||!r&&!_){Dv(cf(s,a),o,l);let L=CV(r?xV:_V,e.length,r,i,c,t);!r&&E&&(e[g].providerFactory=L),Cv(o,t,n.length,0),n.push(l),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(L),a.push(L)}else{let L=RM(e[r?g:f],c,!r&&i);Cv(o,t,f>-1?f:g,L)}!r&&i&&E&&e[g].componentProviders++}}}function Cv(t,n,e,i){let r=wa(n),o=Jw(n);if(r||o){let l=(o?on(n.useClass):n).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.multi){let d=c.indexOf(e);d===-1?c.push(e,[i,l]):c[d+1].push(i,l)}else c.push(e,l)}}}function RM(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function wv(t,n,e,i){for(let r=e;r{e.providersResolver=(i,r)=>gE(i,r?r(t):t,!1),n&&(e.viewProvidersResolver=(i,r)=>gE(i,r?r(n):n,!0))}}function sl(t,n,e){return PM(ue(),Lm(),t,n,e)}function $f(t,n,e,i,r){return wV(ue(),Lm(),t,n,e,i,r)}function OM(t,n){let e=t[n];return e===gn?void 0:e}function PM(t,n,e,i,r,o){let a=n+e;return Rn(t,a,r)?YD(t,a+1,o?i.call(o,r):i(r)):OM(t,a+1)}function wV(t,n,e,i,r,o,a,s){let l=n+e;return QD(t,l,r,o,a)?YD(t,l+3,s?i.call(s,r,o,a):i(r,o,a)):OM(t,l+3)}function vi(t,n){let e=ft(),i,r=t+Tt;e.firstCreatePass?(i=SV(n,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];let o=i.factory||(i.factory=To(i.type,!0)),a,s=Nn(Ue);try{let l=lf(!1),c=o();return lf(l),Gb(e,ue(),r,c),c}finally{Nn(s)}}function SV(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function yi(t,n,e){let i=t+Tt,r=ue(),o=$b(r,i);return EV(r,i)?PM(r,Lm(),n,o.transform,e,o):o.transform(e)}function EV(t,n){return t[ge].data[n].pure}function Zy(t,n){return Af(t,n)}var Jm=null;function FM(t){Jm!==null&&(t.defaultEncapsulation!==Jm.defaultEncapsulation||t.preserveWhitespaces!==Jm.preserveWhitespaces)||(Jm=t)}var LM=(()=>{class t{applicationErrorHandler=u(ti);appRef=u(un);taskService=u(ji);ngZone=u(O);zonelessEnabled=u(Bs);tracing=u(bi,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new xe;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(xc):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(u(Wm,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let e=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(e);return}this.switchToMicrotaskScheduler(),this.taskService.remove(e)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let e=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})})}notify(e){if(!this.zonelessEnabled&&e===5)return;switch(e){case 0:case 2:{this.appRef.dirtyFlags|=2;break}case 3:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?wS:uv;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(xc+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){this.applicationErrorHandler(i)}finally{this.taskService.remove(e),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function VM(){return[{provide:Oi,useExisting:LM},{provide:O,useClass:Cc},{provide:Bs,useValue:!0}]}var Xy=(()=>{class t{compileModuleSync(e){return new Uc(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),jM=new C("");function DV(){return typeof $localize<"u"&&$localize.locale||id}var Gf=new C("",{factory:()=>u(Gf,{optional:!0,skipSelf:!0})||DV()});function In(t,n){return uc(t,n?.equal)}function Te(t){return aw(t)}var BM=class t extends Error{_brand;constructor(n){super(n)}static IDLE=new t("IDLE");static LOADING=new t("LOADING")},MV=t=>t;function Wf(t,n){if(typeof t=="function"){let e=qg(t,MV,n?.equal);return zM(e,void 0,n?.set)}else{let e=qg(t.source,t.computation,t.equal);return zM(e,void 0,t.set)}}function zM(t,n,e){let i=t[Ot],r=t;if(e!==void 0){let o=a=>Yg(i,a);r.set=a=>e(a,o),r.update=a=>e(a(Te(t)),o)}else r.set=o=>Yg(i,o),r.update=o=>ow(i,o);return r.asReadonly=$m.bind(t),r}function YM(t,n){let e=Object.create(_E);e.value=t,e.transformFn=n?.transform;function i(){if(Rr(e),e.value===xf){let r=null;throw new D(-950,r)}return e.value}return i[Ot]=e,i}var Ui=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>Wc(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function i_(t){return LV(t)?t.default:t}function LV(t){return t&&typeof t=="object"&&"default"in t}function HM(t,n){return YM(t,n)}function VV(t){return YM(xf,t)}var Ha=(HM.required=VV,HM);function UM(t,n){return Vy(n)}function jV(t,n){return jy(n)}var ad=(UM.required=jV,UM);function $M(t,n){return Vy(n)}function BV(t,n){return jy(n)}var KM=($M.required=BV,$M);var QM=(()=>{class t{constructor(e){}static \u0275fac=function(i){return new(i||t)(K(un))};static \u0275mod=Y({type:t});static \u0275inj=W({})}return t})();var zV=1e4;var cee=zV-1e3;var We=(()=>{class t{static __NG_ELEMENT_ID__=HV}return t})();function HV(t){return UV(an(),ue(),(t&16)===16)}function UV(t,n,e){if(ur(t)&&!e){let i=pi(t.index,n);return new Bo(i,i)}else if(t.type&175){let i=n[Dn];return new Bo(i,n)}return null}var $V=(()=>{class t{zone=u(O);changeDetectionScheduler=u(Oi);applicationRef=u(un);applicationErrorHandler=u(ti);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.applicationRef._runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(e){this.applicationErrorHandler(e)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),GV=new C("",{factory:()=>!1});function WV({ngZoneFactory:t,scheduleInRootZone:n}){return t??=()=>new O(de(w({},XM()),{scheduleInRootZone:n})),[{provide:Bs,useValue:!1},{provide:O,useFactory:t},{provide:Ao,multi:!0,useFactory:()=>{let e=u($V,{optional:!0});return()=>e.initialize()}},{provide:Ao,multi:!0,useFactory:()=>{let e=u(qV);return()=>{e.initialize()}}},{provide:Wm,useValue:n??dv}]}function ZM(t){let n=t?.scheduleInRootZone,e=WV({ngZoneFactory:()=>{let i=XM(t);return i.scheduleInRootZone=n,i.shouldCoalesceEventChangeDetection&&ri("NgZone_CoalesceEvent"),new O(i)},scheduleInRootZone:n});return cr([{provide:GV,useValue:!0},e])}function XM(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var qV=(()=>{class t{subscription=new xe;initialized=!1;zone=u(O);pendingTasks=u(ji);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{O.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{O.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function YV(t,n,e){let i=new Uc(e);return Promise.resolve(i)}function GM(t){for(let n=t.length-1;n>=0;n--)if(t[n]!==void 0)return t[n]}var qf=new C(""),KV=new C("");function od(t){return!t.moduleRef}function QV(t){let n=od(t)?t.r3Injector:t.moduleRef.injector,e=n.get(O);return e.run(()=>{od(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(ti),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:i})}),od(t)){let o=()=>n.destroy(),a=t.platformInjector.get(qf);a.add(o),n.onDestroy(()=>{r.unsubscribe(),a.delete(o)})}else{let o=()=>t.moduleRef.destroy(),a=t.platformInjector.get(qf);a.add(o),t.moduleRef.onDestroy(()=>{Lc(t.allPlatformModules,t.moduleRef),r.unsubscribe(),a.delete(o)})}return XV(i,e,()=>{let o=n.get(ji),a=o.add(),s=n.get(Hy);return s.runInitializers(),s.donePromise.then(()=>{let l=n.get(Gf,id);if(wM(l||id),!n.get(KV,!0))return od(t)?n.get(un):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(od(t)){let d=n.get(un);return t.rootComponent!==void 0&&d.bootstrap(t.rootComponent),d}else return JM?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>{o.remove(a)})})})}var JM;function WM(){JM=ZV}function ZV(t,n){let e=t.injector.get(un);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>e.bootstrap(i));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new D(-403,!1);n.push(t)}function XV(t,n,e){try{let i=e();return Kr(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t(i)),i}}var eI=(()=>{class t{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(e){this._injector=e}bootstrapModuleFactory(e,i){let r=[VM(),...i?.applicationProviders??[],MS],o=pM(e.moduleType,this.injector,r);return WM(),QV({moduleRef:o,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,i=[]){let r=Yy({},i);return WM(),YV(this.injector,r,e).then(o=>this.bootstrapModuleFactory(o,r))}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());let e=this._injector.get(qf,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(i){return new(i||t)(K(ne))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();var r_=null;function JV(t){if(a_())throw new D(400,!1);xM(),r_=t;let n=t.get(eI);return nj(t),n}function o_(t,n,e=[]){let i=`Platform: ${n}`,r=new C(i);return(o=[])=>{let a=a_();if(!a){let s=[...e,...o,{provide:r,useValue:!0}];a=t?.(s)??JV(ej(s,i))}return tj(r)}}function ej(t=[],n){return ne.create({name:n,providers:[{provide:kc,useValue:"platform"},{provide:qf,useValue:new Set([()=>r_=null])},...t]})}function tj(t){let n=a_();if(!n)throw new D(-401,!1);return n}function a_(){return r_?.get(eI)??null}function nj(t){let n=t.get(Gm,null);Qt(t,()=>{n?.forEach(e=>e())})}function G(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Wn(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}var Jy=Symbol("NOT_SET"),tI=new Set,ij=de(w({},ys),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Jy,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase(Rr(d),d.value),d.signal[Ot]=d,d.registerCleanupFn=m=>(d.cleanup??=new Set).add(m),this.nodes[l]=d,this.hooks[l]=m=>d.phaseFn(m)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let n of this.onDestroyFns)n();super.destroy();for(let n of this.nodes)if(n)try{for(let e of n.cleanup??tI)e()}finally{Co(n)}}};function s_(t,n){let e=n?.injector??u(ne),i=e.get(Oi),r=e.get(Mf),o=e.get(bi,null,{optional:!0});r.impl??=e.get(Dy);let a=t;typeof a=="function"&&(a={mixedReadWrite:t});let s=e.get(js,null,{optional:!0}),l=new e_(r.impl,[a.earlyRead,a.write,a.mixedReadWrite,a.read],s?.view,i,e,o?.snapshot(null),void 0);return r.impl.register(l),l}var nI=o_(null,"core",[]);function Yf(t,n){let e=Hr(t),i=n.elementInjector||Rs(),o=new Va(e).create(i,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings);return n.onError&&(o.hostView._lView[Fs]=n.onError),o}function l_(t){let n=Hr(t);if(!n)return null;let e=new Va(n);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var iI=null;function oi(){return iI}function c_(t){iI??=t}var sd=class{},Zr=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:()=>u(rI),providedIn:"platform"})}return t})(),d_=new C(""),rI=(()=>{class t extends Zr{_location;_history;_doc=u(oe);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return oi().getBaseHref(this._doc)}onPopState(e){let i=oi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){let i=oi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,r){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function Kf(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function oI(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function $i(t){return t&&t[0]!=="?"?`?${t}`:t}var Gi=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:()=>u(Zf),providedIn:"root"})}return t})(),Qf=new C(""),Zf=(()=>{class t extends Gi{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??u(oe).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Kf(this._baseHref,e)}path(e=!1){let i=this._platformLocation.pathname+$i(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){let a=this.prepareExternalUrl(r+$i(o));this._platformLocation.pushState(e,i,a)}replaceState(e,i,r,o){let a=this.prepareExternalUrl(r+$i(o));this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||t)(K(Zr),K(Qf,8))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var br=(()=>{class t{_subject=new R;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=aj(oI(aI(i))),this._locationStrategy.onPopState(r=>{let o={url:this.path(!0),pop:!0,state:r.state,type:r.type};r.hasUAVisualTransition&&(o.hasUAVisualTransition=!0),this._subject.next(o)})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+$i(i))}normalize(e){return t.stripTrailingSlash(oj(this._basePath,aI(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+$i(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+$i(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i??void 0,complete:r??void 0})}static normalizeQueryParams=$i;static joinWithSlash=Kf;static stripTrailingSlash=oI;static \u0275fac=function(i){return new(i||t)(K(Gi))};static \u0275prov=re({token:t,factory:()=>rj(),providedIn:"root"})}return t})();function rj(){return new br(K(Gi))}function oj(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function aI(t){return t.replace(/\/index\.html$/,"")}function aj(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var m_=(()=>{class t extends Gi{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(e){let i=Kf(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let a=this.prepareExternalUrl(r+$i(o))||this._platformLocation.pathname;this._platformLocation.pushState(e,i,a)}replaceState(e,i,r,o){let a=this.prepareExternalUrl(r+$i(o))||this._platformLocation.pathname;this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||t)(K(Zr),K(Qf,8))};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})();var u_=/\s+/,sI=[],ld=(()=>{class t{_ngEl;_renderer;initialClasses=sI;rawClass;stateMap=new Map;constructor(e,i){this._ngEl=e,this._renderer=i}set klass(e){this.initialClasses=e!=null?e.trim().split(u_):sI}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(u_):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(u_).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||t)(Ue($),Ue(He))};static \u0275dir=B({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var f_=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=u(ne);constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(e,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||t)(Ue(Bt))};static \u0275dir=B({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[nt]})}return t})();var p_=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({})}return t})();function cd(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[r,o]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()!==n)continue;let a=o;try{a=decodeURIComponent(o)}catch(s){}return a.length>1&&a[0]==='"'&&a[a.length-1]==='"'&&(a=a.slice(1,-1)),a}return null}var lj=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),h_=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=K(lj),r},providedIn:"root"})}return t})();var b_="browser";function lI(t){return t===b_}var v_=(()=>{class t{static \u0275prov=re({token:t,providedIn:"root",factory:()=>new g_(u(oe),window)})}return t})(),g_=class{document;window;offset=()=>[0,0];constructor(n,e){this.document=n,this.window=e}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n,e){this.window.scrollTo(de(w({},e),{left:n[0],top:n[1]}))}scrollToAnchor(n,e){let i=dj(this.document,n);i&&(this.scrollToElement(i,e),i.focus({preventScroll:!0}))}setHistoryScrollRestoration(n){try{this.window.history.scrollRestoration=n}catch(e){console.warn(ui(2400,!1))}}scrollToElement(n,e){let i=n.getBoundingClientRect(),r=i.left+this.window.pageXOffset,o=i.top+this.window.pageYOffset,a=this.offset();this.window.scrollTo(de(w({},e),{left:r-a[0],top:o-a[1]}))}};function dj(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;for(;r;){let o=r.shadowRoot;if(o){let a=o.getElementById(n)||o.querySelector(`[name="${CSS.escape(n)}"]`);if(a)return a}r=i.nextNode()}}return null}var dd=class{_doc;constructor(n){this._doc=n}manager},Xf=(()=>{class t extends dd{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r,o){return e.addEventListener(i,r,o),()=>this.removeEventListener(e,i,r,o)}removeEventListener(e,i,r,o){return e.removeEventListener(i,r,o)}static \u0275fac=function(i){return new(i||t)(K(oe))};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})(),tp=new C(""),w_=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,i){this._zone=i,e.forEach(a=>{a.manager=this});let r=e.filter(a=>!(a instanceof Xf));this._plugins=r.slice().reverse();let o=e.find(a=>a instanceof Xf);o&&this._plugins.push(o)}addEventListener(e,i,r,o){return this._findPluginFor(i).addEventListener(e,i,r,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(o=>o.supports(e)),!i)throw new D(-5101,!1);return this._eventNameToPlugin.set(e,i),i}static \u0275fac=function(i){return new(i||t)(K(tp),K(O))};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})(),__="ng-app-id";function cI(t){for(let n of t)n.remove()}function dI(t,n){let e=n.createElement("style");return e.textContent=t,e}function uj(t,n,e,i){let r=t.head?.querySelectorAll(`style[${__}="${n}"],link[${__}="${n}"]`);if(!r||r.length===0)return!1;for(let o of r)o.removeAttribute(__),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]});return!0}function C_(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var S_=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,i,r,o={}){this.doc=e,this.appId=i,this.nonce=r,uj(e,i,this.inline,this.external)&&this.hosts.add(e.head)}addStyles(e,i){for(let r of e)this.addUsage(r,this.inline,dI);i?.forEach(r=>this.addUsage(r,this.external,C_))}removeStyles(e,i){for(let r of e)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,i,r){let o=i.get(e);o?o.usage++:i.set(e,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,r(e,this.doc)))})}removeUsage(e,i){let r=i.get(e);r&&(r.usage--,r.usage<=0&&(cI(r.elements),i.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])cI(e);this.hosts.clear()}addHost(e){if(!this.hosts.has(e)){this.hosts.add(e);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(e,dI(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(e,C_(i,this.doc)))}}removeHost(e){this.hosts.delete(e);for(let i of[...this.inline.values(),...this.external.values()]){let r=[];for(let o of i.elements)o.parentNode===e?o.remove():r.push(o);i.elements=r}}addElement(e,i){return this.nonce&&i.setAttribute("nonce",this.nonce),e.appendChild(i)}static \u0275fac=function(i){return new(i||t)(K(oe),K(Gr),K(jo,8),K(Oa))};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})(),x_={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},E_=/%COMP%/g;var mI="%COMP%",mj=`_nghost-${mI}`,fj=`_ngcontent-${mI}`,pj=!0,hj=new C("",{factory:()=>pj}),gj=new C("");function bj(t){return fj.replace(E_,t)}function vj(t){return mj.replace(E_,t)}function fI(t,n){return n.map(e=>e.replace(E_,t))}var fd=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;cssVarNamespace;constructor(e,i,r,o,a,s,l=null,c=null,d=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=a,this.ngZone=s,this.nonce=l,this.tracingService=c,this.cssVarNamespace=d??"",this.defaultRenderer=new ud(e,a,s,this.tracingService,this.cssVarNamespace)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;let r=this.getOrCreateRenderer(e,i);return r instanceof ep?r.applyToHost(e):r instanceof md&&r.applyStyles(),r}getOrCreateRenderer(e,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let a=this.doc,s=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,m=this.tracingService;switch(i.encapsulation){case Hi.Emulated:o=new ep(l,c,i,this.appId,d,a,s,m,this.cssVarNamespace);break;case Hi.ShadowDom:return new Jf(l,e,i,a,s,this.nonce,m,this.cssVarNamespace,c);case Hi.ExperimentalIsolatedShadowDom:return new Jf(l,e,i,a,s,this.nonce,m,this.cssVarNamespace);default:o=new md(l,c,i,d,a,s,m,this.cssVarNamespace);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(i){return new(i||t)(K(w_),K(Ba),K(Gr),K(hj),K(oe),K(O),K(jo),K(bi,8),K(gj,8))};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})(),ud=class{eventManager;doc;ngZone;tracingService;cssVarNamespace;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,i,r,o=""){this.eventManager=n,this.doc=e,this.ngZone=i,this.tracingService=r,this.cssVarNamespace=o}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(x_[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(uI(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){if(n){let r=uI(n)?n.content:n;if(i!=null&&i.parentNode!==r)throw new D(-5106,!1);r.insertBefore(e,i)}}removeChild(n,e){e.remove()}selectRootElement(n,e){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new D(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,r){if(r){e=r+":"+e;let o=x_[r];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let r=x_[i];r?n.removeAttributeNS(r,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,r){let o=e.startsWith("--");o&&(e=e.replace("%NS%",this.cssVarNamespace)),o||r&(pr.DashCase|pr.Important)?n.style.setProperty(e,i,r&pr.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){let r=e.startsWith("--");r&&(e=e.replace("%NS%",this.cssVarNamespace)),r||i&pr.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n!=null&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i,r){if(typeof n=="string"&&(n=oi().getGlobalEventTarget(this.doc,n),!n))throw new D(-5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,r)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===!1&&e.preventDefault()}}};function uI(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Jf=class extends ud{hostEl;sharedStylesHost;shadowRoot;constructor(n,e,i,r,o,a,s,l,c){super(n,r,o,s,l),this.hostEl=e,this.sharedStylesHost=c,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let d=i.styles;d=fI(i.id,d).map(p=>p.replace(/%NS%/g,l));for(let p of d){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=p,this.shadowRoot.appendChild(f)}let m=i.getExternalStyles?.();if(m)for(let p of m){let f=C_(p,r);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},md=class extends ud{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,i,r,o,a,s,l,c){super(n,o,a,s,l),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let d=i.styles,m=c?fI(c,d):d;this.styles=m.map(p=>p.replace(/%NS%/g,l)),this.styleUrls=i.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Sy.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ep=class extends md{contentAttr;hostAttr;constructor(n,e,i,r,o,a,s,l,c){let d=r+"-"+i.id;super(n,e,i,o,a,s,l,c,d),this.contentAttr=bj(d),this.hostAttr=vj(d)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}};var np=class t extends sd{supportsDOMEvents=!0;static makeCurrent(){c_(new t)}onAndCancel(n,e,i,r){return n.addEventListener(e,i,r),()=>{n.removeEventListener(e,i,r)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=yj();return e==null?null:_j(e)}resetBaseElement(){pd=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return cd(document.cookie,n)}},pd=null;function yj(){return pd=pd||document.head.querySelector("base"),pd?pd.getAttribute("href"):null}function _j(t){return new URL(t,document.baseURI).pathname}var ip=class{addToWindow(n){En.getAngularTestability=(i,r=!0)=>{let o=n.findTestabilityInTree(i,r);if(o==null)throw new D(5103,!1);return o},En.getAllAngularTestabilities=()=>n.getAllTestabilities(),En.getAllAngularRootElements=()=>n.getAllRootElements();let e=i=>{let r=En.getAllAngularTestabilities(),o=r.length,a=function(){o--,o==0&&i()};r.forEach(s=>{s.whenStable(a)})};En.frameworkStabilizers||(En.frameworkStabilizers=[]),En.frameworkStabilizers.push(e)}findTestabilityInTree(n,e,i){if(e==null)return null;let r=n.getTestability(e);return r??(i?oi().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},pI=["alt","control","meta","shift"],xj={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Cj={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},hI=(()=>{class t extends dd{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,r,o){let a=t.parseEventName(i),s=t.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>oi().onAndCancel(e,a.domEventName,s,o))}static parseEventName(e){let i=e.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(i.pop()),a="",s=i.indexOf("code");if(s>-1&&(i.splice(s,1),a="code."),pI.forEach(c=>{let d=i.indexOf(c);d>-1&&(i.splice(d,1),a+=c+".")}),a+=o,i.length!=0||o.length===0)return null;let l={};return l.domEventName=r,l.fullKey=a,l}static matchEventFullKeyCode(e,i){let r=xj[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),pI.forEach(a=>{if(a!==r){let s=Cj[a];s(e)&&(o+=a+".")}}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(i){return new(i||t)(K(oe))};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})();function wj(){np.makeCurrent()}function Sj(){return new Ri}function Ej(){return dy(document),document}var Dj=[{provide:Oa,useValue:b_},{provide:Gm,useValue:wj,multi:!0},{provide:oe,useFactory:Ej}],D_=o_(nI,"browser",Dj);var Mj=[{provide:nl,useClass:ip},{provide:Lf,useClass:ed,deps:[O,td,nl]},{provide:ed,useClass:ed,deps:[O,td,nl]}],Ij=[{provide:kc,useValue:"root"},{provide:Ri,useFactory:Sj},{provide:tp,useClass:Xf,multi:!0},{provide:tp,useClass:hI,multi:!0},fd,{provide:Ba,useClass:S_},{provide:S_,useExisting:Ba},w_,{provide:Vt,useExisting:fd},[]],hd=(()=>{class t{constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({providers:[...Ij,...Mj],imports:[p_,QM]})}return t})();var _r=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(` +`).forEach(e=>{let i=e.indexOf(":");if(i>0){let r=e.slice(0,i),o=e.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.addHeaderEntry(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init();for(let[e,i]of n.headers.entries())this.headers.set(e,i),this.normalizedNames.set(e,n.normalizedNames.get(e))}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,e);let r=n.op==="a"?(this.headers.get(e)||[]).slice():[];r.push(...i),this.headers.set(e,r);break;case"d":let o=n.value;if(o===void 0)this.headers.delete(e),this.normalizedNames.delete(e);else{let a=Array.isArray(o)?o:[o],s=this.headers.get(e);if(!s)return;s=s.filter(l=>a.indexOf(l)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(n,e){let i=n.toLowerCase();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(e):this.headers.set(i,[e])}setHeaderEntries(n,e){let i=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var op=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}},ap=class{encodeKey(n){return gI(n)}encodeValue(n){return gI(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function kj(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[a,s]=o==-1?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=e.get(a)||[];l.push(s),e.set(a,l)}),e}var Tj=/[&+#]/g;function gI(t){return encodeURI(t).replace(Tj,encodeURIComponent)}function rp(t){return`${t}`}var Xr=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new ap,n.fromString){if(n.fromObject)throw new D(2805,!1);this.map=kj(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let i=n.fromObject[e],r=Array.isArray(i)?i.map(rp):[rp(i)];this.map.set(e,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(i=>{let r=n[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[n,e]of this.cloneFrom.map.entries())this.map.set(n,e);this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=n.op==="a"?(this.map.get(n.param)||[]).slice():[];e.push(rp(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let i=(this.map.get(n.param)||[]).slice(),r=i.indexOf(rp(n.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null}}};function Nj(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function bI(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function vI(t){return typeof Blob<"u"&&t instanceof Blob}function yI(t){return typeof FormData<"u"&&t instanceof FormData}function Aj(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var gd="Content-Type",sp="Accept",wI="text/plain",SI="application/json",EI=`${SI}, ${wI}, */*`,ll=class t{url;body=null;headers;context;reportProgress=!1;reportUploadProgress=!1;reportDownloadProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,e,i,r){this.url=e,this.method=n.toUpperCase();let o;if(Nj(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o){if(this.reportProgress=!!o.reportProgress,this.reportUploadProgress=!!o.reportUploadProgress,this.reportDownloadProgress=!!o.reportDownloadProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new D(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer!==void 0&&(this.referrer=o.referrer),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache}if(this.headers??=new _r,this.context??=new op,!this.params)this.params=new Xr,this.urlWithParams=e;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=e;else{let s=e,l="",c=e.indexOf("#");c!==-1&&(l=e.substring(c),s=e.substring(0,c));let d=s.indexOf("?"),m=d===-1?"?":dJe.set(It,n.setHeaders[It]),ht)),n.setParams&&(Le=Object.keys(n.setParams).reduce((Je,It)=>Je.set(It,n.setParams[It]),Le)),new t(e,i,E,{params:Le,headers:ht,context:Pe,reportProgress:A,reportUploadProgress:ee,reportDownloadProgress:Re,responseType:r,withCredentials:L,transferCache:g,keepalive:o,cache:s,priority:a,timeout:_,mode:l,redirect:c,credentials:d,referrer:m,integrity:p,referrerPolicy:f})}},yr=(function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t})(yr||{}),cl=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,e=200,i="OK"){this.headers=n.headers||new _r,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},bd=class t extends cl{constructor(n={}){super(n)}type=yr.ResponseHeader;clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},dl=class t extends cl{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=yr.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},vr=class extends cl{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},DI=200,Rj=204;var Oj=/^\)\]\}',?\n/,Fne=1024*1024,MI=new C("",{factory:()=>null}),lp=(()=>{class t{fetchImpl=u(I_,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=u(O);destroyRef=u(Wt);maxResponseSize=u(MI);handle(e){return new fe(i=>{let r=new AbortController,o=!1,a={next:l=>{l.type===yr.Response&&(o=!0),i.next(l)},error:l=>{o=!0,i.error(l)},complete:()=>{o=!0,i.complete()}};this.doRequest(e,r.signal,a).then(k_,l=>a.error(new vr({error:l})));let s;return e.timeout&&(s=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{r.signal.aborted||r.abort(new DOMException("signal timed out","TimeoutError"))},e.timeout))),()=>{s!==void 0&&clearTimeout(s),!o&&!r.signal.aborted&&r.abort()}})}doRequest(e,i,r){return z(this,null,function*(){let o=this.createRequestInit(e),a;try{let E=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,w({signal:i},o)));Pj(E),r.next({type:yr.Sent}),a=yield E}catch(E){r.error(new vr({error:E,status:E.status??0,statusText:E.statusText,url:e.urlWithParams,headers:E.headers}));return}let s=new _r(a.headers),l=a.statusText,c=a.url||e.urlWithParams,d=a.status,m=null,p=e.reportProgress||e.reportDownloadProgress;if(p&&r.next(new bd({headers:s,status:d,statusText:l,url:c})),a.body){let E=a.headers.get(gd)??"",L=a.headers.get("content-length"),A=L!==null?Number(L):NaN;this.maxResponseSize!==null&&Number.isFinite(A)&&A>this.maxResponseSize&&(yield a.body.cancel(),_I(this.maxResponseSize));let ee=[],Re=a.body.getReader(),ht=0,Le,Pe,Je=typeof Zone<"u"&&Zone.current,It=!1;if(yield this.ngZone.runOutsideAngular(()=>z(this,null,function*(){for(;;){if(this.destroyRef.destroyed){yield Re.cancel(),It=!0;break}let{done:_e,value:k}=yield Re.read();if(_e)break;if(ee.push(k),ht+=k.length,this.maxResponseSize!==null&&ht>this.maxResponseSize&&(yield Re.cancel(),_I(this.maxResponseSize)),p){Pe=e.responseType==="text"?(Pe??"")+(Le??=xI(E)).decode(k,{stream:!0}):void 0;let Ve=()=>r.next({type:yr.DownloadProgress,total:Number.isFinite(A)?A:void 0,loaded:ht,partialText:Pe});Je?Je.run(Ve):Ve()}}})),It){r.complete();return}let me=this.concatChunks(ee,ht);try{m=this.parseBody(e,me,E,d)}catch(_e){r.error(new vr({error:_e,headers:new _r(a.headers),status:a.status,statusText:a.statusText,url:a.url||e.urlWithParams}));return}}d===0&&(d=m?DI:0);let f=d>=200&&d<300,g=a.redirected,_=a.type;f?(r.next(new dl({body:m,headers:s,status:d,statusText:l,url:c,redirected:g,responseType:_})),r.complete()):r.error(new vr({error:m,headers:s,status:d,statusText:l,url:c,redirected:g,responseType:_}))})}parseBody(e,i,r,o){switch(e.responseType){case"json":let a=new TextDecoder().decode(i).replace(Oj,"");if(a==="")return null;try{return JSON.parse(a)}catch(s){if(o<200||o>=300)return a;throw s}case"text":return xI(r).decode(i);case"blob":return new Blob([i],{type:r});case"arraybuffer":return i.buffer}}createRequestInit(e){if(e.reportUploadProgress)throw new D(2824,!1);let i={},r;if(r=e.credentials,e.withCredentials&&(r="include"),e.headers.forEach((o,a)=>i[o]=a.join(",")),e.headers.has(sp)||(i[sp]=EI),!e.headers.has(gd)){let o=e.detectContentTypeHeader();o!==null&&(i[gd]=o)}return{body:e.serializeBody(),method:e.method,headers:i,credentials:r,keepalive:e.keepalive,cache:e.cache,priority:e.priority,mode:e.mode,redirect:e.redirect,referrer:e.referrer,integrity:e.integrity,referrerPolicy:e.referrerPolicy}}concatChunks(e,i){let r=new Uint8Array(i),o=0;for(let a of e)r.set(a,o),o+=a.length;return r}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),I_=class{};function k_(){}function Pj(t){t.then(k_,k_)}function _I(t){throw new D(-2825,!1)}var Fj=/charset=\s*["']?([^;"'\s]+)["']?/i;function xI(t){let n=t.match(Fj);if(n!==null)try{return new TextDecoder(n[1])}catch(e){}return new TextDecoder}var Lj=new C("",{factory:()=>!0}),Vj="XSRF-TOKEN",II=new C("",{factory:()=>Vj}),jj="X-XSRF-TOKEN",kI=new C("",{factory:()=>jj}),Bj=(()=>{class t{cookieName=u(II);doc=u(oe);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=cd(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),TI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=K(Bj),r},providedIn:"root"})}return t})();function NI(t,n){if(!u(Lj)||t.method==="GET"||t.method==="HEAD")return n(t);try{let r=u(Zr).href,{origin:o}=new URL(r),{origin:a}=new URL(t.url,o);if(o!==a)return n(t)}catch(r){return n(t)}let e=u(TI).getToken(),i=u(kI);return e!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,e)})),n(t)}function AI(t,n){return n(t)}function zj(t,n){return(e,i)=>n.intercept(e,{handle:r=>t(r,i)})}function Hj(t,n,e){return(i,r)=>Qt(e,()=>n(i,o=>t(o,r)))}var RI=new C(""),N_=new C("",{factory:()=>[NI]}),OI=new C(""),A_=new C("",{factory:()=>!0});function Uj(){let t=null;return(n,e)=>{t===null&&(t=(u(RI,{optional:!0})??[]).reduceRight(zj,AI));let i=u(zs);if(u(A_)){let o=i.add();return t(n,e).pipe(ks(o))}else return t(n,e)}}var dp=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=K(lp),r},providedIn:"root"})}return t})();var cp=(()=>{class t{backend;injector;chain=null;pendingTasks=u(zs);contributeToStability=u(A_);constructor(e,i){this.backend=e,this.injector=i}handle(e){if(this.chain===null){let r=this.injector.get(up,null,{skipSelf:!0}),o=r!==null&&this.backend===r,a=this.injector.get(OI,[],o?{self:!0}:void 0),s=Array.from(new Set([...this.injector.get(N_),...a]));this.chain=s.reduceRight((l,c)=>Hj(l,c,this.injector),AI)}let i=this.chain;if(this.contributeToStability){let r=this.pendingTasks.add();return Te(()=>i(e,o=>this.backend.handle(o))).pipe(ks(r))}else return Te(()=>i(e,r=>this.backend.handle(r)))}static \u0275fac=function(i){return new(i||t)(K(dp),K(lt))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),up=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=K(cp),r},providedIn:"root"})}return t})();function M_(t,n){return w({body:n},t)}var ul=(()=>{class t{handler;constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof ll)o=e;else{let l;r.headers instanceof _r?l=r.headers:l=new _r(r.headers);let c;r.params&&(r.params instanceof Xr?c=r.params:c=new Xr({fromObject:r.params})),o=new ll(e,i,r.body!==void 0?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,reportUploadProgress:r.reportUploadProgress,reportDownloadProgress:r.reportDownloadProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,credentials:r.credentials,referrer:r.referrer,referrerPolicy:r.referrerPolicy,integrity:r.integrity,timeout:r.timeout})}let a=pe(o).pipe(Io(l=>this.handler.handle(l)));if(e instanceof ll||r.observe==="events")return a;let s=a.pipe(Me(l=>l instanceof dl));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return s.pipe(Ae(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new D(2806,!1);return l.body}));case"blob":return s.pipe(Ae(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new D(2807,!1);return l.body}));case"text":return s.pipe(Ae(l=>{if(l.body!==null&&typeof l.body!="string")throw new D(2808,!1);return l.body}));default:return s.pipe(Ae(l=>l.body))}case"response":return s;default:throw new D(2809,!1)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new Xr().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,M_(r,i))}post(e,i,r={}){return this.request("POST",e,M_(r,i))}put(e,i,r={}){return this.request("PUT",e,M_(r,i))}static \u0275fac=function(i){return new(i||t)(K(up))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var $j=/^\)\]\}',?\n/;var T_=(()=>{class t{xhrFactory;tracingService=u(bi,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method==="JSONP")throw new D(-2800,!1);let i=this.xhrFactory;return pe(null).pipe(St(()=>new fe(o=>{let a=i.build();if(a.open(e.method,e.urlWithParams),e.withCredentials&&(a.withCredentials=!0),e.headers.forEach((A,ee)=>a.setRequestHeader(A,ee.join(","))),e.headers.has(sp)||a.setRequestHeader(sp,EI),!e.headers.has(gd)){let A=e.detectContentTypeHeader();A!==null&&a.setRequestHeader(gd,A)}if(e.timeout&&(a.timeout=e.timeout),e.responseType){let A=e.responseType.toLowerCase();a.responseType=A!=="json"?A:"text"}let s=e.serializeBody(),l=null,c=()=>{if(l!==null)return l;let A=a.statusText||"OK",ee=new _r(a.getAllResponseHeaders()),Re=a.responseURL||e.url;return l=new bd({headers:ee,status:a.status,statusText:A,url:Re}),l},d=this.maybePropagateTrace(()=>{let{headers:A,status:ee,statusText:Re,url:ht}=c(),Le=null;ee!==Rj&&(Le=typeof a.response>"u"?a.responseText:a.response),ee===0&&(ee=Le?DI:0);let Pe=ee>=200&&ee<300;if(e.responseType==="json"&&typeof Le=="string"){let Je=Le;Le=Le.replace($j,"");try{Le=Le!==""?JSON.parse(Le):null}catch(It){Le=Je,Pe&&(Pe=!1,Le={error:It,text:Le})}}Pe?(o.next(new dl({body:Le,headers:A,status:ee,statusText:Re,url:ht||void 0})),o.complete()):o.error(new vr({error:Le,headers:A,status:ee,statusText:Re,url:ht||void 0}))}),m=this.maybePropagateTrace(A=>{let{url:ee}=c(),Re=new vr({error:A,status:a.status||0,statusText:a.statusText||"Unknown Error",url:ee||void 0});o.error(Re)}),p=m;e.timeout&&(p=this.maybePropagateTrace(A=>{let{url:ee}=c(),Re=new vr({error:new DOMException("Request timed out","TimeoutError"),status:a.status||0,statusText:a.statusText||"Request timeout",url:ee||void 0});o.error(Re)}));let f=!1,g=this.maybePropagateTrace(A=>{f||(o.next(c()),f=!0);let ee={type:yr.DownloadProgress,loaded:A.loaded};A.lengthComputable&&(ee.total=A.total),e.responseType==="text"&&a.responseText&&(ee.partialText=a.responseText),o.next(ee)}),_=this.maybePropagateTrace(A=>{let ee={type:yr.UploadProgress,loaded:A.loaded};A.lengthComputable&&(ee.total=A.total),o.next(ee)});a.addEventListener("load",d),a.addEventListener("error",m),a.addEventListener("timeout",p),a.addEventListener("abort",m);let E=e.reportProgress||e.reportUploadProgress,L=e.reportProgress||e.reportDownloadProgress;return L&&a.addEventListener("progress",g),E&&s!==null&&a.upload&&a.upload.addEventListener("progress",_),a.send(s),o.next({type:yr.Sent}),()=>{a.removeEventListener("error",m),a.removeEventListener("abort",m),a.removeEventListener("load",d),a.removeEventListener("timeout",p),L&&a.removeEventListener("progress",g),E&&s!==null&&a.upload&&a.upload.removeEventListener("progress",_),a.readyState!==a.DONE&&a.abort()}})))}static \u0275fac=function(i){return new(i||t)(K(h_))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),vd=(function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t[t.Xhr=7]="Xhr",t})(vd||{});function R_(t,n){return{\u0275kind:t,\u0275providers:n}}function O_(...t){let n=[ul,lp,cp,{provide:up,useExisting:cp},{provide:dp,useFactory:()=>u(lp)},{provide:N_,useValue:NI,multi:!0}];for(let e of t)n.push(...e.\u0275providers);return cr(n)}var CI=new C("");function P_(){return R_(vd.LegacyInterceptors,[{provide:CI,useFactory:Uj},{provide:N_,useExisting:CI,multi:!0}])}function F_({cookieName:t,headerName:n}){let e=[];return t!==void 0&&e.push({provide:II,useValue:t}),n!==void 0&&e.push({provide:kI,useValue:n}),R_(vd.CustomXsrfConfiguration,e)}function L_(){return R_(vd.Xhr,[T_,{provide:dp,useExisting:T_}])}var PI=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(i){return new(i||t)(K(oe))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var yd=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=K(Gj),r},providedIn:"root"})}return t})(),Gj=(()=>{class t extends yd{_doc=u(oe);sanitize(e,i){if(i==null)return null;switch(e){case ut.NONE:return i;case ut.HTML:return gr(i,"HTML")?An(i):Ef(this._doc,String(i)).toString();case ut.STYLE:return gr(i,"Style")?An(i):i;case ut.SCRIPT:if(gr(i,"Script"))return An(i);throw new D(5200,!1);case ut.URL:return gr(i,"URL")?An(i):qc(String(i));case ut.RESOURCE_URL:if(gr(i,"ResourceURL"))return An(i);throw new D(-5201,!1);default:throw new D(5202,!1)}}bypassSecurityTrustHtml(e){return fy(e)}bypassSecurityTrustStyle(e){return py(e)}bypassSecurityTrustScript(e){return hy(e)}bypassSecurityTrustUrl(e){return gy(e)}bypassSecurityTrustResourceUrl(e){return by(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();var V_;try{V_=typeof Intl<"u"&&Intl.v8BreakIterator}catch(t){V_=!1}var $e=(()=>{class t{_platformId=u(Oa);isBrowser=this._platformId?lI(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||V_)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function ml(t){return Array.isArray(t)?t:[t]}var LI=new Set,Ua,fl=(()=>{class t{_platform=u($e);_nonce=u(jo,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):qj}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&Wj(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function Wj(t,n){if(!LI.has(t))try{Ua||(Ua=document.createElement("style"),n&&Ua.setAttribute("nonce",n),Ua.setAttribute("type","text/css"),document.head.appendChild(Ua)),Ua.sheet&&(Ua.sheet.insertRule(`@media ${t.replace(/[{}]/g,"")} {body{ }}`,0),LI.add(t))}catch(e){console.error(e)}}function qj(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var j_=(()=>{class t{_mediaMatcher=u(fl);_zone=u(O);_queries=new Map;_destroySubject=new R;ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return VI(ml(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=VI(ml(e)).map(a=>this._registerQuery(a).observable),o=Ms(r);return o=Mo(o.pipe(Pt(1)),o.pipe(_a(1),Ai(0))),o.pipe(Ae(a=>{let s={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:c})=>{s.matches=s.matches||l,s.breakpoints[c]=l}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),o={observable:new fe(a=>{let s=l=>this._zone.run(()=>a.next(l));return i.addListener(s),()=>{i.removeListener(s)}}).pipe(vt(i),Ae(({matches:a})=>({query:e,matches:a})),Ye(this._destroySubject)),mql:i};return this._queries.set(e,o),o}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function VI(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var jI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({})}return t})();var Ie="primary",Nd=Symbol("RouteTitle"),G_=class{params;constructor(n){this.params=n||{}}has(n){return Object.hasOwn(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Ga(t){return new G_(t)}function B_(t,n,e){for(let i=0;it.length||e.pathMatch==="full"&&(n.hasChildren()||i.lengtht.length||e.pathMatch==="full"&&n.hasChildren()&&e.path!=="**")return null;let s={};return!B_(o,t.slice(0,o.length),s)||!B_(a,t.slice(t.length-a.length),s)?null:{consumed:t,posParams:s}}function bp(t){return new Promise((n,e)=>{t.pipe(Vr()).subscribe({next:i=>n(i),error:i=>e(i)})})}function Yj(t,n){if(t.length!==n.length)return!1;for(let e=0;ei[o]===r)}else return t===n}function Kj(t){return t.length>0?t[t.length-1]:null}function Ad(t){return hc(t)?t:Kr(t)?bt(Promise.resolve(t)):pe(t)}function KI(t){return hc(t)?bp(t):Promise.resolve(t)}var Qj={exact:XI,subset:JI},QI={exact:Zj,subset:Xj,ignored:()=>!0},ZI={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},vp={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function q_(t,n,e){let i=w(w({},vp),e||{});return Qj[i.paths](t.root,n.root,i.matrixParams)&&QI[i.queryParams](t.queryParams,n.queryParams)&&!(i.fragment==="exact"&&t.fragment!==n.fragment)}function Zj(t,n){return Cr(t,n)}function XI(t,n,e){if(!$a(t.segments,n.segments)||!pp(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let i in n.children)if(!t.children[i]||!XI(t.children[i],n.children[i],e))return!1;return!0}function Xj(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>YI(t[e],n[e]))}function JI(t,n,e){return ek(t,n,n.segments,e)}function ek(t,n,e,i){if(t.segments.length>e.length){let r=t.segments.slice(0,e.length);return!(!$a(r,e)||n.hasChildren()||!pp(r,e,i))}else if(t.segments.length===e.length){if(!$a(t.segments,e)||!pp(t.segments,e,i))return!1;for(let r in n.children)if(!t.children[r]||!JI(t.children[r],n.children[r],i))return!1;return!0}else{let r=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!$a(t.segments,r)||!pp(t.segments,r,i)||!t.children[Ie]?!1:ek(t.children[Ie],n,o,i)}}function pp(t,n,e){return n.every((i,r)=>QI[e](t[r].parameters,i.parameters))}var ai=class{root;queryParams;fragment;_queryParamMap;constructor(n=new ot([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap??=Ga(this.queryParams),this._queryParamMap}toString(){return nB.serialize(this)}},ot=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return hp(this)}},zo=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=Ga(this.parameters),this._parameterMap}toString(){return nk(this)}};function Jj(t,n){return $a(t,n)&&t.every((e,i)=>Cr(e.parameters,n[i].parameters))}function $a(t,n){return t.length!==n.length?!1:t.every((e,i)=>e.path===n[i].path)}function eB(t,n){let e=[];return Object.entries(t.children).forEach(([i,r])=>{i===Ie&&(e=e.concat(n(r,i)))}),Object.entries(t.children).forEach(([i,r])=>{i!==Ie&&(e=e.concat(n(r,i)))}),e}var Wo=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:()=>new Jr})}return t})(),Jr=class{parse(n){let e=new K_(n);return new ai(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${pl(n.root,!0)}`;tB(e)&&(e="/");let i=aB(n.queryParams),r=typeof n.fragment=="string"?`#${rB(n.fragment)}`:"";return`${e}${i}${r}`}},BI="http://fake";function tB(t){try{let n=new URL(t,BI);return n.origin!==BI||n.pathname.startsWith("//")}catch(n){return!0}}var nB=new Jr;function hp(t){return t.segments.map(n=>nk(n)).join("/")}function pl(t,n){if(!t.hasChildren())return hp(t);if(n){let e=t.children[Ie]?pl(t.children[Ie],!1):"",i=[];return Object.entries(t.children).forEach(([r,o])=>{r!==Ie&&i.push(`${r}:${pl(o,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}else{if(Object.keys(t.children).length===1&&t.children[Ie]!=null)return`${hp(t)}/${pl(t.children[Ie],!1)}`;let e=eB(t,(i,r)=>r===Ie?[iB(pl(t.children[Ie],!1))]:[`${r}:${pl(i,!1)}`]);return`${hp(t)}/(${e.join("//")})`}}function iB(t){return t.replace(ik,n=>n.replace(/:/g,"%3A"))}function tk(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function mp(t){return tk(t).replace(/%3B/gi,";")}function rB(t){return encodeURI(t)}function Y_(t){return tk(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function gp(t){return decodeURIComponent(t)}function zI(t){return gp(t.replace(/\+/g,"%20"))}function nk(t){return`${Y_(t.path)}${oB(t.parameters)}`}function oB(t){return Object.entries(t).map(([n,e])=>`;${Y_(n)}=${Y_(e)}`).join("")}function aB(t){let n=Object.entries(t).map(([e,i])=>Array.isArray(i)?i.map(r=>`${mp(e)}=${mp(r)}`).join("&"):`${mp(e)}=${mp(i)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var z_=1073741824;function yp(t,n,e){Number(n)>=32&&!Object.hasOwn(t,z_)&&(t[z_]=e,delete t[z_]),t[n]=e}var ik=/^[^\/()?;#]+/;function H_(t){let n=t.match(ik);return n?n[0]:""}var sB=/^[^\/()?;=#]+/;function lB(t){let n=t.match(sB);return n?n[0]:""}var cB=/^[^=?&#]+/;function dB(t){let n=t.match(cB);return n?n[0]:""}var uB=/^[^&#]+/;function mB(t){let n=t.match(uB);return n?n[0]:""}var K_=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new ot([],{}):new ot([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(n=0){if(n>50)throw new D(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0,n));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1,n)),(e.length>0||Object.keys(i).length>0)&&(r[Ie]=new ot(e,i)),r}parseSegment(){let n=H_(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new D(4009,!1);return this.capture(n),new zo(gp(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=lB(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let r=H_(this.remaining);r&&(i=r,this.capture(i))}yp(n,gp(e),gp(i))}parseQueryParam(n){let e=dB(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let a=mB(this.remaining);a&&(i=a,this.capture(i))}let r=zI(e),o=zI(i);if(Object.hasOwn(n,r)){let a=n[r];Array.isArray(a)||(a=[a],n[r]=a),a.push(o)}else n[r]=o}parseParens(n,e){let i=Object.create(null);for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=H_(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new D(4010,!1);let a;r.indexOf(":")>-1?(a=r.slice(0,r.indexOf(":")),this.capture(a),this.capture(":")):n&&(a=Ie);let s=this.parseChildren(e+1),l=Object.keys(s).length===1&&s[Ie]?s[Ie]:new ot([],s);yp(i,a??Ie,l),this.consumeOptional("//")}return i}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new D(4011,!1)}};function rk(t){return t.segments.length>0?new ot([],{[Ie]:t}):t}function ok(t){let n=Object.create(null);for(let[i,r]of Object.entries(t.children)){let o=ok(r);if(i===Ie&&o.segments.length===0&&o.hasChildren())for(let[a,s]of Object.entries(o.children))yp(n,a,s);else(o.segments.length>0||o.hasChildren())&&yp(n,i,o)}let e=new ot(t.segments,n);return fB(e)}function fB(t){if(t.numberOfChildren===1&&t.children[Ie]){let n=t.children[Ie];return new ot(t.segments.concat(n.segments),n.children)}return t}function Ho(t){return t instanceof ai}function ak(t,n,e=null,i=null,r=new Jr){let o=sk(t);return lk(o,n,e,i,r)}function sk(t){let n;function e(o){let a={};for(let l of o.children){let c=e(l);a[l.outlet]=c}let s=new ot(o.url,a);return o===t&&(n=s),s}let i=e(t.root),r=rk(i);return n??r}function lk(t,n,e,i,r){let o=t;for(;o.parent;)o=o.parent;if(n.length===0)return U_(o,o,o,e,i,r);let a=pB(n);if(a.toRoot())return U_(o,o,new ot([],{}),e,i,r);let s=hB(a,o,t),l=s.processChildren?xd(s.segmentGroup,s.index,a.commands):dk(s.segmentGroup,s.index,a.commands);return U_(o,s.segmentGroup,l,e,i,r)}function _p(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Sd(t){return typeof t=="object"&&t!=null&&t.outlets}function HI(t,n,e){t||="\u0275";let i=new ai;return i.queryParams={[t]:n},e.parse(e.serialize(i)).queryParams[t]}function U_(t,n,e,i,r,o){let a={};for(let[c,d]of Object.entries(i??{}))d!=null&&(a[c]=Array.isArray(d)?d.map(m=>HI(c,m,o)):HI(c,d,o));let s;t===n?s=e:s=ck(t,n,e);let l=rk(ok(s));return new ai(l,a,r)}function ck(t,n,e){let i=Object.create(null);return Object.entries(t.children).forEach(([r,o])=>{o===n?i[r]=e:i[r]=ck(o,n,e)}),new ot(t.segments,i)}var xp=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&_p(i[0]))throw new D(4003,!1);let r=i.find(Sd);if(r&&r!==Kj(i))throw new D(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function pB(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new xp(!0,0,t);let n=0,e=!1,i=t.reduce((r,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let s={};return Object.entries(o.outlets).forEach(([l,c])=>{s[l]=typeof c=="string"?c.split("/"):c}),[...r,{outlets:s}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:a===0?(o.split("/").forEach((s,l)=>{l==0&&s==="."||(l==0&&s===""?e=!0:s===".."?n++:s!=""&&r.push(s))}),r):[...r,o]},[]);return new xp(e,n,i)}var gl=class{segmentGroup;processChildren;index;constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}};function hB(t,n,e){if(t.isAbsolute)return new gl(n,!0,0);if(!e)return new gl(n,!1,NaN);if(e.parent===null)return new gl(e,!0,0);let i=_p(t.commands[0])?0:1,r=e.segments.length-1+i;return gB(e,r,t.numberOfDoubleDots)}function gB(t,n,e){let i=t,r=n,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new D(4005,!1);r=i.segments.length}return new gl(i,!1,r-o)}function bB(t){return Sd(t[0])?t[0].outlets:{[Ie]:t}}function dk(t,n,e){if(t??=new ot([],{}),t.segments.length===0&&t.hasChildren())return xd(t,n,e);let i=vB(t,n,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndexo!==Ie)&&t.children[Ie]&&t.numberOfChildren===1&&t.children[Ie].segments.length===0){let o=xd(t.children[Ie],n,e);return new ot(t.segments,o.children)}return Object.entries(i).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(r[o]=dk(t.children[o],n,a))}),Object.entries(t.children).forEach(([o,a])=>{i[o]===void 0&&(r[o]=a)}),new ot(t.segments,r)}}function vB(t,n,e){let i=0,r=n,o={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return o;let a=t.segments[r],s=e[i];if(Sd(s))break;let l=`${s}`,c=i0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!$I(l,c,a))return o;i+=2}else{if(!$I(l,{},a))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}function Q_(t,n,e){let i=t.segments.slice(0,n),r=0;for(;r{typeof i=="string"&&(i=[i]),i!==null&&(n[e]=Q_(new ot([],{}),0,i))}),n}function UI(t){let n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n}function $I(t,n,e){return t==e.path&&Cr(n,e.parameters)}var Cp=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new Uo(this.rootInjector)}resetChildren(){this.children=new Uo(this.rootInjector)}},Uo=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,i){let r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new Cp(this.rootInjector),this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(i){return new(i||t)(K(lt))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),wp=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=Z_(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){let e=Z_(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=X_(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return X_(n,this._root).map(e=>e.value)}};function Z_(t,n){if(t===n.value)return n;for(let e of n.children){let i=Z_(t,e);if(i)return i}return null}function X_(t,n){if(t===n.value)return[n];for(let e of n.children){let i=X_(t,e);if(i.length)return i.unshift(n),i}return[]}var Pn=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function hl(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Ed=class extends wp{snapshot;constructor(n,e){super(n),this.snapshot=e,lx(this,n)}toString(){return this.snapshot.toString()}};function uk(t,n){let e=_B(t,n),i=new Kt([new zo("",{})]),r=new Kt({}),o=new Kt({}),a=new Kt({}),s=new Kt(""),l=new Wi(i,r,a,s,o,Ie,t,e.root);return l.snapshot=e.root,new Ed(new Pn(l,[]),e)}function _B(t,n){let e={},i={},r={},a=new yl([],e,r,"",i,Ie,t,null,{},n);return new Dd("",new Pn(a,[]))}var Wi=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;resources;_localInjector;pending;paramsSignal;queryParamsSignal;paramMapSignal;queryParamMapSignal;fragmentSignal;dataSignal;constructor(n,e,i,r,o,a,s,l){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(Ae(c=>c[Nd]))??pe(void 0),this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(Ae(n=>Ga(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Ae(n=>Ga(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}_setPending(n){this._futureSnapshot=n,this.pending?.set(!0)}},xB="always";function sx(t,n,e){let i,{routeConfig:r}=t;return n!==null&&(e==="always"||r?.path===""||!n.component&&!n.routeConfig?.loadComponent)?i={params:Object.keys(t.params).length===0?n.params:Object.freeze(w(w({},n.params),t.params)),data:Object.freeze(w(w({},n.data),t.data)),resolve:w(w(w(w({},t.data),n.data),r?.data),t._resolvedData)}:i={params:Object.freeze(w({},t.params)),data:Object.freeze(w({},t.data)),resolve:w(w({},t.data),t._resolvedData??{})},r&&fk(r)&&(i.resolve[Nd]=r.title),i}var yl=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;resources;get title(){return this.data?.[Nd]}constructor(n,e,i,r,o,a,s,l,c,d){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=l,this._resolve=c,this._environmentInjector=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Ga(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ga(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(i=>i.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},Dd=class extends wp{url;constructor(n,e){super(e),this.url=n,lx(this,e)}toString(){return mk(this._root)}};function lx(t,n){n.value._routerState=t,n.children.forEach(e=>lx(t,e))}function mk(t){let n=t.children.length>0?` { ${t.children.map(mk).join(", ")} } `:"";return`${t.value}${n}`}function $_(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Cr(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),Cr(n.params,e.params)||t.paramsSubject.next(e.params),Yj(n.url,e.url)||t.urlSubject.next(e.url),Cr(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function J_(t,n){let e=Cr(t.params,n.params)&&Jj(t.url,n.url),i=!t.parent!=!n.parent;return e&&!i&&(!t.parent||J_(t.parent,n.parent))}function fk(t){return typeof t.title=="string"||t.title===null}var pk=new C(""),Rd=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=Ie;activateEvents=new H;deactivateEvents=new H;attachEvents=new H;detachEvents=new H;routerOutletData=Ha();parentContexts=u(Uo);location=u(Bt);changeDetector=u(We);inputBinder=u(Od,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new D(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new D(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new D(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this,this.location.injector),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.inputBinder?.unsubscribeFromRouteData(this),this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new D(4013,!1);this._activatedRoute=e;let r=this.location,a=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,l=new ex(e,s,r.injector,this.routerOutletData);this.activated=r.createComponent(a,{index:r.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this,this.location.injector),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[nt]})}return t})(),ex=class{route;childContexts;parent;outletData;constructor(n,e,i,r){this.route=n,this.childContexts=e,this.parent=i,this.outletData=r}get(n,e){return n===Wi?this.route:n===Uo?this.childContexts:n===pk?this.outletData:this.parent.get(n,e)}},Od=new C(""),hk=(()=>{class t{options;feature;outletDataSubscriptions=new Map;outletSeenKeys=new Map;outletEffects=new Map;constructor(e,i=null){this.options=e,this.feature=i,this.options.queryParams??=!0}bindActivatedRouteToOutletComponent(e,i){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e,i)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e),this.outletSeenKeys.delete(e),this.outletEffects.get(e)?.forEach(i=>i.destroy()),this.outletEffects.delete(e)}subscribeToRouteData(e,i){let{activatedRoute:r}=e,o=[],a=[];if(this.feature?.createResourceOutletBindingEffects&&e.activatedComponentRef){let{handledKeys:l,createdEffects:c}=this.feature.createResourceOutletBindingEffects(e.activatedComponentRef,r);o.push(...c),a=l}o.length>0&&this.outletEffects.set(e,o);let s=Ms([this.options.queryParams?r.queryParams:pe({}),r.params,r.data]).pipe(St(([l,c,d],m)=>(d=w(w(w(w({},l),c),d),r.resources),m===0?pe(d):Promise.resolve(d)))).subscribe(l=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(e);return}let c=l_(r.component);if(!c){this.unsubscribeFromRouteData(e);return}let d=this.outletSeenKeys.get(e);d||(d=new Set,this.outletSeenKeys.set(e,d));for(let p of Object.keys(l))d.add(p);let m=this.options.unmatchedInputBehavior??"alwaysUndefined";for(let{templateName:p}of c.inputs){if(a.includes(p))continue;let f=l[p];(f!==void 0||m==="alwaysUndefined"||d.has(p))&&e.activatedComponentRef.setInput(p,f)}});this.outletDataSubscriptions.set(e,s)}static \u0275fac=function(i){za()};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})(),cx=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=F({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(i,r){i&1&&q(0,"router-outlet")},dependencies:[Rd],encapsulation:2,changeDetection:1})}return t})();function dx(t){let n=t.children&&t.children.map(dx),e=n?de(w({},t),{children:n}):w({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==Ie&&(e.component=cx),e}var bl="imperative",cn=(function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t})(cn||{}),si=class{id;url;constructor(n,e){this.id=n,this.url=e}},$o=class extends si{type=cn.NavigationStart;navigationTrigger;restoredState;constructor(n,e,i="imperative",r=null){super(n,e),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},xi=class extends si{urlAfterRedirects;type=cn.NavigationEnd;constructor(n,e,i){super(n,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},bn=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(bn||{}),_l=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(_l||{}),_i=class extends si{reason;code;type=cn.NavigationCancel;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function gk(t){return t instanceof _i&&(t.code===bn.Redirect||t.code===bn.SupersededByNewNavigation)}var Sr=class extends si{reason;code;type=cn.NavigationSkipped;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}},Wa=class extends si{error;target;type=cn.NavigationError;constructor(n,e,i,r){super(n,e),this.error=i,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Md=class extends si{urlAfterRedirects;state;type=cn.RoutesRecognized;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Sp=class extends si{urlAfterRedirects;state;type=cn.GuardsCheckStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ep=class extends si{urlAfterRedirects;state;shouldActivate;type=cn.GuardsCheckEnd;constructor(n,e,i,r,o){super(n,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Dp=class extends si{urlAfterRedirects;state;type=cn.ResolveStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Mp=class extends si{urlAfterRedirects;state;type=cn.ResolveEnd;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ip=class{route;type=cn.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},kp=class{route;type=cn.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Tp=class{snapshot;type=cn.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Np=class{snapshot;type=cn.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ap=class{snapshot;type=cn.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Rp=class{snapshot;type=cn.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},xl=class{routerEvent;position;anchor;scrollBehavior;type=cn.Scroll;constructor(n,e,i,r){this.routerEvent=n,this.position=e,this.anchor=i,this.scrollBehavior=r}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},Cl=class{},Id=class{},wl=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function CB(t){return!(t instanceof Cl)&&!(t instanceof wl)&&!(t instanceof Id)}function wB(t,n,e){let i=new Set,r=kd(t,n._root,e?e._root:void 0,i);return{newlyCreatedRoutes:i,state:new Ed(r,n)}}function kd(t,n,e,i){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let r=e.value;r._setPending(n.value);let o=SB(t,n,e,i);return new Pn(r,o)}else{if(t.shouldAttach(n.value)){let a=t.retrieve(n.value);if(a!==null){let s=a.route;return s.value._setPending(n.value),s.children=n.children.map(l=>kd(t,l,void 0,i)),s}}let r=EB(n.value);r._setPending(n.value),i.add(r);let o=n.children.map(a=>kd(t,a,void 0,i));return new Pn(r,o)}}function SB(t,n,e,i){return n.children.map(r=>{for(let o of e.children)if(t.shouldReuseRoute(r.value,o.value.snapshot))return kd(t,r,o,i);return kd(t,r,void 0,i)})}function EB(t){return new Wi(new Kt(t.url),new Kt(t.params),new Kt(t.queryParams),new Kt(t.fragment),new Kt(t.data),t.outlet,t.component,t)}var Go=class t extends Error{redirectTo;navigationBehaviorOptions;constructor(n,e){super(),this.redirectTo=n,this.navigationBehaviorOptions=e,Object.setPrototypeOf(this,t.prototype)}},bk="ngNavigationCancelingError";function Cd(t,n){let{redirectTo:e,navigationBehaviorOptions:i}=Ho(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=vk(!1,bn.Redirect);return r.url=e,r.navigationBehaviorOptions=i,r}function vk(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[bk]=!0,e.cancellationCode=n,e}function DB(t){return yk(t)&&Ho(t.url)}function yk(t){return!!t&&t[bk]}var tx=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,i,r,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),$_(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){let r=hl(e);n.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,r[a],i),delete r[a]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if(r===o)if(r.component){let a=i.getContext(r.outlet);a&&this.deactivateChildRoutes(n,e,a.children)}else this.deactivateChildRoutes(n,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=hl(n);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);if(i&&i.outlet){let a=i.outlet.detach(),s=i.children.contexts;i.resetChildren(),this.routeReuseStrategy.store(n.value.snapshot,{componentRef:a,route:n,contexts:s})}}deactivateRouteAndOutlet(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=hl(n);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null),n.value._localInjector?.destroy()}activateChildRoutes(n,e,i){let r=hl(e);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new Rp(o.value.snapshot))}),n.children.length&&this.forwardEvent(new Np(n.value.snapshot))}activateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if($_(r),r===o)if(r.component){let a=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,a.children)}else this.activateChildRoutes(n,e,i);else if(r.component){let a=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),$_(s.route.value),this.activateChildRoutes(n,null,a.children)}else a.attachRef=null,a.route=r,a.outlet&&a.outlet.activateWith(r,a.injector),this.activateChildRoutes(n,null,a.children)}else this.activateChildRoutes(n,null,i)}},Op=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},vl=class{component;route;constructor(n,e){this.component=n,this.route=e}};function MB(t,n,e){let i=t._root,r=n?n._root:null;return _d(i,r,e,[i.value])}function IB(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function El(t,n){let e=Symbol(),i=n.get(t,e);return i===e?typeof t=="function"&&!Db(t)?t:n.get(t):i}function _d(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=hl(n);return t.children.forEach(a=>{kB(a,o[a.value.outlet],e,i.concat([a.value]),r),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>wd(s,e.getContext(a),e,r)),r}function kB(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,a=n?n.value:null,s=e?e.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let l=TB(a,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Op(i)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?_d(t,n,s?s.children:null,i,r):_d(t,n,e,i,r),l&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new vl(s.outlet.component,a))}else a&&wd(n,s,e,r),r.canActivateChecks.push(new Op(i)),o.component?_d(t,null,s?s.children:null,i,r):_d(t,null,e,i,r);return r}function TB(t,n,e){if(typeof e=="function")return Qt(n._environmentInjector,()=>e(t,n));switch(e){case"pathParamsChange":return!$a(t.url,n.url);case"pathParamsOrQueryParamsChange":return!$a(t.url,n.url)||!Cr(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!J_(t,n)||!Cr(t.queryParams,n.queryParams);default:return!J_(t,n)}}function wd(t,n,e,i){let r=hl(t),o=t.value;Object.entries(r).forEach(([a,s])=>{o.component?n?wd(s,n.children.getContext(a),n.children,i):wd(s,null,null,i):wd(s,e?e.getContext(a):null,e,i)}),o.component?n&&n.outlet&&n.outlet.isActivated?i.canDeactivateChecks.push(new vl(n.outlet.component,o)):i.canDeactivateChecks.push(new vl(null,o)):i.canDeactivateChecks.push(new vl(null,o))}function Pd(t){return typeof t=="function"}function NB(t){return typeof t=="boolean"}function AB(t){return t&&Pd(t.canLoad)}function RB(t){return t&&Pd(t.canActivate)}function OB(t){return t&&Pd(t.canActivateChild)}function PB(t){return t&&Pd(t.canDeactivate)}function FB(t){return t&&Pd(t.canMatch)}function _k(t){return t instanceof Fr||t?.name==="EmptyError"}var fp=Symbol("INITIAL_VALUE");function Sl(){return St(t=>Ms(t.map(n=>n.pipe(Pt(1),ya(e=>{if(e instanceof Go)return pe(e);throw e}),vt(fp)))).pipe(Ae(n=>{for(let e of n)if(e!==!0){if(e===fp)return fp;if(e===!1||LB(e))return e}return!0}),Me(n=>n!==fp),Pt(1)))}function LB(t){return Ho(t)||t instanceof Go}function xk(t){return new fe(n=>{if(t.aborted){n.next(),n.complete();return}let e=()=>{n.next(),n.complete()};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function Ck(t){return Ye(xk(t))}function VB(t){return nn(n=>{let{targetSnapshot:e,currentSnapshot:i,guards:{canActivateChecks:r,canDeactivateChecks:o}}=n;return o.length===0&&r.length===0?pe(de(w({},n),{guardsResult:!0})):jB(o,e,i).pipe(nn(a=>a&&NB(a)?BB(e,r,t):pe(a)),Ae(a=>de(w({},n),{guardsResult:a})))})}function jB(t,n,e){return bt(t).pipe(nn(i=>GB(i.component,i.route,e,n)),Vr(i=>i!==!0,!0))}function BB(t,n,e){return bt(n).pipe(Io(i=>Mo(HB(i.route.parent,e),zB(i.route,e),$B(t,i.path),UB(t,i.route))),Vr(i=>i!==!0,!0))}function zB(t,n){return t!==null&&n&&n(new Ap(t)),pe(!0)}function HB(t,n){return t!==null&&n&&n(new Tp(t)),pe(!0)}function UB(t,n){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return pe(!0);let i=e.map(r=>Ni(()=>{let o=n._environmentInjector,a=El(r,o),s=RB(a)?a.canActivate(n,t):Qt(o,()=>a(n,t));return Ad(s).pipe(Vr())}));return pe(i).pipe(Sl())}function $B(t,n){let e=n[n.length-1],r=n.slice(0,n.length-1).reverse().map(o=>IB(o)).filter(o=>o!==null).map(o=>Ni(()=>{let a=o.guards.map(s=>{let l=o.node._environmentInjector,c=El(s,l),d=OB(c)?c.canActivateChild(e,t):Qt(l,()=>c(e,t));return Ad(d).pipe(Vr())});return pe(a).pipe(Sl())}));return pe(r).pipe(Sl())}function GB(t,n,e,i){let r=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!r||r.length===0)return pe(!0);let o=r.map(a=>{let s=n._environmentInjector,l=El(a,s);return ux(()=>PB(l)?l.canDeactivate(t,n,e,i):Qt(s,()=>l(t,n,e,i))).pipe(Vr())});return pe(o).pipe(Sl())}function WB(t,n,e,i,r){let o=n.canLoad;if(o===void 0||o.length===0)return pe(!0);let a=o.map(s=>{let l=El(s,t),c=ux(()=>AB(l)?l.canLoad(n,e):Qt(t,()=>l(n,e)));return r?c.pipe(Ck(r)):c});return pe(a).pipe(Sl(),wk(i))}function ux(t){try{return Ad(t())}catch(n){return new fe(e=>e.error(n))}}function wk(t){return qu(wn(n=>{if(typeof n!="boolean")throw Cd(t,n)}),Ae(n=>n===!0))}function qB(t,n,e,i,r,o){let a=n.canMatch;if(!a||a.length===0)return pe(!0);let s=a.map(l=>{let c=El(l,t);return ux(()=>FB(c)?c.canMatch(n,e,r):Qt(t,()=>c(n,e,r))).pipe(Ck(o))});return pe(s).pipe(Sl(),wk(i))}var xr=class t extends Error{name="NoMatch";segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,t.prototype)}},Td=class t extends Error{urlTree;name="AbsoluteRedirect";constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,t.prototype)}};function YB(t){throw new D(4e3,!1)}function KB(t){throw vk(!1,bn.GuardRejected)}var nx=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){return z(this,null,function*(){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return i;if(r.numberOfChildren>1||!r.children[Ie])throw YB(`${n.redirectTo}`);r=r.children[Ie]}})}applyRedirectCommands(n,e,i,r,o){return z(this,null,function*(){let a=yield QB(e,r,o);if(a instanceof ai)throw new Td(a);let s=this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),n,i);if(a[0]==="/")throw new Td(s);return s})}applyRedirectCreateUrlTree(n,e,i,r){let o=this.createSegmentGroup(n,e.root,i,r);return new ai(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let i={};return Object.entries(n).forEach(([r,o])=>{if(typeof o=="string"&&o[0]===":"){let s=o.substring(1);i[r]=e[s]}else i[r]=o}),i}createSegmentGroup(n,e,i,r){let o=this.createSegments(n,e.segments,i,r),a=Object.create(null);return Object.entries(e.children).forEach(([s,l])=>{a[s]=this.createSegmentGroup(n,l,i,r)}),new ot(o,a)}createSegments(n,e,i,r){return e.map(o=>o.path[0]===":"?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,e,i){let r=i[e.path.substring(1)];if(!r)throw new D(4001,!1);return r}findOrReturn(n,e){let i=0;for(let r of e){if(r.path===n.path)return e.splice(i),r;i++}return n}};function QB(t,n,e){if(typeof t=="string")return Promise.resolve(t);let i=t;return bp(Ad(Qt(e,()=>i(n))))}function ZB(t,n){return t.providers&&!t._injector&&(t._injector=el(t.providers,n,`Route: ${t.path}`)),t._injector??n}function wr(t){return t.outlet||Ie}function XB(t,n){let e=t.filter(i=>wr(i)===n);return e.push(...t.filter(i=>wr(i)!==n)),e}var ix={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Sk(t){return{routeConfig:t.routeConfig,url:t.url,params:t.params,queryParams:t.queryParams,fragment:t.fragment,data:t.data,outlet:t.outlet,title:t.title,paramMap:t.paramMap,queryParamMap:t.queryParamMap}}function JB(t,n,e,i,r,o,a){let s=Ek(t,n,e);if(!s.matched)return pe(s);let l=Sk(o(s));return i=ZB(n,i),qB(i,n,e,r,l,a).pipe(Ae(c=>c===!0?s:w({},ix)))}function Ek(t,n,e){if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?w({},ix):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(n.matcher||qI)(e,t,n);if(!r)return w({},ix);let o={};Object.entries(r.posParams??{}).forEach(([s,l])=>{o[s]=l.path});let a=r.consumed.length>0?w(w({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:a,positionalParamSegments:r.posParams??{}}}function GI(t,n,e,i){return e.length>0&&nz(t,e,i)?{segmentGroup:new ot(n,tz(i,new ot(e,t.children))),slicedSegments:[]}:e.length===0&&iz(t,e,i)?{segmentGroup:new ot(t.segments,ez(t,e,i,t.children)),slicedSegments:e}:{segmentGroup:new ot(t.segments,t.children),slicedSegments:e}}function ez(t,n,e,i){let r={};for(let o of e)if(Fp(t,n,o)&&!i[wr(o)]){let a=new ot([],{});r[wr(o)]=a}return w(w({},i),r)}function tz(t,n){let e={};e[Ie]=n;for(let i of t)if(i.path===""&&wr(i)!==Ie){let r=new ot([],{});e[wr(i)]=r}return e}function nz(t,n,e){return e.some(i=>Fp(t,n,i)&&wr(i)!==Ie)}function iz(t,n,e){return e.some(i=>Fp(t,n,i))}function Fp(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function rz(t,n,e){return n.length===0&&!t.hasChildren()}var rx=class{};function oz(t,n,e,i,r,o,a,s){return z(this,null,function*(){return new ox(t,n,e,i,r,a,o,s).recognize()})}var az=31,ox=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;queryParams;constructor(n,e,i,r,o,a,s,l){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.abortSignal=l,this.applyRedirects=new nx(this.urlSerializer,this.urlTree),this.queryParams=Object.freeze(w({},this.urlTree.queryParams))}noMatchError(n){return new D(4002,`'${n.segmentGroup}'`)}recognize(){return z(this,null,function*(){let n=GI(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:i}=yield this.match(n),r=new Pn(i,e),o=new Dd("",r),a=ak(i,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),{state:o,tree:a}})}match(n){return z(this,null,function*(){let e=new yl([],Object.freeze({}),this.queryParams,this.urlTree.fragment,Object.freeze({}),Ie,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,n,Ie,e),rootSnapshot:e}}catch(i){if(i instanceof Td)return this.absoluteRedirectCount++,this.absoluteRedirectCount>az&&(this.allowRedirects=!1),this.urlTree=i.urlTree,this.queryParams=Object.freeze(w({},this.urlTree.queryParams)),this.match(i.urlTree.root);throw i instanceof xr?this.noMatchError(i):i}})}processSegmentGroup(n,e,i,r,o){return z(this,null,function*(){if(i.segments.length===0&&i.hasChildren())return this.processChildren(n,e,i,o);let a=yield this.processSegment(n,e,i,i.segments,r,!0,o);return a instanceof Pn?[a]:[]})}processChildren(n,e,i,r){return z(this,null,function*(){let o=[];for(let l of Object.keys(i.children))l==="primary"?o.unshift(l):o.push(l);let a=[];for(let l of o){let c=i.children[l],d=XB(e,l),m=yield this.processSegment(n,d,c,c.segments,l,!0,r);m instanceof Pn&&a.push(m)}let s=Dk(a);return sz(s),s})}processSegment(n,e,i,r,o,a,s){return z(this,null,function*(){for(let l of e)try{return yield this.processSegmentAgainstRoute(l._injector??n,e,l,i,r,o,a,s)}catch(c){if(c instanceof xr||_k(c))continue;throw c}if(rz(i,r))return new rx;throw new xr(i)})}processSegmentAgainstRoute(n,e,i,r,o,a,s,l){return z(this,null,function*(){if(wr(i)!==a&&(a===Ie||!Fp(r,o,i)||!i.children?.length&&!i.loadChildren||o.length===0&&!r.hasChildren()))throw new xr(r);if(i.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,r,i,o,a,l);if(this.allowRedirects&&s)return this.expandSegmentAgainstRouteUsingRedirect(n,r,e,i,o,a,l);throw new xr(r)})}expandSegmentAgainstRouteUsingRedirect(n,e,i,r,o,a,s){return z(this,null,function*(){let{matched:l,parameters:c,consumedSegments:d,positionalParamSegments:m,remainingSegments:p}=Ek(e,r,o);if(!l)throw new xr(e);let f=this.createSnapshot(n,r,o,c,s);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let g=yield this.applyRedirects.applyRedirectCommands(d,r.redirectTo,m,Sk(f),n),_=yield this.applyRedirects.lineralizeSegments(r,g);return this.processSegment(n,i,e,_.concat(p),a,!1,s)})}createSnapshot(n,e,i,r,o){let a=new yl(i,r,this.queryParams,this.urlTree.fragment,dz(e),wr(e),e.component??e._loadedComponent??null,e,uz(e),n),s=sx(a,o,this.paramsInheritanceStrategy);return a.params=s.params,a.data=s.data,a}matchSegmentAgainstRoute(n,e,i,r,o,a){return z(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let s=ee=>this.createSnapshot(n,i,ee.consumedSegments,ee.parameters,a),l=yield bp(JB(e,i,r,n,this.urlSerializer,s,this.abortSignal));if(i.path==="**"&&(e.children={}),!l?.matched)throw new xr(e);n=i._injector??n;let{routes:c}=yield this.getChildConfig(n,i,r),d=i._loadedInjector??n,{parameters:m,consumedSegments:p,remainingSegments:f}=l,g=this.createSnapshot(n,i,p,m,a),_=wr(i)===o,{segmentGroup:E,slicedSegments:L}=_?GI(e,p,f,c):{segmentGroup:e,slicedSegments:f};if(_&&L.length===0&&E.hasChildren()){let ee=yield this.processChildren(d,c,E,g);return new Pn(g,ee)}if(_&&c.length===0&&L.length===0)return new Pn(g,[]);let A=yield this.processSegment(d,c,E,L,_?Ie:o,!0,g);if(!_&&!(A instanceof Pn))throw new xr(e);return new Pn(g,A instanceof Pn?[A]:[])})}getChildConfig(n,e,i){return z(this,null,function*(){if(e.children)return{routes:e.children,injector:n};if(e.loadChildren){if(e._loadedRoutes!==void 0){let o=e._loadedNgModuleFactory;return o&&!e._loadedInjector&&(e._loadedInjector=o.create(n).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield bp(WB(n,e,i,this.urlSerializer,this.abortSignal))){let o=yield this.configLoader.loadChildren(n,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw KB(e)}return{routes:[],injector:n}})}};function sz(t){t.sort((n,e)=>n.value.outlet===Ie?-1:e.value.outlet===Ie?1:n.value.outlet.localeCompare(e.value.outlet))}function lz(t){let n=t.value.routeConfig;return n&&n.path===""}function Dk(t){let n=[],e=new Set;for(let r of t){if(!lz(r)){n.push(r);continue}let o=n.find(a=>r.value.routeConfig===a.value.routeConfig);o!==void 0?(o.children.push(...r.children),e.add(o)):n.push(r)}for(let r of e){let o=Dk(r.children);n.push(new Pn(r.value,o))}let i=n.filter(r=>!e.has(r));return cz(i),i}function cz(t){let n=Object.create(null);t.forEach(e=>{let i=n[e.value.outlet];if(i){let r=i.url.map(a=>a.toString()).join("/"),o=e.value.url.map(a=>a.toString()).join("/");throw new D(4006,!1)}n[e.value.outlet]=e.value})}function dz(t){return t.data||{}}function uz(t){return t.resolve||{}}function mz(t,n,e,i,r,o,a){return nn(s=>z(null,null,function*(){let{state:l,tree:c}=yield oz(t,n,e,i,s.extractedUrl,r,o,a);return de(w({},s),{targetSnapshot:l,urlAfterRedirects:c})}))}function fz(t){return nn(n=>{let{targetSnapshot:e,guards:{canActivateChecks:i}}=n;if(!i.length)return pe(n);let r=new Set(i.map(s=>s.route)),o=new Set;for(let s of r)if(!o.has(s))for(let l of Mk(s))o.add(l);let a=0;return bt(o).pipe(Io(s=>r.has(s)?pz(s,e,t):(s.data=sx(s,s.parent,t).resolve,pe(void 0))),wn(()=>a++),hm(1),nn(s=>a===o.size?pe(n):xt))})}function Mk(t){let n=t.children.map(e=>Mk(e)).flat();return[t,...n]}function pz(t,n,e){let i=t.routeConfig,r=t._resolve;return i?.title!==void 0&&!fk(i)&&(r[Nd]=i.title),Ni(()=>(t.data=sx(t,t.parent,e).resolve,hz(r,t,n).pipe(Ae(o=>(t._resolvedData=o,t.data=w(w({},t.data),o),null)))))}function hz(t,n,e){let i=W_(t);if(i.length===0)return pe({});let r={};return bt(i).pipe(nn(o=>gz(t[o],n,e).pipe(Vr(),wn(a=>{if(a instanceof Go)throw Cd(new Jr,a);r[o]=a}))),hm(1),Ae(()=>r),ya(o=>_k(o)?xt:ib(o)))}function gz(t,n,e){let i=n._environmentInjector,r=El(t,i),o=r.resolve?r.resolve(n,e):Qt(i,()=>r(n,e));return Ad(o)}var mx=new C("");function ax(t){return St(n=>{let e=t(n);return e?bt(e).pipe(Ae(()=>n)):pe(n)})}var fx=(()=>{class t{buildTitle(e){let i,r=e.root;for(;r!==void 0;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===Ie);return i}getResolvedTitleForRoute(e){return e.data[Nd]}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:()=>u(Ik)})}return t})(),Ik=(()=>{class t extends fx{title;constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}static \u0275fac=function(i){return new(i||t)(K(PI))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),qo=new C("",{factory:()=>({})}),Dl=new C(""),Lp=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=u(Xy);loadComponent(e,i){return z(this,null,function*(){if(this.componentLoaders.get(i))return this.componentLoaders.get(i);if(i._loadedComponent)return Promise.resolve(i._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(i);let r=z(this,null,function*(){try{let o=yield KI(Qt(e,()=>i.loadComponent())),a=yield Tk(i_(o));return this.onLoadEndListener&&this.onLoadEndListener(i),i._loadedComponent=a,a}finally{this.componentLoaders.delete(i)}});return this.componentLoaders.set(i,r),r})}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return Promise.resolve({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let r=z(this,null,function*(){try{let o=yield kk(i,this.compiler,e,this.onLoadEndListener);return i._loadedRoutes=o.routes,i._loadedInjector=o.injector,i._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(i)}});return this.childrenLoaders.set(i,r),r}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function kk(t,n,e,i){return z(this,null,function*(){let r=yield KI(Qt(e,()=>t.loadChildren())),o=yield Tk(i_(r)),a;o instanceof Rf||Array.isArray(o)?a=o:a=yield n.compileModuleAsync(o),i&&i(t);let s,l,c=!1,d;return Array.isArray(a)?(l=a,c=!0):(s=a.create(e).injector,d=a,l=s.get(Dl,[],{optional:!0,self:!0}).flat()),{routes:l.map(dx),injector:s,factory:d}})}function Tk(t){return z(this,null,function*(){return t})}var Vp=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:()=>u(bz)})}return t})(),bz=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),px=new C(""),hx=new C("");function Nk(t,n,e,i){let r=t.get(hx),o=t.get(oe);if(i){r.skipNextTransition=!1;return}if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(d=>setTimeout(d));let a,s=new Promise(d=>{a=d}),l=o.startViewTransition(()=>(a(),vz(t)));l.updateCallbackDone.catch(d=>{}),l.ready.catch(d=>{}),l.finished.catch(d=>{});let{onViewTransitionCreated:c}=r;return c&&Qt(t,()=>c({transition:l,from:n,to:e})),s}function vz(t){return new Promise(n=>{jt({read:()=>setTimeout(n)},{injector:t})})}var yz=()=>{},gx=new C(""),jp=(()=>{class t{currentNavigation=he(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=he(null);events=new R;transitionAbortWithErrorSubject=new R;configLoader=u(Lp);environmentInjector=u(lt);destroyRef=u(Wt);urlSerializer=u(Wo);rootContexts=u(Uo);location=u(br);inputBindingEnabled=u(Od,{optional:!0})!==null;titleStrategy=u(fx);options=u(qo,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||xB;urlHandlingStrategy=u(Vp);createViewTransition=u(px,{optional:!0});navigationErrorHandler=u(gx,{optional:!0});routerResourcesFeature=u(mx,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>pe(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=r=>this.events.next(new Ip(r)),i=r=>this.events.next(new kp(r));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;Te(()=>{this.transitions?.next(de(w({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:i,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(e){return this.transitions=new Kt(null),this.transitions.pipe(Me(i=>i!==null),St(i=>{let r=!0,o=!1,a=new AbortController,s=()=>!o&&this.currentTransition?.id===i.id;return pe(i).pipe(St(l=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",bn.SupersededByNewNavigation),xt;this.currentTransition=i;let c=this.lastSuccessfulNavigation();this.currentNavigation.set({id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl=="string"?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:c?de(w({},c),{previousNavigation:null}):null,abort:()=>a.abort(),routesRecognizeHandler:l.routesRecognizeHandler,beforeActivateHandler:l.beforeActivateHandler});let d=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),m=l.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!d&&m!=="reload")return this.events.next(new Sr(l.id,this.urlSerializer.serialize(l.rawUrl),"",_l.IgnoredSameUrlNavigation)),l.resolve(!1),xt;if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return pe(l).pipe(St(p=>(this.events.next(new $o(p.id,this.urlSerializer.serialize(p.extractedUrl),p.source,p.restoredState)),p.id!==this.navigationId?xt:Promise.resolve(p))),mz(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,a.signal),wn(p=>{i.targetSnapshot=p.targetSnapshot,i.urlAfterRedirects=p.urlAfterRedirects,this.currentNavigation.update(f=>(f.finalUrl=p.urlAfterRedirects,f)),this.events.next(new Id)}),St(p=>bt(i.routesRecognizeHandler.deferredHandle??pe(void 0)).pipe(Ae(()=>p))),wn(()=>{let p=new Md(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(p)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:p,extractedUrl:f,source:g,restoredState:_,extras:E}=l,L=new $o(p,this.urlSerializer.serialize(f),g,_);this.events.next(L);let A=uk(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=i=de(w({},l),{targetSnapshot:A,urlAfterRedirects:f,extras:de(w({},E),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(ee=>(ee.finalUrl=f,ee)),pe(i)}else return this.events.next(new Sr(l.id,this.urlSerializer.serialize(l.extractedUrl),"",_l.IgnoredByUrlHandlingStrategy)),l.resolve(!1),xt}),Ae(l=>{let c=new Sp(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);return this.events.next(c),this.currentTransition=i=de(w({},l),{guards:MB(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),i}),VB(l=>this.events.next(l)),St(l=>{if(i.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw Cd(this.urlSerializer,l.guardsResult);let c=new Ep(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);if(this.events.next(c),!s())return xt;if(!l.guardsResult)return this.cancelNavigationTransition(l,"",bn.GuardRejected),xt;if(l.guards.canActivateChecks.length===0)return pe(l);let d=new Dp(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);if(this.events.next(d),!s())return xt;let m=!1;return pe(l).pipe(fz(this.paramsInheritanceStrategy),wn({next:()=>{m=!0;let p=new Mp(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(p)},complete:()=>{m||this.cancelNavigationTransition(l,"",bn.NoDataFromResolver)}}))}),ax(l=>{let c=m=>{let p=[];if(m.routeConfig?._loadedComponent)m.component=m.routeConfig?._loadedComponent;else if(m.routeConfig?.loadComponent){let f=m._environmentInjector;p.push(this.configLoader.loadComponent(f,m.routeConfig).then(g=>{m.component=g}))}for(let f of m.children)p.push(...c(f));return p},d=c(l.targetSnapshot.root);return d.length===0?pe(l):bt(Promise.all(d).then(()=>l))}),St(l=>{let{newlyCreatedRoutes:c,state:d}=wB(e.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=i=l=de(w({},l),{targetRouterState:d,newlyCreatedRoutes:c}),this.currentNavigation.update(m=>(m.targetRouterState=d,m)),pe(l)}),this.routerResourcesFeature?.setupAndRunResources(a.signal)??(l=>l),ax(()=>this.afterPreactivation()),St(()=>{let{currentSnapshot:l,targetSnapshot:c}=i,d=this.createViewTransition?.(this.environmentInjector,l.root,c.root,i.hasUAVisualTransition);return d?bt(d).pipe(Ae(()=>i)):pe(i)}),Pt(1),St(l=>{r=!1,this.events.next(new Cl);let c=i.beforeActivateHandler.deferredHandle;return c?bt(c.then(()=>l)):pe(l)}),wn(l=>{new tx(e.routeReuseStrategy,i.targetRouterState,i.currentRouterState,c=>this.events.next(c),this.inputBindingEnabled).activate(this.rootContexts),l.newlyCreatedRoutes?.clear(),s()&&(Ak(l.targetRouterState),o=!0,this.currentNavigation.update(c=>(c.abort=yz,c)),this.lastSuccessfulNavigation.set(Te(this.currentNavigation)),this.events.next(new xi(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0))}),Ye(xk(a.signal).pipe(Me(()=>!o&&r),wn(()=>{this.cancelNavigationTransition(i,a.signal.reason+"",bn.Aborted)}))),wn({complete:()=>{o=!0}}),Ye(this.transitionAbortWithErrorSubject.pipe(wn(l=>{throw l}))),ks(()=>{a.abort(),o||this.cancelNavigationTransition(i,"",bn.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),ya(l=>{if(o=!0,WI(i),this.destroyed)return i.resolve(!1),xt;if(l instanceof Go&&(l=Cd(this.urlSerializer,l)),yk(l))this.events.next(new _i(i.id,this.urlSerializer.serialize(i.extractedUrl),l.message,l.cancellationCode)),DB(l)?this.events.next(new wl(l.url,l.navigationBehaviorOptions)):i.resolve(!1);else{let c=new Wa(i.id,this.urlSerializer.serialize(i.extractedUrl),l,i.targetSnapshot??void 0);try{let d=Qt(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(d instanceof Go){let{message:m,cancellationCode:p}=Cd(this.urlSerializer,d);this.events.next(new _i(i.id,this.urlSerializer.serialize(i.extractedUrl),m,p)),this.events.next(new wl(d.redirectTo,d.navigationBehaviorOptions))}else throw this.events.next(c),l}catch(d){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(d)}}return xt}))}))}cancelNavigationTransition(e,i,r){WI(e);let o=new _i(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=Te(this.currentNavigation),r=i?.targetBrowserUrl??i?.extractedUrl;return e.toString()!==r?.toString()&&!i?.extras.skipLocationChange}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function _z(t){return t!==bl}function WI(t){for(let n of t.newlyCreatedRoutes??[])n._localInjector?.destroy(),n._localInjector=void 0;Ak(t.targetRouterState)}function Ak(t){if(!t)return;let n=e=>{e.value.pending?.set(!1),e.children.forEach(n)};n(t._root)}var Rk=new C("");var Ok=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:()=>u(xz)})}return t})(),Pp=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}shouldDestroyInjector(n){return!0}},xz=(()=>{class t extends Pp{static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),Bp=(()=>{class t{urlSerializer=u(Wo);options=u(qo,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=u(br);urlHandlingStrategy=u(Vp);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new ai;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:i,targetBrowserUrl:r}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,i):i,a=r??o;return a instanceof ai?this.urlSerializer.serialize(a):a}routerUrlState(e){return e?.targetBrowserUrl===void 0||e?.finalUrl===void 0?{}:{\u0275routerUrl:this.urlSerializer.serialize(e.finalUrl)}}commitTransition({targetRouterState:e,finalUrl:i,initialUrl:r}){i&&e?(this.currentUrlTree=i,this.rawUrlTree=this.urlHandlingStrategy.merge(i,r),this.routerState=e):this.rawUrlTree=r}routerState=uk(null,u(lt));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:()=>u(Cz)})}return t})(),Cz=(()=>{class t extends Bp{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&setTimeout(()=>{e(i.url,i.state,"popstate",{replaceUrl:!0},i.hasUAVisualTransition)})})}handleRouterEvent(e,i){e instanceof $o?this.updateStateMemento():e instanceof Sr?this.commitTransition(i):e instanceof Md?this.urlUpdateStrategy==="eager"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof Cl?(this.commitTransition(i),this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof _i?gk(e)?e.code===bn.Redirect&&this.routerState===i.targetRouterState&&this.resetInternalState(i):this.restoreHistory(i):e instanceof Wa?this.restoreHistory(i,!0):e instanceof xi&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,i){let{extras:r,id:o}=i,{replaceUrl:a,state:s}=r;if(this.location.isCurrentPathEqualTo(e)||a){let l=this.browserPageId,c=w(w({},s),this.generateNgRouterState(o,l,i));this.location.replaceState(e,"",c)}else{let l=w(w({},s),this.generateNgRouterState(o,this.browserPageId+1,i));this.location.go(e,"",l)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,o=this.currentPageId-r;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i,r){return this.canceledNavigationResolution==="computed"?w({navigationId:e,\u0275routerPageId:i},this.routerUrlState(r)):w({navigationId:e},this.routerUrlState(r))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function zp(t,n){t.events.pipe(Me(e=>e instanceof xi||e instanceof _i||e instanceof Wa||e instanceof Sr),Ae(e=>e instanceof xi||e instanceof Sr?0:(e instanceof _i?e.code===bn.Redirect||e.code===bn.SupersededByNewNavigation:!1)?2:1),Me(e=>e!==2),Pt(1)).subscribe(()=>{n()})}var Ci=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=u(Ff);stateManager=u(Bp);options=u(qo,{optional:!0})||{};pendingTasks=u(ji);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=u(jp);urlSerializer=u(Wo);location=u(br);urlHandlingStrategy=u(Vp);injector=u(lt);_events=new R;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=u(Ok);injectorCleanup=u(Rk,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=u(Dl,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!u(Od,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new xe;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let r=this.navigationTransitions.currentTransition,o=Te(this.navigationTransitions.currentNavigation);if(r!==null&&o!==null){if(this.stateManager.handleRouterEvent(i,o),i instanceof _i&&i.code!==bn.Redirect&&i.code!==bn.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof xi)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(i instanceof wl){let a=i.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),l=w({scroll:r.extras.scroll,browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||_z(r.source)},a);this.scheduleNavigation(s,bl,null,l,r.hasUAVisualTransition,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}CB(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortWithErrorSubject.next(r)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),bl,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i,r,o,a)=>{this.navigateToSyncWithBrowser(e,r,i,o,a)})}navigateToSyncWithBrowser(e,i,r,o,a){let s=r?.navigationId?r:null,l=r?.\u0275routerUrl??e;if(r?.\u0275routerUrl&&(o=de(w({},o),{browserUrl:e})),r){let d=w({},r);delete d.navigationId,delete d.\u0275routerPageId,delete d.\u0275routerUrl,Object.keys(d).length!==0&&(o.state=d)}let c=this.parseUrl(l);this.scheduleNavigation(c,i,s,o,a).catch(d=>{this.disposed||this.injector.get(ti)(d)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return Te(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(dx),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){let{relativeTo:r,queryParams:o,fragment:a,queryParamsHandling:s,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:a,d=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":d=w(w({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}let m;try{let p=r?r.snapshot:this.routerState.snapshot.root;m=sk(p)}catch(p){(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),m=this.currentUrlTree.root}return lk(m,e,d,c??null,this.urlSerializer)}navigateByUrl(e,i={skipLocationChange:!1}){let r=Ho(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,bl,null,i)}navigate(e,i={skipLocationChange:!1}){return wz(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch(i){return this.console.warn(ui(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,i){let r;if(i===!0?r=w({},ZI):i===!1?r=w({},vp):r=w(w({},vp),i),Ho(e))return q_(this.currentUrlTree,e,r);let o=this.parseUrl(e);return q_(this.currentUrlTree,o,r)}scheduleNavigation(e,i,r,o,a,s){if(this.disposed)return Promise.resolve(!1);let l,c,d;s?(l=s.resolve,c=s.reject,d=s.promise):d=new Promise((p,f)=>{l=p,c=f});let m=this.pendingTasks.add();return zp(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(m))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,hasUAVisualTransition:a,resolve:l,reject:c,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(Promise.reject.bind(Promise))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function wz(t){for(let n=0;n{class t{router=u(Ci);stateManager=u(Bp);fragment=he("");queryParams=he({});path=he("");serializer=u(Wo);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof xi&&this.updateState()})}updateState(){let{fragment:e,root:i,queryParams:r}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(r),this.path.set(this.serializer.serialize(new ai(i)))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),Yo=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=u(new Ui("href"),{optional:!0});reactiveHref=Wf(()=>{if(!this.isAnchorElement)return this.hrefAttributeValue;this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=i=>i==="preserve"||i==="merge";return(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams(),this.computeHref(this.createUrlTree())});get href(){return Te(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return Te(this._target)}_target=he(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return Te(this._queryParams)}_queryParams=he(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return Te(this._fragment)}_fragment=he(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return Te(this._queryParamsHandling)}_queryParamsHandling=he(void 0);set state(e){this._state.set(e)}get state(){return Te(this._state)}_state=he(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return Te(this._info)}_info=he(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return Te(this._relativeTo)}_relativeTo=he(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return Te(this._preserveFragment)}_preserveFragment=he(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return Te(this._skipLocationChange)}_skipLocationChange=he(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return Te(this._replaceUrl)}_replaceUrl=he(!1);browserUrl=Ha(void 0);isAnchorElement;onChanges=new R;applicationErrorHandler=u(ti);options=u(qo,{optional:!0});reactiveRouterState=u(Ez);constructor(e,i,r,o,a,s){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=a,this.locationStrategy=s;let l=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area"||!!(typeof customElements=="object"&&customElements.get(l)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.onChanges.next(this)}routerLinkInput=he(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(Ho(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,i,r,o,a){let s=this.urlTree;if(s===null||this.isAnchorElement&&(e!==0||i||r||o||a||typeof this.target=="string"&&this.target!="_self"))return!0;let l=this.browserUrl(),c=w({skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info},l!==void 0&&{browserUrl:l});return this.router.navigateByUrl(s,c)?.catch(d=>{this.applicationErrorHandler(d)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,i){let r=this.renderer,o=this.el.nativeElement;i!==null?r.setAttribute(o,e,i):r.removeAttribute(o,e)}createUrlTree(){let e=this.routerLinkInput();return e===null||!this.router.createUrlTree?null:Ho(e)?e:this.router.createUrlTree(e,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})}get urlTree(){return Te(()=>this.createUrlTree())}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null}static \u0275fac=function(i){return new(i||t)(Ue(Ci),Ue(Wi),Wc("tabindex"),Ue(He),Ue($),Ue(Gi))};static \u0275dir=B({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(i,r){i&1&&j("click",function(a){return r.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&ye("href",r.reactiveHref(),vy)("target",r._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",G],skipLocationChange:[2,"skipLocationChange","skipLocationChange",G],replaceUrl:[2,"replaceUrl","replaceUrl",G],browserUrl:[1,"browserUrl"],routerLink:"routerLink"},features:[nt]})}return t})();var Fd=class{};var Pk=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,i,r,o){this.router=e,this.injector=i,this.preloadingStrategy=r,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(Me(e=>e instanceof xi),Io(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(e,i){let r=[];for(let o of i){o.providers&&!o._injector&&(o._injector=el(o.providers,e,""));let a=o._injector??e;o._loadedNgModuleFactory&&!o._loadedInjector&&(o._loadedInjector=o._loadedNgModuleFactory.create(a).injector);let s=o._loadedInjector??a;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(a,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(s,o.children??o._loadedRoutes))}return bt(r).pipe(Do())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{if(e.destroyed)return pe(null);let r;i.loadChildren&&i.canLoad===void 0?r=bt(this.loader.loadChildren(e,i)):r=pe(null);let o=r.pipe(nn(a=>a===null?pe(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,i._loadedNgModuleFactory=a.factory,this.processRoutes(a.injector??e,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(e,i);return bt([o,a]).pipe(Do())}else return o})}static \u0275fac=function(i){return new(i||t)(K(Ci),K(lt),K(Fd),K(Lp))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Fk=new C(""),Dz=(()=>{class t{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=bl;restoredId=0;store={};isHydrating=u(my,{optional:!0})??!1;urlSerializer=u(Wo);zone=u(O);viewportScroller=u(v_);transitions=u(jp);constructor(e){this.options=e,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&u(un).whenStable().then(()=>{this.isHydrating=!1})}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof $o?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof xi?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Sr&&e.code===_l.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof xl)||e.scrollBehavior==="manual")return;let i={behavior:"instant"};e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],i):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position,i):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,i){if(this.isHydrating)return;let r=Te(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(()=>z(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new xl(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,i,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(i){za()};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})();function Mz(){return u(Ci).routerState.root}function Ld(t,n){return{\u0275kind:t,\u0275providers:n}}function Iz(){let t=u(ne);return n=>{let e=t.get(un);if(n!==e.components[0])return;let i=t.get(Ci),r=t.get(Lk);t.get(vx)===1&&i.initialNavigation(),t.get(Bk,null,{optional:!0})?.setUpPreloading(),t.get(Fk,null,{optional:!0})?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var Lk=new C("",{factory:()=>new R}),vx=new C("",{factory:()=>1});function Vk(){let t=[{provide:Cf,useValue:!0},{provide:vx,useValue:0},Pf(()=>{let n=u(ne);return n.get(d_,Promise.resolve()).then(()=>new Promise(i=>{let r=n.get(Ci),o=n.get(Lk);zp(r,()=>{i(!0)}),n.get(jp).afterPreactivation=()=>(i(!0),o.closed?pe(void 0):o),r.initialNavigation()}))})];return Ld(2,t)}function jk(){let t=[Pf(()=>{u(Ci).setUpLocationChangeListener()}),{provide:vx,useValue:2}];return Ld(3,t)}var Bk=new C("");function zk(t){return Ld(0,[{provide:Bk,useExisting:Pk},{provide:Fd,useExisting:t}])}function Hk(t={}){return Ld(8,[{provide:Od,useFactory:()=>new hk(t,u(mx,{optional:!0}))}])}function Uk(t){ri("NgRouterViewTransitions");let n=[{provide:px,useValue:Nk},{provide:hx,useValue:w({skipNextTransition:!!t?.skipInitialTransition},t)}];return Ld(9,n)}var $k=[br,{provide:Wo,useClass:Jr},Ci,Uo,{provide:Wi,useFactory:Mz},Lp],Hp=(()=>{class t{constructor(){}static forRoot(e,i){return{ngModule:t,providers:[$k,[],{provide:Dl,multi:!0,useValue:e},[],i?.errorHandler?{provide:gx,useValue:i.errorHandler}:[],{provide:qo,useValue:i||{}},i?.useHash?Tz():Nz(),kz(),i?.preloadingStrategy?zk(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?Az(i):[],i?.bindToComponentInputs?Hk(typeof i.bindToComponentInputs=="object"?i.bindToComponentInputs:{}).\u0275providers:[],i?.enableViewTransitions?Uk().\u0275providers:[],Rz()]}}static forChild(e){return{ngModule:t,providers:[{provide:Dl,multi:!0,useValue:e}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({})}return t})();function kz(){return{provide:Fk,useFactory:()=>{let t=u(v_),n=u(qo);return n.scrollOffset&&t.setOffset(n.scrollOffset),new Dz(n)}}}function Tz(){return{provide:Gi,useClass:m_}}function Nz(){return{provide:Gi,useClass:Zf}}function Az(t){return[t.initialNavigation==="disabled"?jk().\u0275providers:[],t.initialNavigation==="enabledBlocking"?Vk().\u0275providers:[]]}var bx=new C("");function Rz(){return[{provide:bx,useFactory:Iz},{provide:nd,multi:!0,useExisting:bx}]}var $p=class{constructor(n){this.user=n.user,this.role=n.role,this.admin=n.admin}get isStaff(){return this.role==="staff"||this.role==="admin"}get isAdmin(){return this.role==="admin"}get isLogged(){return this.user!=null}get isRestricted(){return this.role==="restricted"}};var Gk;var Fn=(t,n)=>{let e;if(t instanceof Promise)e=t;else if(t instanceof Vd)e=t;else{if(n)return Lr(t.pipe(rb(n)));e=Lr(t)}return e},Vd=class{static{Gk=Symbol.toStringTag}constructor(){this[Gk]="Future",this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((n,e)=>{this.resolve=n,this.reject=e})}then(n,e){return this.promise.then(n,e)}catch(n){return this.promise.catch(n)}finally(n){return this.promise.finally(n)}};var yx;function Wk(){if(yx==null){let t=typeof document<"u"?document.head:null;yx=!!(t&&(t.createShadowRoot||t.attachShadow))}return yx}function _x(t){if(Wk()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function jd(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function vn(t){if(t.composedPath)try{return t.composedPath()[0]}catch(n){}return t.target}function xx(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Gp=new WeakMap,Dt=(()=>{class t{_appRef;_injector=u(ne);_environmentInjector=u(lt);load(e){let i=this._appRef=this._appRef||this._injector.get(un),r=Gp.get(i);r||(r={loaders:new Set,refs:[]},Gp.set(i,r),i.onDestroy(()=>{Gp.get(i)?.refs.forEach(o=>o.destroy()),Gp.delete(i)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(Yf(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function Yt(t){return t==null?"":typeof t=="string"?t:`${t}px`}function qi(t,n=0){return qk(t)?Number(t):arguments.length===2?n:0}function qk(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Ln(t){return t instanceof $?t.nativeElement:t}var Oz=new C("cdk-dir-doc",{providedIn:"root",factory:()=>u(oe)}),Pz=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Yk(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?Pz.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var Jt=(()=>{class t{get value(){return this.valueSignal()}valueSignal=he("ltr");change=new H;constructor(){let e=u(Oz,{optional:!0});if(e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(Yk(i||r||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();var Yi=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(Yi||{}),Wp,qa;function qp(){if(qa==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return qa=!1,qa;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)qa=!0;else{let t=Element.prototype.scrollTo;t?qa=!/\{\s*\[native code\]\s*\}/.test(t.toString()):qa=!1}}return qa}function Ml(){if(typeof document!="object"||!document)return Yi.NORMAL;if(Wp==null){let t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),Wp=Yi.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,Wp=t.scrollLeft===0?Yi.NEGATED:Yi.INVERTED),t.remove()}return Wp}var Qe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({})}return t})();var Fz=20,Ko=(()=>{class t{_ngZone=u(O);_platform=u($e);_renderer=u(Vt).createRenderer(null,null);_cleanupGlobalListener;_scrolled=new R;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=Fz){return this._platform.isBrowser?new fe(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=e>0?this._scrolled.pipe(pm(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):pe()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Me(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((r,o)=>{this._targetContainsElement(o,e)&&i.push(o)}),i}_targetContainsElement(e,i){let r=Ln(i),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),Bd=(()=>{class t{elementRef=u($);scrollDispatcher=u(Ko);ngZone=u(O);dir=u(Jt,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new R;_renderer=u(He);_cleanupScroll;_elementScrolled=new R;ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let i=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&Ml()!=Yi.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),Ml()==Yi.INVERTED?e.left=e.right:Ml()==Yi.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;qp()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",r="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let a=this.dir&&this.dir.value=="rtl";return e=="start"?e=a?r:i:e=="end"&&(e=a?i:r),a&&Ml()==Yi.INVERTED?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:a&&Ml()==Yi.NEGATED?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),Lz=20,Ki=(()=>{class t{_platform=u($e);_listeners;_viewportSize=null;_change=new R;_document=u(oe);constructor(){let e=u(O),i=u(Vt).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=o=>this._change.next(o);this._listeners=[i.listen("window","resize",r),i.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),a=-o.top||e.body?.scrollTop||i.scrollY||r.scrollTop||0,s=-o.left||e.body?.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:a,left:s}}change(e=Lz){return e>0?this._change.pipe(pm(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();var eo=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({})}return t})(),Cx=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({imports:[Qe,eo,Qe,eo]})}return t})();var Kk=new Map,st=class t{_appId=u(Gr);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(n,e=!1){this._appId!=="ng"&&(n+=this._appId);let i=Kk.get(n);return i===void 0?i=0:i++,Kk.set(n,i),`${n}${e?t._infix+"-":""}${i}`}static \u0275fac=function(e){return new(e||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})};var zd=class{_attachedHost=null;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},Qo=class extends zd{component;viewContainerRef;injector;projectableNodes;bindings;directives;constructor(n,e,i,r,o,a){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.projectableNodes=r,this.bindings=o||null,this.directives=a||null}},qn=class extends zd{templateRef;viewContainerRef;context;injector;constructor(n,e,i,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},wx=class extends zd{element;constructor(n){super(),this.element=n instanceof $?n.nativeElement:n}},Il=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof Qo)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof qn)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof wx)return this._attachedPortal=n,this.attachDomPortal(n)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},Hd=class extends Il{outletElement;_appRef;_defaultInjector;constructor(n,e,i){super(),this.outletElement=n,this._appRef=e,this._defaultInjector=i}attachComponentPortal(n){let e;if(n.viewContainerRef){let i=n.injector||n.viewContainerRef.injector,r=i.get(hr,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:i,ngModuleRef:r,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||void 0,directives:n.directives||void 0}),this.setDisposeFn(()=>e.destroy())}else{let i=this._appRef,r=n.injector||this._defaultInjector||ne.NULL,o=r.get(lt,i.injector);e=Yf(n.component,{elementInjector:r,environmentInjector:o,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||void 0,directives:n.directives||void 0}),i.attachView(e.hostView),this.setDisposeFn(()=>{i.viewCount>0&&i.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);r!==-1&&e.remove(r)}),this._attachedPortal=n,i}attachDomPortal=n=>{let e=n.element;e.parentNode;let i=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},Qk=(()=>{class t extends qn{constructor(){let e=u(qt),i=u(Bt);super(e,i)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[Ge]})}return t})(),Er=(()=>{class t extends Il{_moduleRef=u(hr,{optional:!0});_document=u(oe);_viewContainerRef=u(Bt);_isInitialized=!1;_attachedRef=null;get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new H;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,r=i.createComponent(e.component,{index:i.length,injector:e.injector||i.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:e.bindings||void 0,directives:e.directives||void 0});return i!==this._viewContainerRef&&this._insertContent(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachDomPortal=e=>{let i=e.element;i.parentNode;let r=this._document.createComment("dom-portal");e.setAttachedHost(this),i.parentNode.insertBefore(r,i),this._insertContent(i),this._attachedPortal=e,super.setDisposeFn(()=>r.parentNode?.replaceChild(i,r))};_insertContent(e){let i=this._viewContainerRef.element.nativeElement;i.nodeType===i.ELEMENT_NODE?i.appendChild(e):i.parentNode?.insertBefore(e,i)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Zt(t)))(r||t)}})();static \u0275dir=B({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Ge]})}return t})(),to=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({})}return t})();function Ht(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var Zk=qp();function Nl(t){return new Yp(t.get(Ki),t.get(oe))}var Yp=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,e){this._viewportRuler=n,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Yt(-this._previousScrollPosition.left),n.style.top=Yt(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,i=n.style,r=e.style,o=i.scrollBehavior||"",a=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),Zk&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Zk&&(i.scrollBehavior=o,r.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}};function rT(t,n){return new Kp(t.get(Ko),t.get(O),t.get(Ki),n)}var Kp=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,i,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(Me(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var Ud=class{enable(){}disable(){}attach(){}};function Ex(t,n){return n.some(e=>{let i=t.bottome.bottom,o=t.righte.right;return i||r||o||a})}function Xk(t,n){return n.some(e=>{let i=t.tope.bottom,o=t.lefte.right;return i||r||o||a})}function ro(t,n){return new Qp(t.get(Ko),t.get(Ki),t.get(O),n)}var Qp=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,i,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Ex(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},oT=(()=>{class t{_injector=u(ne);noop=()=>new Ud;close=e=>rT(this._injector,e);block=()=>Nl(this._injector);reposition=e=>ro(this._injector,e);static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),no=class{positionStrategy;scrollStrategy=new Ud;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(n){if(n){let e=Object.keys(n);for(let i of e)n[i]!==void 0&&(this[i]=n[i])}}};var Zp=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var aT=(()=>{class t{_attachedOverlays=[];_document=u(oe);_isAttached=!1;ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}canReceiveEvent(e,i,r){return r.observers.length<1?!1:e.eventPredicate?e.eventPredicate(i):!0}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),sT=(()=>{class t extends aT{_ngZone=u(O);_renderer=u(Vt).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let i=this._attachedOverlays;for(let r=i.length-1;r>-1;r--){let o=i[r];if(this.canReceiveEvent(o,e,o._keydownEvents)){this._ngZone.run(()=>o._keydownEvents.next(e));break}}};static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),lT=(()=>{class t extends aT{_platform=u($e);_ngZone=u(O);_renderer=u(Vt).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(e){if(super.add(e),!this._isAttached){let i=this._document.body,r={capture:!0},o=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[o.listen(i,"pointerdown",this._pointerDownListener,r),o.listen(i,"click",this._clickListener,r),o.listen(i,"auxclick",this._clickListener,r),o.listen(i,"contextmenu",this._clickListener,r)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=vn(e)};_clickListener=e=>{let i=vn(e),r=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let o=this._attachedOverlays.slice();for(let a=o.length-1;a>-1;a--){let s=o[a],l=s._outsidePointerEvents;if(!(!s.hasAttached()||!this.canReceiveEvent(s,e,l))){if(Jk(s.overlayElement,i)||Jk(s.overlayElement,r))break;this._ngZone?this._ngZone.run(()=>l.next(e)):l.next(e)}}};static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function Jk(t,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=n;for(;i;){if(i===t)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}var cT=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=F({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-overlay-container, .cdk-global-overlay-wrapper { pointer-events: none; top: 0; left: 0; @@ -141,7 +141,7 @@ ${e.map((i,r)=>`${r+1}) ${i.toString()}`).join(` position: fixed; z-index: auto; } -`],encapsulation:2})}return t})(),eh=(()=>{class t{_platform=u($e);_containerElement;_document=u(oe);_styleLoader=u(Dt);ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||xx()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o{let n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}};function Mx(t){return t&&t.nodeType===1}var Sx=he([]),kl=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new R;_attachments=new R;_detachments=new R;_positionStrategy;_scrollStrategy;_locationChanges;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new R;_outsidePointerEvents=new R;_afterNextRenderRef;constructor(n,e,i,r,o,a,s,l,c,d=!1,m,p){this._portalOutlet=n,this._host=e,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=a,this._document=s,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._injector=m,this._renderer=p,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}get eventPredicate(){return this._config?.eventPredicate||null}attach(n){if(this._disposed)return null;this._attachHost();let e=this._portalOutlet.attach(n);if(this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),Te(()=>{Sx.update(i=>i.includes(this)?i:[...i,this])}),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=jt(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation===!0||this._config.disposeOnNavigation==="pop-state"){let i=this._location.subscribe(()=>this.dispose());this._locationChanges=()=>i.unsubscribe()}else this._config.disposeOnNavigation==="url-change"&&(this._locationChanges=this._location.onUrlChange(()=>this.dispose()));return this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges?.(),this._outsideClickDispatcher.remove(this),Te(()=>{Sx.update(e=>e.filter(i=>i!==this))}),n}dispose(){if(this._disposed)return;let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges?.(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=!0,Te(()=>{Sx.update(e=>e.filter(i=>i!==this))})}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=w(w({},this._config),n),this._updateElementSize()}setDirection(n){this._config=de(w({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=Yt(this._config.width),n.height=Yt(this._config.height),n.minWidth=Yt(this._config.minWidth),n.minHeight=Yt(this._config.minHeight),n.maxWidth=Yt(this._config.maxWidth),n.maxHeight=Yt(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachHost(){if(!this._host.parentElement){let n=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;Mx(n)?n.after(this._host):n?.type==="parent"?n.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch(n){}}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new Dx(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._config.usePopover?this._host.prepend(this._backdropRef.element):this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){!this._config.usePopover&&this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,e,i){let r=ml(e||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=jt(()=>{n=!0,this._detachContent()},{injector:this._injector})}catch(e){if(n)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let n=this._scrollStrategy;n?.disable(),n?.detach?.()}},eT="cdk-overlay-connected-position-bounding-box",jz=/([A-Za-z%]+)$/;function Ya(t,n){return new Xp(n,t.get(Ki),t.get(oe),t.get($e),t.get(eh))}var Xp=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=!1;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed=!1;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new R;_resizeSubscription=xe.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(eT),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._getContainerRect();let n=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[],a;for(let s of this._preferredPositions){let l=this._getOriginPoint(n,r,s),c=this._getOverlayPoint(l,e,s),d=this._getOverlayFit(c,e,i,s);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,l);return}if(this._canFitWithFlexibleDimensions(d,c,i)){o.push({position:s,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,s)});continue}(!a||a.overlayFit.visibleAreal&&(l=d,s=c)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&qa(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(eT),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;n?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(n,this._getOriginPoint(this._originRect,this._containerRect,n))):this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}withPopoverLocation(n){return this._popoverLocation=n,this}getPopoverInsertionPoint(){return this._popoverLocation==="global"?null:this._popoverLocation!=="inline"?this._popoverLocation:this._origin instanceof $?this._origin.nativeElement:Mx(this._origin)?this._origin:null}_getOriginPoint(n,e,i){let r;if(i.originX=="center")r=n.left+n.width/2;else{let a=this._isRtl()?n.right:n.left,s=this._isRtl()?n.left:n.right;r=i.originX=="start"?a:s}e.left<0&&(r-=e.left);let o;return i.originY=="center"?o=n.top+n.height/2:o=i.originY=="top"?n.top:n.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(n,e,i){let r;i.overlayX=="center"?r=-e.width/2:i.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let o;return i.overlayY=="center"?o=-e.height/2:o=i.overlayY=="top"?0:-e.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,e,i,r){let o=nT(e),{x:a,y:s}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(a+=l),c&&(s+=c);let d=0-a,m=a+o.width-i.width,p=0-s,f=s+o.height-i.height,g=this._subtractOverflows(o.width,d,m),_=this._subtractOverflows(o.height,p,f),E=g*_;return{visibleArea:E,isCompletelyWithinViewport:o.width*o.height===E,fitsInViewportVertically:_===o.height,fitsInViewportHorizontally:g==o.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){let r=i.bottom-e.y,o=i.right-e.x,a=tT(this._overlayRef.getConfig().minHeight),s=tT(this._overlayRef.getConfig().minWidth),l=n.fitsInViewportVertically||a!=null&&a<=r,c=n.fitsInViewportHorizontally||s!=null&&s<=o;return l&&c}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let r=nT(e),o=this._viewportRect,a=Math.max(n.x+r.width-o.width,0),s=Math.max(n.y+r.height-o.height,0),l=Math.max(o.top-i.top-n.y,0),c=Math.max(o.left-i.left-n.x,0),d=0,m=0;return r.width<=o.width?d=c||-a:d=n.xg&&!this._isInitialRender&&!this._growAfterOpen&&(a=n.y-g/2)}let l=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,c=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,d,m,p;if(c)p=i.width-n.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),d=n.x-this._getViewportMarginStart();else if(l)m=n.x,d=i.right-n.x-this._getViewportMarginEnd();else{let f=Math.min(i.right-n.x+i.left,n.x),g=this._lastBoundingBoxSize.width;d=f*2,m=n.x-f,d>g&&!this._isInitialRender&&!this._growAfterOpen&&(m=n.x-g/2)}return{top:a,left:m,bottom:s,right:p,width:d,height:o}}_setBoundingBoxStyles(n,e){let i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right="auto",r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;r.width=Yt(i.width),r.height=Yt(i.height),r.top=Yt(i.top)||"auto",r.bottom=Yt(i.bottom)||"auto",r.left=Yt(i.left)||"auto",r.right=Yt(i.right)||"auto",e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=Yt(o)),a&&(r.maxWidth=Yt(a))}this._lastBoundingBoxSize=i,qa(this._boundingBox.style,r)}_resetBoundingBoxStyles(){qa(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){qa(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();qa(i,this._getExactOverlayY(e,n,d)),qa(i,this._getExactOverlayX(e,n,d))}else i.position="static";let s="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(s+=`translateX(${l}px) `),c&&(s+=`translateY(${c}px)`),i.transform=s.trim(),a.maxHeight&&(r?i.maxHeight=Yt(a.maxHeight):o&&(i.maxHeight="")),a.maxWidth&&(r?i.maxWidth=Yt(a.maxWidth):o&&(i.maxWidth="")),qa(this._pane.style,i)}_getExactOverlayY(n,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),n.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;r.bottom=`${a-(o.y+this._overlayRect.height)}px`}else r.top=Yt(o.y);return r}_getExactOverlayX(n,e,i){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i));let a;if(this._isRtl()?a=n.overlayX==="end"?"left":"right":a=n.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;r.right=`${s-(o.x+this._overlayRect.width)}px`}else r.left=Yt(o.x);return r}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Xk(n,i),isOriginOutsideView:Ex(n,i),isOverlayClipped:Xk(e,i),isOverlayOutsideView:Ex(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._getViewportMarginTop(),left:i.left+this._getViewportMarginStart(),right:i.left+n-this._getViewportMarginEnd(),bottom:i.top+e-this._getViewportMarginBottom(),width:n-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:e-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&ml(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getViewportMarginStart(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){let n=this._origin;if(n instanceof $)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}_getContainerRect(){let n=this._overlayRef.getConfig().usePopover&&this._popoverLocation!=="global",e=this._overlayContainer.getContainerElement();n&&(e.style.display="block");let i=e.getBoundingClientRect();return n&&(e.style.display=""),i}};function qa(t,n){for(let e in n)Object.hasOwn(n,e)&&(t[e]=n[e]);return t}function tT(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(jz);return!e||e==="px"?parseFloat(n):null}return t||null}function nT(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function Bz(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}var iT="cdk-global-overlay-wrapper";function Al(t){return new Jp}var Jp=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(iT),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:a,maxHeight:s}=i,l=(r==="100%"||r==="100vw")&&(!a||a==="100%"||a==="100vw"),c=(o==="100%"||o==="100vh")&&(!s||s==="100%"||s==="100vh"),d=this._xPosition,m=this._xOffset,p=this._overlayRef.getConfig().direction==="rtl",f="",g="",_="";l?_="flex-start":d==="center"?(_="center",p?g=m:f=m):p?d==="left"||d==="end"?(_="flex-end",f=m):(d==="right"||d==="start")&&(_="flex-start",g=m):d==="left"||d==="start"?(_="flex-start",f=m):(d==="right"||d==="end")&&(_="flex-end",g=m),n.position=this._cssPosition,n.marginLeft=l?"0":f,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":g,e.justifyContent=_,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(iT),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},dT=(()=>{class t{_injector=u(ne);global(){return Al()}flexibleConnectedTo(e){return Ya(this._injector,e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),$d=new C("OVERLAY_DEFAULT_CONFIG");function oo(t,n){t.get(Dt).load(cT);let e=t.get(eh),i=t.get(oe),r=t.get(st),o=t.get(un),a=t.get(Jt),s=t.get(He,null,{optional:!0})||t.get(Vt).createRenderer(null,null),l=new no(n),c=t.get($d,null,{optional:!0})?.usePopover??!0;l.direction=l.direction||a.value,!i.body||!("showPopover"in i.body)?l.usePopover=!1:l.usePopover=n?.usePopover??c;let d=i.createElement("div"),m=i.createElement("div");d.id=r.getId("cdk-overlay-"),d.classList.add("cdk-overlay-pane"),m.appendChild(d),l.usePopover&&(m.setAttribute("popover","manual"),m.classList.add("cdk-overlay-popover"));let p=l.usePopover?l.positionStrategy?.getPopoverInsertionPoint?.():null;return Mx(p)?p.after(m):p?.type==="parent"?p.element.appendChild(m):e.getContainerElement().appendChild(m),new kl(new Hd(d,o,t),m,d,l,t.get(O),t.get(sT),i,t.get(br),t.get(lT),n?.disableAnimations??t.get(Lo,null,{optional:!0})==="NoopAnimations",t.get(lt),s)}var uT=(()=>{class t{scrollStrategies=u(oT);_positionBuilder=u(dT);_injector=u(ne);create(e){return oo(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),zz=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Hz=new C("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(ne);return()=>ro(t)}}),Tl=(()=>{class t{elementRef=u($);static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),mT=new C("cdk-connected-overlay-default-config"),th=(()=>{class t{_dir=u(Jt,{optional:!0});_injector=u(ne);_overlayRef;_templatePortal;_backdropSubscription=xe.EMPTY;_attachSubscription=xe.EMPTY;_detachSubscription=xe.EMPTY;_positionSubscription=xe.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=u(Hz);_ngZone=u(O);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;disposeOnNavigation=!1;usePopover;matchWidth=!1;set _config(e){typeof e!="string"&&this._assignConfig(e)}backdropClick=new H;positionChange=new H;attach=new H;detach=new H;overlayKeydown=new H;overlayOutsideClick=new H;constructor(){let e=u(qt),i=u(Bt),r=u(mT,{optional:!0}),o=u($d,{optional:!0});this.usePopover=o?.usePopover===!1?null:"global",this._templatePortal=new Wn(e,i),this.scrollStrategy=this._scrollStrategyFactory(),r&&this._assignConfig(r)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this._getWidth(),minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=zz);let e=this._overlayRef=oo(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!Ht(i)&&(i.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let r=this._getOriginElement(),o=vn(i);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new no({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector).withPopoverLocation(this.usePopover===null?"global":this.usePopover)}_createPositionStrategy(){let e=Ya(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Tl?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Tl?this.origin.elementRef.nativeElement:this.origin instanceof $?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_getWidth(){return this.width?this.width:this.matchWidth?this._getOriginElement()?.getBoundingClientRect?.().width:void 0}attachOverlay(){this._overlayRef||this._createOverlay();let e=this._overlayRef;e.getConfig().hasBackdrop=this.hasBackdrop,e.updateSize({width:this._getWidth()}),e.hasAttached()||e.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=e.backdropClick().subscribe(i=>this.backdropClick.emit(i)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(lb(()=>this.positionChange.observers.length>0)).subscribe(i=>{this._ngZone.run(()=>this.positionChange.emit(i)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}_assignConfig(e){this.origin=e.origin??this.origin,this.positions=e.positions??this.positions,this.positionStrategy=e.positionStrategy??this.positionStrategy,this.offsetX=e.offsetX??this.offsetX,this.offsetY=e.offsetY??this.offsetY,this.width=e.width??this.width,this.height=e.height??this.height,this.minWidth=e.minWidth??this.minWidth,this.minHeight=e.minHeight??this.minHeight,this.backdropClass=e.backdropClass??this.backdropClass,this.panelClass=e.panelClass??this.panelClass,this.viewportMargin=e.viewportMargin??this.viewportMargin,this.scrollStrategy=e.scrollStrategy??this.scrollStrategy,this.disableClose=e.disableClose??this.disableClose,this.transformOriginSelector=e.transformOriginSelector??this.transformOriginSelector,this.hasBackdrop=e.hasBackdrop??this.hasBackdrop,this.lockPosition=e.lockPosition??this.lockPosition,this.flexibleDimensions=e.flexibleDimensions??this.flexibleDimensions,this.growAfterOpen=e.growAfterOpen??this.growAfterOpen,this.push=e.push??this.push,this.disposeOnNavigation=e.disposeOnNavigation??this.disposeOnNavigation,this.usePopover=e.usePopover??this.usePopover,this.matchWidth=e.matchWidth??this.matchWidth}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",G],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",G],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",G],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",G],push:[2,"cdkConnectedOverlayPush","push",G],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",e=>e==="url-change"||e==="pop-state"?e:G(e)],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",G],_config:[0,"cdkConnectedOverlay","_config"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[nt]})}return t})(),Qi=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({providers:[uT],imports:[Qe,to,Cx,Cx]})}return t})();function Ka(t){return t.buttons===0||t.detail===0}function Qa(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var Gd;function fT(){if(Gd==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Gd=!0}))}finally{Gd=Gd||!1}return Gd}function Rl(t){return fT()?t:!!t.capture}var pT=new C("cdk-input-modality-detector-options"),hT={ignoreKeys:[18,17,224,91,16]},gT=650,Ix={passive:!0,capture:!0},bT=(()=>{class t{_platform=u($e);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Kt(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(i=>i===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=vn(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs{if(Qa(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=vn(e)};constructor(){let e=u(O),i=u(oe),r=u(pT,{optional:!0});if(this._options=w(w({},hT),r),this.modalityDetected=this._modality.pipe(ya(1)),this.modalityChanged=this.modalityDetected.pipe(Ms()),this._platform.isBrowser){let o=u(Vt).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[o.listen(i,"keydown",this._onKeydown,Ix),o.listen(i,"mousedown",this._onMousedown,Ix),o.listen(i,"touchstart",this._onTouchstart,Ix)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),Wd=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(Wd||{}),vT=new C("cdk-focus-monitor-default-options"),nh=Rl({passive:!0,capture:!0}),qn=(()=>{class t{_ngZone=u(O);_platform=u($e);_inputModalityDetector=u(bT);_origin=null;_lastFocusOrigin=null;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=u(oe);_stopInputModalityDetector=new R;constructor(){let e=u(vT,{optional:!0});this._detectionMode=e?.detectionMode||Wd.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let i=vn(e);for(let r=i;r;r=r.parentElement)e.type==="focus"?this._onFocus(e,r):this._onBlur(e,r)};monitor(e,i=!1){let r=Ln(e);if(!this._platform.isBrowser||r.nodeType!==1)return pe();let o=_x(r)||this._document,a=this._elementInfo.get(r);if(a)return i&&(a.checkChildren=!0),a.subject;let s={checkChildren:i,subject:new R,rootNode:o};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let i=Ln(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){let o=Ln(e),a=this._document.activeElement;o===a?this._getClosestElementsInfo(o).forEach(([s,l])=>this._originChanged(s,i,l)):(this._setOrigin(i),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Wd.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===Wd.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?gT:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,i){let r=this._elementInfo.get(i),o=vn(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){let r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,nh),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,nh)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ye(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,nh),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,nh),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let a=0;a{class t{_elementRef=u($);_focusMonitor=u(qn);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new H;get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();var Ol=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=F({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-visually-hidden { +`],encapsulation:2})}return t})(),eh=(()=>{class t{_platform=u($e);_containerElement;_document=u(oe);_styleLoader=u(Dt);ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||xx()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o{let n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}};function Mx(t){return t&&t.nodeType===1}var Sx=he([]),kl=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new R;_attachments=new R;_detachments=new R;_positionStrategy;_scrollStrategy;_locationChanges;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new R;_outsidePointerEvents=new R;_afterNextRenderRef;constructor(n,e,i,r,o,a,s,l,c,d=!1,m,p){this._portalOutlet=n,this._host=e,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=a,this._document=s,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._injector=m,this._renderer=p,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}get eventPredicate(){return this._config?.eventPredicate||null}attach(n){if(this._disposed)return null;this._attachHost();let e=this._portalOutlet.attach(n);if(this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),Te(()=>{Sx.update(i=>i.includes(this)?i:[...i,this])}),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=jt(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation===!0||this._config.disposeOnNavigation==="pop-state"){let i=this._location.subscribe(()=>this.dispose());this._locationChanges=()=>i.unsubscribe()}else this._config.disposeOnNavigation==="url-change"&&(this._locationChanges=this._location.onUrlChange(()=>this.dispose()));return this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges?.(),this._outsideClickDispatcher.remove(this),Te(()=>{Sx.update(e=>e.filter(i=>i!==this))}),n}dispose(){if(this._disposed)return;let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges?.(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=!0,Te(()=>{Sx.update(e=>e.filter(i=>i!==this))})}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=w(w({},this._config),n),this._updateElementSize()}setDirection(n){this._config=de(w({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=Yt(this._config.width),n.height=Yt(this._config.height),n.minWidth=Yt(this._config.minWidth),n.minHeight=Yt(this._config.minHeight),n.maxWidth=Yt(this._config.maxWidth),n.maxHeight=Yt(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachHost(){if(!this._host.parentElement){let n=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;Mx(n)?n.after(this._host):n?.type==="parent"?n.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch(n){}}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new Dx(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._config.usePopover?this._host.prepend(this._backdropRef.element):this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){!this._config.usePopover&&this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,e,i){let r=ml(e||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=jt(()=>{n=!0,this._detachContent()},{injector:this._injector})}catch(e){if(n)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let n=this._scrollStrategy;n?.disable(),n?.detach?.()}},eT="cdk-overlay-connected-position-bounding-box",jz=/([A-Za-z%]+)$/;function Ka(t,n){return new Xp(n,t.get(Ki),t.get(oe),t.get($e),t.get(eh))}var Xp=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=!1;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed=!1;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new R;_resizeSubscription=xe.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(eT),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._getContainerRect();let n=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[],a;for(let s of this._preferredPositions){let l=this._getOriginPoint(n,r,s),c=this._getOverlayPoint(l,e,s),d=this._getOverlayFit(c,e,i,s);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,l);return}if(this._canFitWithFlexibleDimensions(d,c,i)){o.push({position:s,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,s)});continue}(!a||a.overlayFit.visibleAreal&&(l=d,s=c)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ya(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(eT),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;n?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(n,this._getOriginPoint(this._originRect,this._containerRect,n))):this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}withPopoverLocation(n){return this._popoverLocation=n,this}getPopoverInsertionPoint(){return this._popoverLocation==="global"?null:this._popoverLocation!=="inline"?this._popoverLocation:this._origin instanceof $?this._origin.nativeElement:Mx(this._origin)?this._origin:null}_getOriginPoint(n,e,i){let r;if(i.originX=="center")r=n.left+n.width/2;else{let a=this._isRtl()?n.right:n.left,s=this._isRtl()?n.left:n.right;r=i.originX=="start"?a:s}e.left<0&&(r-=e.left);let o;return i.originY=="center"?o=n.top+n.height/2:o=i.originY=="top"?n.top:n.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(n,e,i){let r;i.overlayX=="center"?r=-e.width/2:i.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let o;return i.overlayY=="center"?o=-e.height/2:o=i.overlayY=="top"?0:-e.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,e,i,r){let o=nT(e),{x:a,y:s}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(a+=l),c&&(s+=c);let d=0-a,m=a+o.width-i.width,p=0-s,f=s+o.height-i.height,g=this._subtractOverflows(o.width,d,m),_=this._subtractOverflows(o.height,p,f),E=g*_;return{visibleArea:E,isCompletelyWithinViewport:o.width*o.height===E,fitsInViewportVertically:_===o.height,fitsInViewportHorizontally:g==o.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){let r=i.bottom-e.y,o=i.right-e.x,a=tT(this._overlayRef.getConfig().minHeight),s=tT(this._overlayRef.getConfig().minWidth),l=n.fitsInViewportVertically||a!=null&&a<=r,c=n.fitsInViewportHorizontally||s!=null&&s<=o;return l&&c}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let r=nT(e),o=this._viewportRect,a=Math.max(n.x+r.width-o.width,0),s=Math.max(n.y+r.height-o.height,0),l=Math.max(o.top-i.top-n.y,0),c=Math.max(o.left-i.left-n.x,0),d=0,m=0;return r.width<=o.width?d=c||-a:d=n.xg&&!this._isInitialRender&&!this._growAfterOpen&&(a=n.y-g/2)}let l=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,c=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,d,m,p;if(c)p=i.width-n.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),d=n.x-this._getViewportMarginStart();else if(l)m=n.x,d=i.right-n.x-this._getViewportMarginEnd();else{let f=Math.min(i.right-n.x+i.left,n.x),g=this._lastBoundingBoxSize.width;d=f*2,m=n.x-f,d>g&&!this._isInitialRender&&!this._growAfterOpen&&(m=n.x-g/2)}return{top:a,left:m,bottom:s,right:p,width:d,height:o}}_setBoundingBoxStyles(n,e){let i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right="auto",r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;r.width=Yt(i.width),r.height=Yt(i.height),r.top=Yt(i.top)||"auto",r.bottom=Yt(i.bottom)||"auto",r.left=Yt(i.left)||"auto",r.right=Yt(i.right)||"auto",e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=Yt(o)),a&&(r.maxWidth=Yt(a))}this._lastBoundingBoxSize=i,Ya(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Ya(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ya(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();Ya(i,this._getExactOverlayY(e,n,d)),Ya(i,this._getExactOverlayX(e,n,d))}else i.position="static";let s="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(s+=`translateX(${l}px) `),c&&(s+=`translateY(${c}px)`),i.transform=s.trim(),a.maxHeight&&(r?i.maxHeight=Yt(a.maxHeight):o&&(i.maxHeight="")),a.maxWidth&&(r?i.maxWidth=Yt(a.maxWidth):o&&(i.maxWidth="")),Ya(this._pane.style,i)}_getExactOverlayY(n,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),n.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;r.bottom=`${a-(o.y+this._overlayRect.height)}px`}else r.top=Yt(o.y);return r}_getExactOverlayX(n,e,i){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i));let a;if(this._isRtl()?a=n.overlayX==="end"?"left":"right":a=n.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;r.right=`${s-(o.x+this._overlayRect.width)}px`}else r.left=Yt(o.x);return r}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Xk(n,i),isOriginOutsideView:Ex(n,i),isOverlayClipped:Xk(e,i),isOverlayOutsideView:Ex(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._getViewportMarginTop(),left:i.left+this._getViewportMarginStart(),right:i.left+n-this._getViewportMarginEnd(),bottom:i.top+e-this._getViewportMarginBottom(),width:n-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:e-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&ml(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getViewportMarginStart(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){let n=this._origin;if(n instanceof $)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}_getContainerRect(){let n=this._overlayRef.getConfig().usePopover&&this._popoverLocation!=="global",e=this._overlayContainer.getContainerElement();n&&(e.style.display="block");let i=e.getBoundingClientRect();return n&&(e.style.display=""),i}};function Ya(t,n){for(let e in n)Object.hasOwn(n,e)&&(t[e]=n[e]);return t}function tT(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(jz);return!e||e==="px"?parseFloat(n):null}return t||null}function nT(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function Bz(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}var iT="cdk-global-overlay-wrapper";function Al(t){return new Jp}var Jp=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(iT),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:a,maxHeight:s}=i,l=(r==="100%"||r==="100vw")&&(!a||a==="100%"||a==="100vw"),c=(o==="100%"||o==="100vh")&&(!s||s==="100%"||s==="100vh"),d=this._xPosition,m=this._xOffset,p=this._overlayRef.getConfig().direction==="rtl",f="",g="",_="";l?_="flex-start":d==="center"?(_="center",p?g=m:f=m):p?d==="left"||d==="end"?(_="flex-end",f=m):(d==="right"||d==="start")&&(_="flex-start",g=m):d==="left"||d==="start"?(_="flex-start",f=m):(d==="right"||d==="end")&&(_="flex-end",g=m),n.position=this._cssPosition,n.marginLeft=l?"0":f,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":g,e.justifyContent=_,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(iT),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},dT=(()=>{class t{_injector=u(ne);global(){return Al()}flexibleConnectedTo(e){return Ka(this._injector,e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),$d=new C("OVERLAY_DEFAULT_CONFIG");function oo(t,n){t.get(Dt).load(cT);let e=t.get(eh),i=t.get(oe),r=t.get(st),o=t.get(un),a=t.get(Jt),s=t.get(He,null,{optional:!0})||t.get(Vt).createRenderer(null,null),l=new no(n),c=t.get($d,null,{optional:!0})?.usePopover??!0;l.direction=l.direction||a.value,!i.body||!("showPopover"in i.body)?l.usePopover=!1:l.usePopover=n?.usePopover??c;let d=i.createElement("div"),m=i.createElement("div");d.id=r.getId("cdk-overlay-"),d.classList.add("cdk-overlay-pane"),m.appendChild(d),l.usePopover&&(m.setAttribute("popover","manual"),m.classList.add("cdk-overlay-popover"));let p=l.usePopover?l.positionStrategy?.getPopoverInsertionPoint?.():null;return Mx(p)?p.after(m):p?.type==="parent"?p.element.appendChild(m):e.getContainerElement().appendChild(m),new kl(new Hd(d,o,t),m,d,l,t.get(O),t.get(sT),i,t.get(br),t.get(lT),n?.disableAnimations??t.get(Vo,null,{optional:!0})==="NoopAnimations",t.get(lt),s)}var uT=(()=>{class t{scrollStrategies=u(oT);_positionBuilder=u(dT);_injector=u(ne);create(e){return oo(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),zz=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Hz=new C("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(ne);return()=>ro(t)}}),Tl=(()=>{class t{elementRef=u($);static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),mT=new C("cdk-connected-overlay-default-config"),th=(()=>{class t{_dir=u(Jt,{optional:!0});_injector=u(ne);_overlayRef;_templatePortal;_backdropSubscription=xe.EMPTY;_attachSubscription=xe.EMPTY;_detachSubscription=xe.EMPTY;_positionSubscription=xe.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=u(Hz);_ngZone=u(O);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;disposeOnNavigation=!1;usePopover;matchWidth=!1;set _config(e){typeof e!="string"&&this._assignConfig(e)}backdropClick=new H;positionChange=new H;attach=new H;detach=new H;overlayKeydown=new H;overlayOutsideClick=new H;constructor(){let e=u(qt),i=u(Bt),r=u(mT,{optional:!0}),o=u($d,{optional:!0});this.usePopover=o?.usePopover===!1?null:"global",this._templatePortal=new qn(e,i),this.scrollStrategy=this._scrollStrategyFactory(),r&&this._assignConfig(r)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this._getWidth(),minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=zz);let e=this._overlayRef=oo(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!Ht(i)&&(i.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let r=this._getOriginElement(),o=vn(i);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new no({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector).withPopoverLocation(this.usePopover===null?"global":this.usePopover)}_createPositionStrategy(){let e=Ka(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Tl?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Tl?this.origin.elementRef.nativeElement:this.origin instanceof $?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_getWidth(){return this.width?this.width:this.matchWidth?this._getOriginElement()?.getBoundingClientRect?.().width:void 0}attachOverlay(){this._overlayRef||this._createOverlay();let e=this._overlayRef;e.getConfig().hasBackdrop=this.hasBackdrop,e.updateSize({width:this._getWidth()}),e.hasAttached()||e.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=e.backdropClick().subscribe(i=>this.backdropClick.emit(i)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(lb(()=>this.positionChange.observers.length>0)).subscribe(i=>{this._ngZone.run(()=>this.positionChange.emit(i)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}_assignConfig(e){this.origin=e.origin??this.origin,this.positions=e.positions??this.positions,this.positionStrategy=e.positionStrategy??this.positionStrategy,this.offsetX=e.offsetX??this.offsetX,this.offsetY=e.offsetY??this.offsetY,this.width=e.width??this.width,this.height=e.height??this.height,this.minWidth=e.minWidth??this.minWidth,this.minHeight=e.minHeight??this.minHeight,this.backdropClass=e.backdropClass??this.backdropClass,this.panelClass=e.panelClass??this.panelClass,this.viewportMargin=e.viewportMargin??this.viewportMargin,this.scrollStrategy=e.scrollStrategy??this.scrollStrategy,this.disableClose=e.disableClose??this.disableClose,this.transformOriginSelector=e.transformOriginSelector??this.transformOriginSelector,this.hasBackdrop=e.hasBackdrop??this.hasBackdrop,this.lockPosition=e.lockPosition??this.lockPosition,this.flexibleDimensions=e.flexibleDimensions??this.flexibleDimensions,this.growAfterOpen=e.growAfterOpen??this.growAfterOpen,this.push=e.push??this.push,this.disposeOnNavigation=e.disposeOnNavigation??this.disposeOnNavigation,this.usePopover=e.usePopover??this.usePopover,this.matchWidth=e.matchWidth??this.matchWidth}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",G],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",G],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",G],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",G],push:[2,"cdkConnectedOverlayPush","push",G],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",e=>e==="url-change"||e==="pop-state"?e:G(e)],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",G],_config:[0,"cdkConnectedOverlay","_config"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[nt]})}return t})(),Qi=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({providers:[uT],imports:[Qe,to,Cx,Cx]})}return t})();function Qa(t){return t.buttons===0||t.detail===0}function Za(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var Gd;function fT(){if(Gd==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Gd=!0}))}finally{Gd=Gd||!1}return Gd}function Rl(t){return fT()?t:!!t.capture}var pT=new C("cdk-input-modality-detector-options"),hT={ignoreKeys:[18,17,224,91,16]},gT=650,Ix={passive:!0,capture:!0},bT=(()=>{class t{_platform=u($e);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Kt(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(i=>i===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=vn(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs{if(Za(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=vn(e)};constructor(){let e=u(O),i=u(oe),r=u(pT,{optional:!0});if(this._options=w(w({},hT),r),this.modalityDetected=this._modality.pipe(_a(1)),this.modalityChanged=this.modalityDetected.pipe(Is()),this._platform.isBrowser){let o=u(Vt).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[o.listen(i,"keydown",this._onKeydown,Ix),o.listen(i,"mousedown",this._onMousedown,Ix),o.listen(i,"touchstart",this._onTouchstart,Ix)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),Wd=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(Wd||{}),vT=new C("cdk-focus-monitor-default-options"),nh=Rl({passive:!0,capture:!0}),Yn=(()=>{class t{_ngZone=u(O);_platform=u($e);_inputModalityDetector=u(bT);_origin=null;_lastFocusOrigin=null;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=u(oe);_stopInputModalityDetector=new R;constructor(){let e=u(vT,{optional:!0});this._detectionMode=e?.detectionMode||Wd.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let i=vn(e);for(let r=i;r;r=r.parentElement)e.type==="focus"?this._onFocus(e,r):this._onBlur(e,r)};monitor(e,i=!1){let r=Ln(e);if(!this._platform.isBrowser||r.nodeType!==1)return pe();let o=_x(r)||this._document,a=this._elementInfo.get(r);if(a)return i&&(a.checkChildren=!0),a.subject;let s={checkChildren:i,subject:new R,rootNode:o};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let i=Ln(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){let o=Ln(e),a=this._document.activeElement;o===a?this._getClosestElementsInfo(o).forEach(([s,l])=>this._originChanged(s,i,l)):(this._setOrigin(i),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Wd.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===Wd.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?gT:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,i){let r=this._elementInfo.get(i),o=vn(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){let r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,nh),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,nh)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ye(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,nh),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,nh),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let a=0;a{class t{_elementRef=u($);_focusMonitor=u(Yn);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new H;get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();var Ol=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=F({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-visually-hidden { border: 0; clip: rect(0 0 0 0); height: 1px; @@ -160,14 +160,14 @@ ${e.map((i,r)=>`${r+1}) ${i.toString()}`).join(` left: auto; right: 0; } -`],encapsulation:2})}return t})(),ih;function Uz(){if(ih===void 0&&(ih=null,typeof window<"u")){let t=window;if(t.trustedTypes!==void 0)try{ih=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n})}catch(n){console.error(n)}}return ih}function $z(t){return Uz()?.createHTML(t)||t}function yT(t,n,e){let i=e.sanitize(ut.HTML,n);t.innerHTML=$z(i||"")}function Gz(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;if(t.type==="childList"){for(let n=0;n{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),xT=(()=>{class t{_mutationObserverFactory=u(_T);_observedElements=new Map;_ngZone=u(O);ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){let i=Ln(e);return new fe(r=>{let a=this._observeElement(i).pipe(Ae(s=>s.filter(l=>!Gz(l))),Me(s=>!!s.length)).subscribe(s=>{this._ngZone.run(()=>{r.next(s)})});return()=>{a.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let i=new R,r=this._mutationObserverFactory.create(o=>i.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:i,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),CT=(()=>{class t{_contentObserver=u(xT);_elementRef=u($);event=new H;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(e){this._debounce=qi(e),this._subscribe()}_debounce;_currentSubscription=null;ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(Ai(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",G],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return t})(),rh=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({providers:[_T]})}return t})();var Ax=(()=>{class t{_platform=u($e);isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return qz(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=Wz(tH(e));if(i&&(wT(i)===-1||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=wT(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Jz(e)?!1:r==="audio"?e.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,i){return eH(e)&&!this.isDisabled(e)&&(i?.ignoreInert||!e.closest?.("[inert]"))&&(i?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function Wz(t){try{return t.frameElement}catch(n){return null}}function qz(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function Yz(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function Kz(t){return Zz(t)&&t.type=="hidden"}function Qz(t){return Xz(t)&&t.hasAttribute("href")}function Zz(t){return t.nodeName.toLowerCase()=="input"}function Xz(t){return t.nodeName.toLowerCase()=="a"}function DT(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function wT(t){if(!DT(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function Jz(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function eH(t){return Kz(t)?!1:Yz(t)||Qz(t)||t.hasAttribute("contenteditable")||DT(t)}function tH(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var Nx=class{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=!1;startAnchorListener=()=>{!this.focusLastTabbableElement()&&this._checker.isFocusable(this._element)&&this._element.focus()};endAnchorListener=()=>{!this.focusFirstTabbableElement()&&this._checker.isFocusable(this._element)&&this._element.focus()};get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_enabled=!0;constructor(n,e,i,r,o=!1,a){this._element=n,this._checker=e,this._ngZone=i,this._document=r,this._injector=a,o||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=0;i=0;i--){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){jt(n,{injector:this._injector})}},Rx=(()=>{class t{_checker=u(Ax);_ngZone=u(O);_document=u(oe);_injector=u(ne);constructor(){u(Dt).load(Ol)}create(e,i=!1){return new Nx(e,this._checker,this._ngZone,this._document,i,this._injector)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();var MT=new C("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),IT=new C("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),nH=0,Ox=(()=>{class t{_ngZone=u(O);_defaultOptions=u(IT,{optional:!0});_liveElement;_document=u(oe);_sanitizer=u(yd);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=u(MT,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...i){let r=this._defaultOptions,o,a;return i.length===1&&typeof i[0]=="number"?a=i[0]:[o,a]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),a==null&&r&&(a=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{!e||typeof e=="string"?this._liveElement.textContent=e:yT(this._liveElement,e,this._sanitizer),typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{class t{_platform=u($e);_hasCheckedHighContrastMode=!1;_document=u(oe);_breakpointSubscription;constructor(){this._breakpointSubscription=u(j_).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Qo.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Qo.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Qo.BLACK_ON_WHITE}return Qo.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Tx,ST,ET),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Qo.BLACK_ON_WHITE?e.add(Tx,ST):i===Qo.WHITE_ON_BLACK&&e.add(Tx,ET)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),qd=(()=>{class t{constructor(){u(kT)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({imports:[rh]})}return t})();var Zo=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext;bindings};var Fx=(()=>{class t extends Il{_elementRef=u($);_focusTrapFactory=u(Rx);_config;_interactivityChecker=u(Ax);_ngZone=u(O);_focusMonitor=u(qn);_renderer=u(He);_changeDetectorRef=u(We);_injector=u(ne);_platform=u($e);_document=u(oe);_portalOutlet;_focusTrapped=new R;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=u(Zo,{optional:!0})||new Zo,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}attachDomPortal=e=>{this._portalOutlet.hasAttached();let i=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),i};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{o(),a(),e.removeAttribute("tabindex")},o=this._renderer.listen(e,"blur",r),a=this._renderer.listen(e,"mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(e){this._isDestroyed||jt(()=>{let i=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||i.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&typeof i.focus=="function"){let r=jd(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus?.(e)}_containsFocus(){let e=this._elementRef.nativeElement,i=jd();return e===i||e.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=jd()))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){function e(i,r){}return F({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(r,o){if(r&1&&it(Er,7),r&2){let a;X(a=J())&&(o._portalOutlet=a.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(r,o){r&2&&ye("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},features:[Ge],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(r,o){r&1&&sn(0,e,0,0,"ng-template",0)},dependencies:[Er],styles:[`.cdk-dialog-container { +`],encapsulation:2})}return t})(),ih;function Uz(){if(ih===void 0&&(ih=null,typeof window<"u")){let t=window;if(t.trustedTypes!==void 0)try{ih=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n})}catch(n){console.error(n)}}return ih}function $z(t){return Uz()?.createHTML(t)||t}function yT(t,n,e){let i=e.sanitize(ut.HTML,n);t.innerHTML=$z(i||"")}function Gz(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;if(t.type==="childList"){for(let n=0;n{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),xT=(()=>{class t{_mutationObserverFactory=u(_T);_observedElements=new Map;_ngZone=u(O);ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){let i=Ln(e);return new fe(r=>{let a=this._observeElement(i).pipe(Ae(s=>s.filter(l=>!Gz(l))),Me(s=>!!s.length)).subscribe(s=>{this._ngZone.run(()=>{r.next(s)})});return()=>{a.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let i=new R,r=this._mutationObserverFactory.create(o=>i.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:i,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),CT=(()=>{class t{_contentObserver=u(xT);_elementRef=u($);event=new H;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(e){this._debounce=qi(e),this._subscribe()}_debounce;_currentSubscription=null;ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(Ai(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",G],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return t})(),rh=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({providers:[_T]})}return t})();var Ax=(()=>{class t{_platform=u($e);isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return qz(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=Wz(tH(e));if(i&&(wT(i)===-1||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=wT(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Jz(e)?!1:r==="audio"?e.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,i){return eH(e)&&!this.isDisabled(e)&&(i?.ignoreInert||!e.closest?.("[inert]"))&&(i?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function Wz(t){try{return t.frameElement}catch(n){return null}}function qz(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function Yz(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function Kz(t){return Zz(t)&&t.type=="hidden"}function Qz(t){return Xz(t)&&t.hasAttribute("href")}function Zz(t){return t.nodeName.toLowerCase()=="input"}function Xz(t){return t.nodeName.toLowerCase()=="a"}function DT(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function wT(t){if(!DT(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function Jz(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function eH(t){return Kz(t)?!1:Yz(t)||Qz(t)||t.hasAttribute("contenteditable")||DT(t)}function tH(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var Nx=class{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=!1;startAnchorListener=()=>{!this.focusLastTabbableElement()&&this._checker.isFocusable(this._element)&&this._element.focus()};endAnchorListener=()=>{!this.focusFirstTabbableElement()&&this._checker.isFocusable(this._element)&&this._element.focus()};get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_enabled=!0;constructor(n,e,i,r,o=!1,a){this._element=n,this._checker=e,this._ngZone=i,this._document=r,this._injector=a,o||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=0;i=0;i--){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){jt(n,{injector:this._injector})}},Rx=(()=>{class t{_checker=u(Ax);_ngZone=u(O);_document=u(oe);_injector=u(ne);constructor(){u(Dt).load(Ol)}create(e,i=!1){return new Nx(e,this._checker,this._ngZone,this._document,i,this._injector)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();var MT=new C("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),IT=new C("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),nH=0,Ox=(()=>{class t{_ngZone=u(O);_defaultOptions=u(IT,{optional:!0});_liveElement;_document=u(oe);_sanitizer=u(yd);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=u(MT,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...i){let r=this._defaultOptions,o,a;return i.length===1&&typeof i[0]=="number"?a=i[0]:[o,a]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),a==null&&r&&(a=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{!e||typeof e=="string"?this._liveElement.textContent=e:yT(this._liveElement,e,this._sanitizer),typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{class t{_platform=u($e);_hasCheckedHighContrastMode=!1;_document=u(oe);_breakpointSubscription;constructor(){this._breakpointSubscription=u(j_).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Zo.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Zo.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Zo.BLACK_ON_WHITE}return Zo.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Tx,ST,ET),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Zo.BLACK_ON_WHITE?e.add(Tx,ST):i===Zo.WHITE_ON_BLACK&&e.add(Tx,ET)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),qd=(()=>{class t{constructor(){u(kT)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({imports:[rh]})}return t})();var Xo=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext;bindings};var Fx=(()=>{class t extends Il{_elementRef=u($);_focusTrapFactory=u(Rx);_config;_interactivityChecker=u(Ax);_ngZone=u(O);_focusMonitor=u(Yn);_renderer=u(He);_changeDetectorRef=u(We);_injector=u(ne);_platform=u($e);_document=u(oe);_portalOutlet;_focusTrapped=new R;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=u(Xo,{optional:!0})||new Xo,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}attachDomPortal=e=>{this._portalOutlet.hasAttached();let i=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),i};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{o(),a(),e.removeAttribute("tabindex")},o=this._renderer.listen(e,"blur",r),a=this._renderer.listen(e,"mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(e){this._isDestroyed||jt(()=>{let i=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||i.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&typeof i.focus=="function"){let r=jd(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus?.(e)}_containsFocus(){let e=this._elementRef.nativeElement,i=jd();return e===i||e.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=jd()))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){function e(i,r){}return F({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(r,o){if(r&1&&it(Er,7),r&2){let a;X(a=J())&&(o._portalOutlet=a.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(r,o){r&2&&ye("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},features:[Ge],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(r,o){r&1&&sn(0,e,0,0,"ng-template",0)},dependencies:[Er],styles:[`.cdk-dialog-container { display: block; width: 100%; height: 100%; min-height: inherit; max-height: inherit; } -`],encapsulation:2,changeDetection:1})})()}return t})(),Za=class{overlayRef;config;componentInstance=null;componentRef=null;containerInstance;disableClose;closed=new R;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(n,e){this.overlayRef=n,this.config=e,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{i.keyCode===27&&!this.disableClose&&!Ht(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=n.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(n,e){if(this._canClose(n)){let i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}_canClose(n){let e=this.config;return!!this.containerInstance&&(!e.closePredicate||e.closePredicate(n,e,this.componentInstance))}},iH=new C("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=u(ne);return()=>Nl(t)}}),rH=new C("DialogData"),oH=new C("DefaultDialogConfig");function aH(t){let n=he(t),e=new H;return{valueSignal:n,get value(){return n()},change:e,ngOnDestroy(){e.complete()}}}var Lx=(()=>{class t{_injector=u(ne);_defaultOptions=u(oH,{optional:!0});_parentDialog=u(t,{optional:!0,skipSelf:!0});_overlayContainer=u(eh);_idGenerator=u(st);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new R;_afterOpenedAtThisLevel=new R;_ariaHiddenElements=new Map;_scrollStrategy=u(iH);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=Ni(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(vt(void 0)));open(e,i){let r=this._defaultOptions||new Zo;i=w(w({},r),i),i.id=i.id||this._idGenerator.getId("cdk-dialog-"),i.id&&this.getDialogById(i.id);let o=this._getOverlayConfig(i),a=oo(this._injector,o),s=new Za(a,i),l=this._attachContainer(a,s,i);if(s.containerInstance=l,!this.openDialogs.length){let c=this._overlayContainer.getContainerElement();l._focusTrapped?l._focusTrapped.pipe(Pt(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(c)}):this._hideNonDialogContentFromAssistiveTechnology(c)}return this._attachDialogContent(e,s,l,i),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){Px(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){Px(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),Px(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let i=new no({positionStrategy:e.positionStrategy||Al().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation,disableAnimations:e.disableAnimations});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,r){let o=r.injector||r.viewContainerRef?.injector,a=[{provide:Zo,useValue:r},{provide:Za,useValue:i},{provide:kl,useValue:e}],s;r.container?typeof r.container=="function"?s=r.container:(s=r.container.type,a.push(...r.container.providers(r))):s=Fx;let l=new Ko(s,r.viewContainerRef,ne.create({parent:o||this._injector,providers:a}));return e.attach(l).instance}_attachDialogContent(e,i,r,o){if(e instanceof qt){let a=this._createInjector(o,i,r,void 0),s={$implicit:o.data,dialogRef:i};o.templateContext&&(s=w(w({},s),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new Wn(e,null,s,a))}else{let a=this._createInjector(o,i,r,this._injector),s=r.attachComponentPortal(new Ko(e,o.viewContainerRef,a,null,o.bindings));i.componentRef=s,i.componentInstance=s.instance}}_createInjector(e,i,r,o){let a=e.injector||e.viewContainerRef?.injector,s=[{provide:rH,useValue:e.data},{provide:Za,useValue:i}];return e.providers&&(typeof e.providers=="function"?s.push(...e.providers(i,e,r)):s.push(...e.providers)),e.direction&&(!a||!a.get(Jt,null,{optional:!0}))&&s.push({provide:Jt,useValue:aH(e.direction)}),ne.create({parent:a||o,providers:s})}_removeOpenDialog(e,i){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,a)=>{o?a.setAttribute("aria-hidden",o):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){let o=i[r];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&!o.hasAttribute("popover")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function Px(t,n){let e=t.length;for(;e--;)n(t[e])}var TT=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({providers:[Lx],imports:[Qi,to,qd,to]})}return t})();function ao(t){return t!=null&&`${t}`!="false"}var sH=new C("MATERIAL_ANIMATIONS"),NT=null;function lH(){return u(sH,{optional:!0})?.animationsDisabled||u(Lo,{optional:!0})==="NoopAnimations"?"di-disabled":(NT??=u(fl).matchMedia("(prefers-reduced-motion)").matches,NT?"reduced-motion":"enabled")}function dt(){return lH()!=="enabled"}var cH=200,oh=class{_letterKeyStream=new R;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new R;selectedItem=this._selectedItem;constructor(n,e){let i=typeof e?.debounceInterval=="number"?e.debounceInterval:cH;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(wn(e=>this._pressedLetters.push(e)),Ai(n),Me(()=>this._pressedLetters.length>0),Ae(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;in.disabled;constructor(n,e){this._items=n,n instanceof ni?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):Mn(n)&&(this._effectRef=ti(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new R;change=new R;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new oh(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex())}onKeydown(n){let e=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex()+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o-1&&i!==this._activeItemIndex()&&(this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i))}}};var Xd=class extends Pl{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var so=class extends Pl{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};var OT=" ";function dH(t,n,e){let i=sh(t,n);e=e.trim(),!i.some(r=>r.trim()===e)&&(i.push(e),t.setAttribute(n,i.join(OT)))}function uH(t,n,e){let i=sh(t,n);e=e.trim();let r=i.filter(o=>o!==e);r.length?t.setAttribute(n,r.join(OT)):t.removeAttribute(n)}function sh(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}var PT="cdk-describedby-message",ah="cdk-describedby-host",jx=0,FT=(()=>{class t{_platform=u($e);_document=u(oe);_messageRegistry=new Map;_messagesContainer=null;_id=`${jx++}`;constructor(){u(Dt).load(Ol),this._id=u(Gr)+"-"+jx++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;let o=Vx(i,r);typeof i!="string"?(RT(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;let o=Vx(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof i=="string"){let a=this._messageRegistry.get(o);a&&a.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${ah}="${this._id}"]`);for(let i=0;ir.indexOf(PT)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let r=this._messageRegistry.get(i);dH(e,"aria-describedby",r.messageElement.id),e.setAttribute(ah,this._id),r.referenceCount++}_removeMessageReference(e,i){let r=this._messageRegistry.get(i);r.referenceCount--,uH(e,"aria-describedby",r.messageElement.id),e.removeAttribute(ah)}_isElementDescribedByMessage(e,i){let r=sh(e,"aria-describedby"),o=this._messageRegistry.get(i),a=o&&o.messageElement.id;return!!a&&r.indexOf(a)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let r=i==null?"":`${i}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function Vx(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function RT(t,n){t.id||(t.id=`${PT}-${n}-${jx++}`)}var ch=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration;bindings},Bx="mdc-dialog--open",LT="mdc-dialog--opening",VT="mdc-dialog--closing",mH=150,fH=75,pH=(()=>{class t extends Fx{_animationStateChanged=new H;_animationsEnabled=!dt();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?BT(this._config.enterAnimationDuration)??mH:0;_exitAnimationDuration=this._animationsEnabled?BT(this._config.exitAnimationDuration)??fH:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(jT,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(LT,Bx)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Bx),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Bx),this._animationsEnabled?(this._hostElement.style.setProperty(jT,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(VT)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(LT,VT)}_waitForAnimationToComplete(e,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Zt(t)))(r||t)}})();static \u0275cmp=(function(){function e(i,r){}return F({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(r,o){r&2&&(On("id",o._config.id),ye("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),ie("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},features:[Ge],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(r,o){r&1&&(b(0,"div",0)(1,"div",1),sn(2,e,0,0,"ng-template",2),v()())},dependencies:[Er],styles:[`.mat-mdc-dialog-container { +`],encapsulation:2,changeDetection:1})})()}return t})(),Xa=class{overlayRef;config;componentInstance=null;componentRef=null;containerInstance;disableClose;closed=new R;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(n,e){this.overlayRef=n,this.config=e,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{i.keyCode===27&&!this.disableClose&&!Ht(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=n.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(n,e){if(this._canClose(n)){let i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}_canClose(n){let e=this.config;return!!this.containerInstance&&(!e.closePredicate||e.closePredicate(n,e,this.componentInstance))}},iH=new C("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=u(ne);return()=>Nl(t)}}),rH=new C("DialogData"),oH=new C("DefaultDialogConfig");function aH(t){let n=he(t),e=new H;return{valueSignal:n,get value(){return n()},change:e,ngOnDestroy(){e.complete()}}}var Lx=(()=>{class t{_injector=u(ne);_defaultOptions=u(oH,{optional:!0});_parentDialog=u(t,{optional:!0,skipSelf:!0});_overlayContainer=u(eh);_idGenerator=u(st);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new R;_afterOpenedAtThisLevel=new R;_ariaHiddenElements=new Map;_scrollStrategy=u(iH);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=Ni(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(vt(void 0)));open(e,i){let r=this._defaultOptions||new Xo;i=w(w({},r),i),i.id=i.id||this._idGenerator.getId("cdk-dialog-"),i.id&&this.getDialogById(i.id);let o=this._getOverlayConfig(i),a=oo(this._injector,o),s=new Xa(a,i),l=this._attachContainer(a,s,i);if(s.containerInstance=l,!this.openDialogs.length){let c=this._overlayContainer.getContainerElement();l._focusTrapped?l._focusTrapped.pipe(Pt(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(c)}):this._hideNonDialogContentFromAssistiveTechnology(c)}return this._attachDialogContent(e,s,l,i),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){Px(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){Px(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),Px(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let i=new no({positionStrategy:e.positionStrategy||Al().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation,disableAnimations:e.disableAnimations});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,r){let o=r.injector||r.viewContainerRef?.injector,a=[{provide:Xo,useValue:r},{provide:Xa,useValue:i},{provide:kl,useValue:e}],s;r.container?typeof r.container=="function"?s=r.container:(s=r.container.type,a.push(...r.container.providers(r))):s=Fx;let l=new Qo(s,r.viewContainerRef,ne.create({parent:o||this._injector,providers:a}));return e.attach(l).instance}_attachDialogContent(e,i,r,o){if(e instanceof qt){let a=this._createInjector(o,i,r,void 0),s={$implicit:o.data,dialogRef:i};o.templateContext&&(s=w(w({},s),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new qn(e,null,s,a))}else{let a=this._createInjector(o,i,r,this._injector),s=r.attachComponentPortal(new Qo(e,o.viewContainerRef,a,null,o.bindings));i.componentRef=s,i.componentInstance=s.instance}}_createInjector(e,i,r,o){let a=e.injector||e.viewContainerRef?.injector,s=[{provide:rH,useValue:e.data},{provide:Xa,useValue:i}];return e.providers&&(typeof e.providers=="function"?s.push(...e.providers(i,e,r)):s.push(...e.providers)),e.direction&&(!a||!a.get(Jt,null,{optional:!0}))&&s.push({provide:Jt,useValue:aH(e.direction)}),ne.create({parent:a||o,providers:s})}_removeOpenDialog(e,i){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,a)=>{o?a.setAttribute("aria-hidden",o):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){let o=i[r];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&!o.hasAttribute("popover")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function Px(t,n){let e=t.length;for(;e--;)n(t[e])}var TT=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({providers:[Lx],imports:[Qi,to,qd,to]})}return t})();function ao(t){return t!=null&&`${t}`!="false"}var sH=new C("MATERIAL_ANIMATIONS"),NT=null;function lH(){return u(sH,{optional:!0})?.animationsDisabled||u(Vo,{optional:!0})==="NoopAnimations"?"di-disabled":(NT??=u(fl).matchMedia("(prefers-reduced-motion)").matches,NT?"reduced-motion":"enabled")}function dt(){return lH()!=="enabled"}var cH=200,oh=class{_letterKeyStream=new R;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new R;selectedItem=this._selectedItem;constructor(n,e){let i=typeof e?.debounceInterval=="number"?e.debounceInterval:cH;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(wn(e=>this._pressedLetters.push(e)),Ai(n),Me(()=>this._pressedLetters.length>0),Ae(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;in.disabled;constructor(n,e){this._items=n,n instanceof ii?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):Mn(n)&&(this._effectRef=ni(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new R;change=new R;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new oh(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex())}onKeydown(n){let e=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex()+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o-1&&i!==this._activeItemIndex()&&(this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i))}}};var Xd=class extends Pl{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var so=class extends Pl{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};var OT=" ";function dH(t,n,e){let i=sh(t,n);e=e.trim(),!i.some(r=>r.trim()===e)&&(i.push(e),t.setAttribute(n,i.join(OT)))}function uH(t,n,e){let i=sh(t,n);e=e.trim();let r=i.filter(o=>o!==e);r.length?t.setAttribute(n,r.join(OT)):t.removeAttribute(n)}function sh(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}var PT="cdk-describedby-message",ah="cdk-describedby-host",jx=0,FT=(()=>{class t{_platform=u($e);_document=u(oe);_messageRegistry=new Map;_messagesContainer=null;_id=`${jx++}`;constructor(){u(Dt).load(Ol),this._id=u(Gr)+"-"+jx++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;let o=Vx(i,r);typeof i!="string"?(RT(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;let o=Vx(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof i=="string"){let a=this._messageRegistry.get(o);a&&a.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${ah}="${this._id}"]`);for(let i=0;ir.indexOf(PT)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let r=this._messageRegistry.get(i);dH(e,"aria-describedby",r.messageElement.id),e.setAttribute(ah,this._id),r.referenceCount++}_removeMessageReference(e,i){let r=this._messageRegistry.get(i);r.referenceCount--,uH(e,"aria-describedby",r.messageElement.id),e.removeAttribute(ah)}_isElementDescribedByMessage(e,i){let r=sh(e,"aria-describedby"),o=this._messageRegistry.get(i),a=o&&o.messageElement.id;return!!a&&r.indexOf(a)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let r=i==null?"":`${i}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function Vx(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function RT(t,n){t.id||(t.id=`${PT}-${n}-${jx++}`)}var ch=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration;bindings},Bx="mdc-dialog--open",LT="mdc-dialog--opening",VT="mdc-dialog--closing",mH=150,fH=75,pH=(()=>{class t extends Fx{_animationStateChanged=new H;_animationsEnabled=!dt();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?BT(this._config.enterAnimationDuration)??mH:0;_exitAnimationDuration=this._animationsEnabled?BT(this._config.exitAnimationDuration)??fH:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(jT,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(LT,Bx)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Bx),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Bx),this._animationsEnabled?(this._hostElement.style.setProperty(jT,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(VT)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(LT,VT)}_waitForAnimationToComplete(e,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Zt(t)))(r||t)}})();static \u0275cmp=(function(){function e(i,r){}return F({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(r,o){r&2&&(On("id",o._config.id),ye("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),ie("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},features:[Ge],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(r,o){r&1&&(b(0,"div",0)(1,"div",1),sn(2,e,0,0,"ng-template",2),v()())},dependencies:[Er],styles:[`.mat-mdc-dialog-container { width: 100%; height: 100%; display: block; @@ -356,7 +356,7 @@ ${e.map((i,r)=>`${r+1}) ${i.toString()}`).join(` .mat-mdc-dialog-component-host { display: contents; } -`],encapsulation:2,changeDetection:1})})()}return t})(),jT="--mat-dialog-transition-duration";function BT(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?qi(t.substring(0,t.length-2)):t.endsWith("s")?qi(t.substring(0,t.length-1))*1e3:t==="0"?0:null}var lh=(function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t})(lh||{}),Xa=class{_ref;_config;_containerInstance;componentInstance;componentRef=null;disableClose;id;_afterOpened=new Eo(1);_beforeClosed=new Eo(1);_result;_closeFallbackTimeout;_state=lh.OPEN;_closeInteractionType;constructor(n,e,i){this._ref=n,this._config=e,this._containerInstance=i,this.disableClose=e.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(Me(r=>r.state==="opened"),Pt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(Me(r=>r.state==="closed"),Pt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),rn(this.backdropClick(),this.keydownEvents().pipe(Me(r=>r.keyCode===27&&!this.disableClose&&!Ht(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),zT(this,r.type==="keydown"?"keyboard":"mouse"))})}close(n){let e=this._config.closePredicate;e&&!e(n,this._config,this.componentInstance)||(this._result=n,this._containerInstance._animationStateChanged.pipe(Me(i=>i.state==="closing"),Pt(1)).subscribe(i=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),i.totalTime+100)}),this._state=lh.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=lh.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function zT(t,n,e){return t._closeInteractionType=n,t.close(e)}var Jd=new C("MatMdcDialogData"),hH=new C("mat-mdc-dialog-default-options"),gH=new C("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(ne);return()=>Nl(t)}}),eu=(()=>{class t{_defaultOptions=u(hH,{optional:!0});_scrollStrategy=u(gH);_parentDialog=u(t,{optional:!0,skipSelf:!0});_idGenerator=u(st);_injector=u(ne);_dialog=u(Lx);_animationsDisabled=dt();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new R;_afterOpenedAtThisLevel=new R;dialogConfigClass=ch;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=Ni(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(vt(void 0)));constructor(){this._dialogRefConstructor=Xa,this._dialogContainerType=pH,this._dialogDataToken=Jd}open(e,i){let r;i=w(w({},this._defaultOptions||new ch),i),i.id=i.id||this._idGenerator.getId("mat-mdc-dialog-"),i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,de(w({},i),{positionStrategy:Al(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||i.enterAnimationDuration?.toLocaleString()==="0"||i.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:Zo,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(a,s,l)=>(r=new this._dialogRefConstructor(a,i,l),r.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:r},{provide:Za,useValue:null}])}));return r.componentRef=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let a=this.openDialogs.indexOf(r);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),dh=(()=>{class t{dialogRef=u(Xa,{optional:!0});_elementRef=u($);_dialog=u(eu);ariaLabel;type="button";dialogResult;_matDialogClose;ngOnInit(){this.dialogRef||(this.dialogRef=UT(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let i=e._matDialogClose;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){this._elementRef.nativeElement.getAttribute("aria-disabled")!=="true"&&zT(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,r){i&1&&j("click",function(a){return r._onButtonClick(a)}),i&2&&ye("aria-label",r.ariaLabel||null)("type",r.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[nt]})}return t})(),HT=(()=>{class t{_dialogRef=u(Xa,{optional:!0});_elementRef=u($);_dialog=u(eu);ngOnInit(){this._dialogRef||(this._dialogRef=UT(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t})}return t})(),uh=(()=>{class t extends HT{id=u(st).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Zt(t)))(r||t)}})();static \u0275dir=B({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,r){i&2&&On("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[Ge]})}return t})(),mh=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[Gy([Bd])]})}return t})(),fh=(()=>{class t extends HT{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Zt(t)))(r||t)}})();static \u0275dir=B({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(i,r){i&2&&ie("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},features:[Ge]})}return t})();function UT(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(i=>i.id===e.id):null}var $T=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({providers:[eu],imports:[TT,Qi,to,Qe]})}return t})();var Fl,WT=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function zx(){if(Fl)return Fl;if(typeof document!="object"||!document)return Fl=new Set(WT),Fl;let t=document.createElement("input");return Fl=new Set(WT.filter(n=>(t.setAttribute("type",n),t.type===n))),Fl}var wi=(function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t})(wi||{}),Hx=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=wi.HIDDEN;constructor(n,e,i,r=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}},qT=Rl({passive:!0,capture:!0}),Ux=class{_events=new Map;addHandler(n,e,i,r){let o=this._events.get(e);if(o){let a=o.get(i);a?a.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,qT)})}removeHandler(n,e,i){let r=this._events.get(n);if(!r)return;let o=r.get(e);o&&(o.delete(i),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,qT)))}_delegateEventHandler=n=>{let e=vn(n);e&&this._events.get(n.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(n))})}},tu={enterDuration:225,exitDuration:150},bH=800,YT=Rl({passive:!0,capture:!0}),KT=["mousedown","touchstart"],QT=["mouseup","mouseleave","touchend","touchcancel"],vH=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=F({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`.mat-ripple { +`],encapsulation:2,changeDetection:1})})()}return t})(),jT="--mat-dialog-transition-duration";function BT(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?qi(t.substring(0,t.length-2)):t.endsWith("s")?qi(t.substring(0,t.length-1))*1e3:t==="0"?0:null}var lh=(function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t})(lh||{}),Ja=class{_ref;_config;_containerInstance;componentInstance;componentRef=null;disableClose;id;_afterOpened=new Eo(1);_beforeClosed=new Eo(1);_result;_closeFallbackTimeout;_state=lh.OPEN;_closeInteractionType;constructor(n,e,i){this._ref=n,this._config=e,this._containerInstance=i,this.disableClose=e.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(Me(r=>r.state==="opened"),Pt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(Me(r=>r.state==="closed"),Pt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),rn(this.backdropClick(),this.keydownEvents().pipe(Me(r=>r.keyCode===27&&!this.disableClose&&!Ht(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),zT(this,r.type==="keydown"?"keyboard":"mouse"))})}close(n){let e=this._config.closePredicate;e&&!e(n,this._config,this.componentInstance)||(this._result=n,this._containerInstance._animationStateChanged.pipe(Me(i=>i.state==="closing"),Pt(1)).subscribe(i=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),i.totalTime+100)}),this._state=lh.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=lh.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function zT(t,n,e){return t._closeInteractionType=n,t.close(e)}var Jd=new C("MatMdcDialogData"),hH=new C("mat-mdc-dialog-default-options"),gH=new C("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(ne);return()=>Nl(t)}}),eu=(()=>{class t{_defaultOptions=u(hH,{optional:!0});_scrollStrategy=u(gH);_parentDialog=u(t,{optional:!0,skipSelf:!0});_idGenerator=u(st);_injector=u(ne);_dialog=u(Lx);_animationsDisabled=dt();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new R;_afterOpenedAtThisLevel=new R;dialogConfigClass=ch;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=Ni(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(vt(void 0)));constructor(){this._dialogRefConstructor=Ja,this._dialogContainerType=pH,this._dialogDataToken=Jd}open(e,i){let r;i=w(w({},this._defaultOptions||new ch),i),i.id=i.id||this._idGenerator.getId("mat-mdc-dialog-"),i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,de(w({},i),{positionStrategy:Al(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||i.enterAnimationDuration?.toLocaleString()==="0"||i.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:Xo,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(a,s,l)=>(r=new this._dialogRefConstructor(a,i,l),r.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:r},{provide:Xa,useValue:null}])}));return r.componentRef=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let a=this.openDialogs.indexOf(r);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),dh=(()=>{class t{dialogRef=u(Ja,{optional:!0});_elementRef=u($);_dialog=u(eu);ariaLabel;type="button";dialogResult;_matDialogClose;ngOnInit(){this.dialogRef||(this.dialogRef=UT(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let i=e._matDialogClose;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){this._elementRef.nativeElement.getAttribute("aria-disabled")!=="true"&&zT(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,r){i&1&&j("click",function(a){return r._onButtonClick(a)}),i&2&&ye("aria-label",r.ariaLabel||null)("type",r.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[nt]})}return t})(),HT=(()=>{class t{_dialogRef=u(Ja,{optional:!0});_elementRef=u($);_dialog=u(eu);ngOnInit(){this._dialogRef||(this._dialogRef=UT(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t})}return t})(),uh=(()=>{class t extends HT{id=u(st).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Zt(t)))(r||t)}})();static \u0275dir=B({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,r){i&2&&On("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[Ge]})}return t})(),mh=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[Gy([Bd])]})}return t})(),fh=(()=>{class t extends HT{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Zt(t)))(r||t)}})();static \u0275dir=B({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(i,r){i&2&&ie("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},features:[Ge]})}return t})();function UT(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(i=>i.id===e.id):null}var $T=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({providers:[eu],imports:[TT,Qi,to,Qe]})}return t})();var Fl,WT=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function zx(){if(Fl)return Fl;if(typeof document!="object"||!document)return Fl=new Set(WT),Fl;let t=document.createElement("input");return Fl=new Set(WT.filter(n=>(t.setAttribute("type",n),t.type===n))),Fl}var wi=(function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t})(wi||{}),Hx=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=wi.HIDDEN;constructor(n,e,i,r=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}},qT=Rl({passive:!0,capture:!0}),Ux=class{_events=new Map;addHandler(n,e,i,r){let o=this._events.get(e);if(o){let a=o.get(i);a?a.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,qT)})}removeHandler(n,e,i){let r=this._events.get(n);if(!r)return;let o=r.get(e);o&&(o.delete(i),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,qT)))}_delegateEventHandler=n=>{let e=vn(n);e&&this._events.get(n.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(n))})}},tu={enterDuration:225,exitDuration:150},bH=800,YT=Rl({passive:!0,capture:!0}),KT=["mousedown","touchstart"],QT=["mouseup","mouseleave","touchend","touchcancel"],vH=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=F({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`.mat-ripple { overflow: hidden; position: relative; } @@ -384,7 +384,7 @@ ${e.map((i,r)=>`${r+1}) ${i.toString()}`).join(` .cdk-drag-preview .mat-ripple-element, .cdk-drag-placeholder .mat-ripple-element { display: none; } -`],encapsulation:2})}return t})(),nu=class t{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new Ux;constructor(n,e,i,r,o){this._target=n,this._ngZone=e,this._platform=r,r.isBrowser&&(this._containerElement=Ln(i)),o&&o.get(Dt).load(vH)}fadeInRipple(n,e,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=w(w({},tu),i.animation);i.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);let a=i.radius||yH(n,e,r),s=n-r.left,l=e-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${s-a}px`,d.style.top=`${l-a}px`,d.style.height=`${a*2}px`,d.style.width=`${a*2}px`,i.color!=null&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let m=window.getComputedStyle(d),p=m.transitionProperty,f=m.transitionDuration,g=p==="none"||f==="0s"||f==="0s, 0s"||r.width===0&&r.height===0,_=new Hx(this,d,i,g);d.style.transform="scale3d(1, 1, 1)",_.state=wi.FADING_IN,i.persistent||(this._mostRecentTransientRipple=_);let E=null;return!g&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let L=()=>{E&&(E.fallbackTimer=null),clearTimeout(ee),this._finishRippleTransition(_)},A=()=>this._destroyRipple(_),ee=setTimeout(A,c+100);d.addEventListener("transitionend",L),d.addEventListener("transitioncancel",A),E={onTransitionEnd:L,onTransitionCancel:A,fallbackTimer:ee}}),this._activeRipples.set(_,E),(g||!c)&&this._finishRippleTransition(_),_}fadeOutRipple(n){if(n.state===wi.FADING_OUT||n.state===wi.HIDDEN)return;let e=n.element,i=w(w({},tu),n.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=wi.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=Ln(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,KT.forEach(i=>{t._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{QT.forEach(e=>{this._triggerElement.addEventListener(e,this,YT)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===wi.FADING_IN?this._startFadeOutTransition(n):n.state===wi.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=wi.VISIBLE,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=wi.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=Ka(n),i=this._lastTouchStartEvent&&Date.now(){let e=n.state===wi.VISIBLE||n.config.terminateOnPointerUp&&n.state===wi.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(KT.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(QT.forEach(e=>n.removeEventListener(e,this,YT)),this._pointerUpEventsRegistered=!1))}};function yH(t,n,e){let i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+r*r)}var ph=new C("mat-ripple-global-options"),lo=(()=>{class t{_elementRef=u($);_animationsDisabled=dt();color;unbounded=!1;centered=!1;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=u(O),i=u($e),r=u(ph,{optional:!0}),o=u(ne);this._globalOptions=r||{},this._rippleRenderer=new nu(this,e,this._elementRef,i,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:w(w(w({},this._globalOptions.animation),this._animationsDisabled?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,w(w({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,w(w({},this.rippleConfig),e))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){i&2&&ie("mat-ripple-unbounded",r.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return t})();var _H={capture:!0},xH=["focus","mousedown","mouseenter","touchstart"],$x="mat-ripple-loader-uninitialized",Gx="mat-ripple-loader-class-name",ZT="mat-ripple-loader-centered",hh="mat-ripple-loader-disabled",XT=(()=>{class t{_document=u(oe);_animationsDisabled=dt();_globalRippleOptions=u(ph,{optional:!0});_platform=u($e);_ngZone=u(O);_injector=u(ne);_eventCleanups;_hosts=new Map;constructor(){let e=u(Vt).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>xH.map(i=>e.listen(this._document,i,this._onInteraction,_H)))}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);this._eventCleanups.forEach(i=>i())}configureRipple(e,i){e.setAttribute($x,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(Gx))&&e.setAttribute(Gx,i.className||""),i.centered&&e.setAttribute(ZT,""),i.disabled&&e.setAttribute(hh,"")}setDisabled(e,i){let r=this._hosts.get(e);r?(r.target.rippleDisabled=i,!i&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(e))):i?e.setAttribute(hh,""):e.removeAttribute(hh)}_onInteraction=e=>{let i=vn(e);if(i instanceof HTMLElement){let r=i.closest(`[${$x}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let i=this._document.createElement("span");i.classList.add("mat-ripple",e.getAttribute(Gx)),e.append(i);let r=this._globalRippleOptions,o=this._animationsDisabled?0:r?.animation?.enterDuration??tu.enterDuration,a=this._animationsDisabled?0:r?.animation?.exitDuration??tu.exitDuration,s={rippleDisabled:this._animationsDisabled||r?.disabled||e.hasAttribute(hh),rippleConfig:{centered:e.hasAttribute(ZT),terminateOnPointerUp:r?.terminateOnPointerUp,animation:{enterDuration:o,exitDuration:a}}},l=new nu(s,this._ngZone,i,this._platform,this._injector),c=!s.rippleDisabled;c&&l.setupTriggerEvents(e),this._hosts.set(e,{target:s,renderer:l,hasSetUpEvents:c}),e.removeAttribute($x)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();var Si=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=F({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,r){},styles:[`.mat-focus-indicator { +`],encapsulation:2})}return t})(),nu=class t{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new Ux;constructor(n,e,i,r,o){this._target=n,this._ngZone=e,this._platform=r,r.isBrowser&&(this._containerElement=Ln(i)),o&&o.get(Dt).load(vH)}fadeInRipple(n,e,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=w(w({},tu),i.animation);i.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);let a=i.radius||yH(n,e,r),s=n-r.left,l=e-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${s-a}px`,d.style.top=`${l-a}px`,d.style.height=`${a*2}px`,d.style.width=`${a*2}px`,i.color!=null&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let m=window.getComputedStyle(d),p=m.transitionProperty,f=m.transitionDuration,g=p==="none"||f==="0s"||f==="0s, 0s"||r.width===0&&r.height===0,_=new Hx(this,d,i,g);d.style.transform="scale3d(1, 1, 1)",_.state=wi.FADING_IN,i.persistent||(this._mostRecentTransientRipple=_);let E=null;return!g&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let L=()=>{E&&(E.fallbackTimer=null),clearTimeout(ee),this._finishRippleTransition(_)},A=()=>this._destroyRipple(_),ee=setTimeout(A,c+100);d.addEventListener("transitionend",L),d.addEventListener("transitioncancel",A),E={onTransitionEnd:L,onTransitionCancel:A,fallbackTimer:ee}}),this._activeRipples.set(_,E),(g||!c)&&this._finishRippleTransition(_),_}fadeOutRipple(n){if(n.state===wi.FADING_OUT||n.state===wi.HIDDEN)return;let e=n.element,i=w(w({},tu),n.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=wi.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=Ln(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,KT.forEach(i=>{t._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{QT.forEach(e=>{this._triggerElement.addEventListener(e,this,YT)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===wi.FADING_IN?this._startFadeOutTransition(n):n.state===wi.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=wi.VISIBLE,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=wi.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=Qa(n),i=this._lastTouchStartEvent&&Date.now(){let e=n.state===wi.VISIBLE||n.config.terminateOnPointerUp&&n.state===wi.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(KT.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(QT.forEach(e=>n.removeEventListener(e,this,YT)),this._pointerUpEventsRegistered=!1))}};function yH(t,n,e){let i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+r*r)}var ph=new C("mat-ripple-global-options"),lo=(()=>{class t{_elementRef=u($);_animationsDisabled=dt();color;unbounded=!1;centered=!1;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=u(O),i=u($e),r=u(ph,{optional:!0}),o=u(ne);this._globalOptions=r||{},this._rippleRenderer=new nu(this,e,this._elementRef,i,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:w(w(w({},this._globalOptions.animation),this._animationsDisabled?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,w(w({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,w(w({},this.rippleConfig),e))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){i&2&&ie("mat-ripple-unbounded",r.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return t})();var _H={capture:!0},xH=["focus","mousedown","mouseenter","touchstart"],$x="mat-ripple-loader-uninitialized",Gx="mat-ripple-loader-class-name",ZT="mat-ripple-loader-centered",hh="mat-ripple-loader-disabled",XT=(()=>{class t{_document=u(oe);_animationsDisabled=dt();_globalRippleOptions=u(ph,{optional:!0});_platform=u($e);_ngZone=u(O);_injector=u(ne);_eventCleanups;_hosts=new Map;constructor(){let e=u(Vt).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>xH.map(i=>e.listen(this._document,i,this._onInteraction,_H)))}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);this._eventCleanups.forEach(i=>i())}configureRipple(e,i){e.setAttribute($x,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(Gx))&&e.setAttribute(Gx,i.className||""),i.centered&&e.setAttribute(ZT,""),i.disabled&&e.setAttribute(hh,"")}setDisabled(e,i){let r=this._hosts.get(e);r?(r.target.rippleDisabled=i,!i&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(e))):i?e.setAttribute(hh,""):e.removeAttribute(hh)}_onInteraction=e=>{let i=vn(e);if(i instanceof HTMLElement){let r=i.closest(`[${$x}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let i=this._document.createElement("span");i.classList.add("mat-ripple",e.getAttribute(Gx)),e.append(i);let r=this._globalRippleOptions,o=this._animationsDisabled?0:r?.animation?.enterDuration??tu.enterDuration,a=this._animationsDisabled?0:r?.animation?.exitDuration??tu.exitDuration,s={rippleDisabled:this._animationsDisabled||r?.disabled||e.hasAttribute(hh),rippleConfig:{centered:e.hasAttribute(ZT),terminateOnPointerUp:r?.terminateOnPointerUp,animation:{enterDuration:o,exitDuration:a}}},l=new nu(s,this._ngZone,i,this._platform,this._injector),c=!s.rippleDisabled;c&&l.setupTriggerEvents(e),this._hosts.set(e,{target:s,renderer:l,hasSetUpEvents:c}),e.removeAttribute($x)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();var Si=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=F({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,r){},styles:[`.mat-focus-indicator { position: relative; } .mat-focus-indicator::before { @@ -411,7 +411,7 @@ ${e.map((i,r)=>`${r+1}) ${i.toString()}`).join(` --%NS%mat-focus-indicator-fallback-border-style: none; } } -`],encapsulation:2})}return t})();var CH=new C("MAT_BUTTON_CONFIG");function JT(t){return t==null?void 0:Gn(t)}var Wx=(()=>{class t{_elementRef=u($);_ngZone=u(O);_animationsDisabled=dt();_config=u(CH,{optional:!0});_focusMonitor=u(qn);_cleanupClick;_renderer=u(He);_rippleLoader=u(XT);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(e){this.tabIndex=e}showProgress=za(!1,{transform:G});constructor(){u(Dt).load(Si);let e=this._elementRef.nativeElement;this._isAnchor=e.tagName==="A",this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(e,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor?this.disabled&&!this.disabledInteractive?-1:this.tabIndex:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,hostAttrs:[1,"mat-mdc-button-base"],hostVars:15,hostBindings:function(i,r){i&2&&(ye("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled())("tabindex",r._getTabIndex()),Rt(r.color?"mat-"+r.color:""),ie("mat-mdc-button-progress-indicator-shown",r.showProgress())("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("mat-unthemed",!r.color)("_mat-animation-noopable",r._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",G],disabled:[2,"disabled","disabled",G],ariaDisabled:[2,"aria-disabled","ariaDisabled",G],disabledInteractive:[2,"disabledInteractive","disabledInteractive",G],tabIndex:[2,"tabIndex","tabIndex",JT],_tabindex:[2,"tabindex","_tabindex",JT],showProgress:[1,"showProgress"]}})}return t})(),iu=(()=>{class t extends Wx{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=["*",[["","progressIndicator",""]]],i=["*","[progressIndicator]"];function r(o,a){o&1&&(zt(0,"div",1),Ee(1,1),ln())}return F({type:t,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[Ge],ngContentSelectors:i,decls:5,vars:1,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-button-progress-indicator-container"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a,s){a&1&&(ct(e),$n(0,"span",0),Ee(1),Q(2,r,2,0,"div",1),$n(3,"span",2)(4,"span",3)),a&2&&(x(2),Z(s.showProgress()?2:-1))},styles:[`.mat-mdc-icon-button { +`],encapsulation:2})}return t})();var CH=new C("MAT_BUTTON_CONFIG");function JT(t){return t==null?void 0:Wn(t)}var Wx=(()=>{class t{_elementRef=u($);_ngZone=u(O);_animationsDisabled=dt();_config=u(CH,{optional:!0});_focusMonitor=u(Yn);_cleanupClick;_renderer=u(He);_rippleLoader=u(XT);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(e){this.tabIndex=e}showProgress=Ha(!1,{transform:G});constructor(){u(Dt).load(Si);let e=this._elementRef.nativeElement;this._isAnchor=e.tagName==="A",this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(e,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor?this.disabled&&!this.disabledInteractive?-1:this.tabIndex:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,hostAttrs:[1,"mat-mdc-button-base"],hostVars:15,hostBindings:function(i,r){i&2&&(ye("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled())("tabindex",r._getTabIndex()),Rt(r.color?"mat-"+r.color:""),ie("mat-mdc-button-progress-indicator-shown",r.showProgress())("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("mat-unthemed",!r.color)("_mat-animation-noopable",r._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",G],disabled:[2,"disabled","disabled",G],ariaDisabled:[2,"aria-disabled","ariaDisabled",G],disabledInteractive:[2,"disabledInteractive","disabledInteractive",G],tabIndex:[2,"tabIndex","tabIndex",JT],_tabindex:[2,"tabindex","_tabindex",JT],showProgress:[1,"showProgress"]}})}return t})(),iu=(()=>{class t extends Wx{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=["*",[["","progressIndicator",""]]],i=["*","[progressIndicator]"];function r(o,a){o&1&&(zt(0,"div",1),Ee(1,1),ln())}return F({type:t,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[Ge],ngContentSelectors:i,decls:5,vars:1,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-button-progress-indicator-container"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a,s){a&1&&(ct(e),Gn(0,"span",0),Ee(1),Q(2,r,2,0,"div",1),Gn(3,"span",2)(4,"span",3)),a&2&&(x(2),Z(s.showProgress()?2:-1))},styles:[`.mat-mdc-icon-button { -webkit-user-select: none; user-select: none; display: inline-block; @@ -559,7 +559,7 @@ ${e.map((i,r)=>`${r+1}) ${i.toString()}`).join(` outline: solid 1px; } } -`],encapsulation:2})})()}return t})();var Ll=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({imports:[Qe]})}return t})();var eN=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]),Ei=(()=>{class t extends Wx{get appearance(){return this._appearance}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let e=wH(this._elementRef.nativeElement);e&&this.setAppearance(e)}setAppearance(e){if(e===this._appearance)return;let i=this._elementRef.nativeElement.classList,r=this._appearance?eN.get(this._appearance):null,o=eN.get(e);r&&i.remove(...r),i.add(...o),this._appearance=e}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""],["",8,"material-symbols-outlined",3,"iconPositionEnd",""],["",8,"material-symbols-rounded",3,"iconPositionEnd",""],["",8,"material-symbols-sharp",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""],["","iconPositionEnd","",8,"material-symbols-outlined"],["","iconPositionEnd","",8,"material-symbols-rounded"],["","iconPositionEnd","",8,"material-symbols-sharp"]],[["","progressIndicator",""]]],i=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd]), .material-symbols-outlined:not([iconPositionEnd]), .material-symbols-rounded:not([iconPositionEnd]), .material-symbols-sharp:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd], .material-symbols-outlined[iconPositionEnd], .material-symbols-rounded[iconPositionEnd], .material-symbols-sharp[iconPositionEnd]","[progressIndicator]"];function r(o,a){o&1&&(zt(0,"div",2),Ee(1,3),ln())}return F({type:t,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[Ge],ngContentSelectors:i,decls:8,vars:5,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-button-progress-indicator-container"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a,s){a&1&&(ct(e),$n(0,"span",0),Ee(1),zt(2,"span",1),Ee(3,1),ln(),Ee(4,2),Q(5,r,2,0,"div",2),$n(6,"span",3)(7,"span",4)),a&2&&(ie("mdc-button__ripple",!s._isFab)("mdc-fab__ripple",s._isFab),x(5),Z(s.showProgress()?5:-1))},styles:[`.mat-mdc-button-base { +`],encapsulation:2})})()}return t})();var Ll=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({imports:[Qe]})}return t})();var eN=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]),Ei=(()=>{class t extends Wx{get appearance(){return this._appearance}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let e=wH(this._elementRef.nativeElement);e&&this.setAppearance(e)}setAppearance(e){if(e===this._appearance)return;let i=this._elementRef.nativeElement.classList,r=this._appearance?eN.get(this._appearance):null,o=eN.get(e);r&&i.remove(...r),i.add(...o),this._appearance=e}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""],["",8,"material-symbols-outlined",3,"iconPositionEnd",""],["",8,"material-symbols-rounded",3,"iconPositionEnd",""],["",8,"material-symbols-sharp",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""],["","iconPositionEnd","",8,"material-symbols-outlined"],["","iconPositionEnd","",8,"material-symbols-rounded"],["","iconPositionEnd","",8,"material-symbols-sharp"]],[["","progressIndicator",""]]],i=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd]), .material-symbols-outlined:not([iconPositionEnd]), .material-symbols-rounded:not([iconPositionEnd]), .material-symbols-sharp:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd], .material-symbols-outlined[iconPositionEnd], .material-symbols-rounded[iconPositionEnd], .material-symbols-sharp[iconPositionEnd]","[progressIndicator]"];function r(o,a){o&1&&(zt(0,"div",2),Ee(1,3),ln())}return F({type:t,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[Ge],ngContentSelectors:i,decls:8,vars:5,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-button-progress-indicator-container"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a,s){a&1&&(ct(e),Gn(0,"span",0),Ee(1),zt(2,"span",1),Ee(3,1),ln(),Ee(4,2),Q(5,r,2,0,"div",2),Gn(6,"span",3)(7,"span",4)),a&2&&(ie("mdc-button__ripple",!s._isFab)("mdc-fab__ripple",s._isFab),x(5),Z(s.showProgress()?5:-1))},styles:[`.mat-mdc-button-base { text-decoration: none; } .mat-mdc-button-base .mat-icon { @@ -1125,9 +1125,9 @@ ${e.map((i,r)=>`${r+1}) ${i.toString()}`).join(` outline: solid 1px; } } -`],encapsulation:2})})()}return t})();function wH(t){return t.hasAttribute("mat-raised-button")?"elevated":t.hasAttribute("mat-stroked-button")?"outlined":t.hasAttribute("mat-flat-button")?"filled":t.hasAttribute("mat-button")?"text":null}var tN=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({imports:[Ll,Qe]})}return t})();var SH="UDS Launcher";function co(t){return django.interpolate(t,{launcher:SH},!0)}var yt=(()=>{class t{constructor(){this.el=u($)}ngOnInit(){this.el.nativeElement.innerHTML=co(django.gettext(this.el.nativeElement.innerHTML.trim()))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=B({type:t,selectors:[["uds-translate"]],standalone:!1})}}return t})();function EH(t,n){this.v=t,this.k=n}function nN(t,n){(n==null||n>t.length)&&(n=t.length);for(var e=0,i=Array(n);e2?i-2:0),o=2;o1?e-1:0),r=1;r"u"?null:Mt(BigInt.prototype.toString),lN=typeof Symbol>"u"?null:Mt(Symbol.prototype.toString),Yn=Mt(Object.prototype.hasOwnProperty),su=Mt(Object.prototype.toString),yn=Mt(RegExp.prototype.test),mo=xN(TypeError);function Mt(t){return function(n){n instanceof RegExp&&(n.lastIndex=0);for(var e=arguments.length,i=new Array(e>1?e-1:0),r=1;r2&&arguments[2]!==void 0?arguments[2]:Ja;if(iN&&iN(t,null),!jl(n))return t;let i=n.length;for(;i--;){let r=n[i];if(typeof r=="string"){let o=e(r);o!==r&&(NH(n)||(n[i]=o),r=o)}t[r]=!0}return t}function VH(t){for(let n=0;n/g),WH=_n(/\${[\w\W]*/g),qH=_n(/^data-[\-\w.\u00B7-\uFFFF]+$/),YH=_n(/^aria-[\-\w]+$/),fN=_n(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),KH=_n(/^(?:\w+script|data):/i),QH=_n(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ZH=_n(/^html$/i),XH=_n(/^[a-z][.\w]*(-[.\w]+)+$/i),e0=_n(/<[/\w!]/g),pN=_n(/<[/\w]/g),JH=_n(/<\/no(script|embed|frames)/i),hN=_n(/\/>/i),en={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},eU=fn(Ze({},["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"])),tU=function(){return typeof window>"u"?null:window},nU=function(n,e){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let i=null,r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(i=e.getAttribute(r));let o="dompurify"+(i?"#"+i:"");try{return n.createPolicy(o,{createHTML(a){return a},createScriptURL(a){return a}})}catch(a){return console.warn("TrustedTypes policy "+o+" could not be created."),null}},gN=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},Jo=function(n,e,i,r){return Yn(n,e)&&jl(n[e])?Ze(r.base?li(r.base):{},n[e],r.transform):i},t0=function(n,e,i){let r=Yn(n,e)?n[e]:void 0;return r&&typeof r=="object"?li(r):i()};function CN(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:tU(),n=T=>CN(T);if(n.version="3.4.17",n.removed=[],!t||!t.document||t.document.nodeType!==en.document||!t.Element)return n.isSupported=!1,n;let e=t.document,i=e,r=i.currentScript;t.DocumentFragment;let o=t.HTMLTemplateElement,a=t.Node,s=t.Element,l=t.NodeFilter;t.NamedNodeMap===void 0&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;let c=t.DOMParser,d=t.trustedTypes,m=s.prototype,p=Di(m,"cloneNode"),f=Di(m,"remove"),g=Di(m,"removeAttributeNode"),_=Di(m,"nextSibling"),E=Di(m,"childNodes"),L=Di(m,"parentNode"),A=Di(m,"shadowRoot"),ee=Di(m,"attributes"),Re=a&&a.prototype?Di(a.prototype,"nodeType"):null,ht=a&&a.prototype?Di(a.prototype,"nodeName"):null,Le=a&&a.prototype?Di(a.prototype,"ownerDocument"):null,Pe=function(h){return Re?Re(h):h.nodeType},Je=function(h){return ht?ht(h):h.nodeName},It=BH(m,"namespaceURI"),me=function(h){return It?It(h):h.namespaceURI};if(typeof o=="function"){let T=e.createElement("template");T.content&&T.content.ownerDocument&&(e=T.content.ownerDocument)}let _e,k="",Ve,Ut=!1,nr=0,te=function(){if(nr>0)throw mo('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},ae=function(h){te(),nr++;try{return _e.createHTML(h)}finally{nr--}},be=function(h){te(),nr++;try{return _e.createScriptURL(h)}finally{nr--}},qe=function(){return Ut||(Ve=nU(d,r),Ut=!0),Ve},kt=e,Vn=kt.implementation,xn=kt.createNodeIterator,ir=kt.createDocumentFragment,_t=kt.getElementsByTagName,Iu=i.importNode,gt=gN();n.isSupported=typeof bN=="function"&&typeof L=="function"&&Vn&&Vn.createHTMLDocument!==void 0;let dn=$H,Nr=GH,jn=WH,ss=qH,ic=YH,vO=KH,yC=QH,yO=XH,_C=fN,Ct=null,gg=Ze({},[...cN,...Qx,...Zx,...Xx,...dN]),wt=null,bg=Ze({},[...uN,...Jx,...mN,...bh]),rr=Object.seal(Vl(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),rc=null,xC=null,go=Object.seal(Vl(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),CC=!0,vg=!0,wC=!1,yg=!0,Ar=!1,aa=!0,sa=!1,_g=!1,ku=null,Tu=null,xg=!1,ls=!1,Nu=!1,Au=!1,SC=!0,EC=!1,DC="user-content-",Cg=!0,wg=!1,la=null,cs={},ca=null,MC=Ze({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]),IC=null,kC=Ze({},["audio","video","img","source","image","track"]),TC=null,NC=Ze({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ru="http://www.w3.org/1998/Math/MathML",Ou="http://www.w3.org/2000/svg",or="http://www.w3.org/1999/xhtml",ds=or,Sg=!1,Eg=null,_O=Ze({},[Ru,Ou,or],Kx),AC=fn(["mi","mo","mn","ms","mtext"]),Dg=Ze({},AC),RC=fn(["annotation-xml"]),Mg=Ze({},RC),xO=Ze({},["title","style","font","a","script"]),oc=null,CO=["application/xhtml+xml","text/html"],wO="text/html",$t=null,us=null,SO=e.createElement("form"),OC=function(h){return h instanceof RegExp||h instanceof Function},Ig=function(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(us&&us===h)return;(!h||typeof h!="object")&&(h={}),h=li(h),oc=CO.indexOf(h.PARSER_MEDIA_TYPE)===-1?wO:h.PARSER_MEDIA_TYPE,$t=oc==="application/xhtml+xml"?Kx:Ja,Ct=Jo(h,"ALLOWED_TAGS",gg,{transform:$t}),wt=Jo(h,"ALLOWED_ATTR",bg,{transform:$t}),Eg=Jo(h,"ALLOWED_NAMESPACES",_O,{transform:Kx}),TC=Jo(h,"ADD_URI_SAFE_ATTR",NC,{transform:$t,base:NC}),IC=Jo(h,"ADD_DATA_URI_TAGS",kC,{transform:$t,base:kC}),ca=Jo(h,"FORBID_CONTENTS",MC,{transform:$t}),rc=Jo(h,"FORBID_TAGS",li({}),{transform:$t}),xC=Jo(h,"FORBID_ATTR",li({}),{transform:$t}),cs=Yn(h,"USE_PROFILES")?h.USE_PROFILES&&typeof h.USE_PROFILES=="object"?li(h.USE_PROFILES):h.USE_PROFILES:!1,CC=h.ALLOW_ARIA_ATTR!==!1,vg=h.ALLOW_DATA_ATTR!==!1,wC=h.ALLOW_UNKNOWN_PROTOCOLS||!1,yg=h.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ar=h.SAFE_FOR_TEMPLATES||!1,aa=h.SAFE_FOR_XML!==!1,sa=h.WHOLE_DOCUMENT||!1,ls=h.RETURN_DOM||!1,Nu=h.RETURN_DOM_FRAGMENT||!1,Au=h.RETURN_TRUSTED_TYPE||!1,xg=h.FORCE_BODY||!1,SC=h.SANITIZE_DOM!==!1,EC=h.SANITIZE_NAMED_PROPS||!1,Cg=h.KEEP_CONTENT!==!1,wg=h.IN_PLACE||!1,_C=zH(h.ALLOWED_URI_REGEXP)?h.ALLOWED_URI_REGEXP:fN,ds=typeof h.NAMESPACE=="string"?h.NAMESPACE:or,Dg=t0(h,"MATHML_TEXT_INTEGRATION_POINTS",()=>Ze({},AC)),Mg=t0(h,"HTML_INTEGRATION_POINTS",()=>Ze({},RC));let y=t0(h,"CUSTOM_ELEMENT_HANDLING",()=>Vl(null));if(rr=Vl(null),Yn(y,"tagNameCheck")&&OC(y.tagNameCheck)&&(rr.tagNameCheck=y.tagNameCheck),Yn(y,"attributeNameCheck")&&OC(y.attributeNameCheck)&&(rr.attributeNameCheck=y.attributeNameCheck),Yn(y,"allowCustomizedBuiltInElements")&&typeof y.allowCustomizedBuiltInElements=="boolean"&&(rr.allowCustomizedBuiltInElements=y.allowCustomizedBuiltInElements),_n(rr),Ar&&(vg=!1),Nu&&(ls=!0),cs&&(Ct=Ze({},dN),wt=Vl(null),cs.html===!0&&(Ze(Ct,cN),Ze(wt,uN)),cs.svg===!0&&(Ze(Ct,Qx),Ze(wt,Jx),Ze(wt,bh)),cs.svgFilters===!0&&(Ze(Ct,Zx),Ze(wt,Jx),Ze(wt,bh)),cs.mathMl===!0&&(Ze(Ct,Xx),Ze(wt,mN),Ze(wt,bh))),go.tagCheck=null,go.attributeCheck=null,Yn(h,"ADD_TAGS")&&(typeof h.ADD_TAGS=="function"?go.tagCheck=h.ADD_TAGS:jl(h.ADD_TAGS)&&(Ct===gg&&(Ct=li(Ct)),Ze(Ct,h.ADD_TAGS,$t))),Yn(h,"ADD_ATTR")&&(typeof h.ADD_ATTR=="function"?go.attributeCheck=h.ADD_ATTR:jl(h.ADD_ATTR)&&(wt===bg&&(wt=li(wt)),Ze(wt,h.ADD_ATTR,$t))),Yn(h,"ADD_FORBID_CONTENTS")&&jl(h.ADD_FORBID_CONTENTS)&&(ca===MC&&(ca=li(ca)),Ze(ca,h.ADD_FORBID_CONTENTS,$t)),Cg&&(Ct["#text"]=!0),sa&&Ze(Ct,["html","head","body"]),Ct.table&&(Ze(Ct,["tbody"]),delete rc.tbody),h.TRUSTED_TYPES_POLICY){if(typeof h.TRUSTED_TYPES_POLICY.createHTML!="function")throw mo('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof h.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw mo('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');let M=_e;_e=h.TRUSTED_TYPES_POLICY;try{k=ae("")}catch(I){throw _e=M,I}}else h.TRUSTED_TYPES_POLICY===null?(_e=void 0,k=""):(_e===void 0&&(_e=qe()),_e&&typeof k=="string"&&(k=ae("")));fn&&fn(h),us=h},PC=Ze({},[...Qx,...Zx,...HH]),FC=Ze({},[...Xx,...UH]),EO=function(h,y,M){return y.namespaceURI===or?h==="svg":y.namespaceURI===Ru?h==="svg"&&(M==="annotation-xml"||Dg[M]):!!PC[h]},DO=function(h,y,M){return y.namespaceURI===or?h==="math":y.namespaceURI===Ou?h==="math"&&Mg[M]:!!FC[h]},MO=function(h,y,M){return y.namespaceURI===Ou&&!Mg[M]||y.namespaceURI===Ru&&!Dg[M]?!1:!FC[h]&&(xO[h]||!PC[h])},IO=function(h){let y=me(h),M=Ja(Je(h)),I=L(h),ce,De;return I&&Pe(I)===en.element?(ce={namespaceURI:me(I)},De=Ja(Je(I))):(ce={namespaceURI:ds},De="template"),Eg[y]?y===Ou?EO(M,ce,De):y===Ru?DO(M,ce,De):y===or?MO(M,ce,De):!!(oc==="application/xhtml+xml"&&Eg[y]):!1},bo=function(h){ru(n.removed,{element:h});try{L(h).removeChild(h)}catch(y){if(f(h),!L(h))throw mo("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},LC=function(h,y,M){try{g(h,y)}catch(I){try{h.removeAttribute(M)}catch(ce){}}},kg=function(h){Ng(h);let y=E(h);y&&uo(RH(y),I=>{try{f(I)}catch(ce){}});let M=Pe(h)===en.element?ee(h):null;if(M)for(let I=M.length-1;I>=0;--I){let ce=M[I],De=ce&&ce.name;typeof De=="string"&&LC(h,ce,De)}},ms=function(h,y,M){if(!M)try{M=y.getAttributeNode(h)}catch(I){M=null}ru(n.removed,{attribute:M||null,from:y});try{M?g(y,M):y.removeAttribute(h)}catch(I){try{y.removeAttribute(h)}catch(ce){}}if(h==="is")if(ls||Nu)try{bo(y)}catch(I){}else try{y.setAttribute(h,"")}catch(I){}},VC=function(h){let y=ee(h);if(y)for(let M=y.length-1;M>=0;--M){let I=y[M],ce=I&&I.name;typeof ce!="string"||wt[$t(ce)]||LC(h,I,ce)}},Tg=function(h,y){let M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,I=[h];for(;I.length>0;){let ce=I.pop();if(y(ce)===!1)continue;if(M&&Pe(ce)===en.element){let je=A(ce);vo(je)&&I.push(je)}let De=E(ce);if(De)for(let je=De.length-1;je>=0;--je)I.push(De[je])}},Ng=function(h){Tg(h,y=>{Pe(y)===en.element&&VC(y)})},Ag=function(h){let y=[];return Tg(h,M=>{y.push(M)},!0),y},kO=function(h,y){let M=qx();uo(Ag(h),I=>{Pe(I)===en.element&&Yx(M,I)}),uo(y,I=>{Pe(I)===en.element&&!ou(M,I)&&VC(I)})},jC=function(h,y){let M=!1;return uo(n.removed,I=>{I.element&&(M=M||I.element===h,Ng(I.element))}),kO(h,y),M},TO=8,NO=function(h,y){let M=la,I=null,ce=()=>(I||(I=qx(),uo(y,De=>{Yx(I,De)})),I);for(let De=0;;De++){let je=Ag(h),tn=[h],ar=!1;if(uo(je,Tn=>{Pe(Tn)===en.documentFragment?ru(tn,Tn):!ar&&!ou(M,Tn)&&(ar=ou(ce(),Tn))}),!ar)return;if(De>=TO)throw mo("the tree kept changing during in-place sanitization; refusing to return it");uo(tn,(Tn,Bn)=>{AO(Tn,Bn>0,h,ce())})}},AO=function(h,y,M,I){let ce=Rg(h),De;for(;De=ce.nextNode();)!ou(I,De)||ou(la,De)||(y&&Ii(gt.uponSanitizeShadowNode,De,null),Pg(De,M),Fg(De,M),vo(De.content)&&sc(De.content))},RO=function(h){la&&Yx(la,h)},BC=function(h,y){return aa?h==="patchsrc"?!0:h==="for"&&y!=="label"&&y!=="output":!1},OO=function(h){aa&&Tg(h,y=>{let M=Pe(y);if(M===en.processingInstruction||M===en.comment&&yn(pN,y.data)){try{f(y)}catch(I){}return!1}if(M===en.element){let I=y,ce=$t(Je(y));try{I.hasAttribute&&I.hasAttribute("patchsrc")&&I.removeAttribute("patchsrc"),I.hasAttribute&&I.hasAttribute("for")&&BC("for",ce)&&I.removeAttribute("for")}catch(De){}}return!0})},zC=function(h){let y=null,M=null;if(xg)h=""+h;else{let De=oN(h,/^[\r\n\t ]+/);M=De&&De[0]}oc==="application/xhtml+xml"&&ds===or&&(h=''+h+"");let I=_e?ae(h):h;if(ds===or)try{y=new c().parseFromString(I,oc)}catch(De){}if(!y||!y.documentElement){y=Vn.createDocument(ds,"template",null);try{y.documentElement.innerHTML=Sg?k:I}catch(De){}}let ce=y.body||y.documentElement;return h&&M&&ce.insertBefore(e.createTextNode(M),ce.childNodes[0]||null),ds===or?_t.call(y,sa?"html":"body")[0]:sa?y.documentElement:ce},Rg=function(h){let y=Le?Le(h):h.ownerDocument;return xn.call(y||h,h,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT|l.SHOW_PROCESSING_INSTRUCTION|l.SHOW_CDATA_SECTION,null)},Pu=function(h){return h=au(h,dn," "),h=au(h,Nr," "),h=au(h,jn," "),h},Og=function(h){var y;HC(h);let M=(y=h.querySelectorAll)===null||y===void 0?void 0:y.call(h,"template");M&&uo(M,I=>{vo(I.content)&&Og(I.content)})},HC=function(h){h.normalize();let y=Le?Le(h):h.ownerDocument,M=xn.call(y||h,h,l.SHOW_TEXT|l.SHOW_COMMENT|l.SHOW_CDATA_SECTION|l.SHOW_PROCESSING_INSTRUCTION,null),I=M.nextNode();for(;I;)I.data=Pu(I.data),I=M.nextNode()},Fu=function(h){let y=ht?ht(h):null;return typeof y!="string"||$t(y)!=="form"?!1:typeof h.nodeName!="string"||typeof h.textContent!="string"||typeof h.removeChild!="function"||h.attributes!==ee(h)||typeof h.removeAttribute!="function"||typeof h.removeAttributeNode!="function"||typeof h.getAttributeNode!="function"||typeof h.setAttribute!="function"||typeof h.namespaceURI!="string"||typeof h.insertBefore!="function"||typeof h.hasChildNodes!="function"||h.nodeType!==Re(h)||h.childNodes!==E(h)},vo=function(h){if(!Re||typeof h!="object"||h===null)return!1;try{return Re(h)===en.documentFragment}catch(y){return!1}},ac=function(h){if(!Re||typeof h!="object"||h===null)return!1;try{return typeof Re(h)=="number"}catch(y){return!1}};function Ii(T,h,y){T.length!==0&&uo(T,M=>{M.call(n,h,y,us)})}let PO=function(h,y){return!!(aa&&h.hasChildNodes()&&!ac(h.firstElementChild)&&yn(e0,h.textContent)&&yn(e0,h.innerHTML)||aa&&eU[y]&&Pe(h)===en.element&&me(h)===or&&(ac(h.firstElementChild)||typeof h.textContent=="string"&&yn(e0,h.textContent))||h.nodeType===en.processingInstruction||aa&&h.nodeType===en.comment&&yn(pN,h.data))},Lu=function(h,y){if(h instanceof RegExp)return yn(h,y);if(h instanceof Function){for(var M=arguments.length,I=new Array(M>2?M-2:0),ce=2;ce=0;--je){let tn=h===M?p(ce[je],!0):ce[je];I.insertBefore(tn,_(h))}}}return bo(h),!0},UC=function(h,y,M,I){return h.length===0?y:y===M||y===I?li(y):y},fs=function(h,y){return h===y||L(h)!==null?!1:(wg&&Ng(h),!0)},Pg=function(h,y){if(RO(h),Ii(gt.beforeSanitizeElements,h,null),fs(h,y))return!0;if(Fu(h))return bo(h),!0;let M=$t(Je(h));if(Ct=UC(gt.uponSanitizeElement,Ct,gg,ku),Ii(gt.uponSanitizeElement,h,{tagName:M,allowedTags:Ct}),fs(h,y))return!0;if(PO(h,M))return bo(h),!0;if(rc[M]||!(go.tagCheck instanceof Function&&go.tagCheck(M))&&!Ct[M]){let I=FO(h,M,y);return I===!1&&(Ii(gt.afterSanitizeElements,h,null),fs(h,y))?!0:I}if(Pe(h)===en.element&&!IO(h)||(M==="noscript"||M==="noembed"||M==="noframes")&&yn(JH,h.innerHTML))return bo(h),!0;if(Ar&&h.nodeType===en.text){let I=Pu(h.textContent);h.textContent!==I&&(ru(n.removed,{element:h.cloneNode()}),h.textContent=I)}return Ii(gt.afterSanitizeElements,h,null),fs(h,y)},$C=function(h,y,M){if(xC[y]||BC(y,h)||SC&&(y==="id"||y==="name")&&(M in e||M in SO))return!1;let I=wt[y]||go.attributeCheck instanceof Function&&go.attributeCheck(y,h);return vg&&yn(ss,y)||CC&&yn(ic,y)?!0:I?TC[y]||yn(_C,au(M,yC,""))||(y==="src"||y==="xlink:href"||y==="href")&&h!=="script"&&aN(M,"data:")===0&&IC[h]||wC&&!yn(vO,au(M,yC,""))?!0:!M:GC(h)&&Lu(rr.tagNameCheck,h)&&Lu(rr.attributeNameCheck,y,h)||y==="is"&&rr.allowCustomizedBuiltInElements&&Lu(rr.tagNameCheck,M)},LO=Ze({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),GC=function(h){return!LO[Ja(h)]&&yn(yO,h)},VO=function(h,y,M,I){if(_e&&typeof d=="object"&&typeof d.getAttributeType=="function"&&!M)switch(d.getAttributeType(h,y)){case"TrustedHTML":return ae(I);case"TrustedScriptURL":return be(I)}return I},jO=function(h,y,M,I){try{return M?h.setAttributeNS(M,y,I):h.setAttribute(y,I),Fu(h)?(bo(h),!1):!0}catch(ce){return ms(y,h),!1}},WC=function(h,y){return aa&&yn(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,y)?!0:Ja(h)==="attributename"&&oN(y,"href")!==null},Fg=function(h,y){if(Ii(gt.beforeSanitizeAttributes,h,null),fs(h,y))return;let M=h.attributes;if(!M||Fu(h))return;wt=UC(gt.uponSanitizeAttribute,wt,bg,Tu);let I={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:wt,forceKeepAttr:void 0},ce=M.length,De=$t(h.nodeName);for(;ce--;){let je=M[ce],tn=je.name,ar=je.namespaceURI,Tn=je.value,Bn=$t(tn),ps=Tn,zn=tn==="value"?ps:PH(ps),qC=!1;if(I.attrName=Bn,I.attrValue=zn,I.keepAttr=!0,I.forceKeepAttr=void 0,Ii(gt.uponSanitizeAttribute,h,I),zn=I.attrValue,EC&&(Bn==="id"||Bn==="name")&&aN(zn,DC)!==0&&(ms(tn,h,je),zn=DC+zn,qC=!0),WC(tn,zn)){ms(tn,h,je);continue}if(!I.forceKeepAttr){if(!I.keepAttr){ms(tn,h,je);continue}if(!yg&&yn(hN,zn)){ms(tn,h,je);continue}if(Ar&&(zn=Pu(zn)),!$C(De,Bn,zn)){ms(tn,h,je);continue}zn=VO(De,Bn,ar,zn),zn!==ps&&jO(h,tn,ar,zn)&&qC&&rN(n.removed)}}Ii(gt.afterSanitizeAttributes,h,null),fs(h,y)},sc=function(h){let y=null,M=Rg(h);for(Ii(gt.beforeSanitizeShadowDOM,h,null);y=M.nextNode();)if(Ii(gt.uponSanitizeShadowNode,y,null),Pg(y,h),Fg(y,h),vo(y.content)&&sc(y.content),Pe(y)===en.element){let I=A(y);vo(I)&&(Lg(I),sc(I))}Ar&&HC(h),Ii(gt.afterSanitizeShadowDOM,h,null)},Lg=function(h){let y=[{node:h,shadow:null}];for(;y.length>0;){let M=y.pop();if(M.shadow){sc(M.shadow);continue}let I=M.node,ce=Pe(I)===en.element,De=E(I);if(De)for(let je=De.length-1;je>=0;--je)y.push({node:De[je],shadow:null});if(ce){let je=ht?ht(I):null;if(typeof je=="string"&&$t(je)==="template"){let tn=I.content;vo(tn)&&y.push({node:tn,shadow:null})}}if(ce){let je=A(I);vo(je)&&y.push({node:null,shadow:je},{node:je,shadow:null})}}};return n.sanitize=function(T){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},y=null,M=null,I=null,ce=null;if(Sg=!T,Sg&&(T=""),typeof T!="string"&&!ac(T)&&(T=jH(T),typeof T!="string"))throw mo("dirty is not a string, aborting");if(!n.isSupported)return T;_g?(Ct=ku,wt=Tu):Ig(h),(gt.uponSanitizeElement.length>0||gt.uponSanitizeAttribute.length>0)&&(Ct=li(Ct)),gt.uponSanitizeAttribute.length>0&&(wt=li(wt)),n.removed=[];let De=wg&&typeof T!="string"&&ac(T),je=[],tn=la;if(De){OO(T);let Bn=Je(T);if(typeof Bn=="string"){let ps=$t(Bn);if(!Ct[ps]||rc[ps])throw kg(T),mo("root node is forbidden and cannot be sanitized in-place")}if(Fu(T))throw kg(T),mo("root node is clobbered and cannot be sanitized in-place");je=Ag(T),la=qx()}else if(ac(T))y=zC(""),M=y.ownerDocument.importNode(T,!0),M.nodeType===en.element&&M.nodeName==="BODY"||M.nodeName==="HTML"?y=M:y.appendChild(M),Lg(y);else{if(!ls&&!Ar&&!sa&&T.indexOf("<")===-1)return _e&&Au?ae(T):T;if(y=zC(T),!y)return ls?null:Au?k:""}y&&xg&&bo(y.firstChild);let ar=De?T:y;try{De&&Lg(T);let Bn=Rg(ar);for(;I=Bn.nextNode();)Pg(I,ar),Fg(I,ar),vo(I.content)&&sc(I.content);De&&NO(T,je)}catch(Bn){throw De&&(kg(T),jC(T,je)),Bn}finally{la=tn}if(De){if(jC(T,je))throw mo("a node selected for removal could not be safely returned; refusing to sanitize in place");return Ar&&Og(T),T}if(ls){if(Ar&&Og(y),Nu)for(ce=ir.call(y.ownerDocument);y.firstChild;)ce.appendChild(y.firstChild);else ce=y;return(wt.shadowroot||wt.shadowrootmode)&&(ce=Iu.call(i,ce,!0)),ce}let Tn=sa?y.outerHTML:y.innerHTML;return sa&&Ct["!doctype"]&&y.ownerDocument&&y.ownerDocument.doctype&&y.ownerDocument.doctype.name&&yn(ZH,y.ownerDocument.doctype.name)&&(Tn=" -`+Tn),Ar&&(Tn=Pu(Tn)),_e&&Au?ae(Tn):Tn},n.setConfig=function(){let T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ig(T),_g=!0,ku=Ct,Tu=wt},n.clearConfig=function(){us=null,_g=!1,ku=null,Tu=null,_e=Ve,k=""},n.isValidAttribute=function(T,h,y){us||Ig({});let M=$t(T),I=$t(h);return typeof y=="string"&&(WC(h,y)||!yg&&yn(hN,y))?!1:$C(M,I,y)},n.addHook=function(T,h){typeof h=="function"&&Yn(gt,T)&&ru(gt[T],h)},n.removeHook=function(T,h){if(Yn(gt,T)){if(h!==void 0){let y=AH(gt[T],h);return y===-1?void 0:OH(gt[T],y,1)[0]}return rN(gt[T])}},n.removeHooks=function(T){Yn(gt,T)&&(gt[T]=[])},n.removeAllHooks=function(){gt=gN()},n}var wN=CN();var ea=(()=>{class t{constructor(){this.sanitizer=u(yd)}transform(e,i){let r=wN.sanitize(e??"");return this.sanitizer.bypassSecurityTrustHtml(r)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=Of({name:"safeHtml",type:t,pure:!0,standalone:!1})}}return t})();var iU=t=>({"uds-launch-content":t});function rU(t,n){if(t&1&&(b(0,"div",2)(1,"div",5)(2,"div",6),Y(3,"div",7)(4,"div",8)(5,"div",9),v(),Y(6,"img",10),b(7,"span",11),S(8),v(),b(9,"div",12),Y(10,"div",13),v(),Y(11,"div",14),vi(12,"safeHtml"),v()()),t&2){let e=N();x(6),P("src",e.progressLogoUrl),x(2),Ke("",e.data.progress,"%"),x(),ye("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",e.data.progress)("aria-label",e.data.title),x(),Qr("width",e.data.progress,"%"),x(),P("innerHtml",yi(12,9,e.data.body),gi)}}function oU(t,n){if(t&1&&(Y(0,"div",3),vi(1,"safeHtml")),t&2){let e=N();P("innerHTML",yi(1,1,e.data.body),gi)}}function aU(t,n){if(t&1){let e=Be();b(0,"button",15),j("click",function(){we(e);let r=N();return Se(r.resolveAndClose(!1))}),b(1,"uds-translate"),S(2,"Close"),v(),S(3),v()}if(t&2){let e=N();x(3),rt(e.extra)}}function sU(t,n){if(t&1){let e=Be();b(0,"button",15),j("click",function(){we(e);let r=N();return Se(r.resolveAndClose(!0))}),b(1,"uds-translate"),S(2,"Yes"),v()()}}function lU(t,n){if(t&1){let e=Be();b(0,"button",15),j("click",function(){we(e);let r=N();return Se(r.resolveAndClose(!1))}),b(1,"uds-translate"),S(2,"No"),v()()}}var lu=(function(t){return t[t.alert=0]="alert",t[t.yesno=1]="yesno",t[t.credentials=2]="credentials",t})(lu||{}),r0=(()=>{class t{constructor(){this.dialogRef=u(Xa),this.data=u(Jd),this.api=u(ze),this.extra="",this.yesno=new Vd}get progressLogoUrl(){return this.api.staticURL("modern/img/udsicon.png")}resolveAndClose(e){this.yesno.resolve(e),this.close()}close(){this.dialogRef.close()}setExtra(e){this.extra=" ("+Math.floor(e/1e3)+" "+django.gettext("seconds")+") "}initAlert(){return z(this,null,function*(){let e=this.data.autoclose||0;e>0&&(this.dialogRef.afterClosed().subscribe(()=>{this.close()}),this.setExtra(e),ab(1e3).subscribe(i=>{let r=e-(i+1)*1e3;this.setExtra(r),r<=0&&this.close()}))})}ngOnInit(){this.data.type===lu.alert&&this.initAlert()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-modal"]],standalone:!1,decls:9,vars:12,consts:[["mat-dialog-title","",3,"innerHtml"],[3,"ngClass"],[1,"uds-progress"],[3,"innerHTML"],["mat-raised-button","","mat-dialog-close",""],[1,"uds-progress-card"],["aria-hidden","true",1,"uds-progress-waves"],[1,"wave","wave-1"],[1,"wave","wave-2"],[1,"wave","wave-3"],["alt","UDS",1,"uds-progress-logo",3,"src"],[1,"uds-progress-pct"],["role","progressbar",1,"uds-progress-track"],[1,"uds-progress-fill"],[1,"uds-progress-body",3,"innerHtml"],["mat-raised-button","","mat-dialog-close","",3,"click"]],template:function(i,r){i&1&&(Y(0,"h4",0),vi(1,"safeHtml"),b(2,"mat-dialog-content",1),Q(3,rU,13,11,"div",2)(4,oU,2,3,"div",3),v(),b(5,"mat-dialog-actions"),Q(6,aU,4,1,"button",4),Q(7,sU,3,0,"button",4),Q(8,lU,3,0,"button",4),v()),i&2&&(ie("uds-centered-title",r.data.progress!==void 0),P("innerHtml",yi(1,8,r.data.title),gi),x(2),P("ngClass",sl(10,iU,r.data.progress!==void 0)),x(),Z(r.data.progress!==void 0?3:4),x(3),Z(r.data.type===0?6:-1),x(),Z(r.data.type===1?7:-1),x(),Z(r.data.type===1?8:-1))},dependencies:[ld,Ei,dh,uh,fh,mh,yt,ea],styles:[`.uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.uds-centered-title[_ngcontent-%COMP%]{text-align:center}.uds-launch-content[_ngcontent-%COMP%]{padding-block:0 6px;display:flex;justify-content:center}.uds-progress[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%}.uds-progress-card[_ngcontent-%COMP%]{position:relative;overflow:hidden;width:100%;max-width:420px;padding:12px 22px 34px;background:#1e1e23;border:1px solid #3c3c4b;border-radius:14px;color:#fff;text-align:center;display:flex;flex-direction:column;align-items:center;gap:9px}.uds-progress-logo[_ngcontent-%COMP%]{position:relative;z-index:2;width:54px;height:54px;filter:drop-shadow(0 0 14px rgba(96,192,255,.45));animation:_ngcontent-%COMP%_uds-float 3.2s ease-in-out infinite}.uds-progress-pct[_ngcontent-%COMP%]{position:relative;z-index:2;font-size:1.7rem;font-weight:700;line-height:1}.uds-progress-track[_ngcontent-%COMP%]{position:relative;z-index:2;width:100%;height:12px;border-radius:6px;background:#2c2c3f;border:1px solid #4c4c60;overflow:hidden}.uds-progress-fill[_ngcontent-%COMP%]{height:100%;background:linear-gradient(to bottom,#60c0ff,#2080e0);transition:width .9s ease-in-out}.uds-progress-body[_ngcontent-%COMP%]{position:relative;z-index:2;width:100%;font-size:.92rem;line-height:1.35;color:#c7cbe0}.uds-progress-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.uds-progress-body[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#7ec2ff;margin-left:0}.uds-progress-waves[_ngcontent-%COMP%]{position:absolute;inset:auto 0 0;height:52px;z-index:1}.uds-progress-waves[_ngcontent-%COMP%] .wave[_ngcontent-%COMP%]{position:absolute;inset:0;background-repeat:repeat-x;width:100%}.uds-progress-waves[_ngcontent-%COMP%] .wave-1[_ngcontent-%COMP%]{background-image:url("data:image/svg+xml;utf8,");background-size:420px 100%;animation:_ngcontent-%COMP%_uds-wave-1 11s linear infinite}.uds-progress-waves[_ngcontent-%COMP%] .wave-2[_ngcontent-%COMP%]{background-image:url("data:image/svg+xml;utf8,");background-size:340px 100%;background-position:-60px 0;animation:_ngcontent-%COMP%_uds-wave-2 7s linear infinite}.uds-progress-waves[_ngcontent-%COMP%] .wave-3[_ngcontent-%COMP%]{background-image:url("data:image/svg+xml;utf8,");background-size:280px 100%;background-position:-120px 0;animation:_ngcontent-%COMP%_uds-wave-3 5s linear infinite}@keyframes _ngcontent-%COMP%_uds-wave-1{0%{background-position-x:0}to{background-position-x:-420px}}@keyframes _ngcontent-%COMP%_uds-wave-2{0%{background-position-x:-60px}to{background-position-x:-400px}}@keyframes _ngcontent-%COMP%_uds-wave-3{0%{background-position-x:-120px}to{background-position-x:-400px}}@keyframes _ngcontent-%COMP%_uds-float{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-6px) scale(1.04)}}@media(prefers-reduced-motion:reduce){.uds-progress-logo[_ngcontent-%COMP%], .uds-progress-waves[_ngcontent-%COMP%] .wave[_ngcontent-%COMP%]{animation:none}.uds-progress-fill[_ngcontent-%COMP%]{transition:none}}`],changeDetection:1})}}return t})();var AN=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,i){this._renderer=e,this._elementRef=i}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(i){return new(i||t)(Ue(He),Ue($))};static \u0275dir=B({type:t})}return t})(),cU=(()=>{class t extends AN{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Zt(t)))(r||t)}})();static \u0275dir=B({type:t,features:[Ge]})}return t})(),Th=new C("");var dU={provide:Th,useExisting:Hn(()=>Nh),multi:!0};function uU(){let t=ri()?ri().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var mU=new C(""),Nh=(()=>{class t extends AN{_compositionMode;_composing=!1;constructor(e,i,r){super(e,i),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!uU())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(i){return new(i||t)(Ue(He),Ue($),Ue(mU,8))};static \u0275dir=B({type:t,selectors:[["input","formControlName","",3,"type","checkbox",3,"ngNoCva",""],["textarea","formControlName","",3,"ngNoCva",""],["input","formControl","",3,"type","checkbox",3,"ngNoCva",""],["textarea","formControl","",3,"ngNoCva",""],["input","ngModel","",3,"type","checkbox",3,"ngNoCva",""],["textarea","ngModel","",3,"ngNoCva",""],["","ngDefaultControl",""]],hostBindings:function(i,r){i&1&&j("input",function(a){return r._handleInput(a.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(a){return r._compositionEnd(a.target.value)})},standalone:!1,features:[Xe([dU]),Ge]})}return t})();function s0(t){return t==null||l0(t)===0}function l0(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var Ul=new C(""),c0=new C(""),fU=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,es=class{static min(n){return pU(n)}static max(n){return hU(n)}static required(n){return RN(n)}static requiredTrue(n){return gU(n)}static email(n){return bU(n)}static minLength(n){return vU(n)}static maxLength(n){return yU(n)}static pattern(n){return _U(n)}static nullValidator(n){return _h()}static compose(n){return jN(n)}static composeAsync(n){return BN(n)}};function pU(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function RN(t){return s0(t.value)?{required:!0}:null}function gU(t){return t.value===!0?null:{required:!0}}function bU(t){return s0(t.value)||fU.test(t.value)?null:{email:!0}}function vU(t){return n=>{let e=n.value?.length??l0(n.value);return e===null||e===0?null:e{let e=n.value?.length??l0(n.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function _U(t){if(!t)return _h;let n,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(s0(i.value))return null;let r=i.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function _h(t){return null}function ON(t){return t!=null}function PN(t){return Kr(t)?bt(t):t}function FN(t){let n={};return t.forEach(e=>{n=e!=null?w(w({},n),e):n}),Object.keys(n).length===0?null:n}function LN(t,n){return n.map(e=>e(t))}function xU(t){return!t.validate}function VN(t){return t.map(n=>xU(n)?n:e=>n.validate(e))}function jN(t){if(!t)return null;let n=t.filter(ON);return n.length==0?null:function(e){return FN(LN(e,n))}}function d0(t){return t!=null?jN(VN(t)):null}function BN(t){if(!t)return null;let n=t.filter(ON);return n.length==0?null:function(e){let i=LN(e,n).map(PN);return ob(i).pipe(Ae(FN))}}function u0(t){return t!=null?BN(VN(t)):null}function SN(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function zN(t){return t._rawValidators}function HN(t){return t._rawAsyncValidators}function o0(t){return t?Array.isArray(t)?t:[t]:[]}function xh(t,n){return Array.isArray(t)?t.includes(n):t===n}function EN(t,n){let e=o0(n);return o0(t).forEach(r=>{xh(e,r)||e.push(r)}),e}function DN(t,n){return o0(n).filter(e=>!xh(t,e))}var Ch=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=d0(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=u0(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control?.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},ta=class extends Ch{name;get formDirective(){return null}get path(){return null}};var cu="VALID",yh="INVALID",Bl="PENDING",du="DISABLED",na=class{},wh=class extends na{value;source;constructor(n,e){super(),this.value=n,this.source=e}},mu=class extends na{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},fu=class extends na{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},zl=class extends na{status;source;constructor(n,e){super(),this.status=n,this.source=e}},Sh=class extends na{source;constructor(n){super(),this.source=n}},Hl=class extends na{source;constructor(n){super(),this.source=n}};function UN(t){return(Ah(t)?t.validators:t)||null}function CU(t){return Array.isArray(t)?d0(t):t||null}function $N(t,n){return(Ah(n)?n.asyncValidators:t)||null}function wU(t){return Array.isArray(t)?u0(t):t||null}function Ah(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function SU(t,n,e){let i=t.controls;if(!(n?Object.keys(i):i).length)throw new D(1e3,"");if(!GN(i,e))throw new D(1001,"")}function EU(t,n,e){t._forEachChild((i,r)=>{if(e[r]===void 0)throw new D(-1002,"")})}var Eh=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_hasRequired=he(!1);_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,e){this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n,this._updateHasRequiredValidator()}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Te(this.statusReactive)}set status(n){Te(()=>this.statusReactive.set(n))}_status=In(()=>this.statusReactive());statusReactive=he(void 0);get valid(){return this.status===cu}get invalid(){return this.status===yh}get pending(){return this.status===Bl}get disabled(){return this.status===du}get enabled(){return this.status!==du}errors;get pristine(){return Te(this.pristineReactive)}set pristine(n){Te(()=>this.pristineReactive.set(n))}_pristine=In(()=>this.pristineReactive());pristineReactive=he(!0);get dirty(){return!this.pristine}get touched(){return Te(this.touchedReactive)}set touched(n){Te(()=>this.touchedReactive.set(n))}_touched=In(()=>this.touchedReactive());touchedReactive=he(!1);get untouched(){return!this.touched}_events=new R;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(EN(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(EN(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(DN(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(DN(n,this._rawAsyncValidators))}hasValidator(n){return xh(this._rawValidators,n)}hasAsyncValidator(n){return xh(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;n.onlySelf||this._parent?.markAsTouched(de(w({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new fu(!0,i))}markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(n))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),n.onlySelf||this._parent?._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new fu(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;n.onlySelf||this._parent?.markAsDirty(de(w({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new mu(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),n.onlySelf||this._parent?._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new mu(!0,i))}markAsPending(n={}){this.status=Bl;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new zl(this.status,e)),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.markAsPending(de(w({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=du,this.errors=null,this._forEachChild(r=>{r.disable(de(w({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new wh(this.value,i)),this._events.next(new zl(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(de(w({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=cu,this._forEachChild(i=>{i.enable(de(w({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(de(w({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){n.onlySelf||(this._parent?.updateValueAndValidity(n),n.skipPristineCheck||this._parent?._updatePristine({},e),this._parent?._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===cu||this.status===Bl)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new wh(this.value,e)),this._events.next(new zl(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.updateValueAndValidity(de(w({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?du:cu}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=Bl,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:n!==!1};let i=PN(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(n,e){let i=e?this.get(e):this;return i?.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new zl(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new H,this.statusChanges=new H}_calculateStatus(){return this._allControlsDisabled()?du:this.errors?yh:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Bl)?Bl:this._anyControlsHaveStatus(yh)?yh:cu}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,n.onlySelf||this._parent?._updatePristine(n,e),r&&this._events.next(new mu(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new fu(this.touched,e)),n.onlySelf||this._parent?._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Ah(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=CU(this._rawValidators),this._updateHasRequiredValidator()}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=wU(this._rawAsyncValidators)}_updateHasRequiredValidator(){Te(()=>this._hasRequired.set(this.hasValidator(es.required)))}};function GN(t,n){return Object.hasOwn(t,n)}function DU(t){return t.tagName==="INPUT"||t.tagName==="SELECT"||t.tagName==="TEXTAREA"}function MU(t,n,e,i){switch(e){case"name":t.setAttribute(n,e,i);break;case"disabled":case"readonly":case"required":i?t.setAttribute(n,e,""):t.removeAttribute(n,e);break;case"max":case"min":case"minLength":case"maxLength":i!==void 0?t.setAttribute(n,e,i.toString()):t.removeAttribute(n,e);break}}var a0=class{kind;context;control;message;constructor({kind:n,context:e,control:i}){this.kind=n,this.context=e,this.control=i}};var IU=(()=>{class t{_validator=_h;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):_h,this._onChange?.()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,features:[nt]})}return t})();var kU={provide:Ul,useExisting:Hn(()=>WN),multi:!0};var WN=(()=>{class t extends IU{required;inputName="required";normalizeInput=G;createValidator=e=>RN;enabled(e){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Zt(t)))(r||t)}})();static \u0275dir=B({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,r){i&2&&ye("required",r._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[Xe([kU]),Ge]})}return t})();var TU=new C(""),Rh=new C("",{factory:()=>m0}),m0="always";function NU(t,n){return[...n.path,t]}function MN(t,n,e=m0){f0(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),RU(t,n),PU(t,n),OU(t,n),AU(t,n)}function IN(t,n,e=!0){let i=()=>{};n?.valueAccessor?.registerOnChange(i),n?.valueAccessor?.registerOnTouched(i),Mh(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Dh(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function AU(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function f0(t,n){let e=zN(t);n.validator!==null?t.setValidators(SN(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=HN(t);n.asyncValidator!==null?t.setAsyncValidators(SN(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();Dh(n._rawValidators,r),Dh(n._rawAsyncValidators,r)}function Mh(t,n){let e=!1;if(t!==null){if(n.validator!==null){let r=zN(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==n.validator);o.length!==r.length&&(e=!0,t.setValidators(o))}}if(n.asyncValidator!==null){let r=HN(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==n.asyncValidator);o.length!==r.length&&(e=!0,t.setAsyncValidators(o))}}}let i=()=>{};return Dh(n._rawValidators,i),Dh(n._rawAsyncValidators,i),e}function RU(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&qN(t,n)})}function OU(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&qN(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function qN(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function PU(t,n){let e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function YN(t,n){t==null,f0(t,n)}function FU(t,n){return Mh(t,n)}function LU(t,n){if(!Object.hasOwn(t,"model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function VU(t){return Object.getPrototypeOf(t.constructor)===cU}function KN(t,n){t._syncPendingControls(),n.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function jU(t,n){if(!n)return null;Array.isArray(n);let e,i,r;return n.forEach(o=>{o.constructor===Nh?e=o:VU(o)?i=o:r=o}),r||i||e||null}function BU(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var zU={provide:TU,useFactory:()=>{let t=u(Dr,{self:!0});return{setParseErrors:n=>{t.setParseErrorSource(n)},set onReset(n){t.onReset=n}}}},Dr=class extends Ch{_parent=null;name=null;valueAccessor=null;isCustomControlBased=!1;userOnReset;resetSubscription;set onReset(n){this.userOnReset=n,this.resetSubscription?.unsubscribe(),this.resetSubscription=void 0,this.control&&(this.resetSubscription=this.control.events.subscribe(e=>{e instanceof Hl&&this.control&&this.userOnReset?.(this.control.value)}),this.subscription?.add(this.resetSubscription))}isNativeFormElement=!1;rawValueAccessors;_selectedValueAccessor=null;get selectedValueAccessor(){return this._selectedValueAccessor??=jU(this,this.rawValueAccessors)}parseErrorsValidator=null;renderer;injector;requiredValidatorViaDi;subscription;customControlBindings=null;pendingCustomValue=void 0;hasPendingCustomValue=!1;constructor(n,e,i){super(),this.injector=n,this.renderer=e,this.rawValueAccessors=i,this.injector?.get(Wt)?.onDestroy(()=>{this.removeParseErrorsValidator(this.control),this.subscription?.unsubscribe()})}setupCustomControl(){this.subscription?.unsubscribe();let n=this.control,e=this.injector?.get(We);if(!n||!e)return;let i=e.markForCheck.bind(e);if(this.subscription=new xe,this.subscription.add(()=>this.discardPendingCustomValue(n)),typeof n.registerOnChange=="function"){let r=(o,a)=>{this.discardPendingCustomValue(n),a&&this.viewToModelUpdate(o),i()};n.registerOnChange(r),this.subscription.add(()=>n._unregisterOnChange(r))}this.subscription.add(n.valueChanges.subscribe(i)),this.subscription.add(n.statusChanges.subscribe(i)),this.resetSubscription?.unsubscribe(),this.resetSubscription=void 0,this.userOnReset&&(this.resetSubscription=n.events.subscribe(r=>{r instanceof Hl&&this.control&&this.userOnReset?.(this.control.value)}),this.subscription.add(this.resetSubscription)),this.parseErrorsValidator&&n.addValidators(this.parseErrorsValidator)}ngControlCreate(n){!n.nativeElement.hasAttribute?.("ngNoCva")&&(this.rawValueAccessors&&this.rawValueAccessors.length>0||this.valueAccessor!==null)||!n.customControl||(this.isCustomControlBased=!0,n.listenToCustomControlModel(r=>{let o=this.control;o&&(o._pendingValue=r,o._pendingChange=!0,o._pendingDirty=!0,this.pendingCustomValue=r,this.hasPendingCustomValue=!0,o.updateOn==="change"&&this.updateControlFromCustom(o))}),n.listenToCustomControlOutput("touch",()=>{let r=this.control;r&&(r._pendingTouched=!0,r.updateOn==="blur"&&r._pendingChange&&this.updateControlFromCustom(r),r.updateOn!=="submit"&&r.markAsTouched())}),this.customControlBindings={},this.isNativeFormElement=DU(n.nativeElement),this.requiredValidatorViaDi=this._rawValidators.find(r=>r instanceof WN))}updateControlFromCustom(n){let e=n._pendingValue;n._pendingChange=!1,this.clearPendingCustomValue(),this.customControlBindings&&(this.customControlBindings.value=e),n._pendingDirty&&n.markAsDirty(),n.setValue(e,{emitModelToViewChange:!1}),this.viewToModelUpdate(n.value)}discardPendingCustomValue(n){this.hasPendingCustomValue&&(this.customControlBindings&&(this.customControlBindings.value=this.pendingCustomValue),this.clearPendingCustomValue(),n._pendingValue=n.value,n._pendingChange=!1,n._pendingDirty=!1)}clearPendingCustomValue(){this.pendingCustomValue=void 0,this.hasPendingCustomValue=!1}ngControlUpdate(n,e){if(!this.isCustomControlBased)return;let i=this.control,r=this.customControlBindings;if(!i||!r)return;this.hasPendingCustomValue&&!i._pendingChange&&(r.value=this.pendingCustomValue,this.clearPendingCustomValue()),Object.is(r.value,i.value)||(this.discardPendingCustomValue(i),r.value=i.value,n.setCustomControlModelInput(i.value)),this.bindControlProperty(n,r,"touched",i.touched),this.bindControlProperty(n,r,"dirty",i.dirty),this.bindControlProperty(n,r,"valid",i.valid),this.bindControlProperty(n,r,"invalid",i.invalid),this.bindControlProperty(n,r,"pending",i.pending),this.bindControlProperty(n,r,"disabled",i.disabled),this.shouldBindRequired&&this.bindControlProperty(n,r,"required",this.isRequired);let o=i.errors;if(r.errors!==o){r.errors=o;let a=this._convertErrors(o);n.setInputOnDirectives("errors",a)}}get isRequired(){return(this.requiredValidatorViaDi?._enabled||this.control?._hasRequired())??!1}get shouldBindRequired(){return!0}bindControlProperty(n,e,i,r){if(e[i]===r)return;e[i]=r;let o=n.setInputOnDirectives(i,r);this.isNativeFormElement&&!o&&(i==="disabled"||i==="required")&&this.renderer&&MU(this.renderer,n.nativeElement,i,r)}_convertErrors(n){if(n===null)return[];let e=this.control;return Object.entries(n).map(([i,r])=>new a0({context:r,kind:i,control:e}))}setParseErrorSource(n){if(n===void 0)return;let e=null,i=In(()=>{let r=n();return r.length===0?null:r.reduce((o,a)=>(o[a.kind]=a,o),{})});this.parseErrorsValidator=(()=>e).bind(this),ti(()=>{e=i(),this.control?.updateValueAndValidity({emitEvent:!1})},{injector:this.injector})}removeParseErrorsValidator(n){this.parseErrorsValidator&&(n?.removeValidators(this.parseErrorsValidator),n?.updateValueAndValidity({emitEvent:!1}))}},Ih=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}};var QN=(()=>{class t extends Ih{constructor(e){super(e)}static \u0275fac=function(i){return new(i||t)(Ue(Dr,2))};static \u0275dir=B({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&ie("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[Ge]})}return t})(),$l=(()=>{class t extends Ih{constructor(e){super(e)}static \u0275fac=function(i){return new(i||t)(Ue(ta,10))};static \u0275dir=B({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){i&2&&ie("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[Ge]})}return t})(),kh=class extends Eh{constructor(n,e,i){super(UN(e),$N(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,e){let i=this._find(n);return i||(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){let i=this._find(n);i&&i._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){let r=this._find(n);r&&r._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this._find(n)?.enabled===!0}setValue(n,e={}){Te(()=>{EU(this,!0,n),Object.keys(n).forEach(i=>{SU(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)})}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(i=>{let r=this._find(i);r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,de(w({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new Hl(this))}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return GN(this.controls,n)?this.controls[n]:null}};var HU={provide:ta,useExisting:Hn(()=>Zi)},uu=Promise.resolve(),Zi=(()=>{class t extends ta{callSetDisabledState;get submitted(){return Te(this.submittedReactive)}_submitted=In(()=>this.submittedReactive());submittedReactive=he(!1);_directives=new Set;form;ngSubmit=new H;options;constructor(e,i,r){super(),this.callSetDisabledState=r,this.form=new kh({},d0(e),u0(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){uu.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),e._setupWithForm(this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){uu.then(()=>{this._findContainer(e.path)?.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){uu.then(()=>{let i=this._findContainer(e.path),r=new kh({});YN(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){uu.then(()=>{this._findContainer(e.path)?.removeControl?.(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){uu.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),KN(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new Sh(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(i){return new(i||t)(Ue(Ul,10),Ue(c0,10),Ue(Rh,8))};static \u0275dir=B({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&j("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Xe([HU]),Ge]})}return t})();function kN(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function TN(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var ZN=class extends Eh{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,i){super(UN(e),$N(i,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ah(e)&&(e.nonNullable||e.initialValueIsDefault)&&(TN(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){Te(()=>{this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)})}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),e.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,e?.emitEvent!==!1&&this._events.next(new Hl(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){kN(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){kN(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){TN(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var UU=t=>t instanceof ZN;var $U=(()=>{class t extends ta{callSetDisabledState;get submitted(){return Te(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=In(()=>this._submittedReactive());_submittedReactive=he(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(e,i,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this.onChanges(e)}ngOnDestroy(){this.onDestroy()}onChanges(e){if(!this.form)throw new D(1052,!1);Object.hasOwn(e,"form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(Mh(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(e){let i=this.form.get(e.path);if(!i)throw new D(-1055,!1);return e._setupWithForm(i,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){IN(e.control||null,e,!1),BU(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}getFormArray(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}updateModel(e,i){this.form.get(e.path).setValue(i)}onReset(){this.resetForm()}resetForm(e=void 0,i={}){this.form.reset(e,i),this._submittedReactive.set(!1)}onSubmit(e){return this.submitted=!0,KN(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Sh(this.control)),e?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(IN(i||null,e),UU(r)&&e._setupWithForm(r,this.callSetDisabledState))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);YN(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){let i=this.form?.get(e.path);i&&FU(i,e)&&i.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){f0(this.form,this),this._oldForm&&Mh(this._oldForm,this)}static \u0275fac=function(i){return new(i||t)(Ue(Ul,10),Ue(c0,10),Ue(Rh,8))};static \u0275dir=B({type:t,features:[Ge,nt]})}return t})(),GU={provide:ta,useExisting:Hn(()=>pu)},pu=(()=>{class t extends $U{form=null;ngSubmit=new H;get control(){return this.form}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Zt(t)))(r||t)}})();static \u0275dir=B({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&j("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Xe([GU]),Ge]})}return t})(),WU={provide:Dr,useExisting:Hn(()=>p0)},NN=Promise.resolve(),p0=(()=>{class t extends Dr{_changeDetectorRef;callSetDisabledState;control=new ZN;static ngAcceptInputType_isDisabled;_registered=!1;_ngModelInjector;viewModel;name="";isDisabled;model;options;update=new H;constructor(e,i,r,o,a,s,l,c){super(l,c,o),this._changeDetectorRef=a,this.callSetDisabledState=s,this._parent=e,this._setValidators(i),this._setAsyncValidators(r)}ngOnChanges(e){if(this._registered,this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),LU(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}\u0275ngControlCreate(e){super.ngControlCreate(e)}\u0275ngControlUpdate(e){super.ngControlUpdate(e,!1)}get shouldBindRequired(){return!1}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,MN(this.control,this,this.callSetDisabledState)),this.control.updateValueAndValidity({emitEvent:!1})}_setupWithForm(e){this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,MN(this.control,this,e))}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){NN.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,r=i!==0&&G(i);NN.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?NU(e,this._parent):[e]}static \u0275fac=function(i){return new(i||t)(Ue(ta,9),Ue(Ul,10),Ue(c0,10),Ue(Th,10),Ue(We,8),Ue(Rh,8),Ue(ne,8),Ue(He,8))};static \u0275dir=B({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[Xe([WU,zU]),Ge,nt,$y(null)]})}return t})();var Gl=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})();var qU=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({})}return t})();var XN=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Rh,useValue:e.callSetDisabledState??m0}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({imports:[qU]})}return t})();var eA=Symbol("FIELD_TREE");var tA=Symbol("IS_ASYNC_VALIDATION_RESOURCE"),JN=class{reducer;create;brand;[tA];constructor(n,e){this.reducer=n,this.create=e}};function hu(t){return typeof t=="function"&&t[eA]===!0}var Wl=new C("");var h0=class{_box;_destroyed=new R;_resizeSubject=new R;_resizeObserver;_elementObservables=new Map;constructor(n){this._box=n,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new fe(e=>{let i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(Ae(e=>e.filter(i=>i.target===n)),Me(e=>e.length>0),bm({bufferSize:1,refCount:!0}),Ye(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Ph=(()=>{class t{_cleanupErrorListener;_observers=new Map;_ngZone=u(O);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,i){let r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new h0(r)),this._observers.get(r).observe(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();var Xi=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["mat-label"]]})}return t})(),lA=new C("MatError");var g0=(()=>{class t{align="start";id=u(st).getId("mat-mdc-hint-");static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){i&2&&(On("id",r.id),ye("align",null),ie("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"}})}return t})(),cA=new C("MatPrefix");var b0=new C("MatSuffix"),v0=(()=>{class t{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[Xe([{provide:b0,useExisting:t}])]})}return t})(),dA=new C("FloatingLabelParent"),nA=(()=>{class t{_elementRef=u($);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=u(Ph);_ngZone=u(O);_parent=u(dA);_resizeSubscription=new xe;ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return YU(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){i&2&&ie("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return t})();function YU(t){let n=t;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let i=e.scrollWidth;return e.remove(),i}var iA="mdc-line-ripple--active",Fh="mdc-line-ripple--deactivating",rA=(()=>{class t{_elementRef=u($);_cleanupTransitionEnd;constructor(){let e=u(O),i=u(He);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=i.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Fh),e.add(iA)}deactivate(){this._elementRef.nativeElement.classList.add(Fh)}_handleTransitionEnd=e=>{let i=this._elementRef.nativeElement.classList,r=i.contains(Fh);e.propertyName==="opacity"&&r&&i.remove(iA,Fh)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return t})(),oA=(()=>{class t{_elementRef=u($);_ngZone=u(O);open=!1;_notch;ngAfterViewInit(){let e=this._elementRef.nativeElement,i=e.querySelector(".mdc-floating-label");i?(e.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(i.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>i.style.transitionDuration="")}))):e.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){let i=this._notch.nativeElement;!this.open||!e?i.style.width="":i.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}_setMaxWidth(e){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${e}px)`)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=["notch"];return F({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(o,a){if(o&1&&it(e,5),o&2){let s;X(s=J())&&(a._notch=s.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(o,a){o&2&&ie("mdc-notched-outline--notched",a.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},ngContentSelectors:["*"],decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(o,a){o&1&&(ct(),$n(0,"div",1),zt(1,"div",2,0),Ee(3),ln(),$n(4,"div",3))},encapsulation:2})})()}return t})(),ql=(()=>{class t{id;ngField=null;ngControl=null;focused=!1;empty=!1;shouldLabelFloat=!1;required=!1;disabled=!1;errorState=!1;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;stateChanges=null;value;static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t})}return t})();var Yl=new C("MatFormField"),Lh=new C("MAT_FORM_FIELD_DEFAULT_OPTIONS"),aA="fill",KU="auto",sA="fixed",QU="translateY(-50%)",Mr=(()=>{class t{_elementRef=u($);_changeDetectorRef=u(We);_platform=u($e);_idGenerator=u(st);_ngZone=u(O);_defaults=u(Lh,{optional:!0});_currentDirection;_unwrapMaybeSignal(e){return Mn(e)?e():e}_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=ad("iconPrefixContainer");_textPrefixContainerSignal=ad("textPrefixContainer");_iconSuffixContainerSignal=ad("iconSuffixContainer");_textSuffixContainerSignal=ad("textSuffixContainer");_prefixSuffixContainers=In(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=KM(Xi);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=ao(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||KU}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(e){let i=e||this._defaults?.appearance||aA;this._appearanceSignal.set(i)}_appearanceSignal=he(aA);get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||sA}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||sA}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new R;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=dt();constructor(){let e=this._defaults,i=u(Jt);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),ti(()=>this._currentDirection=i.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=hu(this._control.ngField)?null:this._control.ngControl.control.validator),this._previousControl=this._control,this._changeDetectorRef.markForCheck()),this._control.ngControl&&this._control.ngControl.control&&!hu(this._control.ngField)&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=In(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let i=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(r+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges?.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=i.stateChanges?.pipe(vt([void 0,void 0]),Ae(()=>[this._unwrapMaybeSignal(i.errorState),i.userAriaDescribedBy]),gm(),Me(([[o,a],[s,l]])=>o!==s||a!==l)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&!hu(i.ngField)&&(this._valueChanges=i.ngControl.valueChanges.pipe(Ye(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),rn(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){let e=this._unwrapMaybeSignal(this._control.focused);e&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!e&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",e),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",e)}_syncOutlineLabelOffset(){s_({earlyRead:()=>{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(let e of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(e,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:e=>this._writeOutlinedLabelStyles(e())})}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=In(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._shouldAlwaysFloat()||this._unwrapMaybeSignal(this._control.shouldLabelFloat):!1}_shouldForward(e){let i=this._control?.ngField||this._control?.ngControl;if(!i)return!1;if(hu(i)){let r=i();return e==="valid"?r.valid():e==="dirty"?r.dirty():e==="touched"?r.touched():e==="pending"?r.pending():e==="untouched"?!r.touched():e==="pristine"?!r.dirty():e==="invalid"?!r.valid():!1}else{let r=i;return e==="valid"?r.valid:e==="dirty"?r.dirty:e==="touched"?r.touched:e==="pending"?r.pending:e==="untouched"?r.untouched:e==="pristine"?r.pristine:e==="invalid"?r.invalid:!1}}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._unwrapMaybeSignal(this._control.errorState)?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let o=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,a=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;o?e.push(o.id):this._hintLabel&&e.push(this._hintLabelId),a&&e.push(a.id)}else this._errorChildren&&e.push(...this._errorChildren.map(o=>o.id));let i=this._control.describedByIds,r;if(i){let o=this._describedByIds||e;r=e.concat(i.filter(a=>a&&!o.includes(a)))}else r=e;this._control.setDescribedByIds(r),this._describedByIds=e}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;let e=this._iconPrefixContainer?.nativeElement,i=this._textPrefixContainer?.nativeElement,r=this._iconSuffixContainer?.nativeElement,o=this._textSuffixContainer?.nativeElement,a=e?.getBoundingClientRect().width??0,s=i?.getBoundingClientRect().width??0,l=r?.getBoundingClientRect().width??0,c=o?.getBoundingClientRect().width??0,d=this._currentDirection==="rtl"?"-1":"1",m=`${a+s}px`,f=`calc(${d} * (${m} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,g=`var(--mat-mdc-form-field-label-transform, ${QU} translateX(${f}))`,_=a+s+l+c;return[g,_]}_writeOutlinedLabelStyles(e){if(e!==null){let[i,r]=e;this._floatingLabel&&(this._floatingLabel.element.style.transform=i),r!==null&&this._notchedOutline?._setMaxWidth(r)}}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=["iconPrefixContainer"],i=["textPrefixContainer"],r=["iconSuffixContainer"],o=["textSuffixContainer"],a=["textField"],s=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],l=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function c(me,_e){me&1&&Y(0,"span",21)}function d(me,_e){if(me&1&&(b(0,"label",20),Ee(1,1),Q(2,c,1,0,"span",21),v()),me&2){let k=N(2);P("floating",k._shouldLabelFloat())("monitorResize",k._hasOutline())("id",k._labelId),ye("for",k._control.disableAutomaticLabeling?null:k._control.id),x(2),Z(!k.hideRequiredMarker&&k._unwrapMaybeSignal(k._control.required)?2:-1)}}function m(me,_e){if(me&1&&Q(0,d,3,5,"label",20),me&2){let k=N();Z(k._hasFloatingLabel()?0:-1)}}function p(me,_e){me&1&&Y(0,"div",7)}function f(me,_e){}function g(me,_e){if(me&1&&sn(0,f,0,0,"ng-template",13),me&2){N(2);let k=Et(1);P("ngTemplateOutlet",k)}}function _(me,_e){if(me&1&&(b(0,"div",9),Q(1,g,1,1,null,13),v()),me&2){let k=N();P("matFormFieldNotchedOutlineOpen",k._shouldLabelFloat()),x(),Z(k._forceDisplayInfixLabel()?-1:1)}}function E(me,_e){me&1&&(b(0,"div",10,2),Ee(2,2),v())}function L(me,_e){me&1&&(b(0,"div",11,3),Ee(2,3),v())}function A(me,_e){}function ee(me,_e){if(me&1&&sn(0,A,0,0,"ng-template",13),me&2){N();let k=Et(1);P("ngTemplateOutlet",k)}}function Re(me,_e){me&1&&(b(0,"div",14,4),Ee(2,4),v())}function ht(me,_e){me&1&&(b(0,"div",15,5),Ee(2,5),v())}function Le(me,_e){me&1&&Y(0,"div",16)}function Pe(me,_e){me&1&&(b(0,"div",18),Ee(1,6),v())}function Je(me,_e){if(me&1&&(b(0,"mat-hint",22),S(1),v()),me&2){let k=N(2);P("id",k._hintLabelId),x(),rt(k.hintLabel)}}function It(me,_e){if(me&1&&(b(0,"div",19),Q(1,Je,2,2,"mat-hint",22),Ee(2,7),Y(3,"div",23),Ee(4,8),v()),me&2){let k=N();x(),Z(k.hintLabel?1:-1)}}return F({type:t,selectors:[["mat-form-field"]],contentQueries:function(_e,k,Ve){if(_e&1&&(jf(Ve,k._labelChild,Xi,5),mn(Ve,ql,5)(Ve,cA,5)(Ve,b0,5)(Ve,lA,5)(Ve,g0,5)),_e&2){zf();let Ut;X(Ut=J())&&(k._formFieldControl=Ut.first),X(Ut=J())&&(k._prefixChildren=Ut),X(Ut=J())&&(k._suffixChildren=Ut),X(Ut=J())&&(k._errorChildren=Ut),X(Ut=J())&&(k._hintChildren=Ut)}},viewQuery:function(_e,k){if(_e&1&&(Bf(k._iconPrefixContainerSignal,e,5)(k._textPrefixContainerSignal,i,5)(k._iconSuffixContainerSignal,r,5)(k._textSuffixContainerSignal,o,5),it(a,5)(e,5)(i,5)(r,5)(o,5)(nA,5)(oA,5)(rA,5)),_e&2){zf(4);let Ve;X(Ve=J())&&(k._textField=Ve.first),X(Ve=J())&&(k._iconPrefixContainer=Ve.first),X(Ve=J())&&(k._textPrefixContainer=Ve.first),X(Ve=J())&&(k._iconSuffixContainer=Ve.first),X(Ve=J())&&(k._textSuffixContainer=Ve.first),X(Ve=J())&&(k._floatingLabel=Ve.first),X(Ve=J())&&(k._notchedOutline=Ve.first),X(Ve=J())&&(k._lineRipple=Ve.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(_e,k){_e&2&&ie("mat-mdc-form-field-label-always-float",k._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",k._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",k._hasIconSuffix)("mat-form-field-invalid",k._unwrapMaybeSignal(k._control.errorState))("mat-form-field-disabled",k._unwrapMaybeSignal(k._control.disabled))("mat-form-field-autofilled",k._unwrapMaybeSignal(k._control.autofilled))("mat-form-field-appearance-fill",k.appearance=="fill")("mat-form-field-appearance-outline",k.appearance=="outline")("mat-form-field-hide-placeholder",k._hasFloatingLabel()&&!k._shouldLabelFloat())("mat-primary",k.color!=="accent"&&k.color!=="warn")("mat-accent",k.color==="accent")("mat-warn",k.color==="warn")("ng-untouched",k._shouldForward("untouched"))("ng-touched",k._shouldForward("touched"))("ng-pristine",k._shouldForward("pristine"))("ng-dirty",k._shouldForward("dirty"))("ng-valid",k._shouldForward("valid"))("ng-invalid",k._shouldForward("invalid"))("ng-pending",k._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Xe([{provide:Yl,useExisting:t},{provide:dA,useExisting:t}])],ngContentSelectors:l,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(_e,k){if(_e&1&&(ct(s),sn(0,m,1,1,"ng-template",null,0,Zy),b(2,"div",6,1),j("click",function(Ut){return k._control.onContainerClick(Ut)}),Q(4,p,1,0,"div",7),b(5,"div",8),Q(6,_,2,2,"div",9),Q(7,E,3,0,"div",10),Q(8,L,3,0,"div",11),b(9,"div",12),Q(10,ee,1,1,null,13),Ee(11),v(),Q(12,Re,3,0,"div",14),Q(13,ht,3,0,"div",15),v(),Q(14,Le,1,0,"div",16),v(),b(15,"div",17),Q(16,Pe,2,0,"div",18)(17,It,5,1,"div",19),v()),_e&2){let Ve,Ut=k._unwrapMaybeSignal(k._control.disabled);x(2),ie("mdc-text-field--filled",!k._hasOutline())("mdc-text-field--outlined",k._hasOutline())("mdc-text-field--no-label",!k._hasFloatingLabel())("mdc-text-field--disabled",Ut)("mdc-text-field--invalid",k._unwrapMaybeSignal(k._control.errorState)),x(2),Z(!k._hasOutline()&&!Ut?4:-1),x(2),Z(k._hasOutline()?6:-1),x(),Z(k._hasIconPrefix?7:-1),x(),Z(k._hasTextPrefix?8:-1),x(2),Z(!k._hasOutline()||k._forceDisplayInfixLabel()?10:-1),x(2),Z(k._hasTextSuffix?12:-1),x(),Z(k._hasIconSuffix?13:-1),x(),Z(k._hasOutline()?-1:14),x(),ie("mat-mdc-form-field-subscript-dynamic-size",k.subscriptSizing==="dynamic");let nr=k._getSubscriptMessageType();x(),Z((Ve=nr)==="error"?16:Ve==="hint"?17:-1)}},dependencies:[nA,oA,f_,rA,g0],styles:[`.mdc-text-field { +`],encapsulation:2})})()}return t})();function wH(t){return t.hasAttribute("mat-raised-button")?"elevated":t.hasAttribute("mat-stroked-button")?"outlined":t.hasAttribute("mat-flat-button")?"filled":t.hasAttribute("mat-button")?"text":null}var tN=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({imports:[Ll,Qe]})}return t})();var SH="UDS Launcher";function co(t){return django.interpolate(t,{launcher:SH},!0)}var yt=(()=>{class t{constructor(){this.el=u($)}ngOnInit(){this.el.nativeElement.innerHTML=co(django.gettext(this.el.nativeElement.innerHTML.trim()))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=B({type:t,selectors:[["uds-translate"]],standalone:!1})}}return t})();function EH(t,n){this.v=t,this.k=n}function nN(t,n){(n==null||n>t.length)&&(n=t.length);for(var e=0,i=Array(n);e2?i-2:0),o=2;o1?e-1:0),r=1;r"u"?null:Mt(BigInt.prototype.toString),lN=typeof Symbol>"u"?null:Mt(Symbol.prototype.toString),Kn=Mt(Object.prototype.hasOwnProperty),su=Mt(Object.prototype.toString),yn=Mt(RegExp.prototype.test),mo=xN(TypeError);function Mt(t){return function(n){n instanceof RegExp&&(n.lastIndex=0);for(var e=arguments.length,i=new Array(e>1?e-1:0),r=1;r2&&arguments[2]!==void 0?arguments[2]:es;if(iN&&iN(t,null),!jl(n))return t;let i=n.length;for(;i--;){let r=n[i];if(typeof r=="string"){let o=e(r);o!==r&&(NH(n)||(n[i]=o),r=o)}t[r]=!0}return t}function VH(t){for(let n=0;n/g),WH=_n(/\${[\w\W]*/g),qH=_n(/^data-[\-\w.\u00B7-\uFFFF]+$/),YH=_n(/^aria-[\-\w]+$/),fN=_n(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),KH=_n(/^(?:\w+script|data):/i),QH=_n(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ZH=_n(/^html$/i),XH=_n(/^[a-z][.\w]*(-[.\w]+)+$/i),e0=_n(/<[/\w!]/g),pN=_n(/<[/\w]/g),JH=_n(/<\/no(script|embed|frames)/i),hN=_n(/\/>/i),en={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},eU=fn(Ze({},["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"])),tU=function(){return typeof window>"u"?null:window},nU=function(n,e){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let i=null,r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(i=e.getAttribute(r));let o="dompurify"+(i?"#"+i:"");try{return n.createPolicy(o,{createHTML(a){return a},createScriptURL(a){return a}})}catch(a){return console.warn("TrustedTypes policy "+o+" could not be created."),null}},gN=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},ea=function(n,e,i,r){return Kn(n,e)&&jl(n[e])?Ze(r.base?ci(r.base):{},n[e],r.transform):i},t0=function(n,e,i){let r=Kn(n,e)?n[e]:void 0;return r&&typeof r=="object"?ci(r):i()};function CN(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:tU(),n=T=>CN(T);if(n.version="3.4.17",n.removed=[],!t||!t.document||t.document.nodeType!==en.document||!t.Element)return n.isSupported=!1,n;let e=t.document,i=e,r=i.currentScript;t.DocumentFragment;let o=t.HTMLTemplateElement,a=t.Node,s=t.Element,l=t.NodeFilter;t.NamedNodeMap===void 0&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;let c=t.DOMParser,d=t.trustedTypes,m=s.prototype,p=Di(m,"cloneNode"),f=Di(m,"remove"),g=Di(m,"removeAttributeNode"),_=Di(m,"nextSibling"),E=Di(m,"childNodes"),L=Di(m,"parentNode"),A=Di(m,"shadowRoot"),ee=Di(m,"attributes"),Re=a&&a.prototype?Di(a.prototype,"nodeType"):null,ht=a&&a.prototype?Di(a.prototype,"nodeName"):null,Le=a&&a.prototype?Di(a.prototype,"ownerDocument"):null,Pe=function(h){return Re?Re(h):h.nodeType},Je=function(h){return ht?ht(h):h.nodeName},It=BH(m,"namespaceURI"),me=function(h){return It?It(h):h.namespaceURI};if(typeof o=="function"){let T=e.createElement("template");T.content&&T.content.ownerDocument&&(e=T.content.ownerDocument)}let _e,k="",Ve,Ut=!1,nr=0,te=function(){if(nr>0)throw mo('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},ae=function(h){te(),nr++;try{return _e.createHTML(h)}finally{nr--}},be=function(h){te(),nr++;try{return _e.createScriptURL(h)}finally{nr--}},qe=function(){return Ut||(Ve=nU(d,r),Ut=!0),Ve},kt=e,Vn=kt.implementation,xn=kt.createNodeIterator,ir=kt.createDocumentFragment,_t=kt.getElementsByTagName,Iu=i.importNode,gt=gN();n.isSupported=typeof bN=="function"&&typeof L=="function"&&Vn&&Vn.createHTMLDocument!==void 0;let dn=$H,Nr=GH,jn=WH,ls=qH,ic=YH,vO=KH,yC=QH,yO=XH,_C=fN,Ct=null,gg=Ze({},[...cN,...Qx,...Zx,...Xx,...dN]),wt=null,bg=Ze({},[...uN,...Jx,...mN,...bh]),rr=Object.seal(Vl(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),rc=null,xC=null,go=Object.seal(Vl(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),CC=!0,vg=!0,wC=!1,yg=!0,Ar=!1,sa=!0,la=!1,_g=!1,ku=null,Tu=null,xg=!1,cs=!1,Nu=!1,Au=!1,SC=!0,EC=!1,DC="user-content-",Cg=!0,wg=!1,ca=null,ds={},da=null,MC=Ze({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]),IC=null,kC=Ze({},["audio","video","img","source","image","track"]),TC=null,NC=Ze({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ru="http://www.w3.org/1998/Math/MathML",Ou="http://www.w3.org/2000/svg",or="http://www.w3.org/1999/xhtml",us=or,Sg=!1,Eg=null,_O=Ze({},[Ru,Ou,or],Kx),AC=fn(["mi","mo","mn","ms","mtext"]),Dg=Ze({},AC),RC=fn(["annotation-xml"]),Mg=Ze({},RC),xO=Ze({},["title","style","font","a","script"]),oc=null,CO=["application/xhtml+xml","text/html"],wO="text/html",$t=null,ms=null,SO=e.createElement("form"),OC=function(h){return h instanceof RegExp||h instanceof Function},Ig=function(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ms&&ms===h)return;(!h||typeof h!="object")&&(h={}),h=ci(h),oc=CO.indexOf(h.PARSER_MEDIA_TYPE)===-1?wO:h.PARSER_MEDIA_TYPE,$t=oc==="application/xhtml+xml"?Kx:es,Ct=ea(h,"ALLOWED_TAGS",gg,{transform:$t}),wt=ea(h,"ALLOWED_ATTR",bg,{transform:$t}),Eg=ea(h,"ALLOWED_NAMESPACES",_O,{transform:Kx}),TC=ea(h,"ADD_URI_SAFE_ATTR",NC,{transform:$t,base:NC}),IC=ea(h,"ADD_DATA_URI_TAGS",kC,{transform:$t,base:kC}),da=ea(h,"FORBID_CONTENTS",MC,{transform:$t}),rc=ea(h,"FORBID_TAGS",ci({}),{transform:$t}),xC=ea(h,"FORBID_ATTR",ci({}),{transform:$t}),ds=Kn(h,"USE_PROFILES")?h.USE_PROFILES&&typeof h.USE_PROFILES=="object"?ci(h.USE_PROFILES):h.USE_PROFILES:!1,CC=h.ALLOW_ARIA_ATTR!==!1,vg=h.ALLOW_DATA_ATTR!==!1,wC=h.ALLOW_UNKNOWN_PROTOCOLS||!1,yg=h.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ar=h.SAFE_FOR_TEMPLATES||!1,sa=h.SAFE_FOR_XML!==!1,la=h.WHOLE_DOCUMENT||!1,cs=h.RETURN_DOM||!1,Nu=h.RETURN_DOM_FRAGMENT||!1,Au=h.RETURN_TRUSTED_TYPE||!1,xg=h.FORCE_BODY||!1,SC=h.SANITIZE_DOM!==!1,EC=h.SANITIZE_NAMED_PROPS||!1,Cg=h.KEEP_CONTENT!==!1,wg=h.IN_PLACE||!1,_C=zH(h.ALLOWED_URI_REGEXP)?h.ALLOWED_URI_REGEXP:fN,us=typeof h.NAMESPACE=="string"?h.NAMESPACE:or,Dg=t0(h,"MATHML_TEXT_INTEGRATION_POINTS",()=>Ze({},AC)),Mg=t0(h,"HTML_INTEGRATION_POINTS",()=>Ze({},RC));let y=t0(h,"CUSTOM_ELEMENT_HANDLING",()=>Vl(null));if(rr=Vl(null),Kn(y,"tagNameCheck")&&OC(y.tagNameCheck)&&(rr.tagNameCheck=y.tagNameCheck),Kn(y,"attributeNameCheck")&&OC(y.attributeNameCheck)&&(rr.attributeNameCheck=y.attributeNameCheck),Kn(y,"allowCustomizedBuiltInElements")&&typeof y.allowCustomizedBuiltInElements=="boolean"&&(rr.allowCustomizedBuiltInElements=y.allowCustomizedBuiltInElements),_n(rr),Ar&&(vg=!1),Nu&&(cs=!0),ds&&(Ct=Ze({},dN),wt=Vl(null),ds.html===!0&&(Ze(Ct,cN),Ze(wt,uN)),ds.svg===!0&&(Ze(Ct,Qx),Ze(wt,Jx),Ze(wt,bh)),ds.svgFilters===!0&&(Ze(Ct,Zx),Ze(wt,Jx),Ze(wt,bh)),ds.mathMl===!0&&(Ze(Ct,Xx),Ze(wt,mN),Ze(wt,bh))),go.tagCheck=null,go.attributeCheck=null,Kn(h,"ADD_TAGS")&&(typeof h.ADD_TAGS=="function"?go.tagCheck=h.ADD_TAGS:jl(h.ADD_TAGS)&&(Ct===gg&&(Ct=ci(Ct)),Ze(Ct,h.ADD_TAGS,$t))),Kn(h,"ADD_ATTR")&&(typeof h.ADD_ATTR=="function"?go.attributeCheck=h.ADD_ATTR:jl(h.ADD_ATTR)&&(wt===bg&&(wt=ci(wt)),Ze(wt,h.ADD_ATTR,$t))),Kn(h,"ADD_FORBID_CONTENTS")&&jl(h.ADD_FORBID_CONTENTS)&&(da===MC&&(da=ci(da)),Ze(da,h.ADD_FORBID_CONTENTS,$t)),Cg&&(Ct["#text"]=!0),la&&Ze(Ct,["html","head","body"]),Ct.table&&(Ze(Ct,["tbody"]),delete rc.tbody),h.TRUSTED_TYPES_POLICY){if(typeof h.TRUSTED_TYPES_POLICY.createHTML!="function")throw mo('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof h.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw mo('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');let M=_e;_e=h.TRUSTED_TYPES_POLICY;try{k=ae("")}catch(I){throw _e=M,I}}else h.TRUSTED_TYPES_POLICY===null?(_e=void 0,k=""):(_e===void 0&&(_e=qe()),_e&&typeof k=="string"&&(k=ae("")));fn&&fn(h),ms=h},PC=Ze({},[...Qx,...Zx,...HH]),FC=Ze({},[...Xx,...UH]),EO=function(h,y,M){return y.namespaceURI===or?h==="svg":y.namespaceURI===Ru?h==="svg"&&(M==="annotation-xml"||Dg[M]):!!PC[h]},DO=function(h,y,M){return y.namespaceURI===or?h==="math":y.namespaceURI===Ou?h==="math"&&Mg[M]:!!FC[h]},MO=function(h,y,M){return y.namespaceURI===Ou&&!Mg[M]||y.namespaceURI===Ru&&!Dg[M]?!1:!FC[h]&&(xO[h]||!PC[h])},IO=function(h){let y=me(h),M=es(Je(h)),I=L(h),ce,De;return I&&Pe(I)===en.element?(ce={namespaceURI:me(I)},De=es(Je(I))):(ce={namespaceURI:us},De="template"),Eg[y]?y===Ou?EO(M,ce,De):y===Ru?DO(M,ce,De):y===or?MO(M,ce,De):!!(oc==="application/xhtml+xml"&&Eg[y]):!1},bo=function(h){ru(n.removed,{element:h});try{L(h).removeChild(h)}catch(y){if(f(h),!L(h))throw mo("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},LC=function(h,y,M){try{g(h,y)}catch(I){try{h.removeAttribute(M)}catch(ce){}}},kg=function(h){Ng(h);let y=E(h);y&&uo(RH(y),I=>{try{f(I)}catch(ce){}});let M=Pe(h)===en.element?ee(h):null;if(M)for(let I=M.length-1;I>=0;--I){let ce=M[I],De=ce&&ce.name;typeof De=="string"&&LC(h,ce,De)}},fs=function(h,y,M){if(!M)try{M=y.getAttributeNode(h)}catch(I){M=null}ru(n.removed,{attribute:M||null,from:y});try{M?g(y,M):y.removeAttribute(h)}catch(I){try{y.removeAttribute(h)}catch(ce){}}if(h==="is")if(cs||Nu)try{bo(y)}catch(I){}else try{y.setAttribute(h,"")}catch(I){}},VC=function(h){let y=ee(h);if(y)for(let M=y.length-1;M>=0;--M){let I=y[M],ce=I&&I.name;typeof ce!="string"||wt[$t(ce)]||LC(h,I,ce)}},Tg=function(h,y){let M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,I=[h];for(;I.length>0;){let ce=I.pop();if(y(ce)===!1)continue;if(M&&Pe(ce)===en.element){let je=A(ce);vo(je)&&I.push(je)}let De=E(ce);if(De)for(let je=De.length-1;je>=0;--je)I.push(De[je])}},Ng=function(h){Tg(h,y=>{Pe(y)===en.element&&VC(y)})},Ag=function(h){let y=[];return Tg(h,M=>{y.push(M)},!0),y},kO=function(h,y){let M=qx();uo(Ag(h),I=>{Pe(I)===en.element&&Yx(M,I)}),uo(y,I=>{Pe(I)===en.element&&!ou(M,I)&&VC(I)})},jC=function(h,y){let M=!1;return uo(n.removed,I=>{I.element&&(M=M||I.element===h,Ng(I.element))}),kO(h,y),M},TO=8,NO=function(h,y){let M=ca,I=null,ce=()=>(I||(I=qx(),uo(y,De=>{Yx(I,De)})),I);for(let De=0;;De++){let je=Ag(h),tn=[h],ar=!1;if(uo(je,Tn=>{Pe(Tn)===en.documentFragment?ru(tn,Tn):!ar&&!ou(M,Tn)&&(ar=ou(ce(),Tn))}),!ar)return;if(De>=TO)throw mo("the tree kept changing during in-place sanitization; refusing to return it");uo(tn,(Tn,Bn)=>{AO(Tn,Bn>0,h,ce())})}},AO=function(h,y,M,I){let ce=Rg(h),De;for(;De=ce.nextNode();)!ou(I,De)||ou(ca,De)||(y&&Ii(gt.uponSanitizeShadowNode,De,null),Pg(De,M),Fg(De,M),vo(De.content)&&sc(De.content))},RO=function(h){ca&&Yx(ca,h)},BC=function(h,y){return sa?h==="patchsrc"?!0:h==="for"&&y!=="label"&&y!=="output":!1},OO=function(h){sa&&Tg(h,y=>{let M=Pe(y);if(M===en.processingInstruction||M===en.comment&&yn(pN,y.data)){try{f(y)}catch(I){}return!1}if(M===en.element){let I=y,ce=$t(Je(y));try{I.hasAttribute&&I.hasAttribute("patchsrc")&&I.removeAttribute("patchsrc"),I.hasAttribute&&I.hasAttribute("for")&&BC("for",ce)&&I.removeAttribute("for")}catch(De){}}return!0})},zC=function(h){let y=null,M=null;if(xg)h=""+h;else{let De=oN(h,/^[\r\n\t ]+/);M=De&&De[0]}oc==="application/xhtml+xml"&&us===or&&(h=''+h+"");let I=_e?ae(h):h;if(us===or)try{y=new c().parseFromString(I,oc)}catch(De){}if(!y||!y.documentElement){y=Vn.createDocument(us,"template",null);try{y.documentElement.innerHTML=Sg?k:I}catch(De){}}let ce=y.body||y.documentElement;return h&&M&&ce.insertBefore(e.createTextNode(M),ce.childNodes[0]||null),us===or?_t.call(y,la?"html":"body")[0]:la?y.documentElement:ce},Rg=function(h){let y=Le?Le(h):h.ownerDocument;return xn.call(y||h,h,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT|l.SHOW_PROCESSING_INSTRUCTION|l.SHOW_CDATA_SECTION,null)},Pu=function(h){return h=au(h,dn," "),h=au(h,Nr," "),h=au(h,jn," "),h},Og=function(h){var y;HC(h);let M=(y=h.querySelectorAll)===null||y===void 0?void 0:y.call(h,"template");M&&uo(M,I=>{vo(I.content)&&Og(I.content)})},HC=function(h){h.normalize();let y=Le?Le(h):h.ownerDocument,M=xn.call(y||h,h,l.SHOW_TEXT|l.SHOW_COMMENT|l.SHOW_CDATA_SECTION|l.SHOW_PROCESSING_INSTRUCTION,null),I=M.nextNode();for(;I;)I.data=Pu(I.data),I=M.nextNode()},Fu=function(h){let y=ht?ht(h):null;return typeof y!="string"||$t(y)!=="form"?!1:typeof h.nodeName!="string"||typeof h.textContent!="string"||typeof h.removeChild!="function"||h.attributes!==ee(h)||typeof h.removeAttribute!="function"||typeof h.removeAttributeNode!="function"||typeof h.getAttributeNode!="function"||typeof h.setAttribute!="function"||typeof h.namespaceURI!="string"||typeof h.insertBefore!="function"||typeof h.hasChildNodes!="function"||h.nodeType!==Re(h)||h.childNodes!==E(h)},vo=function(h){if(!Re||typeof h!="object"||h===null)return!1;try{return Re(h)===en.documentFragment}catch(y){return!1}},ac=function(h){if(!Re||typeof h!="object"||h===null)return!1;try{return typeof Re(h)=="number"}catch(y){return!1}};function Ii(T,h,y){T.length!==0&&uo(T,M=>{M.call(n,h,y,ms)})}let PO=function(h,y){return!!(sa&&h.hasChildNodes()&&!ac(h.firstElementChild)&&yn(e0,h.textContent)&&yn(e0,h.innerHTML)||sa&&eU[y]&&Pe(h)===en.element&&me(h)===or&&(ac(h.firstElementChild)||typeof h.textContent=="string"&&yn(e0,h.textContent))||h.nodeType===en.processingInstruction||sa&&h.nodeType===en.comment&&yn(pN,h.data))},Lu=function(h,y){if(h instanceof RegExp)return yn(h,y);if(h instanceof Function){for(var M=arguments.length,I=new Array(M>2?M-2:0),ce=2;ce=0;--je){let tn=h===M?p(ce[je],!0):ce[je];I.insertBefore(tn,_(h))}}}return bo(h),!0},UC=function(h,y,M,I){return h.length===0?y:y===M||y===I?ci(y):y},ps=function(h,y){return h===y||L(h)!==null?!1:(wg&&Ng(h),!0)},Pg=function(h,y){if(RO(h),Ii(gt.beforeSanitizeElements,h,null),ps(h,y))return!0;if(Fu(h))return bo(h),!0;let M=$t(Je(h));if(Ct=UC(gt.uponSanitizeElement,Ct,gg,ku),Ii(gt.uponSanitizeElement,h,{tagName:M,allowedTags:Ct}),ps(h,y))return!0;if(PO(h,M))return bo(h),!0;if(rc[M]||!(go.tagCheck instanceof Function&&go.tagCheck(M))&&!Ct[M]){let I=FO(h,M,y);return I===!1&&(Ii(gt.afterSanitizeElements,h,null),ps(h,y))?!0:I}if(Pe(h)===en.element&&!IO(h)||(M==="noscript"||M==="noembed"||M==="noframes")&&yn(JH,h.innerHTML))return bo(h),!0;if(Ar&&h.nodeType===en.text){let I=Pu(h.textContent);h.textContent!==I&&(ru(n.removed,{element:h.cloneNode()}),h.textContent=I)}return Ii(gt.afterSanitizeElements,h,null),ps(h,y)},$C=function(h,y,M){if(xC[y]||BC(y,h)||SC&&(y==="id"||y==="name")&&(M in e||M in SO))return!1;let I=wt[y]||go.attributeCheck instanceof Function&&go.attributeCheck(y,h);return vg&&yn(ls,y)||CC&&yn(ic,y)?!0:I?TC[y]||yn(_C,au(M,yC,""))||(y==="src"||y==="xlink:href"||y==="href")&&h!=="script"&&aN(M,"data:")===0&&IC[h]||wC&&!yn(vO,au(M,yC,""))?!0:!M:GC(h)&&Lu(rr.tagNameCheck,h)&&Lu(rr.attributeNameCheck,y,h)||y==="is"&&rr.allowCustomizedBuiltInElements&&Lu(rr.tagNameCheck,M)},LO=Ze({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),GC=function(h){return!LO[es(h)]&&yn(yO,h)},VO=function(h,y,M,I){if(_e&&typeof d=="object"&&typeof d.getAttributeType=="function"&&!M)switch(d.getAttributeType(h,y)){case"TrustedHTML":return ae(I);case"TrustedScriptURL":return be(I)}return I},jO=function(h,y,M,I){try{return M?h.setAttributeNS(M,y,I):h.setAttribute(y,I),Fu(h)?(bo(h),!1):!0}catch(ce){return fs(y,h),!1}},WC=function(h,y){return sa&&yn(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,y)?!0:es(h)==="attributename"&&oN(y,"href")!==null},Fg=function(h,y){if(Ii(gt.beforeSanitizeAttributes,h,null),ps(h,y))return;let M=h.attributes;if(!M||Fu(h))return;wt=UC(gt.uponSanitizeAttribute,wt,bg,Tu);let I={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:wt,forceKeepAttr:void 0},ce=M.length,De=$t(h.nodeName);for(;ce--;){let je=M[ce],tn=je.name,ar=je.namespaceURI,Tn=je.value,Bn=$t(tn),hs=Tn,zn=tn==="value"?hs:PH(hs),qC=!1;if(I.attrName=Bn,I.attrValue=zn,I.keepAttr=!0,I.forceKeepAttr=void 0,Ii(gt.uponSanitizeAttribute,h,I),zn=I.attrValue,EC&&(Bn==="id"||Bn==="name")&&aN(zn,DC)!==0&&(fs(tn,h,je),zn=DC+zn,qC=!0),WC(tn,zn)){fs(tn,h,je);continue}if(!I.forceKeepAttr){if(!I.keepAttr){fs(tn,h,je);continue}if(!yg&&yn(hN,zn)){fs(tn,h,je);continue}if(Ar&&(zn=Pu(zn)),!$C(De,Bn,zn)){fs(tn,h,je);continue}zn=VO(De,Bn,ar,zn),zn!==hs&&jO(h,tn,ar,zn)&&qC&&rN(n.removed)}}Ii(gt.afterSanitizeAttributes,h,null),ps(h,y)},sc=function(h){let y=null,M=Rg(h);for(Ii(gt.beforeSanitizeShadowDOM,h,null);y=M.nextNode();)if(Ii(gt.uponSanitizeShadowNode,y,null),Pg(y,h),Fg(y,h),vo(y.content)&&sc(y.content),Pe(y)===en.element){let I=A(y);vo(I)&&(Lg(I),sc(I))}Ar&&HC(h),Ii(gt.afterSanitizeShadowDOM,h,null)},Lg=function(h){let y=[{node:h,shadow:null}];for(;y.length>0;){let M=y.pop();if(M.shadow){sc(M.shadow);continue}let I=M.node,ce=Pe(I)===en.element,De=E(I);if(De)for(let je=De.length-1;je>=0;--je)y.push({node:De[je],shadow:null});if(ce){let je=ht?ht(I):null;if(typeof je=="string"&&$t(je)==="template"){let tn=I.content;vo(tn)&&y.push({node:tn,shadow:null})}}if(ce){let je=A(I);vo(je)&&y.push({node:null,shadow:je},{node:je,shadow:null})}}};return n.sanitize=function(T){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},y=null,M=null,I=null,ce=null;if(Sg=!T,Sg&&(T=""),typeof T!="string"&&!ac(T)&&(T=jH(T),typeof T!="string"))throw mo("dirty is not a string, aborting");if(!n.isSupported)return T;_g?(Ct=ku,wt=Tu):Ig(h),(gt.uponSanitizeElement.length>0||gt.uponSanitizeAttribute.length>0)&&(Ct=ci(Ct)),gt.uponSanitizeAttribute.length>0&&(wt=ci(wt)),n.removed=[];let De=wg&&typeof T!="string"&&ac(T),je=[],tn=ca;if(De){OO(T);let Bn=Je(T);if(typeof Bn=="string"){let hs=$t(Bn);if(!Ct[hs]||rc[hs])throw kg(T),mo("root node is forbidden and cannot be sanitized in-place")}if(Fu(T))throw kg(T),mo("root node is clobbered and cannot be sanitized in-place");je=Ag(T),ca=qx()}else if(ac(T))y=zC(""),M=y.ownerDocument.importNode(T,!0),M.nodeType===en.element&&M.nodeName==="BODY"||M.nodeName==="HTML"?y=M:y.appendChild(M),Lg(y);else{if(!cs&&!Ar&&!la&&T.indexOf("<")===-1)return _e&&Au?ae(T):T;if(y=zC(T),!y)return cs?null:Au?k:""}y&&xg&&bo(y.firstChild);let ar=De?T:y;try{De&&Lg(T);let Bn=Rg(ar);for(;I=Bn.nextNode();)Pg(I,ar),Fg(I,ar),vo(I.content)&&sc(I.content);De&&NO(T,je)}catch(Bn){throw De&&(kg(T),jC(T,je)),Bn}finally{ca=tn}if(De){if(jC(T,je))throw mo("a node selected for removal could not be safely returned; refusing to sanitize in place");return Ar&&Og(T),T}if(cs){if(Ar&&Og(y),Nu)for(ce=ir.call(y.ownerDocument);y.firstChild;)ce.appendChild(y.firstChild);else ce=y;return(wt.shadowroot||wt.shadowrootmode)&&(ce=Iu.call(i,ce,!0)),ce}let Tn=la?y.outerHTML:y.innerHTML;return la&&Ct["!doctype"]&&y.ownerDocument&&y.ownerDocument.doctype&&y.ownerDocument.doctype.name&&yn(ZH,y.ownerDocument.doctype.name)&&(Tn=" +`+Tn),Ar&&(Tn=Pu(Tn)),_e&&Au?ae(Tn):Tn},n.setConfig=function(){let T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ig(T),_g=!0,ku=Ct,Tu=wt},n.clearConfig=function(){ms=null,_g=!1,ku=null,Tu=null,_e=Ve,k=""},n.isValidAttribute=function(T,h,y){ms||Ig({});let M=$t(T),I=$t(h);return typeof y=="string"&&(WC(h,y)||!yg&&yn(hN,y))?!1:$C(M,I,y)},n.addHook=function(T,h){typeof h=="function"&&Kn(gt,T)&&ru(gt[T],h)},n.removeHook=function(T,h){if(Kn(gt,T)){if(h!==void 0){let y=AH(gt[T],h);return y===-1?void 0:OH(gt[T],y,1)[0]}return rN(gt[T])}},n.removeHooks=function(T){Kn(gt,T)&&(gt[T]=[])},n.removeAllHooks=function(){gt=gN()},n}var wN=CN();var ta=(()=>{class t{constructor(){this.sanitizer=u(yd)}transform(e,i){let r=wN.sanitize(e??"");return this.sanitizer.bypassSecurityTrustHtml(r)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=Of({name:"safeHtml",type:t,pure:!0,standalone:!1})}}return t})();var iU=t=>({"uds-launch-content":t});function rU(t,n){if(t&1&&(b(0,"div",2)(1,"div",5)(2,"div",6),q(3,"div",7)(4,"div",8)(5,"div",9),v(),q(6,"img",10),b(7,"span",11),S(8),v(),b(9,"div",12),q(10,"div",13),v(),q(11,"div",14),vi(12,"safeHtml"),v()()),t&2){let e=N();x(6),P("src",e.progressLogoUrl),x(2),Ke("",e.data.progress,"%"),x(),ye("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",e.data.progress)("aria-label",e.data.title),x(),Qr("width",e.data.progress,"%"),x(),P("innerHtml",yi(12,9,e.data.body),gi)}}function oU(t,n){if(t&1&&(q(0,"div",3),vi(1,"safeHtml")),t&2){let e=N();P("innerHTML",yi(1,1,e.data.body),gi)}}function aU(t,n){if(t&1){let e=Be();b(0,"button",15),j("click",function(){we(e);let r=N();return Se(r.resolveAndClose(!1))}),b(1,"uds-translate"),S(2,"Close"),v(),S(3),v()}if(t&2){let e=N();x(3),rt(e.extra)}}function sU(t,n){if(t&1){let e=Be();b(0,"button",15),j("click",function(){we(e);let r=N();return Se(r.resolveAndClose(!0))}),b(1,"uds-translate"),S(2,"Yes"),v()()}}function lU(t,n){if(t&1){let e=Be();b(0,"button",15),j("click",function(){we(e);let r=N();return Se(r.resolveAndClose(!1))}),b(1,"uds-translate"),S(2,"No"),v()()}}var lu=(function(t){return t[t.alert=0]="alert",t[t.yesno=1]="yesno",t[t.credentials=2]="credentials",t})(lu||{}),r0=(()=>{class t{constructor(){this.dialogRef=u(Ja),this.data=u(Jd),this.api=u(ze),this.extra="",this.yesno=new Vd}get progressLogoUrl(){return this.api.staticURL("modern/img/udsicon.png")}resolveAndClose(e){this.yesno.resolve(e),this.close()}close(){this.dialogRef.close()}setExtra(e){this.extra=" ("+Math.floor(e/1e3)+" "+django.gettext("seconds")+") "}initAlert(){return z(this,null,function*(){let e=this.data.autoclose||0;e>0&&(this.dialogRef.afterClosed().subscribe(()=>{this.close()}),this.setExtra(e),ab(1e3).subscribe(i=>{let r=e-(i+1)*1e3;this.setExtra(r),r<=0&&this.close()}))})}ngOnInit(){this.data.type===lu.alert&&this.initAlert()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-modal"]],standalone:!1,decls:9,vars:12,consts:[["mat-dialog-title","",3,"innerHtml"],[3,"ngClass"],[1,"uds-progress"],[3,"innerHTML"],["mat-raised-button","","mat-dialog-close",""],[1,"uds-progress-card"],["aria-hidden","true",1,"uds-progress-waves"],[1,"wave","wave-1"],[1,"wave","wave-2"],[1,"wave","wave-3"],["alt","UDS",1,"uds-progress-logo",3,"src"],[1,"uds-progress-pct"],["role","progressbar",1,"uds-progress-track"],[1,"uds-progress-fill"],[1,"uds-progress-body",3,"innerHtml"],["mat-raised-button","","mat-dialog-close","",3,"click"]],template:function(i,r){i&1&&(q(0,"h4",0),vi(1,"safeHtml"),b(2,"mat-dialog-content",1),Q(3,rU,13,11,"div",2)(4,oU,2,3,"div",3),v(),b(5,"mat-dialog-actions"),Q(6,aU,4,1,"button",4),Q(7,sU,3,0,"button",4),Q(8,lU,3,0,"button",4),v()),i&2&&(ie("uds-centered-title",r.data.progress!==void 0),P("innerHtml",yi(1,8,r.data.title),gi),x(2),P("ngClass",sl(10,iU,r.data.progress!==void 0)),x(),Z(r.data.progress!==void 0?3:4),x(3),Z(r.data.type===0?6:-1),x(),Z(r.data.type===1?7:-1),x(),Z(r.data.type===1?8:-1))},dependencies:[ld,Ei,dh,uh,fh,mh,yt,ta],styles:[`.uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.uds-centered-title[_ngcontent-%COMP%]{text-align:center}.uds-launch-content[_ngcontent-%COMP%]{padding-block:0 6px;display:flex;justify-content:center}.uds-progress[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%}.uds-progress-card[_ngcontent-%COMP%]{position:relative;overflow:hidden;width:100%;max-width:420px;padding:12px 22px 34px;background:#1e1e23;border:1px solid #3c3c4b;border-radius:14px;color:#fff;text-align:center;display:flex;flex-direction:column;align-items:center;gap:9px}.uds-progress-logo[_ngcontent-%COMP%]{position:relative;z-index:2;width:54px;height:54px;filter:drop-shadow(0 0 14px rgba(96,192,255,.45));animation:_ngcontent-%COMP%_uds-float 3.2s ease-in-out infinite}.uds-progress-pct[_ngcontent-%COMP%]{position:relative;z-index:2;font-size:1.7rem;font-weight:700;line-height:1}.uds-progress-track[_ngcontent-%COMP%]{position:relative;z-index:2;width:100%;height:12px;border-radius:6px;background:#2c2c3f;border:1px solid #4c4c60;overflow:hidden}.uds-progress-fill[_ngcontent-%COMP%]{height:100%;background:linear-gradient(to bottom,#60c0ff,#2080e0);transition:width .9s ease-in-out}.uds-progress-body[_ngcontent-%COMP%]{position:relative;z-index:2;width:100%;font-size:.92rem;line-height:1.35;color:#c7cbe0}.uds-progress-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.uds-progress-body[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#7ec2ff;margin-left:0}.uds-progress-waves[_ngcontent-%COMP%]{position:absolute;inset:auto 0 0;height:52px;z-index:1}.uds-progress-waves[_ngcontent-%COMP%] .wave[_ngcontent-%COMP%]{position:absolute;inset:0;background-repeat:repeat-x;width:100%}.uds-progress-waves[_ngcontent-%COMP%] .wave-1[_ngcontent-%COMP%]{background-image:url("data:image/svg+xml;utf8,");background-size:420px 100%;animation:_ngcontent-%COMP%_uds-wave-1 11s linear infinite}.uds-progress-waves[_ngcontent-%COMP%] .wave-2[_ngcontent-%COMP%]{background-image:url("data:image/svg+xml;utf8,");background-size:340px 100%;background-position:-60px 0;animation:_ngcontent-%COMP%_uds-wave-2 7s linear infinite}.uds-progress-waves[_ngcontent-%COMP%] .wave-3[_ngcontent-%COMP%]{background-image:url("data:image/svg+xml;utf8,");background-size:280px 100%;background-position:-120px 0;animation:_ngcontent-%COMP%_uds-wave-3 5s linear infinite}@keyframes _ngcontent-%COMP%_uds-wave-1{0%{background-position-x:0}to{background-position-x:-420px}}@keyframes _ngcontent-%COMP%_uds-wave-2{0%{background-position-x:-60px}to{background-position-x:-400px}}@keyframes _ngcontent-%COMP%_uds-wave-3{0%{background-position-x:-120px}to{background-position-x:-400px}}@keyframes _ngcontent-%COMP%_uds-float{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-6px) scale(1.04)}}@media(prefers-reduced-motion:reduce){.uds-progress-logo[_ngcontent-%COMP%], .uds-progress-waves[_ngcontent-%COMP%] .wave[_ngcontent-%COMP%]{animation:none}.uds-progress-fill[_ngcontent-%COMP%]{transition:none}}`],changeDetection:1})}}return t})();var AN=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,i){this._renderer=e,this._elementRef=i}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(i){return new(i||t)(Ue(He),Ue($))};static \u0275dir=B({type:t})}return t})(),cU=(()=>{class t extends AN{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Zt(t)))(r||t)}})();static \u0275dir=B({type:t,features:[Ge]})}return t})(),Th=new C("");var dU={provide:Th,useExisting:Hn(()=>Nh),multi:!0};function uU(){let t=oi()?oi().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var mU=new C(""),Nh=(()=>{class t extends AN{_compositionMode;_composing=!1;constructor(e,i,r){super(e,i),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!uU())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(i){return new(i||t)(Ue(He),Ue($),Ue(mU,8))};static \u0275dir=B({type:t,selectors:[["input","formControlName","",3,"type","checkbox",3,"ngNoCva",""],["textarea","formControlName","",3,"ngNoCva",""],["input","formControl","",3,"type","checkbox",3,"ngNoCva",""],["textarea","formControl","",3,"ngNoCva",""],["input","ngModel","",3,"type","checkbox",3,"ngNoCva",""],["textarea","ngModel","",3,"ngNoCva",""],["","ngDefaultControl",""]],hostBindings:function(i,r){i&1&&j("input",function(a){return r._handleInput(a.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(a){return r._compositionEnd(a.target.value)})},standalone:!1,features:[Xe([dU]),Ge]})}return t})();function s0(t){return t==null||l0(t)===0}function l0(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var Ul=new C(""),c0=new C(""),fU=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,ts=class{static min(n){return pU(n)}static max(n){return hU(n)}static required(n){return RN(n)}static requiredTrue(n){return gU(n)}static email(n){return bU(n)}static minLength(n){return vU(n)}static maxLength(n){return yU(n)}static pattern(n){return _U(n)}static nullValidator(n){return _h()}static compose(n){return jN(n)}static composeAsync(n){return BN(n)}};function pU(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function RN(t){return s0(t.value)?{required:!0}:null}function gU(t){return t.value===!0?null:{required:!0}}function bU(t){return s0(t.value)||fU.test(t.value)?null:{email:!0}}function vU(t){return n=>{let e=n.value?.length??l0(n.value);return e===null||e===0?null:e{let e=n.value?.length??l0(n.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function _U(t){if(!t)return _h;let n,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(s0(i.value))return null;let r=i.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function _h(t){return null}function ON(t){return t!=null}function PN(t){return Kr(t)?bt(t):t}function FN(t){let n={};return t.forEach(e=>{n=e!=null?w(w({},n),e):n}),Object.keys(n).length===0?null:n}function LN(t,n){return n.map(e=>e(t))}function xU(t){return!t.validate}function VN(t){return t.map(n=>xU(n)?n:e=>n.validate(e))}function jN(t){if(!t)return null;let n=t.filter(ON);return n.length==0?null:function(e){return FN(LN(e,n))}}function d0(t){return t!=null?jN(VN(t)):null}function BN(t){if(!t)return null;let n=t.filter(ON);return n.length==0?null:function(e){let i=LN(e,n).map(PN);return ob(i).pipe(Ae(FN))}}function u0(t){return t!=null?BN(VN(t)):null}function SN(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function zN(t){return t._rawValidators}function HN(t){return t._rawAsyncValidators}function o0(t){return t?Array.isArray(t)?t:[t]:[]}function xh(t,n){return Array.isArray(t)?t.includes(n):t===n}function EN(t,n){let e=o0(n);return o0(t).forEach(r=>{xh(e,r)||e.push(r)}),e}function DN(t,n){return o0(n).filter(e=>!xh(t,e))}var Ch=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=d0(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=u0(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control?.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},na=class extends Ch{name;get formDirective(){return null}get path(){return null}};var cu="VALID",yh="INVALID",Bl="PENDING",du="DISABLED",ia=class{},wh=class extends ia{value;source;constructor(n,e){super(),this.value=n,this.source=e}},mu=class extends ia{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},fu=class extends ia{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},zl=class extends ia{status;source;constructor(n,e){super(),this.status=n,this.source=e}},Sh=class extends ia{source;constructor(n){super(),this.source=n}},Hl=class extends ia{source;constructor(n){super(),this.source=n}};function UN(t){return(Ah(t)?t.validators:t)||null}function CU(t){return Array.isArray(t)?d0(t):t||null}function $N(t,n){return(Ah(n)?n.asyncValidators:t)||null}function wU(t){return Array.isArray(t)?u0(t):t||null}function Ah(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function SU(t,n,e){let i=t.controls;if(!(n?Object.keys(i):i).length)throw new D(1e3,"");if(!GN(i,e))throw new D(1001,"")}function EU(t,n,e){t._forEachChild((i,r)=>{if(e[r]===void 0)throw new D(-1002,"")})}var Eh=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_hasRequired=he(!1);_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,e){this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n,this._updateHasRequiredValidator()}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Te(this.statusReactive)}set status(n){Te(()=>this.statusReactive.set(n))}_status=In(()=>this.statusReactive());statusReactive=he(void 0);get valid(){return this.status===cu}get invalid(){return this.status===yh}get pending(){return this.status===Bl}get disabled(){return this.status===du}get enabled(){return this.status!==du}errors;get pristine(){return Te(this.pristineReactive)}set pristine(n){Te(()=>this.pristineReactive.set(n))}_pristine=In(()=>this.pristineReactive());pristineReactive=he(!0);get dirty(){return!this.pristine}get touched(){return Te(this.touchedReactive)}set touched(n){Te(()=>this.touchedReactive.set(n))}_touched=In(()=>this.touchedReactive());touchedReactive=he(!1);get untouched(){return!this.touched}_events=new R;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(EN(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(EN(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(DN(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(DN(n,this._rawAsyncValidators))}hasValidator(n){return xh(this._rawValidators,n)}hasAsyncValidator(n){return xh(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;n.onlySelf||this._parent?.markAsTouched(de(w({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new fu(!0,i))}markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(n))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),n.onlySelf||this._parent?._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new fu(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;n.onlySelf||this._parent?.markAsDirty(de(w({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new mu(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),n.onlySelf||this._parent?._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new mu(!0,i))}markAsPending(n={}){this.status=Bl;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new zl(this.status,e)),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.markAsPending(de(w({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=du,this.errors=null,this._forEachChild(r=>{r.disable(de(w({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new wh(this.value,i)),this._events.next(new zl(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(de(w({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=cu,this._forEachChild(i=>{i.enable(de(w({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(de(w({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){n.onlySelf||(this._parent?.updateValueAndValidity(n),n.skipPristineCheck||this._parent?._updatePristine({},e),this._parent?._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===cu||this.status===Bl)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new wh(this.value,e)),this._events.next(new zl(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.updateValueAndValidity(de(w({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?du:cu}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=Bl,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:n!==!1};let i=PN(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(n,e){let i=e?this.get(e):this;return i?.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new zl(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new H,this.statusChanges=new H}_calculateStatus(){return this._allControlsDisabled()?du:this.errors?yh:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Bl)?Bl:this._anyControlsHaveStatus(yh)?yh:cu}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,n.onlySelf||this._parent?._updatePristine(n,e),r&&this._events.next(new mu(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new fu(this.touched,e)),n.onlySelf||this._parent?._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Ah(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=CU(this._rawValidators),this._updateHasRequiredValidator()}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=wU(this._rawAsyncValidators)}_updateHasRequiredValidator(){Te(()=>this._hasRequired.set(this.hasValidator(ts.required)))}};function GN(t,n){return Object.hasOwn(t,n)}function DU(t){return t.tagName==="INPUT"||t.tagName==="SELECT"||t.tagName==="TEXTAREA"}function MU(t,n,e,i){switch(e){case"name":t.setAttribute(n,e,i);break;case"disabled":case"readonly":case"required":i?t.setAttribute(n,e,""):t.removeAttribute(n,e);break;case"max":case"min":case"minLength":case"maxLength":i!==void 0?t.setAttribute(n,e,i.toString()):t.removeAttribute(n,e);break}}var a0=class{kind;context;control;message;constructor({kind:n,context:e,control:i}){this.kind=n,this.context=e,this.control=i}};var IU=(()=>{class t{_validator=_h;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):_h,this._onChange?.()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,features:[nt]})}return t})();var kU={provide:Ul,useExisting:Hn(()=>WN),multi:!0};var WN=(()=>{class t extends IU{required;inputName="required";normalizeInput=G;createValidator=e=>RN;enabled(e){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Zt(t)))(r||t)}})();static \u0275dir=B({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,r){i&2&&ye("required",r._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[Xe([kU]),Ge]})}return t})();var TU=new C(""),Rh=new C("",{factory:()=>m0}),m0="always";function NU(t,n){return[...n.path,t]}function MN(t,n,e=m0){f0(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),RU(t,n),PU(t,n),OU(t,n),AU(t,n)}function IN(t,n,e=!0){let i=()=>{};n?.valueAccessor?.registerOnChange(i),n?.valueAccessor?.registerOnTouched(i),Mh(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Dh(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function AU(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function f0(t,n){let e=zN(t);n.validator!==null?t.setValidators(SN(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=HN(t);n.asyncValidator!==null?t.setAsyncValidators(SN(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();Dh(n._rawValidators,r),Dh(n._rawAsyncValidators,r)}function Mh(t,n){let e=!1;if(t!==null){if(n.validator!==null){let r=zN(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==n.validator);o.length!==r.length&&(e=!0,t.setValidators(o))}}if(n.asyncValidator!==null){let r=HN(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==n.asyncValidator);o.length!==r.length&&(e=!0,t.setAsyncValidators(o))}}}let i=()=>{};return Dh(n._rawValidators,i),Dh(n._rawAsyncValidators,i),e}function RU(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&qN(t,n)})}function OU(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&qN(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function qN(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function PU(t,n){let e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function YN(t,n){t==null,f0(t,n)}function FU(t,n){return Mh(t,n)}function LU(t,n){if(!Object.hasOwn(t,"model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function VU(t){return Object.getPrototypeOf(t.constructor)===cU}function KN(t,n){t._syncPendingControls(),n.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function jU(t,n){if(!n)return null;Array.isArray(n);let e,i,r;return n.forEach(o=>{o.constructor===Nh?e=o:VU(o)?i=o:r=o}),r||i||e||null}function BU(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var zU={provide:TU,useFactory:()=>{let t=u(Dr,{self:!0});return{setParseErrors:n=>{t.setParseErrorSource(n)},set onReset(n){t.onReset=n}}}},Dr=class extends Ch{_parent=null;name=null;valueAccessor=null;isCustomControlBased=!1;userOnReset;resetSubscription;set onReset(n){this.userOnReset=n,this.resetSubscription?.unsubscribe(),this.resetSubscription=void 0,this.control&&(this.resetSubscription=this.control.events.subscribe(e=>{e instanceof Hl&&this.control&&this.userOnReset?.(this.control.value)}),this.subscription?.add(this.resetSubscription))}isNativeFormElement=!1;rawValueAccessors;_selectedValueAccessor=null;get selectedValueAccessor(){return this._selectedValueAccessor??=jU(this,this.rawValueAccessors)}parseErrorsValidator=null;renderer;injector;requiredValidatorViaDi;subscription;customControlBindings=null;pendingCustomValue=void 0;hasPendingCustomValue=!1;constructor(n,e,i){super(),this.injector=n,this.renderer=e,this.rawValueAccessors=i,this.injector?.get(Wt)?.onDestroy(()=>{this.removeParseErrorsValidator(this.control),this.subscription?.unsubscribe()})}setupCustomControl(){this.subscription?.unsubscribe();let n=this.control,e=this.injector?.get(We);if(!n||!e)return;let i=e.markForCheck.bind(e);if(this.subscription=new xe,this.subscription.add(()=>this.discardPendingCustomValue(n)),typeof n.registerOnChange=="function"){let r=(o,a)=>{this.discardPendingCustomValue(n),a&&this.viewToModelUpdate(o),i()};n.registerOnChange(r),this.subscription.add(()=>n._unregisterOnChange(r))}this.subscription.add(n.valueChanges.subscribe(i)),this.subscription.add(n.statusChanges.subscribe(i)),this.resetSubscription?.unsubscribe(),this.resetSubscription=void 0,this.userOnReset&&(this.resetSubscription=n.events.subscribe(r=>{r instanceof Hl&&this.control&&this.userOnReset?.(this.control.value)}),this.subscription.add(this.resetSubscription)),this.parseErrorsValidator&&n.addValidators(this.parseErrorsValidator)}ngControlCreate(n){!n.nativeElement.hasAttribute?.("ngNoCva")&&(this.rawValueAccessors&&this.rawValueAccessors.length>0||this.valueAccessor!==null)||!n.customControl||(this.isCustomControlBased=!0,n.listenToCustomControlModel(r=>{let o=this.control;o&&(o._pendingValue=r,o._pendingChange=!0,o._pendingDirty=!0,this.pendingCustomValue=r,this.hasPendingCustomValue=!0,o.updateOn==="change"&&this.updateControlFromCustom(o))}),n.listenToCustomControlOutput("touch",()=>{let r=this.control;r&&(r._pendingTouched=!0,r.updateOn==="blur"&&r._pendingChange&&this.updateControlFromCustom(r),r.updateOn!=="submit"&&r.markAsTouched())}),this.customControlBindings={},this.isNativeFormElement=DU(n.nativeElement),this.requiredValidatorViaDi=this._rawValidators.find(r=>r instanceof WN))}updateControlFromCustom(n){let e=n._pendingValue;n._pendingChange=!1,this.clearPendingCustomValue(),this.customControlBindings&&(this.customControlBindings.value=e),n._pendingDirty&&n.markAsDirty(),n.setValue(e,{emitModelToViewChange:!1}),this.viewToModelUpdate(n.value)}discardPendingCustomValue(n){this.hasPendingCustomValue&&(this.customControlBindings&&(this.customControlBindings.value=this.pendingCustomValue),this.clearPendingCustomValue(),n._pendingValue=n.value,n._pendingChange=!1,n._pendingDirty=!1)}clearPendingCustomValue(){this.pendingCustomValue=void 0,this.hasPendingCustomValue=!1}ngControlUpdate(n,e){if(!this.isCustomControlBased)return;let i=this.control,r=this.customControlBindings;if(!i||!r)return;this.hasPendingCustomValue&&!i._pendingChange&&(r.value=this.pendingCustomValue,this.clearPendingCustomValue()),Object.is(r.value,i.value)||(this.discardPendingCustomValue(i),r.value=i.value,n.setCustomControlModelInput(i.value)),this.bindControlProperty(n,r,"touched",i.touched),this.bindControlProperty(n,r,"dirty",i.dirty),this.bindControlProperty(n,r,"valid",i.valid),this.bindControlProperty(n,r,"invalid",i.invalid),this.bindControlProperty(n,r,"pending",i.pending),this.bindControlProperty(n,r,"disabled",i.disabled),this.shouldBindRequired&&this.bindControlProperty(n,r,"required",this.isRequired);let o=i.errors;if(r.errors!==o){r.errors=o;let a=this._convertErrors(o);n.setInputOnDirectives("errors",a)}}get isRequired(){return(this.requiredValidatorViaDi?._enabled||this.control?._hasRequired())??!1}get shouldBindRequired(){return!0}bindControlProperty(n,e,i,r){if(e[i]===r)return;e[i]=r;let o=n.setInputOnDirectives(i,r);this.isNativeFormElement&&!o&&(i==="disabled"||i==="required")&&this.renderer&&MU(this.renderer,n.nativeElement,i,r)}_convertErrors(n){if(n===null)return[];let e=this.control;return Object.entries(n).map(([i,r])=>new a0({context:r,kind:i,control:e}))}setParseErrorSource(n){if(n===void 0)return;let e=null,i=In(()=>{let r=n();return r.length===0?null:r.reduce((o,a)=>(o[a.kind]=a,o),{})});this.parseErrorsValidator=(()=>e).bind(this),ni(()=>{e=i(),this.control?.updateValueAndValidity({emitEvent:!1})},{injector:this.injector})}removeParseErrorsValidator(n){this.parseErrorsValidator&&(n?.removeValidators(this.parseErrorsValidator),n?.updateValueAndValidity({emitEvent:!1}))}},Ih=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}};var QN=(()=>{class t extends Ih{constructor(e){super(e)}static \u0275fac=function(i){return new(i||t)(Ue(Dr,2))};static \u0275dir=B({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&ie("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[Ge]})}return t})(),$l=(()=>{class t extends Ih{constructor(e){super(e)}static \u0275fac=function(i){return new(i||t)(Ue(na,10))};static \u0275dir=B({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){i&2&&ie("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[Ge]})}return t})(),kh=class extends Eh{constructor(n,e,i){super(UN(e),$N(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,e){let i=this._find(n);return i||(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){let i=this._find(n);i&&i._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){let r=this._find(n);r&&r._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this._find(n)?.enabled===!0}setValue(n,e={}){Te(()=>{EU(this,!0,n),Object.keys(n).forEach(i=>{SU(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)})}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(i=>{let r=this._find(i);r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,de(w({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new Hl(this))}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return GN(this.controls,n)?this.controls[n]:null}};var HU={provide:na,useExisting:Hn(()=>Zi)},uu=Promise.resolve(),Zi=(()=>{class t extends na{callSetDisabledState;get submitted(){return Te(this.submittedReactive)}_submitted=In(()=>this.submittedReactive());submittedReactive=he(!1);_directives=new Set;form;ngSubmit=new H;options;constructor(e,i,r){super(),this.callSetDisabledState=r,this.form=new kh({},d0(e),u0(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){uu.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),e._setupWithForm(this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){uu.then(()=>{this._findContainer(e.path)?.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){uu.then(()=>{let i=this._findContainer(e.path),r=new kh({});YN(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){uu.then(()=>{this._findContainer(e.path)?.removeControl?.(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){uu.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),KN(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new Sh(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(i){return new(i||t)(Ue(Ul,10),Ue(c0,10),Ue(Rh,8))};static \u0275dir=B({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&j("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Xe([HU]),Ge]})}return t})();function kN(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function TN(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var ZN=class extends Eh{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,i){super(UN(e),$N(i,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ah(e)&&(e.nonNullable||e.initialValueIsDefault)&&(TN(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){Te(()=>{this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)})}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),e.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,e?.emitEvent!==!1&&this._events.next(new Hl(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){kN(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){kN(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){TN(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var UU=t=>t instanceof ZN;var $U=(()=>{class t extends na{callSetDisabledState;get submitted(){return Te(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=In(()=>this._submittedReactive());_submittedReactive=he(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(e,i,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this.onChanges(e)}ngOnDestroy(){this.onDestroy()}onChanges(e){if(!this.form)throw new D(1052,!1);Object.hasOwn(e,"form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(Mh(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(e){let i=this.form.get(e.path);if(!i)throw new D(-1055,!1);return e._setupWithForm(i,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){IN(e.control||null,e,!1),BU(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}getFormArray(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}updateModel(e,i){this.form.get(e.path).setValue(i)}onReset(){this.resetForm()}resetForm(e=void 0,i={}){this.form.reset(e,i),this._submittedReactive.set(!1)}onSubmit(e){return this.submitted=!0,KN(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Sh(this.control)),e?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(IN(i||null,e),UU(r)&&e._setupWithForm(r,this.callSetDisabledState))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);YN(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){let i=this.form?.get(e.path);i&&FU(i,e)&&i.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){f0(this.form,this),this._oldForm&&Mh(this._oldForm,this)}static \u0275fac=function(i){return new(i||t)(Ue(Ul,10),Ue(c0,10),Ue(Rh,8))};static \u0275dir=B({type:t,features:[Ge,nt]})}return t})(),GU={provide:na,useExisting:Hn(()=>pu)},pu=(()=>{class t extends $U{form=null;ngSubmit=new H;get control(){return this.form}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Zt(t)))(r||t)}})();static \u0275dir=B({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&j("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Xe([GU]),Ge]})}return t})(),WU={provide:Dr,useExisting:Hn(()=>p0)},NN=Promise.resolve(),p0=(()=>{class t extends Dr{_changeDetectorRef;callSetDisabledState;control=new ZN;static ngAcceptInputType_isDisabled;_registered=!1;_ngModelInjector;viewModel;name="";isDisabled;model;options;update=new H;constructor(e,i,r,o,a,s,l,c){super(l,c,o),this._changeDetectorRef=a,this.callSetDisabledState=s,this._parent=e,this._setValidators(i),this._setAsyncValidators(r)}ngOnChanges(e){if(this._registered,this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),LU(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}\u0275ngControlCreate(e){super.ngControlCreate(e)}\u0275ngControlUpdate(e){super.ngControlUpdate(e,!1)}get shouldBindRequired(){return!1}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,MN(this.control,this,this.callSetDisabledState)),this.control.updateValueAndValidity({emitEvent:!1})}_setupWithForm(e){this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,MN(this.control,this,e))}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){NN.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,r=i!==0&&G(i);NN.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?NU(e,this._parent):[e]}static \u0275fac=function(i){return new(i||t)(Ue(na,9),Ue(Ul,10),Ue(c0,10),Ue(Th,10),Ue(We,8),Ue(Rh,8),Ue(ne,8),Ue(He,8))};static \u0275dir=B({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[Xe([WU,zU]),Ge,nt,$y(null)]})}return t})();var Gl=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})();var qU=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({})}return t})();var XN=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Rh,useValue:e.callSetDisabledState??m0}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({imports:[qU]})}return t})();var eA=Symbol("FIELD_TREE");var tA=Symbol("IS_ASYNC_VALIDATION_RESOURCE"),JN=class{reducer;create;brand;[tA];constructor(n,e){this.reducer=n,this.create=e}};function hu(t){return typeof t=="function"&&t[eA]===!0}var Wl=new C("");var h0=class{_box;_destroyed=new R;_resizeSubject=new R;_resizeObserver;_elementObservables=new Map;constructor(n){this._box=n,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new fe(e=>{let i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(Ae(e=>e.filter(i=>i.target===n)),Me(e=>e.length>0),bm({bufferSize:1,refCount:!0}),Ye(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Ph=(()=>{class t{_cleanupErrorListener;_observers=new Map;_ngZone=u(O);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,i){let r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new h0(r)),this._observers.get(r).observe(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();var Xi=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["mat-label"]]})}return t})(),lA=new C("MatError");var g0=(()=>{class t{align="start";id=u(st).getId("mat-mdc-hint-");static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){i&2&&(On("id",r.id),ye("align",null),ie("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"}})}return t})(),cA=new C("MatPrefix");var b0=new C("MatSuffix"),v0=(()=>{class t{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[Xe([{provide:b0,useExisting:t}])]})}return t})(),dA=new C("FloatingLabelParent"),nA=(()=>{class t{_elementRef=u($);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=u(Ph);_ngZone=u(O);_parent=u(dA);_resizeSubscription=new xe;ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return YU(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){i&2&&ie("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return t})();function YU(t){let n=t;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let i=e.scrollWidth;return e.remove(),i}var iA="mdc-line-ripple--active",Fh="mdc-line-ripple--deactivating",rA=(()=>{class t{_elementRef=u($);_cleanupTransitionEnd;constructor(){let e=u(O),i=u(He);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=i.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Fh),e.add(iA)}deactivate(){this._elementRef.nativeElement.classList.add(Fh)}_handleTransitionEnd=e=>{let i=this._elementRef.nativeElement.classList,r=i.contains(Fh);e.propertyName==="opacity"&&r&&i.remove(iA,Fh)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return t})(),oA=(()=>{class t{_elementRef=u($);_ngZone=u(O);open=!1;_notch;ngAfterViewInit(){let e=this._elementRef.nativeElement,i=e.querySelector(".mdc-floating-label");i?(e.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(i.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>i.style.transitionDuration="")}))):e.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){let i=this._notch.nativeElement;!this.open||!e?i.style.width="":i.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}_setMaxWidth(e){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${e}px)`)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=["notch"];return F({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(o,a){if(o&1&&it(e,5),o&2){let s;X(s=J())&&(a._notch=s.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(o,a){o&2&&ie("mdc-notched-outline--notched",a.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},ngContentSelectors:["*"],decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(o,a){o&1&&(ct(),Gn(0,"div",1),zt(1,"div",2,0),Ee(3),ln(),Gn(4,"div",3))},encapsulation:2})})()}return t})(),ql=(()=>{class t{id;ngField=null;ngControl=null;focused=!1;empty=!1;shouldLabelFloat=!1;required=!1;disabled=!1;errorState=!1;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;stateChanges=null;value;static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t})}return t})();var Yl=new C("MatFormField"),Lh=new C("MAT_FORM_FIELD_DEFAULT_OPTIONS"),aA="fill",KU="auto",sA="fixed",QU="translateY(-50%)",Mr=(()=>{class t{_elementRef=u($);_changeDetectorRef=u(We);_platform=u($e);_idGenerator=u(st);_ngZone=u(O);_defaults=u(Lh,{optional:!0});_currentDirection;_unwrapMaybeSignal(e){return Mn(e)?e():e}_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=ad("iconPrefixContainer");_textPrefixContainerSignal=ad("textPrefixContainer");_iconSuffixContainerSignal=ad("iconSuffixContainer");_textSuffixContainerSignal=ad("textSuffixContainer");_prefixSuffixContainers=In(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=KM(Xi);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=ao(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||KU}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(e){let i=e||this._defaults?.appearance||aA;this._appearanceSignal.set(i)}_appearanceSignal=he(aA);get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||sA}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||sA}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new R;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=dt();constructor(){let e=this._defaults,i=u(Jt);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),ni(()=>this._currentDirection=i.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=hu(this._control.ngField)?null:this._control.ngControl.control.validator),this._previousControl=this._control,this._changeDetectorRef.markForCheck()),this._control.ngControl&&this._control.ngControl.control&&!hu(this._control.ngField)&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=In(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let i=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(r+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges?.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=i.stateChanges?.pipe(vt([void 0,void 0]),Ae(()=>[this._unwrapMaybeSignal(i.errorState),i.userAriaDescribedBy]),gm(),Me(([[o,a],[s,l]])=>o!==s||a!==l)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&!hu(i.ngField)&&(this._valueChanges=i.ngControl.valueChanges.pipe(Ye(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),rn(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){let e=this._unwrapMaybeSignal(this._control.focused);e&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!e&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",e),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",e)}_syncOutlineLabelOffset(){s_({earlyRead:()=>{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(let e of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(e,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:e=>this._writeOutlinedLabelStyles(e())})}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=In(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._shouldAlwaysFloat()||this._unwrapMaybeSignal(this._control.shouldLabelFloat):!1}_shouldForward(e){let i=this._control?.ngField||this._control?.ngControl;if(!i)return!1;if(hu(i)){let r=i();return e==="valid"?r.valid():e==="dirty"?r.dirty():e==="touched"?r.touched():e==="pending"?r.pending():e==="untouched"?!r.touched():e==="pristine"?!r.dirty():e==="invalid"?!r.valid():!1}else{let r=i;return e==="valid"?r.valid:e==="dirty"?r.dirty:e==="touched"?r.touched:e==="pending"?r.pending:e==="untouched"?r.untouched:e==="pristine"?r.pristine:e==="invalid"?r.invalid:!1}}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._unwrapMaybeSignal(this._control.errorState)?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let o=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,a=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;o?e.push(o.id):this._hintLabel&&e.push(this._hintLabelId),a&&e.push(a.id)}else this._errorChildren&&e.push(...this._errorChildren.map(o=>o.id));let i=this._control.describedByIds,r;if(i){let o=this._describedByIds||e;r=e.concat(i.filter(a=>a&&!o.includes(a)))}else r=e;this._control.setDescribedByIds(r),this._describedByIds=e}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;let e=this._iconPrefixContainer?.nativeElement,i=this._textPrefixContainer?.nativeElement,r=this._iconSuffixContainer?.nativeElement,o=this._textSuffixContainer?.nativeElement,a=e?.getBoundingClientRect().width??0,s=i?.getBoundingClientRect().width??0,l=r?.getBoundingClientRect().width??0,c=o?.getBoundingClientRect().width??0,d=this._currentDirection==="rtl"?"-1":"1",m=`${a+s}px`,f=`calc(${d} * (${m} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,g=`var(--mat-mdc-form-field-label-transform, ${QU} translateX(${f}))`,_=a+s+l+c;return[g,_]}_writeOutlinedLabelStyles(e){if(e!==null){let[i,r]=e;this._floatingLabel&&(this._floatingLabel.element.style.transform=i),r!==null&&this._notchedOutline?._setMaxWidth(r)}}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=["iconPrefixContainer"],i=["textPrefixContainer"],r=["iconSuffixContainer"],o=["textSuffixContainer"],a=["textField"],s=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],l=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function c(me,_e){me&1&&q(0,"span",21)}function d(me,_e){if(me&1&&(b(0,"label",20),Ee(1,1),Q(2,c,1,0,"span",21),v()),me&2){let k=N(2);P("floating",k._shouldLabelFloat())("monitorResize",k._hasOutline())("id",k._labelId),ye("for",k._control.disableAutomaticLabeling?null:k._control.id),x(2),Z(!k.hideRequiredMarker&&k._unwrapMaybeSignal(k._control.required)?2:-1)}}function m(me,_e){if(me&1&&Q(0,d,3,5,"label",20),me&2){let k=N();Z(k._hasFloatingLabel()?0:-1)}}function p(me,_e){me&1&&q(0,"div",7)}function f(me,_e){}function g(me,_e){if(me&1&&sn(0,f,0,0,"ng-template",13),me&2){N(2);let k=Et(1);P("ngTemplateOutlet",k)}}function _(me,_e){if(me&1&&(b(0,"div",9),Q(1,g,1,1,null,13),v()),me&2){let k=N();P("matFormFieldNotchedOutlineOpen",k._shouldLabelFloat()),x(),Z(k._forceDisplayInfixLabel()?-1:1)}}function E(me,_e){me&1&&(b(0,"div",10,2),Ee(2,2),v())}function L(me,_e){me&1&&(b(0,"div",11,3),Ee(2,3),v())}function A(me,_e){}function ee(me,_e){if(me&1&&sn(0,A,0,0,"ng-template",13),me&2){N();let k=Et(1);P("ngTemplateOutlet",k)}}function Re(me,_e){me&1&&(b(0,"div",14,4),Ee(2,4),v())}function ht(me,_e){me&1&&(b(0,"div",15,5),Ee(2,5),v())}function Le(me,_e){me&1&&q(0,"div",16)}function Pe(me,_e){me&1&&(b(0,"div",18),Ee(1,6),v())}function Je(me,_e){if(me&1&&(b(0,"mat-hint",22),S(1),v()),me&2){let k=N(2);P("id",k._hintLabelId),x(),rt(k.hintLabel)}}function It(me,_e){if(me&1&&(b(0,"div",19),Q(1,Je,2,2,"mat-hint",22),Ee(2,7),q(3,"div",23),Ee(4,8),v()),me&2){let k=N();x(),Z(k.hintLabel?1:-1)}}return F({type:t,selectors:[["mat-form-field"]],contentQueries:function(_e,k,Ve){if(_e&1&&(jf(Ve,k._labelChild,Xi,5),mn(Ve,ql,5)(Ve,cA,5)(Ve,b0,5)(Ve,lA,5)(Ve,g0,5)),_e&2){zf();let Ut;X(Ut=J())&&(k._formFieldControl=Ut.first),X(Ut=J())&&(k._prefixChildren=Ut),X(Ut=J())&&(k._suffixChildren=Ut),X(Ut=J())&&(k._errorChildren=Ut),X(Ut=J())&&(k._hintChildren=Ut)}},viewQuery:function(_e,k){if(_e&1&&(Bf(k._iconPrefixContainerSignal,e,5)(k._textPrefixContainerSignal,i,5)(k._iconSuffixContainerSignal,r,5)(k._textSuffixContainerSignal,o,5),it(a,5)(e,5)(i,5)(r,5)(o,5)(nA,5)(oA,5)(rA,5)),_e&2){zf(4);let Ve;X(Ve=J())&&(k._textField=Ve.first),X(Ve=J())&&(k._iconPrefixContainer=Ve.first),X(Ve=J())&&(k._textPrefixContainer=Ve.first),X(Ve=J())&&(k._iconSuffixContainer=Ve.first),X(Ve=J())&&(k._textSuffixContainer=Ve.first),X(Ve=J())&&(k._floatingLabel=Ve.first),X(Ve=J())&&(k._notchedOutline=Ve.first),X(Ve=J())&&(k._lineRipple=Ve.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(_e,k){_e&2&&ie("mat-mdc-form-field-label-always-float",k._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",k._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",k._hasIconSuffix)("mat-form-field-invalid",k._unwrapMaybeSignal(k._control.errorState))("mat-form-field-disabled",k._unwrapMaybeSignal(k._control.disabled))("mat-form-field-autofilled",k._unwrapMaybeSignal(k._control.autofilled))("mat-form-field-appearance-fill",k.appearance=="fill")("mat-form-field-appearance-outline",k.appearance=="outline")("mat-form-field-hide-placeholder",k._hasFloatingLabel()&&!k._shouldLabelFloat())("mat-primary",k.color!=="accent"&&k.color!=="warn")("mat-accent",k.color==="accent")("mat-warn",k.color==="warn")("ng-untouched",k._shouldForward("untouched"))("ng-touched",k._shouldForward("touched"))("ng-pristine",k._shouldForward("pristine"))("ng-dirty",k._shouldForward("dirty"))("ng-valid",k._shouldForward("valid"))("ng-invalid",k._shouldForward("invalid"))("ng-pending",k._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Xe([{provide:Yl,useExisting:t},{provide:dA,useExisting:t}])],ngContentSelectors:l,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(_e,k){if(_e&1&&(ct(s),sn(0,m,1,1,"ng-template",null,0,Zy),b(2,"div",6,1),j("click",function(Ut){return k._control.onContainerClick(Ut)}),Q(4,p,1,0,"div",7),b(5,"div",8),Q(6,_,2,2,"div",9),Q(7,E,3,0,"div",10),Q(8,L,3,0,"div",11),b(9,"div",12),Q(10,ee,1,1,null,13),Ee(11),v(),Q(12,Re,3,0,"div",14),Q(13,ht,3,0,"div",15),v(),Q(14,Le,1,0,"div",16),v(),b(15,"div",17),Q(16,Pe,2,0,"div",18)(17,It,5,1,"div",19),v()),_e&2){let Ve,Ut=k._unwrapMaybeSignal(k._control.disabled);x(2),ie("mdc-text-field--filled",!k._hasOutline())("mdc-text-field--outlined",k._hasOutline())("mdc-text-field--no-label",!k._hasFloatingLabel())("mdc-text-field--disabled",Ut)("mdc-text-field--invalid",k._unwrapMaybeSignal(k._control.errorState)),x(2),Z(!k._hasOutline()&&!Ut?4:-1),x(2),Z(k._hasOutline()?6:-1),x(),Z(k._hasIconPrefix?7:-1),x(),Z(k._hasTextPrefix?8:-1),x(2),Z(!k._hasOutline()||k._forceDisplayInfixLabel()?10:-1),x(2),Z(k._hasTextSuffix?12:-1),x(),Z(k._hasIconSuffix?13:-1),x(),Z(k._hasOutline()?-1:14),x(),ie("mat-mdc-form-field-subscript-dynamic-size",k.subscriptSizing==="dynamic");let nr=k._getSubscriptMessageType();x(),Z((Ve=nr)==="error"?16:Ve==="hint"?17:-1)}},dependencies:[nA,oA,f_,rA,g0],styles:[`.mdc-text-field { display: inline-flex; align-items: baseline; padding: 0 16px; @@ -2076,7 +2076,7 @@ select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) optio .mdc-notched-outline--upgraded .mdc-floating-label--float-above { max-width: calc(133.3333333333% + 1px); } -`],encapsulation:2})})()}return t})();var ts=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({imports:[rh,Mr,Qe]})}return t})();var ZU=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=F({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`textarea.cdk-textarea-autosize { +`],encapsulation:2})})()}return t})();var ns=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({imports:[rh,Mr,Qe]})}return t})();var ZU=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=F({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`textarea.cdk-textarea-autosize { resize: none; } @@ -2102,7 +2102,7 @@ textarea.cdk-textarea-autosize-measuring-firefox { .cdk-text-field-autofill-monitored:not(:-webkit-autofill) { animation: cdk-text-field-autofill-end 0s 1ms; } -`],encapsulation:2})}return t})(),XU={passive:!0},uA=(()=>{class t{_platform=u($e);_ngZone=u(O);_renderer=u(Vt).createRenderer(null,null);_styleLoader=u(Dt);_monitoredElements=new Map;monitor(e){if(!this._platform.isBrowser)return xt;this._styleLoader.load(ZU);let i=Ln(e),r=this._monitoredElements.get(i);if(r)return r.subject;let o=new R,a="cdk-text-field-autofilled",s=c=>{c.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(a)?(i.classList.add(a),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!0}))):c.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(a)&&(i.classList.remove(a),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!1})))},l=this._ngZone.runOutsideAngular(()=>(i.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(i,"animationstart",s,XU)));return this._monitoredElements.set(i,{subject:o,unlisten:l}),o}stopMonitoring(e){let i=Ln(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();var mA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({})}return t})();var fA=new C("MAT_INPUT_VALUE_ACCESSOR");var jh=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}isSignalErrorState(e){if(!e)return!1;let i=e().invalid(),r=e().touched();return i&&r}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();var Kl=class{_defaultMatcher;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;ngControl;formField;constructor(n,e,i,r,o){this._defaultMatcher=n,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o,e?Mn(e.field)&&!e.updateValueAndValidity?(this.formField=e,this.ngControl=null):(this.formField=null,this.ngControl=e):this.ngControl=this.formField=null}updateErrorState(){let n=this.errorState,e=this._getCurrentErrorState(this.matcher||this._defaultMatcher);e!==n&&(this.errorState=e,this._stateChanges.next())}_getCurrentErrorState(n){if(this.formField&&n?.isSignalErrorState)return n.isSignalErrorState(this.formField.field())??!1;let e=this._parentFormGroup||this._parentForm,i=this.ngControl?this.ngControl.control:null;return n?.isErrorState(i,e)??!1}};var JU=["button","checkbox","file","hidden","image","radio","range","reset","submit"],e3=new C("MAT_INPUT_CONFIG"),ia=(()=>{class t{_elementRef=u($);_platform=u($e);ngControl=u(Dr,{optional:!0,self:!0});_autofillMonitor=u(uA);_ngZone=u(O);_formField=u(Yl,{optional:!0});_renderer=u(He);_uid=u(st).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder=null;_errorStateTracker;_config=u(e3,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer=!1;_isNativeSelect=!1;_isTextarea=!1;_isInFormField=!1;focused=!1;stateChanges=new R;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=ao(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(es.required)??!1}set required(e){this._required=ao(e)}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&zx().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=ao(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>zx().has(e));constructor(){let e=u(Zi,{optional:!0}),i=u(pu,{optional:!0}),r=u(jh),o=u(fA,{optional:!0,self:!0}),a=u(Wl,{optional:!0,self:!0}),s=this._elementRef.nativeElement,l=s.nodeName.toLowerCase();o?Mn(o.value)?this._signalBasedValueAccessor=o:this._inputValueAccessor=o:this._inputValueAccessor=s,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(s,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Kl(r,a||this.ngControl,i,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=l==="select",this._isTextarea=l==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=s.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&ti(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let i=this._elementRef.nativeElement;i.type==="number"?(i.type="text",i.setSelectionRange(0,0),i.type="number"):i.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){JU.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}else return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let i=this._elementRef.nativeElement;e.length?i.setAttribute("aria-describedby",e.join(" ")):i.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let i=e.target;!i.value&&i.selectionStart===0&&i.selectionEnd===0&&(i.setSelectionRange(1,1),i.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(i,r){i&1&&j("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),i&2&&(On("id",r.id)("disabled",r.disabled&&!r.disabledInteractive)("required",r.required),ye("name",r.name||null)("readonly",r._getReadonlyAttribute())("aria-disabled",r.disabled&&r.disabledInteractive?"true":null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),ie("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mat-mdc-input-disabled-interactive",r.disabledInteractive)("mdc-text-field__input",r._isInFormField)("mat-mdc-native-select-inline",r._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",G]},exportAs:["matInput"],features:[Xe([{provide:ql,useExisting:t}]),nt]})}return t})(),pA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({imports:[ts,ts,mA,Qe]})}return t})();var t3=(t,n,e)=>({username:t,domain:n,password:e,success:!1}),n3=(t,n,e)=>({username:t,domain:n,password:e,success:!0}),hA=(()=>{class t{constructor(){this.data=u(Jd),this.labels={username:django.gettext("Username"),password:django.gettext("Password"),domain:django.gettext("Domain")};let e=this.data;this.username=e.username,this.domain=e.domain,this.password=""}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-credentials-modal"]],standalone:!1,decls:21,vars:19,consts:[["mat-dialog-title",""],["matInput","",3,"ngModelChange","placeholder","ngModel"],["matInput","","type","password",3,"ngModelChange","placeholder","ngModel"],["mat-button","",3,"mat-dialog-close"]],template:function(i,r){i&1&&(b(0,"h2",0)(1,"uds-translate"),S(2,"Please, enter access credentials"),v()(),b(3,"mat-dialog-content")(4,"mat-form-field")(5,"mat-label"),S(6),v(),b(7,"input",1),Xc(),ol("ngModelChange",function(a){return rd(r.username,a)||(r.username=a),a}),v()(),b(8,"mat-form-field")(9,"mat-label"),S(10),v(),b(11,"input",2),Xc(),ol("ngModelChange",function(a){return rd(r.password,a)||(r.password=a),a}),v()(),b(12,"mat-form-field")(13,"mat-label"),S(14),v(),b(15,"input",1),Xc(),ol("ngModelChange",function(a){return rd(r.domain,a)||(r.domain=a),a}),v()()(),b(16,"mat-dialog-actions")(17,"button",3),S(18,"Cancel"),v(),b(19,"button",3),S(20,"Accept"),v()()),i&2&&(x(6),Ke(" ",r.labels.username," "),x(),P("placeholder",r.labels.username),rl("ngModel",r.username),Jc(),x(3),Ke(" ",r.labels.password," "),x(),P("placeholder",r.labels.password),rl("ngModel",r.password),Jc(),x(3),Ke(" ",r.labels.domain," "),x(),P("placeholder",r.labels.domain),rl("ngModel",r.domain),Jc(),x(2),P("mat-dialog-close",$f(11,t3,r.username,r.domain,r.password)),x(2),P("mat-dialog-close",$f(15,n3,r.username,r.domain,r.password)))},dependencies:[Nh,QN,p0,Ei,dh,uh,fh,mh,Mr,Xi,ia,yt],styles:[".mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"],changeDetection:1})}}return t})();var zh=(()=>{class t{constructor(){this.dialog=u(eu)}alert(e,i,r=0){return z(this,null,function*(){let o=window.innerWidth<800?"80%":"40%";return this.dialog.open(r0,{width:o,data:{title:e,body:i,autoclose:r,type:lu.alert},disableClose:!0,panelClass:"glass-dialog"})})}yesno(e,i){let r=window.innerWidth<800?"80%":"40%";return this.dialog.open(r0,{width:r,data:{title:e,body:i,type:lu.yesno},disableClose:!0,panelClass:"glass-dialog"}).componentInstance.yesno}askCredentials(e,i){let r=this.dialog.open(hA,{data:{username:e,domain:i},panelClass:"glass-dialog"});return Fn(r.afterClosed())}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=re({token:t,factory:t.\u0275fac})}}return t})();var Hh=class t{static{this.transportsWindow={}}constructor(n){this.api=n,this.delay=n.config.launcher_wait_time}launchURL(n){return z(this,null,function*(){n.substring(0,7)==="udsa://"?yield this.processUDSUrl(n):yield this.processExternalUrl(n)})}showAlert(n,e,i){return z(this,null,function*(){return this.api.gui.alert(django.gettext("Launching service"),'

'+n+'

'+e+"

",i)})}launchUDSUrl(n){this.api.download(n)}processUDSUrl(n){return z(this,null,function*(){let e=n.split("//")[1].split("/");if(e.length!==2){yield this.notifyError(django.gettext("Invalid UDS URL"));return}let i=e[0],r=e[1],o=yield this.showAlert(django.gettext("Please wait until the service is launched."),co(django.gettext("Remember that you will need %(launcher)s on your platform to access the service.")),0);o.componentInstance.data.progress=0;let a=!1;Fn(o.afterClosed()).then(()=>a=!0);let s=-1,l=!1;try{let c=yield this.api.enabler(i,r);if(c.error){if(!c.retryable)throw c.error;l=!0}else if(c.url.startsWith("/")){o.close(),yield this.launchURL(c.url);return}else this.launchUDSUrl(c.url);for(;!a;){let d=yield this.api.status(i,r);if(s>0&&Date.now()-s>this.delay*5&&(o.componentInstance.data.title=django.gettext("Service ready")+" - "+co(django.gettext("%(launcher)s not launching")),o.componentInstance.data.body=` +`],encapsulation:2})}return t})(),XU={passive:!0},uA=(()=>{class t{_platform=u($e);_ngZone=u(O);_renderer=u(Vt).createRenderer(null,null);_styleLoader=u(Dt);_monitoredElements=new Map;monitor(e){if(!this._platform.isBrowser)return xt;this._styleLoader.load(ZU);let i=Ln(e),r=this._monitoredElements.get(i);if(r)return r.subject;let o=new R,a="cdk-text-field-autofilled",s=c=>{c.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(a)?(i.classList.add(a),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!0}))):c.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(a)&&(i.classList.remove(a),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!1})))},l=this._ngZone.runOutsideAngular(()=>(i.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(i,"animationstart",s,XU)));return this._monitoredElements.set(i,{subject:o,unlisten:l}),o}stopMonitoring(e){let i=Ln(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();var mA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({})}return t})();var fA=new C("MAT_INPUT_VALUE_ACCESSOR");var jh=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}isSignalErrorState(e){if(!e)return!1;let i=e().invalid(),r=e().touched();return i&&r}static \u0275fac=function(i){return new(i||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();var Kl=class{_defaultMatcher;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;ngControl;formField;constructor(n,e,i,r,o){this._defaultMatcher=n,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o,e?Mn(e.field)&&!e.updateValueAndValidity?(this.formField=e,this.ngControl=null):(this.formField=null,this.ngControl=e):this.ngControl=this.formField=null}updateErrorState(){let n=this.errorState,e=this._getCurrentErrorState(this.matcher||this._defaultMatcher);e!==n&&(this.errorState=e,this._stateChanges.next())}_getCurrentErrorState(n){if(this.formField&&n?.isSignalErrorState)return n.isSignalErrorState(this.formField.field())??!1;let e=this._parentFormGroup||this._parentForm,i=this.ngControl?this.ngControl.control:null;return n?.isErrorState(i,e)??!1}};var JU=["button","checkbox","file","hidden","image","radio","range","reset","submit"],e3=new C("MAT_INPUT_CONFIG"),ra=(()=>{class t{_elementRef=u($);_platform=u($e);ngControl=u(Dr,{optional:!0,self:!0});_autofillMonitor=u(uA);_ngZone=u(O);_formField=u(Yl,{optional:!0});_renderer=u(He);_uid=u(st).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder=null;_errorStateTracker;_config=u(e3,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer=!1;_isNativeSelect=!1;_isTextarea=!1;_isInFormField=!1;focused=!1;stateChanges=new R;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=ao(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(ts.required)??!1}set required(e){this._required=ao(e)}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&zx().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=ao(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>zx().has(e));constructor(){let e=u(Zi,{optional:!0}),i=u(pu,{optional:!0}),r=u(jh),o=u(fA,{optional:!0,self:!0}),a=u(Wl,{optional:!0,self:!0}),s=this._elementRef.nativeElement,l=s.nodeName.toLowerCase();o?Mn(o.value)?this._signalBasedValueAccessor=o:this._inputValueAccessor=o:this._inputValueAccessor=s,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(s,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Kl(r,a||this.ngControl,i,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=l==="select",this._isTextarea=l==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=s.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&ni(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let i=this._elementRef.nativeElement;i.type==="number"?(i.type="text",i.setSelectionRange(0,0),i.type="number"):i.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){JU.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}else return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let i=this._elementRef.nativeElement;e.length?i.setAttribute("aria-describedby",e.join(" ")):i.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let i=e.target;!i.value&&i.selectionStart===0&&i.selectionEnd===0&&(i.setSelectionRange(1,1),i.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(i,r){i&1&&j("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),i&2&&(On("id",r.id)("disabled",r.disabled&&!r.disabledInteractive)("required",r.required),ye("name",r.name||null)("readonly",r._getReadonlyAttribute())("aria-disabled",r.disabled&&r.disabledInteractive?"true":null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),ie("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mat-mdc-input-disabled-interactive",r.disabledInteractive)("mdc-text-field__input",r._isInFormField)("mat-mdc-native-select-inline",r._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",G]},exportAs:["matInput"],features:[Xe([{provide:ql,useExisting:t}]),nt]})}return t})(),pA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({imports:[ns,ns,mA,Qe]})}return t})();var t3=(t,n,e)=>({username:t,domain:n,password:e,success:!1}),n3=(t,n,e)=>({username:t,domain:n,password:e,success:!0}),hA=(()=>{class t{constructor(){this.data=u(Jd),this.labels={username:django.gettext("Username"),password:django.gettext("Password"),domain:django.gettext("Domain")};let e=this.data;this.username=e.username,this.domain=e.domain,this.password=""}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-credentials-modal"]],standalone:!1,decls:21,vars:19,consts:[["mat-dialog-title",""],["matInput","",3,"ngModelChange","placeholder","ngModel"],["matInput","","type","password",3,"ngModelChange","placeholder","ngModel"],["mat-button","",3,"mat-dialog-close"]],template:function(i,r){i&1&&(b(0,"h2",0)(1,"uds-translate"),S(2,"Please, enter access credentials"),v()(),b(3,"mat-dialog-content")(4,"mat-form-field")(5,"mat-label"),S(6),v(),b(7,"input",1),Xc(),ol("ngModelChange",function(a){return rd(r.username,a)||(r.username=a),a}),v()(),b(8,"mat-form-field")(9,"mat-label"),S(10),v(),b(11,"input",2),Xc(),ol("ngModelChange",function(a){return rd(r.password,a)||(r.password=a),a}),v()(),b(12,"mat-form-field")(13,"mat-label"),S(14),v(),b(15,"input",1),Xc(),ol("ngModelChange",function(a){return rd(r.domain,a)||(r.domain=a),a}),v()()(),b(16,"mat-dialog-actions")(17,"button",3),S(18,"Cancel"),v(),b(19,"button",3),S(20,"Accept"),v()()),i&2&&(x(6),Ke(" ",r.labels.username," "),x(),P("placeholder",r.labels.username),rl("ngModel",r.username),Jc(),x(3),Ke(" ",r.labels.password," "),x(),P("placeholder",r.labels.password),rl("ngModel",r.password),Jc(),x(3),Ke(" ",r.labels.domain," "),x(),P("placeholder",r.labels.domain),rl("ngModel",r.domain),Jc(),x(2),P("mat-dialog-close",$f(11,t3,r.username,r.domain,r.password)),x(2),P("mat-dialog-close",$f(15,n3,r.username,r.domain,r.password)))},dependencies:[Nh,QN,p0,Ei,dh,uh,fh,mh,Mr,Xi,ra,yt],styles:[".mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"],changeDetection:1})}}return t})();var zh=(()=>{class t{constructor(){this.dialog=u(eu)}alert(e,i,r=0){return z(this,null,function*(){let o=window.innerWidth<800?"80%":"40%";return this.dialog.open(r0,{width:o,data:{title:e,body:i,autoclose:r,type:lu.alert},disableClose:!0,panelClass:"glass-dialog"})})}yesno(e,i){let r=window.innerWidth<800?"80%":"40%";return this.dialog.open(r0,{width:r,data:{title:e,body:i,type:lu.yesno},disableClose:!0,panelClass:"glass-dialog"}).componentInstance.yesno}askCredentials(e,i){let r=this.dialog.open(hA,{data:{username:e,domain:i},panelClass:"glass-dialog"});return Fn(r.afterClosed())}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=re({token:t,factory:t.\u0275fac})}}return t})();var Hh=class t{static{this.transportsWindow={}}constructor(n){this.api=n,this.delay=n.config.launcher_wait_time}launchURL(n){return z(this,null,function*(){n.substring(0,7)==="udsa://"?yield this.processUDSUrl(n):yield this.processExternalUrl(n)})}showAlert(n,e,i){return z(this,null,function*(){return this.api.gui.alert(django.gettext("Launching service"),'

'+n+'

'+e+"

",i)})}launchUDSUrl(n){this.api.download(n)}processUDSUrl(n){return z(this,null,function*(){let e=n.split("//")[1].split("/");if(e.length!==2){yield this.notifyError(django.gettext("Invalid UDS URL"));return}let i=e[0],r=e[1],o=yield this.showAlert(django.gettext("Please wait until the service is launched."),co(django.gettext("Remember that you will need %(launcher)s on your platform to access the service.")),0);o.componentInstance.data.progress=0;let a=!1;Fn(o.afterClosed()).then(()=>a=!0);let s=-1,l=!1;try{let c=yield this.api.enabler(i,r);if(c.error){if(!c.retryable)throw c.error;l=!0}else if(c.url.startsWith("/")){o.close(),yield this.launchURL(c.url);return}else this.launchUDSUrl(c.url);for(;!a;){let d=yield this.api.status(i,r);if(s>0&&Date.now()-s>this.delay*5&&(o.componentInstance.data.title=django.gettext("Service ready")+" - "+co(django.gettext("%(launcher)s not launching")),o.componentInstance.data.body=`
${co(django.gettext("It seems that you don't have %(launcher)s installed. Please, install it from here:"))} ${co(django.gettext("%(launcher)s Download"))} @@ -2213,7 +2213,7 @@ textarea.cdk-textarea-autosize-measuring-firefox { top: 6px; width: 12px; } -`],encapsulation:2})}return t})();var C0=new C("MAT_OPTION_PARENT_COMPONENT"),w0=new C("MatOptgroup");var x0=class{source;isUserInput;constructor(n,e=!1){this.source=n,this.isUserInput=e}},Ql=(()=>{class t{_element=u($);_changeDetectorRef=u(We);_parent=u(C0,{optional:!0});group=u(w0,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=u(st).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=he(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new H;_text;_stateChanges=new R;constructor(){let e=u(Dt);e.load(Si),e.load(Ol),this._signalDisableRipple=!!this._parent&&Mn(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,i){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!Ht(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new x0(this,e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=["text"],i=[[["mat-icon"]],"*"],r=["mat-icon","*"];function o(l,c){if(l&1&&Y(0,"mat-pseudo-checkbox",1),l&2){let d=N();P("disabled",d.disabled)("state",d.selected?"checked":"unchecked")}}function a(l,c){if(l&1&&Y(0,"mat-pseudo-checkbox",3),l&2){let d=N();P("disabled",d.disabled)}}function s(l,c){if(l&1&&(b(0,"span",4),S(1),v()),l&2){let d=N();x(),Ke("(",d.group.label,")")}}return F({type:t,selectors:[["mat-option"]],viewQuery:function(c,d){if(c&1&&it(e,7),c&2){let m;X(m=J())&&(d._text=m.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(c,d){c&1&&j("click",function(){return d._selectViaInteraction()})("keydown",function(p){return d._handleKeydown(p)}),c&2&&(On("id",d.id),ye("aria-selected",d.selected)("aria-disabled",d.disabled.toString()),ie("mdc-list-item--selected",d.selected)("mat-mdc-option-multiple",d.multiple)("mat-mdc-option-active",d.active)("mdc-list-item--disabled",d.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",G]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:r,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(c,d){c&1&&(ct(i),Q(0,o,1,2,"mat-pseudo-checkbox",1),Ee(1),b(2,"span",2,0),Ee(4,1),v(),Q(5,a,1,1,"mat-pseudo-checkbox",3),Q(6,s,2,1,"span",4),Y(7,"div",5)),c&2&&(Z(d.multiple?0:-1),x(5),Z(!d.multiple&&d.selected&&!d.hideSingleSelectionIndicator?5:-1),x(),Z(d.group&&d.group._inert?6:-1),x(),P("matRippleTrigger",d._getHostElement())("matRippleDisabled",d.disabled||d.disableRipple))},dependencies:[vA,lo],styles:[`.mat-mdc-option { +`],encapsulation:2})}return t})();var C0=new C("MAT_OPTION_PARENT_COMPONENT"),w0=new C("MatOptgroup");var x0=class{source;isUserInput;constructor(n,e=!1){this.source=n,this.isUserInput=e}},Ql=(()=>{class t{_element=u($);_changeDetectorRef=u(We);_parent=u(C0,{optional:!0});group=u(w0,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=u(st).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=he(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new H;_text;_stateChanges=new R;constructor(){let e=u(Dt);e.load(Si),e.load(Ol),this._signalDisableRipple=!!this._parent&&Mn(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,i){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!Ht(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new x0(this,e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=["text"],i=[[["mat-icon"]],"*"],r=["mat-icon","*"];function o(l,c){if(l&1&&q(0,"mat-pseudo-checkbox",1),l&2){let d=N();P("disabled",d.disabled)("state",d.selected?"checked":"unchecked")}}function a(l,c){if(l&1&&q(0,"mat-pseudo-checkbox",3),l&2){let d=N();P("disabled",d.disabled)}}function s(l,c){if(l&1&&(b(0,"span",4),S(1),v()),l&2){let d=N();x(),Ke("(",d.group.label,")")}}return F({type:t,selectors:[["mat-option"]],viewQuery:function(c,d){if(c&1&&it(e,7),c&2){let m;X(m=J())&&(d._text=m.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(c,d){c&1&&j("click",function(){return d._selectViaInteraction()})("keydown",function(p){return d._handleKeydown(p)}),c&2&&(On("id",d.id),ye("aria-selected",d.selected)("aria-disabled",d.disabled.toString()),ie("mdc-list-item--selected",d.selected)("mat-mdc-option-multiple",d.multiple)("mat-mdc-option-active",d.active)("mdc-list-item--disabled",d.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",G]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:r,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(c,d){c&1&&(ct(i),Q(0,o,1,2,"mat-pseudo-checkbox",1),Ee(1),b(2,"span",2,0),Ee(4,1),v(),Q(5,a,1,1,"mat-pseudo-checkbox",3),Q(6,s,2,1,"span",4),q(7,"div",5)),c&2&&(Z(d.multiple?0:-1),x(5),Z(!d.multiple&&d.selected&&!d.hideSingleSelectionIndicator?5:-1),x(),Z(d.group&&d.group._inert?6:-1),x(),P("matRippleTrigger",d._getHostElement())("matRippleDisabled",d.disabled||d.disableRipple))},dependencies:[vA,lo],styles:[`.mat-mdc-option { -webkit-user-select: none; user-select: none; -moz-osx-font-smoothing: grayscale; @@ -2334,7 +2334,7 @@ textarea.cdk-textarea-autosize-measuring-firefox { .mat-mdc-option-active .mat-focus-indicator::before { content: ""; } -`],encapsulation:2})})()}return t})();function yA(t,n,e){if(e.length){let i=n.toArray(),r=e.toArray(),o=0;for(let a=0;ae+i?Math.max(0,t-i+n):e}var xA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({imports:[Qe]})}return t})();var S0=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({imports:[Ll,xA,Ql,Qe]})}return t})();var i3=new C("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(ne);return()=>ro(t)}}),r3=new C("MAT_SELECT_CONFIG"),o3=new C("MatSelectTrigger"),E0=class{source;value;constructor(n,e){this.source=n,this.value=e}},CA=(()=>{class t{_viewportRuler=u(Ki);_changeDetectorRef=u(We);_elementRef=u($);_dir=u(Jt,{optional:!0});_idGenerator=u(st);_renderer=u(He);_parentFormField=u(Yl,{optional:!0});ngControl=u(Dr,{self:!0,optional:!0});_liveAnnouncer=u(Ox);_defaultOptions=u(r3,{optional:!0});_animationsDisabled=dt();_popoverLocation;_initialized=new R;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let i=this.options.toArray()[e];if(i){let r=this.panel.nativeElement,o=yA(e,this.options,this.optionGroups),a=i._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=_A(a.offsetTop,a.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new E0(this,e)}_scrollStrategyFactory=u(i3);_panelOpen=!1;_compareWith=(e,i)=>e===i;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new R;_errorStateTracker;stateChanges=new R;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(e){this._disableRipple.set(e)}_disableRipple=he(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(es.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=Ni(()=>{let e=this.options;return e?e.changes.pipe(vt(e),St(()=>rn(...e.map(i=>i.onSelectionChange)))):this._initialized.pipe(St(()=>this.optionSelectionChanges))});openedChange=new H;_openedStream=this.openedChange.pipe(Me(e=>e),Ae(()=>{}));_closedStream=this.openedChange.pipe(Me(e=>!e),Ae(()=>{}));selectionChange=new H;valueChange=new H;constructor(){let e=u(jh),i=u(Zi,{optional:!0}),r=u(pu,{optional:!0}),o=u(new Ui("tabindex"),{optional:!0}),a=u($d,{optional:!0}),s=u(Wl,{optional:!0,self:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Kl(e,s||this.ngControl,r,i,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=o==null?0:parseInt(o)||0,this._popoverLocation=a?.usePopover===!1?null:"inline",this.id=this.id}ngOnInit(){this._selectionModel=new gu(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(Ye(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(Ye(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(vt(null),Ye(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){let r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(this._previousControl!==void 0&&i.disabled!==null&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval),e.panelClass&&this.panelClass instanceof Set&&(this.panelClass=Array.from(this.panelClass))}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._panelOpen=!0,this._overlayDir.positionChange.pipe(Pt(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel){this._detachOverlay();return}this._cleanupDetach?.(),this._cleanupDetach=()=>{i(),clearTimeout(r),this._cleanupDetach=void 0};let e=this.panel.nativeElement,i=this._renderer.listen(e,"animationend",o=>{o.animationName==="_mat-select-exit"&&(this._cleanupDetach?.(),this._detachOverlay())}),r=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);e.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let i=e.keyCode,r=i===40||i===38||i===37||i===39,o=i===13||i===32,a=this._keyManager;if(!a.isTyping()&&o&&!Ht(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let s=this.selected;a.onKeydown(e);let l=this.selected;l&&s!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){let i=this._keyManager,r=e.keyCode,o=r===40||r===38,a=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(!a&&(r===13||r===32)&&i.activeItem&&!Ht(e))e.preventDefault(),i.activeItem._selectViaInteraction();else if(!a&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let s=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(s?l.select():l.deselect())})}else{let s=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==s&&i.activeItem._selectViaInteraction()}}_handleOverlayKeydown(e){e.keyCode===27&&!Ht(e)&&(e.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{let i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return(r.value!=null||this.canSelectNullableOptions)&&this._compareWith(r.value,e)}catch(o){return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof Tl?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Xd(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=rn(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Ye(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),rn(...this.options.map(i=>i._stateChanges)).pipe(Ye(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){let r=this._selectionModel.isSelected(e);!this.canSelectNullableOptions&&e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i;this.multiple?i=this.selected.map(r=>r.value):i=this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let i=0;i0&&!!this._overlayDir}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e||(e=this._valueId),e}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let i=this._elementRef.nativeElement;e.length?i.setAttribute("aria-describedby",e.join(" ")):i.removeAttribute("aria-describedby")}onContainerClick(e){let i=vn(e);i&&(i.tagName==="MAT-OPTION"||i.classList.contains("cdk-overlay-backdrop")||i.closest(".mat-mdc-select-panel"))||(this.focus(),this.open())}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=["trigger"],i=["panel"],r=[[["mat-select-trigger"]],"*"],o=["mat-select-trigger","*"];function a(m,p){if(m&1&&(b(0,"span",4),S(1),v()),m&2){let f=N();x(),rt(f.placeholder)}}function s(m,p){m&1&&Ee(0)}function l(m,p){if(m&1&&(b(0,"span",11),S(1),v()),m&2){let f=N(2);x(),rt(f.triggerValue)}}function c(m,p){if(m&1&&(b(0,"span",5),Q(1,s,1,0)(2,l,2,1,"span",11),v()),m&2){let f=N();x(),Z(f.customTrigger?1:2)}}function d(m,p){if(m&1){let f=Be();b(0,"div",12,1),j("keydown",function(_){we(f);let E=N();return Se(E._handleKeydown(_))}),Ee(2,1),v()}if(m&2){let f=N();Rt(f.panelClass),ie("mat-select-panel-animations-enabled",!f._animationsDisabled)("mat-primary",f._parentFormField?.color==="primary")("mat-accent",f._parentFormField?.color==="accent")("mat-warn",f._parentFormField?.color==="warn")("mat-undefined",!f._parentFormField?.color),ye("id",f.id+"-panel")("aria-multiselectable",f.multiple)("aria-label",f.ariaLabel||null)("aria-labelledby",f._getPanelAriaLabelledby())}}return F({type:t,selectors:[["mat-select"]],contentQueries:function(p,f,g){if(p&1&&mn(g,o3,5)(g,Ql,5)(g,w0,5),p&2){let _;X(_=J())&&(f.customTrigger=_.first),X(_=J())&&(f.options=_),X(_=J())&&(f.optionGroups=_)}},viewQuery:function(p,f){if(p&1&&it(e,5)(i,5)(th,5),p&2){let g;X(g=J())&&(f.trigger=g.first),X(g=J())&&(f.panel=g.first),X(g=J())&&(f._overlayDir=g.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:21,hostBindings:function(p,f){p&1&&j("keydown",function(_){return f._handleKeydown(_)})("focus",function(){return f._onFocus()})("blur",function(){return f._onBlur()}),p&2&&(ye("id",f.id)("tabindex",f.disabled?-1:f.tabIndex)("aria-controls",f.panelOpen?f.id+"-panel":null)("aria-expanded",f.panelOpen)("aria-label",f.ariaLabel||null)("aria-required",f.required.toString())("aria-disabled",f.disabled.toString())("aria-invalid",f.errorState)("aria-activedescendant",f._getAriaActiveDescendant()),ie("mat-mdc-select-disabled",f.disabled)("mat-mdc-select-invalid",f.errorState)("mat-mdc-select-required",f.required)("mat-mdc-select-empty",f.empty)("mat-mdc-select-multiple",f.multiple)("mat-select-open",f.panelOpen))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",G],disableRipple:[2,"disableRipple","disableRipple",G],tabIndex:[2,"tabIndex","tabIndex",m=>m==null?0:Gn(m)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",G],placeholder:"placeholder",required:[2,"required","required",G],multiple:[2,"multiple","multiple",G],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",G],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",Gn],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",G]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[Xe([{provide:ql,useExisting:t},{provide:C0,useExisting:t}]),nt],ngContentSelectors:o,decls:11,vars:10,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions","cdkConnectedOverlayUsePopover"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",1,"mat-mdc-select-panel","mdc-menu-surface","mdc-menu-surface--open",3,"keydown"]],template:function(p,f){if(p&1&&(ct(r),b(0,"div",2,0),j("click",function(){return f.open()}),b(3,"div",3),Q(4,a,2,1,"span",4)(5,c,3,1,"span",5),v(),b(6,"div",6)(7,"div",7),hi(),b(8,"svg",8),Y(9,"path",9),v()()()(),sn(10,d,3,16,"ng-template",10),j("detach",function(){return f.close()})("backdropClick",function(){return f.close()})("overlayKeydown",function(_){return f._handleOverlayKeydown(_)})),p&2){let g=Et(1);x(3),ye("id",f._valueId),x(),Z(f.empty?4:5),x(6),P("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",f._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",f._scrollStrategy)("cdkConnectedOverlayOrigin",f._preferredOverlayOrigin||g)("cdkConnectedOverlayPositions",f._positions)("cdkConnectedOverlayWidth",f._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)("cdkConnectedOverlayUsePopover",f._popoverLocation)}},dependencies:[Tl,th],styles:[`@keyframes _mat-select-enter { +`],encapsulation:2})})()}return t})();function yA(t,n,e){if(e.length){let i=n.toArray(),r=e.toArray(),o=0;for(let a=0;ae+i?Math.max(0,t-i+n):e}var xA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({imports:[Qe]})}return t})();var S0=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({imports:[Ll,xA,Ql,Qe]})}return t})();var i3=new C("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(ne);return()=>ro(t)}}),r3=new C("MAT_SELECT_CONFIG"),o3=new C("MatSelectTrigger"),E0=class{source;value;constructor(n,e){this.source=n,this.value=e}},CA=(()=>{class t{_viewportRuler=u(Ki);_changeDetectorRef=u(We);_elementRef=u($);_dir=u(Jt,{optional:!0});_idGenerator=u(st);_renderer=u(He);_parentFormField=u(Yl,{optional:!0});ngControl=u(Dr,{self:!0,optional:!0});_liveAnnouncer=u(Ox);_defaultOptions=u(r3,{optional:!0});_animationsDisabled=dt();_popoverLocation;_initialized=new R;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let i=this.options.toArray()[e];if(i){let r=this.panel.nativeElement,o=yA(e,this.options,this.optionGroups),a=i._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=_A(a.offsetTop,a.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new E0(this,e)}_scrollStrategyFactory=u(i3);_panelOpen=!1;_compareWith=(e,i)=>e===i;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new R;_errorStateTracker;stateChanges=new R;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(e){this._disableRipple.set(e)}_disableRipple=he(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(ts.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=Ni(()=>{let e=this.options;return e?e.changes.pipe(vt(e),St(()=>rn(...e.map(i=>i.onSelectionChange)))):this._initialized.pipe(St(()=>this.optionSelectionChanges))});openedChange=new H;_openedStream=this.openedChange.pipe(Me(e=>e),Ae(()=>{}));_closedStream=this.openedChange.pipe(Me(e=>!e),Ae(()=>{}));selectionChange=new H;valueChange=new H;constructor(){let e=u(jh),i=u(Zi,{optional:!0}),r=u(pu,{optional:!0}),o=u(new Ui("tabindex"),{optional:!0}),a=u($d,{optional:!0}),s=u(Wl,{optional:!0,self:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Kl(e,s||this.ngControl,r,i,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=o==null?0:parseInt(o)||0,this._popoverLocation=a?.usePopover===!1?null:"inline",this.id=this.id}ngOnInit(){this._selectionModel=new gu(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(Ye(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(Ye(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(vt(null),Ye(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){let r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(this._previousControl!==void 0&&i.disabled!==null&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval),e.panelClass&&this.panelClass instanceof Set&&(this.panelClass=Array.from(this.panelClass))}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._panelOpen=!0,this._overlayDir.positionChange.pipe(Pt(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel){this._detachOverlay();return}this._cleanupDetach?.(),this._cleanupDetach=()=>{i(),clearTimeout(r),this._cleanupDetach=void 0};let e=this.panel.nativeElement,i=this._renderer.listen(e,"animationend",o=>{o.animationName==="_mat-select-exit"&&(this._cleanupDetach?.(),this._detachOverlay())}),r=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);e.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let i=e.keyCode,r=i===40||i===38||i===37||i===39,o=i===13||i===32,a=this._keyManager;if(!a.isTyping()&&o&&!Ht(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let s=this.selected;a.onKeydown(e);let l=this.selected;l&&s!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){let i=this._keyManager,r=e.keyCode,o=r===40||r===38,a=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(!a&&(r===13||r===32)&&i.activeItem&&!Ht(e))e.preventDefault(),i.activeItem._selectViaInteraction();else if(!a&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let s=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(s?l.select():l.deselect())})}else{let s=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==s&&i.activeItem._selectViaInteraction()}}_handleOverlayKeydown(e){e.keyCode===27&&!Ht(e)&&(e.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{let i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return(r.value!=null||this.canSelectNullableOptions)&&this._compareWith(r.value,e)}catch(o){return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof Tl?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Xd(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=rn(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Ye(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),rn(...this.options.map(i=>i._stateChanges)).pipe(Ye(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){let r=this._selectionModel.isSelected(e);!this.canSelectNullableOptions&&e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i;this.multiple?i=this.selected.map(r=>r.value):i=this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let i=0;i0&&!!this._overlayDir}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e||(e=this._valueId),e}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let i=this._elementRef.nativeElement;e.length?i.setAttribute("aria-describedby",e.join(" ")):i.removeAttribute("aria-describedby")}onContainerClick(e){let i=vn(e);i&&(i.tagName==="MAT-OPTION"||i.classList.contains("cdk-overlay-backdrop")||i.closest(".mat-mdc-select-panel"))||(this.focus(),this.open())}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=["trigger"],i=["panel"],r=[[["mat-select-trigger"]],"*"],o=["mat-select-trigger","*"];function a(m,p){if(m&1&&(b(0,"span",4),S(1),v()),m&2){let f=N();x(),rt(f.placeholder)}}function s(m,p){m&1&&Ee(0)}function l(m,p){if(m&1&&(b(0,"span",11),S(1),v()),m&2){let f=N(2);x(),rt(f.triggerValue)}}function c(m,p){if(m&1&&(b(0,"span",5),Q(1,s,1,0)(2,l,2,1,"span",11),v()),m&2){let f=N();x(),Z(f.customTrigger?1:2)}}function d(m,p){if(m&1){let f=Be();b(0,"div",12,1),j("keydown",function(_){we(f);let E=N();return Se(E._handleKeydown(_))}),Ee(2,1),v()}if(m&2){let f=N();Rt(f.panelClass),ie("mat-select-panel-animations-enabled",!f._animationsDisabled)("mat-primary",f._parentFormField?.color==="primary")("mat-accent",f._parentFormField?.color==="accent")("mat-warn",f._parentFormField?.color==="warn")("mat-undefined",!f._parentFormField?.color),ye("id",f.id+"-panel")("aria-multiselectable",f.multiple)("aria-label",f.ariaLabel||null)("aria-labelledby",f._getPanelAriaLabelledby())}}return F({type:t,selectors:[["mat-select"]],contentQueries:function(p,f,g){if(p&1&&mn(g,o3,5)(g,Ql,5)(g,w0,5),p&2){let _;X(_=J())&&(f.customTrigger=_.first),X(_=J())&&(f.options=_),X(_=J())&&(f.optionGroups=_)}},viewQuery:function(p,f){if(p&1&&it(e,5)(i,5)(th,5),p&2){let g;X(g=J())&&(f.trigger=g.first),X(g=J())&&(f.panel=g.first),X(g=J())&&(f._overlayDir=g.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:21,hostBindings:function(p,f){p&1&&j("keydown",function(_){return f._handleKeydown(_)})("focus",function(){return f._onFocus()})("blur",function(){return f._onBlur()}),p&2&&(ye("id",f.id)("tabindex",f.disabled?-1:f.tabIndex)("aria-controls",f.panelOpen?f.id+"-panel":null)("aria-expanded",f.panelOpen)("aria-label",f.ariaLabel||null)("aria-required",f.required.toString())("aria-disabled",f.disabled.toString())("aria-invalid",f.errorState)("aria-activedescendant",f._getAriaActiveDescendant()),ie("mat-mdc-select-disabled",f.disabled)("mat-mdc-select-invalid",f.errorState)("mat-mdc-select-required",f.required)("mat-mdc-select-empty",f.empty)("mat-mdc-select-multiple",f.multiple)("mat-select-open",f.panelOpen))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",G],disableRipple:[2,"disableRipple","disableRipple",G],tabIndex:[2,"tabIndex","tabIndex",m=>m==null?0:Wn(m)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",G],placeholder:"placeholder",required:[2,"required","required",G],multiple:[2,"multiple","multiple",G],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",G],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",Wn],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",G]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[Xe([{provide:ql,useExisting:t},{provide:C0,useExisting:t}]),nt],ngContentSelectors:o,decls:11,vars:10,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions","cdkConnectedOverlayUsePopover"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",1,"mat-mdc-select-panel","mdc-menu-surface","mdc-menu-surface--open",3,"keydown"]],template:function(p,f){if(p&1&&(ct(r),b(0,"div",2,0),j("click",function(){return f.open()}),b(3,"div",3),Q(4,a,2,1,"span",4)(5,c,3,1,"span",5),v(),b(6,"div",6)(7,"div",7),$n(),b(8,"svg",8),q(9,"path",9),v()()()(),sn(10,d,3,16,"ng-template",10),j("detach",function(){return f.close()})("backdropClick",function(){return f.close()})("overlayKeydown",function(_){return f._handleOverlayKeydown(_)})),p&2){let g=Et(1);x(3),ye("id",f._valueId),x(),Z(f.empty?4:5),x(6),P("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",f._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",f._scrollStrategy)("cdkConnectedOverlayOrigin",f._preferredOverlayOrigin||g)("cdkConnectedOverlayPositions",f._positions)("cdkConnectedOverlayWidth",f._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)("cdkConnectedOverlayUsePopover",f._popoverLocation)}},dependencies:[Tl,th],styles:[`@keyframes _mat-select-enter { from { opacity: 0; transform: scaleY(0.8); @@ -2523,7 +2523,7 @@ div.mat-mdc-select-panel { .mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper { transform: var(--%NS%mat-select-arrow-transform, translateY(-8px)); } -`],encapsulation:2})})()}return t})();var wA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({imports:[Qi,S0,Qe,eo,ts,S0]})}return t})();var s3=(t,n)=>n.username+"/"+n.auth_id;function l3(t,n){if(t&1&&(b(0,"mat-option",19),S(1),v()),t&2){let e=n.$implicit;P("value",e.id),x(),Ke(" ",e.name," ")}}function c3(t,n){if(t&1){let e=Be();b(0,"div",11)(1,"mat-form-field",17)(2,"mat-label")(3,"uds-translate"),S(4,"Authenticator"),v()(),b(5,"mat-select",18),j("selectionChange",function(r){we(e);let o=N();return Se(o.changeAuth(r.value))}),Nt(6,l3,2,2,"mat-option",19,Xt),v()()()}if(t&2){let e=N();x(5),P("value",e.auths[0].id),x(),At(e.auths)}}function d3(t,n){if(t&1){let e=Be();b(0,"div",20)(1,"button",21),j("click",function(){let r=we(e).$implicit,o=N(2);return Se(o.doBiometricLogin(r.username,r.auth_id))}),b(2,"uds-translate"),S(3,"Login with Biometrics"),v(),S(4),v()()}if(t&2){let e=n.$implicit;x(4),Ke("\xA0",e.username," ")}}function u3(t,n){if(t&1&&Nt(0,d3,5,1,"div",20,s3),t&2){let e=N();At(e.biometricHints)}}var SA="uds_biometric_declined",vu="uds_biometric_auto_paused";function m3(t){return t instanceof DOMException&&(t.name==="NotAllowedError"||t.name==="AbortError")}var D0=(()=>{class t{constructor(){this.api=u(ze),this.biometric=u(Wh),this.auth={},this.title="UDS Enterprise",this.biometricDeclined=!!localStorage.getItem(SA),this.biometricBusy=!1,this.biometricsAvailable=!1,this.title=this.api.config.site_name,this.auths=this.api.config.authenticators.slice(0),this.auths.sort((e,i)=>e.priority-i.priority),this.biometricHints=this.biometric.getHints()}ngOnInit(){return z(this,null,function*(){let e=document.getElementById("token");e.name=this.api.csrfField;let i=document.cookie.split(";").find(r=>r.trim().startsWith("csrftoken="))||"=";e.value=i.split("=")[1],this.auth=document.getElementById("authenticator"),this.auths.length>0&&(this.auth.value=this.auths[0].id,this.changeAuth(this.auth.value)),this.api.errors.length>0&&(this.biometric.clearAllHints(),localStorage.removeItem(vu),this.biometricHints=[],this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")),this.api.config.allow_biometric_auth&&(this.biometricsAvailable=yield this.biometric.isSupported()),this.api.errors.length===0&&this.shouldAutoLaunchBiometrics()&&this.doBiometricLogin(this.biometricHints[0].username,this.biometricHints[0].auth_id)})}canUseBiometrics(){return this.api.config.allow_biometric_auth&&this.biometricsAvailable&&this.biometricHints.length>0}shouldAutoLaunchBiometrics(){return this.api.config.biometric_auto_launch!==!1&&this.canUseBiometrics()&&this.biometricHints.length===1&&!localStorage.getItem(vu)}doBiometricLogin(e,i){return z(this,null,function*(){if(!this.biometricBusy){this.biometricBusy=!0;try{let r=yield this.biometric.unlockVault(e,i);if(!r)return;this.setWebauthnPayload({rotated_vault:r.rotated_vault,credential_id:r.credential_id}),this.fillForm(r.username,r.password,r.auth_id),this.biometric.addHint({username:r.username,auth_id:r.auth_id,credential_id:r.credential_id}),localStorage.removeItem(vu),this.launchSubmit()}catch(r){console.error("Biometric login failed:",r),m3(r)?(localStorage.setItem(vu,"true"),this.api.gui.alert(django.gettext("Biometric Login"),django.gettext("The biometric login was cancelled or could not be completed. Use the biometric login button to try again."))):(this.biometric.removeHint(e,i),this.biometricHints=this.biometric.getHints().map(o=>({username:o.username,auth_id:o.auth_id})),this.api.gui.alert(django.gettext("Error"),django.gettext("Biometric login failed")))}finally{this.biometricBusy=!1}}})}fillForm(e,i,r){let o=document.getElementById("id_user"),a=document.getElementById("id_password"),s=document.getElementById("authenticator");o&&a&&(o.value=e,a.value=i,s&&r&&this.auths.some(l=>String(l.id)===String(r))&&(s.value=String(r)))}setWebauthnPayload(e){let i=document.getElementById("webauthn");i&&(i.value=e?JSON.stringify(e):"")}changeAuth(e){this.auth.value=e;let i=r=>{this.api.injectScript(r,!1)};for(let r of this.auths)r.id===e&&r.is_custom&&(document.getElementsByClassName("login-form")[0].setAttribute("style","display: none;"),this.api.getAuthCustomJavascript(r.id).then(o=>i(o)))}launch(e){return z(this,null,function*(){e instanceof Event&&e.preventDefault();let i=document.getElementById("loginform"),r=document.getElementById("id_user").value,o=document.getElementById("id_password").value,a=document.getElementById("authenticator").value;if(this.api.config.allow_biometric_auth&&!this.biometricDeclined&&this.biometricHints.length===0){let s=yield this.biometric.isSupported();if(r&&o&&s)if(yield this.api.gui.yesno(django.gettext("Biometric Login"),django.gettext("Would you like to save your credentials for future biometric login?")))try{let c=yield this.biometric.registerVault(r,o,a);this.biometric.addHint({username:r,auth_id:a,credential_id:c}),localStorage.removeItem(vu),this.biometricHints=this.biometric.getHints().map(d=>({username:d.username,auth_id:d.auth_id}))}catch(c){console.error("Biometric registration error:",c),this.api.gui.alert(django.gettext("Error"),django.gettext("Could not register biometrics"))}else this.biometricDeclined=!0,localStorage.setItem(SA,"true")}this.setWebauthnPayload(null),i.action=this.api.config.urls.login,i.method="POST",i.submit()})}launchSubmit(){let e=document.getElementById("loginform");e.action=this.api.config.urls.login,e.method="POST",e.submit()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-login"]],standalone:!1,decls:32,vars:7,consts:[["id","loginform","method","post",3,"ngSubmit"],["name","","id","token","value","","type","hidden"],["name","logouturl","id","id_logouturl","value","","type","hidden"],["name","authenticator","id","authenticator","value","","type","hidden"],["name","webauthn","id","webauthn","value","","type","hidden"],[1,"login-container"],[1,"login-info"],[1,"login-stack"],["aria-hidden","true",1,"login-brand"],["alt","",3,"src"],[1,"login-form"],[1,"login-field"],["matInput","","id","id_user","name","user","value","","required","","autofocus","",3,"keyup.enter"],["matInput","","id","id_password","type","password","name","password","data-eye","",1,"form-control",3,"keyup.enter"],[1,"login-button"],["mat-stroked-button","","color","primary","type","button",3,"click"],[1,"site-info",3,"innerHTML"],["appaerance","standard"],[3,"selectionChange","value"],[3,"value"],[1,"login-button","biometric-button"],["mat-flat-button","","color","accent","type","button",3,"click"]],template:function(i,r){i&1&&(b(0,"form",0),j("ngSubmit",function(a){return r.launch(a)}),Y(1,"input",1)(2,"input",2)(3,"input",3)(4,"input",4),b(5,"div",5)(6,"div",6),S(7),v(),b(8,"div",7)(9,"div",8),Y(10,"img",9),v(),b(11,"div",10)(12,"div",11)(13,"mat-form-field")(14,"mat-label")(15,"uds-translate"),S(16,"Username"),v()(),b(17,"input",12),j("keyup.enter",function(a){return r.launch(a)}),v()()(),b(18,"div",11)(19,"mat-form-field")(20,"mat-label")(21,"uds-translate"),S(22,"Password"),v()(),b(23,"input",13),j("keyup.enter",function(a){return r.launch(a)}),v()()(),Q(24,c3,8,1,"div",11),b(25,"div",14)(26,"button",15),j("click",function(a){return r.launch(a)}),b(27,"uds-translate"),S(28,"Login"),v()()(),Q(29,u3,2,0),v()(),Y(30,"div",16),vi(31,"safeHtml"),v()()),i&2&&(x(7),Ke(" ",r.title," "),x(3),P("src",r.api.staticURL("modern/img/login-img.png")),x(14),Z(r.auths.length>1?24:-1),x(5),Z(r.canUseBiometrics()?29:-1),x(),P("innerHTML",yi(31,5,r.api.config.site_information),gi))},dependencies:[Gl,$l,Zi,Ei,Mr,Xi,ia,CA,Ql,yt,ea],styles:[".login-container[_ngcontent-%COMP%]{position:relative;display:flex;flex-flow:column wrap;justify-content:center;align-items:center;min-height:calc(100vh - var(--%NS%content-offset) - var(--%NS%footer-block));padding-top:50px;padding-bottom:40px;box-sizing:border-box}.login-stack[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:center;min-width:320px;width:90%;max-width:420px}.login-brand[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:0;width:100%;display:flex;justify-content:center;pointer-events:none;-webkit-user-select:none;user-select:none}.login-brand[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:min(300px,78%);opacity:var(--%NS%login-brand-opacity);-webkit-mask-image:radial-gradient(ellipse 62% 44% at 50% 50%,#000 40%,transparent 100%);mask-image:radial-gradient(ellipse 62% 44% at 50% 50%,#000 40%,transparent 100%)}.login-info[_ngcontent-%COMP%], .login-form[_ngcontent-%COMP%], .site-info[_ngcontent-%COMP%]{position:relative;z-index:1}.login-info[_ngcontent-%COMP%]{margin-bottom:2rem;font-size:1.25rem;font-weight:500;color:var(--%NS%text-primary);text-align:center;opacity:.9}.login-form[_ngcontent-%COMP%]{width:100%;flex-shrink:0;padding:3rem 2.5rem;background-color:var(--%NS%login-card-bg)!important;backdrop-filter:var(--%NS%glass-backdrop-filter)!important;-webkit-backdrop-filter:var(--%NS%glass-backdrop-filter)!important;border:1px solid var(--%NS%glass-border)!important;box-shadow:var(--%NS%glass-shadow)!important;border-radius:28px!important;transition:all .4s ease;display:flex;flex-direction:column;align-items:center}.login-field[_ngcontent-%COMP%]{width:100%!important;margin-bottom:1.5rem}.login-button[_ngcontent-%COMP%]{margin-top:1.5rem;width:100%}.login-button[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%!important;padding:22px!important;border-radius:16px!important;background:var(--%NS%bg-button)!important;color:#fff!important;font-weight:600;font-size:1.1rem;letter-spacing:1px;border:none!important;box-shadow:0 4px 15px #0003!important;transition:all .3s cubic-bezier(.4,0,.2,1)!important}.login-button[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0000004d!important;filter:brightness(1.1)}.biometric-button[_ngcontent-%COMP%]{margin-top:1rem}.biometric-button[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:linear-gradient(135deg,#10b981,#059669)!important;box-shadow:0 4px 15px #10b9814d!important}.site-info[_ngcontent-%COMP%]{margin-top:2rem;max-width:400px;text-align:center;font-size:.85rem;opacity:.7;color:var(--%NS%text-primary)}@media only screen and (max-width:600px){.login-container[_ngcontent-%COMP%]{padding-top:40px}.login-stack[_ngcontent-%COMP%]{width:92%}.login-form[_ngcontent-%COMP%]{padding:2rem 1.5rem}}"],changeDetection:1})}}return t})();function f3(t,n){if(t&1){let e=Be();b(0,"div",6),j("click",function(){let r=we(e).$implicit,o=N();return Se(o.api.download(r.url))}),b(1,"div",7),Y(2,"img",8),v(),b(3,"div",9),S(4),v(),b(5,"div",10),S(6),v()()}if(t&2){let e=n.$implicit,i=N();Rt(i.css(e)),x(2),P("src",i.img(e.name)),x(2),Uf(" ",i.legacy(e)," ",e.name," (",e.url.split(".").pop(),") "),x(2),Ke(" ",e.description," ")}}var EA=(()=>{class t{constructor(){this.api=u(ze)}ngOnInit(){}img(e){return this.api.staticURL("modern/img/"+e+".png")}css(e){let i=["plugin"];return e.legacy&&i.push("legacy"),i}legacy(e){return e.legacy?"Legacy":""}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-launcher-download"]],standalone:!1,decls:13,vars:0,consts:[[1,"plugins-container"],[1,"banner"],[1,"banner-text"],[1,"plugins"],[3,"class"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"name"],[1,"description"]],template:function(i,r){i&1&&(b(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1"),S(4,"UDS Launcher"),v()()(),b(5,"div",3),Nt(6,f3,7,7,"div",4,Xt),v(),b(8,"div",5)(9,"ul")(10,"li")(11,"uds-translate"),S(12,"Download %(launcher)s for your platform"),v()()()()()),i&2&&(x(6),At(r.api.plugins))},dependencies:[yt],styles:['.plugins-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;margin:0 2%;color:var(--%NS%text-primary)}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:2rem}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2.5em;text-align:center;font-weight:500}.plugins[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:center;gap:2rem;margin:auto;width:100%}.plugin[_ngcontent-%COMP%]{margin-top:1rem;padding:1.5rem;border-radius:20px;background-color:var(--%NS%glass-bg);backdrop-filter:var(--%NS%glass-backdrop-filter);-webkit-backdrop-filter:var(--%NS%glass-backdrop-filter);border:1px solid var(--%NS%glass-border);box-shadow:var(--%NS%glass-shadow);transition:all .4s cubic-bezier(.25,.8,.25,1);flex:1 1 300px;max-width:400px;display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;overflow:hidden}.plugin.legacy[_ngcontent-%COMP%]{background-color:#0000001a;border-style:dashed;filter:grayscale(.9);opacity:.7}.plugin.legacy[_ngcontent-%COMP%]:after{content:"LEGACY";position:absolute;top:0;right:0;background:#0003;color:#fff;font-size:.6rem;padding:4px 8px;border-radius:0 0 0 10px;font-weight:700;letter-spacing:1px}.plugin.legacy[_ngcontent-%COMP%]:hover{filter:grayscale(.5);opacity:.9}.plugin[_ngcontent-%COMP%]:hover{cursor:pointer;transform:translateY(-8px);box-shadow:0 12px 28px #00000026;background-color:var(--%NS%glass-hover-bg)}.image[_ngcontent-%COMP%]{width:80px;height:80px;margin-bottom:1.5rem;display:flex;align-items:center;justify-content:center}.image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;max-height:100%;object-fit:contain}.name[_ngcontent-%COMP%]{font-size:1.4em;margin-bottom:.75em;font-weight:600}.description[_ngcontent-%COMP%]{font-size:.95rem;line-height:1.4;opacity:.85}.info[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;opacity:.7;font-style:italic}.info[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding:0} .dark-theme .plugin.legacy{background-color:#ffffff0d} .dark-theme .plugin.legacy:after{background:#ffffff1a}'],changeDetection:1})}}return t})();function p3(t,n){if(t&1){let e=Be();b(0,"div",6),j("click",function(){let r=we(e).$implicit,o=N();return Se(o.api.download(r.url))}),b(1,"div",7),Y(2,"img",8),v(),Y(3,"div",9),vi(4,"safeHtml"),Y(5,"div",10),vi(6,"safeHtml"),v()}if(t&2){let e=n.$implicit,i=N();Rt(i.css(e)),x(2),P("src",i.img(e.name)),x(),P("innerHTML",yi(4,5,e.name),gi),x(2),P("innerHTML",yi(6,7,e.description),gi)}}var DA=(()=>{class t{constructor(){this.api=u(ze),this.actors=[]}ngOnInit(){this.actors=[];let e=[];for(let i of this.api.actors)i.legacy?e.push(i):this.actors.push(i);for(let i of e)this.actors.push(i)}img(e){let i=(e.split(".").pop()||"").toLowerCase(),r="Linux";return i==="exe"?r="Windows":i==="pkg"&&(r="MacOS"),this.api.staticURL("modern/img/"+r+".png")}css(e){let i=["actor"];return e.legacy&&i.push("legacy"),i}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-downloads"]],standalone:!1,decls:14,vars:0,consts:[[1,"actors-container"],[1,"banner"],[1,"banner-text"],[1,"actors"],[3,"class"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"name",3,"innerHTML"],[1,"description",3,"innerHTML"]],template:function(i,r){i&1&&(b(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1")(4,"uds-translate"),S(5,"Downloads"),v()()()(),b(6,"div",3),Nt(7,p3,7,9,"div",4,Xt),v(),b(9,"div",5)(10,"ul")(11,"li")(12,"uds-translate"),S(13,"Always download the UDS actor matching your platform"),v()()()()()),i&2&&(x(7),At(r.actors))},dependencies:[yt,ea],styles:['.actors-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;margin:0 2%;color:var(--%NS%text-primary)}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:2rem}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2.5em;text-align:center;font-weight:500}.actors[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:center;gap:2rem;margin:auto;width:100%}.actor[_ngcontent-%COMP%]{margin-top:1rem;padding:1.5rem;border-radius:20px;background-color:var(--%NS%glass-bg);backdrop-filter:var(--%NS%glass-backdrop-filter);-webkit-backdrop-filter:var(--%NS%glass-backdrop-filter);border:1px solid var(--%NS%glass-border);box-shadow:var(--%NS%glass-shadow);transition:all .4s cubic-bezier(.25,.8,.25,1);flex:1 1 300px;max-width:400px;display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;overflow:hidden}.actor.legacy[_ngcontent-%COMP%]{background-color:#0000001a;border-style:dashed;filter:grayscale(.9);opacity:.7}.actor.legacy[_ngcontent-%COMP%]:after{content:"LEGACY";position:absolute;top:0;right:0;background:#0003;color:#fff;font-size:.6rem;padding:4px 8px;border-radius:0 0 0 10px;font-weight:700;letter-spacing:1px}.actor.legacy[_ngcontent-%COMP%]:hover{filter:grayscale(.5);opacity:.9}.actor[_ngcontent-%COMP%]:hover{cursor:pointer;transform:translateY(-8px);box-shadow:0 12px 28px #00000026;background-color:var(--%NS%glass-hover-bg)}.image[_ngcontent-%COMP%]{width:80px;height:80px;margin-bottom:1.5rem;display:flex;align-items:center;justify-content:center}.image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;max-height:100%;object-fit:contain}.name[_ngcontent-%COMP%]{font-size:1.4em;margin-bottom:.75em;font-weight:600}.description[_ngcontent-%COMP%]{font-size:.95rem;line-height:1.4;opacity:.85}.info[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;opacity:.7;font-style:italic}.info[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding:0} .dark-theme .actor.legacy{background-color:#ffffff0d} .dark-theme .actor.legacy:after{background:#ffffff1a}'],changeDetection:1})}}return t})();var h3=20;var g3=new C("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(ne);return()=>ro(t,{scrollThrottle:h3})}}),b3=new C("mat-tooltip-default-options",{providedIn:"root",factory:()=>({showDelay:0,hideDelay:0,touchendHideDelay:1500})});var MA="tooltip-panel",v3={passive:!0},y3=8,_3=8,x3=24,C3=200,yu=(()=>{class t{_elementRef=u($);_ngZone=u(O);_platform=u($e);_ariaDescriber=u(FT);_focusMonitor=u(qn);_dir=u(Jt);_injector=u(ne);_viewContainerRef=u(Bt);_mediaMatcher=u(fl);_document=u(oe);_renderer=u(He);_animationsDisabled=dt();_defaultOptions=u(b3,{optional:!0});_overlayRef=null;_tooltipInstance=null;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=IA;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending=!1;_dirSubscribed=!1;get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=ao(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let i=ao(e);this._disabled!==i&&(this._disabled=i,i?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=qi(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=qi(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(e){let i=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(i)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_eventCleanups=[];_touchstartTimeout=null;_destroyed=new R;_isDestroyed=!1;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._viewportMargin=y3}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Ye(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._eventCleanups.forEach(i=>i()),this._eventCleanups.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let r=this._createOverlay(i);this._detach(),this._portal=this._portal||new Ko(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(Ye(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&a._origin instanceof $)return this._overlayRef;this._detach()}let i=this._injector.get(Yo).getAncestorScrollContainers(this._elementRef),r=`${this._cssClassPrefix}-${MA}`,o=Ya(this._injector,this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i).withPopoverLocation("global");return o.positionChanges.pipe(Ye(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=oo(this._injector,{direction:this._dir,positionStrategy:o,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,r]:r,scrollStrategy:this._injector.get(g3)(),disableAnimations:this._animationsDisabled,eventPredicate:this._overlayEventPredicate}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Ye(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Ye(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(Ye(this._destroyed)).subscribe(a=>{a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(Ye(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset(w(w({},r.main),o.main)),this._addOffset(w(w({},r.fallback),o.fallback))])}_addOffset(e){let i=_3,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-i:e.originY==="bottom"?e.offsetY=i:e.originX==="start"?e.offsetX=r?-i:i:e.originX==="end"&&(e.offsetX=r?i:-i),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"||i=="below"?r={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={originX:"start",originY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:o,y:a}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:a}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"?r={overlayX:"center",overlayY:"bottom"}:i=="below"?r={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:o,y:a}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),jt(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e instanceof Set?Array.from(e):e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){let{overlayY:i,originX:r,originY:o}=e,a;if(i==="center"?this._dir&&this._dir.value==="rtl"?a=r==="end"?"left":"right":a=r==="start"?"left":"right":a=i==="bottom"&&o==="top"?"above":"below",a!==this._currentPosition){let s=this._overlayRef;if(s){let l=`${this._cssClassPrefix}-${MA}-`;s.removePanelClass(l+this._currentPosition),s.addPanelClass(l+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._eventCleanups.length||(this._isTouchPlatform()?this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._addListener("touchstart",e=>{let i=e.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions?.touchLongPressShowDelay??o)})):this._addListener("mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let i;e.x!==void 0&&e.y!==void 0&&(i=e),this.show(void 0,i)}))}_setupPointerExitEventsIfNeeded(){if(!this._pointerExitEventsInitialized){if(this._pointerExitEventsInitialized=!0,!this._isTouchPlatform())this._addListener("mouseleave",e=>{let i=e.relatedTarget;(!i||!this._overlayRef?.overlayElement.contains(i))&&this.hide()}),this._addListener("wheel",e=>{if(this._isTooltipVisible()){let i=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}});else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let e=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};this._addListener("touchend",e),this._addListener("touchcancel",e)}}}_addListener(e,i){this._eventCleanups.push(this._renderer.listen(this._elementRef.nativeElement,e,i,v3))}_isTouchPlatform(){let e=this._defaultOptions?.detectHoverCapability;return typeof e=="function"?!e():this._platform.IOS||this._platform.ANDROID?!0:this._platform.isBrowser?!!e&&this._mediaMatcher.matchMedia("(any-hover: none)").matches:!1}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let i=this._elementRef.nativeElement,r=i.style;(e==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._isDestroyed||jt({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}_overlayEventPredicate=e=>e.type==="keydown"?this._isTooltipVisible()&&e.keyCode===27&&!Ht(e):!0;static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){i&2&&ie("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return t})(),IA=(()=>{class t{_changeDetectorRef=u(We);_elementRef=u($);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=dt();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new R;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>x3&&e.width>=C3}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(i);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=["tooltip"];return F({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(r,o){if(r&1&&it(e,7),r&2){let a;X(a=J())&&(o._tooltip=a.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(r,o){r&1&&j("mouseleave",function(s){return o._handleMouseLeave(s)})},decls:4,vars:5,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(r,o){r&1&&(zt(0,"div",1,0),il("animationend",function(s){return o._handleAnimationEnd(s)}),zt(2,"div",2),S(3),ln()()),r&2&&(Rt(o.tooltipClass),ie("mdc-tooltip--multiline",o._isMultiline),x(3),rt(o.message))},styles:[`.mat-mdc-tooltip { +`],encapsulation:2})})()}return t})();var wA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({imports:[Qi,S0,Qe,eo,ns,S0]})}return t})();var s3=(t,n)=>n.username+"/"+n.auth_id;function l3(t,n){if(t&1&&(b(0,"mat-option",19),S(1),v()),t&2){let e=n.$implicit;P("value",e.id),x(),Ke(" ",e.name," ")}}function c3(t,n){if(t&1){let e=Be();b(0,"div",11)(1,"mat-form-field",17)(2,"mat-label")(3,"uds-translate"),S(4,"Authenticator"),v()(),b(5,"mat-select",18),j("selectionChange",function(r){we(e);let o=N();return Se(o.changeAuth(r.value))}),Nt(6,l3,2,2,"mat-option",19,Xt),v()()()}if(t&2){let e=N();x(5),P("value",e.auths[0].id),x(),At(e.auths)}}function d3(t,n){if(t&1){let e=Be();b(0,"div",20)(1,"button",21),j("click",function(){let r=we(e).$implicit,o=N(2);return Se(o.doBiometricLogin(r.username,r.auth_id))}),b(2,"uds-translate"),S(3,"Login with Biometrics"),v(),S(4),v()()}if(t&2){let e=n.$implicit;x(4),Ke("\xA0",e.username," ")}}function u3(t,n){if(t&1&&Nt(0,d3,5,1,"div",20,s3),t&2){let e=N();At(e.biometricHints)}}var SA="uds_biometric_declined",vu="uds_biometric_auto_paused";function m3(t){return t instanceof DOMException&&(t.name==="NotAllowedError"||t.name==="AbortError")}var D0=(()=>{class t{constructor(){this.api=u(ze),this.biometric=u(Wh),this.auth={},this.title="UDS Enterprise",this.biometricDeclined=!!localStorage.getItem(SA),this.biometricBusy=!1,this.biometricsAvailable=!1,this.title=this.api.config.site_name,this.auths=this.api.config.authenticators.slice(0),this.auths.sort((e,i)=>e.priority-i.priority),this.biometricHints=this.biometric.getHints()}ngOnInit(){return z(this,null,function*(){let e=document.getElementById("token");e.name=this.api.csrfField;let i=document.cookie.split(";").find(r=>r.trim().startsWith("csrftoken="))||"=";e.value=i.split("=")[1],this.auth=document.getElementById("authenticator"),this.auths.length>0&&(this.auth.value=this.auths[0].id,this.changeAuth(this.auth.value)),this.api.errors.length>0&&(this.biometric.clearAllHints(),localStorage.removeItem(vu),this.biometricHints=[],this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")),this.api.config.allow_biometric_auth&&(this.biometricsAvailable=yield this.biometric.isSupported()),this.api.errors.length===0&&this.shouldAutoLaunchBiometrics()&&this.doBiometricLogin(this.biometricHints[0].username,this.biometricHints[0].auth_id)})}canUseBiometrics(){return this.api.config.allow_biometric_auth&&this.biometricsAvailable&&this.biometricHints.length>0}shouldAutoLaunchBiometrics(){return this.api.config.biometric_auto_launch!==!1&&this.canUseBiometrics()&&this.biometricHints.length===1&&!localStorage.getItem(vu)}doBiometricLogin(e,i){return z(this,null,function*(){if(!this.biometricBusy){this.biometricBusy=!0;try{let r=yield this.biometric.unlockVault(e,i);if(!r)return;this.setWebauthnPayload({rotated_vault:r.rotated_vault,credential_id:r.credential_id}),this.fillForm(r.username,r.password,r.auth_id),this.biometric.addHint({username:r.username,auth_id:r.auth_id,credential_id:r.credential_id}),localStorage.removeItem(vu),this.launchSubmit()}catch(r){console.error("Biometric login failed:",r),m3(r)?(localStorage.setItem(vu,"true"),this.api.gui.alert(django.gettext("Biometric Login"),django.gettext("The biometric login was cancelled or could not be completed. Use the biometric login button to try again."))):(this.biometric.removeHint(e,i),this.biometricHints=this.biometric.getHints().map(o=>({username:o.username,auth_id:o.auth_id})),this.api.gui.alert(django.gettext("Error"),django.gettext("Biometric login failed")))}finally{this.biometricBusy=!1}}})}fillForm(e,i,r){let o=document.getElementById("id_user"),a=document.getElementById("id_password"),s=document.getElementById("authenticator");o&&a&&(o.value=e,a.value=i,s&&r&&this.auths.some(l=>String(l.id)===String(r))&&(s.value=String(r)))}setWebauthnPayload(e){let i=document.getElementById("webauthn");i&&(i.value=e?JSON.stringify(e):"")}changeAuth(e){this.auth.value=e;let i=r=>{this.api.injectScript(r,!1)};for(let r of this.auths)r.id===e&&r.is_custom&&(document.getElementsByClassName("login-form")[0].setAttribute("style","display: none;"),this.api.getAuthCustomJavascript(r.id).then(o=>i(o)))}launch(e){return z(this,null,function*(){e instanceof Event&&e.preventDefault();let i=document.getElementById("loginform"),r=document.getElementById("id_user").value,o=document.getElementById("id_password").value,a=document.getElementById("authenticator").value;if(this.api.config.allow_biometric_auth&&!this.biometricDeclined&&this.biometricHints.length===0){let s=yield this.biometric.isSupported();if(r&&o&&s)if(yield this.api.gui.yesno(django.gettext("Biometric Login"),django.gettext("Would you like to save your credentials for future biometric login?")))try{let c=yield this.biometric.registerVault(r,o,a);this.biometric.addHint({username:r,auth_id:a,credential_id:c}),localStorage.removeItem(vu),this.biometricHints=this.biometric.getHints().map(d=>({username:d.username,auth_id:d.auth_id}))}catch(c){console.error("Biometric registration error:",c),this.api.gui.alert(django.gettext("Error"),django.gettext("Could not register biometrics"))}else this.biometricDeclined=!0,localStorage.setItem(SA,"true")}this.setWebauthnPayload(null),i.action=this.api.config.urls.login,i.method="POST",i.submit()})}launchSubmit(){let e=document.getElementById("loginform");e.action=this.api.config.urls.login,e.method="POST",e.submit()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-login"]],standalone:!1,decls:32,vars:7,consts:[["id","loginform","method","post",3,"ngSubmit"],["name","","id","token","value","","type","hidden"],["name","logouturl","id","id_logouturl","value","","type","hidden"],["name","authenticator","id","authenticator","value","","type","hidden"],["name","webauthn","id","webauthn","value","","type","hidden"],[1,"login-container"],[1,"login-info"],[1,"login-stack"],["aria-hidden","true",1,"login-brand"],["alt","",3,"src"],[1,"login-form"],[1,"login-field"],["matInput","","id","id_user","name","user","value","","required","","autofocus","",3,"keyup.enter"],["matInput","","id","id_password","type","password","name","password","data-eye","",1,"form-control",3,"keyup.enter"],[1,"login-button"],["mat-stroked-button","","color","primary","type","button",3,"click"],[1,"site-info",3,"innerHTML"],["appaerance","standard"],[3,"selectionChange","value"],[3,"value"],[1,"login-button","biometric-button"],["mat-flat-button","","color","accent","type","button",3,"click"]],template:function(i,r){i&1&&(b(0,"form",0),j("ngSubmit",function(a){return r.launch(a)}),q(1,"input",1)(2,"input",2)(3,"input",3)(4,"input",4),b(5,"div",5)(6,"div",6),S(7),v(),b(8,"div",7)(9,"div",8),q(10,"img",9),v(),b(11,"div",10)(12,"div",11)(13,"mat-form-field")(14,"mat-label")(15,"uds-translate"),S(16,"Username"),v()(),b(17,"input",12),j("keyup.enter",function(a){return r.launch(a)}),v()()(),b(18,"div",11)(19,"mat-form-field")(20,"mat-label")(21,"uds-translate"),S(22,"Password"),v()(),b(23,"input",13),j("keyup.enter",function(a){return r.launch(a)}),v()()(),Q(24,c3,8,1,"div",11),b(25,"div",14)(26,"button",15),j("click",function(a){return r.launch(a)}),b(27,"uds-translate"),S(28,"Login"),v()()(),Q(29,u3,2,0),v()(),q(30,"div",16),vi(31,"safeHtml"),v()()),i&2&&(x(7),Ke(" ",r.title," "),x(3),P("src",r.api.staticURL("modern/img/login-img.png")),x(14),Z(r.auths.length>1?24:-1),x(5),Z(r.canUseBiometrics()?29:-1),x(),P("innerHTML",yi(31,5,r.api.config.site_information),gi))},dependencies:[Gl,$l,Zi,Ei,Mr,Xi,ra,CA,Ql,yt,ta],styles:[".login-container[_ngcontent-%COMP%]{position:relative;display:flex;flex-flow:column wrap;justify-content:center;align-items:center;min-height:calc(100vh - var(--%NS%content-offset) - var(--%NS%footer-block));padding-top:50px;padding-bottom:40px;box-sizing:border-box}.login-stack[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:center;min-width:320px;width:90%;max-width:420px}.login-brand[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:0;width:100%;display:flex;justify-content:center;pointer-events:none;-webkit-user-select:none;user-select:none}.login-brand[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:min(300px,78%);opacity:var(--%NS%login-brand-opacity);-webkit-mask-image:radial-gradient(ellipse 62% 44% at 50% 50%,#000 40%,transparent 100%);mask-image:radial-gradient(ellipse 62% 44% at 50% 50%,#000 40%,transparent 100%)}.login-info[_ngcontent-%COMP%], .login-form[_ngcontent-%COMP%], .site-info[_ngcontent-%COMP%]{position:relative;z-index:1}.login-info[_ngcontent-%COMP%]{margin-bottom:2rem;font-size:1.25rem;font-weight:500;color:var(--%NS%text-primary);text-align:center;opacity:.9}.login-form[_ngcontent-%COMP%]{width:100%;flex-shrink:0;padding:3rem 2.5rem;background-color:var(--%NS%login-card-bg)!important;backdrop-filter:var(--%NS%glass-backdrop-filter)!important;-webkit-backdrop-filter:var(--%NS%glass-backdrop-filter)!important;border:1px solid var(--%NS%glass-border)!important;box-shadow:var(--%NS%glass-shadow)!important;border-radius:28px!important;transition:all .4s ease;display:flex;flex-direction:column;align-items:center}.login-field[_ngcontent-%COMP%]{width:100%!important;margin-bottom:1.5rem}.login-button[_ngcontent-%COMP%]{margin-top:1.5rem;width:100%}.login-button[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%!important;padding:22px!important;border-radius:16px!important;background:var(--%NS%bg-button)!important;color:#fff!important;font-weight:600;font-size:1.1rem;letter-spacing:1px;border:none!important;box-shadow:0 4px 15px #0003!important;transition:all .3s cubic-bezier(.4,0,.2,1)!important}.login-button[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0000004d!important;filter:brightness(1.1)}.biometric-button[_ngcontent-%COMP%]{margin-top:1rem}.biometric-button[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:linear-gradient(135deg,#10b981,#059669)!important;box-shadow:0 4px 15px #10b9814d!important}.site-info[_ngcontent-%COMP%]{margin-top:2rem;max-width:400px;text-align:center;font-size:.85rem;opacity:.7;color:var(--%NS%text-primary)}@media only screen and (max-width:600px){.login-container[_ngcontent-%COMP%]{padding-top:40px}.login-stack[_ngcontent-%COMP%]{width:92%}.login-form[_ngcontent-%COMP%]{padding:2rem 1.5rem}}"],changeDetection:1})}}return t})();function f3(t,n){if(t&1){let e=Be();b(0,"div",6),j("click",function(){let r=we(e).$implicit,o=N();return Se(o.api.download(r.url))}),b(1,"div",7),q(2,"img",8),v(),b(3,"div",9),S(4),v(),b(5,"div",10),S(6),v()()}if(t&2){let e=n.$implicit,i=N();Rt(i.css(e)),x(2),P("src",i.img(e.name)),x(2),Uf(" ",i.legacy(e)," ",e.name," (",e.url.split(".").pop(),") "),x(2),Ke(" ",e.description," ")}}var EA=(()=>{class t{constructor(){this.api=u(ze)}ngOnInit(){}img(e){return this.api.staticURL("modern/img/"+e+".png")}css(e){let i=["plugin"];return e.legacy&&i.push("legacy"),i}legacy(e){return e.legacy?"Legacy":""}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-launcher-download"]],standalone:!1,decls:13,vars:0,consts:[[1,"plugins-container"],[1,"banner"],[1,"banner-text"],[1,"plugins"],[3,"class"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"name"],[1,"description"]],template:function(i,r){i&1&&(b(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1"),S(4,"UDS Launcher"),v()()(),b(5,"div",3),Nt(6,f3,7,7,"div",4,Xt),v(),b(8,"div",5)(9,"ul")(10,"li")(11,"uds-translate"),S(12,"Download %(launcher)s for your platform"),v()()()()()),i&2&&(x(6),At(r.api.plugins))},dependencies:[yt],styles:['.plugins-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;margin:0 2%;color:var(--%NS%text-primary)}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:2rem}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2.5em;text-align:center;font-weight:500}.plugins[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:center;gap:2rem;margin:auto;width:100%}.plugin[_ngcontent-%COMP%]{margin-top:1rem;padding:1.5rem;border-radius:20px;background-color:var(--%NS%glass-bg);backdrop-filter:var(--%NS%glass-backdrop-filter);-webkit-backdrop-filter:var(--%NS%glass-backdrop-filter);border:1px solid var(--%NS%glass-border);box-shadow:var(--%NS%glass-shadow);transition:all .4s cubic-bezier(.25,.8,.25,1);flex:1 1 300px;max-width:400px;display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;overflow:hidden}.plugin.legacy[_ngcontent-%COMP%]{background-color:#0000001a;border-style:dashed;filter:grayscale(.9);opacity:.7}.plugin.legacy[_ngcontent-%COMP%]:after{content:"LEGACY";position:absolute;top:0;right:0;background:#0003;color:#fff;font-size:.6rem;padding:4px 8px;border-radius:0 0 0 10px;font-weight:700;letter-spacing:1px}.plugin.legacy[_ngcontent-%COMP%]:hover{filter:grayscale(.5);opacity:.9}.plugin[_ngcontent-%COMP%]:hover{cursor:pointer;transform:translateY(-8px);box-shadow:0 12px 28px #00000026;background-color:var(--%NS%glass-hover-bg)}.image[_ngcontent-%COMP%]{width:80px;height:80px;margin-bottom:1.5rem;display:flex;align-items:center;justify-content:center}.image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;max-height:100%;object-fit:contain}.name[_ngcontent-%COMP%]{font-size:1.4em;margin-bottom:.75em;font-weight:600}.description[_ngcontent-%COMP%]{font-size:.95rem;line-height:1.4;opacity:.85}.info[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;opacity:.7;font-style:italic}.info[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding:0} .dark-theme .plugin.legacy{background-color:#ffffff0d} .dark-theme .plugin.legacy:after{background:#ffffff1a}'],changeDetection:1})}}return t})();function p3(t,n){if(t&1){let e=Be();b(0,"div",6),j("click",function(){let r=we(e).$implicit,o=N();return Se(o.api.download(r.url))}),b(1,"div",7),q(2,"img",8),v(),q(3,"div",9),vi(4,"safeHtml"),q(5,"div",10),vi(6,"safeHtml"),v()}if(t&2){let e=n.$implicit,i=N();Rt(i.css(e)),x(2),P("src",i.img(e.name)),x(),P("innerHTML",yi(4,5,e.name),gi),x(2),P("innerHTML",yi(6,7,e.description),gi)}}var DA=(()=>{class t{constructor(){this.api=u(ze),this.actors=[]}ngOnInit(){this.actors=[];let e=[];for(let i of this.api.actors)i.legacy?e.push(i):this.actors.push(i);for(let i of e)this.actors.push(i)}img(e){let i=(e.split(".").pop()||"").toLowerCase(),r="Linux";return i==="exe"?r="Windows":i==="pkg"&&(r="MacOS"),this.api.staticURL("modern/img/"+r+".png")}css(e){let i=["actor"];return e.legacy&&i.push("legacy"),i}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-downloads"]],standalone:!1,decls:14,vars:0,consts:[[1,"actors-container"],[1,"banner"],[1,"banner-text"],[1,"actors"],[3,"class"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"name",3,"innerHTML"],[1,"description",3,"innerHTML"]],template:function(i,r){i&1&&(b(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1")(4,"uds-translate"),S(5,"Downloads"),v()()()(),b(6,"div",3),Nt(7,p3,7,9,"div",4,Xt),v(),b(9,"div",5)(10,"ul")(11,"li")(12,"uds-translate"),S(13,"Always download the UDS actor matching your platform"),v()()()()()),i&2&&(x(7),At(r.actors))},dependencies:[yt,ta],styles:['.actors-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;margin:0 2%;color:var(--%NS%text-primary)}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:2rem}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2.5em;text-align:center;font-weight:500}.actors[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:center;gap:2rem;margin:auto;width:100%}.actor[_ngcontent-%COMP%]{margin-top:1rem;padding:1.5rem;border-radius:20px;background-color:var(--%NS%glass-bg);backdrop-filter:var(--%NS%glass-backdrop-filter);-webkit-backdrop-filter:var(--%NS%glass-backdrop-filter);border:1px solid var(--%NS%glass-border);box-shadow:var(--%NS%glass-shadow);transition:all .4s cubic-bezier(.25,.8,.25,1);flex:1 1 300px;max-width:400px;display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;overflow:hidden}.actor.legacy[_ngcontent-%COMP%]{background-color:#0000001a;border-style:dashed;filter:grayscale(.9);opacity:.7}.actor.legacy[_ngcontent-%COMP%]:after{content:"LEGACY";position:absolute;top:0;right:0;background:#0003;color:#fff;font-size:.6rem;padding:4px 8px;border-radius:0 0 0 10px;font-weight:700;letter-spacing:1px}.actor.legacy[_ngcontent-%COMP%]:hover{filter:grayscale(.5);opacity:.9}.actor[_ngcontent-%COMP%]:hover{cursor:pointer;transform:translateY(-8px);box-shadow:0 12px 28px #00000026;background-color:var(--%NS%glass-hover-bg)}.image[_ngcontent-%COMP%]{width:80px;height:80px;margin-bottom:1.5rem;display:flex;align-items:center;justify-content:center}.image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;max-height:100%;object-fit:contain}.name[_ngcontent-%COMP%]{font-size:1.4em;margin-bottom:.75em;font-weight:600}.description[_ngcontent-%COMP%]{font-size:.95rem;line-height:1.4;opacity:.85}.info[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;opacity:.7;font-style:italic}.info[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding:0} .dark-theme .actor.legacy{background-color:#ffffff0d} .dark-theme .actor.legacy:after{background:#ffffff1a}'],changeDetection:1})}}return t})();var h3=20;var g3=new C("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(ne);return()=>ro(t,{scrollThrottle:h3})}}),b3=new C("mat-tooltip-default-options",{providedIn:"root",factory:()=>({showDelay:0,hideDelay:0,touchendHideDelay:1500})});var MA="tooltip-panel",v3={passive:!0},y3=8,_3=8,x3=24,C3=200,yu=(()=>{class t{_elementRef=u($);_ngZone=u(O);_platform=u($e);_ariaDescriber=u(FT);_focusMonitor=u(Yn);_dir=u(Jt);_injector=u(ne);_viewContainerRef=u(Bt);_mediaMatcher=u(fl);_document=u(oe);_renderer=u(He);_animationsDisabled=dt();_defaultOptions=u(b3,{optional:!0});_overlayRef=null;_tooltipInstance=null;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=IA;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending=!1;_dirSubscribed=!1;get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=ao(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let i=ao(e);this._disabled!==i&&(this._disabled=i,i?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=qi(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=qi(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(e){let i=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(i)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_eventCleanups=[];_touchstartTimeout=null;_destroyed=new R;_isDestroyed=!1;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._viewportMargin=y3}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Ye(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._eventCleanups.forEach(i=>i()),this._eventCleanups.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let r=this._createOverlay(i);this._detach(),this._portal=this._portal||new Qo(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(Ye(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&a._origin instanceof $)return this._overlayRef;this._detach()}let i=this._injector.get(Ko).getAncestorScrollContainers(this._elementRef),r=`${this._cssClassPrefix}-${MA}`,o=Ka(this._injector,this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i).withPopoverLocation("global");return o.positionChanges.pipe(Ye(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=oo(this._injector,{direction:this._dir,positionStrategy:o,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,r]:r,scrollStrategy:this._injector.get(g3)(),disableAnimations:this._animationsDisabled,eventPredicate:this._overlayEventPredicate}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Ye(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Ye(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(Ye(this._destroyed)).subscribe(a=>{a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(Ye(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset(w(w({},r.main),o.main)),this._addOffset(w(w({},r.fallback),o.fallback))])}_addOffset(e){let i=_3,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-i:e.originY==="bottom"?e.offsetY=i:e.originX==="start"?e.offsetX=r?-i:i:e.originX==="end"&&(e.offsetX=r?i:-i),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"||i=="below"?r={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={originX:"start",originY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:o,y:a}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:a}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"?r={overlayX:"center",overlayY:"bottom"}:i=="below"?r={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:o,y:a}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),jt(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e instanceof Set?Array.from(e):e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){let{overlayY:i,originX:r,originY:o}=e,a;if(i==="center"?this._dir&&this._dir.value==="rtl"?a=r==="end"?"left":"right":a=r==="start"?"left":"right":a=i==="bottom"&&o==="top"?"above":"below",a!==this._currentPosition){let s=this._overlayRef;if(s){let l=`${this._cssClassPrefix}-${MA}-`;s.removePanelClass(l+this._currentPosition),s.addPanelClass(l+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._eventCleanups.length||(this._isTouchPlatform()?this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._addListener("touchstart",e=>{let i=e.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions?.touchLongPressShowDelay??o)})):this._addListener("mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let i;e.x!==void 0&&e.y!==void 0&&(i=e),this.show(void 0,i)}))}_setupPointerExitEventsIfNeeded(){if(!this._pointerExitEventsInitialized){if(this._pointerExitEventsInitialized=!0,!this._isTouchPlatform())this._addListener("mouseleave",e=>{let i=e.relatedTarget;(!i||!this._overlayRef?.overlayElement.contains(i))&&this.hide()}),this._addListener("wheel",e=>{if(this._isTooltipVisible()){let i=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}});else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let e=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};this._addListener("touchend",e),this._addListener("touchcancel",e)}}}_addListener(e,i){this._eventCleanups.push(this._renderer.listen(this._elementRef.nativeElement,e,i,v3))}_isTouchPlatform(){let e=this._defaultOptions?.detectHoverCapability;return typeof e=="function"?!e():this._platform.IOS||this._platform.ANDROID?!0:this._platform.isBrowser?!!e&&this._mediaMatcher.matchMedia("(any-hover: none)").matches:!1}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let i=this._elementRef.nativeElement,r=i.style;(e==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._isDestroyed||jt({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}_overlayEventPredicate=e=>e.type==="keydown"?this._isTooltipVisible()&&e.keyCode===27&&!Ht(e):!0;static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){i&2&&ie("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return t})(),IA=(()=>{class t{_changeDetectorRef=u(We);_elementRef=u($);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=dt();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new R;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>x3&&e.width>=C3}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(i);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=["tooltip"];return F({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(r,o){if(r&1&&it(e,7),r&2){let a;X(a=J())&&(o._tooltip=a.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(r,o){r&1&&j("mouseleave",function(s){return o._handleMouseLeave(s)})},decls:4,vars:5,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(r,o){r&1&&(zt(0,"div",1,0),il("animationend",function(s){return o._handleAnimationEnd(s)}),zt(2,"div",2),S(3),ln()()),r&2&&(Rt(o.tooltipClass),ie("mdc-tooltip--multiline",o._isMultiline),x(3),rt(o.message))},styles:[`.mat-mdc-tooltip { position: relative; transform: scale(0); display: inline-flex; @@ -2628,7 +2628,7 @@ div.mat-mdc-select-panel { .mat-mdc-tooltip-hide { animation: mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards; } -`],encapsulation:2})})()}return t})();var kA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({imports:[qd,Qi,Qe,eo]})}return t})();var w3=new C("MatTabContent"),S3=(()=>{class t{template=u(qt);static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","matTabContent",""]],features:[Xe([{provide:w3,useExisting:t}])]})}return t})(),E3=new C("MatTabLabel"),OA=new C("MAT_TAB"),A0=(()=>{class t extends Qk{_closestTab=u(OA,{optional:!0});static \u0275fac=(()=>{let e;return function(r){return(e||(e=Zt(t)))(r||t)}})();static \u0275dir=B({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Xe([{provide:E3,useExisting:t}]),Ge]})}return t})(),PA=new C("MAT_TAB_GROUP"),R0=(()=>{class t{_viewContainerRef=u(Bt);_closestTabGroup=u(PA,{optional:!0});disabled=!1;get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel="";ariaLabel;ariaLabelledby;labelClass;bodyClass;id=null;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new R;position=null;origin=null;isActive=!1;constructor(){u(Dt).load(Si)}ngOnChanges(e){(Object.hasOwn(e,"textLabel")||Object.hasOwn(e,"disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Wn(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=["*"];function i(r,o){r&1&&Ee(0)}return F({type:t,selectors:[["mat-tab"]],contentQueries:function(o,a,s){if(o&1&&mn(s,A0,5)(s,S3,7,qt),o&2){let l;X(l=J())&&(a.templateLabel=l.first),X(l=J())&&(a._explicitContent=l.first)}},viewQuery:function(o,a){if(o&1&&it(qt,7),o&2){let s;X(s=J())&&(a._implicitContent=s.first)}},hostAttrs:["hidden",""],hostVars:1,hostBindings:function(o,a){o&2&&ye("id",null)},inputs:{disabled:[2,"disabled","disabled",G],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass",id:"id"},exportAs:["matTab"],features:[Xe([{provide:OA,useExisting:t}]),nt],ngContentSelectors:e,decls:1,vars:0,template:function(o,a){o&1&&(ct(),tl(0,i,1,0,"ng-template"))},encapsulation:2,changeDetection:1})})()}return t})(),M0="mdc-tab-indicator--active",NA="mdc-tab-indicator--no-transition",k0=class{_items;_currentItem;constructor(n){this._items=n}hide(){this._items.forEach(n=>n.deactivateInkBar()),this._currentItem=void 0}alignToElement(n){let e=this._items.find(r=>r.elementRef.nativeElement===n),i=this._currentItem;if(e!==i&&(i?.deactivateInkBar(),e)){let r=i?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e}}},D3=(()=>{class t{_elementRef=u($);_inkBarElement=null;_inkBarContentElement=null;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let i=this._elementRef.nativeElement;if(!e||!i.getBoundingClientRect||!this._inkBarContentElement){i.classList.add(M0);return}let r=i.getBoundingClientRect(),o=e.width/r.width,a=e.left-r.left;i.classList.add(NA),this._inkBarContentElement.style.setProperty("transform",`translateX(${a}px) scaleX(${o})`),i.getBoundingClientRect(),i.classList.remove(NA),i.classList.add(M0),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(M0)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,i=this._inkBarElement=e.createElement("span"),r=this._inkBarContentElement=e.createElement("span");i.className="mdc-tab-indicator",r.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",i.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",G]}})}return t})();var FA=(()=>{class t extends D3{elementRef=u($);disabled=!1;focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Zt(t)))(r||t)}})();static \u0275dir=B({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(i,r){i&2&&(ye("aria-disabled",!!r.disabled),ie("mat-mdc-tab-disabled",r.disabled))},inputs:{disabled:[2,"disabled","disabled",G]},features:[Ge]})}return t})(),AA={passive:!0},M3=650,I3=100;function I0(t){let n=t+"";return/^[0-9]+(?:\.[0-9]+)?$/.test(n)?`${t}ms`:/^[0-9]+(?:\.[0-9]+)?(?:ms|s)$/.test(n)?n:""}var k3=(()=>{class t{_elementRef=u($);_changeDetectorRef=u(We);_viewportRuler=u(Ki);_dir=u(Jt,{optional:!0});_ngZone=u(O);_platform=u($e);_sharedResizeObserver=u(Ph);_injector=u(ne);_renderer=u(He);_animationsDisabled=dt();_eventCleanups;_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new R;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged=!1;_keyManager;_currentTextContent;_stopScrolling=new R;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let i=isNaN(e)?0:e;this._selectedIndex!=i&&(this._selectedIndexChanged=!0,this._selectedIndex=i,this._keyManager&&this._keyManager.updateActiveItem(i))}_selectedIndex=0;selectFocusedIndex=new H;indexFocused=new H;constructor(){this._eventCleanups=this._ngZone.runOutsideAngular(()=>[this._renderer.listen(this._elementRef.nativeElement,"mouseleave",()=>this._stopInterval())])}ngAfterViewInit(){this._eventCleanups.push(this._renderer.listen(this._previousPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("before"),AA),this._renderer.listen(this._nextPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("after"),AA))}ngAfterContentInit(){let e=this._dir?this._dir.change:pe("ltr"),i=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(Ai(32),Ye(this._destroyed)),r=this._viewportRuler.change(150).pipe(Ye(this._destroyed)),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new so(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(Math.max(this._selectedIndex,0)),jt(o,{injector:this._injector}),rn(e,r,i,this._items.changes,this._itemsResized()).pipe(Ye(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o()})}),this._keyManager?.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}_itemsResized(){return typeof ResizeObserver!="function"?xt:this._items.changes.pipe(vt(this._items),St(e=>new fe(i=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(o=>i.next(o));return e.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect()}}))),ya(1),Me(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}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._eventCleanups.forEach(e=>e()),this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Ht(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager?.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",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(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let i=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?i.scrollLeft=0:i.scrollLeft=i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,i=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){let i=this._tabListContainer.nativeElement.offsetWidth,r=(e=="before"?-1:1)*i/3;return this._scrollTo(this._scrollDistance+r)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let i=this._items?this._items.toArray()[e]:null;if(!i)return;let r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:a}=i.elementRef.nativeElement,s,l;this._getLayoutDirection()=="ltr"?(s=o,l=s+a):(l=this._tabListInner.nativeElement.offsetWidth-o,s=l-a);let c=this.scrollDistance,d=this.scrollDistance+r;sd&&(this.scrollDistance+=Math.min(l-d,s-c))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth,i=this._elementRef.nativeElement.offsetWidth,r=e-i>=5;r||(this.scrollDistance=0),r!==this._showPaginationControls&&(this._showPaginationControls=r,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,i=this._tabListContainer.nativeElement.offsetWidth;return e-i||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&i.button!=null&&i.button!==0||(this._stopInterval(),ba(M3,I3).pipe(Ye(rn(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:r,distance:o}=this._scrollHeader(e);(o===0||o>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,inputs:{disablePagination:[2,"disablePagination","disablePagination",G],selectedIndex:[2,"selectedIndex","selectedIndex",Gn]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}})}return t})(),T3=(()=>{class t extends k3{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new k0(this._items),super.ngAfterContentInit()}_itemSelected(e){e.preventDefault()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Zt(t)))(r||t)}})();static \u0275cmp=(function(){let e=["tabListContainer"],i=["tabList"],r=["tabListInner"],o=["nextPaginator"],a=["previousPaginator"];return F({type:t,selectors:[["mat-tab-header"]],contentQueries:function(c,d,m){if(c&1&&mn(m,FA,4),c&2){let p;X(p=J())&&(d._items=p)}},viewQuery:function(c,d){if(c&1&&it(e,7)(i,7)(r,7)(o,5)(a,5),c&2){let m;X(m=J())&&(d._tabListContainer=m.first),X(m=J())&&(d._tabList=m.first),X(m=J())&&(d._tabListInner=m.first),X(m=J())&&(d._nextPaginator=m.first),X(m=J())&&(d._previousPaginator=m.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(c,d){c&2&&ie("mat-mdc-tab-header-pagination-controls-enabled",d._showPaginationControls)("mat-mdc-tab-header-rtl",d._getLayoutDirection()=="rtl")},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",G]},features:[Ge],ngContentSelectors:["*"],decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(c,d){c&1&&(ct(),b(0,"div",5,0),j("click",function(){return d._handlePaginatorClick("before")})("mousedown",function(p){return d._handlePaginatorPress("before",p)})("touchend",function(){return d._stopInterval()}),Y(2,"div",6),v(),b(3,"div",7,1),j("keydown",function(p){return d._handleKeydown(p)}),b(5,"div",8,2),j("cdkObserveContent",function(){return d._onContentChanges()}),b(7,"div",9,3),Ee(9),v()()(),b(10,"div",10,4),j("mousedown",function(p){return d._handlePaginatorPress("after",p)})("click",function(){return d._handlePaginatorClick("after")})("touchend",function(){return d._stopInterval()}),Y(12,"div",6),v()),c&2&&(ie("mat-mdc-tab-header-pagination-disabled",d._disableScrollBefore),P("matRippleDisabled",d._disableScrollBefore||d.disableRipple),x(3),ie("_mat-animation-noopable",d._animationsDisabled),x(2),ye("aria-label",d.ariaLabel||null)("aria-labelledby",d.ariaLabelledby||null),x(5),ie("mat-mdc-tab-header-pagination-disabled",d._disableScrollAfter),P("matRippleDisabled",d._disableScrollAfter||d.disableRipple))},dependencies:[lo,CT],styles:[`.mat-mdc-tab-header { +`],encapsulation:2})})()}return t})();var kA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({imports:[qd,Qi,Qe,eo]})}return t})();var w3=new C("MatTabContent"),S3=(()=>{class t{template=u(qt);static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","matTabContent",""]],features:[Xe([{provide:w3,useExisting:t}])]})}return t})(),E3=new C("MatTabLabel"),OA=new C("MAT_TAB"),A0=(()=>{class t extends Qk{_closestTab=u(OA,{optional:!0});static \u0275fac=(()=>{let e;return function(r){return(e||(e=Zt(t)))(r||t)}})();static \u0275dir=B({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Xe([{provide:E3,useExisting:t}]),Ge]})}return t})(),PA=new C("MAT_TAB_GROUP"),R0=(()=>{class t{_viewContainerRef=u(Bt);_closestTabGroup=u(PA,{optional:!0});disabled=!1;get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel="";ariaLabel;ariaLabelledby;labelClass;bodyClass;id=null;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new R;position=null;origin=null;isActive=!1;constructor(){u(Dt).load(Si)}ngOnChanges(e){(Object.hasOwn(e,"textLabel")||Object.hasOwn(e,"disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new qn(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=["*"];function i(r,o){r&1&&Ee(0)}return F({type:t,selectors:[["mat-tab"]],contentQueries:function(o,a,s){if(o&1&&mn(s,A0,5)(s,S3,7,qt),o&2){let l;X(l=J())&&(a.templateLabel=l.first),X(l=J())&&(a._explicitContent=l.first)}},viewQuery:function(o,a){if(o&1&&it(qt,7),o&2){let s;X(s=J())&&(a._implicitContent=s.first)}},hostAttrs:["hidden",""],hostVars:1,hostBindings:function(o,a){o&2&&ye("id",null)},inputs:{disabled:[2,"disabled","disabled",G],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass",id:"id"},exportAs:["matTab"],features:[Xe([{provide:OA,useExisting:t}]),nt],ngContentSelectors:e,decls:1,vars:0,template:function(o,a){o&1&&(ct(),tl(0,i,1,0,"ng-template"))},encapsulation:2,changeDetection:1})})()}return t})(),M0="mdc-tab-indicator--active",NA="mdc-tab-indicator--no-transition",k0=class{_items;_currentItem;constructor(n){this._items=n}hide(){this._items.forEach(n=>n.deactivateInkBar()),this._currentItem=void 0}alignToElement(n){let e=this._items.find(r=>r.elementRef.nativeElement===n),i=this._currentItem;if(e!==i&&(i?.deactivateInkBar(),e)){let r=i?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e}}},D3=(()=>{class t{_elementRef=u($);_inkBarElement=null;_inkBarContentElement=null;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let i=this._elementRef.nativeElement;if(!e||!i.getBoundingClientRect||!this._inkBarContentElement){i.classList.add(M0);return}let r=i.getBoundingClientRect(),o=e.width/r.width,a=e.left-r.left;i.classList.add(NA),this._inkBarContentElement.style.setProperty("transform",`translateX(${a}px) scaleX(${o})`),i.getBoundingClientRect(),i.classList.remove(NA),i.classList.add(M0),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(M0)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,i=this._inkBarElement=e.createElement("span"),r=this._inkBarContentElement=e.createElement("span");i.className="mdc-tab-indicator",r.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",i.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",G]}})}return t})();var FA=(()=>{class t extends D3{elementRef=u($);disabled=!1;focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Zt(t)))(r||t)}})();static \u0275dir=B({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(i,r){i&2&&(ye("aria-disabled",!!r.disabled),ie("mat-mdc-tab-disabled",r.disabled))},inputs:{disabled:[2,"disabled","disabled",G]},features:[Ge]})}return t})(),AA={passive:!0},M3=650,I3=100;function I0(t){let n=t+"";return/^[0-9]+(?:\.[0-9]+)?$/.test(n)?`${t}ms`:/^[0-9]+(?:\.[0-9]+)?(?:ms|s)$/.test(n)?n:""}var k3=(()=>{class t{_elementRef=u($);_changeDetectorRef=u(We);_viewportRuler=u(Ki);_dir=u(Jt,{optional:!0});_ngZone=u(O);_platform=u($e);_sharedResizeObserver=u(Ph);_injector=u(ne);_renderer=u(He);_animationsDisabled=dt();_eventCleanups;_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new R;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged=!1;_keyManager;_currentTextContent;_stopScrolling=new R;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let i=isNaN(e)?0:e;this._selectedIndex!=i&&(this._selectedIndexChanged=!0,this._selectedIndex=i,this._keyManager&&this._keyManager.updateActiveItem(i))}_selectedIndex=0;selectFocusedIndex=new H;indexFocused=new H;constructor(){this._eventCleanups=this._ngZone.runOutsideAngular(()=>[this._renderer.listen(this._elementRef.nativeElement,"mouseleave",()=>this._stopInterval())])}ngAfterViewInit(){this._eventCleanups.push(this._renderer.listen(this._previousPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("before"),AA),this._renderer.listen(this._nextPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("after"),AA))}ngAfterContentInit(){let e=this._dir?this._dir.change:pe("ltr"),i=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(Ai(32),Ye(this._destroyed)),r=this._viewportRuler.change(150).pipe(Ye(this._destroyed)),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new so(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(Math.max(this._selectedIndex,0)),jt(o,{injector:this._injector}),rn(e,r,i,this._items.changes,this._itemsResized()).pipe(Ye(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o()})}),this._keyManager?.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}_itemsResized(){return typeof ResizeObserver!="function"?xt:this._items.changes.pipe(vt(this._items),St(e=>new fe(i=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(o=>i.next(o));return e.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect()}}))),_a(1),Me(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}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._eventCleanups.forEach(e=>e()),this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Ht(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager?.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",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(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let i=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?i.scrollLeft=0:i.scrollLeft=i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,i=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){let i=this._tabListContainer.nativeElement.offsetWidth,r=(e=="before"?-1:1)*i/3;return this._scrollTo(this._scrollDistance+r)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let i=this._items?this._items.toArray()[e]:null;if(!i)return;let r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:a}=i.elementRef.nativeElement,s,l;this._getLayoutDirection()=="ltr"?(s=o,l=s+a):(l=this._tabListInner.nativeElement.offsetWidth-o,s=l-a);let c=this.scrollDistance,d=this.scrollDistance+r;sd&&(this.scrollDistance+=Math.min(l-d,s-c))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth,i=this._elementRef.nativeElement.offsetWidth,r=e-i>=5;r||(this.scrollDistance=0),r!==this._showPaginationControls&&(this._showPaginationControls=r,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,i=this._tabListContainer.nativeElement.offsetWidth;return e-i||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&i.button!=null&&i.button!==0||(this._stopInterval(),va(M3,I3).pipe(Ye(rn(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:r,distance:o}=this._scrollHeader(e);(o===0||o>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,inputs:{disablePagination:[2,"disablePagination","disablePagination",G],selectedIndex:[2,"selectedIndex","selectedIndex",Wn]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}})}return t})(),T3=(()=>{class t extends k3{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new k0(this._items),super.ngAfterContentInit()}_itemSelected(e){e.preventDefault()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Zt(t)))(r||t)}})();static \u0275cmp=(function(){let e=["tabListContainer"],i=["tabList"],r=["tabListInner"],o=["nextPaginator"],a=["previousPaginator"];return F({type:t,selectors:[["mat-tab-header"]],contentQueries:function(c,d,m){if(c&1&&mn(m,FA,4),c&2){let p;X(p=J())&&(d._items=p)}},viewQuery:function(c,d){if(c&1&&it(e,7)(i,7)(r,7)(o,5)(a,5),c&2){let m;X(m=J())&&(d._tabListContainer=m.first),X(m=J())&&(d._tabList=m.first),X(m=J())&&(d._tabListInner=m.first),X(m=J())&&(d._nextPaginator=m.first),X(m=J())&&(d._previousPaginator=m.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(c,d){c&2&&ie("mat-mdc-tab-header-pagination-controls-enabled",d._showPaginationControls)("mat-mdc-tab-header-rtl",d._getLayoutDirection()=="rtl")},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",G]},features:[Ge],ngContentSelectors:["*"],decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(c,d){c&1&&(ct(),b(0,"div",5,0),j("click",function(){return d._handlePaginatorClick("before")})("mousedown",function(p){return d._handlePaginatorPress("before",p)})("touchend",function(){return d._stopInterval()}),q(2,"div",6),v(),b(3,"div",7,1),j("keydown",function(p){return d._handleKeydown(p)}),b(5,"div",8,2),j("cdkObserveContent",function(){return d._onContentChanges()}),b(7,"div",9,3),Ee(9),v()()(),b(10,"div",10,4),j("mousedown",function(p){return d._handlePaginatorPress("after",p)})("click",function(){return d._handlePaginatorClick("after")})("touchend",function(){return d._stopInterval()}),q(12,"div",6),v()),c&2&&(ie("mat-mdc-tab-header-pagination-disabled",d._disableScrollBefore),P("matRippleDisabled",d._disableScrollBefore||d.disableRipple),x(3),ie("_mat-animation-noopable",d._animationsDisabled),x(2),ye("aria-label",d.ariaLabel||null)("aria-labelledby",d.ariaLabelledby||null),x(5),ie("mat-mdc-tab-header-pagination-disabled",d._disableScrollAfter),P("matRippleDisabled",d._disableScrollAfter||d.disableRipple))},dependencies:[lo,CT],styles:[`.mat-mdc-tab-header { display: flex; overflow: hidden; position: relative; @@ -2799,7 +2799,7 @@ div.mat-mdc-select-panel { .mat-tab-body-content-right { transform: translate3d(100%, 0, 0); } -`],encapsulation:2,changeDetection:1})})()}return t})(),LA=(()=>{class t{_elementRef=u($);_changeDetectorRef=u(We);_ngZone=u(O);_tabsSubscription=xe.EMPTY;_tabLabelSubscription=xe.EMPTY;_tabBodySubscription=xe.EMPTY;_diAnimationsDisabled=dt();_bodyAnimationDuration;_headerAnimationDuration;_allTabs;_tabBodies;_tabBodyWrapper;_tabHeader;_tabs=new ni;_indexToSelect=0;_lastFocusedTabIndex=null;_tabBodyWrapperHeight=0;color;get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=e,this._changeDetectorRef.markForCheck()}_fitInkBarToContent=!1;stretchTabs=!0;alignTabs=null;dynamicHeight=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=isNaN(e)?null:e}_selectedIndex=null;headerPosition="above";get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=e,e&&typeof e=="object"?(this._bodyAnimationDuration=I0(e.body),this._headerAnimationDuration=I0(e.header)):this._headerAnimationDuration=this._bodyAnimationDuration=I0(e)}_animationDuration;get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=isNaN(e)?null:e}_contentTabIndex=null;disablePagination=!1;disableRipple=!1;preserveContent=!1;get backgroundColor(){return this._backgroundColor}set backgroundColor(e){let i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}_backgroundColor;ariaLabel;ariaLabelledby;selectedIndexChange=new H;focusChange=new H;animationDone=new H;selectedTabChange=new H(!0);_groupId;_isServer=!u($e).isBrowser;constructor(){let e=u(N3,{optional:!0});this._groupId=u(st).getId("mat-tab-group-"),this.animationDuration=e&&e.animationDuration?e.animationDuration:"500ms",this.disablePagination=e&&e.disablePagination!=null?e.disablePagination:!1,this.dynamicHeight=e&&e.dynamicHeight!=null?e.dynamicHeight:!1,e?.contentTabIndex!=null&&(this.contentTabIndex=e.contentTabIndex),this.preserveContent=!!e?.preserveContent,this.fitInkBarToContent=e&&e.fitInkBarToContent!=null?e.fitInkBarToContent:!1,this.stretchTabs=e&&e.stretchTabs!=null?e.stretchTabs:!0,this.alignTabs=e&&e.alignTabs!=null?e.alignTabs:null}ngAfterContentChecked(){let e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){let i=this._selectedIndex==null;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));let r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,o)=>r.isActive=o===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,r)=>{i.position=r-e,this._selectedIndex!=null&&i.position==0&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){let i=this._tabs.toArray(),r;for(let o=0;o{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}ngAfterViewInit(){this._tabBodySubscription=this._tabBodies.changes.subscribe(()=>this._bodyCentered(!0))}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(vt(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe(),this._tabBodySubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){let i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){let i=new N0;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=rn(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e,i){return e.id||`${this._groupId}-label-${i}`}_getTabContentId(e){return`${this._groupId}-content-${e}`}_setTabBodyWrapperHeight(e){if(!this.dynamicHeight||!this._tabBodyWrapperHeight){this._tabBodyWrapperHeight=e;return}let i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){let e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this._ngZone.run(()=>this.animationDone.emit())}_handleClick(e,i,r){i.focusIndex=r,e.disabled||(this.selectedIndex=r)}_getTabIndex(e){let i=this._lastFocusedTabIndex??this.selectedIndex;return e===i?0:-1}_tabFocusChanged(e,i){e&&e!=="mouse"&&e!=="touch"&&(this._tabHeader.focusIndex=i)}_bodyCentered(e){e&&this._tabBodies?.forEach((i,r)=>i._setActiveClass(r===this._selectedIndex))}_bodyAnimationsDisabled(){return this._diAnimationsDisabled||this._bodyAnimationDuration==="0"||this._bodyAnimationDuration==="0ms"}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=["tabBodyWrapper"],i=["tabHeader"],r=["*"];function o(m,p){}function a(m,p){if(m&1&&sn(0,o,0,0,"ng-template",12),m&2){let f=N().$implicit;P("cdkPortalOutlet",f.templateLabel)}}function s(m,p){if(m&1&&S(0),m&2){let f=N().$implicit;rt(f.textLabel)}}function l(m,p){if(m&1){let f=Be();b(0,"div",7,2),j("click",function(){let _=we(f),E=_.$implicit,L=_.$index,A=N(),ee=Et(1);return Se(A._handleClick(E,ee,L))})("cdkFocusChange",function(_){let E=we(f).$index,L=N();return Se(L._tabFocusChanged(_,E))}),Y(2,"span",8)(3,"div",9),b(4,"span",10)(5,"span",11),Q(6,a,1,1,null,12)(7,s,1,1),v()()()}if(m&2){let f=p.$implicit,g=p.$index,_=Et(1),E=N();Rt(f.labelClass),ie("mdc-tab--active",E.selectedIndex===g),P("id",E._getTabLabelId(f,g))("disabled",f.disabled)("fitInkBarToContent",E.fitInkBarToContent),ye("tabIndex",E._getTabIndex(g))("aria-posinset",g+1)("aria-setsize",E._tabs.length)("aria-controls",E._getTabContentId(g))("aria-selected",E.selectedIndex===g)("aria-label",f.ariaLabel||null)("aria-labelledby",!f.ariaLabel&&f.ariaLabelledby?f.ariaLabelledby:null),x(3),P("matRippleTrigger",_)("matRippleDisabled",f.disabled||E.disableRipple),x(3),Z(f.templateLabel?6:7)}}function c(m,p){m&1&&Ee(0)}function d(m,p){if(m&1){let f=Be();b(0,"mat-tab-body",13),j("_onCentered",function(){we(f);let _=N();return Se(_._removeTabBodyWrapperHeight())})("_onCentering",function(_){we(f);let E=N();return Se(E._setTabBodyWrapperHeight(_))})("_beforeCentering",function(_){we(f);let E=N();return Se(E._bodyCentered(_))}),v()}if(m&2){let f=p.$implicit,g=p.$index,_=N();Rt(f.bodyClass),P("id",_._getTabContentId(g))("content",f.content)("position",f.position)("animationDuration",_._bodyAnimationDuration)("preserveContent",_.preserveContent),ye("tabindex",_.contentTabIndex!=null&&_.selectedIndex===g?_.contentTabIndex:null)("aria-labelledby",_._getTabLabelId(f,g))("aria-hidden",_.selectedIndex!==g)}}return F({type:t,selectors:[["mat-tab-group"]],contentQueries:function(p,f,g){if(p&1&&mn(g,R0,5),p&2){let _;X(_=J())&&(f._allTabs=_)}},viewQuery:function(p,f){if(p&1&&it(e,5)(i,5)(T0,5),p&2){let g;X(g=J())&&(f._tabBodyWrapper=g.first),X(g=J())&&(f._tabHeader=g.first),X(g=J())&&(f._tabBodies=g)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:13,hostBindings:function(p,f){p&2&&(ye("mat-align-tabs",f.alignTabs),Rt("mat-"+(f.color||"primary")),Qr("--%NS%mat-tab-body-animation-duration",f._bodyAnimationDuration)("--%NS%mat-tab-header-animation-duration",f._headerAnimationDuration),ie("mat-mdc-tab-group-dynamic-height",f.dynamicHeight)("mat-mdc-tab-group-inverted-header",f.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",f.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",G],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",G],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",G],selectedIndex:[2,"selectedIndex","selectedIndex",Gn],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",Gn],disablePagination:[2,"disablePagination","disablePagination",G],disableRipple:[2,"disableRipple","disableRipple",G],preserveContent:[2,"preserveContent","preserveContent",G],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[Xe([{provide:PA,useExisting:t}])],ngContentSelectors:r,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","class","content","position","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","_beforeCentering","id","content","position","animationDuration","preserveContent"]],template:function(p,f){p&1&&(ct(),b(0,"mat-tab-header",3,0),j("indexFocused",function(_){return f._focusChanged(_)})("selectFocusedIndex",function(_){return f.selectedIndex=_}),Nt(2,l,8,17,"div",4,Xt),v(),Q(4,c,1,0),b(5,"div",5,1),Nt(7,d,1,10,"mat-tab-body",6,Xt),v()),p&2&&(P("selectedIndex",f.selectedIndex||0)("disableRipple",f.disableRipple)("disablePagination",f.disablePagination),Vf("aria-label",f.ariaLabel)("aria-labelledby",f.ariaLabelledby),x(2),At(f._tabs),x(2),Z(f._isServer?4:-1),x(),ie("_mat-animation-noopable",f._bodyAnimationsDisabled()),x(2),At(f._tabs))},dependencies:[T3,FA,kx,lo,Er,T0],styles:[`.mdc-tab { +`],encapsulation:2,changeDetection:1})})()}return t})(),LA=(()=>{class t{_elementRef=u($);_changeDetectorRef=u(We);_ngZone=u(O);_tabsSubscription=xe.EMPTY;_tabLabelSubscription=xe.EMPTY;_tabBodySubscription=xe.EMPTY;_diAnimationsDisabled=dt();_bodyAnimationDuration;_headerAnimationDuration;_allTabs;_tabBodies;_tabBodyWrapper;_tabHeader;_tabs=new ii;_indexToSelect=0;_lastFocusedTabIndex=null;_tabBodyWrapperHeight=0;color;get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=e,this._changeDetectorRef.markForCheck()}_fitInkBarToContent=!1;stretchTabs=!0;alignTabs=null;dynamicHeight=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=isNaN(e)?null:e}_selectedIndex=null;headerPosition="above";get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=e,e&&typeof e=="object"?(this._bodyAnimationDuration=I0(e.body),this._headerAnimationDuration=I0(e.header)):this._headerAnimationDuration=this._bodyAnimationDuration=I0(e)}_animationDuration;get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=isNaN(e)?null:e}_contentTabIndex=null;disablePagination=!1;disableRipple=!1;preserveContent=!1;get backgroundColor(){return this._backgroundColor}set backgroundColor(e){let i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}_backgroundColor;ariaLabel;ariaLabelledby;selectedIndexChange=new H;focusChange=new H;animationDone=new H;selectedTabChange=new H(!0);_groupId;_isServer=!u($e).isBrowser;constructor(){let e=u(N3,{optional:!0});this._groupId=u(st).getId("mat-tab-group-"),this.animationDuration=e&&e.animationDuration?e.animationDuration:"500ms",this.disablePagination=e&&e.disablePagination!=null?e.disablePagination:!1,this.dynamicHeight=e&&e.dynamicHeight!=null?e.dynamicHeight:!1,e?.contentTabIndex!=null&&(this.contentTabIndex=e.contentTabIndex),this.preserveContent=!!e?.preserveContent,this.fitInkBarToContent=e&&e.fitInkBarToContent!=null?e.fitInkBarToContent:!1,this.stretchTabs=e&&e.stretchTabs!=null?e.stretchTabs:!0,this.alignTabs=e&&e.alignTabs!=null?e.alignTabs:null}ngAfterContentChecked(){let e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){let i=this._selectedIndex==null;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));let r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,o)=>r.isActive=o===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,r)=>{i.position=r-e,this._selectedIndex!=null&&i.position==0&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){let i=this._tabs.toArray(),r;for(let o=0;o{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}ngAfterViewInit(){this._tabBodySubscription=this._tabBodies.changes.subscribe(()=>this._bodyCentered(!0))}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(vt(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe(),this._tabBodySubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){let i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){let i=new N0;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=rn(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e,i){return e.id||`${this._groupId}-label-${i}`}_getTabContentId(e){return`${this._groupId}-content-${e}`}_setTabBodyWrapperHeight(e){if(!this.dynamicHeight||!this._tabBodyWrapperHeight){this._tabBodyWrapperHeight=e;return}let i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){let e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this._ngZone.run(()=>this.animationDone.emit())}_handleClick(e,i,r){i.focusIndex=r,e.disabled||(this.selectedIndex=r)}_getTabIndex(e){let i=this._lastFocusedTabIndex??this.selectedIndex;return e===i?0:-1}_tabFocusChanged(e,i){e&&e!=="mouse"&&e!=="touch"&&(this._tabHeader.focusIndex=i)}_bodyCentered(e){e&&this._tabBodies?.forEach((i,r)=>i._setActiveClass(r===this._selectedIndex))}_bodyAnimationsDisabled(){return this._diAnimationsDisabled||this._bodyAnimationDuration==="0"||this._bodyAnimationDuration==="0ms"}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=["tabBodyWrapper"],i=["tabHeader"],r=["*"];function o(m,p){}function a(m,p){if(m&1&&sn(0,o,0,0,"ng-template",12),m&2){let f=N().$implicit;P("cdkPortalOutlet",f.templateLabel)}}function s(m,p){if(m&1&&S(0),m&2){let f=N().$implicit;rt(f.textLabel)}}function l(m,p){if(m&1){let f=Be();b(0,"div",7,2),j("click",function(){let _=we(f),E=_.$implicit,L=_.$index,A=N(),ee=Et(1);return Se(A._handleClick(E,ee,L))})("cdkFocusChange",function(_){let E=we(f).$index,L=N();return Se(L._tabFocusChanged(_,E))}),q(2,"span",8)(3,"div",9),b(4,"span",10)(5,"span",11),Q(6,a,1,1,null,12)(7,s,1,1),v()()()}if(m&2){let f=p.$implicit,g=p.$index,_=Et(1),E=N();Rt(f.labelClass),ie("mdc-tab--active",E.selectedIndex===g),P("id",E._getTabLabelId(f,g))("disabled",f.disabled)("fitInkBarToContent",E.fitInkBarToContent),ye("tabIndex",E._getTabIndex(g))("aria-posinset",g+1)("aria-setsize",E._tabs.length)("aria-controls",E._getTabContentId(g))("aria-selected",E.selectedIndex===g)("aria-label",f.ariaLabel||null)("aria-labelledby",!f.ariaLabel&&f.ariaLabelledby?f.ariaLabelledby:null),x(3),P("matRippleTrigger",_)("matRippleDisabled",f.disabled||E.disableRipple),x(3),Z(f.templateLabel?6:7)}}function c(m,p){m&1&&Ee(0)}function d(m,p){if(m&1){let f=Be();b(0,"mat-tab-body",13),j("_onCentered",function(){we(f);let _=N();return Se(_._removeTabBodyWrapperHeight())})("_onCentering",function(_){we(f);let E=N();return Se(E._setTabBodyWrapperHeight(_))})("_beforeCentering",function(_){we(f);let E=N();return Se(E._bodyCentered(_))}),v()}if(m&2){let f=p.$implicit,g=p.$index,_=N();Rt(f.bodyClass),P("id",_._getTabContentId(g))("content",f.content)("position",f.position)("animationDuration",_._bodyAnimationDuration)("preserveContent",_.preserveContent),ye("tabindex",_.contentTabIndex!=null&&_.selectedIndex===g?_.contentTabIndex:null)("aria-labelledby",_._getTabLabelId(f,g))("aria-hidden",_.selectedIndex!==g)}}return F({type:t,selectors:[["mat-tab-group"]],contentQueries:function(p,f,g){if(p&1&&mn(g,R0,5),p&2){let _;X(_=J())&&(f._allTabs=_)}},viewQuery:function(p,f){if(p&1&&it(e,5)(i,5)(T0,5),p&2){let g;X(g=J())&&(f._tabBodyWrapper=g.first),X(g=J())&&(f._tabHeader=g.first),X(g=J())&&(f._tabBodies=g)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:13,hostBindings:function(p,f){p&2&&(ye("mat-align-tabs",f.alignTabs),Rt("mat-"+(f.color||"primary")),Qr("--%NS%mat-tab-body-animation-duration",f._bodyAnimationDuration)("--%NS%mat-tab-header-animation-duration",f._headerAnimationDuration),ie("mat-mdc-tab-group-dynamic-height",f.dynamicHeight)("mat-mdc-tab-group-inverted-header",f.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",f.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",G],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",G],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",G],selectedIndex:[2,"selectedIndex","selectedIndex",Wn],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",Wn],disablePagination:[2,"disablePagination","disablePagination",G],disableRipple:[2,"disableRipple","disableRipple",G],preserveContent:[2,"preserveContent","preserveContent",G],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[Xe([{provide:PA,useExisting:t}])],ngContentSelectors:r,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","class","content","position","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","_beforeCentering","id","content","position","animationDuration","preserveContent"]],template:function(p,f){p&1&&(ct(),b(0,"mat-tab-header",3,0),j("indexFocused",function(_){return f._focusChanged(_)})("selectFocusedIndex",function(_){return f.selectedIndex=_}),Nt(2,l,8,17,"div",4,Xt),v(),Q(4,c,1,0),b(5,"div",5,1),Nt(7,d,1,10,"mat-tab-body",6,Xt),v()),p&2&&(P("selectedIndex",f.selectedIndex||0)("disableRipple",f.disableRipple)("disablePagination",f.disablePagination),Vf("aria-label",f.ariaLabel)("aria-labelledby",f.ariaLabelledby),x(2),At(f._tabs),x(2),Z(f._isServer?4:-1),x(),ie("_mat-animation-noopable",f._bodyAnimationsDisabled()),x(2),At(f._tabs))},dependencies:[T3,FA,kx,lo,Er,T0],styles:[`.mdc-tab { min-width: 90px; padding: 0 24px; display: flex; @@ -3020,7 +3020,7 @@ div.mat-mdc-select-panel { transition: none !important; animation: none !important; } -`],encapsulation:2,changeDetection:1})})()}return t})(),N0=class{index;tab};var VA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({imports:[Qe]})}return t})();var P0=new C("MAT_MENU_PANEL"),ns=(()=>{class t{_isAnchor;_elementRef=u($);_document=u(oe);_focusMonitor=u(qn);_parentMenu=u(P0,{optional:!0});_changeDetectorRef=u(We);role="menuitem";disabled=!1;disabledInteractive=!1;disableRipple=!1;_hovered=new R;_focused=new R;_highlighted=!1;_triggersSubmenu=!1;constructor(){u(Dt).load(Si),this._parentMenu?.addItem?.(this),this._isAnchor=this._elementRef.nativeElement.tagName==="A"}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled&&!this.disabledInteractive?"-1":"0"}_getAriaDisabled(){return this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null}_getDisabled(){return this.disabledInteractive||!this.disabled?null:!0}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons, .material-symbols-outlined, .material-symbols-rounded, .material-symbols-sharp");for(let r=0;r({overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"})}),O0="_mat-menu-enter",qh="_mat-menu-exit",ra=(()=>{class t{_elementRef=u($);_changeDetectorRef=u(We);_injector=u(ne);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_exitFallbackTimeout;_animationsDisabled=dt();_allItems;_directDescendantItems=new ni;_classList={};_panelAnimationState="void";_animationDone=new R;_isAnimating=he(!1);parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger=!1;hasBackdrop;get panelClass(){return this._previousPanelClass}set panelClass(e){let i=this._previousPanelClass,r=w({},this._classList);i&&i.length&&i.split(" ").forEach(o=>{r[o]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(o=>{r[o]=!0}),this._elementRef.nativeElement.className=""),this._classList=r}_previousPanelClass="";get classList(){return this.panelClass}set classList(e){this.panelClass=e}closed=new H;close=this.closed;panelId=u(st).getId("mat-menu-panel-");constructor(){let e=u(O3);this.overlayPanelClass=e.overlayPanelClass||"",this._xPosition=e.xPosition,this._yPosition=e.yPosition,this.backdropClass=e.backdropClass,this.overlapTrigger=e.overlapTrigger,this.hasBackdrop=e.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new so(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd().skipPredicate(e=>e.disabled&&!e.disabledInteractive),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(vt(this._directDescendantItems),St(e=>rn(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{let i=this._keyManager;if(this._panelAnimationState==="enter"&&i.activeItem?._hasFocus()){let r=e.toArray(),o=Math.max(0,Math.min(r.length-1,i.activeItemIndex||0));r[o]&&!r[o].disabled?i.setActiveItem(o):i.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy(),clearTimeout(this._exitFallbackTimeout)}_hovered(){return this._directDescendantItems.changes.pipe(vt(this._directDescendantItems),St(i=>rn(...i.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){let i=e.keyCode,r=this._keyManager;switch(i){case 27:Ht(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(i===38||i===40)&&r.setFocusOrigin("keyboard"),r.onKeydown(e);return}}focusFirstItem(e="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=jt(()=>{let i=this._resolvePanel();if(!i||!i.contains(document.activeElement)){let r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&i&&i.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){}setPositionClasses(e=this.xPosition,i=this.yPosition){this._classList=de(w({},this._classList),{"mat-menu-before":e==="before","mat-menu-after":e==="after","mat-menu-above":i==="above","mat-menu-below":i==="below"}),this._changeDetectorRef.markForCheck()}_onAnimationDone(e){let i=e===qh;(i||e===O0)&&(i&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(i?"void":"enter"),this._isAnimating.set(!1))}_onAnimationStart(e){(e===O0||e===qh)&&this._isAnimating.set(!0)}_setIsOpen(e){if(this._panelAnimationState=e?"enter":"void",e){if(this._keyManager.activeItemIndex===0){let i=this._resolvePanel();i&&(i.scrollTop=0)}}else this._animationsDisabled||(this._exitFallbackTimeout=setTimeout(()=>this._onAnimationDone(qh),200));this._animationsDisabled&&setTimeout(()=>{this._onAnimationDone(e?O0:qh)}),this._changeDetectorRef.markForCheck()}_updateDirectDescendants(){this._allItems.changes.pipe(vt(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}_resolvePanel(){let e=null;return this._directDescendantItems.length&&(e=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),e}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=["*"];function i(r,o){if(r&1){let a=Be();zt(0,"div",0),il("click",function(){we(a);let l=N();return Se(l.closed.emit("click"))})("animationstart",function(l){we(a);let c=N();return Se(c._onAnimationStart(l.animationName))})("animationend",function(l){we(a);let c=N();return Se(c._onAnimationDone(l.animationName))})("animationcancel",function(l){we(a);let c=N();return Se(c._onAnimationDone(l.animationName))}),zt(1,"div",1),Ee(2),ln()()}if(r&2){let a=N();Rt(a._classList),ie("mat-menu-panel-animations-disabled",a._animationsDisabled)("mat-menu-panel-exit-animation",a._panelAnimationState==="void")("mat-menu-panel-animating",a._isAnimating()),On("id",a.panelId),ye("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null)("aria-describedby",a.ariaDescribedby||null)}}return F({type:t,selectors:[["mat-menu"]],contentQueries:function(o,a,s){if(o&1&&mn(s,R3,5)(s,ns,5)(s,ns,4),o&2){let l;X(l=J())&&(a.lazyContent=l.first),X(l=J())&&(a._allItems=l),X(l=J())&&(a.items=l)}},viewQuery:function(o,a){if(o&1&&it(qt,5),o&2){let s;X(s=J())&&(a.templateRef=s.first)}},hostVars:3,hostBindings:function(o,a){o&2&&ye("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",G],hasBackdrop:[2,"hasBackdrop","hasBackdrop",r=>r==null?null:G(r)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[Xe([{provide:P0,useExisting:t}])],ngContentSelectors:e,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","animationstart","animationend","animationcancel","id"],[1,"mat-mdc-menu-content"]],template:function(o,a){o&1&&(ct(),tl(0,i,3,12,"ng-template"))},styles:[`mat-menu { +`],encapsulation:2,changeDetection:1})})()}return t})(),N0=class{index;tab};var VA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({imports:[Qe]})}return t})();var P0=new C("MAT_MENU_PANEL"),is=(()=>{class t{_isAnchor;_elementRef=u($);_document=u(oe);_focusMonitor=u(Yn);_parentMenu=u(P0,{optional:!0});_changeDetectorRef=u(We);role="menuitem";disabled=!1;disabledInteractive=!1;disableRipple=!1;_hovered=new R;_focused=new R;_highlighted=!1;_triggersSubmenu=!1;constructor(){u(Dt).load(Si),this._parentMenu?.addItem?.(this),this._isAnchor=this._elementRef.nativeElement.tagName==="A"}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled&&!this.disabledInteractive?"-1":"0"}_getAriaDisabled(){return this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null}_getDisabled(){return this.disabledInteractive||!this.disabled?null:!0}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons, .material-symbols-outlined, .material-symbols-rounded, .material-symbols-sharp");for(let r=0;r({overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"})}),O0="_mat-menu-enter",qh="_mat-menu-exit",oa=(()=>{class t{_elementRef=u($);_changeDetectorRef=u(We);_injector=u(ne);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_exitFallbackTimeout;_animationsDisabled=dt();_allItems;_directDescendantItems=new ii;_classList={};_panelAnimationState="void";_animationDone=new R;_isAnimating=he(!1);parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger=!1;hasBackdrop;get panelClass(){return this._previousPanelClass}set panelClass(e){let i=this._previousPanelClass,r=w({},this._classList);i&&i.length&&i.split(" ").forEach(o=>{r[o]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(o=>{r[o]=!0}),this._elementRef.nativeElement.className=""),this._classList=r}_previousPanelClass="";get classList(){return this.panelClass}set classList(e){this.panelClass=e}closed=new H;close=this.closed;panelId=u(st).getId("mat-menu-panel-");constructor(){let e=u(O3);this.overlayPanelClass=e.overlayPanelClass||"",this._xPosition=e.xPosition,this._yPosition=e.yPosition,this.backdropClass=e.backdropClass,this.overlapTrigger=e.overlapTrigger,this.hasBackdrop=e.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new so(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd().skipPredicate(e=>e.disabled&&!e.disabledInteractive),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(vt(this._directDescendantItems),St(e=>rn(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{let i=this._keyManager;if(this._panelAnimationState==="enter"&&i.activeItem?._hasFocus()){let r=e.toArray(),o=Math.max(0,Math.min(r.length-1,i.activeItemIndex||0));r[o]&&!r[o].disabled?i.setActiveItem(o):i.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy(),clearTimeout(this._exitFallbackTimeout)}_hovered(){return this._directDescendantItems.changes.pipe(vt(this._directDescendantItems),St(i=>rn(...i.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){let i=e.keyCode,r=this._keyManager;switch(i){case 27:Ht(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(i===38||i===40)&&r.setFocusOrigin("keyboard"),r.onKeydown(e);return}}focusFirstItem(e="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=jt(()=>{let i=this._resolvePanel();if(!i||!i.contains(document.activeElement)){let r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&i&&i.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){}setPositionClasses(e=this.xPosition,i=this.yPosition){this._classList=de(w({},this._classList),{"mat-menu-before":e==="before","mat-menu-after":e==="after","mat-menu-above":i==="above","mat-menu-below":i==="below"}),this._changeDetectorRef.markForCheck()}_onAnimationDone(e){let i=e===qh;(i||e===O0)&&(i&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(i?"void":"enter"),this._isAnimating.set(!1))}_onAnimationStart(e){(e===O0||e===qh)&&this._isAnimating.set(!0)}_setIsOpen(e){if(this._panelAnimationState=e?"enter":"void",e){if(this._keyManager.activeItemIndex===0){let i=this._resolvePanel();i&&(i.scrollTop=0)}}else this._animationsDisabled||(this._exitFallbackTimeout=setTimeout(()=>this._onAnimationDone(qh),200));this._animationsDisabled&&setTimeout(()=>{this._onAnimationDone(e?O0:qh)}),this._changeDetectorRef.markForCheck()}_updateDirectDescendants(){this._allItems.changes.pipe(vt(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}_resolvePanel(){let e=null;return this._directDescendantItems.length&&(e=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),e}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=["*"];function i(r,o){if(r&1){let a=Be();zt(0,"div",0),il("click",function(){we(a);let l=N();return Se(l.closed.emit("click"))})("animationstart",function(l){we(a);let c=N();return Se(c._onAnimationStart(l.animationName))})("animationend",function(l){we(a);let c=N();return Se(c._onAnimationDone(l.animationName))})("animationcancel",function(l){we(a);let c=N();return Se(c._onAnimationDone(l.animationName))}),zt(1,"div",1),Ee(2),ln()()}if(r&2){let a=N();Rt(a._classList),ie("mat-menu-panel-animations-disabled",a._animationsDisabled)("mat-menu-panel-exit-animation",a._panelAnimationState==="void")("mat-menu-panel-animating",a._isAnimating()),On("id",a.panelId),ye("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null)("aria-describedby",a.ariaDescribedby||null)}}return F({type:t,selectors:[["mat-menu"]],contentQueries:function(o,a,s){if(o&1&&mn(s,R3,5)(s,is,5)(s,is,4),o&2){let l;X(l=J())&&(a.lazyContent=l.first),X(l=J())&&(a._allItems=l),X(l=J())&&(a.items=l)}},viewQuery:function(o,a){if(o&1&&it(qt,5),o&2){let s;X(s=J())&&(a.templateRef=s.first)}},hostVars:3,hostBindings:function(o,a){o&2&&ye("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",G],hasBackdrop:[2,"hasBackdrop","hasBackdrop",r=>r==null?null:G(r)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[Xe([{provide:P0,useExisting:t}])],ngContentSelectors:e,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","animationstart","animationend","animationcancel","id"],[1,"mat-mdc-menu-content"]],template:function(o,a){o&1&&(ct(),tl(0,i,3,12,"ng-template"))},styles:[`mat-menu { display: none; } @@ -3212,7 +3212,7 @@ div.mat-mdc-select-panel { position: absolute; pointer-events: none; } -`],encapsulation:2})})()}return t})(),P3=new C("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(ne);return()=>ro(t)}});var Zl=new WeakMap,F3=(()=>{class t{_canHaveBackdrop;_element=u($);_viewContainerRef=u(Bt);_menuItemInstance=u(ns,{optional:!0,self:!0});_dir=u(Jt,{optional:!0});_focusMonitor=u(qn);_ngZone=u(O);_injector=u(ne);_scrollStrategy=u(P3);_changeDetectorRef=u(We);_animationsDisabled=dt();_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=xe.EMPTY;_menuCloseSubscription=xe.EMPTY;_pendingRemoval;_parentMaterialMenu;_parentInnerPadding;_openedBy=void 0;get _menu(){return this._menuInternal}set _menu(e){e!==this._menuInternal&&(this._menuInternal=e,this._menuCloseSubscription.unsubscribe(),e?(this._parentMaterialMenu,this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),(i==="click"||i==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})):this._destroyMenu(),this._menuItemInstance?._setTriggersSubmenu(this._triggersSubmenu()))}_menuInternal=null;constructor(e){this._canHaveBackdrop=e;let i=u(P0,{optional:!0});this._parentMaterialMenu=i instanceof ra?i:void 0}ngOnDestroy(){this._menu&&this._ownsMenu(this._menu)&&Zl.delete(this._menu),this._pendingRemoval?.unsubscribe(),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this._menu)}_closeMenu(){this._menu?.close.emit()}_openMenu(e){if(this._triggerIsAriaDisabled())return;let i=this._menu;if(this._menuOpen||!i)return;this._pendingRemoval?.unsubscribe();let r=Zl.get(i);Zl.set(i,this),r&&r!==this&&r._closeMenu();let o=this._createOverlay(i),a=o.getConfig(),s=a.positionStrategy;this._setPosition(i,s),this._canHaveBackdrop?a.hasBackdrop=i.hasBackdrop==null?!this._triggersSubmenu():i.hasBackdrop:a.hasBackdrop=i.hasBackdrop??!1,o.hasAttached()||(o.attach(this._getPortal(i)),i.lazyContent?.attach(this.menuData)),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this._closeMenu()),i.parentMenu=this._triggersSubmenu()?this._parentMaterialMenu:void 0,i.direction=this.dir,e&&i.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0),i instanceof ra&&(i._setIsOpen(!0),i._directDescendantItems.changes.pipe(Ye(i.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}_destroyMenu(e){let i=this._overlayRef,r=this._menu;!i||!this.menuOpen||(this._closingActionsSubscription.unsubscribe(),this._pendingRemoval?.unsubscribe(),r instanceof ra&&this._ownsMenu(r)?(this._pendingRemoval=r._animationDone.pipe(Pt(1)).subscribe(()=>{i.detach(),Zl.has(r)||r.lazyContent?.detach()}),r._setIsOpen(!1)):(i.detach(),r?.lazyContent?.detach()),r&&this._ownsMenu(r)&&Zl.delete(r),this.restoreFocus&&(e==="keydown"||!this._openedBy||!this._triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,this._setIsMenuOpen(!1))}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this._triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){let i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=oo(this._injector,i),this._overlayRef.keydownEvents().subscribe(r=>{this._menu instanceof ra&&this._menu._handleKeydown(r)})}return this._overlayRef}_getOverlayConfig(e){return new no({positionStrategy:Ya(this._injector,this._getOverlayOrigin()).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr",disableAnimations:this._animationsDisabled})}_subscribeToPositions(e,i){e.setPositionClasses&&i.positionChanges.subscribe(r=>{this._ngZone.run(()=>{let o=r.connectionPair.overlayX==="start"?"after":"before",a=r.connectionPair.overlayY==="top"?"below":"above";e.setPositionClasses(o,a)})})}_setPosition(e,i){let[r,o]=e.xPosition==="before"?["end","start"]:["start","end"],[a,s]=e.yPosition==="above"?["bottom","top"]:["top","bottom"],[l,c]=[a,s],[d,m]=[r,o],p=0;if(this._triggersSubmenu()){if(m=r=e.xPosition==="before"?"start":"end",o=d=r==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let f=this._parentMaterialMenu.items.first;this._parentInnerPadding=f?f._getHostElement().offsetTop:0}p=a==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(l=a==="top"?"bottom":"top",c=s==="top"?"bottom":"top");i.withPositions([{originX:r,originY:l,overlayX:d,overlayY:a,offsetY:p},{originX:o,originY:l,overlayX:m,overlayY:a,offsetY:p},{originX:r,originY:c,overlayX:d,overlayY:s,offsetY:-p},{originX:o,originY:c,overlayX:m,overlayY:s,offsetY:-p}])}_menuClosingActions(){let e=this._getOutsideClickStream(this._overlayRef),i=this._overlayRef.detachments(),r=this._parentMaterialMenu?this._parentMaterialMenu.closed:pe(),o=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Me(a=>this._menuOpen&&a!==this._menuItemInstance)):pe();return rn(e,r,o,i)}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Wn(e.templateRef,this._viewContainerRef)),this._portal}_ownsMenu(e){return Zl.get(e)===this}_triggerIsAriaDisabled(){return G(this._element.nativeElement.getAttribute("aria-disabled"))}static \u0275fac=function(i){Ba()};static \u0275dir=B({type:t})}return t})(),Yh=(()=>{class t extends F3{_cleanupTouchstart;_hoverSubscription=xe.EMPTY;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){this._menu=e}menuData;restoreFocus=!0;menuOpened=new H;onMenuOpen=this.menuOpened;menuClosed=new H;onMenuClose=this.menuClosed;constructor(){super(!0);let e=u(He);this._cleanupTouchstart=e.listen(this._element.nativeElement,"touchstart",i=>{Qa(i)||(this._openedBy="touch")},{passive:!0})}triggersSubmenu(){return super._triggersSubmenu()}toggleMenu(){return this.menuOpen?this.closeMenu():this.openMenu()}openMenu(){this._openMenu(!0)}closeMenu(){this._closeMenu()}updatePosition(){this._overlayRef?.updatePosition()}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTouchstart(),this._hoverSubscription.unsubscribe()}_getOverlayOrigin(){return this._element}_getOutsideClickStream(e){return e.backdropClick()}_handleMousedown(e){Ka(e)||(this._openedBy=e.button===0?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){let i=e.keyCode;(i===13||i===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(i===39&&this.dir==="ltr"||i===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().subscribe(e=>{e===this._menuItemInstance&&!e.disabled&&this._parentMaterialMenu?._panelAnimationState!=="void"&&(this._openedBy="mouse",this._openMenu(!1))}))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(i,r){i&1&&j("click",function(a){return r._handleClick(a)})("mousedown",function(a){return r._handleMousedown(a)})("keydown",function(a){return r._handleKeydown(a)}),i&2&&ye("aria-haspopup",r.menu?"menu":null)("aria-expanded",r.menuOpen)("aria-controls",r.menuOpen?r.menu?.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],features:[Ge]})}return t})();var jA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({imports:[Ll,Qi,Qe,eo]})}return t})();var HA=t=>({favorite:t});function L3(t,n){if(t&1){let e=Be();b(0,"i",16),j("click",function(r){we(e);let o=N().$implicit,a=N(2);return Se(a.toggleFavoriteTransport(r,o))})("keydown.enter",function(r){we(e);let o=N().$implicit,a=N(2);return Se(a.toggleFavoriteTransport(r,o))})("keydown.space",function(r){we(e);let o=N().$implicit,a=N(2);return Se(a.toggleFavoriteTransport(r,o))}),S(1),v()}if(t&2){let e=N().$implicit,i=N(2);P("ngClass",sl(4,HA,e.favorite)),ye("aria-pressed",!!e.favorite)("aria-label",i.favoriteTransportLabel(e)),x(),rt(e.favorite?"star":"star_border")}}function V3(t,n){if(t&1){let e=Be();b(0,"button",13),j("click",function(){let r=we(e).$implicit,o=N(2);return Se(o.launch(r))}),b(1,"div",14),Y(2,"img",8),S(3),Q(4,L3,2,6,"i",15),v()()}if(t&2){let e=n.$implicit,i=N(2);x(2),P("src",i.getTransportIcon(e.id)),x(),Ke(" ",e.name," "),x(),Z(i.favoriteTransportEnabled?4:-1)}}function j3(t,n){if(t&1){let e=Be();b(0,"button",13),j("click",function(){we(e);let r=N(2);return Se(r.action("release"))}),b(1,"i",17),S(2,"delete"),v(),b(3,"uds-translate"),S(4," Release service"),v()()}}function B3(t,n){if(t&1){let e=Be();b(0,"button",13),j("click",function(){we(e);let r=N(2);return Se(r.action("reset"))}),b(1,"i",17),S(2,"refresh"),v(),b(3,"uds-translate"),S(4," Reset service"),v()()}}function z3(t,n){if(t&1&&(b(0,"button",4)(1,"uds-translate"),S(2,"Connections"),v()()),t&2){N();let e=Et(2);P("matMenuTriggerFor",e)}}function H3(t,n){if(t&1&&(b(0,"button",4)(1,"uds-translate"),S(2,"Actions"),v()()),t&2){N();let e=Et(6);P("matMenuTriggerFor",e)}}function U3(t,n){if(t&1){let e=Be();b(0,"div",6)(1,"button",18),j("click",function(){we(e);let r=N(2);return Se(r.toggleFavorite())}),b(2,"i",19),S(3),v()()()}if(t&2){let e=N(2);x(),ye("aria-label",e.isFavorite?"Remove from favorites":"Add to favorites"),x(),P("ngClass",sl(3,HA,e.isFavorite)),x(),rt(e.isFavorite?"star":"star_border")}}function $3(t,n){if(t&1&&(b(0,"button",12)(1,"i",17),S(2,"menu"),v()()),t&2){N();let e=Et(10);P("matMenuTriggerFor",e)}}function G3(t,n){if(t&1){let e=Be();b(0,"div")(1,"mat-menu",null,0),Nt(3,V3,5,3,"button",3,Xt),v(),b(5,"mat-menu",null,1),Q(7,j3,5,0,"button",3),Q(8,B3,5,0,"button",3),v(),b(9,"mat-menu",null,2),Q(11,z3,3,1,"button",4),Q(12,H3,3,1,"button",4),v(),b(13,"div",5),Q(14,U3,4,5,"div",6),b(15,"div",7),j("click",function(){we(e);let r=N();return Se(r.launch(null))}),Y(16,"img",8),v(),b(17,"div",9)(18,"span",10),S(19),v()(),b(20,"div",11),Q(21,$3,3,1,"button",12),v()()()}if(t&2){let e=N();x(3),At(e.service.transports),x(4),Z(e.service.allow_users_remove?7:-1),x(),Z(e.service.allow_users_reset?8:-1),x(3),Z(e.showTransportsMenu()?11:-1),x(),Z(e.hasActions()?12:-1),x(),P("ngClass",e.serviceClass)("matTooltipDisabled",e.serviceTooltip==="")("matTooltip",e.serviceTooltip),x(),Z(e.favoriteEnabled?14:-1),x(2),P("src",e.serviceImage),x(2),P("ngClass",e.serviceNameClass),x(),rt(e.serviceName),x(2),Z(e.hasMenu()?21:-1)}}var zA=32,UA=(()=>{class t{constructor(){this.api=u(ze),this.service={},this.isFavorite=!1,this.favoriteChanged=new H}get favoriteEnabled(){return this.api.config.enable_favorite_services===!0}get favoriteTransportEnabled(){return this.api.config.enable_favorite_transports===!0}favoriteTransportLabel(e){return e.favorite?django.gettext("Remove favorite connection"):django.gettext("Set as favorite connection")}get serviceImage(){return this.api.galleryImageURL(this.service.imageId)}get serviceName(){let e=this.service.visual_name;return e.length>zA&&(e=e.substring(0,zA-3)+"..."),e}get serviceTooltip(){return this.service.to_be_replaced!==null?this.service.to_be_replaced_text:this.service.maintenance?django.gettext("Service is in maintenance"):this.service.not_accesible?this.service.custom_calendar_text:this.serviceName!==this.service.name?this.service.name:""}get serviceClass(){let e=["service"];return this.service.to_be_replaced!=null?e.push("tobereplaced"):this.service.maintenance?e.push("maintenance"):this.service.not_accesible?e.push("forbidden"):this.service.in_use&&e.push("inuse"),this.isFavorite&&e.push("favorite"),e.length>1&&e.push("alert"),e}get serviceNameClass(){let e=[],i=Math.min(Math.floor((this.service.visual_name.length-1)/4)*4,28);return i>=16&&e.push("small-"+i.toString()),e}ngOnChanges(e){e.service&&(this.isFavorite=!!this.service.favorite)}ngOnInit(){return z(this,null,function*(){this.isFavorite=!!this.service.favorite})}toggleFavorite(){return z(this,null,function*(){let e=this.isFavorite?"unfavorite":"favorite";try{yield this.api.action(e,this.service.id),this.isFavorite=!this.isFavorite}catch(i){}this.favoriteChanged.emit({serviceId:this.service.id,isFavorite:this.isFavorite})})}toggleFavoriteTransport(e,i){return z(this,null,function*(){e.stopPropagation(),e.preventDefault();let r=!i.favorite;try{yield this.api.setFavoriteTransport(this.service.id,r?i.id:null)}catch(o){return}this.service.transports=this.service.transports.map(o=>de(w({},o),{favorite:r&&o.id===i.id})).sort((o,a)=>Number(a.favorite)-Number(o.favorite)||o.priority-a.priority)})}getTransportIcon(e){return this.api.transportIconURL(e)}hasActions(){return this.service.allow_users_remove||this.service.allow_users_reset}showTransportsMenu(){return this.service.transports.length>1&&this.service.show_transports}hasMenu(){return this.service.maintenance===!1&&this.service.not_accesible===!1&&(this.hasActions()||this.showTransportsMenu())}notifyNotLaunching(e){this.api.gui.alert('

'+django.gettext("Launcher")+"

",e)}launch(e){return z(this,null,function*(){if(this.service.maintenance)this.notifyNotLaunching(django.gettext("Service is in maintenance and cannot be launched"));else if(this.service.not_accesible){let i=this.service.custom_calendar_text||this.api.config.messages.calendar_denied;this.notifyNotLaunching('

'+django.gettext("This service is currently not accesible due to schedule restrictions.")+'

'+i+'

')}else{if((e===null||this.service.show_transports===!1)&&(e=this.service.transports[0]),this.service.custom_message_text!==null&&this.service.custom_message_text!==void 0){if((yield this.api.gui.yesno(django.gettext("Service message"),this.service.custom_message_text+"

"+django.gettext('Press "Yes" to continue, or "No" to cancel')+"

"))===!1)return;console.debug("Launching service with transport",e)}this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(e.link)}})}action(e){return z(this,null,function*(){let i=(e==="release"?django.gettext("Release service: "):django.gettext("Reset service: "))+" "+this.serviceName,r=e==="release"?django.gettext("Service released"):django.gettext("Service reseted");(yield this.api.gui.yesno(i,django.gettext("Are you sure?")))!==!1&&this.api.action(e,this.service.id).then(o=>{o&&this.api.gui.alert(i,r)})})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-service"]],inputs:{service:"service"},outputs:{favoriteChanged:"favoriteChanged"},standalone:!1,features:[nt],decls:1,vars:1,consts:[["transports",""],["actions",""],["menu",""],["mat-menu-item",""],["mat-menu-item","",3,"matMenuTriggerFor"],["matTooltipShowDelay","1000","matTooltipPosition","above",3,"ngClass","matTooltipDisabled","matTooltip"],[1,"favorite_button"],[1,"icon",3,"click"],[3,"src"],[1,"name"],[3,"ngClass"],[1,"menu"],["mat-icon-button","",1,"service-menu",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click"],[1,"transport-item"],["role","button","tabindex","0",1,"material-icons","favorite-transport",3,"ngClass"],["role","button","tabindex","0",1,"material-icons","favorite-transport",3,"click","keydown.enter","keydown.space","ngClass"],[1,"material-icons"],["mat-icon-button","","disableRipple","",3,"click"],[1,"material-icons",3,"ngClass"]],template:function(i,r){i&1&&Q(0,G3,22,12,"div"),i&2&&Z(r.service.transports.length>0?0:-1)},dependencies:[ld,iu,ra,ns,Yh,yu,yt],styles:['.service[_ngcontent-%COMP%]{width:100%;margin:0;padding:1.5rem 0;border-radius:16px;background-color:var(--%NS%glass-bg);backdrop-filter:var(--%NS%glass-backdrop-filter);-webkit-backdrop-filter:var(--%NS%glass-backdrop-filter);box-shadow:0 4px 20px var(--%NS%glass-shadow);border:1px solid var(--%NS%glass-border);transition:all .4s cubic-bezier(.25,.8,.25,1);display:flex;flex:1;align-items:center;justify-content:center;flex-flow:column wrap;position:relative;overflow:hidden}.service-menu[_ngcontent-%COMP%]{border-radius:.6rem!important}.service[_ngcontent-%COMP%]:hover{transform:translateY(-8px);box-shadow:0 12px 28px var(--%NS%glass-shadow);background-color:var(--%NS%glass-hover-bg);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-color:var(--%NS%glass-border)}.icon[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:center;transition:all .3s cubic-bezier(.25,.8,.25,1);width:6rem;height:6rem;margin:.5rem}.service[_ngcontent-%COMP%]:not(.forbidden):not(.maintenance):hover .icon[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.25,.8,.25,1);width:7rem;height:7rem;margin:0}.icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden}.forbidden[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .maintenance[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.5;z-index:10}.tobereplaced[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.7;z-index:10}.name[_ngcontent-%COMP%]{margin-top:.5em;font-size:1.05rem;width:calc(100% - 1em);display:flex;flex:1 0 auto;flex-flow:row;align-items:center;justify-content:center;padding:0 .5em;overflow:hidden;height:2.4em;text-align:center}.small-16[_ngcontent-%COMP%]{font-size:1.05rem}.small-20[_ngcontent-%COMP%]{font-size:1rem}.small-24[_ngcontent-%COMP%]{font-size:.95rem}.small-28[_ngcontent-%COMP%]{font-size:.9rem}.menu[_ngcontent-%COMP%]{position:absolute;top:2px;right:2px}.menu[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%]{cursor:pointer;background-color:transparent;color:var(--%NS%text-primary)}.menu[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%]:hover{box-shadow:0 4px 12px var(--%NS%glass-shadow);background-color:var(--%NS%glass-bg);transition:all .3s cubic-bezier(.25,.8,.25,1)}.transport-item[_ngcontent-%COMP%]{display:flex;align-items:center}.transport-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2em;margin-right:.4em}.favorite-transport[_ngcontent-%COMP%]{margin-left:auto;padding-left:1em;cursor:pointer;visibility:hidden}.mat-mdc-menu-item[_ngcontent-%COMP%]:hover .favorite-transport[_ngcontent-%COMP%], .mat-mdc-menu-item[_ngcontent-%COMP%]:focus-within .favorite-transport[_ngcontent-%COMP%]{visibility:visible}.alert[_ngcontent-%COMP%]:before{position:absolute;top:1rem;left:1rem;font-size:8rem;font-weight:500;font-family:Material Icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-moz-font-feature-settings:"liga";font-feature-settings:"liga";text-shadow:0 6px 8px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);z-index:1}.forbidden[_ngcontent-%COMP%]:before{color:#fc0000;content:"update"}.maintenance[_ngcontent-%COMP%]:before{color:#fcb900;content:"build"}.tobereplaced[_ngcontent-%COMP%]:before{color:#fc0000;content:"delete_forever"} .dark-theme .menu .mat-mdc-icon-button{background-color:#0003!important}.favorite_button[_ngcontent-%COMP%]{position:absolute;display:none!important;padding:0 12px 12px 0!important;top:-10px!important;left:-10px!important}.service[_ngcontent-%COMP%]:hover .favorite_button[_ngcontent-%COMP%]{display:flex!important}.favorite_button[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:0!important}.material-icons.favorite[_ngcontent-%COMP%]{color:gold}'],changeDetection:1})}}return t})();var q3=(t,n)=>n.id;function Y3(t,n){if(t&1){let e=Be();b(0,"uds-service",2),j("favoriteChanged",function(r){we(e);let o=N();return Se(r&&o.favoriteChanged.emit(r))}),v()}if(t&2){let e=n.$implicit;P("service",e)}}var $A=(()=>{class t{constructor(){this.api=u(ze),this.cdr=u(We),this.services=[],this.group={},this.expanded=!1,this.enableFavoriteServices=!0,this.favoriteChanged=new H}get groupImage(){return this.api.galleryImageURL(this.group.imageUuid)}get sortedServices(){return this.services.sort((e,i)=>e.visual_name>i.visual_name?1:e.visual_namei.name?1:e.name{class t{_stateChanges=new R;_openCloseAllActions=new R;id=u(st).getId("cdk-accordion-");multi=!1;openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",G]},exportAs:["cdkAccordion"],features:[Xe([{provide:F0,useExisting:t}]),nt]})}return t})(),WA=(()=>{class t{accordion=u(F0,{optional:!0,skipSelf:!0});_changeDetectorRef=u(We);_expansionDispatcher=u(bu);_openCloseAllSubscription=xe.EMPTY;closed=new H;opened=new H;destroyed=new H;expandedChange=new H;id=u(st).getId("cdk-accordion-child-");get expanded(){return this._expanded}set expanded(e){if(this._expanded!==e){if(this._expanded=e,this.expandedChange.emit(e),e){this.opened.emit();let i=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,i)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}_expanded=!1;get disabled(){return this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=he(!1);_removeUniqueSelectionListener=()=>{};ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((e,i)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===i&&this.id!==e&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",G],disabled:[2,"disabled","disabled",G]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Xe([{provide:F0,useValue:void 0}])]})}return t})(),qA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({})}return t})();var L0=new C("MAT_ACCORDION"),YA=new C("MAT_EXPANSION_PANEL"),Q3=(()=>{class t{_template=u(qt);_expansionPanel=u(YA,{optional:!0});static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]})}return t})(),KA=new C("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),V0=(()=>{class t extends WA{_viewContainerRef=u(Bt);_animationsDisabled=dt();_document=u(oe);_ngZone=u(O);_elementRef=u($);_renderer=u(He);_cleanupTransitionEnd;get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=e}_hideToggle=!1;get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_togglePosition;afterExpand=new H;afterCollapse=new H;_inputChanges=new R;accordion=u(L0,{optional:!0,skipSelf:!0});_lazyContent;_body;_bodyWrapper;_portal;_headerId=u(st).getId("mat-expansion-panel-header-");constructor(){super();let e=u(KA,{optional:!0});this._expansionDispatcher=u(bu),e&&(this.hideToggle=e.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(vt(null),Me(()=>this.expanded&&!this._portal),Pt(1)).subscribe(()=>{this._portal=new Wn(this._lazyContent._template,this._viewContainerRef)}),this._setupAnimationEvents()}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransitionEnd?.(),this._inputChanges.complete()}_containsFocus(){if(this._body){let e=this._document.activeElement,i=this._body.nativeElement;return e===i||i.contains(e)}return!1}_transitionEndListener=({target:e,propertyName:i})=>{e===this._bodyWrapper?.nativeElement&&i==="grid-template-rows"&&this._ngZone.run(()=>{this.expanded?this.afterExpand.emit():this.afterCollapse.emit()})};_setupAnimationEvents(){this._ngZone.runOutsideAngular(()=>{this._animationsDisabled?(this.opened.subscribe(()=>this._ngZone.run(()=>this.afterExpand.emit())),this.closed.subscribe(()=>this._ngZone.run(()=>this.afterCollapse.emit()))):setTimeout(()=>{let e=this._elementRef.nativeElement;this._cleanupTransitionEnd=this._renderer.listen(e,"transitionend",this._transitionEndListener),e.classList.add("mat-expansion-panel-animations-enabled")},200)})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=["body"],i=["bodyWrapper"],r=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],o=["mat-expansion-panel-header","*","mat-action-row"];function a(s,l){}return F({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(l,c,d){if(l&1&&mn(d,Q3,5),l&2){let m;X(m=J())&&(c._lazyContent=m.first)}},viewQuery:function(l,c){if(l&1&&it(e,5)(i,5),l&2){let d;X(d=J())&&(c._body=d.first),X(d=J())&&(c._bodyWrapper=d.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(l,c){l&2&&ie("mat-expanded",c.expanded)("mat-expansion-panel-spacing",c._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",G],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Xe([{provide:L0,useValue:void 0},{provide:YA,useExisting:t}]),Ge,nt],ngContentSelectors:o,decls:9,vars:4,consts:[["bodyWrapper",""],["body",""],[1,"mat-expansion-panel-content-wrapper"],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(l,c){l&1&&(ct(r),Ee(0),b(1,"div",2,0)(3,"div",3,1)(5,"div",4),Ee(6,1),sn(7,a,0,0,"ng-template",5),v(),Ee(8,2),v()()),l&2&&(x(),ye("inert",c.expanded?null:""),x(2),P("id",c.id),ye("aria-labelledby",c._headerId),x(4),P("cdkPortalOutlet",c._portal))},dependencies:[Er],styles:[`.mat-expansion-panel { +`],encapsulation:2})})()}return t})(),P3=new C("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(ne);return()=>ro(t)}});var Zl=new WeakMap,F3=(()=>{class t{_canHaveBackdrop;_element=u($);_viewContainerRef=u(Bt);_menuItemInstance=u(is,{optional:!0,self:!0});_dir=u(Jt,{optional:!0});_focusMonitor=u(Yn);_ngZone=u(O);_injector=u(ne);_scrollStrategy=u(P3);_changeDetectorRef=u(We);_animationsDisabled=dt();_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=xe.EMPTY;_menuCloseSubscription=xe.EMPTY;_pendingRemoval;_parentMaterialMenu;_parentInnerPadding;_openedBy=void 0;get _menu(){return this._menuInternal}set _menu(e){e!==this._menuInternal&&(this._menuInternal=e,this._menuCloseSubscription.unsubscribe(),e?(this._parentMaterialMenu,this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),(i==="click"||i==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})):this._destroyMenu(),this._menuItemInstance?._setTriggersSubmenu(this._triggersSubmenu()))}_menuInternal=null;constructor(e){this._canHaveBackdrop=e;let i=u(P0,{optional:!0});this._parentMaterialMenu=i instanceof oa?i:void 0}ngOnDestroy(){this._menu&&this._ownsMenu(this._menu)&&Zl.delete(this._menu),this._pendingRemoval?.unsubscribe(),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this._menu)}_closeMenu(){this._menu?.close.emit()}_openMenu(e){if(this._triggerIsAriaDisabled())return;let i=this._menu;if(this._menuOpen||!i)return;this._pendingRemoval?.unsubscribe();let r=Zl.get(i);Zl.set(i,this),r&&r!==this&&r._closeMenu();let o=this._createOverlay(i),a=o.getConfig(),s=a.positionStrategy;this._setPosition(i,s),this._canHaveBackdrop?a.hasBackdrop=i.hasBackdrop==null?!this._triggersSubmenu():i.hasBackdrop:a.hasBackdrop=i.hasBackdrop??!1,o.hasAttached()||(o.attach(this._getPortal(i)),i.lazyContent?.attach(this.menuData)),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this._closeMenu()),i.parentMenu=this._triggersSubmenu()?this._parentMaterialMenu:void 0,i.direction=this.dir,e&&i.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0),i instanceof oa&&(i._setIsOpen(!0),i._directDescendantItems.changes.pipe(Ye(i.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}_destroyMenu(e){let i=this._overlayRef,r=this._menu;!i||!this.menuOpen||(this._closingActionsSubscription.unsubscribe(),this._pendingRemoval?.unsubscribe(),r instanceof oa&&this._ownsMenu(r)?(this._pendingRemoval=r._animationDone.pipe(Pt(1)).subscribe(()=>{i.detach(),Zl.has(r)||r.lazyContent?.detach()}),r._setIsOpen(!1)):(i.detach(),r?.lazyContent?.detach()),r&&this._ownsMenu(r)&&Zl.delete(r),this.restoreFocus&&(e==="keydown"||!this._openedBy||!this._triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,this._setIsMenuOpen(!1))}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this._triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){let i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=oo(this._injector,i),this._overlayRef.keydownEvents().subscribe(r=>{this._menu instanceof oa&&this._menu._handleKeydown(r)})}return this._overlayRef}_getOverlayConfig(e){return new no({positionStrategy:Ka(this._injector,this._getOverlayOrigin()).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr",disableAnimations:this._animationsDisabled})}_subscribeToPositions(e,i){e.setPositionClasses&&i.positionChanges.subscribe(r=>{this._ngZone.run(()=>{let o=r.connectionPair.overlayX==="start"?"after":"before",a=r.connectionPair.overlayY==="top"?"below":"above";e.setPositionClasses(o,a)})})}_setPosition(e,i){let[r,o]=e.xPosition==="before"?["end","start"]:["start","end"],[a,s]=e.yPosition==="above"?["bottom","top"]:["top","bottom"],[l,c]=[a,s],[d,m]=[r,o],p=0;if(this._triggersSubmenu()){if(m=r=e.xPosition==="before"?"start":"end",o=d=r==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let f=this._parentMaterialMenu.items.first;this._parentInnerPadding=f?f._getHostElement().offsetTop:0}p=a==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(l=a==="top"?"bottom":"top",c=s==="top"?"bottom":"top");i.withPositions([{originX:r,originY:l,overlayX:d,overlayY:a,offsetY:p},{originX:o,originY:l,overlayX:m,overlayY:a,offsetY:p},{originX:r,originY:c,overlayX:d,overlayY:s,offsetY:-p},{originX:o,originY:c,overlayX:m,overlayY:s,offsetY:-p}])}_menuClosingActions(){let e=this._getOutsideClickStream(this._overlayRef),i=this._overlayRef.detachments(),r=this._parentMaterialMenu?this._parentMaterialMenu.closed:pe(),o=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Me(a=>this._menuOpen&&a!==this._menuItemInstance)):pe();return rn(e,r,o,i)}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new qn(e.templateRef,this._viewContainerRef)),this._portal}_ownsMenu(e){return Zl.get(e)===this}_triggerIsAriaDisabled(){return G(this._element.nativeElement.getAttribute("aria-disabled"))}static \u0275fac=function(i){za()};static \u0275dir=B({type:t})}return t})(),Yh=(()=>{class t extends F3{_cleanupTouchstart;_hoverSubscription=xe.EMPTY;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){this._menu=e}menuData;restoreFocus=!0;menuOpened=new H;onMenuOpen=this.menuOpened;menuClosed=new H;onMenuClose=this.menuClosed;constructor(){super(!0);let e=u(He);this._cleanupTouchstart=e.listen(this._element.nativeElement,"touchstart",i=>{Za(i)||(this._openedBy="touch")},{passive:!0})}triggersSubmenu(){return super._triggersSubmenu()}toggleMenu(){return this.menuOpen?this.closeMenu():this.openMenu()}openMenu(){this._openMenu(!0)}closeMenu(){this._closeMenu()}updatePosition(){this._overlayRef?.updatePosition()}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTouchstart(),this._hoverSubscription.unsubscribe()}_getOverlayOrigin(){return this._element}_getOutsideClickStream(e){return e.backdropClick()}_handleMousedown(e){Qa(e)||(this._openedBy=e.button===0?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){let i=e.keyCode;(i===13||i===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(i===39&&this.dir==="ltr"||i===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().subscribe(e=>{e===this._menuItemInstance&&!e.disabled&&this._parentMaterialMenu?._panelAnimationState!=="void"&&(this._openedBy="mouse",this._openMenu(!1))}))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(i,r){i&1&&j("click",function(a){return r._handleClick(a)})("mousedown",function(a){return r._handleMousedown(a)})("keydown",function(a){return r._handleKeydown(a)}),i&2&&ye("aria-haspopup",r.menu?"menu":null)("aria-expanded",r.menuOpen)("aria-controls",r.menuOpen?r.menu?.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],features:[Ge]})}return t})();var jA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({imports:[Ll,Qi,Qe,eo]})}return t})();var HA=t=>({favorite:t});function L3(t,n){if(t&1){let e=Be();b(0,"i",16),j("click",function(r){we(e);let o=N().$implicit,a=N(2);return Se(a.toggleFavoriteTransport(r,o))})("keydown.enter",function(r){we(e);let o=N().$implicit,a=N(2);return Se(a.toggleFavoriteTransport(r,o))})("keydown.space",function(r){we(e);let o=N().$implicit,a=N(2);return Se(a.toggleFavoriteTransport(r,o))}),S(1),v()}if(t&2){let e=N().$implicit,i=N(2);P("ngClass",sl(4,HA,e.favorite)),ye("aria-pressed",!!e.favorite)("aria-label",i.favoriteTransportLabel(e)),x(),rt(e.favorite?"star":"star_border")}}function V3(t,n){if(t&1){let e=Be();b(0,"button",13),j("click",function(){let r=we(e).$implicit,o=N(2);return Se(o.launch(r))}),b(1,"div",14),q(2,"img",8),S(3),Q(4,L3,2,6,"i",15),v()()}if(t&2){let e=n.$implicit,i=N(2);x(2),P("src",i.getTransportIcon(e.id)),x(),Ke(" ",e.name," "),x(),Z(i.favoriteTransportEnabled?4:-1)}}function j3(t,n){if(t&1){let e=Be();b(0,"button",13),j("click",function(){we(e);let r=N(2);return Se(r.action("release"))}),b(1,"i",17),S(2,"delete"),v(),b(3,"uds-translate"),S(4," Release service"),v()()}}function B3(t,n){if(t&1){let e=Be();b(0,"button",13),j("click",function(){we(e);let r=N(2);return Se(r.action("reset"))}),$n(),b(1,"svg",18),q(2,"path",19)(3,"path",20)(4,"circle",21),v(),Lo(),b(5,"uds-translate"),S(6," Reset service"),v()()}}function z3(t,n){if(t&1&&(b(0,"button",4)(1,"uds-translate"),S(2,"Connections"),v()()),t&2){N();let e=Et(2);P("matMenuTriggerFor",e)}}function H3(t,n){if(t&1&&(b(0,"button",4)(1,"uds-translate"),S(2,"Actions"),v()()),t&2){N();let e=Et(6);P("matMenuTriggerFor",e)}}function U3(t,n){if(t&1){let e=Be();b(0,"div",6)(1,"button",22),j("click",function(){we(e);let r=N(2);return Se(r.toggleFavorite())}),b(2,"i",23),S(3),v()()()}if(t&2){let e=N(2);x(),ye("aria-label",e.isFavorite?"Remove from favorites":"Add to favorites"),x(),P("ngClass",sl(3,HA,e.isFavorite)),x(),rt(e.isFavorite?"star":"star_border")}}function $3(t,n){if(t&1&&(b(0,"button",12)(1,"i",17),S(2,"menu"),v()()),t&2){N();let e=Et(10);P("matMenuTriggerFor",e)}}function G3(t,n){if(t&1){let e=Be();b(0,"div")(1,"mat-menu",null,0),Nt(3,V3,5,3,"button",3,Xt),v(),b(5,"mat-menu",null,1),Q(7,j3,5,0,"button",3),Q(8,B3,7,0,"button",3),v(),b(9,"mat-menu",null,2),Q(11,z3,3,1,"button",4),Q(12,H3,3,1,"button",4),v(),b(13,"div",5),Q(14,U3,4,5,"div",6),b(15,"div",7),j("click",function(){we(e);let r=N();return Se(r.launch(null))}),q(16,"img",8),v(),b(17,"div",9)(18,"span",10),S(19),v()(),b(20,"div",11),Q(21,$3,3,1,"button",12),v()()()}if(t&2){let e=N();x(3),At(e.service.transports),x(4),Z(e.service.allow_users_remove?7:-1),x(),Z(e.service.allow_users_reset?8:-1),x(3),Z(e.showTransportsMenu()?11:-1),x(),Z(e.hasActions()?12:-1),x(),P("ngClass",e.serviceClass)("matTooltipDisabled",e.serviceTooltip==="")("matTooltip",e.serviceTooltip),x(),Z(e.favoriteEnabled?14:-1),x(2),P("src",e.serviceImage),x(2),P("ngClass",e.serviceNameClass),x(),rt(e.serviceName),x(2),Z(e.hasMenu()?21:-1)}}var zA=32,UA=(()=>{class t{constructor(){this.api=u(ze),this.service={},this.isFavorite=!1,this.favoriteChanged=new H}get favoriteEnabled(){return this.api.config.enable_favorite_services===!0}get favoriteTransportEnabled(){return this.api.config.enable_favorite_transports===!0}favoriteTransportLabel(e){return e.favorite?django.gettext("Remove favorite connection"):django.gettext("Set as favorite connection")}get serviceImage(){return this.api.galleryImageURL(this.service.imageId)}get serviceName(){let e=this.service.visual_name;return e.length>zA&&(e=e.substring(0,zA-3)+"..."),e}get serviceTooltip(){return this.service.to_be_replaced!==null?this.service.to_be_replaced_text:this.service.maintenance?django.gettext("Service is in maintenance"):this.service.not_accesible?this.service.custom_calendar_text:this.serviceName!==this.service.name?this.service.name:""}get serviceClass(){let e=["service"];return this.service.to_be_replaced!=null?e.push("tobereplaced"):this.service.maintenance?e.push("maintenance"):this.service.not_accesible?e.push("forbidden"):this.service.in_use&&e.push("inuse"),this.isFavorite&&e.push("favorite"),e.length>1&&e.push("alert"),e}get serviceNameClass(){let e=[],i=Math.min(Math.floor((this.service.visual_name.length-1)/4)*4,28);return i>=16&&e.push("small-"+i.toString()),e}ngOnChanges(e){e.service&&(this.isFavorite=!!this.service.favorite)}ngOnInit(){return z(this,null,function*(){this.isFavorite=!!this.service.favorite})}toggleFavorite(){return z(this,null,function*(){let e=this.isFavorite?"unfavorite":"favorite";try{yield this.api.action(e,this.service.id),this.isFavorite=!this.isFavorite}catch(i){}this.favoriteChanged.emit({serviceId:this.service.id,isFavorite:this.isFavorite})})}toggleFavoriteTransport(e,i){return z(this,null,function*(){e.stopPropagation(),e.preventDefault();let r=!i.favorite;try{yield this.api.setFavoriteTransport(this.service.id,r?i.id:null)}catch(o){return}this.service.transports=this.service.transports.map(o=>de(w({},o),{favorite:r&&o.id===i.id})).sort((o,a)=>Number(a.favorite)-Number(o.favorite)||o.priority-a.priority)})}getTransportIcon(e){return this.api.transportIconURL(e)}hasActions(){return this.service.allow_users_remove||this.service.allow_users_reset}showTransportsMenu(){return this.service.transports.length>1&&this.service.show_transports}hasMenu(){return this.service.maintenance===!1&&this.service.not_accesible===!1&&(this.hasActions()||this.showTransportsMenu())}notifyNotLaunching(e){this.api.gui.alert('

'+django.gettext("Launcher")+"

",e)}launch(e){return z(this,null,function*(){if(this.service.maintenance)this.notifyNotLaunching(django.gettext("Service is in maintenance and cannot be launched"));else if(this.service.not_accesible){let i=this.service.custom_calendar_text||this.api.config.messages.calendar_denied;this.notifyNotLaunching('

'+django.gettext("This service is currently not accesible due to schedule restrictions.")+'

'+i+'

')}else{if((e===null||this.service.show_transports===!1)&&(e=this.service.transports[0]),this.service.custom_message_text!==null&&this.service.custom_message_text!==void 0){if((yield this.api.gui.yesno(django.gettext("Service message"),this.service.custom_message_text+"

"+django.gettext('Press "Yes" to continue, or "No" to cancel')+"

"))===!1)return;console.debug("Launching service with transport",e)}this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(e.link)}})}action(e){return z(this,null,function*(){let i=(e==="release"?django.gettext("Release service: "):django.gettext("Reset service: "))+" "+this.serviceName,r=e==="release"?django.gettext("Service released"):django.gettext("Service reseted");(yield this.api.gui.yesno(i,django.gettext("Are you sure?")))!==!1&&this.api.action(e,this.service.id).then(o=>{o&&this.api.gui.alert(i,r)})})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-service"]],inputs:{service:"service"},outputs:{favoriteChanged:"favoriteChanged"},standalone:!1,features:[nt],decls:1,vars:1,consts:[["transports",""],["actions",""],["menu",""],["mat-menu-item",""],["mat-menu-item","",3,"matMenuTriggerFor"],["matTooltipShowDelay","1000","matTooltipPosition","above",3,"ngClass","matTooltipDisabled","matTooltip"],[1,"favorite_button"],[1,"icon",3,"click"],[3,"src"],[1,"name"],[3,"ngClass"],[1,"menu"],["mat-icon-button","",1,"service-menu",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click"],[1,"transport-item"],["role","button","tabindex","0",1,"material-icons","favorite-transport",3,"ngClass"],["role","button","tabindex","0",1,"material-icons","favorite-transport",3,"click","keydown.enter","keydown.space","ngClass"],[1,"material-icons"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","aria-hidden","true",2,"vertical-align","middle"],["d","M20 12a8 8 0 1 1-2.34-5.66"],["d","M20 4v4h-4"],["cx","12","cy","12","r","1.5","fill","currentColor","stroke","none"],["mat-icon-button","","disableRipple","",3,"click"],[1,"material-icons",3,"ngClass"]],template:function(i,r){i&1&&Q(0,G3,22,12,"div"),i&2&&Z(r.service.transports.length>0?0:-1)},dependencies:[ld,iu,oa,is,Yh,yu,yt],styles:['.service[_ngcontent-%COMP%]{width:100%;margin:0;padding:1.5rem 0;border-radius:16px;background-color:var(--%NS%glass-bg);backdrop-filter:var(--%NS%glass-backdrop-filter);-webkit-backdrop-filter:var(--%NS%glass-backdrop-filter);box-shadow:0 4px 20px var(--%NS%glass-shadow);border:1px solid var(--%NS%glass-border);transition:all .4s cubic-bezier(.25,.8,.25,1);display:flex;flex:1;align-items:center;justify-content:center;flex-flow:column wrap;position:relative;overflow:hidden}.service-menu[_ngcontent-%COMP%]{border-radius:.6rem!important}.service[_ngcontent-%COMP%]:hover{transform:translateY(-8px);box-shadow:0 12px 28px var(--%NS%glass-shadow);background-color:var(--%NS%glass-hover-bg);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-color:var(--%NS%glass-border)}.icon[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:center;transition:all .3s cubic-bezier(.25,.8,.25,1);width:6rem;height:6rem;margin:.5rem}.service[_ngcontent-%COMP%]:not(.forbidden):not(.maintenance):hover .icon[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.25,.8,.25,1);width:7rem;height:7rem;margin:0}.icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden}.forbidden[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .maintenance[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.5;z-index:10}.tobereplaced[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.7;z-index:10}.name[_ngcontent-%COMP%]{margin-top:.5em;font-size:1.05rem;width:calc(100% - 1em);display:flex;flex:1 0 auto;flex-flow:row;align-items:center;justify-content:center;padding:0 .5em;overflow:hidden;height:2.4em;text-align:center}.small-16[_ngcontent-%COMP%]{font-size:1.05rem}.small-20[_ngcontent-%COMP%]{font-size:1rem}.small-24[_ngcontent-%COMP%]{font-size:.95rem}.small-28[_ngcontent-%COMP%]{font-size:.9rem}.menu[_ngcontent-%COMP%]{position:absolute;top:2px;right:2px}.menu[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%]{cursor:pointer;background-color:transparent;color:var(--%NS%text-primary)}.menu[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%]:hover{box-shadow:0 4px 12px var(--%NS%glass-shadow);background-color:var(--%NS%glass-bg);transition:all .3s cubic-bezier(.25,.8,.25,1)}.transport-item[_ngcontent-%COMP%]{display:flex;align-items:center}.transport-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2em;margin-right:.4em}.favorite-transport[_ngcontent-%COMP%]{margin-left:auto;padding-left:1em;cursor:pointer;visibility:hidden}.mat-mdc-menu-item[_ngcontent-%COMP%]:hover .favorite-transport[_ngcontent-%COMP%], .mat-mdc-menu-item[_ngcontent-%COMP%]:focus-within .favorite-transport[_ngcontent-%COMP%]{visibility:visible}.alert[_ngcontent-%COMP%]:before{position:absolute;top:1rem;left:1rem;font-size:8rem;font-weight:500;font-family:Material Icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-moz-font-feature-settings:"liga";font-feature-settings:"liga";text-shadow:0 6px 8px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);z-index:1}.forbidden[_ngcontent-%COMP%]:before{color:#fc0000;content:"update"}.maintenance[_ngcontent-%COMP%]:before{color:#fcb900;content:"build"}.tobereplaced[_ngcontent-%COMP%]:before{color:#fc0000;content:"delete_forever"} .dark-theme .menu .mat-mdc-icon-button{background-color:#0003!important}.favorite_button[_ngcontent-%COMP%]{position:absolute;display:none!important;padding:0 12px 12px 0!important;top:-10px!important;left:-10px!important}.service[_ngcontent-%COMP%]:hover .favorite_button[_ngcontent-%COMP%]{display:flex!important}.favorite_button[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:0!important}.material-icons.favorite[_ngcontent-%COMP%]{color:gold}'],changeDetection:1})}}return t})();var q3=(t,n)=>n.id;function Y3(t,n){if(t&1){let e=Be();b(0,"uds-service",2),j("favoriteChanged",function(r){we(e);let o=N();return Se(r&&o.favoriteChanged.emit(r))}),v()}if(t&2){let e=n.$implicit;P("service",e)}}var $A=(()=>{class t{constructor(){this.api=u(ze),this.cdr=u(We),this.services=[],this.group={},this.expanded=!1,this.enableFavoriteServices=!0,this.favoriteChanged=new H}get groupImage(){return this.api.galleryImageURL(this.group.imageUuid)}get sortedServices(){return this.services.sort((e,i)=>e.visual_name>i.visual_name?1:e.visual_namei.name?1:e.name{class t{_stateChanges=new R;_openCloseAllActions=new R;id=u(st).getId("cdk-accordion-");multi=!1;openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",G]},exportAs:["cdkAccordion"],features:[Xe([{provide:F0,useExisting:t}]),nt]})}return t})(),WA=(()=>{class t{accordion=u(F0,{optional:!0,skipSelf:!0});_changeDetectorRef=u(We);_expansionDispatcher=u(bu);_openCloseAllSubscription=xe.EMPTY;closed=new H;opened=new H;destroyed=new H;expandedChange=new H;id=u(st).getId("cdk-accordion-child-");get expanded(){return this._expanded}set expanded(e){if(this._expanded!==e){if(this._expanded=e,this.expandedChange.emit(e),e){this.opened.emit();let i=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,i)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}_expanded=!1;get disabled(){return this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=he(!1);_removeUniqueSelectionListener=()=>{};ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((e,i)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===i&&this.id!==e&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",G],disabled:[2,"disabled","disabled",G]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Xe([{provide:F0,useValue:void 0}])]})}return t})(),qA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({})}return t})();var L0=new C("MAT_ACCORDION"),YA=new C("MAT_EXPANSION_PANEL"),Q3=(()=>{class t{_template=u(qt);_expansionPanel=u(YA,{optional:!0});static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]})}return t})(),KA=new C("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),V0=(()=>{class t extends WA{_viewContainerRef=u(Bt);_animationsDisabled=dt();_document=u(oe);_ngZone=u(O);_elementRef=u($);_renderer=u(He);_cleanupTransitionEnd;get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=e}_hideToggle=!1;get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_togglePosition;afterExpand=new H;afterCollapse=new H;_inputChanges=new R;accordion=u(L0,{optional:!0,skipSelf:!0});_lazyContent;_body;_bodyWrapper;_portal;_headerId=u(st).getId("mat-expansion-panel-header-");constructor(){super();let e=u(KA,{optional:!0});this._expansionDispatcher=u(bu),e&&(this.hideToggle=e.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(vt(null),Me(()=>this.expanded&&!this._portal),Pt(1)).subscribe(()=>{this._portal=new qn(this._lazyContent._template,this._viewContainerRef)}),this._setupAnimationEvents()}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransitionEnd?.(),this._inputChanges.complete()}_containsFocus(){if(this._body){let e=this._document.activeElement,i=this._body.nativeElement;return e===i||i.contains(e)}return!1}_transitionEndListener=({target:e,propertyName:i})=>{e===this._bodyWrapper?.nativeElement&&i==="grid-template-rows"&&this._ngZone.run(()=>{this.expanded?this.afterExpand.emit():this.afterCollapse.emit()})};_setupAnimationEvents(){this._ngZone.runOutsideAngular(()=>{this._animationsDisabled?(this.opened.subscribe(()=>this._ngZone.run(()=>this.afterExpand.emit())),this.closed.subscribe(()=>this._ngZone.run(()=>this.afterCollapse.emit()))):setTimeout(()=>{let e=this._elementRef.nativeElement;this._cleanupTransitionEnd=this._renderer.listen(e,"transitionend",this._transitionEndListener),e.classList.add("mat-expansion-panel-animations-enabled")},200)})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=["body"],i=["bodyWrapper"],r=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],o=["mat-expansion-panel-header","*","mat-action-row"];function a(s,l){}return F({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(l,c,d){if(l&1&&mn(d,Q3,5),l&2){let m;X(m=J())&&(c._lazyContent=m.first)}},viewQuery:function(l,c){if(l&1&&it(e,5)(i,5),l&2){let d;X(d=J())&&(c._body=d.first),X(d=J())&&(c._bodyWrapper=d.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(l,c){l&2&&ie("mat-expanded",c.expanded)("mat-expansion-panel-spacing",c._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",G],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Xe([{provide:L0,useValue:void 0},{provide:YA,useExisting:t}]),Ge,nt],ngContentSelectors:o,decls:9,vars:4,consts:[["bodyWrapper",""],["body",""],[1,"mat-expansion-panel-content-wrapper"],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(l,c){l&1&&(ct(r),Ee(0),b(1,"div",2,0)(3,"div",3,1)(5,"div",4),Ee(6,1),sn(7,a,0,0,"ng-template",5),v(),Ee(8,2),v()()),l&2&&(x(),ye("inert",c.expanded?null:""),x(2),P("id",c.id),ye("aria-labelledby",c._headerId),x(4),P("cdkPortalOutlet",c._portal))},dependencies:[Er],styles:[`.mat-expansion-panel { box-sizing: content-box; display: block; margin: 0; @@ -3328,7 +3328,7 @@ div.mat-mdc-select-panel { margin-left: 0; margin-right: 8px; } -`],encapsulation:2})})()}return t})();var j0=(()=>{class t{panel=u(V0,{host:!0});_element=u($);_focusMonitor=u(qn);_changeDetectorRef=u(We);_parentChangeSubscription=xe.EMPTY;constructor(){u(Dt).load(Si);let e=this.panel,i=u(KA,{optional:!0}),r=u(new Ui("tabindex"),{optional:!0}),o=e.accordion?e.accordion._stateChanges.pipe(Me(a=>!!(a.hideToggle||a.togglePosition))):xt;this.tabIndex=parseInt(r||"")||0,this._parentChangeSubscription=rn(e.opened,e.closed,o,e._inputChanges.pipe(Me(a=>!!(a.hideToggle||a.disabled||a.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(Me(()=>e._containsFocus())).subscribe(()=>this._focusMonitor.focusVia(this._element,"program")),i&&(this.expandedHeight=i.expandedHeight,this.collapsedHeight=i.collapsedHeight)}expandedHeight;collapsedHeight;tabIndex=0;get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:Ht(e)||(e.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e);return}}focus(e,i){e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],i=["mat-panel-title","mat-panel-description","*"];function r(o,a){o&1&&(zt(0,"span",1),hi(),zt(1,"svg",2),$n(2,"path",3),ln()())}return F({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:13,hostBindings:function(a,s){a&1&&j("click",function(){return s._toggle()})("keydown",function(c){return s._keydown(c)}),a&2&&(ye("id",s.panel._headerId)("tabindex",s.disabled?-1:s.tabIndex)("aria-controls",s._getPanelId())("aria-expanded",s._isExpanded())("aria-disabled",s.panel.disabled),Qr("height",s._getHeaderHeight()),ie("mat-expanded",s._isExpanded())("mat-expansion-toggle-indicator-after",s._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",s._getTogglePosition()==="before"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",o=>o==null?0:Gn(o)]},ngContentSelectors:i,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(a,s){a&1&&(ct(e),zt(0,"span",0),Ee(1),Ee(2,1),Ee(3,2),ln(),Q(4,r,3,0,"span",1)),a&2&&(ie("mat-content-hide-toggle",!s._showToggle()),x(4),Z(s._showToggle()?4:-1))},styles:[`.mat-expansion-panel-header { +`],encapsulation:2})})()}return t})();var j0=(()=>{class t{panel=u(V0,{host:!0});_element=u($);_focusMonitor=u(Yn);_changeDetectorRef=u(We);_parentChangeSubscription=xe.EMPTY;constructor(){u(Dt).load(Si);let e=this.panel,i=u(KA,{optional:!0}),r=u(new Ui("tabindex"),{optional:!0}),o=e.accordion?e.accordion._stateChanges.pipe(Me(a=>!!(a.hideToggle||a.togglePosition))):xt;this.tabIndex=parseInt(r||"")||0,this._parentChangeSubscription=rn(e.opened,e.closed,o,e._inputChanges.pipe(Me(a=>!!(a.hideToggle||a.disabled||a.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(Me(()=>e._containsFocus())).subscribe(()=>this._focusMonitor.focusVia(this._element,"program")),i&&(this.expandedHeight=i.expandedHeight,this.collapsedHeight=i.collapsedHeight)}expandedHeight;collapsedHeight;tabIndex=0;get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:Ht(e)||(e.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e);return}}focus(e,i){e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],i=["mat-panel-title","mat-panel-description","*"];function r(o,a){o&1&&(zt(0,"span",1),$n(),zt(1,"svg",2),Gn(2,"path",3),ln()())}return F({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:13,hostBindings:function(a,s){a&1&&j("click",function(){return s._toggle()})("keydown",function(c){return s._keydown(c)}),a&2&&(ye("id",s.panel._headerId)("tabindex",s.disabled?-1:s.tabIndex)("aria-controls",s._getPanelId())("aria-expanded",s._isExpanded())("aria-disabled",s.panel.disabled),Qr("height",s._getHeaderHeight()),ie("mat-expanded",s._isExpanded())("mat-expansion-toggle-indicator-after",s._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",s._getTogglePosition()==="before"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",o=>o==null?0:Wn(o)]},ngContentSelectors:i,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(a,s){a&1&&(ct(e),zt(0,"span",0),Ee(1),Ee(2,1),Ee(3,2),ln(),Q(4,r,3,0,"span",1)),a&2&&(ie("mat-content-hide-toggle",!s._showToggle()),x(4),Z(s._showToggle()?4:-1))},styles:[`.mat-expansion-panel-header { display: flex; flex-direction: row; align-items: center; @@ -3467,7 +3467,7 @@ div.mat-mdc-select-panel { border-top-right-radius: 0; } } -`],encapsulation:2})})()}return t})(),QA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]})}return t})(),ZA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return t})(),XA=(()=>{class t extends GA{_keyManager;_ownHeaders=new ni;_headers;hideToggle=!1;displayMode="default";togglePosition="after";ngAfterContentInit(){this._headers.changes.pipe(vt(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(i=>i.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new so(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Zt(t)))(r||t)}})();static \u0275dir=B({type:t,selectors:[["mat-accordion"]],contentQueries:function(i,r,o){if(i&1&&mn(o,j0,5),i&2){let a;X(a=J())&&(r._headers=a)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(i,r){i&2&&ie("mat-accordion-multi",r.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",G],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[Xe([{provide:L0,useExisting:t}]),Ge]})}return t})(),JA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({imports:[qA,to,Qe]})}return t})();function X3(t,n){if(t&1&&(b(0,"li")(1,"uds-translate"),S(2,"Detected proxy ip"),v(),S(3),v()),t&2){let e=N(2);x(3),Ke(": ",e.api.staffInfo.ip_proxy)}}function J3(t,n){if(t&1&&(b(0,"li"),S(1),v()),t&2){let e=n.$implicit;x(),rt(e)}}function e$(t,n){if(t&1&&(b(0,"li"),S(1),v()),t&2){let e=n.$implicit;x(),rt(e)}}function t$(t,n){if(t&1&&(b(0,"li"),S(1),v()),t&2){let e=n.$implicit;x(),rt(e)}}function n$(t,n){if(t&1&&(b(0,"div",0)(1,"h1")(2,"uds-translate"),S(3,"Information"),v()(),b(4,"mat-accordion")(5,"mat-expansion-panel")(6,"mat-expansion-panel-header",1)(7,"mat-panel-title"),S(8," IPs "),v(),b(9,"mat-panel-description")(10,"uds-translate"),S(11,"Client IP"),v()()(),b(12,"ol")(13,"li")(14,"uds-translate"),S(15,"Client IP"),v(),S(16),v(),Q(17,X3,4,1,"li"),v()(),b(18,"mat-expansion-panel")(19,"mat-expansion-panel-header",1)(20,"mat-panel-title")(21,"uds-translate"),S(22,"Transports"),v()(),b(23,"mat-panel-description")(24,"uds-translate"),S(25,"UDS transports for this client"),v()()(),b(26,"ol"),Nt(27,J3,2,1,"li",null,Xt),v()(),b(29,"mat-expansion-panel")(30,"mat-expansion-panel-header",1)(31,"mat-panel-title")(32,"uds-translate"),S(33,"Networks"),v()(),b(34,"mat-panel-description")(35,"uds-translate"),S(36,"UDS networks for this IP"),v()()(),b(37,"ol"),Nt(38,e$,2,1,"li",null,Xt),v()(),b(40,"mat-expansion-panel")(41,"mat-expansion-panel-header",1)(42,"mat-panel-title")(43,"uds-translate"),S(44,"Groups"),v()(),b(45,"mat-panel-description")(46,"uds-translate"),S(47,"UDS groups for this user"),v()()(),b(48,"ol"),Nt(49,t$,2,1,"li",null,Xt),v()()()()),t&2){let e=N();x(16),Ke(": ",e.api.staffInfo.ip),x(),Z(e.api.staffInfo.ip_proxy!==e.api.staffInfo.ip?17:-1),x(10),At(e.api.staffInfo.transports),x(11),At(e.api.staffInfo.networks),x(11),At(e.api.staffInfo.groups)}}var eR=(()=>{class t{constructor(){this.api=u(ze)}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-staff-info"]],standalone:!1,decls:1,vars:1,consts:[[1,"staff-info"],[1,"staff-panel"]],template:function(i,r){i&1&&Q(0,n$,51,2,"div",0),i&2&&Z(r.api.staffInfo?0:-1)},dependencies:[XA,V0,j0,ZA,QA,yt],styles:[".staff-info[_ngcontent-%COMP%]{margin-top:1.5rem;padding:1.5rem;background-color:var(--%NS%glass-bg)!important;backdrop-filter:var(--%NS%glass-backdrop-filter)!important;-webkit-backdrop-filter:var(--%NS%glass-backdrop-filter)!important;border:1px solid var(--%NS%glass-border)!important;box-shadow:var(--%NS%glass-shadow)!important;border-radius:20px!important;color:var(--%NS%text-primary)}.staff-info[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:1.25rem;font-weight:500;letter-spacing:.5px;text-align:center}.staff-info[_ngcontent-%COMP%] .mat-accordion{background-color:transparent!important}.staff-info[_ngcontent-%COMP%] .mat-expansion-panel{background-color:transparent!important;box-shadow:none!important;border-bottom:1px solid var(--%NS%glass-border)!important;border-radius:0!important;color:var(--%NS%text-primary)!important}.staff-info[_ngcontent-%COMP%] .mat-expansion-panel:last-child{border-bottom:none!important}.staff-info[_ngcontent-%COMP%] .mat-expansion-panel-header{background-color:transparent!important;padding:0 8px!important}.staff-info[_ngcontent-%COMP%] .mat-expansion-panel-header:hover{background-color:var(--%NS%glass-hover-bg)!important}.staff-info[_ngcontent-%COMP%] .mat-expansion-panel-header-title, .staff-info[_ngcontent-%COMP%] .mat-expansion-panel-header-description{color:var(--%NS%text-primary)!important;opacity:.9}.staff-info[_ngcontent-%COMP%] .mat-expansion-panel-body{padding:16px!important}.staff-info[_ngcontent-%COMP%] .mat-expansion-panel-body ol{margin:0;padding-left:20px}.staff-info[_ngcontent-%COMP%] .mat-expansion-panel-body ol li{margin-bottom:8px;opacity:.85}"],changeDetection:1})}}return t})();var r$=["input"];function o$(t,n){if(t&1){let e=Be();b(0,"button",6),j("click",function(){we(e);let r=N(),o=Et(6);return o.value="",Se(r.update(""))}),b(1,"i",7),S(2,"close"),v()()}}function a$(t,n){t&1&&(b(0,"i",5),S(1,"search"),v())}var tR=(()=>{class t{constructor(){this.updateEvent=new H,this.input=void 0}ngAfterViewInit(){if(this.input===void 0)throw new Error("input atrribute is not provided");let e=this.input;gc(e.nativeElement,"keyup").pipe(Me(Boolean),Ai(600),Ms(),wn(()=>this.update(e.nativeElement.value))).subscribe()}update(e){this.updateEvent.emit(e.toLowerCase())}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-filter"]],viewQuery:function(i,r){if(i&1&&it(r$,7),i&2){let o;X(o=J())&&(r.input=o.first)}},outputs:{updateEvent:"updateEvent"},standalone:!1,decls:9,vars:1,consts:[["input",""],[1,"filter"],["floatLabel","auto",1,"nav-input-field"],["matInput","","type","text",3,"input"],["mat-icon-button","","matSuffix",""],["matSuffix","",1,"material-icons"],["mat-icon-button","","matSuffix","",3,"click"],[1,"material-icons"]],template:function(i,r){if(i&1){let o=Be();b(0,"div",1)(1,"mat-form-field",2)(2,"mat-label")(3,"uds-translate"),S(4,"Filter"),v()(),b(5,"input",3,0),j("input",function(){we(o);let s=Et(6);return Se(r.update(s.value))}),v(),Q(7,o$,3,0,"button",4)(8,a$,2,0,"i",5),v()()}if(i&2){let o=Et(6);x(7),Z(o.value?7:8)}},dependencies:[iu,Mr,Xi,v0,ia,yt],styles:[".filter[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;font-size:.8rem}.filter[_ngcontent-%COMP%] .nav-input-field .mdc-text-field--filled{background-color:var(--%NS%glass-bg)!important;backdrop-filter:var(--%NS%glass-backdrop-filter)!important;-webkit-backdrop-filter:var(--%NS%glass-backdrop-filter)!important;border:1px solid var(--%NS%glass-border)!important;border-radius:20px!important;padding:0 16px!important}.filter[_ngcontent-%COMP%] .nav-input-field .mdc-text-field--%NS%filled:before{display:none!important}.filter[_ngcontent-%COMP%] .nav-input-field .mdc-line-ripple{display:none!important}.filter[_ngcontent-%COMP%] .nav-input-field .mat-mdc-form-field-flex{padding:0!important}.filter[_ngcontent-%COMP%] .nav-input-field .mat-mdc-form-field-infix{padding-top:12px!important;padding-bottom:12px!important;min-height:auto!important}.filter[_ngcontent-%COMP%] .nav-input-field .mat-mdc-form-field-subscript-wrapper{display:none!important}.filter[_ngcontent-%COMP%] .nav-input-field input{color:var(--%NS%text-primary)!important}.filter[_ngcontent-%COMP%] .nav-input-field .mdc-floating-label--float-above{opacity:0!important;transition:opacity .2s ease!important}.filter[_ngcontent-%COMP%] .nav-input-field.mat-form-field-should-float .mdc-floating-label{opacity:0!important}.filter[_ngcontent-%COMP%] .nav-input-field.mat-focused .mdc-floating-label{opacity:0!important} .dark-theme .nav-input-field.mat-focused .mdc-floating-label, .dark-theme .nav-input-field.mat-form-field-should-float .mdc-floating-label{color:#ffffffe6!important}"],changeDetection:1})}}return t})();var l$=["tabGroup"];function c$(t,n){if(t&1){let e=Be();b(0,"div")(1,"uds-filter",5),j("updateEvent",function(r){we(e);let o=N();return Se(o.update(r))}),v()()}if(t&2){let e=N();Rt(e.api.config.site_filter_on_top?"filter-top":"filter-bottom")}}function d$(t,n){if(t&1&&(b(0,"div",9),Y(1,"img",10),b(2,"span",11),S(3),v()()),t&2){let e=N().$implicit,i=N();x(),P("src",i.api.galleryImageURL(e.group.imageUuid)),x(),P("matTooltip",e.group.name)("matTooltipDisabled",e.group.name.length<20),x(),rt(e.group.name)}}function u$(t,n){if(t&1){let e=Be();b(0,"mat-tab"),sn(1,d$,4,4,"ng-template",6),b(2,"div",7)(3,"uds-services-group",8),j("favoriteChanged",function(r){we(e);let o=N();return Se(o.onFavoriteChanged(r))}),v()()()}if(t&2){let e=n.$implicit,i=N();x(3),P("services",e.services)("group",e.group)("expanded",!0)("enableFavoriteServices",i.api.config.enable_favorite_services)}}var nR={id:"favorites",name:django.gettext("Favorites"),comments:"",imageUuid:"x",priority:-1},Kh=class{constructor(n){this.group=n,this.services=[]}isFavoritesGroup(){return this.group.id===nR.id}},iR=(()=>{class t{constructor(){this.api=u(ze),this.host=u($),this.zone=u(O),this.servicesInformation={autorun:!1,services:[]},this.group=[],this.onTabsWheel=e=>{let i=e.target.closest(".mat-mdc-tab-header");if(!i)return;let r=Math.abs(e.deltaX)>Math.abs(e.deltaY)?e.deltaX:e.deltaY;if(r===0)return;let o=r>0?"after":"before",a=i.querySelector(`.mat-mdc-tab-header-pagination-${o}`);!a||a.classList.contains("mat-mdc-tab-header-pagination-disabled")||(e.preventDefault(),a.click())}}ngAfterViewInit(){this.zone.runOutsideAngular(()=>{this.host.nativeElement.addEventListener("wheel",this.onTabsWheel,{passive:!1})}),this.relaxPaginationThreshold()}relaxPaginationThreshold(){let e=this.tabGroup._tabHeader;if(!e)return;let i=e._checkPaginationEnabled.bind(e);e._checkPaginationEnabled=()=>{i();let r=e._tabListInner.nativeElement.scrollWidth,o=e._elementRef.nativeElement.offsetWidth;!e._showPaginationControls&&!e.disablePagination&&r>o&&(e._showPaginationControls=!0,e._changeDetectorRef.markForCheck())},e.updatePagination()}ngOnDestroy(){this.host.nativeElement.removeEventListener("wheel",this.onTabsWheel)}update(e){this.updateServices(e)}onFavoriteChanged(e){this.loadServices()}ngOnInit(){this.api.config.urls.launch?this.api.logout():this.loadServices()}autorun(){if(this.servicesInformation.autorun&&this.servicesInformation.services.length===1)if(this.servicesInformation.services[0].maintenance)this.api.gui.alert(django.gettext("Warning"),django.gettext("Service is in maintenance and cannot be executed"));else return this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(this.servicesInformation.services[0].transports[0].link),!0;return!1}loadServices(){this.api.user.isRestricted&&this.api.logout(),this.api.getServicesInformation().then(e=>{this.servicesInformation=e,this.autorun(),this.updateServices()})}updateServices(e=""){let i=new Kh(nR);this.group=[];let r=new Map;this.servicesInformation.services.filter(o=>!e||o.visual_name.toLowerCase().includes(e)||o.group.name.toLowerCase().includes(e)).forEach(o=>{o.favorite&&i.services.push(o),r.has(o.group.id)||r.set(o.group.id,new Kh(o.group)),r.get(o.group.id).services.push(o)}),this.group=Array.from(r.values()).filter(o=>o.services.length>0).sort((o,a)=>o.group.priority!==a.group.priority?o.group.priority-a.group.priority:o.group.id>a.group.id?1:o.group.id0&&this.api.config.enable_favorite_services&&this.group.unshift(i)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-services-page"]],viewQuery:function(i,r){if(i&1&&it(l$,5),i&2){let o;X(o=J())&&(r.tabGroup=o.first)}},standalone:!1,decls:8,vars:3,consts:[["tabGroup",""],[1,"services-container"],[3,"class"],[1,"services-groups"],["mat-stretch-tabs","false","mat-align-tabs","start",1,"modern-tabs"],[3,"updateEvent"],["mat-tab-label",""],[1,"tab-content"],[3,"favoriteChanged","services","group","expanded","enableFavoriteServices"],[1,"tab-label"],[1,"tab-icon",3,"src"],["matTooltipShowDelay","1000",3,"matTooltip","matTooltipDisabled"]],template:function(i,r){i&1&&(b(0,"div",1),Q(1,c$,2,2,"div",2),b(2,"div",3)(3,"mat-tab-group",4,0),Nt(5,u$,4,4,"mat-tab",null,Xt),v()(),Y(7,"uds-staff-info"),v()),i&2&&(x(),Z(r.servicesInformation.services.length>=r.api.config.min_for_filter?1:-1),x(2),ie("has-filter",r.servicesInformation.services.length>=r.api.config.min_for_filter),x(2),At(r.group))},dependencies:[yu,A0,R0,LA,$A,eR,tR],styles:[".services-container[_ngcontent-%COMP%]{position:relative;padding-top:30px;padding-left:2%;padding-right:2%;--%NS%filter-w: 260px}@media only screen and (max-width:744px){.services-container[_ngcontent-%COMP%]{padding-top:25px;padding-left:10px;padding-right:10px}}.services-groups[_ngcontent-%COMP%]{padding-top:0;position:relative;z-index:1}.filter-top[_ngcontent-%COMP%], .filter-bottom[_ngcontent-%COMP%]{position:absolute;top:44px;right:2%;width:var(--%NS%filter-w);z-index:10;pointer-events:none}.filter-top[_ngcontent-%COMP%] .nav-input-field, .filter-bottom[_ngcontent-%COMP%] .nav-input-field{width:100%}.services-groups[_ngcontent-%COMP%] .modern-tabs.has-filter .mat-mdc-tab-header{margin-right:calc(var(--%NS%filter-w) + 12px);max-width:calc(100% - var(--%NS%filter-w) - 12px)}.tab-content[_ngcontent-%COMP%]{padding-top:1rem}.filter-top[_ngcontent-%COMP%] uds-filter, .filter-bottom[_ngcontent-%COMP%] uds-filter{pointer-events:auto}@media only screen and (max-width:744px){.filter-top[_ngcontent-%COMP%], .filter-bottom[_ngcontent-%COMP%]{position:relative;top:0;right:0;width:auto;margin-bottom:1rem;pointer-events:auto;display:flex;justify-content:flex-end}.services-groups[_ngcontent-%COMP%] .modern-tabs.has-filter .mat-mdc-tab-header{margin-right:0;max-width:100%}.filter-top[_ngcontent-%COMP%] .nav-input-field, .filter-bottom[_ngcontent-%COMP%] .nav-input-field{width:auto}}"],changeDetection:1})}}return t})();var rR=(()=>{class t{constructor(){this.api=u(ze),this.route=u(Wi),this.error="",this.returnUrl="/"}ngOnInit(){return z(this,null,function*(){yield this.getError()})}getError(){return z(this,null,function*(){let e=this.route.snapshot.paramMap.get("id")||"-1";e==="19"&&(this.returnUrl="/mfa"),this.error=(yield this.api.getErrorInformation(e)).error})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-error"]],standalone:!1,decls:14,vars:2,consts:[[1,"error-container"],[1,"graph"],["viewBox","0 0 55 41","xmlns","http://www.w3.org/2000/svg",1,"bird"],["d","M35.5 5L54.7.6H32.3L35.5 5zM12.4 40.8l10.3-10.1-6.2-6.7-4.1 16.8zM33.8 5.3L30.5.8l-5.4 4 8.7.5zM20.8 4.6L8.8 0l1.9 4.1 10.1.5zM0 5l15.2 15.4 7.5-14.2L0 5zM34.2 6.8l-9.9-.5-8 15.2 7.4 8.1 8-7.9 2.5-14.9z"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 32 32",1,"gears"],["d","M29.18 19.07c-1.678-2.908-.668-6.634 2.256-8.328L28.29 5.295c-.897.527-1.942.83-3.057.83-3.36 0-6.085-2.743-6.085-6.126h-6.29c.01 1.043-.25 2.102-.81 3.07-1.68 2.907-5.41 3.896-8.34 2.21L.566 10.727c.905.515 1.69 1.268 2.246 2.234 1.677 2.904.673 6.624-2.24 8.32l3.145 5.447c.895-.522 1.935-.82 3.044-.82 3.35 0 6.066 2.725 6.083 6.092h6.29c-.004-1.035.258-2.08.81-3.04 1.676-2.902 5.4-3.893 8.325-2.218l3.145-5.447c-.9-.515-1.678-1.266-2.232-2.226zM16 22.48c-3.578 0-6.48-2.902-6.48-6.48S12.423 9.52 16 9.52c3.578 0 6.48 2.902 6.48 6.48s-2.902 6.48-6.48 6.48z"],[1,"title"],[1,"description"],["mat-raised-button","","color","warn",3,"routerLink"]],template:function(i,r){i&1&&(b(0,"div",0)(1,"div",1),hi(),b(2,"svg",2),Y(3,"path",3),v(),b(4,"svg",4),Y(5,"path",5),v()(),Vs(),b(6,"h1",6)(7,"uds-translate"),S(8,"An error has occurred"),v()(),b(9,"p",7),S(10),v(),b(11,"a",8)(12,"uds-translate"),S(13,"Return"),v()()()),i&2&&(x(10),Ke(" ",r.error," "),x(),P("routerLink",r.returnUrl))},dependencies:[qo,Ei,yt],styles:[".error-container[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;position:relative}.title[_ngcontent-%COMP%]{display:block;font-size:2rem;font-weight:lighter;text-align:center}.description[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:lighter}.graph[_ngcontent-%COMP%]{position:relative}.gears[_ngcontent-%COMP%]{width:10rem;height:10rem;fill:#6aafe6;transition:easeInOutQuint();animation:_ngcontent-%COMP%_CogAnimation 5s infinite}.bird[_ngcontent-%COMP%]{position:absolute;width:3rem;height:3rem;fill:#30a9de;left:50%;top:50%;transform:translate(-50%,-50%)}@keyframes _ngcontent-%COMP%_CogAnimation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"],changeDetection:1})}}return t})();var oR=(()=>{class t{constructor(){this.api=u(ze),this.year=new Date().getFullYear()}ngOnInit(){this.year<2021&&(this.year=2021)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-about"]],standalone:!1,decls:46,vars:3,consts:[[1,"about"],["rel","noopener noreferrer","href","http://www.udsenterprise.com","target","_blank"],["rel","noopener noreferrer","href","https://github.com/dkmstr/openuds","target","_blank"],[1,"components"],["rel","noopener noreferrer","href","https://www.python.org/","target","_blank"],["rel","noopener noreferrer","href","https://www.typescriptlang.org/","target","_blank"],["rel","noopener noreferrer","href","https://www.djangoproject.com/","target","_blank"],["rel","noopener noreferrer","href","https://angular.io","target","_blank"],["rel","noopener noreferrer","href","https://guac-dev.org/","target","_blank"],["rel","noopener noreferrer","href","https://weasyprint.org/","target","_blank"],["rel","noopener noreferrer","href","https://kde-look.org/content/show.php/Crystal+Project?content=60475)","target","_blank"],["rel","noopener noreferrer","href","https://github.com/NitruxSA/flattr-icons","target","_blank"]],template:function(i,r){i&1&&(b(0,"div",0)(1,"h1"),S(2),v(),b(3,"h3")(4,"a",1),S(5),v()(),b(6,"h4")(7,"uds-translate"),S(8,"You can access UDS Open Source code at"),v(),S(9,"\xA0"),b(10,"a",2),S(11,"OpenUDS github repository"),v()(),b(12,"div",3)(13,"h2")(14,"uds-translate"),S(15,"UDS has been developed using these components:"),v()(),b(16,"ul")(17,"li")(18,"a",4),S(19,"Python"),v()(),b(20,"li")(21,"a",5),S(22,"TypeScript"),v()(),b(23,"li")(24,"a",6),S(25,"Django"),v()(),b(26,"li")(27,"a",7),S(28,"Angular"),v()(),b(29,"li")(30,"a",8),S(31,"Guacamole"),v()(),b(32,"li")(33,"a",9),S(34,"weasyprint"),v()(),b(35,"li")(36,"a",10),S(37,"Crystal project icons"),v()(),b(38,"li")(39,"a",11),S(40,"Flattr Icons"),v()()(),b(41,"p")(42,"small"),S(43,"* "),b(44,"uds-translate"),S(45,"If you find that we missed any component, please let us know"),v()()()()()),i&2&&(x(2),Hf("Universal Desktop Services ",r.api.config.version," build ",r.api.config.version_stamp),x(3),Ke(" \xA9 2012-",r.year," Virtual Cable S.L.U."))},dependencies:[yt],styles:["[_nghost-%COMP%]{display:flex;flex-flow:column;justify-content:center;align-items:center}.about[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{text-align:center}.about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:center;font-size:1em;font-weight:400}.about[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{padding:0}ul[_ngcontent-%COMP%]{list-style:none}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;text-decoration:none;color:#000;background-color:#fff;line-height:30px;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#ccc;padding-left:10px;cursor:pointer}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#3e6b2d}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:10px} .dark-theme .about, .dark-theme .about h3 a, .dark-theme .about h4 a{color:#fff!important} .dark-theme ul li a{color:#fff!important;background-color:inherit!important} .dark-theme ul li a:hover{color:#3e6b2d!important}"],changeDetection:1})}}return t})();var aR=(()=>{class t{constructor(){this.api=u(ze)}ngOnInit(){this.api.config.urls.launch&&this.api.launchURL(this.api.config.urls.launch)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-launcher"]],standalone:!1,decls:24,vars:0,consts:[[1,"launcher"],[1,"launcher-box"],["routerLink","/launcher-download"]],template:function(i,r){i&1&&(b(0,"div",0)(1,"div",1)(2,"h1")(3,"uds-translate"),S(4,"UDS Service launcher"),v()(),b(5,"h4")(6,"uds-translate"),S(7,"The service you have requested is being launched."),v()(),b(8,"h5")(9,"uds-translate"),S(10,"Please, note that reloading this page will not work."),v()(),b(11,"h5")(12,"uds-translate"),S(13,"To relaunch service, you will have to do it from origin."),v()(),b(14,"h6")(15,"uds-translate"),S(16,"If the service does not launchs automatically, probably you dont have %(launcher)s installed"),v()(),b(17,"h6")(18,"uds-translate"),S(19,"You can obtain it from the"),v(),S(20,"\xA0"),b(21,"a",2)(22,"uds-translate"),S(23,"%(launcher)s download page"),v()()()()())},dependencies:[qo,yt],styles:[".launcher[_ngcontent-%COMP%]{justify-content:center;display:flex;font-size:larger;color:var(--%NS%text-primary)}.launcher-box[_ngcontent-%COMP%]{padding:2.5rem;border-radius:20px;background-color:var(--%NS%glass-bg)!important;backdrop-filter:var(--%NS%glass-backdrop-filter)!important;-webkit-backdrop-filter:var(--%NS%glass-backdrop-filter)!important;border:1px solid var(--%NS%glass-border)!important;box-shadow:var(--%NS%glass-shadow)!important;transition:all .3s cubic-bezier(.25,.8,.25,1);max-width:600px;margin:0 1rem}.launcher-box[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2.2rem;margin-bottom:2rem;text-align:center;font-weight:500}.launcher-box[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:center;margin-bottom:1.5rem;opacity:.9}.launcher-box[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .launcher-box[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{margin-top:.8rem;margin-bottom:.8rem;font-weight:400;text-align:center;line-height:1.5;opacity:.8}.launcher-box[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--%NS%text-primary);text-decoration:underline;font-weight:500}.launcher-box[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{opacity:1;text-shadow:0 0 10px rgba(255,255,255,.3)}"],changeDetection:1})}}return t})();var sR=(()=>{class t{labelPosition="after";static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){return F({type:t,selectors:[["","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(r,o){r&2&&ie("mdc-form-field--align-end",o.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},ngContentSelectors:["*"],decls:1,vars:0,template:function(r,o){r&1&&(ct(),Ee(0))},styles:[`.mat-internal-form-field { +`],encapsulation:2})})()}return t})(),QA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]})}return t})(),ZA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return t})(),XA=(()=>{class t extends GA{_keyManager;_ownHeaders=new ii;_headers;hideToggle=!1;displayMode="default";togglePosition="after";ngAfterContentInit(){this._headers.changes.pipe(vt(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(i=>i.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new so(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Zt(t)))(r||t)}})();static \u0275dir=B({type:t,selectors:[["mat-accordion"]],contentQueries:function(i,r,o){if(i&1&&mn(o,j0,5),i&2){let a;X(a=J())&&(r._headers=a)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(i,r){i&2&&ie("mat-accordion-multi",r.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",G],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[Xe([{provide:L0,useExisting:t}]),Ge]})}return t})(),JA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({imports:[qA,to,Qe]})}return t})();function X3(t,n){if(t&1&&(b(0,"li")(1,"uds-translate"),S(2,"Detected proxy ip"),v(),S(3),v()),t&2){let e=N(2);x(3),Ke(": ",e.api.staffInfo.ip_proxy)}}function J3(t,n){if(t&1&&(b(0,"li"),S(1),v()),t&2){let e=n.$implicit;x(),rt(e)}}function e$(t,n){if(t&1&&(b(0,"li"),S(1),v()),t&2){let e=n.$implicit;x(),rt(e)}}function t$(t,n){if(t&1&&(b(0,"li"),S(1),v()),t&2){let e=n.$implicit;x(),rt(e)}}function n$(t,n){if(t&1&&(b(0,"div",0)(1,"h1")(2,"uds-translate"),S(3,"Information"),v()(),b(4,"mat-accordion")(5,"mat-expansion-panel")(6,"mat-expansion-panel-header",1)(7,"mat-panel-title"),S(8," IPs "),v(),b(9,"mat-panel-description")(10,"uds-translate"),S(11,"Client IP"),v()()(),b(12,"ol")(13,"li")(14,"uds-translate"),S(15,"Client IP"),v(),S(16),v(),Q(17,X3,4,1,"li"),v()(),b(18,"mat-expansion-panel")(19,"mat-expansion-panel-header",1)(20,"mat-panel-title")(21,"uds-translate"),S(22,"Transports"),v()(),b(23,"mat-panel-description")(24,"uds-translate"),S(25,"UDS transports for this client"),v()()(),b(26,"ol"),Nt(27,J3,2,1,"li",null,Xt),v()(),b(29,"mat-expansion-panel")(30,"mat-expansion-panel-header",1)(31,"mat-panel-title")(32,"uds-translate"),S(33,"Networks"),v()(),b(34,"mat-panel-description")(35,"uds-translate"),S(36,"UDS networks for this IP"),v()()(),b(37,"ol"),Nt(38,e$,2,1,"li",null,Xt),v()(),b(40,"mat-expansion-panel")(41,"mat-expansion-panel-header",1)(42,"mat-panel-title")(43,"uds-translate"),S(44,"Groups"),v()(),b(45,"mat-panel-description")(46,"uds-translate"),S(47,"UDS groups for this user"),v()()(),b(48,"ol"),Nt(49,t$,2,1,"li",null,Xt),v()()()()),t&2){let e=N();x(16),Ke(": ",e.api.staffInfo.ip),x(),Z(e.api.staffInfo.ip_proxy!==e.api.staffInfo.ip?17:-1),x(10),At(e.api.staffInfo.transports),x(11),At(e.api.staffInfo.networks),x(11),At(e.api.staffInfo.groups)}}var eR=(()=>{class t{constructor(){this.api=u(ze)}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-staff-info"]],standalone:!1,decls:1,vars:1,consts:[[1,"staff-info"],[1,"staff-panel"]],template:function(i,r){i&1&&Q(0,n$,51,2,"div",0),i&2&&Z(r.api.staffInfo?0:-1)},dependencies:[XA,V0,j0,ZA,QA,yt],styles:[".staff-info[_ngcontent-%COMP%]{margin-top:1.5rem;padding:1.5rem;background-color:var(--%NS%glass-bg)!important;backdrop-filter:var(--%NS%glass-backdrop-filter)!important;-webkit-backdrop-filter:var(--%NS%glass-backdrop-filter)!important;border:1px solid var(--%NS%glass-border)!important;box-shadow:var(--%NS%glass-shadow)!important;border-radius:20px!important;color:var(--%NS%text-primary)}.staff-info[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:1.25rem;font-weight:500;letter-spacing:.5px;text-align:center}.staff-info[_ngcontent-%COMP%] .mat-accordion{background-color:transparent!important}.staff-info[_ngcontent-%COMP%] .mat-expansion-panel{background-color:transparent!important;box-shadow:none!important;border-bottom:1px solid var(--%NS%glass-border)!important;border-radius:0!important;color:var(--%NS%text-primary)!important}.staff-info[_ngcontent-%COMP%] .mat-expansion-panel:last-child{border-bottom:none!important}.staff-info[_ngcontent-%COMP%] .mat-expansion-panel-header{background-color:transparent!important;padding:0 8px!important}.staff-info[_ngcontent-%COMP%] .mat-expansion-panel-header:hover{background-color:var(--%NS%glass-hover-bg)!important}.staff-info[_ngcontent-%COMP%] .mat-expansion-panel-header-title, .staff-info[_ngcontent-%COMP%] .mat-expansion-panel-header-description{color:var(--%NS%text-primary)!important;opacity:.9}.staff-info[_ngcontent-%COMP%] .mat-expansion-panel-body{padding:16px!important}.staff-info[_ngcontent-%COMP%] .mat-expansion-panel-body ol{margin:0;padding-left:20px}.staff-info[_ngcontent-%COMP%] .mat-expansion-panel-body ol li{margin-bottom:8px;opacity:.85}"],changeDetection:1})}}return t})();var r$=["input"];function o$(t,n){if(t&1){let e=Be();b(0,"button",6),j("click",function(){we(e);let r=N(),o=Et(6);return o.value="",Se(r.update(""))}),b(1,"i",7),S(2,"close"),v()()}}function a$(t,n){t&1&&(b(0,"i",5),S(1,"search"),v())}var tR=(()=>{class t{constructor(){this.updateEvent=new H,this.input=void 0}ngAfterViewInit(){if(this.input===void 0)throw new Error("input atrribute is not provided");let e=this.input;gc(e.nativeElement,"keyup").pipe(Me(Boolean),Ai(600),Is(),wn(()=>this.update(e.nativeElement.value))).subscribe()}update(e){this.updateEvent.emit(e.toLowerCase())}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-filter"]],viewQuery:function(i,r){if(i&1&&it(r$,7),i&2){let o;X(o=J())&&(r.input=o.first)}},outputs:{updateEvent:"updateEvent"},standalone:!1,decls:9,vars:1,consts:[["input",""],[1,"filter"],["floatLabel","auto",1,"nav-input-field"],["matInput","","type","text",3,"input"],["mat-icon-button","","matSuffix",""],["matSuffix","",1,"material-icons"],["mat-icon-button","","matSuffix","",3,"click"],[1,"material-icons"]],template:function(i,r){if(i&1){let o=Be();b(0,"div",1)(1,"mat-form-field",2)(2,"mat-label")(3,"uds-translate"),S(4,"Filter"),v()(),b(5,"input",3,0),j("input",function(){we(o);let s=Et(6);return Se(r.update(s.value))}),v(),Q(7,o$,3,0,"button",4)(8,a$,2,0,"i",5),v()()}if(i&2){let o=Et(6);x(7),Z(o.value?7:8)}},dependencies:[iu,Mr,Xi,v0,ra,yt],styles:[".filter[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;font-size:.8rem}.filter[_ngcontent-%COMP%] .nav-input-field .mdc-text-field--filled{background-color:var(--%NS%glass-bg)!important;backdrop-filter:var(--%NS%glass-backdrop-filter)!important;-webkit-backdrop-filter:var(--%NS%glass-backdrop-filter)!important;border:1px solid var(--%NS%glass-border)!important;border-radius:20px!important;padding:0 16px!important}.filter[_ngcontent-%COMP%] .nav-input-field .mdc-text-field--%NS%filled:before{display:none!important}.filter[_ngcontent-%COMP%] .nav-input-field .mdc-line-ripple{display:none!important}.filter[_ngcontent-%COMP%] .nav-input-field .mat-mdc-form-field-flex{padding:0!important}.filter[_ngcontent-%COMP%] .nav-input-field .mat-mdc-form-field-infix{padding-top:12px!important;padding-bottom:12px!important;min-height:auto!important}.filter[_ngcontent-%COMP%] .nav-input-field .mat-mdc-form-field-subscript-wrapper{display:none!important}.filter[_ngcontent-%COMP%] .nav-input-field input{color:var(--%NS%text-primary)!important}.filter[_ngcontent-%COMP%] .nav-input-field .mdc-floating-label--float-above{opacity:0!important;transition:opacity .2s ease!important}.filter[_ngcontent-%COMP%] .nav-input-field.mat-form-field-should-float .mdc-floating-label{opacity:0!important}.filter[_ngcontent-%COMP%] .nav-input-field.mat-focused .mdc-floating-label{opacity:0!important} .dark-theme .nav-input-field.mat-focused .mdc-floating-label, .dark-theme .nav-input-field.mat-form-field-should-float .mdc-floating-label{color:#ffffffe6!important}"],changeDetection:1})}}return t})();var l$=["tabGroup"];function c$(t,n){if(t&1){let e=Be();b(0,"div")(1,"uds-filter",5),j("updateEvent",function(r){we(e);let o=N();return Se(o.update(r))}),v()()}if(t&2){let e=N();Rt(e.api.config.site_filter_on_top?"filter-top":"filter-bottom")}}function d$(t,n){if(t&1&&(b(0,"div",9),q(1,"img",10),b(2,"span",11),S(3),v()()),t&2){let e=N().$implicit,i=N();x(),P("src",i.api.galleryImageURL(e.group.imageUuid)),x(),P("matTooltip",e.group.name)("matTooltipDisabled",e.group.name.length<20),x(),rt(e.group.name)}}function u$(t,n){if(t&1){let e=Be();b(0,"mat-tab"),sn(1,d$,4,4,"ng-template",6),b(2,"div",7)(3,"uds-services-group",8),j("favoriteChanged",function(r){we(e);let o=N();return Se(o.onFavoriteChanged(r))}),v()()()}if(t&2){let e=n.$implicit,i=N();x(3),P("services",e.services)("group",e.group)("expanded",!0)("enableFavoriteServices",i.api.config.enable_favorite_services)}}var nR={id:"favorites",name:django.gettext("Favorites"),comments:"",imageUuid:"x",priority:-1},Kh=class{constructor(n){this.group=n,this.services=[]}isFavoritesGroup(){return this.group.id===nR.id}},iR=(()=>{class t{constructor(){this.api=u(ze),this.host=u($),this.zone=u(O),this.servicesInformation={autorun:!1,services:[]},this.group=[],this.onTabsWheel=e=>{let i=e.target.closest(".mat-mdc-tab-header");if(!i)return;let r=Math.abs(e.deltaX)>Math.abs(e.deltaY)?e.deltaX:e.deltaY;if(r===0)return;let o=r>0?"after":"before",a=i.querySelector(`.mat-mdc-tab-header-pagination-${o}`);!a||a.classList.contains("mat-mdc-tab-header-pagination-disabled")||(e.preventDefault(),a.click())}}ngAfterViewInit(){this.zone.runOutsideAngular(()=>{this.host.nativeElement.addEventListener("wheel",this.onTabsWheel,{passive:!1})}),this.relaxPaginationThreshold()}relaxPaginationThreshold(){let e=this.tabGroup._tabHeader;if(!e)return;let i=e._checkPaginationEnabled.bind(e);e._checkPaginationEnabled=()=>{i();let r=e._tabListInner.nativeElement.scrollWidth,o=e._elementRef.nativeElement.offsetWidth;!e._showPaginationControls&&!e.disablePagination&&r>o&&(e._showPaginationControls=!0,e._changeDetectorRef.markForCheck())},e.updatePagination()}ngOnDestroy(){this.host.nativeElement.removeEventListener("wheel",this.onTabsWheel)}update(e){this.updateServices(e)}onFavoriteChanged(e){this.loadServices()}ngOnInit(){this.api.config.urls.launch?this.api.logout():this.loadServices()}autorun(){if(this.servicesInformation.autorun&&this.servicesInformation.services.length===1)if(this.servicesInformation.services[0].maintenance)this.api.gui.alert(django.gettext("Warning"),django.gettext("Service is in maintenance and cannot be executed"));else return this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(this.servicesInformation.services[0].transports[0].link),!0;return!1}loadServices(){this.api.user.isRestricted&&this.api.logout(),this.api.getServicesInformation().then(e=>{this.servicesInformation=e,this.autorun(),this.updateServices()})}updateServices(e=""){let i=new Kh(nR);this.group=[];let r=new Map;this.servicesInformation.services.filter(o=>!e||o.visual_name.toLowerCase().includes(e)||o.group.name.toLowerCase().includes(e)).forEach(o=>{o.favorite&&i.services.push(o),r.has(o.group.id)||r.set(o.group.id,new Kh(o.group)),r.get(o.group.id).services.push(o)}),this.group=Array.from(r.values()).filter(o=>o.services.length>0).sort((o,a)=>o.group.priority!==a.group.priority?o.group.priority-a.group.priority:o.group.id>a.group.id?1:o.group.id0&&this.api.config.enable_favorite_services&&this.group.unshift(i)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-services-page"]],viewQuery:function(i,r){if(i&1&&it(l$,5),i&2){let o;X(o=J())&&(r.tabGroup=o.first)}},standalone:!1,decls:8,vars:3,consts:[["tabGroup",""],[1,"services-container"],[3,"class"],[1,"services-groups"],["mat-stretch-tabs","false","mat-align-tabs","start",1,"modern-tabs"],[3,"updateEvent"],["mat-tab-label",""],[1,"tab-content"],[3,"favoriteChanged","services","group","expanded","enableFavoriteServices"],[1,"tab-label"],[1,"tab-icon",3,"src"],["matTooltipShowDelay","1000",3,"matTooltip","matTooltipDisabled"]],template:function(i,r){i&1&&(b(0,"div",1),Q(1,c$,2,2,"div",2),b(2,"div",3)(3,"mat-tab-group",4,0),Nt(5,u$,4,4,"mat-tab",null,Xt),v()(),q(7,"uds-staff-info"),v()),i&2&&(x(),Z(r.servicesInformation.services.length>=r.api.config.min_for_filter?1:-1),x(2),ie("has-filter",r.servicesInformation.services.length>=r.api.config.min_for_filter),x(2),At(r.group))},dependencies:[yu,A0,R0,LA,$A,eR,tR],styles:[".services-container[_ngcontent-%COMP%]{position:relative;padding-top:30px;padding-left:2%;padding-right:2%;--%NS%filter-w: 260px}@media only screen and (max-width:744px){.services-container[_ngcontent-%COMP%]{padding-top:25px;padding-left:10px;padding-right:10px}}.services-groups[_ngcontent-%COMP%]{padding-top:0;position:relative;z-index:1}.filter-top[_ngcontent-%COMP%], .filter-bottom[_ngcontent-%COMP%]{position:absolute;top:44px;right:2%;width:var(--%NS%filter-w);z-index:10;pointer-events:none}.filter-top[_ngcontent-%COMP%] .nav-input-field, .filter-bottom[_ngcontent-%COMP%] .nav-input-field{width:100%}.services-groups[_ngcontent-%COMP%] .modern-tabs.has-filter .mat-mdc-tab-header{margin-right:calc(var(--%NS%filter-w) + 12px);max-width:calc(100% - var(--%NS%filter-w) - 12px)}.tab-content[_ngcontent-%COMP%]{padding-top:1rem}.filter-top[_ngcontent-%COMP%] uds-filter, .filter-bottom[_ngcontent-%COMP%] uds-filter{pointer-events:auto}@media only screen and (max-width:744px){.filter-top[_ngcontent-%COMP%], .filter-bottom[_ngcontent-%COMP%]{position:relative;top:0;right:0;width:auto;margin-bottom:1rem;pointer-events:auto;display:flex;justify-content:flex-end}.services-groups[_ngcontent-%COMP%] .modern-tabs.has-filter .mat-mdc-tab-header{margin-right:0;max-width:100%}.filter-top[_ngcontent-%COMP%] .nav-input-field, .filter-bottom[_ngcontent-%COMP%] .nav-input-field{width:auto}}"],changeDetection:1})}}return t})();var rR=(()=>{class t{constructor(){this.api=u(ze),this.route=u(Wi),this.error="",this.returnUrl="/"}ngOnInit(){return z(this,null,function*(){yield this.getError()})}getError(){return z(this,null,function*(){let e=this.route.snapshot.paramMap.get("id")||"-1";e==="19"&&(this.returnUrl="/mfa"),this.error=(yield this.api.getErrorInformation(e)).error})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-error"]],standalone:!1,decls:14,vars:2,consts:[[1,"error-container"],[1,"graph"],["viewBox","0 0 55 41","xmlns","http://www.w3.org/2000/svg",1,"bird"],["d","M35.5 5L54.7.6H32.3L35.5 5zM12.4 40.8l10.3-10.1-6.2-6.7-4.1 16.8zM33.8 5.3L30.5.8l-5.4 4 8.7.5zM20.8 4.6L8.8 0l1.9 4.1 10.1.5zM0 5l15.2 15.4 7.5-14.2L0 5zM34.2 6.8l-9.9-.5-8 15.2 7.4 8.1 8-7.9 2.5-14.9z"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 32 32",1,"gears"],["d","M29.18 19.07c-1.678-2.908-.668-6.634 2.256-8.328L28.29 5.295c-.897.527-1.942.83-3.057.83-3.36 0-6.085-2.743-6.085-6.126h-6.29c.01 1.043-.25 2.102-.81 3.07-1.68 2.907-5.41 3.896-8.34 2.21L.566 10.727c.905.515 1.69 1.268 2.246 2.234 1.677 2.904.673 6.624-2.24 8.32l3.145 5.447c.895-.522 1.935-.82 3.044-.82 3.35 0 6.066 2.725 6.083 6.092h6.29c-.004-1.035.258-2.08.81-3.04 1.676-2.902 5.4-3.893 8.325-2.218l3.145-5.447c-.9-.515-1.678-1.266-2.232-2.226zM16 22.48c-3.578 0-6.48-2.902-6.48-6.48S12.423 9.52 16 9.52c3.578 0 6.48 2.902 6.48 6.48s-2.902 6.48-6.48 6.48z"],[1,"title"],[1,"description"],["mat-raised-button","","color","warn",3,"routerLink"]],template:function(i,r){i&1&&(b(0,"div",0)(1,"div",1),$n(),b(2,"svg",2),q(3,"path",3),v(),b(4,"svg",4),q(5,"path",5),v()(),Lo(),b(6,"h1",6)(7,"uds-translate"),S(8,"An error has occurred"),v()(),b(9,"p",7),S(10),v(),b(11,"a",8)(12,"uds-translate"),S(13,"Return"),v()()()),i&2&&(x(10),Ke(" ",r.error," "),x(),P("routerLink",r.returnUrl))},dependencies:[Yo,Ei,yt],styles:[".error-container[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;position:relative}.title[_ngcontent-%COMP%]{display:block;font-size:2rem;font-weight:lighter;text-align:center}.description[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:lighter}.graph[_ngcontent-%COMP%]{position:relative}.gears[_ngcontent-%COMP%]{width:10rem;height:10rem;fill:#6aafe6;transition:easeInOutQuint();animation:_ngcontent-%COMP%_CogAnimation 5s infinite}.bird[_ngcontent-%COMP%]{position:absolute;width:3rem;height:3rem;fill:#30a9de;left:50%;top:50%;transform:translate(-50%,-50%)}@keyframes _ngcontent-%COMP%_CogAnimation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"],changeDetection:1})}}return t})();var oR=(()=>{class t{constructor(){this.api=u(ze),this.year=new Date().getFullYear()}ngOnInit(){this.year<2021&&(this.year=2021)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-about"]],standalone:!1,decls:46,vars:3,consts:[[1,"about"],["rel","noopener noreferrer","href","http://www.udsenterprise.com","target","_blank"],["rel","noopener noreferrer","href","https://github.com/dkmstr/openuds","target","_blank"],[1,"components"],["rel","noopener noreferrer","href","https://www.python.org/","target","_blank"],["rel","noopener noreferrer","href","https://www.typescriptlang.org/","target","_blank"],["rel","noopener noreferrer","href","https://www.djangoproject.com/","target","_blank"],["rel","noopener noreferrer","href","https://angular.io","target","_blank"],["rel","noopener noreferrer","href","https://guac-dev.org/","target","_blank"],["rel","noopener noreferrer","href","https://weasyprint.org/","target","_blank"],["rel","noopener noreferrer","href","https://kde-look.org/content/show.php/Crystal+Project?content=60475)","target","_blank"],["rel","noopener noreferrer","href","https://github.com/NitruxSA/flattr-icons","target","_blank"]],template:function(i,r){i&1&&(b(0,"div",0)(1,"h1"),S(2),v(),b(3,"h3")(4,"a",1),S(5),v()(),b(6,"h4")(7,"uds-translate"),S(8,"You can access UDS Open Source code at"),v(),S(9,"\xA0"),b(10,"a",2),S(11,"OpenUDS github repository"),v()(),b(12,"div",3)(13,"h2")(14,"uds-translate"),S(15,"UDS has been developed using these components:"),v()(),b(16,"ul")(17,"li")(18,"a",4),S(19,"Python"),v()(),b(20,"li")(21,"a",5),S(22,"TypeScript"),v()(),b(23,"li")(24,"a",6),S(25,"Django"),v()(),b(26,"li")(27,"a",7),S(28,"Angular"),v()(),b(29,"li")(30,"a",8),S(31,"Guacamole"),v()(),b(32,"li")(33,"a",9),S(34,"weasyprint"),v()(),b(35,"li")(36,"a",10),S(37,"Crystal project icons"),v()(),b(38,"li")(39,"a",11),S(40,"Flattr Icons"),v()()(),b(41,"p")(42,"small"),S(43,"* "),b(44,"uds-translate"),S(45,"If you find that we missed any component, please let us know"),v()()()()()),i&2&&(x(2),Hf("Universal Desktop Services ",r.api.config.version," build ",r.api.config.version_stamp),x(3),Ke(" \xA9 2012-",r.year," Virtual Cable S.L.U."))},dependencies:[yt],styles:["[_nghost-%COMP%]{display:flex;flex-flow:column;justify-content:center;align-items:center}.about[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{text-align:center}.about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:center;font-size:1em;font-weight:400}.about[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{padding:0}ul[_ngcontent-%COMP%]{list-style:none}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;text-decoration:none;color:#000;background-color:#fff;line-height:30px;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#ccc;padding-left:10px;cursor:pointer}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#3e6b2d}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:10px} .dark-theme .about, .dark-theme .about h3 a, .dark-theme .about h4 a{color:#fff!important} .dark-theme ul li a{color:#fff!important;background-color:inherit!important} .dark-theme ul li a:hover{color:#3e6b2d!important}"],changeDetection:1})}}return t})();var aR=(()=>{class t{constructor(){this.api=u(ze)}ngOnInit(){this.api.config.urls.launch&&this.api.launchURL(this.api.config.urls.launch)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-launcher"]],standalone:!1,decls:24,vars:0,consts:[[1,"launcher"],[1,"launcher-box"],["routerLink","/launcher-download"]],template:function(i,r){i&1&&(b(0,"div",0)(1,"div",1)(2,"h1")(3,"uds-translate"),S(4,"UDS Service launcher"),v()(),b(5,"h4")(6,"uds-translate"),S(7,"The service you have requested is being launched."),v()(),b(8,"h5")(9,"uds-translate"),S(10,"Please, note that reloading this page will not work."),v()(),b(11,"h5")(12,"uds-translate"),S(13,"To relaunch service, you will have to do it from origin."),v()(),b(14,"h6")(15,"uds-translate"),S(16,"If the service does not launchs automatically, probably you dont have %(launcher)s installed"),v()(),b(17,"h6")(18,"uds-translate"),S(19,"You can obtain it from the"),v(),S(20,"\xA0"),b(21,"a",2)(22,"uds-translate"),S(23,"%(launcher)s download page"),v()()()()())},dependencies:[Yo,yt],styles:[".launcher[_ngcontent-%COMP%]{justify-content:center;display:flex;font-size:larger;color:var(--%NS%text-primary)}.launcher-box[_ngcontent-%COMP%]{padding:2.5rem;border-radius:20px;background-color:var(--%NS%glass-bg)!important;backdrop-filter:var(--%NS%glass-backdrop-filter)!important;-webkit-backdrop-filter:var(--%NS%glass-backdrop-filter)!important;border:1px solid var(--%NS%glass-border)!important;box-shadow:var(--%NS%glass-shadow)!important;transition:all .3s cubic-bezier(.25,.8,.25,1);max-width:600px;margin:0 1rem}.launcher-box[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2.2rem;margin-bottom:2rem;text-align:center;font-weight:500}.launcher-box[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:center;margin-bottom:1.5rem;opacity:.9}.launcher-box[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .launcher-box[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{margin-top:.8rem;margin-bottom:.8rem;font-weight:400;text-align:center;line-height:1.5;opacity:.8}.launcher-box[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--%NS%text-primary);text-decoration:underline;font-weight:500}.launcher-box[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{opacity:1;text-shadow:0 0 10px rgba(255,255,255,.3)}"],changeDetection:1})}}return t})();var sR=(()=>{class t{labelPosition="after";static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){return F({type:t,selectors:[["","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(r,o){r&2&&ie("mdc-form-field--align-end",o.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},ngContentSelectors:["*"],decls:1,vars:0,template:function(r,o){r&1&&(ct(),Ee(0))},styles:[`.mat-internal-form-field { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; display: inline-flex; @@ -3501,7 +3501,7 @@ div.mat-mdc-select-panel { padding-left: 4px; padding-right: 0; } -`],encapsulation:2})})()}return t})();var B0={color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1},m$=new C("mat-checkbox-default-options",{providedIn:"root",factory:()=>B0}),kn=(function(t){return t[t.Init=0]="Init",t[t.Checked=1]="Checked",t[t.Unchecked=2]="Unchecked",t[t.Indeterminate=3]="Indeterminate",t})(kn||{}),z0=class{source;checked},H0=(()=>{class t{_elementRef=u($);_changeDetectorRef=u(We);_ngZone=u(O);_animationsDisabled=dt();_options=u(m$,{optional:!0});_injector=u(ne);_signalFormField=null;focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let i=new z0;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required=!1;labelPosition="after";name=null;change=new H;indeterminateChange=new H;value;disableRipple=!1;_inputElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=kn.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){u(Dt).load(Si);let e=u(new Ui("tabindex"),{optional:!0});this._options=this._options||B0,this.color=this._options.color||B0.color,this.tabIndex=e==null?0:parseInt(e)||0,this.id=this._uniqueId=u(st).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngOnInit(){this._signalFormField=this._injector.get(Wl,void 0,{optional:!0,self:!0})}ngAfterViewInit(){this._syncIndeterminate(this.indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate()}set indeterminate(e){let i=e!=this._indeterminate();this._indeterminate.set(e),i&&(e?this._transitionCheckState(kn.Indeterminate):this._transitionCheckState(this.checked?kn.Checked:kn.Unchecked),this.indeterminateChange.emit(e)),this._syncIndeterminate(e)}_indeterminate=he(!1);_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0&&!this._signalFormField?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let i=this._currentCheckState,r=this._getAnimationTargetElement();if(!(i===e||!r)&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);let o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate.set(!1),this.indeterminateChange.emit(!1)}),this._checked=!this._checked,this._transitionCheckState(this._checked?kn.Checked:kn.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if(this._animationsDisabled)return"";switch(e){case kn.Init:if(i===kn.Checked)return this._animationClasses.uncheckedToChecked;if(i==kn.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case kn.Unchecked:return i===kn.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case kn.Checked:return i===kn.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case kn.Indeterminate:return i===kn.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_preventBubblingFromLabel(e){e.target&&this._inputElement&&e.target!==this._inputElement.nativeElement&&e.stopPropagation()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=["input"],i=["*"];return F({type:t,selectors:[["mat-checkbox"]],viewQuery:function(o,a){if(o&1&&it(e,5),o&2){let s;X(s=J())&&(a._inputElement=s.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(o,a){o&2&&(On("id",a.id),ye("tabindex",null)("aria-label",null)("aria-labelledby",null),Rt(a.color?"mat-"+a.color:"mat-accent"),ie("_mat-animation-noopable",a._animationsDisabled)("mdc-checkbox--disabled",a.disabled)("mat-mdc-checkbox-disabled",a.disabled)("mat-mdc-checkbox-checked",a.checked)("mat-mdc-checkbox-disabled-interactive",a.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",G],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",G],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",G],tabIndex:[2,"tabIndex","tabIndex",r=>r==null?void 0:Gn(r)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",G],checked:[2,"checked","checked",G],disabled:[2,"disabled","disabled",G],indeterminate:[2,"indeterminate","indeterminate",G]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[Xe([{provide:Th,useExisting:Hn(()=>t),multi:!0},{provide:Ul,useExisting:t,multi:!0}]),nt],ngContentSelectors:i,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition","for"],[1,"mdc-checkbox"],["aria-hidden","true",1,"mat-mdc-checkbox-touch-target"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],["aria-hidden","true",1,"mdc-checkbox__ripple"],["aria-hidden","true",1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","","aria-hidden","true",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-internal-form-field-label","mdc-label"]],template:function(o,a){if(o&1&&(ct(),b(0,"label",3),j("click",function(l){return a._preventBubblingFromLabel(l)}),b(1,"span",4,0),Y(3,"span",5),b(4,"input",6,1),j("blur",function(){return a._onBlur()})("click",function(){return a._onInputClick()})("change",function(l){return a._onInteractionEvent(l)}),v(),Y(6,"span",7),b(7,"span",8),hi(),b(8,"svg",9),Y(9,"path",10),v(),Vs(),Y(10,"span",11),v(),Y(11,"span",12),v(),b(12,"span",13,2),Ee(14),v()()),o&2){let s=Et(2);P("labelPosition",a.labelPosition)("for",a.inputId),x(4),ie("mdc-checkbox--selected",a.checked),P("checked",a.checked)("indeterminate",a.indeterminate)("disabled",a.disabled&&!a.disabledInteractive)("id",a.inputId)("required",a.required)("tabIndex",a.disabled&&!a.disabledInteractive?-1:a.tabIndex),ye("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby)("aria-describedby",a.ariaDescribedby)("aria-checked",a.indeterminate?"mixed":null)("aria-controls",a.ariaControls)("aria-disabled",a.disabled&&a.disabledInteractive?!0:null)("aria-expanded",a.ariaExpanded)("aria-owns",a.ariaOwns)("name",a.name)("value",a.value),x(7),P("matRippleTrigger",s)("matRippleDisabled",a.disableRipple||a.disabled)("matRippleCentered",!0)}},dependencies:[lo,sR],styles:[`.mdc-checkbox { +`],encapsulation:2})})()}return t})();var B0={color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1},m$=new C("mat-checkbox-default-options",{providedIn:"root",factory:()=>B0}),kn=(function(t){return t[t.Init=0]="Init",t[t.Checked=1]="Checked",t[t.Unchecked=2]="Unchecked",t[t.Indeterminate=3]="Indeterminate",t})(kn||{}),z0=class{source;checked},H0=(()=>{class t{_elementRef=u($);_changeDetectorRef=u(We);_ngZone=u(O);_animationsDisabled=dt();_options=u(m$,{optional:!0});_injector=u(ne);_signalFormField=null;focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let i=new z0;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required=!1;labelPosition="after";name=null;change=new H;indeterminateChange=new H;value;disableRipple=!1;_inputElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=kn.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){u(Dt).load(Si);let e=u(new Ui("tabindex"),{optional:!0});this._options=this._options||B0,this.color=this._options.color||B0.color,this.tabIndex=e==null?0:parseInt(e)||0,this.id=this._uniqueId=u(st).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngOnInit(){this._signalFormField=this._injector.get(Wl,void 0,{optional:!0,self:!0})}ngAfterViewInit(){this._syncIndeterminate(this.indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate()}set indeterminate(e){let i=e!=this._indeterminate();this._indeterminate.set(e),i&&(e?this._transitionCheckState(kn.Indeterminate):this._transitionCheckState(this.checked?kn.Checked:kn.Unchecked),this.indeterminateChange.emit(e)),this._syncIndeterminate(e)}_indeterminate=he(!1);_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0&&!this._signalFormField?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let i=this._currentCheckState,r=this._getAnimationTargetElement();if(!(i===e||!r)&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);let o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate.set(!1),this.indeterminateChange.emit(!1)}),this._checked=!this._checked,this._transitionCheckState(this._checked?kn.Checked:kn.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if(this._animationsDisabled)return"";switch(e){case kn.Init:if(i===kn.Checked)return this._animationClasses.uncheckedToChecked;if(i==kn.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case kn.Unchecked:return i===kn.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case kn.Checked:return i===kn.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case kn.Indeterminate:return i===kn.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_preventBubblingFromLabel(e){e.target&&this._inputElement&&e.target!==this._inputElement.nativeElement&&e.stopPropagation()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=["input"],i=["*"];return F({type:t,selectors:[["mat-checkbox"]],viewQuery:function(o,a){if(o&1&&it(e,5),o&2){let s;X(s=J())&&(a._inputElement=s.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(o,a){o&2&&(On("id",a.id),ye("tabindex",null)("aria-label",null)("aria-labelledby",null),Rt(a.color?"mat-"+a.color:"mat-accent"),ie("_mat-animation-noopable",a._animationsDisabled)("mdc-checkbox--disabled",a.disabled)("mat-mdc-checkbox-disabled",a.disabled)("mat-mdc-checkbox-checked",a.checked)("mat-mdc-checkbox-disabled-interactive",a.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",G],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",G],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",G],tabIndex:[2,"tabIndex","tabIndex",r=>r==null?void 0:Wn(r)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",G],checked:[2,"checked","checked",G],disabled:[2,"disabled","disabled",G],indeterminate:[2,"indeterminate","indeterminate",G]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[Xe([{provide:Th,useExisting:Hn(()=>t),multi:!0},{provide:Ul,useExisting:t,multi:!0}]),nt],ngContentSelectors:i,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition","for"],[1,"mdc-checkbox"],["aria-hidden","true",1,"mat-mdc-checkbox-touch-target"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],["aria-hidden","true",1,"mdc-checkbox__ripple"],["aria-hidden","true",1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","","aria-hidden","true",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-internal-form-field-label","mdc-label"]],template:function(o,a){if(o&1&&(ct(),b(0,"label",3),j("click",function(l){return a._preventBubblingFromLabel(l)}),b(1,"span",4,0),q(3,"span",5),b(4,"input",6,1),j("blur",function(){return a._onBlur()})("click",function(){return a._onInputClick()})("change",function(l){return a._onInteractionEvent(l)}),v(),q(6,"span",7),b(7,"span",8),$n(),b(8,"svg",9),q(9,"path",10),v(),Lo(),q(10,"span",11),v(),q(11,"span",12),v(),b(12,"span",13,2),Ee(14),v()()),o&2){let s=Et(2);P("labelPosition",a.labelPosition)("for",a.inputId),x(4),ie("mdc-checkbox--selected",a.checked),P("checked",a.checked)("indeterminate",a.indeterminate)("disabled",a.disabled&&!a.disabledInteractive)("id",a.inputId)("required",a.required)("tabIndex",a.disabled&&!a.disabledInteractive?-1:a.tabIndex),ye("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby)("aria-describedby",a.ariaDescribedby)("aria-checked",a.indeterminate?"mixed":null)("aria-controls",a.ariaControls)("aria-disabled",a.disabled&&a.disabledInteractive?!0:null)("aria-expanded",a.ariaExpanded)("aria-owns",a.ariaOwns)("name",a.name)("value",a.value),x(7),P("matRippleTrigger",s)("matRippleDisabled",a.disableRipple||a.disabled)("matRippleCentered",!0)}},dependencies:[lo,sR],styles:[`.mdc-checkbox { display: inline-block; position: relative; flex: 0 0 18px; @@ -3976,7 +3976,7 @@ div.mat-mdc-select-panel { .mdc-checkbox__native-control:focus-visible ~ .mat-focus-indicator::before { content: ""; } -`],encapsulation:2})})()}return t})(),lR=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({imports:[H0,Qe]})}return t})();function p$(t,n){if(t&1&&(b(0,"div",9)(1,"mat-checkbox",14)(2,"uds-translate"),S(3,"Remember me for"),v(),S(4),v()()),t&2){let e=N();x(4),Ke(" ",e.api.config.mfa.remember_device," ")}}function h$(t,n){t&1&&Y(0,"input",10)}function g$(t,n){if(t&1&&(b(0,"div",15),Y(1,"div",16),vi(2,"safeHtml"),v()),t&2){let e=N();ie("expanded",e.qrExpanded),x(),P("innerHtml",yi(2,3,e.api.config.mfa.html),gi)}}var cR=(()=>{class t{constructor(){this.api=u(ze),this.zone=u(O),this.qrExpanded=!1,this.resizing=!1,this.startX=0,this.startY=0,this.startSize=180,this.BASE_SIZE=180,this.MIN_SIZE=120,this.MAX_SIZE=480,this.boundMove=null,this.boundUp=null,this.handle=null,this.anchor=null,this.img=null,this.parent=null,this.repositionHandle=()=>{}}ngOnInit(){let e=document.getElementById("mfaform");e.action=this.api.config.urls.mfa,this.api.user.isLogged&&this.api.router.navigate(["/"]),this.api.errors.length>0&&this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")}ngAfterViewInit(){this.installHandle(),setTimeout(()=>this.repositionHandle(),100),setTimeout(()=>this.repositionHandle(),500)}ngOnDestroy(){this.detachListeners(),this.handle?.remove()}installHandle(){let e=document.querySelector(".mfa-html img");if(!e){setTimeout(()=>this.installHandle(),100);return}if(this.img=e,this.parent=e.parentElement,!this.parent)return;getComputedStyle(this.parent).position==="static"&&(this.parent.style.position="relative");let i=document.createElement("span");i.className="mfa-qr-resize",i.setAttribute("aria-hidden","true"),this.parent.appendChild(i),this.handle=i,this.anchor=i,this.repositionHandle=()=>{if(!this.img||!this.handle)return;let r=this.img.getBoundingClientRect(),o=this.parent.getBoundingClientRect();this.handle.style.cssText+=`; position: absolute !important; left: ${r.right-o.left-28}px !important; top: ${r.bottom-o.top-28}px !important; width: 22px !important; height: 22px !important;`},this.repositionHandle(),window.addEventListener("resize",this.repositionHandle),i.addEventListener("mousedown",r=>this.startResize(r)),i.addEventListener("touchstart",r=>this.startResize(r),{passive:!1})}launch(){return document.getElementById("mfaform").submit(),!0}toggleQr(){this.qrExpanded=!this.qrExpanded}startResize(e){if(!this.img)return;e.preventDefault(),e.stopPropagation(),this.resizing=!0,this.startX=this.pointX(e),this.startY=this.pointY(e);let i=this.img.getBoundingClientRect();this.startSize=Math.round(i.width),this.img.style.transition="none",document.body.style.userSelect="none",document.body.style.cursor="nwse-resize",this.boundMove=r=>this.onResizeMove(r),this.boundUp=()=>this.onResizeEnd(),this.zone.runOutsideAngular(()=>{window.addEventListener("mousemove",this.boundMove),window.addEventListener("touchmove",this.boundMove),window.addEventListener("mouseup",this.boundUp),window.addEventListener("touchend",this.boundUp)})}onResizeMove(e){if(!this.resizing||!this.img)return;let i=this.pointX(e)-this.startX,r=this.pointY(e)-this.startY,o=Math.max(i,r),a=Math.max(this.MIN_SIZE,Math.min(this.MAX_SIZE,this.startSize+o));this.img.style.setProperty("width",a+"px","important"),this.img.style.setProperty("height",a+"px","important"),this.repositionHandle()}onResizeEnd(){if(!this.resizing||!this.img)return;this.resizing=!1,this.img.style.transition="",document.body.style.userSelect="",document.body.style.cursor="";let e=document.querySelector(".mfa-html-wrapper");e&&e.classList.remove("expanded");let i=Math.round(this.img.getBoundingClientRect().width);this.img.setAttribute("data-qr-size",i.toString()),this.detachListeners()}detachListeners(){this.boundMove&&(window.removeEventListener("mousemove",this.boundMove),window.removeEventListener("touchmove",this.boundMove),this.boundMove=null),this.boundUp&&(window.removeEventListener("mouseup",this.boundUp),window.removeEventListener("touchend",this.boundUp),this.boundUp=null)}pointX(e){return e instanceof TouchEvent?e.touches[0]?.clientX??0:e.clientX}pointY(e){return e instanceof TouchEvent?e.touches[0]?.clientY??0:e.clientY}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-mfa"]],standalone:!1,decls:21,vars:5,consts:[["id","mfaform","method","post",3,"ngSubmit"],[1,"mfa-container"],[1,"mfa-info"],[1,"mfa-stack"],["aria-hidden","true",1,"mfa-brand"],["alt","",3,"src"],[1,"mfa-form"],[1,"mfa-field"],["matInput","","id","code","name","code","value","","required","","autofocus",""],[1,"mfa-field","mfa-remember"],["type","hidden","name","remember","value","0"],[1,"mfa-button"],["mat-stroked-button","","color","primary","type","submit"],[1,"mfa-html-wrapper",3,"expanded"],["id","remember","name","remember"],[1,"mfa-html-wrapper"],[1,"mfa-html",3,"innerHtml"]],template:function(i,r){i&1&&(b(0,"form",0),j("ngSubmit",function(){return r.launch()}),b(1,"div",1)(2,"div",2)(3,"uds-translate"),S(4,"Login Verification"),v()(),b(5,"div",3)(6,"div",4),Y(7,"img",5),v(),b(8,"div",6)(9,"div",7)(10,"mat-form-field")(11,"mat-label"),S(12),v(),Y(13,"input",8),v()(),Q(14,p$,5,1,"div",9),Q(15,h$,1,0,"input",10),b(16,"div",11)(17,"button",12)(18,"uds-translate"),S(19,"Submit"),v()()(),Q(20,g$,3,5,"div",13),v()()()()),i&2&&(x(7),P("src",r.api.staticURL("modern/img/login-img.png")),x(5),Ke(" ",r.api.config.mfa.label," "),x(2),Z(r.api.config.mfa.remember_device!==""?14:-1),x(),Z(r.api.config.mfa.remember_device===""?15:-1),x(5),Z(r.api.config.mfa.html?20:-1))},dependencies:[Gl,$l,Zi,Ei,Mr,Xi,ia,H0,yt,ea],styles:[".mfa-container[_ngcontent-%COMP%]{position:relative;display:flex;flex-flow:column wrap;justify-content:center;align-items:center;min-height:calc(100vh - var(--%NS%content-offset) - var(--%NS%footer-block));padding-top:50px;padding-bottom:40px;box-sizing:border-box}.mfa-stack[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:center;min-width:320px;width:90%;max-width:420px}.mfa-brand[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:0;width:100%;display:flex;justify-content:center;pointer-events:none;-webkit-user-select:none;user-select:none}.mfa-brand[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:min(300px,78%);opacity:var(--%NS%login-brand-opacity);-webkit-mask-image:radial-gradient(ellipse 62% 44% at 50% 50%,#000 40%,transparent 100%);mask-image:radial-gradient(ellipse 62% 44% at 50% 50%,#000 40%,transparent 100%)}.mfa-info[_ngcontent-%COMP%], .mfa-form[_ngcontent-%COMP%]{position:relative;z-index:1}.mfa-info[_ngcontent-%COMP%]{margin-bottom:2rem;font-size:1.25rem;font-weight:500;color:var(--%NS%text-primary);text-align:center;opacity:.9}.mfa-form[_ngcontent-%COMP%]{width:100%;flex-shrink:0;padding:3rem 2.5rem;background-color:var(--%NS%login-card-bg)!important;backdrop-filter:var(--%NS%glass-backdrop-filter)!important;-webkit-backdrop-filter:var(--%NS%glass-backdrop-filter)!important;border:1px solid var(--%NS%glass-border)!important;box-shadow:var(--%NS%glass-shadow)!important;border-radius:28px!important;transition:all .4s ease;display:flex;flex-direction:column;align-items:center}.mfa-field[_ngcontent-%COMP%]{width:100%!important;margin-bottom:.5rem}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.mfa-remember[_ngcontent-%COMP%]{margin-bottom:0;color:var(--%NS%text-primary)}.mfa-button[_ngcontent-%COMP%]{margin-top:.5rem;width:75%;align-self:center}.mfa-button[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%!important;padding:22px!important;border-radius:16px!important;background:var(--%NS%bg-button)!important;color:#fff!important;font-weight:600;font-size:1.1rem;letter-spacing:1px;border:none!important;box-shadow:0 4px 15px #0003!important;transition:all .3s cubic-bezier(.4,0,.2,1)!important}.mfa-button[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0000004d!important;filter:brightness(1.1)}@media only screen and (max-width:600px){.mfa-container[_ngcontent-%COMP%]{padding-top:40px}.mfa-stack[_ngcontent-%COMP%]{width:92%}.mfa-form[_ngcontent-%COMP%]{padding:2rem 1.5rem}}.mfa-html-wrapper[_ngcontent-%COMP%]{position:relative;width:100%;display:flex;flex-direction:column;align-items:center;margin-top:1.5rem}.mfa-qr-anchor[_ngcontent-%COMP%]{display:none}.mfa-qr-resize[_ngcontent-%COMP%]{position:absolute;width:22px;height:22px;cursor:nwse-resize;background-image:linear-gradient(135deg,transparent 0%,transparent 36%,currentColor 36%,currentColor 44%,transparent 44%,transparent 54%,currentColor 54%,currentColor 62%,transparent 62%,transparent 72%,currentColor 72%,currentColor 80%,transparent 80%);background-size:100% 100%;background-repeat:no-repeat;color:var(--%NS%text-primary);opacity:.7;touch-action:none;-webkit-user-select:none;user-select:none;z-index:3}.mfa-qr-resize[_ngcontent-%COMP%]:hover{opacity:1}.mfa-html[_ngcontent-%COMP%]{display:block;width:auto;text-align:center;font-size:.9rem;line-height:1.5;color:var(--%NS%text-primary);word-break:break-word;margin:0 auto;padding:0}.mfa-html[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:.5rem 0;opacity:.9}.mfa-html[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{display:block!important;width:180px!important;height:180px!important;max-width:100%!important;object-fit:contain!important;padding:10px!important;background:#fff!important;border-radius:16px!important;box-shadow:0 4px 16px #00000040!important;margin:.5rem auto .75rem!important;box-sizing:border-box!important}.mfa-html-wrapper.expanded[_ngcontent-%COMP%] .mfa-html[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:360px!important;height:360px!important}"],changeDetection:1})}}return t})();var b$=[{path:"",redirectTo:"services",pathMatch:"full"},{path:"services",component:iR,canActivate:[y0]},{path:"login",component:D0},{path:"login/:id",component:D0},{path:"mfa",component:cR},{path:"launcher-download",component:EA},{path:"downloads",component:DA,canActivate:[y0]},{path:"error/:id",component:rR},{path:"about",component:oR},{path:"ticket/launcher",component:aR},{path:"**",redirectTo:"services"}],dR=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=q({type:t})}static{this.\u0275inj=W({imports:[Hp.forRoot(b$,{}),Hp]})}}return t})();var Fe=(function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t})(Fe||{}),Ji="*";function uR(t,n=null){return{type:Fe.Sequence,steps:t,options:n}}function U0(t){return{type:Fe.Style,styles:t,offset:null}}var po=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,e=0){this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Xl=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let e=0,i=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==o&&this._onFinish()}),a.onDestroy(()=>{++i==o&&this._onDestroy()}),a.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((a,s)=>Math.max(a,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){let e=n*this.totalTime;this.players.forEach(i=>{let r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){let n=this.players.reduce((e,i)=>e===null||i.totalTime>e.totalTime?i:e,null);return n!=null?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},_u="!";function mR(t){return new D(3e3,!1)}function v$(){return new D(3100,!1)}function y$(){return new D(3101,!1)}function _$(t){return new D(3001,!1)}function x$(t){return new D(3003,!1)}function C$(t){return new D(3004,!1)}function pR(t,n){return new D(3005,!1)}function hR(){return new D(3006,!1)}function gR(){return new D(3007,!1)}function bR(t,n){return new D(3008,!1)}function vR(t){return new D(3002,!1)}function yR(t,n,e,i,r){return new D(3010,!1)}function _R(){return new D(3011,!1)}function xR(){return new D(3012,!1)}function CR(){return new D(3200,!1)}function wR(){return new D(3202,!1)}function SR(){return new D(3013,!1)}function ER(t){return new D(3014,!1)}function DR(t){return new D(3015,!1)}function MR(t){return new D(3016,!1)}function IR(t,n){return new D(3404,!1)}function w$(t){return new D(3502,!1)}function kR(t){return new D(3503,!1)}function TR(){return new D(3300,!1)}function NR(t){return new D(3504,!1)}function AR(t){return new D(3301,!1)}function RR(t,n){return new D(3302,!1)}function OR(t){return new D(3303,!1)}function PR(t,n){return new D(3400,!1)}function FR(t){return new D(3401,!1)}function LR(t){return new D(3402,!1)}function VR(t,n){return new D(3505,!1)}function ho(t){switch(t.length){case 0:return new po;case 1:return t[0];default:return new Xl(t)}}function q0(t,n,e=new Map,i=new Map){let r=[],o=[],a=-1,s=null;if(n.forEach(l=>{let c=l.get("offset"),d=c==a,m=d&&s||new Map;l.forEach((p,f)=>{let g=f,_=p;if(f!=="offset")switch(g=t.normalizePropertyName(g,r),_){case _u:_=e.get(f);break;case Ji:_=i.get(f);break;default:_=t.normalizeStyleValue(f,g,_,r);break}m.set(g,_)}),d||o.push(m),s=m,a=c}),r.length)throw w$(r);return o}function Qh(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&$0(e,"start",t)));break;case"done":t.onDone(()=>i(e&&$0(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&$0(e,"destroy",t)));break}}function $0(t,n,e){let i=e.totalTime,r=!!e.disabled,o=Zh(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,i??t.totalTime,r),a=t._data;return a!=null&&(o._data=a),o}function Zh(t,n,e,i,r="",o=0,a){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!a}}function Kn(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function Y0(t){let n=t.indexOf(":"),e=t.substring(1,n),i=t.slice(n+1);return[e,i]}var S$=typeof document>"u"?null:document.documentElement;function Xh(t){let n=t.parentNode||t.host||null;return n===S$?null:n}function E$(t){return t.substring(1,6)=="ebkit"}var is=null,fR=!1;function jR(t){is||(is=D$()||{},fR=is.style?"WebkitAppearance"in is.style:!1);let n=!0;return is.style&&!E$(t)&&(n=t in is.style,!n&&fR&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in is.style)),n}function D$(){return typeof document<"u"?document.body:null}function K0(t,n){for(;n;){if(n===t)return!0;n=Xh(n)}return!1}function Q0(t,n,e){if(e)return Array.from(t.querySelectorAll(n));let i=t.querySelector(n);return i?[i]:[]}var M$=1e3,Z0="{{",I$="}}",X0="ng-enter",Jh="ng-leave",xu="ng-trigger",Cu=".ng-trigger",J0="ng-animating",eg=".ng-animating";function Tr(t){if(typeof t=="number")return t;let n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:G0(parseFloat(n[1]),n[2])}function G0(t,n){return n==="s"?t*M$:t}function wu(t,n,e){return typeof t=="object"&&t!==null&&Object.hasOwn(t,"duration")?t:T$(t,n,e)}var k$=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function T$(t,n,e){let i,r=0,o="";if(typeof t=="string"){let a=t.match(k$);if(a===null)return n.push(mR(t)),{duration:0,delay:0,easing:""};i=G0(parseFloat(a[1]),a[2]);let s=a[3];s!=null&&(r=G0(parseFloat(s),a[4]));let l=a[5];l&&(o=l)}else i=t;if(!e){let a=!1,s=n.length;i<0&&(n.push(v$()),a=!0),r<0&&(n.push(y$()),a=!0),a&&n.splice(s,0,mR(t))}return{duration:i,delay:r,easing:o}}function BR(t){return t.length?t[0]instanceof Map?t:t.map(n=>new Map(Object.entries(n))):[]}function er(t,n,e){n.forEach((i,r)=>{let o=tg(r);e&&!e.has(r)&&e.set(r,t.style[o]),t.style[o]=i})}function oa(t,n){n.forEach((e,i)=>{let r=tg(i);t.style[r]=""})}function Jl(t){return Array.isArray(t)?t.length==1?t[0]:uR(t):t}function zR(t,n,e){let i=n.params||{},r=eC(t);r.length&&r.forEach(o=>{Object.hasOwn(i,o)||e.push(_$(o))})}var W0=new RegExp(`${Z0}\\s*(.+?)\\s*${I$}`,"g");function eC(t){let n=[];if(typeof t=="string"){let e;for(;e=W0.exec(t);)n.push(e[1]);W0.lastIndex=0}return n}function ec(t,n,e){let i=`${t}`,r=i.replace(W0,(o,a)=>{let s=n[a];return s==null&&(e.push(x$(a)),s=""),s.toString()});return r==i?t:r}var N$=/-+([a-z0-9])/g;function tg(t){return t.replace(N$,(...n)=>n[1].toUpperCase())}function HR(t,n){return t===0||n===0}function UR(t,n,e){if(e.size&&n.length){let i=n[0],r=[];if(e.forEach((o,a)=>{i.has(a)||r.push(a),i.set(a,o)}),r.length)for(let o=1;oa.set(s,ng(t,s)))}}return n}function Qn(t,n,e){switch(n.type){case Fe.Trigger:return t.visitTrigger(n,e);case Fe.State:return t.visitState(n,e);case Fe.Transition:return t.visitTransition(n,e);case Fe.Sequence:return t.visitSequence(n,e);case Fe.Group:return t.visitGroup(n,e);case Fe.Animate:return t.visitAnimate(n,e);case Fe.Keyframes:return t.visitKeyframes(n,e);case Fe.Style:return t.visitStyle(n,e);case Fe.Reference:return t.visitReference(n,e);case Fe.AnimateChild:return t.visitAnimateChild(n,e);case Fe.AnimateRef:return t.visitAnimateRef(n,e);case Fe.Query:return t.visitQuery(n,e);case Fe.Stagger:return t.visitStagger(n,e);default:throw C$(n.type)}}function ng(t,n){return window.getComputedStyle(t)[n]}var bC=(()=>{class t{validateStyleProperty(e){return jR(e)}containsElement(e,i){return K0(e,i)}getParentElement(e){return Xh(e)}query(e,i,r){return Q0(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,a,s=[],l){return new po(r,o)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})(),os=class{static NOOP=new bC},as=class{};var A$=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),sg=class extends as{normalizePropertyName(n,e){return tg(n)}normalizeStyleValue(n,e,i,r){let o="",a=i.toString().trim();if(A$.has(e)&&i!==0&&i!=="0")if(typeof i=="number")o="px";else{let s=i.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&r.push(pR(n,i))}return a+o}};var lg="*";function R$(t,n){let e=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(i=>O$(i,e,n)):e.push(t),e}function O$(t,n,e){if(t[0]==":"){let l=P$(t,e);if(typeof l=="function"){n.push(l);return}t=l}let i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return e.push(DR(t)),n;let r=i[1],o=i[2],a=i[3];n.push($R(r,a));let s=r==lg&&a==lg;o[0]=="<"&&!s&&n.push($R(a,r))}function P$(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}var ig=new Set(["true","1"]),rg=new Set(["false","0"]);function $R(t,n){let e=ig.has(t)||rg.has(t),i=ig.has(n)||rg.has(n);return(r,o)=>{let a=t==lg||t==r,s=n==lg||n==o;return!a&&e&&typeof r=="boolean"&&(a=r?ig.has(t):rg.has(t)),!s&&i&&typeof o=="boolean"&&(s=o?ig.has(n):rg.has(n)),a&&s}}var eO=":self",F$=new RegExp(`s*${eO}s*,?`,"g");function tO(t,n,e,i){return new aC(t).build(n,e,i)}var GR="",aC=class{_driver;constructor(n){this._driver=n}build(n,e,i){let r=new sC(e);return this._resetContextStyleTimingState(r),Qn(this,Jl(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector=GR,n.collectedStyles=new Map,n.collectedStyles.set(GR,new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,r=e.depCount=0,o=[],a=[];return n.name.charAt(0)=="@"&&e.errors.push(hR()),n.definitions.forEach(s=>{if(this._resetContextStyleTimingState(e),s.type==Fe.State){let l=s,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,e))}),l.name=c}else if(s.type==Fe.Transition){let l=this.visitTransition(s,e);i+=l.queryCount,r+=l.depCount,a.push(l)}else e.errors.push(gR())}),{type:Fe.Trigger,name:n.name,states:o,transitions:a,queryCount:i,depCount:r,options:null}}visitState(n,e){let i=this.visitStyle(n.styles,e),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){let o=new Set,a=r||{};i.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{eC(l).forEach(c=>{Object.hasOwn(a,c)||o.add(c)})})}),o.size&&e.errors.push(bR(n.name,[...o.values()]))}return{type:Fe.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;let i=Qn(this,Jl(n.animation),e),r=R$(n.expr,e.errors);return{type:Fe.Transition,matchers:r,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:rs(n.options)}}visitSequence(n,e){return{type:Fe.Sequence,steps:n.steps.map(i=>Qn(this,i,e)),options:rs(n.options)}}visitGroup(n,e){let i=e.currentTime,r=0,o=n.steps.map(a=>{e.currentTime=i;let s=Qn(this,a,e);return r=Math.max(r,e.currentTime),s});return e.currentTime=r,{type:Fe.Group,steps:o,options:rs(n.options)}}visitAnimate(n,e){let i=B$(n.timings,e.errors);e.currentAnimateTimings=i;let r,o=n.styles?n.styles:U0({});if(o.type==Fe.Keyframes)r=this.visitKeyframes(o,e);else{let a=n.styles,s=!1;if(!a){s=!0;let c={};i.easing&&(c.easing=i.easing),a=U0(c)}e.currentTime+=i.duration+i.delay;let l=this.visitStyle(a,e);l.isEmptyStep=s,r=l}return e.currentAnimateTimings=null,{type:Fe.Animate,timings:i,style:r,options:null}}visitStyle(n,e){let i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){let i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let s of r)typeof s=="string"?s===Ji?i.push(s):e.errors.push(vR(s)):i.push(new Map(Object.entries(s)));let o=!1,a=null;return i.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!o)){for(let l of s.values())if(l.toString().indexOf(Z0)>=0){o=!0;break}}}),{type:Fe.Style,styles:i,easing:a,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,e){let i=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(a=>{typeof a!="string"&&a.forEach((s,l)=>{let c=e.collectedStyles.get(e.currentQuerySelector),d=c.get(l),m=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(yR(l,d.startTime,d.endTime,o,r)),m=!1),o=d.startTime),m&&c.set(l,{startTime:o,endTime:r}),e.options&&zR(s,e.options,e.errors)})})}visitKeyframes(n,e){let i={type:Fe.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(_R()),i;let r=1,o=0,a=[],s=!1,l=!1,c=0,d=n.steps.map(L=>{let A=this._makeStyleAst(L,e),ee=A.offset!=null?A.offset:j$(A.styles),Re=0;return ee!=null&&(o++,Re=A.offset=ee),l=l||Re<0||Re>1,s=s||Re0&&o{let ee=p>0?A==f?1:p*A:a[A],Re=ee*E;e.currentTime=g+_.delay+Re,_.duration=Re,this._validateStyleAst(L,e),L.offset=ee,i.styles.push(L)}),i}visitReference(n,e){return{type:Fe.Reference,animation:Qn(this,Jl(n.animation),e),options:rs(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:Fe.AnimateChild,options:rs(n.options)}}visitAnimateRef(n,e){return{type:Fe.AnimateRef,animation:this.visitReference(n.animation,e),options:rs(n.options)}}visitQuery(n,e){let i=e.currentQuerySelector,r=n.options||{};e.queryCount++,e.currentQuery=n;let[o,a]=L$(n.selector);e.currentQuerySelector=i.length?i+" "+o:o,Kn(e.collectedStyles,e.currentQuerySelector,new Map);let s=Qn(this,Jl(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:Fe.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:n.selector,options:rs(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(SR());let i=n.timings==="full"?{duration:0,delay:0,easing:"full"}:wu(n.timings,e.errors,!0);return{type:Fe.Stagger,animation:Qn(this,Jl(n.animation),e),timings:i,options:null}}};function L$(t){let n=!!t.split(/\s*,\s*/).find(e=>e==eO);return n&&(t=t.replace(F$,"")),t=t.replace(/@\*/g,Cu).replace(/@\w+/g,e=>Cu+"-"+e.slice(1)).replace(/:animating/g,eg),[t,n]}function V$(t){return t?w({},t):null}var sC=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(n){this.errors=n}};function j$(t){if(typeof t=="string")return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){let i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}function B$(t,n){if(typeof t=="object"&&t!==null&&Object.hasOwn(t,"duration"))return t;if(typeof t=="number"){let o=wu(t,n).duration;return tC(o,0,"")}let e=t;if(e.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=tC(0,0,"");return o.dynamic=!0,o.strValue=e,o}let r=wu(e,n);return tC(r.duration,r.delay,r.easing)}function rs(t){return t?(t=w({},t),t.params&&(t.params=V$(t.params))):t={},t}function tC(t,n,e){return{duration:t,delay:n,easing:e}}function vC(t,n,e,i,r,o,a=null,s=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}var Eu=class{_map=new Map;get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}},z$=1,H$=":enter",U$=new RegExp(H$,"g"),$$=":leave",G$=new RegExp($$,"g");function nO(t,n,e,i,r,o=new Map,a=new Map,s,l,c=[]){return new lC().buildKeyframes(t,n,e,i,r,o,a,s,l,c)}var lC=class{buildKeyframes(n,e,i,r,o,a,s,l,c,d=[]){c=c||new Eu;let m=new cC(n,e,c,r,o,d,[]);m.options=l;let p=l.delay?Tr(l.delay):0;m.currentTimeline.delayNextStep(p),m.currentTimeline.setStyles([a],null,m.errors,l),Qn(this,i,m);let f=m.timelines.filter(g=>g.containsAnimation());if(f.length&&s.size){let g;for(let _=f.length-1;_>=0;_--){let E=f[_];if(E.element===e){g=E;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([s],null,m.errors,l)}return f.length?f.map(g=>g.buildKeyframes()):[vC(e,[],[],[],0,p,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){let i=e.subInstructions.get(e.element);if(i){let r=e.createSubContext(n.options),o=e.currentTimeline.currentTime,a=this._visitSubInstructions(i,r,r.options);o!=a&&e.transformIntoNewTimeline(a)}e.previousNode=n}visitAnimateRef(n,e){let i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(let r of n){let o=r?.delay;if(o){let a=typeof o=="number"?o:Tr(ec(o,r?.params??{},e.errors));i.delayNextStep(a)}}}_visitSubInstructions(n,e,i){let o=e.currentTimeline.currentTime,a=i.duration!=null?Tr(i.duration):null,s=i.delay!=null?Tr(i.delay):null;return a!==0&&n.forEach(l=>{let c=e.appendInstructionToTimeline(l,a,s);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,e){e.updateOptions(n.options,!0),Qn(this,n.animation,e),e.previousNode=n}visitSequence(n,e){let i=e.subContextCount,r=e,o=n.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==Fe.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=cg);let a=Tr(o.delay);r.delayNextStep(a)}n.steps.length&&(n.steps.forEach(a=>Qn(this,a,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){let i=[],r=e.currentTimeline.currentTime,o=n.options&&n.options.delay?Tr(n.options.delay):0;n.steps.forEach(a=>{let s=e.createSubContext(n.options);o&&s.delayNextStep(o),Qn(this,a,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(a=>e.currentTimeline.mergeTimelineCollectedStyles(a)),e.transformIntoNewTimeline(r),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){let i=n.strValue,r=e.params?ec(i,e.params,e.errors):i;return wu(r,e.errors)}else return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){let i=e.currentAnimateTimings=this._visitTiming(n.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());let o=n.style;o.type==Fe.Keyframes?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){let i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();let o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){let i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,s=e.createSubContext().currentTimeline;s.easing=i.easing,n.styles.forEach(l=>{let c=l.offset||0;s.forwardTime(c*o),s.setStyles(l.styles,l.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(r+o),e.previousNode=n}visitQuery(n,e){let i=e.currentTimeline.currentTime,r=n.options||{},o=r.delay?Tr(r.delay):0;o&&(e.previousNode.type===Fe.Style||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=cg);let a=i,s=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;let l=null;s.forEach((c,d)=>{e.currentQueryIndex=d;let m=e.createSubContext(n.options,c);o&&m.delayNextStep(o),c===e.element&&(l=m.currentTimeline),Qn(this,n.animation,m),m.currentTimeline.applyStylesToKeyframe();let p=m.currentTimeline.currentTime;a=Math.max(a,p)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){let i=e.parentContext,r=e.currentTimeline,o=n.timings,a=Math.abs(o.duration),s=a*(e.currentQueryTotal-1),l=a*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=s-l;break;case"full":l=i.currentStaggerTime;break}let d=e.currentTimeline;l&&d.delayNextStep(l);let m=d.currentTime;Qn(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=r.currentTime-m+(r.startTime-i.currentTimeline.startTime)}},cg={},cC=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=cg;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(n,e,i,r,o,a,s,l){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=s,this.currentTimeline=l||new dg(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;let i=n,r=this.options;i.duration!=null&&(r.duration=Tr(i.duration)),i.delay!=null&&(r.delay=Tr(i.delay));let o=i.params;if(o){let a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(s=>{(!e||!Object.hasOwn(a,s))&&(a[s]=ec(o[s],a,this.errors))})}}_copyOptions(){let n={};if(this.options){let e=this.options.params;if(e){let i=n.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return n}createSubContext(n=null,e,i){let r=e||this.element,o=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=cg,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){let r={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new dC(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,r,o,a){let s=[];if(r&&s.push(this.element),n.length>0){n=n.replace(U$,"."+this._enterClassName),n=n.replace(G$,"."+this._leaveClassName);let l=i!=1,c=this._driver.query(this.element,n,l);i!==0&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),s.push(...c)}return!o&&s.length==0&&a.push(ER(e)),s}},dg=class t{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(n,e,i,r){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new t(this._driver,n,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=z$,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Ji),this._currentKeyframe.set(e,Ji);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,r){e&&this._previousKeyframe.set("easing",e);let o=r&&r.params||{},a=W$(n,this._globalTimelineStyles);for(let[s,l]of a){let c=ec(l,o,i);this._pendingStyles.set(s,c),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??Ji),this._updateStyle(s,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{let r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let n=new Set,e=new Set,i=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((s,l)=>{let c=new Map([...this._backFill,...s]);c.forEach((d,m)=>{d===_u?n.add(m):d===Ji&&e.add(m)}),i||c.set("offset",l/this.duration),r.push(c)});let o=[...n.values()],a=[...e.values()];if(i){let s=r[0],l=new Map(s);s.set("offset",0),l.set("offset",1),r=[s,l]}return vC(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}},dC=class extends dg{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(n,e,i,r,o,a,s=!1){super(n,e,a.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){let o=[],a=i+e,s=e/a,l=new Map(n[0]);l.set("offset",0),o.push(l);let c=new Map(n[0]);c.set("offset",WR(s)),o.push(c);let d=n.length-1;for(let m=1;m<=d;m++){let p=new Map(n[m]),f=p.get("offset"),g=e+f*i;p.set("offset",WR(g/a)),o.push(p)}i=a,e=0,r="",n=o}return vC(this.element,n,this.preStyleProps,this.postStyleProps,i,e,r,!0)}};function WR(t,n=3){let e=Math.pow(10,n-1);return Math.round(t*e)/e}function W$(t,n){let e=new Map,i;return t.forEach(r=>{if(r==="*"){i??=n.keys();for(let o of i)e.set(o,Ji)}else for(let[o,a]of r)e.set(o,a)}),e}function qR(t,n,e,i,r,o,a,s,l,c,d,m,p){return{type:0,element:t,triggerName:n,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:a,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:m,errors:p}}var nC={},ug=class{_triggerName;ast;_stateStyles;constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,r){return q$(this.ast.matchers,n,e,i,r)}buildStyles(n,e,i){let r=this._stateStyles.get("*");return n!==void 0&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(e,i):new Map}build(n,e,i,r,o,a,s,l,c,d){let m=[],p=this.ast.options&&this.ast.options.params||nC,f=s&&s.params||nC,g=this.buildStyles(i,f,m),_=l&&l.params||nC,E=this.buildStyles(r,_,m),L=new Set,A=new Map,ee=new Map,Re=r==="void",ht={params:iO(_,p),delay:this.ast.options?.delay},Le=d?[]:nO(n,e,this.ast.animation,o,a,g,E,ht,c,m),Pe=0;return Le.forEach(Je=>{Pe=Math.max(Je.duration+Je.delay,Pe)}),m.length?qR(e,this._triggerName,i,r,Re,g,E,[],[],A,ee,Pe,m):(Le.forEach(Je=>{let It=Je.element,me=Kn(A,It,new Set);Je.preStyleProps.forEach(k=>me.add(k));let _e=Kn(ee,It,new Set);Je.postStyleProps.forEach(k=>_e.add(k)),It!==e&&L.add(It)}),qR(e,this._triggerName,i,r,Re,g,E,Le,[...L.values()],A,ee,Pe))}};function q$(t,n,e,i,r){return t.some(o=>o(n,e,i,r))}function iO(t,n){let e=w({},n);return Object.entries(t).forEach(([i,r])=>{r!=null&&(e[i]=r)}),e}var uC=class{styles;defaultParams;normalizer;constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){let i=new Map,r=iO(n,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,s)=>{a&&(a=ec(a,r,e));let l=this.normalizer.normalizePropertyName(s,e);a=this.normalizer.normalizeStyleValue(s,l,a,e),i.set(s,a)})}),i}};function Y$(t,n,e){return new mC(t,n,e)}var mC=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,e.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new uC(r.style,o,i))}),YR(this.states,"true","1"),YR(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new ug(n,r,this.states))}),this.fallbackTransition=K$(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,r){return this.transitionFactories.find(a=>a.match(n,e,i,r))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}};function K$(t,n,e){let i=[(a,s)=>!0],r={type:Fe.Sequence,steps:[],options:null},o={type:Fe.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new ug(t,o,n)}function YR(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}var Q$=new Eu,fC=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i}register(n,e){let i=[],r=[],o=tO(this._driver,e,i,r);if(i.length)throw kR(i);this._animations.set(n,o)}_buildPlayer(n,e,i){let r=n.element,o=q0(this._normalizer,n.keyframes,e,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){let r=[],o=this._animations.get(n),a,s=new Map;if(o?(a=nO(this._driver,e,o,X0,Jh,new Map,new Map,i,Q$,r),a.forEach(d=>{let m=Kn(s,d.element,new Map);d.postStyleProps.forEach(p=>m.set(p,null))})):(r.push(TR()),a=[]),r.length)throw NR(r);s.forEach((d,m)=>{d.forEach((p,f)=>{d.set(f,this._driver.computeStyle(m,f,Ji))})});let l=a.map(d=>{let m=s.get(d.element);return this._buildPlayer(d,new Map,m)}),c=ho(l);return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){let e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);let i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){let e=this._playersById.get(n);if(!e)throw AR(n);return e}listen(n,e,i,r){let o=Zh(e,"","","");return Qh(this._getPlayer(n),i,o,r),()=>{}}command(n,e,i,r){if(i=="register"){this.register(n,r[0]);return}if(i=="create"){let a=r[0]||{};this.create(n,e,a);return}let o=this._getPlayer(n);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(n);break}}},KR="ng-animate-queued",Z$=".ng-animate-queued",iC="ng-animate-disabled",X$=".ng-animate-disabled",J$="ng-star-inserted",e4=".ng-star-inserted",t4=[],rO={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},n4={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},tr="__ng_removed",Du=class{namespaceId;value;options;get params(){return this.options.params}constructor(n,e=""){this.namespaceId=e;let i=n&&Object.hasOwn(n,"value"),r=i?n.value:n;if(this.value=r4(r),i){let o=n,{value:a}=o,s=Vg(o,["value"]);this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){let e=n.params;if(e){let i=this.options.params;Object.keys(e).forEach(r=>{i[r]==null&&(i[r]=e[r])})}}},Su="void",rC=new Du(Su),pC=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this._hostClassName="ng-tns-"+n,Mi(e,this._hostClassName)}listen(n,e,i,r){if(!this._triggers.has(e))throw RR(i,e);if(i==null||i.length==0)throw OR(e);if(!o4(i))throw PR(i,e);let o=Kn(this._elementListeners,n,[]),a={name:e,phase:i,callback:r};o.push(a);let s=Kn(this._engine.statesByElement,n,new Map);return s.has(e)||(Mi(n,xu),Mi(n,xu+"-"+e),s.set(e,rC)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(a);l>=0&&o.splice(l,1),this._triggers.has(e)||s.delete(e)})}}register(n,e){return this._triggers.has(n)?!1:(this._triggers.set(n,e),!0)}_getTrigger(n){let e=this._triggers.get(n);if(!e)throw FR(n);return e}trigger(n,e,i,r=!0){let o=this._getTrigger(e),a=new Mu(this.id,e,n),s=this._engine.statesByElement.get(n);s||(Mi(n,xu),Mi(n,xu+"-"+e),this._engine.statesByElement.set(n,s=new Map));let l=s.get(e),c=new Du(i,this.id);if(!(i&&Object.hasOwn(i,"value"))&&l&&c.absorbOptions(l.options),s.set(e,c),l||(l=rC),!(c.value===Su)&&l.value===c.value){if(!l4(l.params,c.params)){let _=[],E=o.matchStyles(l.value,l.params,_),L=o.matchStyles(c.value,c.params,_);_.length?this._engine.reportError(_):this._engine.afterFlush(()=>{oa(n,E),er(n,L)})}return}let p=Kn(this._engine.playersByElement,n,[]);p.forEach(_=>{_.namespaceId==this.id&&_.triggerName==e&&_.queued&&_.destroy()});let f=o.matchTransition(l.value,c.value,n,c.params),g=!1;if(!f){if(!r)return;f=o.fallbackTransition,g=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:f,fromState:l,toState:c,player:a,isFallbackTransition:g}),g||(Mi(n,KR),a.onStart(()=>{tc(n,KR)})),a.onDone(()=>{let _=this.players.indexOf(a);_>=0&&this.players.splice(_,1);let E=this._engine.playersByElement.get(n);if(E){let L=E.indexOf(a);L>=0&&E.splice(L,1)}}),this.players.push(a),p.push(a),a}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);let e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){let i=this._engine.driver.query(n,Cu,!0);i.forEach(r=>{if(r[tr])return;let o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(a=>a.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,e,i,r){let o=this._engine.statesByElement.get(n),a=new Map;if(o){let s=[];if(o.forEach((l,c)=>{if(a.set(c,l.value),this._triggers.has(c)){let d=this.trigger(n,c,Su,r);d&&s.push(d)}}),s.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,a),i&&ho(s).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){let e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){let r=new Set;e.forEach(o=>{let a=o.name;if(r.has(a))return;r.add(a);let l=this._triggers.get(a).fallbackTransition,c=i.get(a)||rC,d=new Du(Su),m=new Mu(this.id,a,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:a,transition:l,fromState:c,toState:d,player:m,isFallbackTransition:!0})})}}removeNode(n,e){let i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let r=!1;if(i.totalAnimations){let o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let a=n;for(;a=a.parentNode;)if(i.statesByElement.get(a)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,e);else{let o=n[tr];(!o||o===rO)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){Mi(n,this._hostClassName)}drainQueuedTransitions(n){let e=[];return this._queue.forEach(i=>{let r=i.player;if(r.destroyed)return;let o=i.element,a=this._elementListeners.get(o);a&&a.forEach(s=>{if(s.name==i.triggerName){let l=Zh(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,Qh(i.player,s.phase,l,s.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{let o=i.transition.ast.depCount,a=r.transition.ast.depCount;return o==0||a==0?o-a:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}},hC=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(n,e)=>{};_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}constructor(n,e,i){this.bodyNode=n,this.driver=e,this._normalizer=i}get queuedPlayers(){let n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){let i=new pC(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,e){let i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let a=!1,s=this.driver.getParentElement(e);for(;s;){let l=r.get(s);if(l){let c=i.indexOf(l);i.splice(c+1,0,n),a=!0;break}s=this.driver.getParentElement(s)}a||i.unshift(n)}else i.push(n);return r.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let r=this._namespaceLookup[n];r&&r.register(e,i)&&this.totalAnimations++}destroy(n,e){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);let r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(e),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){let e=new Set,i=this.statesByElement.get(n);if(i){for(let r of i.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}}return e}trigger(n,e,i,r){if(og(e)){let o=this._fetchNamespace(n);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(n,e,i,r){if(!og(e))return;let o=e[tr];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(n){let a=this._fetchNamespace(n);a&&a.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Mi(n,iC)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),tc(n,iC))}removeNode(n,e,i){if(og(e)){let r=n?this._fetchNamespace(n):null;r?r.removeNode(e,i):this.markElementAsRemoved(n,e,!1,i);let o=this.namespacesByHostElement.get(e);o&&o.id!==n&&o.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(n,e,i,r,o){this.collectedLeaveElements.push(e),e[tr]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,e,i,r,o){return og(e)?this._fetchNamespace(n).listen(e,i,r,o):()=>{}}_buildInstruction(n,e,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,e,o)}destroyInnerAnimations(n){let e=this.driver.query(n,Cu,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(n,eg,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){let e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){let e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return ho(this.players).onDone(()=>n());n()})}processLeaveNode(n){let e=n[tr];if(e&&e.setForRemoval){if(n[tr]=rO,e.namespaceId){this.destroyInnerAnimations(n);let i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(iC)&&this.markElementAsDisabled(n,!1),this.driver.query(n,X$,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],e.length?ho(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw LR(n)}_flushAnimations(n,e){let i=new Eu,r=[],o=new Map,a=[],s=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(te=>{d.add(te);let ae=this.driver.query(te,Z$,!0);for(let be=0;be{let be=X0+_++;g.set(ae,be),te.forEach(qe=>Mi(qe,be))});let E=[],L=new Set,A=new Set;for(let te=0;teL.add(qe)):A.add(ae))}let ee=new Map,Re=XR(p,Array.from(L));Re.forEach((te,ae)=>{let be=Jh+_++;ee.set(ae,be),te.forEach(qe=>Mi(qe,be))}),n.push(()=>{f.forEach((te,ae)=>{let be=g.get(ae);te.forEach(qe=>tc(qe,be))}),Re.forEach((te,ae)=>{let be=ee.get(ae);te.forEach(qe=>tc(qe,be))}),E.forEach(te=>{this.processLeaveNode(te)})});let ht=[],Le=[];for(let te=this._namespaceList.length-1;te>=0;te--)this._namespaceList[te].drainQueuedTransitions(e).forEach(be=>{let qe=be.player,kt=be.element;if(ht.push(qe),this.collectedEnterElements.length){let dn=kt[tr];if(dn&&dn.setForMove){if(dn.previousTriggersValues&&dn.previousTriggersValues.has(be.triggerName)){let Nr=dn.previousTriggersValues.get(be.triggerName),jn=this.statesByElement.get(be.element);if(jn&&jn.has(be.triggerName)){let ss=jn.get(be.triggerName);ss.value=Nr,jn.set(be.triggerName,ss)}}qe.destroy();return}}let Vn=!m||!this.driver.containsElement(m,kt),xn=ee.get(kt),ir=g.get(kt),_t=this._buildInstruction(be,i,ir,xn,Vn);if(_t.errors&&_t.errors.length){Le.push(_t);return}if(Vn){qe.onStart(()=>oa(kt,_t.fromStyles)),qe.onDestroy(()=>er(kt,_t.toStyles)),r.push(qe);return}if(be.isFallbackTransition){qe.onStart(()=>oa(kt,_t.fromStyles)),qe.onDestroy(()=>er(kt,_t.toStyles)),r.push(qe);return}let Iu=[];_t.timelines.forEach(dn=>{dn.stretchStartingKeyframe=!0,this.disabledNodes.has(dn.element)||Iu.push(dn)}),_t.timelines=Iu,i.append(kt,_t.timelines);let gt={instruction:_t,player:qe,element:kt};a.push(gt),_t.queriedElements.forEach(dn=>Kn(s,dn,[]).push(qe)),_t.preStyleProps.forEach((dn,Nr)=>{if(dn.size){let jn=l.get(Nr);jn||l.set(Nr,jn=new Set),dn.forEach((ss,ic)=>jn.add(ic))}}),_t.postStyleProps.forEach((dn,Nr)=>{let jn=c.get(Nr);jn||c.set(Nr,jn=new Set),dn.forEach((ss,ic)=>jn.add(ic))})});if(Le.length){let te=[];Le.forEach(ae=>{te.push(VR(ae.triggerName,ae.errors))}),ht.forEach(ae=>ae.destroy()),this.reportError(te)}let Pe=new Map,Je=new Map;a.forEach(te=>{let ae=te.element;i.has(ae)&&(Je.set(ae,ae),this._beforeAnimationBuild(te.player.namespaceId,te.instruction,Pe))}),r.forEach(te=>{let ae=te.element;this._getPreviousPlayers(ae,!1,te.namespaceId,te.triggerName,null).forEach(qe=>{Kn(Pe,ae,[]).push(qe),qe.destroy()})});let It=E.filter(te=>JR(te,l,c)),me=new Map;ZR(me,this.driver,A,c,Ji).forEach(te=>{JR(te,l,c)&&It.push(te)});let k=new Map;f.forEach((te,ae)=>{ZR(k,this.driver,new Set(te),l,_u)}),It.forEach(te=>{let ae=me.get(te),be=k.get(te);me.set(te,new Map([...ae?.entries()??[],...be?.entries()??[]]))});let Ve=[],Ut=[],nr={};a.forEach(te=>{let{element:ae,player:be,instruction:qe}=te;if(i.has(ae)){if(d.has(ae)){be.onDestroy(()=>er(ae,qe.toStyles)),be.disabled=!0,be.overrideTotalTime(qe.totalTime),r.push(be);return}let kt=nr;if(Je.size>1){let xn=ae,ir=[];for(;xn=xn.parentNode;){let _t=Je.get(xn);if(_t){kt=_t;break}ir.push(xn)}ir.forEach(_t=>Je.set(_t,kt))}let Vn=this._buildAnimation(be.namespaceId,qe,Pe,o,k,me);if(be.setRealPlayer(Vn),kt===nr)Ve.push(be);else{let xn=this.playersByElement.get(kt);xn&&xn.length&&(be.parentPlayer=ho(xn)),r.push(be)}}else oa(ae,qe.fromStyles),be.onDestroy(()=>er(ae,qe.toStyles)),Ut.push(be),d.has(ae)&&r.push(be)}),Ut.forEach(te=>{let ae=o.get(te.element);if(ae&&ae.length){let be=ho(ae);te.setRealPlayer(be)}}),r.forEach(te=>{te.parentPlayer?te.syncPlayerEvents(te.parentPlayer):te.destroy()});for(let te=0;te!Vn.destroyed);kt.length?a4(this,ae,kt):this.processLeaveNode(ae)}return E.length=0,Ve.forEach(te=>{this.players.push(te),te.onDone(()=>{te.destroy();let ae=this.players.indexOf(te);this.players.splice(ae,1)}),te.play()}),Ve}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,r,o){let a=[];if(e){let s=this.playersByQueriedElement.get(n);s&&(a=s)}else{let s=this.playersByElement.get(n);if(s){let l=!o||o==Su;s.forEach(c=>{c.queued||!l&&c.triggerName!=r||a.push(c)})}}return(i||r)&&(a=a.filter(s=>!(i&&i!=s.namespaceId||r&&r!=s.triggerName))),a}_beforeAnimationBuild(n,e,i){let r=e.triggerName,o=e.element,a=e.isRemovalTransition?void 0:n,s=e.isRemovalTransition?void 0:r;for(let l of e.timelines){let c=l.element,d=c!==o,m=Kn(i,c,[]);this._getPreviousPlayers(c,d,a,s,e.toState).forEach(f=>{let g=f.getRealPlayer();g.beforeDestroy&&g.beforeDestroy(),f.destroy(),m.push(f)})}oa(o,e.fromStyles)}_buildAnimation(n,e,i,r,o,a){let s=e.triggerName,l=e.element,c=[],d=new Set,m=new Set,p=e.timelines.map(g=>{let _=g.element;d.add(_);let E=_[tr];if(E&&E.removedBeforeQueried)return new po(g.duration,g.delay);let L=_!==l,A=s4((i.get(_)||t4).map(Pe=>Pe.getRealPlayer())).filter(Pe=>{let Je=Pe;return Je.element?Je.element===_:!1}),ee=o.get(_),Re=a.get(_),ht=q0(this._normalizer,g.keyframes,ee,Re),Le=this._buildPlayer(g,ht,A);if(g.subTimeline&&r&&m.add(_),L){let Pe=new Mu(n,s,_);Pe.setRealPlayer(Le),c.push(Pe)}return Le});c.forEach(g=>{Kn(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>i4(this.playersByQueriedElement,g.element,g))}),d.forEach(g=>Mi(g,J0));let f=ho(p);return f.onDestroy(()=>{d.forEach(g=>tc(g,J0)),er(l,e.toStyles)}),m.forEach(g=>{Kn(r,g,[]).push(f)}),f}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new po(n.duration,n.delay)}},Mu=class{namespaceId;triggerName;element;_player=new po;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>Qh(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){let e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){Kn(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){let e=this._player;e.triggerCallback&&e.triggerCallback(n)}};function i4(t,n,e){let i=t.get(n);if(i){if(i.length){let r=i.indexOf(e);i.splice(r,1)}i.length==0&&t.delete(n)}return i}function r4(t){return t??null}function og(t){return t&&t.nodeType===1}function o4(t){return t=="start"||t=="done"}function QR(t,n){let e=t.style.display;return t.style.display=n??"none",e}function ZR(t,n,e,i,r){let o=[];e.forEach(l=>o.push(QR(l)));let a=[];i.forEach((l,c)=>{let d=new Map;l.forEach(m=>{let p=n.computeStyle(c,m,r);d.set(m,p),(!p||p.length==0)&&(c[tr]=n4,a.push(c))}),t.set(c,d)});let s=0;return e.forEach(l=>QR(l,o[s++])),a}function XR(t,n){let e=new Map;if(t.forEach(s=>e.set(s,[])),n.length==0)return e;let i=1,r=new Set(n),o=new Map;function a(s){if(!s)return i;let l=o.get(s);if(l)return l;let c=s.parentNode;return e.has(c)?l=c:r.has(c)?l=i:l=a(c),o.set(s,l),l}return n.forEach(s=>{let l=a(s);l!==i&&e.get(l).push(s)}),e}function Mi(t,n){t.classList?.add(n)}function tc(t,n){t.classList?.remove(n)}function a4(t,n,e){ho(e).onDone(()=>t.processLeaveNode(n))}function s4(t){let n=[];return oO(t,n),n}function oO(t,n){for(let e=0;er.add(o)):n.set(t,i),e.delete(t),!0}var nc=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(n,e)=>{};constructor(n,e,i){this._driver=e,this._normalizer=i,this._transitionEngine=new hC(n.body,e,i),this._timelineEngine=new fC(n.body,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(n,e,i,r,o){let a=n+"-"+r,s=this._triggerCache[a];if(!s){let l=[],c=[],d=tO(this._driver,o,l,c);if(l.length)throw IR(r,l);s=Y$(r,d,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(e,r,s)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,r){this._transitionEngine.insertNode(n,e,i,r)}onRemove(n,e,i){this._transitionEngine.removeNode(n,e,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,r){if(i.charAt(0)=="@"){let[o,a]=Y0(i),s=r;this._timelineEngine.command(o,e,a,s)}else this._transitionEngine.trigger(n,e,i,r)}listen(n,e,i,r,o){if(i.charAt(0)=="@"){let[a,s]=Y0(i);return this._timelineEngine.listen(a,e,s,o)}return this._transitionEngine.listen(n,e,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}};function c4(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=oC(n[0]),n.length>1&&(i=oC(n[n.length-1]))):n instanceof Map&&(e=oC(n)),e||i?new d4(t,e,i):null}var d4=(()=>{class t{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r;let o=t.initialStylesByElement.get(e);o||t.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&er(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(er(this._element,this._initialStyles),this._endStyles&&(er(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(oa(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(oa(this._element,this._endStyles),this._endStyles=null),er(this._element,this._initialStyles),this._state=3)}}return t})();function oC(t){let n=null;return t.forEach((e,i)=>{u4(i)&&(n=n||new Map,n.set(i,e))}),n}function u4(t){return t==="display"||t==="position"}var mg=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(n,e,i,r){this.element=n,this.keyframes=e,this.options=i,this._specialStyles=r,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;let n=this.keyframes,e=this._triggerWebAnimation(this.element,n,this.options);if(!e)return this._onFinish(),null;this.domPlayer=e,this._finalKeyframe=n.length?n[n.length-1]:new Map;let i=()=>this._onFinish();return e.addEventListener("finish",i),this.onDestroy(()=>{e.removeEventListener("finish",i)}),e}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(n){let e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){let r=this._convertKeyframesToObject(e);try{return n.animate(r,i)}catch(o){return null}}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){let n=this._buildPlayer();n&&(this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),n.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish())}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer?.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=n*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){let n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{r!=="offset"&&n.set(r,this._finished?i:ng(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){let e=n==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},fg=class{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,e){return K0(n,e)}getParentElement(n){return Xh(n)}query(n,e,i){return Q0(n,e,i)}computeStyle(n,e,i){return ng(n,e)}animate(n,e,i,r,o,a=[]){let s=r==0?"both":"forwards",l={duration:i,delay:r,fill:s};o&&(l.easing=o);let c=new Map,d=a.filter(f=>f instanceof mg);HR(i,r)&&d.forEach(f=>{f.currentSnapshot.forEach((g,_)=>c.set(_,g))});let m=BR(e).map(f=>new Map(f));m=UR(n,m,c);let p=c4(n,m);return new mg(n,m,l,p)}};var ag="@",aO="@.disabled",pg=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(n,e,i,r){this.namespaceId=n,this.delegate=e,this.engine=i,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,r=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,r)}removeChild(n,e,i,r){if(r){this.delegate.removeChild(n,e,i,r);return}this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,r){this.delegate.setAttribute(n,e,i,r)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,r){this.delegate.setStyle(n,e,i,r)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){e.charAt(0)==ag&&e==aO?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i,r){return this.delegate.listen(n,e,i,r)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}},gC=class extends pg{factory;constructor(n,e,i,r,o){super(e,i,r,o),this.factory=n,this.namespaceId=e}setProperty(n,e,i){e.charAt(0)==ag?e.charAt(1)=="."&&e==aO?(i=i===void 0?!0:!!i,this.disableAnimations(n,i)):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i,r){if(e.charAt(0)==ag){let o=m4(n),a=e.slice(1),s="";return a.charAt(0)!=ag&&([a,s]=f4(a)),this.engine.listen(this.namespaceId,o,a,s,l=>{let c=l._data||-1;this.factory.scheduleListenerCallback(c,i,l)})}return this.delegate.listen(n,e,i,r)}};function m4(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function f4(t){let n=t.indexOf("."),e=t.substring(0,n),i=t.slice(n+1);return[e,i]}var hg=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(n,e,i){this.delegate=n,this.engine=e,this._zone=i,e.onRemovalComplete=(r,o)=>{o?.removeChild(null,r)}}createRenderer(n,e){let r=this.delegate.createRenderer(n,e);if(!n||!e?.data?.animation){let c=this._rendererCache,d=c.get(r);if(!d){let m=()=>c.delete(r);d=new pg("",r,this.engine,m),c.set(r,d)}return d}let o=e.id,a=e.id+"-"+this._currentId;this._currentId++,this.engine.register(a,n);let s=c=>{Array.isArray(c)?c.forEach(s):this.engine.registerTrigger(o,a,n,c.name,c)};return e.data.animation.forEach(s),new gC(this,a,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,e,i){if(n>=0&&ne(i));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{let[a,s]=o;a(s)}),this._animationCallbacksBuffer=[]})}),r.push([e,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(n){this.engine.flush(),this.delegate.componentReplaced?.(n)}};var h4=(()=>{class t extends nc{constructor(e,i,r){super(e,i,r)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||t)(K(oe),K(os),K(as))};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})();function g4(){return new sg}function b4(){return new hg(u(fd),u(nc),u(O))}var lO=[{provide:as,useFactory:g4},{provide:nc,useClass:h4},{provide:Vt,useFactory:b4}],v4=[{provide:os,useClass:bC},{provide:Lo,useValue:"NoopAnimations"},...lO],sO=[{provide:os,useFactory:()=>new fg},{provide:Lo,useFactory:()=>"BrowserAnimations"},...lO],cO=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?v4:sO}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({providers:sO,imports:[hd]})}return t})();var y4=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return t})(),dO=(()=>{class t{_elementRef=u($);_platform=u($e);_document=u(oe);color;_toolbarRows;ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=["*",[["mat-toolbar-row"]]];return F({type:t,selectors:[["mat-toolbar"]],contentQueries:function(o,a,s){if(o&1&&mn(s,y4,5),o&2){let l;X(l=J())&&(a._toolbarRows=l)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(o,a){o&2&&(Rt(a.color?"mat-"+a.color:""),ie("mat-toolbar-multiple-rows",a._toolbarRows.length>0)("mat-toolbar-single-row",a._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:["*","mat-toolbar-row"],decls:2,vars:0,template:function(o,a){o&1&&(ct(e),Ee(0),Ee(1,1))},styles:[`.mat-toolbar { +`],encapsulation:2})})()}return t})(),lR=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({imports:[H0,Qe]})}return t})();function p$(t,n){if(t&1&&(b(0,"div",9)(1,"mat-checkbox",14)(2,"uds-translate"),S(3,"Remember me for"),v(),S(4),v()()),t&2){let e=N();x(4),Ke(" ",e.api.config.mfa.remember_device," ")}}function h$(t,n){t&1&&q(0,"input",10)}function g$(t,n){if(t&1&&(b(0,"div",15),q(1,"div",16),vi(2,"safeHtml"),v()),t&2){let e=N();ie("expanded",e.qrExpanded),x(),P("innerHtml",yi(2,3,e.api.config.mfa.html),gi)}}var cR=(()=>{class t{constructor(){this.api=u(ze),this.zone=u(O),this.qrExpanded=!1,this.resizing=!1,this.startX=0,this.startY=0,this.startSize=180,this.BASE_SIZE=180,this.MIN_SIZE=120,this.MAX_SIZE=480,this.boundMove=null,this.boundUp=null,this.handle=null,this.anchor=null,this.img=null,this.parent=null,this.repositionHandle=()=>{}}ngOnInit(){let e=document.getElementById("mfaform");e.action=this.api.config.urls.mfa,this.api.user.isLogged&&this.api.router.navigate(["/"]),this.api.errors.length>0&&this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")}ngAfterViewInit(){this.installHandle(),setTimeout(()=>this.repositionHandle(),100),setTimeout(()=>this.repositionHandle(),500)}ngOnDestroy(){this.detachListeners(),this.handle?.remove()}installHandle(){let e=document.querySelector(".mfa-html img");if(!e){setTimeout(()=>this.installHandle(),100);return}if(this.img=e,this.parent=e.parentElement,!this.parent)return;getComputedStyle(this.parent).position==="static"&&(this.parent.style.position="relative");let i=document.createElement("span");i.className="mfa-qr-resize",i.setAttribute("aria-hidden","true"),this.parent.appendChild(i),this.handle=i,this.anchor=i,this.repositionHandle=()=>{if(!this.img||!this.handle)return;let r=this.img.getBoundingClientRect(),o=this.parent.getBoundingClientRect();this.handle.style.cssText+=`; position: absolute !important; left: ${r.right-o.left-28}px !important; top: ${r.bottom-o.top-28}px !important; width: 22px !important; height: 22px !important;`},this.repositionHandle(),window.addEventListener("resize",this.repositionHandle),i.addEventListener("mousedown",r=>this.startResize(r)),i.addEventListener("touchstart",r=>this.startResize(r),{passive:!1})}launch(){return document.getElementById("mfaform").submit(),!0}toggleQr(){this.qrExpanded=!this.qrExpanded}startResize(e){if(!this.img)return;e.preventDefault(),e.stopPropagation(),this.resizing=!0,this.startX=this.pointX(e),this.startY=this.pointY(e);let i=this.img.getBoundingClientRect();this.startSize=Math.round(i.width),this.img.style.transition="none",document.body.style.userSelect="none",document.body.style.cursor="nwse-resize",this.boundMove=r=>this.onResizeMove(r),this.boundUp=()=>this.onResizeEnd(),this.zone.runOutsideAngular(()=>{window.addEventListener("mousemove",this.boundMove),window.addEventListener("touchmove",this.boundMove),window.addEventListener("mouseup",this.boundUp),window.addEventListener("touchend",this.boundUp)})}onResizeMove(e){if(!this.resizing||!this.img)return;let i=this.pointX(e)-this.startX,r=this.pointY(e)-this.startY,o=Math.max(i,r),a=Math.max(this.MIN_SIZE,Math.min(this.MAX_SIZE,this.startSize+o));this.img.style.setProperty("width",a+"px","important"),this.img.style.setProperty("height",a+"px","important"),this.repositionHandle()}onResizeEnd(){if(!this.resizing||!this.img)return;this.resizing=!1,this.img.style.transition="",document.body.style.userSelect="",document.body.style.cursor="";let e=document.querySelector(".mfa-html-wrapper");e&&e.classList.remove("expanded");let i=Math.round(this.img.getBoundingClientRect().width);this.img.setAttribute("data-qr-size",i.toString()),this.detachListeners()}detachListeners(){this.boundMove&&(window.removeEventListener("mousemove",this.boundMove),window.removeEventListener("touchmove",this.boundMove),this.boundMove=null),this.boundUp&&(window.removeEventListener("mouseup",this.boundUp),window.removeEventListener("touchend",this.boundUp),this.boundUp=null)}pointX(e){return e instanceof TouchEvent?e.touches[0]?.clientX??0:e.clientX}pointY(e){return e instanceof TouchEvent?e.touches[0]?.clientY??0:e.clientY}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-mfa"]],standalone:!1,decls:21,vars:5,consts:[["id","mfaform","method","post",3,"ngSubmit"],[1,"mfa-container"],[1,"mfa-info"],[1,"mfa-stack"],["aria-hidden","true",1,"mfa-brand"],["alt","",3,"src"],[1,"mfa-form"],[1,"mfa-field"],["matInput","","id","code","name","code","value","","required","","autofocus",""],[1,"mfa-field","mfa-remember"],["type","hidden","name","remember","value","0"],[1,"mfa-button"],["mat-stroked-button","","color","primary","type","submit"],[1,"mfa-html-wrapper",3,"expanded"],["id","remember","name","remember"],[1,"mfa-html-wrapper"],[1,"mfa-html",3,"innerHtml"]],template:function(i,r){i&1&&(b(0,"form",0),j("ngSubmit",function(){return r.launch()}),b(1,"div",1)(2,"div",2)(3,"uds-translate"),S(4,"Login Verification"),v()(),b(5,"div",3)(6,"div",4),q(7,"img",5),v(),b(8,"div",6)(9,"div",7)(10,"mat-form-field")(11,"mat-label"),S(12),v(),q(13,"input",8),v()(),Q(14,p$,5,1,"div",9),Q(15,h$,1,0,"input",10),b(16,"div",11)(17,"button",12)(18,"uds-translate"),S(19,"Submit"),v()()(),Q(20,g$,3,5,"div",13),v()()()()),i&2&&(x(7),P("src",r.api.staticURL("modern/img/login-img.png")),x(5),Ke(" ",r.api.config.mfa.label," "),x(2),Z(r.api.config.mfa.remember_device!==""?14:-1),x(),Z(r.api.config.mfa.remember_device===""?15:-1),x(5),Z(r.api.config.mfa.html?20:-1))},dependencies:[Gl,$l,Zi,Ei,Mr,Xi,ra,H0,yt,ta],styles:[".mfa-container[_ngcontent-%COMP%]{position:relative;display:flex;flex-flow:column wrap;justify-content:center;align-items:center;min-height:calc(100vh - var(--%NS%content-offset) - var(--%NS%footer-block));padding-top:50px;padding-bottom:40px;box-sizing:border-box}.mfa-stack[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:center;min-width:320px;width:90%;max-width:420px}.mfa-brand[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:0;width:100%;display:flex;justify-content:center;pointer-events:none;-webkit-user-select:none;user-select:none}.mfa-brand[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:min(300px,78%);opacity:var(--%NS%login-brand-opacity);-webkit-mask-image:radial-gradient(ellipse 62% 44% at 50% 50%,#000 40%,transparent 100%);mask-image:radial-gradient(ellipse 62% 44% at 50% 50%,#000 40%,transparent 100%)}.mfa-info[_ngcontent-%COMP%], .mfa-form[_ngcontent-%COMP%]{position:relative;z-index:1}.mfa-info[_ngcontent-%COMP%]{margin-bottom:2rem;font-size:1.25rem;font-weight:500;color:var(--%NS%text-primary);text-align:center;opacity:.9}.mfa-form[_ngcontent-%COMP%]{width:100%;flex-shrink:0;padding:3rem 2.5rem;background-color:var(--%NS%login-card-bg)!important;backdrop-filter:var(--%NS%glass-backdrop-filter)!important;-webkit-backdrop-filter:var(--%NS%glass-backdrop-filter)!important;border:1px solid var(--%NS%glass-border)!important;box-shadow:var(--%NS%glass-shadow)!important;border-radius:28px!important;transition:all .4s ease;display:flex;flex-direction:column;align-items:center}.mfa-field[_ngcontent-%COMP%]{width:100%!important;margin-bottom:.5rem}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.mfa-remember[_ngcontent-%COMP%]{margin-bottom:0;color:var(--%NS%text-primary)}.mfa-button[_ngcontent-%COMP%]{margin-top:.5rem;width:75%;align-self:center}.mfa-button[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%!important;padding:22px!important;border-radius:16px!important;background:var(--%NS%bg-button)!important;color:#fff!important;font-weight:600;font-size:1.1rem;letter-spacing:1px;border:none!important;box-shadow:0 4px 15px #0003!important;transition:all .3s cubic-bezier(.4,0,.2,1)!important}.mfa-button[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0000004d!important;filter:brightness(1.1)}@media only screen and (max-width:600px){.mfa-container[_ngcontent-%COMP%]{padding-top:40px}.mfa-stack[_ngcontent-%COMP%]{width:92%}.mfa-form[_ngcontent-%COMP%]{padding:2rem 1.5rem}}.mfa-html-wrapper[_ngcontent-%COMP%]{position:relative;width:100%;display:flex;flex-direction:column;align-items:center;margin-top:1.5rem}.mfa-qr-anchor[_ngcontent-%COMP%]{display:none}.mfa-qr-resize[_ngcontent-%COMP%]{position:absolute;width:22px;height:22px;cursor:nwse-resize;background-image:linear-gradient(135deg,transparent 0%,transparent 36%,currentColor 36%,currentColor 44%,transparent 44%,transparent 54%,currentColor 54%,currentColor 62%,transparent 62%,transparent 72%,currentColor 72%,currentColor 80%,transparent 80%);background-size:100% 100%;background-repeat:no-repeat;color:var(--%NS%text-primary);opacity:.7;touch-action:none;-webkit-user-select:none;user-select:none;z-index:3}.mfa-qr-resize[_ngcontent-%COMP%]:hover{opacity:1}.mfa-html[_ngcontent-%COMP%]{display:block;width:auto;text-align:center;font-size:.9rem;line-height:1.5;color:var(--%NS%text-primary);word-break:break-word;margin:0 auto;padding:0}.mfa-html[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:.5rem 0;opacity:.9}.mfa-html[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{display:block!important;width:180px!important;height:180px!important;max-width:100%!important;object-fit:contain!important;padding:10px!important;background:#fff!important;border-radius:16px!important;box-shadow:0 4px 16px #00000040!important;margin:.5rem auto .75rem!important;box-sizing:border-box!important}.mfa-html-wrapper.expanded[_ngcontent-%COMP%] .mfa-html[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:360px!important;height:360px!important}"],changeDetection:1})}}return t})();var b$=[{path:"",redirectTo:"services",pathMatch:"full"},{path:"services",component:iR,canActivate:[y0]},{path:"login",component:D0},{path:"login/:id",component:D0},{path:"mfa",component:cR},{path:"launcher-download",component:EA},{path:"downloads",component:DA,canActivate:[y0]},{path:"error/:id",component:rR},{path:"about",component:oR},{path:"ticket/launcher",component:aR},{path:"**",redirectTo:"services"}],dR=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Y({type:t})}static{this.\u0275inj=W({imports:[Hp.forRoot(b$,{}),Hp]})}}return t})();var Fe=(function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t})(Fe||{}),Ji="*";function uR(t,n=null){return{type:Fe.Sequence,steps:t,options:n}}function U0(t){return{type:Fe.Style,styles:t,offset:null}}var po=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,e=0){this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Xl=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let e=0,i=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==o&&this._onFinish()}),a.onDestroy(()=>{++i==o&&this._onDestroy()}),a.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((a,s)=>Math.max(a,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){let e=n*this.totalTime;this.players.forEach(i=>{let r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){let n=this.players.reduce((e,i)=>e===null||i.totalTime>e.totalTime?i:e,null);return n!=null?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},_u="!";function mR(t){return new D(3e3,!1)}function v$(){return new D(3100,!1)}function y$(){return new D(3101,!1)}function _$(t){return new D(3001,!1)}function x$(t){return new D(3003,!1)}function C$(t){return new D(3004,!1)}function pR(t,n){return new D(3005,!1)}function hR(){return new D(3006,!1)}function gR(){return new D(3007,!1)}function bR(t,n){return new D(3008,!1)}function vR(t){return new D(3002,!1)}function yR(t,n,e,i,r){return new D(3010,!1)}function _R(){return new D(3011,!1)}function xR(){return new D(3012,!1)}function CR(){return new D(3200,!1)}function wR(){return new D(3202,!1)}function SR(){return new D(3013,!1)}function ER(t){return new D(3014,!1)}function DR(t){return new D(3015,!1)}function MR(t){return new D(3016,!1)}function IR(t,n){return new D(3404,!1)}function w$(t){return new D(3502,!1)}function kR(t){return new D(3503,!1)}function TR(){return new D(3300,!1)}function NR(t){return new D(3504,!1)}function AR(t){return new D(3301,!1)}function RR(t,n){return new D(3302,!1)}function OR(t){return new D(3303,!1)}function PR(t,n){return new D(3400,!1)}function FR(t){return new D(3401,!1)}function LR(t){return new D(3402,!1)}function VR(t,n){return new D(3505,!1)}function ho(t){switch(t.length){case 0:return new po;case 1:return t[0];default:return new Xl(t)}}function q0(t,n,e=new Map,i=new Map){let r=[],o=[],a=-1,s=null;if(n.forEach(l=>{let c=l.get("offset"),d=c==a,m=d&&s||new Map;l.forEach((p,f)=>{let g=f,_=p;if(f!=="offset")switch(g=t.normalizePropertyName(g,r),_){case _u:_=e.get(f);break;case Ji:_=i.get(f);break;default:_=t.normalizeStyleValue(f,g,_,r);break}m.set(g,_)}),d||o.push(m),s=m,a=c}),r.length)throw w$(r);return o}function Qh(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&$0(e,"start",t)));break;case"done":t.onDone(()=>i(e&&$0(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&$0(e,"destroy",t)));break}}function $0(t,n,e){let i=e.totalTime,r=!!e.disabled,o=Zh(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,i??t.totalTime,r),a=t._data;return a!=null&&(o._data=a),o}function Zh(t,n,e,i,r="",o=0,a){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!a}}function Qn(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function Y0(t){let n=t.indexOf(":"),e=t.substring(1,n),i=t.slice(n+1);return[e,i]}var S$=typeof document>"u"?null:document.documentElement;function Xh(t){let n=t.parentNode||t.host||null;return n===S$?null:n}function E$(t){return t.substring(1,6)=="ebkit"}var rs=null,fR=!1;function jR(t){rs||(rs=D$()||{},fR=rs.style?"WebkitAppearance"in rs.style:!1);let n=!0;return rs.style&&!E$(t)&&(n=t in rs.style,!n&&fR&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in rs.style)),n}function D$(){return typeof document<"u"?document.body:null}function K0(t,n){for(;n;){if(n===t)return!0;n=Xh(n)}return!1}function Q0(t,n,e){if(e)return Array.from(t.querySelectorAll(n));let i=t.querySelector(n);return i?[i]:[]}var M$=1e3,Z0="{{",I$="}}",X0="ng-enter",Jh="ng-leave",xu="ng-trigger",Cu=".ng-trigger",J0="ng-animating",eg=".ng-animating";function Tr(t){if(typeof t=="number")return t;let n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:G0(parseFloat(n[1]),n[2])}function G0(t,n){return n==="s"?t*M$:t}function wu(t,n,e){return typeof t=="object"&&t!==null&&Object.hasOwn(t,"duration")?t:T$(t,n,e)}var k$=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function T$(t,n,e){let i,r=0,o="";if(typeof t=="string"){let a=t.match(k$);if(a===null)return n.push(mR(t)),{duration:0,delay:0,easing:""};i=G0(parseFloat(a[1]),a[2]);let s=a[3];s!=null&&(r=G0(parseFloat(s),a[4]));let l=a[5];l&&(o=l)}else i=t;if(!e){let a=!1,s=n.length;i<0&&(n.push(v$()),a=!0),r<0&&(n.push(y$()),a=!0),a&&n.splice(s,0,mR(t))}return{duration:i,delay:r,easing:o}}function BR(t){return t.length?t[0]instanceof Map?t:t.map(n=>new Map(Object.entries(n))):[]}function er(t,n,e){n.forEach((i,r)=>{let o=tg(r);e&&!e.has(r)&&e.set(r,t.style[o]),t.style[o]=i})}function aa(t,n){n.forEach((e,i)=>{let r=tg(i);t.style[r]=""})}function Jl(t){return Array.isArray(t)?t.length==1?t[0]:uR(t):t}function zR(t,n,e){let i=n.params||{},r=eC(t);r.length&&r.forEach(o=>{Object.hasOwn(i,o)||e.push(_$(o))})}var W0=new RegExp(`${Z0}\\s*(.+?)\\s*${I$}`,"g");function eC(t){let n=[];if(typeof t=="string"){let e;for(;e=W0.exec(t);)n.push(e[1]);W0.lastIndex=0}return n}function ec(t,n,e){let i=`${t}`,r=i.replace(W0,(o,a)=>{let s=n[a];return s==null&&(e.push(x$(a)),s=""),s.toString()});return r==i?t:r}var N$=/-+([a-z0-9])/g;function tg(t){return t.replace(N$,(...n)=>n[1].toUpperCase())}function HR(t,n){return t===0||n===0}function UR(t,n,e){if(e.size&&n.length){let i=n[0],r=[];if(e.forEach((o,a)=>{i.has(a)||r.push(a),i.set(a,o)}),r.length)for(let o=1;oa.set(s,ng(t,s)))}}return n}function Zn(t,n,e){switch(n.type){case Fe.Trigger:return t.visitTrigger(n,e);case Fe.State:return t.visitState(n,e);case Fe.Transition:return t.visitTransition(n,e);case Fe.Sequence:return t.visitSequence(n,e);case Fe.Group:return t.visitGroup(n,e);case Fe.Animate:return t.visitAnimate(n,e);case Fe.Keyframes:return t.visitKeyframes(n,e);case Fe.Style:return t.visitStyle(n,e);case Fe.Reference:return t.visitReference(n,e);case Fe.AnimateChild:return t.visitAnimateChild(n,e);case Fe.AnimateRef:return t.visitAnimateRef(n,e);case Fe.Query:return t.visitQuery(n,e);case Fe.Stagger:return t.visitStagger(n,e);default:throw C$(n.type)}}function ng(t,n){return window.getComputedStyle(t)[n]}var bC=(()=>{class t{validateStyleProperty(e){return jR(e)}containsElement(e,i){return K0(e,i)}getParentElement(e){return Xh(e)}query(e,i,r){return Q0(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,a,s=[],l){return new po(r,o)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})(),as=class{static NOOP=new bC},ss=class{};var A$=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),sg=class extends ss{normalizePropertyName(n,e){return tg(n)}normalizeStyleValue(n,e,i,r){let o="",a=i.toString().trim();if(A$.has(e)&&i!==0&&i!=="0")if(typeof i=="number")o="px";else{let s=i.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&r.push(pR(n,i))}return a+o}};var lg="*";function R$(t,n){let e=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(i=>O$(i,e,n)):e.push(t),e}function O$(t,n,e){if(t[0]==":"){let l=P$(t,e);if(typeof l=="function"){n.push(l);return}t=l}let i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return e.push(DR(t)),n;let r=i[1],o=i[2],a=i[3];n.push($R(r,a));let s=r==lg&&a==lg;o[0]=="<"&&!s&&n.push($R(a,r))}function P$(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}var ig=new Set(["true","1"]),rg=new Set(["false","0"]);function $R(t,n){let e=ig.has(t)||rg.has(t),i=ig.has(n)||rg.has(n);return(r,o)=>{let a=t==lg||t==r,s=n==lg||n==o;return!a&&e&&typeof r=="boolean"&&(a=r?ig.has(t):rg.has(t)),!s&&i&&typeof o=="boolean"&&(s=o?ig.has(n):rg.has(n)),a&&s}}var eO=":self",F$=new RegExp(`s*${eO}s*,?`,"g");function tO(t,n,e,i){return new aC(t).build(n,e,i)}var GR="",aC=class{_driver;constructor(n){this._driver=n}build(n,e,i){let r=new sC(e);return this._resetContextStyleTimingState(r),Zn(this,Jl(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector=GR,n.collectedStyles=new Map,n.collectedStyles.set(GR,new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,r=e.depCount=0,o=[],a=[];return n.name.charAt(0)=="@"&&e.errors.push(hR()),n.definitions.forEach(s=>{if(this._resetContextStyleTimingState(e),s.type==Fe.State){let l=s,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,e))}),l.name=c}else if(s.type==Fe.Transition){let l=this.visitTransition(s,e);i+=l.queryCount,r+=l.depCount,a.push(l)}else e.errors.push(gR())}),{type:Fe.Trigger,name:n.name,states:o,transitions:a,queryCount:i,depCount:r,options:null}}visitState(n,e){let i=this.visitStyle(n.styles,e),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){let o=new Set,a=r||{};i.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{eC(l).forEach(c=>{Object.hasOwn(a,c)||o.add(c)})})}),o.size&&e.errors.push(bR(n.name,[...o.values()]))}return{type:Fe.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;let i=Zn(this,Jl(n.animation),e),r=R$(n.expr,e.errors);return{type:Fe.Transition,matchers:r,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:os(n.options)}}visitSequence(n,e){return{type:Fe.Sequence,steps:n.steps.map(i=>Zn(this,i,e)),options:os(n.options)}}visitGroup(n,e){let i=e.currentTime,r=0,o=n.steps.map(a=>{e.currentTime=i;let s=Zn(this,a,e);return r=Math.max(r,e.currentTime),s});return e.currentTime=r,{type:Fe.Group,steps:o,options:os(n.options)}}visitAnimate(n,e){let i=B$(n.timings,e.errors);e.currentAnimateTimings=i;let r,o=n.styles?n.styles:U0({});if(o.type==Fe.Keyframes)r=this.visitKeyframes(o,e);else{let a=n.styles,s=!1;if(!a){s=!0;let c={};i.easing&&(c.easing=i.easing),a=U0(c)}e.currentTime+=i.duration+i.delay;let l=this.visitStyle(a,e);l.isEmptyStep=s,r=l}return e.currentAnimateTimings=null,{type:Fe.Animate,timings:i,style:r,options:null}}visitStyle(n,e){let i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){let i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let s of r)typeof s=="string"?s===Ji?i.push(s):e.errors.push(vR(s)):i.push(new Map(Object.entries(s)));let o=!1,a=null;return i.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!o)){for(let l of s.values())if(l.toString().indexOf(Z0)>=0){o=!0;break}}}),{type:Fe.Style,styles:i,easing:a,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,e){let i=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(a=>{typeof a!="string"&&a.forEach((s,l)=>{let c=e.collectedStyles.get(e.currentQuerySelector),d=c.get(l),m=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(yR(l,d.startTime,d.endTime,o,r)),m=!1),o=d.startTime),m&&c.set(l,{startTime:o,endTime:r}),e.options&&zR(s,e.options,e.errors)})})}visitKeyframes(n,e){let i={type:Fe.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(_R()),i;let r=1,o=0,a=[],s=!1,l=!1,c=0,d=n.steps.map(L=>{let A=this._makeStyleAst(L,e),ee=A.offset!=null?A.offset:j$(A.styles),Re=0;return ee!=null&&(o++,Re=A.offset=ee),l=l||Re<0||Re>1,s=s||Re0&&o{let ee=p>0?A==f?1:p*A:a[A],Re=ee*E;e.currentTime=g+_.delay+Re,_.duration=Re,this._validateStyleAst(L,e),L.offset=ee,i.styles.push(L)}),i}visitReference(n,e){return{type:Fe.Reference,animation:Zn(this,Jl(n.animation),e),options:os(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:Fe.AnimateChild,options:os(n.options)}}visitAnimateRef(n,e){return{type:Fe.AnimateRef,animation:this.visitReference(n.animation,e),options:os(n.options)}}visitQuery(n,e){let i=e.currentQuerySelector,r=n.options||{};e.queryCount++,e.currentQuery=n;let[o,a]=L$(n.selector);e.currentQuerySelector=i.length?i+" "+o:o,Qn(e.collectedStyles,e.currentQuerySelector,new Map);let s=Zn(this,Jl(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:Fe.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:n.selector,options:os(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(SR());let i=n.timings==="full"?{duration:0,delay:0,easing:"full"}:wu(n.timings,e.errors,!0);return{type:Fe.Stagger,animation:Zn(this,Jl(n.animation),e),timings:i,options:null}}};function L$(t){let n=!!t.split(/\s*,\s*/).find(e=>e==eO);return n&&(t=t.replace(F$,"")),t=t.replace(/@\*/g,Cu).replace(/@\w+/g,e=>Cu+"-"+e.slice(1)).replace(/:animating/g,eg),[t,n]}function V$(t){return t?w({},t):null}var sC=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(n){this.errors=n}};function j$(t){if(typeof t=="string")return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){let i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}function B$(t,n){if(typeof t=="object"&&t!==null&&Object.hasOwn(t,"duration"))return t;if(typeof t=="number"){let o=wu(t,n).duration;return tC(o,0,"")}let e=t;if(e.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=tC(0,0,"");return o.dynamic=!0,o.strValue=e,o}let r=wu(e,n);return tC(r.duration,r.delay,r.easing)}function os(t){return t?(t=w({},t),t.params&&(t.params=V$(t.params))):t={},t}function tC(t,n,e){return{duration:t,delay:n,easing:e}}function vC(t,n,e,i,r,o,a=null,s=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}var Eu=class{_map=new Map;get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}},z$=1,H$=":enter",U$=new RegExp(H$,"g"),$$=":leave",G$=new RegExp($$,"g");function nO(t,n,e,i,r,o=new Map,a=new Map,s,l,c=[]){return new lC().buildKeyframes(t,n,e,i,r,o,a,s,l,c)}var lC=class{buildKeyframes(n,e,i,r,o,a,s,l,c,d=[]){c=c||new Eu;let m=new cC(n,e,c,r,o,d,[]);m.options=l;let p=l.delay?Tr(l.delay):0;m.currentTimeline.delayNextStep(p),m.currentTimeline.setStyles([a],null,m.errors,l),Zn(this,i,m);let f=m.timelines.filter(g=>g.containsAnimation());if(f.length&&s.size){let g;for(let _=f.length-1;_>=0;_--){let E=f[_];if(E.element===e){g=E;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([s],null,m.errors,l)}return f.length?f.map(g=>g.buildKeyframes()):[vC(e,[],[],[],0,p,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){let i=e.subInstructions.get(e.element);if(i){let r=e.createSubContext(n.options),o=e.currentTimeline.currentTime,a=this._visitSubInstructions(i,r,r.options);o!=a&&e.transformIntoNewTimeline(a)}e.previousNode=n}visitAnimateRef(n,e){let i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(let r of n){let o=r?.delay;if(o){let a=typeof o=="number"?o:Tr(ec(o,r?.params??{},e.errors));i.delayNextStep(a)}}}_visitSubInstructions(n,e,i){let o=e.currentTimeline.currentTime,a=i.duration!=null?Tr(i.duration):null,s=i.delay!=null?Tr(i.delay):null;return a!==0&&n.forEach(l=>{let c=e.appendInstructionToTimeline(l,a,s);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,e){e.updateOptions(n.options,!0),Zn(this,n.animation,e),e.previousNode=n}visitSequence(n,e){let i=e.subContextCount,r=e,o=n.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==Fe.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=cg);let a=Tr(o.delay);r.delayNextStep(a)}n.steps.length&&(n.steps.forEach(a=>Zn(this,a,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){let i=[],r=e.currentTimeline.currentTime,o=n.options&&n.options.delay?Tr(n.options.delay):0;n.steps.forEach(a=>{let s=e.createSubContext(n.options);o&&s.delayNextStep(o),Zn(this,a,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(a=>e.currentTimeline.mergeTimelineCollectedStyles(a)),e.transformIntoNewTimeline(r),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){let i=n.strValue,r=e.params?ec(i,e.params,e.errors):i;return wu(r,e.errors)}else return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){let i=e.currentAnimateTimings=this._visitTiming(n.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());let o=n.style;o.type==Fe.Keyframes?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){let i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();let o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){let i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,s=e.createSubContext().currentTimeline;s.easing=i.easing,n.styles.forEach(l=>{let c=l.offset||0;s.forwardTime(c*o),s.setStyles(l.styles,l.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(r+o),e.previousNode=n}visitQuery(n,e){let i=e.currentTimeline.currentTime,r=n.options||{},o=r.delay?Tr(r.delay):0;o&&(e.previousNode.type===Fe.Style||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=cg);let a=i,s=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;let l=null;s.forEach((c,d)=>{e.currentQueryIndex=d;let m=e.createSubContext(n.options,c);o&&m.delayNextStep(o),c===e.element&&(l=m.currentTimeline),Zn(this,n.animation,m),m.currentTimeline.applyStylesToKeyframe();let p=m.currentTimeline.currentTime;a=Math.max(a,p)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){let i=e.parentContext,r=e.currentTimeline,o=n.timings,a=Math.abs(o.duration),s=a*(e.currentQueryTotal-1),l=a*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=s-l;break;case"full":l=i.currentStaggerTime;break}let d=e.currentTimeline;l&&d.delayNextStep(l);let m=d.currentTime;Zn(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=r.currentTime-m+(r.startTime-i.currentTimeline.startTime)}},cg={},cC=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=cg;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(n,e,i,r,o,a,s,l){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=s,this.currentTimeline=l||new dg(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;let i=n,r=this.options;i.duration!=null&&(r.duration=Tr(i.duration)),i.delay!=null&&(r.delay=Tr(i.delay));let o=i.params;if(o){let a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(s=>{(!e||!Object.hasOwn(a,s))&&(a[s]=ec(o[s],a,this.errors))})}}_copyOptions(){let n={};if(this.options){let e=this.options.params;if(e){let i=n.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return n}createSubContext(n=null,e,i){let r=e||this.element,o=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=cg,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){let r={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new dC(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,r,o,a){let s=[];if(r&&s.push(this.element),n.length>0){n=n.replace(U$,"."+this._enterClassName),n=n.replace(G$,"."+this._leaveClassName);let l=i!=1,c=this._driver.query(this.element,n,l);i!==0&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),s.push(...c)}return!o&&s.length==0&&a.push(ER(e)),s}},dg=class t{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(n,e,i,r){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new t(this._driver,n,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=z$,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Ji),this._currentKeyframe.set(e,Ji);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,r){e&&this._previousKeyframe.set("easing",e);let o=r&&r.params||{},a=W$(n,this._globalTimelineStyles);for(let[s,l]of a){let c=ec(l,o,i);this._pendingStyles.set(s,c),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??Ji),this._updateStyle(s,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{let r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let n=new Set,e=new Set,i=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((s,l)=>{let c=new Map([...this._backFill,...s]);c.forEach((d,m)=>{d===_u?n.add(m):d===Ji&&e.add(m)}),i||c.set("offset",l/this.duration),r.push(c)});let o=[...n.values()],a=[...e.values()];if(i){let s=r[0],l=new Map(s);s.set("offset",0),l.set("offset",1),r=[s,l]}return vC(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}},dC=class extends dg{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(n,e,i,r,o,a,s=!1){super(n,e,a.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){let o=[],a=i+e,s=e/a,l=new Map(n[0]);l.set("offset",0),o.push(l);let c=new Map(n[0]);c.set("offset",WR(s)),o.push(c);let d=n.length-1;for(let m=1;m<=d;m++){let p=new Map(n[m]),f=p.get("offset"),g=e+f*i;p.set("offset",WR(g/a)),o.push(p)}i=a,e=0,r="",n=o}return vC(this.element,n,this.preStyleProps,this.postStyleProps,i,e,r,!0)}};function WR(t,n=3){let e=Math.pow(10,n-1);return Math.round(t*e)/e}function W$(t,n){let e=new Map,i;return t.forEach(r=>{if(r==="*"){i??=n.keys();for(let o of i)e.set(o,Ji)}else for(let[o,a]of r)e.set(o,a)}),e}function qR(t,n,e,i,r,o,a,s,l,c,d,m,p){return{type:0,element:t,triggerName:n,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:a,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:m,errors:p}}var nC={},ug=class{_triggerName;ast;_stateStyles;constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,r){return q$(this.ast.matchers,n,e,i,r)}buildStyles(n,e,i){let r=this._stateStyles.get("*");return n!==void 0&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(e,i):new Map}build(n,e,i,r,o,a,s,l,c,d){let m=[],p=this.ast.options&&this.ast.options.params||nC,f=s&&s.params||nC,g=this.buildStyles(i,f,m),_=l&&l.params||nC,E=this.buildStyles(r,_,m),L=new Set,A=new Map,ee=new Map,Re=r==="void",ht={params:iO(_,p),delay:this.ast.options?.delay},Le=d?[]:nO(n,e,this.ast.animation,o,a,g,E,ht,c,m),Pe=0;return Le.forEach(Je=>{Pe=Math.max(Je.duration+Je.delay,Pe)}),m.length?qR(e,this._triggerName,i,r,Re,g,E,[],[],A,ee,Pe,m):(Le.forEach(Je=>{let It=Je.element,me=Qn(A,It,new Set);Je.preStyleProps.forEach(k=>me.add(k));let _e=Qn(ee,It,new Set);Je.postStyleProps.forEach(k=>_e.add(k)),It!==e&&L.add(It)}),qR(e,this._triggerName,i,r,Re,g,E,Le,[...L.values()],A,ee,Pe))}};function q$(t,n,e,i,r){return t.some(o=>o(n,e,i,r))}function iO(t,n){let e=w({},n);return Object.entries(t).forEach(([i,r])=>{r!=null&&(e[i]=r)}),e}var uC=class{styles;defaultParams;normalizer;constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){let i=new Map,r=iO(n,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,s)=>{a&&(a=ec(a,r,e));let l=this.normalizer.normalizePropertyName(s,e);a=this.normalizer.normalizeStyleValue(s,l,a,e),i.set(s,a)})}),i}};function Y$(t,n,e){return new mC(t,n,e)}var mC=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,e.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new uC(r.style,o,i))}),YR(this.states,"true","1"),YR(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new ug(n,r,this.states))}),this.fallbackTransition=K$(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,r){return this.transitionFactories.find(a=>a.match(n,e,i,r))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}};function K$(t,n,e){let i=[(a,s)=>!0],r={type:Fe.Sequence,steps:[],options:null},o={type:Fe.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new ug(t,o,n)}function YR(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}var Q$=new Eu,fC=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i}register(n,e){let i=[],r=[],o=tO(this._driver,e,i,r);if(i.length)throw kR(i);this._animations.set(n,o)}_buildPlayer(n,e,i){let r=n.element,o=q0(this._normalizer,n.keyframes,e,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){let r=[],o=this._animations.get(n),a,s=new Map;if(o?(a=nO(this._driver,e,o,X0,Jh,new Map,new Map,i,Q$,r),a.forEach(d=>{let m=Qn(s,d.element,new Map);d.postStyleProps.forEach(p=>m.set(p,null))})):(r.push(TR()),a=[]),r.length)throw NR(r);s.forEach((d,m)=>{d.forEach((p,f)=>{d.set(f,this._driver.computeStyle(m,f,Ji))})});let l=a.map(d=>{let m=s.get(d.element);return this._buildPlayer(d,new Map,m)}),c=ho(l);return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){let e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);let i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){let e=this._playersById.get(n);if(!e)throw AR(n);return e}listen(n,e,i,r){let o=Zh(e,"","","");return Qh(this._getPlayer(n),i,o,r),()=>{}}command(n,e,i,r){if(i=="register"){this.register(n,r[0]);return}if(i=="create"){let a=r[0]||{};this.create(n,e,a);return}let o=this._getPlayer(n);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(n);break}}},KR="ng-animate-queued",Z$=".ng-animate-queued",iC="ng-animate-disabled",X$=".ng-animate-disabled",J$="ng-star-inserted",e4=".ng-star-inserted",t4=[],rO={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},n4={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},tr="__ng_removed",Du=class{namespaceId;value;options;get params(){return this.options.params}constructor(n,e=""){this.namespaceId=e;let i=n&&Object.hasOwn(n,"value"),r=i?n.value:n;if(this.value=r4(r),i){let o=n,{value:a}=o,s=Vg(o,["value"]);this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){let e=n.params;if(e){let i=this.options.params;Object.keys(e).forEach(r=>{i[r]==null&&(i[r]=e[r])})}}},Su="void",rC=new Du(Su),pC=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this._hostClassName="ng-tns-"+n,Mi(e,this._hostClassName)}listen(n,e,i,r){if(!this._triggers.has(e))throw RR(i,e);if(i==null||i.length==0)throw OR(e);if(!o4(i))throw PR(i,e);let o=Qn(this._elementListeners,n,[]),a={name:e,phase:i,callback:r};o.push(a);let s=Qn(this._engine.statesByElement,n,new Map);return s.has(e)||(Mi(n,xu),Mi(n,xu+"-"+e),s.set(e,rC)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(a);l>=0&&o.splice(l,1),this._triggers.has(e)||s.delete(e)})}}register(n,e){return this._triggers.has(n)?!1:(this._triggers.set(n,e),!0)}_getTrigger(n){let e=this._triggers.get(n);if(!e)throw FR(n);return e}trigger(n,e,i,r=!0){let o=this._getTrigger(e),a=new Mu(this.id,e,n),s=this._engine.statesByElement.get(n);s||(Mi(n,xu),Mi(n,xu+"-"+e),this._engine.statesByElement.set(n,s=new Map));let l=s.get(e),c=new Du(i,this.id);if(!(i&&Object.hasOwn(i,"value"))&&l&&c.absorbOptions(l.options),s.set(e,c),l||(l=rC),!(c.value===Su)&&l.value===c.value){if(!l4(l.params,c.params)){let _=[],E=o.matchStyles(l.value,l.params,_),L=o.matchStyles(c.value,c.params,_);_.length?this._engine.reportError(_):this._engine.afterFlush(()=>{aa(n,E),er(n,L)})}return}let p=Qn(this._engine.playersByElement,n,[]);p.forEach(_=>{_.namespaceId==this.id&&_.triggerName==e&&_.queued&&_.destroy()});let f=o.matchTransition(l.value,c.value,n,c.params),g=!1;if(!f){if(!r)return;f=o.fallbackTransition,g=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:f,fromState:l,toState:c,player:a,isFallbackTransition:g}),g||(Mi(n,KR),a.onStart(()=>{tc(n,KR)})),a.onDone(()=>{let _=this.players.indexOf(a);_>=0&&this.players.splice(_,1);let E=this._engine.playersByElement.get(n);if(E){let L=E.indexOf(a);L>=0&&E.splice(L,1)}}),this.players.push(a),p.push(a),a}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);let e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){let i=this._engine.driver.query(n,Cu,!0);i.forEach(r=>{if(r[tr])return;let o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(a=>a.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,e,i,r){let o=this._engine.statesByElement.get(n),a=new Map;if(o){let s=[];if(o.forEach((l,c)=>{if(a.set(c,l.value),this._triggers.has(c)){let d=this.trigger(n,c,Su,r);d&&s.push(d)}}),s.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,a),i&&ho(s).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){let e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){let r=new Set;e.forEach(o=>{let a=o.name;if(r.has(a))return;r.add(a);let l=this._triggers.get(a).fallbackTransition,c=i.get(a)||rC,d=new Du(Su),m=new Mu(this.id,a,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:a,transition:l,fromState:c,toState:d,player:m,isFallbackTransition:!0})})}}removeNode(n,e){let i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let r=!1;if(i.totalAnimations){let o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let a=n;for(;a=a.parentNode;)if(i.statesByElement.get(a)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,e);else{let o=n[tr];(!o||o===rO)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){Mi(n,this._hostClassName)}drainQueuedTransitions(n){let e=[];return this._queue.forEach(i=>{let r=i.player;if(r.destroyed)return;let o=i.element,a=this._elementListeners.get(o);a&&a.forEach(s=>{if(s.name==i.triggerName){let l=Zh(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,Qh(i.player,s.phase,l,s.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{let o=i.transition.ast.depCount,a=r.transition.ast.depCount;return o==0||a==0?o-a:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}},hC=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(n,e)=>{};_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}constructor(n,e,i){this.bodyNode=n,this.driver=e,this._normalizer=i}get queuedPlayers(){let n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){let i=new pC(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,e){let i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let a=!1,s=this.driver.getParentElement(e);for(;s;){let l=r.get(s);if(l){let c=i.indexOf(l);i.splice(c+1,0,n),a=!0;break}s=this.driver.getParentElement(s)}a||i.unshift(n)}else i.push(n);return r.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let r=this._namespaceLookup[n];r&&r.register(e,i)&&this.totalAnimations++}destroy(n,e){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);let r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(e),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){let e=new Set,i=this.statesByElement.get(n);if(i){for(let r of i.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}}return e}trigger(n,e,i,r){if(og(e)){let o=this._fetchNamespace(n);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(n,e,i,r){if(!og(e))return;let o=e[tr];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(n){let a=this._fetchNamespace(n);a&&a.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Mi(n,iC)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),tc(n,iC))}removeNode(n,e,i){if(og(e)){let r=n?this._fetchNamespace(n):null;r?r.removeNode(e,i):this.markElementAsRemoved(n,e,!1,i);let o=this.namespacesByHostElement.get(e);o&&o.id!==n&&o.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(n,e,i,r,o){this.collectedLeaveElements.push(e),e[tr]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,e,i,r,o){return og(e)?this._fetchNamespace(n).listen(e,i,r,o):()=>{}}_buildInstruction(n,e,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,e,o)}destroyInnerAnimations(n){let e=this.driver.query(n,Cu,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(n,eg,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){let e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){let e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return ho(this.players).onDone(()=>n());n()})}processLeaveNode(n){let e=n[tr];if(e&&e.setForRemoval){if(n[tr]=rO,e.namespaceId){this.destroyInnerAnimations(n);let i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(iC)&&this.markElementAsDisabled(n,!1),this.driver.query(n,X$,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],e.length?ho(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw LR(n)}_flushAnimations(n,e){let i=new Eu,r=[],o=new Map,a=[],s=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(te=>{d.add(te);let ae=this.driver.query(te,Z$,!0);for(let be=0;be{let be=X0+_++;g.set(ae,be),te.forEach(qe=>Mi(qe,be))});let E=[],L=new Set,A=new Set;for(let te=0;teL.add(qe)):A.add(ae))}let ee=new Map,Re=XR(p,Array.from(L));Re.forEach((te,ae)=>{let be=Jh+_++;ee.set(ae,be),te.forEach(qe=>Mi(qe,be))}),n.push(()=>{f.forEach((te,ae)=>{let be=g.get(ae);te.forEach(qe=>tc(qe,be))}),Re.forEach((te,ae)=>{let be=ee.get(ae);te.forEach(qe=>tc(qe,be))}),E.forEach(te=>{this.processLeaveNode(te)})});let ht=[],Le=[];for(let te=this._namespaceList.length-1;te>=0;te--)this._namespaceList[te].drainQueuedTransitions(e).forEach(be=>{let qe=be.player,kt=be.element;if(ht.push(qe),this.collectedEnterElements.length){let dn=kt[tr];if(dn&&dn.setForMove){if(dn.previousTriggersValues&&dn.previousTriggersValues.has(be.triggerName)){let Nr=dn.previousTriggersValues.get(be.triggerName),jn=this.statesByElement.get(be.element);if(jn&&jn.has(be.triggerName)){let ls=jn.get(be.triggerName);ls.value=Nr,jn.set(be.triggerName,ls)}}qe.destroy();return}}let Vn=!m||!this.driver.containsElement(m,kt),xn=ee.get(kt),ir=g.get(kt),_t=this._buildInstruction(be,i,ir,xn,Vn);if(_t.errors&&_t.errors.length){Le.push(_t);return}if(Vn){qe.onStart(()=>aa(kt,_t.fromStyles)),qe.onDestroy(()=>er(kt,_t.toStyles)),r.push(qe);return}if(be.isFallbackTransition){qe.onStart(()=>aa(kt,_t.fromStyles)),qe.onDestroy(()=>er(kt,_t.toStyles)),r.push(qe);return}let Iu=[];_t.timelines.forEach(dn=>{dn.stretchStartingKeyframe=!0,this.disabledNodes.has(dn.element)||Iu.push(dn)}),_t.timelines=Iu,i.append(kt,_t.timelines);let gt={instruction:_t,player:qe,element:kt};a.push(gt),_t.queriedElements.forEach(dn=>Qn(s,dn,[]).push(qe)),_t.preStyleProps.forEach((dn,Nr)=>{if(dn.size){let jn=l.get(Nr);jn||l.set(Nr,jn=new Set),dn.forEach((ls,ic)=>jn.add(ic))}}),_t.postStyleProps.forEach((dn,Nr)=>{let jn=c.get(Nr);jn||c.set(Nr,jn=new Set),dn.forEach((ls,ic)=>jn.add(ic))})});if(Le.length){let te=[];Le.forEach(ae=>{te.push(VR(ae.triggerName,ae.errors))}),ht.forEach(ae=>ae.destroy()),this.reportError(te)}let Pe=new Map,Je=new Map;a.forEach(te=>{let ae=te.element;i.has(ae)&&(Je.set(ae,ae),this._beforeAnimationBuild(te.player.namespaceId,te.instruction,Pe))}),r.forEach(te=>{let ae=te.element;this._getPreviousPlayers(ae,!1,te.namespaceId,te.triggerName,null).forEach(qe=>{Qn(Pe,ae,[]).push(qe),qe.destroy()})});let It=E.filter(te=>JR(te,l,c)),me=new Map;ZR(me,this.driver,A,c,Ji).forEach(te=>{JR(te,l,c)&&It.push(te)});let k=new Map;f.forEach((te,ae)=>{ZR(k,this.driver,new Set(te),l,_u)}),It.forEach(te=>{let ae=me.get(te),be=k.get(te);me.set(te,new Map([...ae?.entries()??[],...be?.entries()??[]]))});let Ve=[],Ut=[],nr={};a.forEach(te=>{let{element:ae,player:be,instruction:qe}=te;if(i.has(ae)){if(d.has(ae)){be.onDestroy(()=>er(ae,qe.toStyles)),be.disabled=!0,be.overrideTotalTime(qe.totalTime),r.push(be);return}let kt=nr;if(Je.size>1){let xn=ae,ir=[];for(;xn=xn.parentNode;){let _t=Je.get(xn);if(_t){kt=_t;break}ir.push(xn)}ir.forEach(_t=>Je.set(_t,kt))}let Vn=this._buildAnimation(be.namespaceId,qe,Pe,o,k,me);if(be.setRealPlayer(Vn),kt===nr)Ve.push(be);else{let xn=this.playersByElement.get(kt);xn&&xn.length&&(be.parentPlayer=ho(xn)),r.push(be)}}else aa(ae,qe.fromStyles),be.onDestroy(()=>er(ae,qe.toStyles)),Ut.push(be),d.has(ae)&&r.push(be)}),Ut.forEach(te=>{let ae=o.get(te.element);if(ae&&ae.length){let be=ho(ae);te.setRealPlayer(be)}}),r.forEach(te=>{te.parentPlayer?te.syncPlayerEvents(te.parentPlayer):te.destroy()});for(let te=0;te!Vn.destroyed);kt.length?a4(this,ae,kt):this.processLeaveNode(ae)}return E.length=0,Ve.forEach(te=>{this.players.push(te),te.onDone(()=>{te.destroy();let ae=this.players.indexOf(te);this.players.splice(ae,1)}),te.play()}),Ve}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,r,o){let a=[];if(e){let s=this.playersByQueriedElement.get(n);s&&(a=s)}else{let s=this.playersByElement.get(n);if(s){let l=!o||o==Su;s.forEach(c=>{c.queued||!l&&c.triggerName!=r||a.push(c)})}}return(i||r)&&(a=a.filter(s=>!(i&&i!=s.namespaceId||r&&r!=s.triggerName))),a}_beforeAnimationBuild(n,e,i){let r=e.triggerName,o=e.element,a=e.isRemovalTransition?void 0:n,s=e.isRemovalTransition?void 0:r;for(let l of e.timelines){let c=l.element,d=c!==o,m=Qn(i,c,[]);this._getPreviousPlayers(c,d,a,s,e.toState).forEach(f=>{let g=f.getRealPlayer();g.beforeDestroy&&g.beforeDestroy(),f.destroy(),m.push(f)})}aa(o,e.fromStyles)}_buildAnimation(n,e,i,r,o,a){let s=e.triggerName,l=e.element,c=[],d=new Set,m=new Set,p=e.timelines.map(g=>{let _=g.element;d.add(_);let E=_[tr];if(E&&E.removedBeforeQueried)return new po(g.duration,g.delay);let L=_!==l,A=s4((i.get(_)||t4).map(Pe=>Pe.getRealPlayer())).filter(Pe=>{let Je=Pe;return Je.element?Je.element===_:!1}),ee=o.get(_),Re=a.get(_),ht=q0(this._normalizer,g.keyframes,ee,Re),Le=this._buildPlayer(g,ht,A);if(g.subTimeline&&r&&m.add(_),L){let Pe=new Mu(n,s,_);Pe.setRealPlayer(Le),c.push(Pe)}return Le});c.forEach(g=>{Qn(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>i4(this.playersByQueriedElement,g.element,g))}),d.forEach(g=>Mi(g,J0));let f=ho(p);return f.onDestroy(()=>{d.forEach(g=>tc(g,J0)),er(l,e.toStyles)}),m.forEach(g=>{Qn(r,g,[]).push(f)}),f}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new po(n.duration,n.delay)}},Mu=class{namespaceId;triggerName;element;_player=new po;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>Qh(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){let e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){Qn(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){let e=this._player;e.triggerCallback&&e.triggerCallback(n)}};function i4(t,n,e){let i=t.get(n);if(i){if(i.length){let r=i.indexOf(e);i.splice(r,1)}i.length==0&&t.delete(n)}return i}function r4(t){return t??null}function og(t){return t&&t.nodeType===1}function o4(t){return t=="start"||t=="done"}function QR(t,n){let e=t.style.display;return t.style.display=n??"none",e}function ZR(t,n,e,i,r){let o=[];e.forEach(l=>o.push(QR(l)));let a=[];i.forEach((l,c)=>{let d=new Map;l.forEach(m=>{let p=n.computeStyle(c,m,r);d.set(m,p),(!p||p.length==0)&&(c[tr]=n4,a.push(c))}),t.set(c,d)});let s=0;return e.forEach(l=>QR(l,o[s++])),a}function XR(t,n){let e=new Map;if(t.forEach(s=>e.set(s,[])),n.length==0)return e;let i=1,r=new Set(n),o=new Map;function a(s){if(!s)return i;let l=o.get(s);if(l)return l;let c=s.parentNode;return e.has(c)?l=c:r.has(c)?l=i:l=a(c),o.set(s,l),l}return n.forEach(s=>{let l=a(s);l!==i&&e.get(l).push(s)}),e}function Mi(t,n){t.classList?.add(n)}function tc(t,n){t.classList?.remove(n)}function a4(t,n,e){ho(e).onDone(()=>t.processLeaveNode(n))}function s4(t){let n=[];return oO(t,n),n}function oO(t,n){for(let e=0;er.add(o)):n.set(t,i),e.delete(t),!0}var nc=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(n,e)=>{};constructor(n,e,i){this._driver=e,this._normalizer=i,this._transitionEngine=new hC(n.body,e,i),this._timelineEngine=new fC(n.body,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(n,e,i,r,o){let a=n+"-"+r,s=this._triggerCache[a];if(!s){let l=[],c=[],d=tO(this._driver,o,l,c);if(l.length)throw IR(r,l);s=Y$(r,d,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(e,r,s)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,r){this._transitionEngine.insertNode(n,e,i,r)}onRemove(n,e,i){this._transitionEngine.removeNode(n,e,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,r){if(i.charAt(0)=="@"){let[o,a]=Y0(i),s=r;this._timelineEngine.command(o,e,a,s)}else this._transitionEngine.trigger(n,e,i,r)}listen(n,e,i,r,o){if(i.charAt(0)=="@"){let[a,s]=Y0(i);return this._timelineEngine.listen(a,e,s,o)}return this._transitionEngine.listen(n,e,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}};function c4(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=oC(n[0]),n.length>1&&(i=oC(n[n.length-1]))):n instanceof Map&&(e=oC(n)),e||i?new d4(t,e,i):null}var d4=(()=>{class t{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r;let o=t.initialStylesByElement.get(e);o||t.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&er(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(er(this._element,this._initialStyles),this._endStyles&&(er(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(aa(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(aa(this._element,this._endStyles),this._endStyles=null),er(this._element,this._initialStyles),this._state=3)}}return t})();function oC(t){let n=null;return t.forEach((e,i)=>{u4(i)&&(n=n||new Map,n.set(i,e))}),n}function u4(t){return t==="display"||t==="position"}var mg=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(n,e,i,r){this.element=n,this.keyframes=e,this.options=i,this._specialStyles=r,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;let n=this.keyframes,e=this._triggerWebAnimation(this.element,n,this.options);if(!e)return this._onFinish(),null;this.domPlayer=e,this._finalKeyframe=n.length?n[n.length-1]:new Map;let i=()=>this._onFinish();return e.addEventListener("finish",i),this.onDestroy(()=>{e.removeEventListener("finish",i)}),e}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(n){let e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){let r=this._convertKeyframesToObject(e);try{return n.animate(r,i)}catch(o){return null}}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){let n=this._buildPlayer();n&&(this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),n.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish())}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer?.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=n*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){let n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{r!=="offset"&&n.set(r,this._finished?i:ng(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){let e=n==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},fg=class{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,e){return K0(n,e)}getParentElement(n){return Xh(n)}query(n,e,i){return Q0(n,e,i)}computeStyle(n,e,i){return ng(n,e)}animate(n,e,i,r,o,a=[]){let s=r==0?"both":"forwards",l={duration:i,delay:r,fill:s};o&&(l.easing=o);let c=new Map,d=a.filter(f=>f instanceof mg);HR(i,r)&&d.forEach(f=>{f.currentSnapshot.forEach((g,_)=>c.set(_,g))});let m=BR(e).map(f=>new Map(f));m=UR(n,m,c);let p=c4(n,m);return new mg(n,m,l,p)}};var ag="@",aO="@.disabled",pg=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(n,e,i,r){this.namespaceId=n,this.delegate=e,this.engine=i,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,r=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,r)}removeChild(n,e,i,r){if(r){this.delegate.removeChild(n,e,i,r);return}this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,r){this.delegate.setAttribute(n,e,i,r)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,r){this.delegate.setStyle(n,e,i,r)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){e.charAt(0)==ag&&e==aO?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i,r){return this.delegate.listen(n,e,i,r)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}},gC=class extends pg{factory;constructor(n,e,i,r,o){super(e,i,r,o),this.factory=n,this.namespaceId=e}setProperty(n,e,i){e.charAt(0)==ag?e.charAt(1)=="."&&e==aO?(i=i===void 0?!0:!!i,this.disableAnimations(n,i)):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i,r){if(e.charAt(0)==ag){let o=m4(n),a=e.slice(1),s="";return a.charAt(0)!=ag&&([a,s]=f4(a)),this.engine.listen(this.namespaceId,o,a,s,l=>{let c=l._data||-1;this.factory.scheduleListenerCallback(c,i,l)})}return this.delegate.listen(n,e,i,r)}};function m4(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function f4(t){let n=t.indexOf("."),e=t.substring(0,n),i=t.slice(n+1);return[e,i]}var hg=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(n,e,i){this.delegate=n,this.engine=e,this._zone=i,e.onRemovalComplete=(r,o)=>{o?.removeChild(null,r)}}createRenderer(n,e){let r=this.delegate.createRenderer(n,e);if(!n||!e?.data?.animation){let c=this._rendererCache,d=c.get(r);if(!d){let m=()=>c.delete(r);d=new pg("",r,this.engine,m),c.set(r,d)}return d}let o=e.id,a=e.id+"-"+this._currentId;this._currentId++,this.engine.register(a,n);let s=c=>{Array.isArray(c)?c.forEach(s):this.engine.registerTrigger(o,a,n,c.name,c)};return e.data.animation.forEach(s),new gC(this,a,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,e,i){if(n>=0&&ne(i));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{let[a,s]=o;a(s)}),this._animationCallbacksBuffer=[]})}),r.push([e,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(n){this.engine.flush(),this.delegate.componentReplaced?.(n)}};var h4=(()=>{class t extends nc{constructor(e,i,r){super(e,i,r)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||t)(K(oe),K(as),K(ss))};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})();function g4(){return new sg}function b4(){return new hg(u(fd),u(nc),u(O))}var lO=[{provide:ss,useFactory:g4},{provide:nc,useClass:h4},{provide:Vt,useFactory:b4}],v4=[{provide:as,useClass:bC},{provide:Vo,useValue:"NoopAnimations"},...lO],sO=[{provide:as,useFactory:()=>new fg},{provide:Vo,useFactory:()=>"BrowserAnimations"},...lO],cO=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?v4:sO}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({providers:sO,imports:[hd]})}return t})();var y4=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=B({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return t})(),dO=(()=>{class t{_elementRef=u($);_platform=u($e);_document=u(oe);color;_toolbarRows;ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=(function(){let e=["*",[["mat-toolbar-row"]]];return F({type:t,selectors:[["mat-toolbar"]],contentQueries:function(o,a,s){if(o&1&&mn(s,y4,5),o&2){let l;X(l=J())&&(a._toolbarRows=l)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(o,a){o&2&&(Rt(a.color?"mat-"+a.color:""),ie("mat-toolbar-multiple-rows",a._toolbarRows.length>0)("mat-toolbar-single-row",a._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:["*","mat-toolbar-row"],decls:2,vars:0,template:function(o,a){o&1&&(ct(e),Ee(0),Ee(1,1))},styles:[`.mat-toolbar { background: var(--%NS%mat-toolbar-container-background-color, var(--%NS%mat-sys-surface)); color: var(--%NS%mat-toolbar-container-text-color, var(--%NS%mat-sys-on-surface)); } @@ -4041,4 +4041,4 @@ div.mat-mdc-select-panel { min-height: var(--%NS%mat-toolbar-mobile-height, 56px); } } -`],encapsulation:2})})()}return t})();var uO=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=q({type:t});static \u0275inj=W({imports:[Qe]})}return t})();var mO=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=q({type:t})}static{this.\u0275inj=W({providers:[{provide:Lh,useValue:{floatLabel:"always"}}],imports:[XN,uO,tN,jA,kA,JA,$T,ts,pA,wA,lR,VA]})}}return t})();function x4(t,n){if(t&1){let e=Be();b(0,"button",8),j("click",function(){let r=we(e).$implicit,o=N(2);return Se(o.changeLang(r))}),S(1),v()}if(t&2){let e=n.$implicit;x(),rt(e.name)}}function C4(t,n){if(t&1){let e=Be();b(0,"button",8),j("click",function(){we(e);let r=N(2);return Se(r.admin())}),b(1,"i",11),S(2,"dashboard"),v(),b(3,"uds-translate"),S(4,"Dashboard"),v()()}}function w4(t,n){t&1&&(b(0,"button",7)(1,"i",11),S(2,"file_download"),v(),b(3,"uds-translate"),S(4,"Downloads"),v()())}function S4(t,n){if(t&1&&(b(0,"button",12),S(1),v()),t&2){N();let e=Et(8),i=N();P("matMenuTriggerFor",e),x(),rt(i.api.user.user)}}function E4(t,n){if(t&1&&(b(0,"button",24),S(1),b(2,"i",11),S(3,"arrow_drop_down"),v()()),t&2){N();let e=Et(8),i=N();P("matMenuTriggerFor",e),x(),Ke("",i.api.user.user," ")}}function D4(t,n){if(t&1){let e=Be();b(0,"form",3),Y(1,"input",4)(2,"input",5),v(),b(3,"mat-menu",null,0),Nt(5,x4,2,1,"button",6,Xt),v(),b(7,"mat-menu",null,1),Q(9,C4,5,0,"button",6),Q(10,w4,5,0,"button",7),b(11,"button",8),j("click",function(){we(e);let r=N();return Se(r.logout())}),b(12,"i",9),S(13,"exit_to_app"),v(),b(14,"uds-translate"),S(15,"Logout"),v()()(),b(16,"mat-menu",10,2)(18,"button",8),j("click",function(){we(e);let r=N();return Se(r.toggleTheme())}),b(19,"i",11),S(20),v(),b(21,"uds-translate"),S(22),v()(),Q(23,S4,2,2,"button",12),b(24,"button",12),S(25),v(),b(26,"button",13),S(27," UDS Launcher "),v(),b(28,"button",14)(29,"uds-translate"),S(30,"About"),v()()(),b(31,"mat-toolbar",15)(32,"button",16)(33,"div",17),Y(34,"img",18),S(35),v()(),Y(36,"span",19),b(37,"div",20)(38,"button",21),j("click",function(){we(e);let r=N();return Se(r.toggleTheme())}),b(39,"i",11),S(40),v()(),b(41,"button",22)(42,"i",11),S(43,"file_download"),v(),S(44," UDS Launcher "),v(),b(45,"button",23)(46,"i",11),S(47,"info"),v(),b(48,"uds-translate"),S(49,"About"),v()(),b(50,"button",24),S(51),b(52,"i",11),S(53,"arrow_drop_down"),v()(),Q(54,E4,4,2,"button",24),v(),b(55,"div",25)(56,"button",24)(57,"i",11),S(58,"menu"),v()()()()}if(t&2){let e=Et(4),i=Et(17),r=N();P("action",al(r.api.config.urls.change_language),Xs),x(),P("name",al(r.api.csrfField))("value",al(r.api.csrfToken)),x(),P("value",al(r.lang.id)),x(3),At(r.langs),x(4),Z(r.api.user.isStaff?9:-1),x(),Z(r.api.user.isStaff?10:-1),x(10),rt(r.api.isDarkTheme?"wb_sunny":"brightness_2"),x(2),rt(r.api.isDarkTheme?"Light theme":"Dark theme"),x(),Z(r.api.user.isLogged?23:-1),x(),P("matMenuTriggerFor",e),x(),Ke("",r.lang.name," "),x(9),P("src",r.api.staticURL("modern/img/udsicon.png")),x(),Ke(" ",r.api.config.site_logo_name," "),x(3),P("title",r.api.isDarkTheme?"Light theme":"Dark theme"),x(2),rt(r.api.isDarkTheme?"wb_sunny":"brightness_2"),x(10),P("matMenuTriggerFor",e),x(),Ke("",r.lang.name," "),x(3),Z(r.api.user.isLogged?54:-1),x(2),P("matMenuTriggerFor",i)}}var fO=(()=>{class t{constructor(){this.api=u(ze),this.lang={},this.langs=[],this.style="";let e=this.api,i=e.config.language;this.langs=[];for(let r of e.config.available_languages)r.id===i?this.lang=r:this.langs.push(r)}ngOnInit(){}changeLang(e){this.lang=e;let i=document.getElementById("id_language");i&&i.setAttribute("value",e.id);let r=document.getElementById("form_language");r&&r.submit()}admin(){this.api.gotoAdmin()}logout(){this.api.logout()}toggleTheme(){this.api.toggleTheme()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-navbar"]],standalone:!1,decls:1,vars:1,consts:[["appMenu","matMenu"],["userMenu","matMenu"],["shrink","matMenu"],["id","form_language","method","post",3,"action"],["type","hidden",3,"name","value"],["id","id_language","type","hidden","name","language",3,"value"],["mat-menu-item",""],["mat-menu-item","","routerLink","/downloads"],["mat-menu-item","",3,"click"],[1,"material-icons","highlight"],["x-position","before"],[1,"material-icons"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","","routerLink","/launcher-download"],["mat-menu-item","","routerLink","/about"],[1,"uds-nav"],["mat-button","","routerLink","/"],[1,"logo"],["alt","Universal Desktop Services",3,"src"],[1,"fill-remaining-space"],[1,"expanded"],["mat-button","",3,"click","title"],["mat-button","","routerLink","/launcher-download"],["mat-button","","routerLink","/about"],["mat-button","",3,"matMenuTriggerFor"],[1,"shrinked"]],template:function(i,r){i&1&&Q(0,D4,59,23),i&2&&Z(r.api.config.urls.launch===""?0:-1)},dependencies:[qo,Gl,$l,Zi,dO,Ei,ra,ns,Yh,yt],styles:[".mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-0, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-1, 0px 2px 1px -1px --mat-sys-shadow, 0px 1px 1px 0px --mat-sys-shadow, 0px 1px 3px 0px --mat-sys-shadow)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-2, 0px 3px 1px -2px --mat-sys-shadow, 0px 2px 2px 0px --mat-sys-shadow, 0px 1px 5px 0px --mat-sys-shadow)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-3, 0px 3px 3px -2px --mat-sys-shadow, 0px 3px 4px 0px --mat-sys-shadow, 0px 1px 8px 0px --mat-sys-shadow)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-4, 0px 2px 4px -1px --mat-sys-shadow, 0px 4px 5px 0px --mat-sys-shadow, 0px 1px 10px 0px --mat-sys-shadow)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-5, 0px 3px 5px -1px --mat-sys-shadow, 0px 5px 8px 0px --mat-sys-shadow, 0px 1px 14px 0px --mat-sys-shadow)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-6, 0px 3px 5px -1px --mat-sys-shadow, 0px 6px 10px 0px --mat-sys-shadow, 0px 1px 18px 0px --mat-sys-shadow)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-7, 0px 4px 5px -2px --mat-sys-shadow, 0px 7px 10px 1px --mat-sys-shadow, 0px 2px 16px 1px --mat-sys-shadow)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-8, 0px 5px 5px -3px --mat-sys-shadow, 0px 8px 10px 1px --mat-sys-shadow, 0px 3px 14px 2px --mat-sys-shadow)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-9, 0px 5px 6px -3px --mat-sys-shadow, 0px 9px 12px 1px --mat-sys-shadow, 0px 3px 16px 2px --mat-sys-shadow)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-10, 0px 6px 6px -3px --mat-sys-shadow, 0px 10px 14px 1px --mat-sys-shadow, 0px 4px 18px 3px --mat-sys-shadow)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-11, 0px 6px 7px -4px --mat-sys-shadow, 0px 11px 15px 1px --mat-sys-shadow, 0px 4px 20px 3px --mat-sys-shadow)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-12, 0px 7px 8px -4px --mat-sys-shadow, 0px 12px 17px 2px --mat-sys-shadow, 0px 5px 22px 4px --mat-sys-shadow)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-13, 0px 7px 8px -4px --mat-sys-shadow, 0px 13px 19px 2px --mat-sys-shadow, 0px 5px 24px 4px --mat-sys-shadow)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-14, 0px 7px 9px -4px --mat-sys-shadow, 0px 14px 21px 2px --mat-sys-shadow, 0px 5px 26px 4px --mat-sys-shadow)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-15, 0px 8px 9px -5px --mat-sys-shadow, 0px 15px 22px 2px --mat-sys-shadow, 0px 6px 28px 5px --mat-sys-shadow)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-16, 0px 8px 10px -5px --mat-sys-shadow, 0px 16px 24px 2px --mat-sys-shadow, 0px 6px 30px 5px --mat-sys-shadow)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-17, 0px 8px 11px -5px --mat-sys-shadow, 0px 17px 26px 2px --mat-sys-shadow, 0px 6px 32px 5px --mat-sys-shadow)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-18, 0px 9px 11px -5px --mat-sys-shadow, 0px 18px 28px 2px --mat-sys-shadow, 0px 7px 34px 6px --mat-sys-shadow)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-19, 0px 9px 12px -6px --mat-sys-shadow, 0px 19px 29px 2px --mat-sys-shadow, 0px 7px 36px 6px --mat-sys-shadow)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-20, 0px 10px 13px -6px --mat-sys-shadow, 0px 20px 31px 3px --mat-sys-shadow, 0px 8px 38px 7px --mat-sys-shadow)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-21, 0px 10px 13px -6px --mat-sys-shadow, 0px 21px 33px 3px --mat-sys-shadow, 0px 8px 40px 7px --mat-sys-shadow)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-22, 0px 10px 14px -6px --mat-sys-shadow, 0px 22px 35px 3px --mat-sys-shadow, 0px 8px 42px 7px --mat-sys-shadow)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-23, 0px 11px 14px -7px --mat-sys-shadow, 0px 23px 36px 3px --mat-sys-shadow, 0px 9px 44px 8px --mat-sys-shadow)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-24, 0px 11px 15px -7px --mat-sys-shadow, 0px 24px 38px 3px --mat-sys-shadow, 0px 9px 46px 8px --mat-sys-shadow)}html[_ngcontent-%COMP%]{--%NS%mat-sys-on-surface: initial}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--%NS%mat-app-background-color, var(--%NS%mat-sys-background, transparent));color:var(--%NS%mat-app-text-color, var(--%NS%mat-sys-on-background, inherit))}.uds-nav[_ngcontent-%COMP%]{position:fixed;top:var(--%NS%navbar-top);left:20px;right:20px;width:auto!important;height:var(--%NS%navbar-height);z-index:1000;background-color:var(--%NS%glass-bg)!important;backdrop-filter:var(--%NS%glass-backdrop-filter)!important;-webkit-backdrop-filter:var(--%NS%glass-backdrop-filter)!important;border:1px solid var(--%NS%glass-border)!important;box-shadow:0 8px 32px var(--%NS%glass-shadow)!important;border-radius:20px!important;color:var(--%NS%text-primary)!important;transition:all .4s cubic-bezier(.4,0,.2,1)}.uds-nav[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{display:flex;align-items:center;color:var(--%NS%text-primary);font-weight:500}.uds-nav[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2.2rem;margin-right:.75rem;filter:drop-shadow(0 2px 4px rgba(0,0,0,.1))}.uds-nav[_ngcontent-%COMP%] button[mat-button][_ngcontent-%COMP%]{color:var(--%NS%text-primary)!important;font-weight:500;margin:0 4px;border-radius:12px;transition:all .2s ease}.uds-nav[_ngcontent-%COMP%] button[mat-button][_ngcontent-%COMP%]:hover{background-color:var(--%NS%glass-hover-bg)!important}.uds-nav[_ngcontent-%COMP%] button[mat-button][_ngcontent-%COMP%] i.material-icons[_ngcontent-%COMP%]{margin-right:6px;font-size:20px;vertical-align:middle}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}@media only screen and (max-width:744px){.uds-nav[_ngcontent-%COMP%]{left:10px;right:10px;padding:0 8px!important}.expanded[_ngcontent-%COMP%]{display:none;visibility:hidden}.shrinked[_ngcontent-%COMP%]{visibility:visible}}@media only screen and (min-width:745px){.expanded[_ngcontent-%COMP%]{display:flex;align-items:center;visibility:visible}.shrinked[_ngcontent-%COMP%]{display:none;visibility:hidden}}"],changeDetection:1})}}return t})();var pO=(()=>{class t{constructor(){this.api=u(ze)}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-footer"]],standalone:!1,decls:3,vars:2,consts:[[3,"href"]],template:function(i,r){i&1&&(b(0,"div")(1,"a",0),S(2),v()()),i&2&&(x(),P("href",r.api.config.site_copyright_link,Xs),x(),rt(r.api.config.site_copyright_info))},styles:["a[_ngcontent-%COMP%]{color:var(--%NS%text-primary);opacity:.6;text-decoration:none;font-size:.85rem;transition:opacity .2s ease}a[_ngcontent-%COMP%]:hover{opacity:1;text-decoration:underline}"],changeDetection:1})}}return t})();var k4=["backgroundThumbnail"],hO=(()=>{class t{constructor(){this.api=u(ze),this.waves=[],this.time=0}get isEnabled(){return this.api.config.allow_animated_backgrounds===!0}ngOnInit(){}ngAfterViewInit(){this.tryStart()}tryStart(e=0){this.isEnabled?(this.initCanvas(),this.animate()):e<10&&setTimeout(()=>this.tryStart(e+1),500)}onResize(){this.waves.length&&this.setCanvasSize()}initCanvas(){let e=this.canvasRef.nativeElement;this.ctx=e.getContext("2d"),this.setCanvasSize(),this.createWaves()}setCanvasSize(){let e=this.canvasRef.nativeElement;e.width=window.innerWidth,e.height=window.innerHeight}createWaves(){this.waves=[];let e=window.innerHeight,i=4;for(let r=0;r{this.ctx.beginPath();let s=this.ctx.createLinearGradient(0,0,this.ctx.canvas.width,0);s.addColorStop(0,`rgba(${i}, 0)`),s.addColorStop(.5,`rgba(${a%2===0?i:r}, ${o.opacity})`),s.addColorStop(1,`rgba(${i}, 0)`),this.ctx.strokeStyle=s,this.ctx.lineWidth=o.thickness,this.ctx.lineCap="round",this.ctx.lineJoin="round";let l=0,c=20;for(l=-c;l<=this.ctx.canvas.width+c;l+=c){let d=o.yBase+Math.sin(l*.001+this.time*o.speed+o.offset)*o.amplitude+Math.cos(l*.003+this.time*o.speed*.5)*(o.amplitude*.4);l===-c?this.ctx.moveTo(l,d):this.ctx.lineTo(l,d)}this.ctx.stroke()}),this.animationFrameId=requestAnimationFrame(()=>this.animate())}ngOnDestroy(){this.animationFrameId&&cancelAnimationFrame(this.animationFrameId)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-background"]],viewQuery:function(i,r){if(i&1&&it(k4,5),i&2){let o;X(o=J())&&(r.canvasRef=o.first)}},hostBindings:function(i,r){i&1&&j("resize",function(){return r.onResize()},_y)},standalone:!1,decls:2,vars:0,consts:[["backgroundThumbnail",""],[1,"background-canvas"]],template:function(i,r){i&1&&Y(0,"canvas",1,0)},styles:[".background-canvas[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:-1;pointer-events:none}"],changeDetection:1})}}return t})();var gO=(()=>{class t{constructor(){this.api=u(ze),this.title="UDS"}handleKeyboardEvent(e){e.altKey&&e.ctrlKey&&e.key==="b"&&this.api.toggleTheme()}ngOnInit(){this.api.initTheme();let e=this.api.config.cookies_consent.text||django.gettext("We use cookies to authenticate users and remember preferences.")+"
"+django.gettext("If you do not agree, please")+' '+django.gettext("leave this site")+".";cookieconsent.initialise({enabled:this.api.config.cookies_consent.enabled,layout:"basic",position:"bottom-right",theme:"classic",type:"info",content:{message:e,dismiss:django.gettext("I Accept"),link:django.gettext("Learn more"),href:this.api.config.cookies_consent.urls.more||"https://www.cookiesandyou.com",policy:django.gettext("Cookie Policy"),close:"❌",target:"_blank"}})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-root"]],hostBindings:function(i,r){i&1&&j("keydown",function(a){return r.handleKeyboardEvent(a)},xy)},standalone:!1,decls:7,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(i,r){i&1&&(Y(0,"uds-background")(1,"uds-navbar"),b(2,"div",0)(3,"div",1),Y(4,"router-outlet"),v(),b(5,"div",2),Y(6,"uds-footer"),v()())},dependencies:[Rd,fO,pO,hO],styles:[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:var(--%NS%footer-margin);height:var(--%NS%footer-height);display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:80%;margin:var(--%NS%content-offset) auto 0 auto}@media only screen and (max-width:744px){.content[_ngcontent-%COMP%]{width:100%}}"],changeDetection:1})}}return t})();var bO=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=q({type:t,bootstrap:[gO]})}static{this.\u0275inj=W({providers:[ZM(),ze,zh,Wh,O_(L_(),P_(),F_({cookieName:"csrftoken",headerName:"X-CSRFToken"}))],imports:[hd,jI,dR,cO,mO]})}}return t})();Uh.production&&void 0;D_().bootstrapModule(bO).catch(t=>console.log(t)); +`],encapsulation:2})})()}return t})();var uO=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=W({imports:[Qe]})}return t})();var mO=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Y({type:t})}static{this.\u0275inj=W({providers:[{provide:Lh,useValue:{floatLabel:"always"}}],imports:[XN,uO,tN,jA,kA,JA,$T,ns,pA,wA,lR,VA]})}}return t})();function x4(t,n){if(t&1){let e=Be();b(0,"button",8),j("click",function(){let r=we(e).$implicit,o=N(2);return Se(o.changeLang(r))}),S(1),v()}if(t&2){let e=n.$implicit;x(),rt(e.name)}}function C4(t,n){if(t&1){let e=Be();b(0,"button",8),j("click",function(){we(e);let r=N(2);return Se(r.admin())}),b(1,"i",11),S(2,"dashboard"),v(),b(3,"uds-translate"),S(4,"Dashboard"),v()()}}function w4(t,n){t&1&&(b(0,"button",7)(1,"i",11),S(2,"file_download"),v(),b(3,"uds-translate"),S(4,"Downloads"),v()())}function S4(t,n){if(t&1&&(b(0,"button",12),S(1),v()),t&2){N();let e=Et(8),i=N();P("matMenuTriggerFor",e),x(),rt(i.api.user.user)}}function E4(t,n){if(t&1&&(b(0,"button",24),S(1),b(2,"i",11),S(3,"arrow_drop_down"),v()()),t&2){N();let e=Et(8),i=N();P("matMenuTriggerFor",e),x(),Ke("",i.api.user.user," ")}}function D4(t,n){if(t&1){let e=Be();b(0,"form",3),q(1,"input",4)(2,"input",5),v(),b(3,"mat-menu",null,0),Nt(5,x4,2,1,"button",6,Xt),v(),b(7,"mat-menu",null,1),Q(9,C4,5,0,"button",6),Q(10,w4,5,0,"button",7),b(11,"button",8),j("click",function(){we(e);let r=N();return Se(r.logout())}),b(12,"i",9),S(13,"exit_to_app"),v(),b(14,"uds-translate"),S(15,"Logout"),v()()(),b(16,"mat-menu",10,2)(18,"button",8),j("click",function(){we(e);let r=N();return Se(r.toggleTheme())}),b(19,"i",11),S(20),v(),b(21,"uds-translate"),S(22),v()(),Q(23,S4,2,2,"button",12),b(24,"button",12),S(25),v(),b(26,"button",13),S(27," UDS Launcher "),v(),b(28,"button",14)(29,"uds-translate"),S(30,"About"),v()()(),b(31,"mat-toolbar",15)(32,"button",16)(33,"div",17),q(34,"img",18),S(35),v()(),q(36,"span",19),b(37,"div",20)(38,"button",21),j("click",function(){we(e);let r=N();return Se(r.toggleTheme())}),b(39,"i",11),S(40),v()(),b(41,"button",22)(42,"i",11),S(43,"file_download"),v(),S(44," UDS Launcher "),v(),b(45,"button",23)(46,"i",11),S(47,"info"),v(),b(48,"uds-translate"),S(49,"About"),v()(),b(50,"button",24),S(51),b(52,"i",11),S(53,"arrow_drop_down"),v()(),Q(54,E4,4,2,"button",24),v(),b(55,"div",25)(56,"button",24)(57,"i",11),S(58,"menu"),v()()()()}if(t&2){let e=Et(4),i=Et(17),r=N();P("action",al(r.api.config.urls.change_language),Xs),x(),P("name",al(r.api.csrfField))("value",al(r.api.csrfToken)),x(),P("value",al(r.lang.id)),x(3),At(r.langs),x(4),Z(r.api.user.isStaff?9:-1),x(),Z(r.api.user.isStaff?10:-1),x(10),rt(r.api.isDarkTheme?"wb_sunny":"brightness_2"),x(2),rt(r.api.isDarkTheme?"Light theme":"Dark theme"),x(),Z(r.api.user.isLogged?23:-1),x(),P("matMenuTriggerFor",e),x(),Ke("",r.lang.name," "),x(9),P("src",r.api.staticURL("modern/img/udsicon.png")),x(),Ke(" ",r.api.config.site_logo_name," "),x(3),P("title",r.api.isDarkTheme?"Light theme":"Dark theme"),x(2),rt(r.api.isDarkTheme?"wb_sunny":"brightness_2"),x(10),P("matMenuTriggerFor",e),x(),Ke("",r.lang.name," "),x(3),Z(r.api.user.isLogged?54:-1),x(2),P("matMenuTriggerFor",i)}}var fO=(()=>{class t{constructor(){this.api=u(ze),this.lang={},this.langs=[],this.style="";let e=this.api,i=e.config.language;this.langs=[];for(let r of e.config.available_languages)r.id===i?this.lang=r:this.langs.push(r)}ngOnInit(){}changeLang(e){this.lang=e;let i=document.getElementById("id_language");i&&i.setAttribute("value",e.id);let r=document.getElementById("form_language");r&&r.submit()}admin(){this.api.gotoAdmin()}logout(){this.api.logout()}toggleTheme(){this.api.toggleTheme()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-navbar"]],standalone:!1,decls:1,vars:1,consts:[["appMenu","matMenu"],["userMenu","matMenu"],["shrink","matMenu"],["id","form_language","method","post",3,"action"],["type","hidden",3,"name","value"],["id","id_language","type","hidden","name","language",3,"value"],["mat-menu-item",""],["mat-menu-item","","routerLink","/downloads"],["mat-menu-item","",3,"click"],[1,"material-icons","highlight"],["x-position","before"],[1,"material-icons"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","","routerLink","/launcher-download"],["mat-menu-item","","routerLink","/about"],[1,"uds-nav"],["mat-button","","routerLink","/"],[1,"logo"],["alt","Universal Desktop Services",3,"src"],[1,"fill-remaining-space"],[1,"expanded"],["mat-button","",3,"click","title"],["mat-button","","routerLink","/launcher-download"],["mat-button","","routerLink","/about"],["mat-button","",3,"matMenuTriggerFor"],[1,"shrinked"]],template:function(i,r){i&1&&Q(0,D4,59,23),i&2&&Z(r.api.config.urls.launch===""?0:-1)},dependencies:[Yo,Gl,$l,Zi,dO,Ei,oa,is,Yh,yt],styles:[".mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-0, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-1, 0px 2px 1px -1px --mat-sys-shadow, 0px 1px 1px 0px --mat-sys-shadow, 0px 1px 3px 0px --mat-sys-shadow)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-2, 0px 3px 1px -2px --mat-sys-shadow, 0px 2px 2px 0px --mat-sys-shadow, 0px 1px 5px 0px --mat-sys-shadow)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-3, 0px 3px 3px -2px --mat-sys-shadow, 0px 3px 4px 0px --mat-sys-shadow, 0px 1px 8px 0px --mat-sys-shadow)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-4, 0px 2px 4px -1px --mat-sys-shadow, 0px 4px 5px 0px --mat-sys-shadow, 0px 1px 10px 0px --mat-sys-shadow)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-5, 0px 3px 5px -1px --mat-sys-shadow, 0px 5px 8px 0px --mat-sys-shadow, 0px 1px 14px 0px --mat-sys-shadow)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-6, 0px 3px 5px -1px --mat-sys-shadow, 0px 6px 10px 0px --mat-sys-shadow, 0px 1px 18px 0px --mat-sys-shadow)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-7, 0px 4px 5px -2px --mat-sys-shadow, 0px 7px 10px 1px --mat-sys-shadow, 0px 2px 16px 1px --mat-sys-shadow)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-8, 0px 5px 5px -3px --mat-sys-shadow, 0px 8px 10px 1px --mat-sys-shadow, 0px 3px 14px 2px --mat-sys-shadow)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-9, 0px 5px 6px -3px --mat-sys-shadow, 0px 9px 12px 1px --mat-sys-shadow, 0px 3px 16px 2px --mat-sys-shadow)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-10, 0px 6px 6px -3px --mat-sys-shadow, 0px 10px 14px 1px --mat-sys-shadow, 0px 4px 18px 3px --mat-sys-shadow)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-11, 0px 6px 7px -4px --mat-sys-shadow, 0px 11px 15px 1px --mat-sys-shadow, 0px 4px 20px 3px --mat-sys-shadow)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-12, 0px 7px 8px -4px --mat-sys-shadow, 0px 12px 17px 2px --mat-sys-shadow, 0px 5px 22px 4px --mat-sys-shadow)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-13, 0px 7px 8px -4px --mat-sys-shadow, 0px 13px 19px 2px --mat-sys-shadow, 0px 5px 24px 4px --mat-sys-shadow)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-14, 0px 7px 9px -4px --mat-sys-shadow, 0px 14px 21px 2px --mat-sys-shadow, 0px 5px 26px 4px --mat-sys-shadow)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-15, 0px 8px 9px -5px --mat-sys-shadow, 0px 15px 22px 2px --mat-sys-shadow, 0px 6px 28px 5px --mat-sys-shadow)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-16, 0px 8px 10px -5px --mat-sys-shadow, 0px 16px 24px 2px --mat-sys-shadow, 0px 6px 30px 5px --mat-sys-shadow)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-17, 0px 8px 11px -5px --mat-sys-shadow, 0px 17px 26px 2px --mat-sys-shadow, 0px 6px 32px 5px --mat-sys-shadow)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-18, 0px 9px 11px -5px --mat-sys-shadow, 0px 18px 28px 2px --mat-sys-shadow, 0px 7px 34px 6px --mat-sys-shadow)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-19, 0px 9px 12px -6px --mat-sys-shadow, 0px 19px 29px 2px --mat-sys-shadow, 0px 7px 36px 6px --mat-sys-shadow)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-20, 0px 10px 13px -6px --mat-sys-shadow, 0px 20px 31px 3px --mat-sys-shadow, 0px 8px 38px 7px --mat-sys-shadow)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-21, 0px 10px 13px -6px --mat-sys-shadow, 0px 21px 33px 3px --mat-sys-shadow, 0px 8px 40px 7px --mat-sys-shadow)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-22, 0px 10px 14px -6px --mat-sys-shadow, 0px 22px 35px 3px --mat-sys-shadow, 0px 8px 42px 7px --mat-sys-shadow)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-23, 0px 11px 14px -7px --mat-sys-shadow, 0px 23px 36px 3px --mat-sys-shadow, 0px 9px 44px 8px --mat-sys-shadow)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--%NS%mat-app-elevation-shadow-level-24, 0px 11px 15px -7px --mat-sys-shadow, 0px 24px 38px 3px --mat-sys-shadow, 0px 9px 46px 8px --mat-sys-shadow)}html[_ngcontent-%COMP%]{--%NS%mat-sys-on-surface: initial}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--%NS%mat-app-background-color, var(--%NS%mat-sys-background, transparent));color:var(--%NS%mat-app-text-color, var(--%NS%mat-sys-on-background, inherit))}.uds-nav[_ngcontent-%COMP%]{position:fixed;top:var(--%NS%navbar-top);left:20px;right:20px;width:auto!important;height:var(--%NS%navbar-height);z-index:1000;background-color:var(--%NS%glass-bg)!important;backdrop-filter:var(--%NS%glass-backdrop-filter)!important;-webkit-backdrop-filter:var(--%NS%glass-backdrop-filter)!important;border:1px solid var(--%NS%glass-border)!important;box-shadow:0 8px 32px var(--%NS%glass-shadow)!important;border-radius:20px!important;color:var(--%NS%text-primary)!important;transition:all .4s cubic-bezier(.4,0,.2,1)}.uds-nav[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{display:flex;align-items:center;color:var(--%NS%text-primary);font-weight:500}.uds-nav[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2.2rem;margin-right:.75rem;filter:drop-shadow(0 2px 4px rgba(0,0,0,.1))}.uds-nav[_ngcontent-%COMP%] button[mat-button][_ngcontent-%COMP%]{color:var(--%NS%text-primary)!important;font-weight:500;margin:0 4px;border-radius:12px;transition:all .2s ease}.uds-nav[_ngcontent-%COMP%] button[mat-button][_ngcontent-%COMP%]:hover{background-color:var(--%NS%glass-hover-bg)!important}.uds-nav[_ngcontent-%COMP%] button[mat-button][_ngcontent-%COMP%] i.material-icons[_ngcontent-%COMP%]{margin-right:6px;font-size:20px;vertical-align:middle}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}@media only screen and (max-width:744px){.uds-nav[_ngcontent-%COMP%]{left:10px;right:10px;padding:0 8px!important}.expanded[_ngcontent-%COMP%]{display:none;visibility:hidden}.shrinked[_ngcontent-%COMP%]{visibility:visible}}@media only screen and (min-width:745px){.expanded[_ngcontent-%COMP%]{display:flex;align-items:center;visibility:visible}.shrinked[_ngcontent-%COMP%]{display:none;visibility:hidden}}"],changeDetection:1})}}return t})();var pO=(()=>{class t{constructor(){this.api=u(ze)}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-footer"]],standalone:!1,decls:3,vars:2,consts:[[3,"href"]],template:function(i,r){i&1&&(b(0,"div")(1,"a",0),S(2),v()()),i&2&&(x(),P("href",r.api.config.site_copyright_link,Xs),x(),rt(r.api.config.site_copyright_info))},styles:["a[_ngcontent-%COMP%]{color:var(--%NS%text-primary);opacity:.6;text-decoration:none;font-size:.85rem;transition:opacity .2s ease}a[_ngcontent-%COMP%]:hover{opacity:1;text-decoration:underline}"],changeDetection:1})}}return t})();var k4=["backgroundThumbnail"],hO=(()=>{class t{constructor(){this.api=u(ze),this.waves=[],this.time=0}get isEnabled(){return this.api.config.allow_animated_backgrounds===!0}ngOnInit(){}ngAfterViewInit(){this.tryStart()}tryStart(e=0){this.isEnabled?(this.initCanvas(),this.animate()):e<10&&setTimeout(()=>this.tryStart(e+1),500)}onResize(){this.waves.length&&this.setCanvasSize()}initCanvas(){let e=this.canvasRef.nativeElement;this.ctx=e.getContext("2d"),this.setCanvasSize(),this.createWaves()}setCanvasSize(){let e=this.canvasRef.nativeElement;e.width=window.innerWidth,e.height=window.innerHeight}createWaves(){this.waves=[];let e=window.innerHeight,i=4;for(let r=0;r{this.ctx.beginPath();let s=this.ctx.createLinearGradient(0,0,this.ctx.canvas.width,0);s.addColorStop(0,`rgba(${i}, 0)`),s.addColorStop(.5,`rgba(${a%2===0?i:r}, ${o.opacity})`),s.addColorStop(1,`rgba(${i}, 0)`),this.ctx.strokeStyle=s,this.ctx.lineWidth=o.thickness,this.ctx.lineCap="round",this.ctx.lineJoin="round";let l=0,c=20;for(l=-c;l<=this.ctx.canvas.width+c;l+=c){let d=o.yBase+Math.sin(l*.001+this.time*o.speed+o.offset)*o.amplitude+Math.cos(l*.003+this.time*o.speed*.5)*(o.amplitude*.4);l===-c?this.ctx.moveTo(l,d):this.ctx.lineTo(l,d)}this.ctx.stroke()}),this.animationFrameId=requestAnimationFrame(()=>this.animate())}ngOnDestroy(){this.animationFrameId&&cancelAnimationFrame(this.animationFrameId)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-background"]],viewQuery:function(i,r){if(i&1&&it(k4,5),i&2){let o;X(o=J())&&(r.canvasRef=o.first)}},hostBindings:function(i,r){i&1&&j("resize",function(){return r.onResize()},_y)},standalone:!1,decls:2,vars:0,consts:[["backgroundThumbnail",""],[1,"background-canvas"]],template:function(i,r){i&1&&q(0,"canvas",1,0)},styles:[".background-canvas[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:-1;pointer-events:none}"],changeDetection:1})}}return t})();var gO=(()=>{class t{constructor(){this.api=u(ze),this.title="UDS"}handleKeyboardEvent(e){e.altKey&&e.ctrlKey&&e.key==="b"&&this.api.toggleTheme()}ngOnInit(){this.api.initTheme();let e=this.api.config.cookies_consent.text||django.gettext("We use cookies to authenticate users and remember preferences.")+"
"+django.gettext("If you do not agree, please")+' '+django.gettext("leave this site")+".";cookieconsent.initialise({enabled:this.api.config.cookies_consent.enabled,layout:"basic",position:"bottom-right",theme:"classic",type:"info",content:{message:e,dismiss:django.gettext("I Accept"),link:django.gettext("Learn more"),href:this.api.config.cookies_consent.urls.more||"https://www.cookiesandyou.com",policy:django.gettext("Cookie Policy"),close:"❌",target:"_blank"}})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=F({type:t,selectors:[["uds-root"]],hostBindings:function(i,r){i&1&&j("keydown",function(a){return r.handleKeyboardEvent(a)},xy)},standalone:!1,decls:7,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(i,r){i&1&&(q(0,"uds-background")(1,"uds-navbar"),b(2,"div",0)(3,"div",1),q(4,"router-outlet"),v(),b(5,"div",2),q(6,"uds-footer"),v()())},dependencies:[Rd,fO,pO,hO],styles:[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:var(--%NS%footer-margin);height:var(--%NS%footer-height);display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:80%;margin:var(--%NS%content-offset) auto 0 auto}@media only screen and (max-width:744px){.content[_ngcontent-%COMP%]{width:100%}}"],changeDetection:1})}}return t})();var bO=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Y({type:t,bootstrap:[gO]})}static{this.\u0275inj=W({providers:[ZM(),ze,zh,Wh,O_(L_(),P_(),F_({cookieName:"csrftoken",headerName:"X-CSRFToken"}))],imports:[hd,jI,dR,cO,mO]})}}return t})();Uh.production&&void 0;D_().bootstrapModule(bO).catch(t=>console.log(t)); diff --git a/src/uds/templates/uds/admin/index.html b/src/uds/templates/uds/admin/index.html index 78e175f38..b9af7fb1d 100644 --- a/src/uds/templates/uds/admin/index.html +++ b/src/uds/templates/uds/admin/index.html @@ -77,7 +77,7 @@ - + - + @@ -113,6 +113,6 @@
- + diff --git a/src/uds/templates/uds/modern/index.html b/src/uds/templates/uds/modern/index.html index 8ef3ff7f4..3b4a65419 100644 --- a/src/uds/templates/uds/modern/index.html +++ b/src/uds/templates/uds/modern/index.html @@ -132,6 +132,6 @@ - +