@sdkgen/playground 0.0.0-dev.20230929190043 → 0.0.0-dev.20231002144112

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ (self.webpackChunksdkgen_playground=self.webpackChunksdkgen_playground||[]).push([[179],{3045:()=>{},5927:()=>{},6699:()=>{},6470:()=>{},3179:()=>{},3081:()=>{},8638:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.AppComponent=void 0;const i=o(2970),a=o(8832),f=o(5927),p=o(6699),d=o(6470),h=o(3179),g=o(7758),v=o(5437),m=o(5046),u=i.__importStar(o(7786)),b=i.__importStar(o(3855)),C=i.__importStar(o(4707)),M=i.__importStar(o(2836)),S=i.__importStar(o(9462)),H=i.__importStar(o(9309)),j=i.__importStar(o(7950)),N=i.__importStar(o(6354)),fe=i.__importStar(o(7361)),z=i.__importStar(o(1481)),oe=i.__importStar(o(2311)),X=i.__importStar(o(7193)),K=i.__importStar(o(3101)),me=i.__importStar(o(1208));function ae(ot,kt){1&ot&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275text(1,"Editor Avan\xe7ado"),u.\u0275\u0275elementContainerEnd())}function te(ot,kt){if(1&ot&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275elementStart(1,"span",21),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementContainerEnd()),2&ot){const je=u.\u0275\u0275nextContext(2).$implicit;u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate1("\u25b6\xa0",je.function,"")}}function pe(ot,kt){if(1&ot){const je=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"span",18),u.\u0275\u0275template(1,ae,2,0,"ng-container",19),u.\u0275\u0275template(2,te,3,1,"ng-container",19),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(3,"button",20),u.\u0275\u0275listener("click",function(){u.\u0275\u0275restoreView(je);const ye=u.\u0275\u0275nextContext().$implicit,we=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(we.closeTab(ye))}),u.\u0275\u0275elementStart(4,"mat-icon"),u.\u0275\u0275text(5,"close"),u.\u0275\u0275elementEnd()()}if(2&ot){const je=u.\u0275\u0275nextContext().$implicit;u.\u0275\u0275property("ngSwitch",je.type),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase","advanced"),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase","simple")}}function it(ot,kt){1&ot&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275element(1,"app-tab-editor"),u.\u0275\u0275elementContainerEnd())}function be(ot,kt){if(1&ot&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275element(1,"app-simple-call",22),u.\u0275\u0275elementContainerEnd()),2&ot){const je=u.\u0275\u0275nextContext().$implicit;u.\u0275\u0275advance(1),u.\u0275\u0275property("fn",je.function)}}function We(ot,kt){if(1&ot&&(u.\u0275\u0275elementStart(0,"mat-tab"),u.\u0275\u0275template(1,pe,6,3,"ng-template",16),u.\u0275\u0275elementContainerStart(2,18),u.\u0275\u0275template(3,it,2,0,"ng-container",19),u.\u0275\u0275template(4,be,2,1,"ng-container",19),u.\u0275\u0275elementContainerEnd(),u.\u0275\u0275elementEnd()),2&ot){const je=kt.$implicit;u.\u0275\u0275advance(2),u.\u0275\u0275property("ngSwitch",je.type),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase","advanced"),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase","simple")}}function ce(ot,kt){if(1&ot){const je=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"button",23),u.\u0275\u0275listener("click",function(){u.\u0275\u0275restoreView(je);const ye=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(ye.addAdvancedTab())}),u.\u0275\u0275elementStart(1,"mat-icon"),u.\u0275\u0275text(2,"add_circle"),u.\u0275\u0275elementEnd()()}}function Ae(ot,kt){if(1&ot&&(u.\u0275\u0275elementStart(0,"button",24)(1,"mat-icon"),u.\u0275\u0275text(2,"download"),u.\u0275\u0275elementEnd()()),2&ot){u.\u0275\u0275nextContext(2);const je=u.\u0275\u0275reference(5);u.\u0275\u0275property("matMenuTriggerFor",je)}}function Ye(ot,kt){if(1&ot){const je=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"mat-tab-group",11),u.\u0275\u0275listener("selectedIndexChange",function(ye){u.\u0275\u0275restoreView(je);const we=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(we.selected.setValue(ye))}),u.\u0275\u0275elementStart(1,"mat-tab",12)(2,"app-tab-home",13),u.\u0275\u0275listener("runFunction",function(ye){u.\u0275\u0275restoreView(je);const we=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(we.addSimpleTab(ye))}),u.\u0275\u0275elementEnd()(),u.\u0275\u0275template(3,We,5,3,"mat-tab",14),u.\u0275\u0275elementStart(4,"mat-tab",15),u.\u0275\u0275template(5,ce,3,0,"ng-template",16),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(6,"mat-tab",17),u.\u0275\u0275template(7,Ae,3,1,"ng-template",16),u.\u0275\u0275elementEnd()()}if(2&ot){const je=u.\u0275\u0275nextContext();u.\u0275\u0275property("selectedIndex",je.selected.value),u.\u0275\u0275advance(3),u.\u0275\u0275property("ngForOf",je.tabs)}}l.AppComponent=(()=>{class ot{constructor(je,Ve,ye){this.sdkgen=je,this.domSanitizer=Ve,this.matIconRegistry=ye,this.selected=new a.FormControl(0),this.tabs=[{id:0,type:"advanced"}],this.tabIndex=1;for(const we of["typescript","dot-net","kotlin","swift","dart"])this.matIconRegistry.addSvgIcon(we,this.domSanitizer.bypassSecurityTrustResourceUrl(`assets/${we}.svg`))}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(je=>{this.state=je??void 0})}ngOnDestroy(){this.state$?.unsubscribe()}addSimpleTab(je){this.tabs.push({id:this.tabIndex++,function:je,type:"simple"}),this.selected.setValue(this.tabs.length)}addAdvancedTab(){this.tabs.push({id:this.tabIndex++,type:"advanced"}),this.selected.setValue(this.tabs.length)}closeTab(je){this.tabs.splice(this.tabs.indexOf(je),1),this.selected.setValue(0)}downloadTarget(je){if(!this.state)return;let Ve,ye;switch(je){case"typescript_nodeserver":Ve=(0,v.generateNodeServerSource)(this.state.astRoot),ye="node-server.ts";break;case"typescript_nodeclient":Ve=(0,v.generateNodeClientSource)(this.state.astRoot),ye="node-client.ts";break;case"typescript_web":Ve=(0,v.generateBrowserClientSource)(this.state.astRoot),ye="web-client.ts";break;case"typescript_interfaces":Ve=(0,v.generateTypescriptInterfaces)(this.state.astRoot),ye="interfaces.ts";break;case"flutter":Ve=(0,p.generateDartClientSource)(this.state.astRoot),ye="flutter-client.dart";break;case"csharp_server":Ve=(0,f.generateCSharpServerSource)(this.state.astRoot),ye="csharp-server.cs";break;case"fsharp_server":Ve=(0,d.generateFSharpServerSource)(this.state.astRoot),ye="fsharp-server.fs";break;case"kotlin_android":Ve=(0,h.generateAndroidClientSource)(this.state.astRoot,!0),ye="android-client.kt";break;case"kotlin_android_without_callbacks":Ve=(0,h.generateAndroidClientSource)(this.state.astRoot,!1),ye="android-client-no-callbacks.kt";break;case"swift_ios":Ve=(0,g.generateSwiftClientSource)(this.state.astRoot,!1),ye="ios-client.swift";break;case"rxswift_ios":Ve=(0,g.generateSwiftClientSource)(this.state.astRoot,!0),ye="ios-client-rx.swift"}(0,m.saveAs)(new Blob([Ve],{type:"application/octet-stream"}),ye)}static#e=this.\u0275fac=function(Ve){return new(Ve||ot)(u.\u0275\u0275directiveInject(b.SdkgenService),u.\u0275\u0275directiveInject(C.DomSanitizer),u.\u0275\u0275directiveInject(M.MatIconRegistry))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ot,selectors:[["app-root"]],decls:46,vars:3,consts:[[2,"width","0","height","0","opacity","0","display","block"],["id","main-tabs","animationDuration","150ms","mat-stretch-tabs","false",3,"selectedIndex","selectedIndexChange",4,"ngIf"],["downloadMenu","matMenu"],["id","download-menu-size-flow"],["mat-menu-item","","disabled",""],["mat-menu-item","",3,"click"],["svgIcon","typescript"],["svgIcon","dart"],["svgIcon","kotlin"],["svgIcon","swift"],["svgIcon","dot-net"],["id","main-tabs","animationDuration","150ms","mat-stretch-tabs","false",3,"selectedIndex","selectedIndexChange"],["label","Documenta\xe7\xe3o"],[3,"runFunction"],[4,"ngFor","ngForOf"],["disabled","","labelClass","action-button"],["mat-tab-label",""],["disabled","","labelClass","right action-button"],[3,"ngSwitch"],[4,"ngSwitchCase"],["mat-icon-button","","matTooltip","Fechar aba",3,"click"],[1,"mono","tt-none"],[3,"fn"],["mat-icon-button","","matTooltip","Nova aba de editor avan\xe7ado",3,"click"],["mat-icon-button","",3,"matMenuTriggerFor"]],template:function(Ve,ye){1&Ve&&(u.\u0275\u0275element(0,"ngx-monaco-editor",0)(1,"app-tab-nav"),u.\u0275\u0275template(2,Ye,8,2,"mat-tab-group",1),u.\u0275\u0275pipe(3,"async"),u.\u0275\u0275elementStart(4,"mat-menu",null,2),u.\u0275\u0275element(6,"div",3),u.\u0275\u0275elementStart(7,"button",4),u.\u0275\u0275text(8,"Cliente"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(9,"button",5),u.\u0275\u0275listener("click",function(){return ye.downloadTarget("typescript_nodeclient")}),u.\u0275\u0275element(10,"mat-icon",6),u.\u0275\u0275text(11,"Node.js"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(12,"button",5),u.\u0275\u0275listener("click",function(){return ye.downloadTarget("typescript_web")}),u.\u0275\u0275element(13,"mat-icon",6),u.\u0275\u0275text(14,"Web"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(15,"button",5),u.\u0275\u0275listener("click",function(){return ye.downloadTarget("flutter")}),u.\u0275\u0275element(16,"mat-icon",7),u.\u0275\u0275text(17,"Flutter"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(18,"button",5),u.\u0275\u0275listener("click",function(){return ye.downloadTarget("kotlin_android")}),u.\u0275\u0275element(19,"mat-icon",8),u.\u0275\u0275text(20,"Android"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(21,"button",5),u.\u0275\u0275listener("click",function(){return ye.downloadTarget("kotlin_android_without_callbacks")}),u.\u0275\u0275element(22,"mat-icon",8),u.\u0275\u0275text(23,"Android (sem callbacks)"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(24,"button",5),u.\u0275\u0275listener("click",function(){return ye.downloadTarget("swift_ios")}),u.\u0275\u0275element(25,"mat-icon",9),u.\u0275\u0275text(26,"iOS"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(27,"button",5),u.\u0275\u0275listener("click",function(){return ye.downloadTarget("rxswift_ios")}),u.\u0275\u0275element(28,"mat-icon",9),u.\u0275\u0275text(29,"iOS (Rx)"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(30,"button",4),u.\u0275\u0275text(31,"Servidor"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(32,"button",5),u.\u0275\u0275listener("click",function(){return ye.downloadTarget("typescript_nodeserver")}),u.\u0275\u0275element(33,"mat-icon",6),u.\u0275\u0275text(34,"Node.js"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(35,"button",5),u.\u0275\u0275listener("click",function(){return ye.downloadTarget("csharp_server")}),u.\u0275\u0275element(36,"mat-icon",10),u.\u0275\u0275text(37,"C#"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(38,"button",5),u.\u0275\u0275listener("click",function(){return ye.downloadTarget("fsharp_server")}),u.\u0275\u0275element(39,"mat-icon",10),u.\u0275\u0275text(40,"F#"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(41,"button",4),u.\u0275\u0275text(42,"Outros"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(43,"button",5),u.\u0275\u0275listener("click",function(){return ye.downloadTarget("typescript_interfaces")}),u.\u0275\u0275element(44,"mat-icon",6),u.\u0275\u0275text(45,"Interfaces"),u.\u0275\u0275elementEnd()()),2&Ve&&(u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",u.\u0275\u0275pipeBind1(3,1,ye.sdkgen.state$)))},dependencies:[S.NgForOf,S.NgIf,S.NgSwitch,S.NgSwitchCase,H.MonacoEditorComponent,j.MatIconButton,M.MatIcon,N.MatMenu,N.MatMenuItem,N.MatMenuTrigger,fe.MatTabLabel,fe.MatTab,fe.MatTabGroup,z.MatTooltip,oe.SimpleCallComponent,X.TabNavComponent,K.TabEditorComponent,me.TabHomeComponent,S.AsyncPipe],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%} app-root mat-tab-group#main-tabs>mat-tab-header{border-bottom:1px solid rgba(255,255,255,.1215686275)} app-root mat-tab-group#main-tabs .mat-mdc-tab{--mat-tab-header-active-label-text-color: #fff;--mat-tab-header-active-focus-label-text-color: #fff;--mat-tab-header-active-hover-label-text-color: #fff;text-decoration:none;transition:all .2s ease;min-width:0;text-transform:uppercase;-webkit-user-select:none;user-select:none;letter-spacing:normal} app-root mat-tab-group#main-tabs .mat-mdc-tab.right{margin-left:auto} app-root mat-tab-group#main-tabs .mat-mdc-tab .mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:0} app-root mat-tab-group#main-tabs .mat-mdc-tab:hover .mdc-tab__ripple:before{opacity:0} app-root mat-tab-group#main-tabs .mat-mdc-tab:not(#mat-tab-label-0-0){padding-right:16px} app-root mat-tab-group#main-tabs .mat-mdc-tab.action-button{padding:0;padding-right:0!important;opacity:1;pointer-events:auto} app-root mat-tab-group#main-tabs .mat-mdc-tab.action-button .mdc-tab__content, app-root mat-tab-group#main-tabs .mat-mdc-tab.action-button .mat-mdc-tab-ripple, app-root mat-tab-group#main-tabs .mat-mdc-tab.action-button .mdc-tab__ripple:before{pointer-events:all} app-root mat-tab-group#main-tabs .mat-mdc-tab.action-button button{border-radius:0} app-root mat-tab-group#main-tabs .mat-mdc-tab:not(.mat-mdc-tab-disabled) button{border-radius:0;display:inline-block;margin-left:10px;padding:0;width:30px;height:30px;line-height:30px} app-root mat-tab-group#main-tabs .mat-mdc-tab:not(.mat-mdc-tab-disabled) button .mat-icon{width:20px;height:20px;font-size:20px;line-height:20px} app-root mat-tab-group#main-tabs .mat-mdc-tab .tab-icon svg, app-root mat-tab-group#main-tabs .mat-mdc-tab .tab-icon img, app-root mat-tab-group#main-tabs .mat-mdc-tab .tab-add-icon{display:flex;align-items:center;justify-content:center;width:1rem;margin-right:.5rem} app-root mat-tab-group#main-tabs .mat-mdc-tab-body-wrapper{flex-grow:1} app-root mat-tab-group#main-tabs .mat-mdc-tab-body-wrapper mat-tab-body mat-tab-body{flex-grow:1;overflow:hidden} #download-menu-size-flow{width:185px;display:block;max-width:90vw}"]})}return ot})()},5697:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.AppModule=void 0;const i=o(2970),a=o(4612),f=o(8832),p=o(7950),d=o(3601),h=o(9021),g=o(9986),v=o(2836),m=o(6354),u=o(1248),b=o(7361),C=o(1481),M=o(4707),S=o(8465),H=o(9309),j=o(534),N=o(6086),fe=o(5776),z=o(8638),oe=i.__importStar(o(7786));i.__importStar(o(5776)),l.AppModule=(()=>{class me{static#e=this.\u0275fac=function(pe){return new(pe||me)};static#t=this.\u0275mod=oe.\u0275\u0275defineNgModule({type:me,bootstrap:[z.AppComponent]});static#n=this.\u0275inj=oe.\u0275\u0275defineInjector({providers:[{provide:H.MONACO_PATH,useValue:"assets/vs"}],imports:[M.BrowserModule,f.FormsModule,f.ReactiveFormsModule,H.MonacoEditorModule,S.BrowserAnimationsModule,N.NgxJsonViewerModule,fe.ToastrModule.forRoot(),j.AngularSplitModule,a.HttpClientModule,p.MatButtonModule,d.MatChipsModule,g.MatDialogModule,v.MatIconModule,m.MatMenuModule,h.MatRippleModule,u.MatTableModule,b.MatTabsModule,C.MatTooltipModule]})}return me})()},3661:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.ConsoleComponent=void 0;const i=o(2970),a=o(7481),f=i.__importStar(o(7786)),p=i.__importStar(o(9462)),d=i.__importStar(o(6086)),h=i.__importStar(o(7950)),g=i.__importStar(o(2836));function v(j,N){1&j&&(f.\u0275\u0275elementContainerStart(0),f.\u0275\u0275text(1,"info_outline"),f.\u0275\u0275elementContainerEnd())}function m(j,N){1&j&&(f.\u0275\u0275elementContainerStart(0),f.\u0275\u0275text(1,"error"),f.\u0275\u0275elementContainerEnd())}function u(j,N){1&j&&(f.\u0275\u0275elementContainerStart(0),f.\u0275\u0275text(1,"public"),f.\u0275\u0275elementContainerEnd())}function b(j,N){1&j&&(f.\u0275\u0275elementContainerStart(0),f.\u0275\u0275text(1,"warning"),f.\u0275\u0275elementContainerEnd())}function C(j,N){1&j&&(f.\u0275\u0275elementContainerStart(0),f.\u0275\u0275text(1,"bug_report"),f.\u0275\u0275elementContainerEnd())}function M(j,N){if(1&j&&f.\u0275\u0275element(0,"ngx-json-viewer",6),2&j){const fe=f.\u0275\u0275nextContext().$implicit;f.\u0275\u0275property("json",fe.details)("expanded",!1)}}function S(j,N){if(1&j&&(f.\u0275\u0275elementStart(0,"li",2)(1,"mat-icon",3),f.\u0275\u0275template(2,v,2,0,"ng-container",4),f.\u0275\u0275template(3,m,2,0,"ng-container",4),f.\u0275\u0275template(4,u,2,0,"ng-container",4),f.\u0275\u0275template(5,b,2,0,"ng-container",4),f.\u0275\u0275template(6,C,2,0,"ng-container",4),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(7,"span"),f.\u0275\u0275text(8),f.\u0275\u0275elementEnd(),f.\u0275\u0275template(9,M,1,2,"ngx-json-viewer",5),f.\u0275\u0275elementEnd()),2&j){const fe=N.$implicit,z=f.\u0275\u0275nextContext();f.\u0275\u0275property("ngClass",fe.type),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngSwitch",fe.type)("ngClass",fe.type),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngSwitchCase",z.itemTypes.INFO),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngSwitchCase",z.itemTypes.ERROR),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngSwitchCase",z.itemTypes.NETWORK),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngSwitchCase",z.itemTypes.WARN),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngSwitchCase",z.itemTypes.DEBUG),f.\u0275\u0275advance(2),f.\u0275\u0275textInterpolate(fe.message),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngIf",fe.details)}}l.ConsoleComponent=(()=>{class j{constructor(){this.itemTypes=a.ConsoleItemType,this.items=[]}static#e=this.\u0275fac=function(z){return new(z||j)};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:j,selectors:[["app-console"]],inputs:{items:"items"},decls:9,vars:1,consts:[["mat-icon-button","",3,"click"],["class","console-item",3,"ngClass",4,"ngFor","ngForOf"],[1,"console-item",3,"ngClass"],[3,"ngSwitch","ngClass"],[4,"ngSwitchCase"],[3,"json","expanded",4,"ngIf"],[3,"json","expanded"]],template:function(z,oe){1&z&&(f.\u0275\u0275elementStart(0,"header")(1,"strong"),f.\u0275\u0275text(2,"CONSOLE"),f.\u0275\u0275elementEnd(),f.\u0275\u0275element(3,"s"),f.\u0275\u0275elementStart(4,"button",0),f.\u0275\u0275listener("click",function(){return oe.items.splice(0,oe.items.length)}),f.\u0275\u0275elementStart(5,"mat-icon"),f.\u0275\u0275text(6,"delete"),f.\u0275\u0275elementEnd()()(),f.\u0275\u0275elementStart(7,"ul"),f.\u0275\u0275template(8,S,10,10,"li",1),f.\u0275\u0275elementEnd()),2&z&&(f.\u0275\u0275advance(8),f.\u0275\u0275property("ngForOf",oe.items))},dependencies:[p.NgClass,p.NgForOf,p.NgIf,p.NgSwitch,p.NgSwitchCase,d.NgxJsonViewerComponent,h.MatIconButton,g.MatIcon],styles:["[_nghost-%COMP%]{display:block;height:100%;text-align:left;overflow-y:scroll;box-sizing:border-box}header[_ngcontent-%COMP%]{display:flex;flex-direction:row;position:sticky;top:0;background:#1E1E1E;border-bottom:1px solid #444444;padding:5px 0;z-index:2}header[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin:0 10px;text-transform:uppercase;font-weight:200;color:#e7e7e7;border-bottom:1px solid rgb(231,231,231);line-height:27px;font-size:11pt;align-self:center}header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:0 10px}ul[_ngcontent-%COMP%]{padding:0;margin:0;box-sizing:border-box}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{list-style:none;display:block;width:100%;height:auto;padding:5px 10px;font-size:1rem;border-bottom:1px solid #444444;background-color:#111;word-break:break-all;box-sizing:border-box;word-wrap:break-word;font-family:monospace}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline;vertical-align:text-bottom}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{height:1rem;width:1rem;font-size:1rem;vertical-align:sub;margin-right:7.5px;-webkit-user-select:none;user-select:none}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.info[_ngcontent-%COMP%]{color:#b9b9bb}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.error[_ngcontent-%COMP%]{color:#ff3b6b}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.network_recv[_ngcontent-%COMP%], ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.network_send[_ngcontent-%COMP%]{color:#939395}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:hover{background-color:#0000004d}ul[_ngcontent-%COMP%] > li.error[_ngcontent-%COMP%]{color:#e69fa3;background-color:#4b2f36}"]})}return j})()},7481:(Z,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.ConsoleItemType=void 0;var o=function(i){return i.INFO="info",i.ERROR="error",i.WARN="warn",i.DEBUG="debug",i.NETWORK="network",i}(o||(l.ConsoleItemType=o={}))},839:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.DialogAboutComponent=void 0;const i=o(2970),a=o(4147),f=i.__importStar(o(7786)),p=i.__importStar(o(7950)),d=i.__importStar(o(3601)),h=i.__importStar(o(9986)),g=i.__importStar(o(2836));l.DialogAboutComponent=(()=>{class m{constructor(){this.version=a.version}static#e=this.\u0275fac=function(C){return new(C||m)};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:m,selectors:[["app-dialog-about"]],decls:20,vars:2,consts:[["mat-dialog-title",""],["role","list"],[3,"disableRipple"],["mat-icon-button","","mat-dialog-close","","tabindex","-1"],["href","https://sdkgen.github.io/","rel","external noreferer","target","_blank","mat-stroked-button",""],["href","https://github.com/sdkgen/sdkgen","rel","external noreferer","target","_blank","mat-stroked-button",""],["href","https://github.com/sdkgen/sdkgen/issues/new","rel","external noreferer","target","_blank","mat-stroked-button",""]],template:function(C,M){1&C&&(f.\u0275\u0275elementStart(0,"header")(1,"h1",0),f.\u0275\u0275text(2,"sdkgen Playground"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(3,"mat-chip-set",1)(4,"mat-chip",2),f.\u0275\u0275text(5),f.\u0275\u0275elementEnd()(),f.\u0275\u0275element(6,"s"),f.\u0275\u0275elementStart(7,"button",3)(8,"mat-icon"),f.\u0275\u0275text(9,"close"),f.\u0275\u0275elementEnd()()(),f.\u0275\u0275elementStart(10,"p"),f.\u0275\u0275text(11,"Ferramenta para explorar e invocar APIs feitas com sdkgen."),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(12,"p"),f.\u0275\u0275text(13,"Feito com \u2764\ufe0f no Brasil \u{1f1e7}\u{1f1f7}"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(14,"a",4),f.\u0275\u0275text(15,"Documenta\xe7\xe3o"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(16,"a",5),f.\u0275\u0275text(17,"C\xf3digo-fonte"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(18,"a",6),f.\u0275\u0275text(19," Reportar um problema\n"),f.\u0275\u0275elementEnd()),2&C&&(f.\u0275\u0275advance(4),f.\u0275\u0275property("disableRipple",!0),f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(M.version))},dependencies:[p.MatAnchor,p.MatIconButton,d.MatChip,d.MatChipSet,h.MatDialogClose,h.MatDialogTitle,g.MatIcon],styles:["header[_ngcontent-%COMP%]{display:flex;border-bottom:1px solid rgba(255,255,255,.2)}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], header[_ngcontent-%COMP%] button[_ngcontent-%COMP%], header[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%]{display:inline;align-self:center}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{display:flex;margin:0 10px 0 0;padding:0}header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:20px}a[_ngcontent-%COMP%]:not(:last-child){margin-right:12px}"]})}return m})()},284:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.FilterPipe=void 0;const a=o(2970).__importStar(o(7786));l.FilterPipe=(()=>{class p{transform(h,g){if(!h)return[];if(!g)return h;const v=g.toLocaleLowerCase();return h.filter(m=>JSON.stringify(m).toLocaleLowerCase().includes(v))}static#e=this.\u0275fac=function(g){return new(g||p)};static#t=this.\u0275pipe=a.\u0275\u0275definePipe({name:"appFilter",type:p,pure:!0})}return p})()},321:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.ResponsiveService=void 0;const i=o(2970),a=i.__importStar(o(7786)),f=i.__importStar(o(1108));l.ResponsiveService=(()=>{class d{constructor(g){this.observer=g}isBelowSm(){return this.observer.observe(["(max-width: 575px)"])}isBelowMd(){return this.observer.observe(["(max-width: 767px)"])}isBelowLg(){return this.observer.observe(["(max-width: 991px)"])}isBelowXl(){return this.observer.observe(["(max-width: 1199px)"])}static#e=this.\u0275fac=function(v){return new(v||d)(a.\u0275\u0275inject(f.BreakpointObserver))};static#t=this.\u0275prov=a.\u0275\u0275defineInjectable({token:d,factory:d.\u0275fac,providedIn:"root"})}return d})()},2791:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.getTypeDoc=l.getTypeLabels=l.getConstructorName=l.primitiveTypesExamples=l.primitiveTypes=void 0;const i=o(3081),a=o(3855);function f(h){switch(h.constructor){case i.StringPrimitiveType:return"StringPrimitiveType";case i.IntPrimitiveType:return"IntPrimitiveType";case i.UIntPrimitiveType:return"UIntPrimitiveType";case i.FloatPrimitiveType:return"FloatPrimitiveType";case i.BigIntPrimitiveType:return"BigIntPrimitiveType";case i.MoneyPrimitiveType:return"MoneyPrimitiveType";case i.DecimalPrimitiveType:return"DecimalPrimitiveType";case i.DatePrimitiveType:return"DatePrimitiveType";case i.DateTimePrimitiveType:return"DateTimePrimitiveType";case i.BoolPrimitiveType:return"BoolPrimitiveType";case i.VoidPrimitiveType:return"VoidPrimitiveType";case i.CpfPrimitiveType:return"CpfPrimitiveType";case i.CnpjPrimitiveType:return"CnpjPrimitiveType";case i.EmailPrimitiveType:return"EmailPrimitiveType";case i.UrlPrimitiveType:return"UrlPrimitiveType";case i.UuidPrimitiveType:return"UuidPrimitiveType";case i.HexPrimitiveType:return"HexPrimitiveType";case i.HtmlPrimitiveType:return"HtmlPrimitiveType";case i.BytesPrimitiveType:return"BytesPrimitiveType";case i.Base64PrimitiveType:return"Base64PrimitiveType";case i.XmlPrimitiveType:return"XmlPrimitiveType";case i.JsonPrimitiveType:return"JsonPrimitiveType";case i.OptionalType:return"OptionalType";case i.EnumType:return"EnumType";case i.ArrayType:return"ArrayType";case i.StructType:return"StructType";default:return h.constructor.name}}l.primitiveTypes={StringPrimitiveType:"Um texto livre, potencialmente de m\xfaltiplas linhas, codificado como UTF-8.",IntPrimitiveType:"Um n\xfamero inteiro de 32 bits, no intervalo de -2147483648 at\xe9 2147483647.",UIntPrimitiveType:"Um n\xfamero inteiro n\xe3o negativo, no intervalo de 0 at\xe9 4294967295.",FloatPrimitiveType:"Um n\xfamero de ponto flutuante de 64 bits, similar ao double do C.",BigIntPrimitiveType:"Um n\xfamero inteiro sem limite de precis\xe3o. Na maioria das plataformas este tipo \xe9 mais custoso.",MoneyPrimitiveType:"Um n\xfamero inteiro com precis\xe3o estendida, mas perform\xe1tico. Est\xe1 no intervalo de -9007199254740991 a 9007199254740991. \xdatil para opera\xe7\xf5es financeiras.",DecimalPrimitiveType:"Um n\xfamero inteiro ou fracionado representado por d\xedgitos decimais e com precis\xe3o din\xe2mica. \xdatil para opera\xe7\xf5es financeiras.",DatePrimitiveType:"Representa conceitualmente uma data do calend\xe1rio Gregoriano. Essa mesma data pode representar diferentes momento no tempo a depender da timezone. Para especificar um ponto no tempo utilize datetime.",DateTimePrimitiveType:"Representa um instante no tempo com precis\xe3o de milissegundos. Este instante ser\xe1 sempre traduzido para o fuso hor\xe1rio local do recebedor da mensagem.",BoolPrimitiveType:"Ou true ou false.",VoidPrimitiveType:"Tipo vazio, sem conte\xfado.",CpfPrimitiveType:"Similar a uma string, mas contendo um CPF v\xe1lido.",CnpjPrimitiveType:"Similar a uma string, mas contendo um CNPJ v\xe1lido.",EmailPrimitiveType:"Similar a uma string, mas contendo um e-mail v\xe1lido.",UrlPrimitiveType:"Similar a uma string, mas contendo uma URL v\xe1lida.",UuidPrimitiveType:"Similar a uma string, mas contendo um UUID v\xe1lido.",HexPrimitiveType:"Similar a uma string, mas contendo uma quantidade par de caracteres hexadecimais, \xfatil para representar bytes.",HtmlPrimitiveType:"Similar a uma string, mas contendo um HTML v\xe1lido.",BytesPrimitiveType:"Uma sequ\xeancia arbitr\xe1ria de bytes de qualquer comprimento. Pode ser utilizado para tr\xe1fego de dados bin\xe1rios.",Base64PrimitiveType:"Similar a uma string, mas necessariamente com uma codifica\xe7\xe3o Base 64 v\xe1lida.",XmlPrimitiveType:"Similar a uma string, mas contendo um XML v\xe1lido.",JsonPrimitiveType:"Um valor JSON qualquer, incluindo objetos, arrays, strings, n\xfameros e boleanos, em qualquer profundidade. Note que embora null possa aparecer dentro de um objeto ou array, o valor deste campo n\xe3o pode ser null diretamente. Para isso utilize json?."},l.primitiveTypesExamples={StringPrimitiveType:["","lorem ipsum","strings podem conter caracteres especiais \u{1f609}"],IntPrimitiveType:["0","6725082065","-3096576054"],UIntPrimitiveType:["0","1","340953460"],FloatPrimitiveType:["0.0","1.050654","-3454.6396854"],BigIntPrimitiveType:["87175082235506108544888893172310","0","1"],MoneyPrimitiveType:["100","-450954636342","121611633162977184630315"],DecimalPrimitiveType:["100","-10.35","0.00498375617834","3864958512342567"],DatePrimitiveType:["2020-01-01","1950-04-15","2194-12-31"],DateTimePrimitiveType:["2020-01-01T00:00:00.000","1950-04-15T02:11:58.892","2194-12-31T23:31:58.491"],BoolPrimitiveType:["true","false"],CpfPrimitiveType:["000.000.001-91","00000000191","000.000.002-72"],CnpjPrimitiveType:["00.000.000/0001-91","00000000000191","00.000.000/0002-72"],EmailPrimitiveType:["sample@example.com","root@localhost","test+label@10.0.0.5"],UrlPrimitiveType:["https://sdkgen.github.io/","https://goo.gl/maps/gUaKGTqR8BHXfX7b7","http://jobs.cubos.io"],UuidPrimitiveType:["c12c3329-c558-4c76-9a16-0efeb2b01605","00000000-0000-0000-0000-000000000000","1d5f2ef6-0def-11ec-82a8-0242ac130003"],HexPrimitiveType:["00","6375626f73","73646b67656e20706c617967726f756e64"],HtmlPrimitiveType:["<html><body><p>sdkgen</p></body></html>","<html><h1>Sdkgen","<script> alert('Hello world!'); <\/script>"],BytesPrimitiveType:[],Base64PrimitiveType:["Y3Vib3M=","c2RrZ2Vu","c2RrZ2VuIHBsYXlncm91bmQ="],XmlPrimitiveType:["<items><item>something</item></items>","<list />",'<?xml version="1.0" encoding="UTF-8"?><resposta><![CDATA[ol\xe1 <xml>]]></resposta>'],JsonPrimitiveType:["{}",'{"sdkgen":"playground"}','{"type":"json","items":[1,2,3],"some":null}']},l.getConstructorName=f,l.getTypeLabels=function p(h){const g=[];switch(h.constructor){case i.StringPrimitiveType:case i.IntPrimitiveType:case i.UIntPrimitiveType:case i.FloatPrimitiveType:case i.BigIntPrimitiveType:case i.MoneyPrimitiveType:case i.DecimalPrimitiveType:case i.DatePrimitiveType:case i.DateTimePrimitiveType:case i.BoolPrimitiveType:case i.VoidPrimitiveType:case i.CpfPrimitiveType:case i.CnpjPrimitiveType:case i.EmailPrimitiveType:case i.UrlPrimitiveType:case i.UuidPrimitiveType:case i.HexPrimitiveType:case i.HtmlPrimitiveType:case i.BytesPrimitiveType:case i.Base64PrimitiveType:case i.XmlPrimitiveType:case i.JsonPrimitiveType:g.push("Primitivo");break;case i.OptionalType:g.push("Opcional"),g.push(...p(h.base));break;case i.TypeReference:g.push(...p(h.type));break;case i.ArrayType:g.push("Array"),g.push(...p(h.base));break;case i.EnumType:g.push("Enum");break;default:console.error("No labels for",f(h))}return g},l.getTypeDoc=function d(h){switch(h.constructor){case i.StringPrimitiveType:case i.IntPrimitiveType:case i.UIntPrimitiveType:case i.FloatPrimitiveType:case i.BigIntPrimitiveType:case i.MoneyPrimitiveType:case i.DecimalPrimitiveType:case i.DatePrimitiveType:case i.DateTimePrimitiveType:case i.BoolPrimitiveType:case i.VoidPrimitiveType:case i.CpfPrimitiveType:case i.CnpjPrimitiveType:case i.EmailPrimitiveType:case i.UrlPrimitiveType:case i.UuidPrimitiveType:case i.HexPrimitiveType:case i.HtmlPrimitiveType:case i.BytesPrimitiveType:case i.Base64PrimitiveType:case i.XmlPrimitiveType:case i.JsonPrimitiveType:return{longDescription:l.primitiveTypes[f(h)],shortDescription:l.primitiveTypes[f(h)],examples:l.primitiveTypesExamples[f(h)]};case i.OptionalType:{const u=d(h.base);return{...u,longDescription:u.longDescription,shortDescription:`(opcional) ${u.shortDescription}`,examples:["null",...u.examples??[]]}}case i.TypeReference:return d(h.type);case i.ArrayType:{const u=d(h.base);return{...u,longDescription:u.longDescription,shortDescription:`(array) ${u.shortDescription}`,examples:["[]",...u.examples?.map(b=>`[${b}]`)??[]]}}case i.EnumType:const g=h,v=g.values.slice(0,3),m=v.map(u=>u.struct?`${u.value}: ${JSON.stringify((new a.SdkgenService).buildJsonObject(u.struct.fields),null,2)}`:u.value);return{longDescription:"enum representa um conjunto limitado de possibilidades de valores, similar as enumera\xe7\xf5es em outras linguagens.",shortDescription:`(enum) ${v.map(u=>`${u.value}${u.struct?"(\u2026)":""}`).join(", ")}${v.length>3?"\u2026":""}`,examples:m,isEnum:!0,isStruct:!0,structFields:g.values.map(u=>({name:u.value,type:u.struct,description:u.annotations.find(b=>b instanceof i.DescriptionAnnotation)?.text,secret:!1}))};case i.StructType:return{longDescription:"",shortDescription:`(objeto complexo) ${h.fields.slice(0,3).map(u=>u.name).join(", ")}\u2026`,isStruct:!0,structFields:h.fields.map(u=>({name:u.name,description:u.annotations.find(b=>b instanceof i.DescriptionAnnotation)?.text,type:u.type,secret:u.secret})),examples:[JSON.stringify((new a.SdkgenService).buildJsonObject(h.fields),null,2)]};default:return{longDescription:"BUG: Unknown Type",shortDescription:"BUG: Unknown Type",examples:[]}}}},3855:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var _asyncToGenerator=__webpack_require__(7156).default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.SdkgenService=void 0;const tslib_1=__webpack_require__(2970),browser_runtime_1=__webpack_require__(3045),parser_1=__webpack_require__(3081),rxjs_1=__webpack_require__(5891),i0=tslib_1.__importStar(__webpack_require__(7786));let SdkgenService=(()=>{class SdkgenService{constructor(){this.state$=new rxjs_1.BehaviorSubject(null)}buildJsonObject(Z,l=new Set){const o=i=>{switch(i.constructor){case parser_1.StringPrimitiveType:return"";case parser_1.IntPrimitiveType:case parser_1.UIntPrimitiveType:case parser_1.FloatPrimitiveType:case parser_1.BigIntPrimitiveType:case parser_1.MoneyPrimitiveType:return 0;case parser_1.DecimalPrimitiveType:return"0.00";case parser_1.DatePrimitiveType:return(new Date).toJSON().substring(0,10);case parser_1.DateTimePrimitiveType:return(new Date).toJSON().substring(0,23);case parser_1.BoolPrimitiveType:return Math.random()>.5;case parser_1.VoidPrimitiveType:return null;case parser_1.CpfPrimitiveType:return"000.000.001-91";case parser_1.CnpjPrimitiveType:return"00.000.001/0001-91";case parser_1.EmailPrimitiveType:return"joao@acme.com";case parser_1.UrlPrimitiveType:return"https://www.google.com/";case parser_1.UuidPrimitiveType:return"00000000-0000-0000-0000-000000000000";case parser_1.HexPrimitiveType:return new Array(32).fill(0).map(()=>"0123456789abcdef"[Math.floor(16*Math.random())]).join("");case parser_1.HtmlPrimitiveType:return"<h1>Hello world!</h1>";case parser_1.BytesPrimitiveType:case parser_1.Base64PrimitiveType:return"0a=";case parser_1.XmlPrimitiveType:return"<xml></xml>";case parser_1.JsonPrimitiveType:return{};case parser_1.StructType:return l.has(i.name)?{}:this.buildJsonObject(i.fields,new Set([...l,i.name]));case parser_1.OptionalType:return null;case parser_1.TypeReference:return o(i.type);case parser_1.ArrayType:return[o(i.base),o(i.base),o(i.base)];case parser_1.EnumType:return i.values[0].value;default:return null}};return Z.reduce((i,a)=>(i[a.name]=o(a.type),i),{})}getTypeScriptCode(Z,l){return`await client.${Z}(${JSON.stringify(l,null,2)});\n`}buildKotlinString(Z,l=0){const o=i=>{switch(i.constructor){case parser_1.StringPrimitiveType:return'""';case parser_1.IntPrimitiveType:case parser_1.UIntPrimitiveType:case parser_1.FloatPrimitiveType:case parser_1.BigIntPrimitiveType:case parser_1.MoneyPrimitiveType:return 0;case parser_1.DecimalPrimitiveType:return'BigDecimal("0.00")';case parser_1.DatePrimitiveType:case parser_1.DateTimePrimitiveType:return"Calendar.getInstance()";case parser_1.BoolPrimitiveType:return Math.random()>.5?"true":"false";case parser_1.VoidPrimitiveType:return"null";case parser_1.CpfPrimitiveType:return'"000.000.001-91"';case parser_1.CnpjPrimitiveType:return'"00.000.001/0001-91"';case parser_1.EmailPrimitiveType:return'"joao@acme.com"';case parser_1.UrlPrimitiveType:return'"https://www.google.com/"';case parser_1.UuidPrimitiveType:return'"00000000-0000-0000-0000-000000000000"';case parser_1.HexPrimitiveType:return`"${new Array(32).fill(0).map(()=>"0123456789abcdef"[Math.floor(16*Math.random())]).join("")}"`;case parser_1.HtmlPrimitiveType:return'"<h1>Hello world!</h1>"';case parser_1.BytesPrimitiveType:case parser_1.Base64PrimitiveType:return'"0a="';case parser_1.XmlPrimitiveType:return'"<xml></xml>"';case parser_1.JsonPrimitiveType:return"json {}";case parser_1.StructType:return`${i.name}(\n${this.buildKotlinString(i.fields,l+1)}\n${" ".repeat(l+1)})`;case parser_1.OptionalType:return"null";case parser_1.TypeReference:return o(i.type);case parser_1.ArrayType:l++;const a=o(i.base);return l--,`arrayOf(\n${" ".repeat(l+2)}${a},\n${" ".repeat(l+2)}${a}\n${" ".repeat(l+1)})`;case parser_1.EnumType:return`"${i.values[0].value}"`;default:return"<>()"}};return Z.map(i=>`${" ".repeat(l+1)}${o(i.type)}`).join(",\n")}getKotlinCode(Z,l){return 0===l.length?`client.${Z}().await();`:`client.${Z}(\n${this.buildKotlinString(l)}\n).await();`}getDartCode(Z,l){return'print("todo");'}getSwiftCode(Z,l){return'print("todo");'}getSdkgenClient(url,ast){const errorFns=ast.errors.reduce((acc,cur)=>{function errorClass(type,base){return eval(`(\n (sup) => class ${type} extends sup {\n type = "${type}";\n message = "";\n ${base===browser_runtime_1.SdkgenErrorWithData?"data = null;":""}\n\n constructor(message${base===browser_runtime_1.SdkgenErrorWithData?", data":""}) {\n super(message${base===browser_runtime_1.SdkgenErrorWithData?", data":""});\n this.message = message;\n ${base===browser_runtime_1.SdkgenErrorWithData?"this.data = data;":""}\n this.toString = () => this.type + ": " + this.message;\n }\n }\n )`)(base)}return"string"==typeof cur?acc[cur]=errorClass(cur,browser_runtime_1.SdkgenError):acc[cur[0]]=errorClass(cur[0],browser_runtime_1.SdkgenErrorWithData),acc},{}),clientInstance=new browser_runtime_1.SdkgenHttpClient(url,ast,errorFns);return new Proxy(clientInstance,{get:(Z,l)=>["baseUrl","extra","successHook","errorHook","makeRequest"].includes(l.toString())?clientInstance[l.toString()]:function(){var o=_asyncToGenerator(function*(i){return clientInstance.makeRequest(l.toString(),i)});return function(i){return o.apply(this,arguments)}}()})}static#_=this.\u0275fac=function Z(l){return new(l||SdkgenService)};static#_2=this.\u0275prov=i0.\u0275\u0275defineInjectable({token:SdkgenService,factory:SdkgenService.\u0275fac,providedIn:"root"})}return SdkgenService})();exports.SdkgenService=SdkgenService},2311:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var _asyncToGenerator=__webpack_require__(7156).default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.SimpleCallComponent=void 0;const tslib_1=__webpack_require__(2970),forms_1=__webpack_require__(8832),console_types_1=__webpack_require__(7481),code_execution_1=__webpack_require__(9086),i0=tslib_1.__importStar(__webpack_require__(7786)),i1=tslib_1.__importStar(__webpack_require__(3855)),i2=tslib_1.__importStar(__webpack_require__(8832)),i3=tslib_1.__importStar(__webpack_require__(9309)),i4=tslib_1.__importStar(__webpack_require__(6086)),i5=tslib_1.__importStar(__webpack_require__(534)),i6=tslib_1.__importStar(__webpack_require__(7950)),i7=tslib_1.__importStar(__webpack_require__(2836)),i8=tslib_1.__importStar(__webpack_require__(7361)),i9=tslib_1.__importStar(__webpack_require__(3661));let SimpleCallComponent=(()=>{class SimpleCallComponent{constructor(Z){this.sdkgen=Z,this.editorOptions={theme:"vs-dark",language:"json"},this.code="",this.initialExtras='{\n "key": "value"\n}\n',this.extras=this.initialExtras,this.busy=!1,this.selected=new forms_1.FormControl(0),this.consoleItems=[]}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(Z=>{Z&&(this.generateFunctionCode(Z.astRoot,this.fn),this.client=this.sdkgen.getSdkgenClient(Z.url,Z.astJson))})}ngOnDestroy(){this.state$?.unsubscribe()}run(){var _this=this;return _asyncToGenerator(function*(){try{_this.busy=!0;{const events=_this.consoleItems;eval(code_execution_1.wrapper)}if(_this.extras&&_this.extras!==_this.initialExtras){const Z=JSON.parse(_this.extras),l=Object.keys(Z);for(const o of l)_this.client?.extra.set(o,Z[o])}const exec=_this.client[_this.fn](JSON.parse(_this.code));_this.response={result:yield exec}}catch(Z){_this.consoleItems.push({type:console_types_1.ConsoleItemType.ERROR,message:Z.toString()}),delete Z.toString,_this.response={error:{type:Z.type,message:Z.message,data:Z.data}}}finally{eval(code_execution_1.unwrap),_this.selected.setValue(2),_this.busy=!1}})()}generateFunctionCode(Z,l){const o=Z.operations.find(i=>i.name===l)?.args;o&&(this.code=JSON.stringify(this.sdkgen.buildJsonObject(o),null,2))}static#_=this.\u0275fac=function Z(l){return new(l||SimpleCallComponent)(i0.\u0275\u0275directiveInject(i1.SdkgenService))};static#_2=this.\u0275cmp=i0.\u0275\u0275defineComponent({type:SimpleCallComponent,selectors:[["app-simple-call"]],inputs:{fn:"fn"},decls:14,vars:10,consts:[["direction","vertical"],["animationDuration","0ms","mat-stretch-tabs","false",3,"selectedIndex","selectedIndexChange"],["label","Requisi\xe7\xe3o"],["mat-fab","",1,"run-fab",3,"disabled","click"],[3,"options","ngModel","ngModelChange"],["label","Extras"],["label","Resposta",3,"disabled"],[3,"json"],[3,"size"],[3,"items"]],template:function Z(l,o){1&l&&(i0.\u0275\u0275elementStart(0,"as-split",0)(1,"as-split-area")(2,"mat-tab-group",1),i0.\u0275\u0275listener("selectedIndexChange",function(a){return o.selected.setValue(a)}),i0.\u0275\u0275elementStart(3,"mat-tab",2)(4,"button",3),i0.\u0275\u0275listener("click",function(){return o.run()}),i0.\u0275\u0275elementStart(5,"mat-icon"),i0.\u0275\u0275text(6,"play_arrow"),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(7,"ngx-monaco-editor",4),i0.\u0275\u0275listener("ngModelChange",function(a){return o.code=a}),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(8,"mat-tab",5)(9,"ngx-monaco-editor",4),i0.\u0275\u0275listener("ngModelChange",function(a){return o.extras=a}),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(10,"mat-tab",6),i0.\u0275\u0275element(11,"ngx-json-viewer",7),i0.\u0275\u0275elementEnd()()(),i0.\u0275\u0275elementStart(12,"as-split-area",8),i0.\u0275\u0275element(13,"app-console",9),i0.\u0275\u0275elementEnd()()),2&l&&(i0.\u0275\u0275advance(2),i0.\u0275\u0275property("selectedIndex",o.selected.value),i0.\u0275\u0275advance(2),i0.\u0275\u0275property("disabled",o.busy),i0.\u0275\u0275advance(3),i0.\u0275\u0275property("options",o.editorOptions)("ngModel",o.code),i0.\u0275\u0275advance(2),i0.\u0275\u0275property("options",o.editorOptions)("ngModel",o.extras),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("disabled",!o.response),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("json",o.response),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("size",30),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("items",o.consoleItems))},dependencies:[i2.NgControlStatus,i2.NgModel,i3.MonacoEditorComponent,i4.NgxJsonViewerComponent,i5.SplitComponent,i5.SplitAreaDirective,i6.MatFabButton,i7.MatIcon,i8.MatTab,i8.MatTabGroup,i9.ConsoleComponent],styles:["[_nghost-%COMP%]{display:block;height:100%}mat-tab-group[_ngcontent-%COMP%]{height:100%}mat-tab-group[_ngcontent-%COMP%] .ngx-json-viewer{overflow:inherit!important}mat-tab-group[_ngcontent-%COMP%] .mat-tab-body-wrapper{height:100%}mat-tab-group[_ngcontent-%COMP%] .mat-tab-body-content{overflow-y:hidden!important}mat-tab-group[_ngcontent-%COMP%] ngx-monaco-editor[_ngcontent-%COMP%]{display:block;height:100%}mat-tab-group[_ngcontent-%COMP%] ngx-json-viewer[_ngcontent-%COMP%]{display:block;height:100%;width:100%;overflow-y:auto;scrollbar-width:thin}"]})}return SimpleCallComponent})();exports.SimpleCallComponent=SimpleCallComponent},3101:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var _asyncToGenerator=__webpack_require__(7156).default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.TabEditorComponent=void 0;const tslib_1=__webpack_require__(2970),typescript_generator_1=__webpack_require__(5437),console_types_1=__webpack_require__(7481),code_execution_1=__webpack_require__(9086),i0=tslib_1.__importStar(__webpack_require__(7786)),i1=tslib_1.__importStar(__webpack_require__(3855)),i2=tslib_1.__importStar(__webpack_require__(8832)),i3=tslib_1.__importStar(__webpack_require__(9309)),i4=tslib_1.__importStar(__webpack_require__(534)),i5=tslib_1.__importStar(__webpack_require__(7950)),i6=tslib_1.__importStar(__webpack_require__(2836)),i7=tslib_1.__importStar(__webpack_require__(3661));let TabEditorComponent=(()=>{class TabEditorComponent{constructor(Z){this.sdkgen=Z,this.code="",this.busy=!1,this.editorOptions={theme:"vs-dark",language:"typescript"},this.consoleItems=[{type:console_types_1.ConsoleItemType.INFO,message:"Bem-vindo! A sa\xedda dos seus testes aparecer\xe1 aqui :)"}]}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(Z=>{if(!Z)return;const l=`${this.patchBrowserClientSource((0,typescript_generator_1.generateBrowserClientSource)(Z.astRoot))}\n\ndeclare const client: sdkgen.ApiClient;\n\n`;this.client=this.sdkgen.getSdkgenClient(Z.url,Z.astJson),monaco.languages.typescript.typescriptDefaults.getCompilerOptions().target=monaco.languages.typescript.ScriptTarget.ESNext,monaco.languages.typescript.typescriptDefaults.getCompilerOptions().module=monaco.languages.typescript.ModuleKind.ESNext,monaco.languages.typescript.typescriptDefaults.getDiagnosticsOptions().diagnosticCodesToIgnore=[1375];const o=monaco.editor.getModels().find(a=>a.uri.toString().endsWith("client.d.ts"));o?o.setValue(l):monaco.editor.createModel(l,"typescript",monaco.Uri.parse("ts:filename/client.d.ts"));const[i]=Z.astRoot.operations;this.code=this.sdkgen.getTypeScriptCode(i.name,this.sdkgen.buildJsonObject(i.args))})}ngOnDestroy(){this.state$?.unsubscribe()}patchBrowserClientSource(Z){return`declare namespace sdkgen {\n${Z.substring(95,Z.indexOf("const errClasses")).replace(/ extends SdkgenError/g," extends Error").replace(/ extends SdkgenHttpClient/g,"").replace(/{ return this.makeRequest\(.*$/gm,"").replace(/ {\n {8}super\(baseUrl, astJson, errClasses\);\n {4}}/g,"").replace("constructor(","\n baseUrl: string;\n extra = new Map<string, any>();\n successHook: (result: any, name: string, args: any) => void = () => undefined;\n errorHook: (result: any, name: string, args: any) => void = () => undefined;\n async makeRequest(functionName: string, args: unknown): Promise<any>;\n \nconstructor(")}\n}\n`}run(){var _this=this;return _asyncToGenerator(function*(){try{_this.busy=!0,yield eval(`\n (async (client, events) => {\n ${code_execution_1.wrapper}\n ${_this.code}\n })\n `)(_this.client,_this.consoleItems).finally(()=>eval(code_execution_1.unwrap))}catch(Z){_this.consoleItems.push({type:console_types_1.ConsoleItemType.ERROR,message:Z.toString()})}_this.busy=!1})()}static#_=this.\u0275fac=function Z(l){return new(l||TabEditorComponent)(i0.\u0275\u0275directiveInject(i1.SdkgenService))};static#_2=this.\u0275cmp=i0.\u0275\u0275defineComponent({type:TabEditorComponent,selectors:[["app-tab-editor"]],decls:8,vars:5,consts:[["mat-fab","",1,"run-fab",3,"disabled","click"],["direction","vertical"],[1,"o-hidden"],[3,"options","ngModel","ngModelChange"],[3,"size"],[3,"items"]],template:function Z(l,o){1&l&&(i0.\u0275\u0275elementStart(0,"button",0),i0.\u0275\u0275listener("click",function(){return o.run()}),i0.\u0275\u0275elementStart(1,"mat-icon"),i0.\u0275\u0275text(2,"play_arrow"),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(3,"as-split",1)(4,"as-split-area",2)(5,"ngx-monaco-editor",3),i0.\u0275\u0275listener("ngModelChange",function(a){return o.code=a}),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(6,"as-split-area",4),i0.\u0275\u0275element(7,"app-console",5),i0.\u0275\u0275elementEnd()()),2&l&&(i0.\u0275\u0275property("disabled",o.busy),i0.\u0275\u0275advance(5),i0.\u0275\u0275property("options",o.editorOptions)("ngModel",o.code),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("size",30),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("items",o.consoleItems))},dependencies:[i2.NgControlStatus,i2.NgModel,i3.MonacoEditorComponent,i4.SplitComponent,i4.SplitAreaDirective,i5.MatFabButton,i6.MatIcon,i7.ConsoleComponent],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;height:calc(100% - 4px);margin-top:4px} .scroll-decoration{display:none}.o-hidden[_ngcontent-%COMP%]{overflow:hidden!important}"]})}return TabEditorComponent})();exports.TabEditorComponent=TabEditorComponent},1208:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.TabHomeComponent=void 0;const i=o(2970),a=o(7786),f=o(2791),p=o(9355),d=i.__importStar(o(7786)),h=i.__importStar(o(3855)),g=i.__importStar(o(9986)),v=i.__importStar(o(321)),m=i.__importStar(o(9462)),u=i.__importStar(o(8832)),b=i.__importStar(o(9309)),C=i.__importStar(o(534)),M=i.__importStar(o(7950)),S=i.__importStar(o(3601)),H=i.__importStar(o(2836)),j=i.__importStar(o(9021)),N=i.__importStar(o(1248)),fe=i.__importStar(o(7361)),z=i.__importStar(o(1481)),oe=i.__importStar(o(284));function X(Te,pt){if(1&Te&&(d.\u0275\u0275elementStart(0,"span",8),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&Te){const dt=d.\u0275\u0275nextContext().$implicit;d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(dt.description)}}const K=function(Te){return{active:Te}};function me(Te,pt){if(1&Te){const dt=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"li",5),d.\u0275\u0275listener("click",function(){const _e=d.\u0275\u0275restoreView(dt).$implicit,Ie=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(Ie.selectedFunction=_e)}),d.\u0275\u0275elementStart(1,"span",6),d.\u0275\u0275text(2),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(3,X,2,1,"span",7),d.\u0275\u0275elementEnd()}if(2&Te){const dt=pt.$implicit,qe=d.\u0275\u0275nextContext();d.\u0275\u0275property("ngClass",d.\u0275\u0275pureFunction1(3,K,(null==qe.selectedFunction?null:qe.selectedFunction.name)===dt.name)),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(dt.name),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",dt.description)}}function ae(Te,pt){1&Te&&d.\u0275\u0275element(0,"span")}function te(Te,pt){if(1&Te){const dt=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"span"),d.\u0275\u0275element(1,"br"),d.\u0275\u0275text(2,"\xa0\xa0"),d.\u0275\u0275elementStart(3,"span",37),d.\u0275\u0275text(4),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(5,"span",14),d.\u0275\u0275text(6,":"),d.\u0275\u0275elementEnd(),d.\u0275\u0275text(7,"\xa0"),d.\u0275\u0275elementStart(8,"u",15),d.\u0275\u0275listener("click",function(){const _e=d.\u0275\u0275restoreView(dt).$implicit,Ie=d.\u0275\u0275nextContext(2);return d.\u0275\u0275resetView(Ie.showDocumentation(_e.rawType))}),d.\u0275\u0275text(9),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(10,ae,1,0,"span",38),d.\u0275\u0275elementEnd()}if(2&Te){const dt=pt.$implicit,qe=pt.index;d.\u0275\u0275nextContext();const Y=d.\u0275\u0275reference(18),_e=d.\u0275\u0275reference(20),Ie=d.\u0275\u0275nextContext();d.\u0275\u0275advance(4),d.\u0275\u0275textInterpolate(dt.name),d.\u0275\u0275advance(4),d.\u0275\u0275property("matTooltip",Ie.getTooltip(dt.rawType)),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(dt.type),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",qe!=Ie.selectedFunction.args.length-1)("ngIfThen",Y)("ngIfElse",_e)}}function pe(Te,pt){1&Te&&d.\u0275\u0275text(0,",")}function it(Te,pt){1&Te&&d.\u0275\u0275element(0,"br")}function be(Te,pt){if(1&Te){const dt=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"u",29),d.\u0275\u0275listener("click",function(){d.\u0275\u0275restoreView(dt);const Y=d.\u0275\u0275nextContext().$implicit,_e=d.\u0275\u0275nextContext(3);return d.\u0275\u0275resetView(_e.showDocumentation(Y.dataType))}),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()}if(2&Te){const dt=d.\u0275\u0275nextContext().$implicit,qe=d.\u0275\u0275nextContext(3);d.\u0275\u0275property("matTooltip",qe.getTooltip(dt.dataType)),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate1("(",dt.dataType.name,")")}}function We(Te,pt){if(1&Te&&(d.\u0275\u0275elementStart(0,"mat-chip",42)(1,"span",28),d.\u0275\u0275text(2),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(3,"i"),d.\u0275\u0275elementStart(4,"span",28),d.\u0275\u0275text(5),d.\u0275\u0275template(6,be,2,2,"u",43),d.\u0275\u0275elementEnd()()),2&Te){const dt=pt.$implicit;d.\u0275\u0275property("disableRipple",!0),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(dt.name),d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate1("",dt.type," "),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",dt.dataType&&"void"!==dt.dataType.name)}}function ce(Te,pt){if(1&Te&&(d.\u0275\u0275elementStart(0,"section",39)(1,"mat-chip-set",40),d.\u0275\u0275template(2,We,7,4,"mat-chip",41),d.\u0275\u0275elementEnd()()),2&Te){const dt=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(2),d.\u0275\u0275property("ngForOf",dt.selectedFunction.labels)}}function Ae(Te,pt){if(1&Te&&(d.\u0275\u0275elementStart(0,"p"),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&Te){const dt=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(dt.selectedFunction.description)}}function Ye(Te,pt){1&Te&&(d.\u0275\u0275elementStart(0,"p",44),d.\u0275\u0275text(1,"N\xe3o h\xe1 descri\xe7\xe3o para esta fun\xe7\xe3o."),d.\u0275\u0275elementEnd())}function Qe(Te,pt){1&Te&&(d.\u0275\u0275elementStart(0,"p",44),d.\u0275\u0275text(1,"Esta fun\xe7\xe3o n\xe3o possui argumentos."),d.\u0275\u0275elementEnd())}function ot(Te,pt){1&Te&&(d.\u0275\u0275elementStart(0,"th",54),d.\u0275\u0275text(1,"Nome"),d.\u0275\u0275elementEnd())}function kt(Te,pt){if(1&Te&&(d.\u0275\u0275elementStart(0,"td",55),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&Te){const dt=pt.$implicit;d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(dt.name)}}function je(Te,pt){1&Te&&(d.\u0275\u0275elementStart(0,"th",54),d.\u0275\u0275text(1,"Tipo"),d.\u0275\u0275elementEnd())}function Ve(Te,pt){if(1&Te){const dt=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"td",55)(1,"u",29),d.\u0275\u0275listener("click",function(){const _e=d.\u0275\u0275restoreView(dt).$implicit,Ie=d.\u0275\u0275nextContext(3);return d.\u0275\u0275resetView(Ie.showDocumentation(_e.rawType))}),d.\u0275\u0275text(2),d.\u0275\u0275elementEnd()()}if(2&Te){const dt=pt.$implicit,qe=d.\u0275\u0275nextContext(3);d.\u0275\u0275advance(1),d.\u0275\u0275property("matTooltip",qe.getTooltip(dt.rawType)),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(dt.type)}}function ye(Te,pt){1&Te&&(d.\u0275\u0275elementStart(0,"th",54),d.\u0275\u0275text(1,"Descri\xe7\xe3o"),d.\u0275\u0275elementEnd())}function we(Te,pt){if(1&Te&&(d.\u0275\u0275elementStart(0,"td",56),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&Te){const dt=pt.$implicit;d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(dt.description||"-")}}function ne(Te,pt){1&Te&&d.\u0275\u0275element(0,"tr",57)}function B(Te,pt){1&Te&&d.\u0275\u0275element(0,"tr",58)}function J(Te,pt){if(1&Te&&(d.\u0275\u0275elementStart(0,"table",45),d.\u0275\u0275elementContainerStart(1,46),d.\u0275\u0275template(2,ot,2,0,"th",47),d.\u0275\u0275template(3,kt,2,1,"td",48),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275elementContainerStart(4,49),d.\u0275\u0275template(5,je,2,0,"th",47),d.\u0275\u0275template(6,Ve,3,2,"td",48),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275elementContainerStart(7,50),d.\u0275\u0275template(8,ye,2,0,"th",47),d.\u0275\u0275template(9,we,2,1,"td",51),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275template(10,ne,1,0,"tr",52),d.\u0275\u0275template(11,B,1,0,"tr",53),d.\u0275\u0275elementEnd()),2&Te){const dt=d.\u0275\u0275nextContext(2);d.\u0275\u0275property("dataSource",dt.selectedFunction.args),d.\u0275\u0275advance(10),d.\u0275\u0275property("matHeaderRowDef",dt.argumentsTableColumns),d.\u0275\u0275advance(1),d.\u0275\u0275property("matRowDefColumns",dt.argumentsTableColumns)}}function Ze(Te,pt){1&Te&&(d.\u0275\u0275elementStart(0,"span",59),d.\u0275\u0275text(1,"Dart"),d.\u0275\u0275elementEnd())}function ct(Te,pt){1&Te&&(d.\u0275\u0275elementStart(0,"span",59),d.\u0275\u0275text(1,"Swift"),d.\u0275\u0275elementEnd())}const Nt=function(){return{theme:"vs-dark",language:"javascript"}},Dt=function(){return{theme:"vs-dark",language:"kotlin"}},Vt=function(){return{theme:"vs-dark",language:"dart"}},Fe=function(){return{theme:"vs-dark",language:"swift"}};function ke(Te,pt){if(1&Te){const dt=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"article")(1,"header")(2,"h1",9)(3,"span",10)(4,"span",11),d.\u0275\u0275text(5,"fn"),d.\u0275\u0275elementEnd(),d.\u0275\u0275text(6,"\xa0"),d.\u0275\u0275elementStart(7,"span",12),d.\u0275\u0275text(8),d.\u0275\u0275elementEnd(),d.\u0275\u0275text(9,"("),d.\u0275\u0275template(10,te,11,6,"span",13),d.\u0275\u0275text(11,")"),d.\u0275\u0275elementStart(12,"span",14),d.\u0275\u0275text(13,":"),d.\u0275\u0275elementEnd(),d.\u0275\u0275text(14,"\xa0"),d.\u0275\u0275elementStart(15,"u",15),d.\u0275\u0275listener("click",function(){d.\u0275\u0275restoreView(dt);const Y=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(Y.showDocumentation(Y.selectedFunction.returns.rawType))}),d.\u0275\u0275text(16),d.\u0275\u0275elementEnd()(),d.\u0275\u0275template(17,pe,1,0,"ng-template",null,16,d.\u0275\u0275templateRefExtractor),d.\u0275\u0275template(19,it,1,0,"ng-template",null,17,d.\u0275\u0275templateRefExtractor),d.\u0275\u0275element(21,"s"),d.\u0275\u0275elementStart(22,"button",18),d.\u0275\u0275listener("click",function(){d.\u0275\u0275restoreView(dt);const Y=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(Y.addSimpleCallTab())}),d.\u0275\u0275elementStart(23,"mat-icon"),d.\u0275\u0275text(24,"play_arrow"),d.\u0275\u0275elementEnd(),d.\u0275\u0275text(25,"\xa0EXECUTAR "),d.\u0275\u0275elementEnd()()(),d.\u0275\u0275template(26,ce,3,1,"section",19),d.\u0275\u0275elementStart(27,"section",9)(28,"h2",20),d.\u0275\u0275text(29,"Descri\xe7\xe3o"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(30,"div",21),d.\u0275\u0275template(31,Ae,2,1,"p",22),d.\u0275\u0275template(32,Ye,2,0,"p",23),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(33,"h2",24),d.\u0275\u0275text(34,"Par\xe2metros"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(35,"div",21),d.\u0275\u0275template(36,Qe,2,0,"p",23),d.\u0275\u0275elementStart(37,"div",25),d.\u0275\u0275template(38,J,12,3,"table",26),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(39,"h2",27),d.\u0275\u0275text(40,"Retorno"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(41,"div")(42,"p",28)(43,"u",29),d.\u0275\u0275listener("click",function(){d.\u0275\u0275restoreView(dt);const Y=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(Y.showDocumentation(Y.selectedFunction.returns.rawType))}),d.\u0275\u0275text(44),d.\u0275\u0275elementEnd()()(),d.\u0275\u0275elementStart(45,"h2",30),d.\u0275\u0275text(46,"Exemplo de Requisi\xe7\xe3o"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(47,"mat-tab-group",31)(48,"mat-tab",32),d.\u0275\u0275element(49,"ngx-monaco-editor",33),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(50,"mat-tab",34),d.\u0275\u0275element(51,"ngx-monaco-editor",33),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(52,"mat-tab",35),d.\u0275\u0275template(53,Ze,2,0,"ng-template",36),d.\u0275\u0275element(54,"ngx-monaco-editor",33),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(55,"mat-tab",35),d.\u0275\u0275template(56,ct,2,0,"ng-template",36),d.\u0275\u0275element(57,"ngx-monaco-editor",33),d.\u0275\u0275elementEnd()()()()}if(2&Te){const dt=d.\u0275\u0275nextContext();d.\u0275\u0275advance(8),d.\u0275\u0275textInterpolate(dt.selectedFunction.name),d.\u0275\u0275advance(2),d.\u0275\u0275property("ngForOf",dt.selectedFunction.args),d.\u0275\u0275advance(5),d.\u0275\u0275property("matTooltip",dt.getTooltip(dt.selectedFunction.returns.rawType)),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(dt.selectedFunction.returns.type),d.\u0275\u0275advance(10),d.\u0275\u0275property("ngIf",dt.selectedFunction.labels.length>0),d.\u0275\u0275advance(4),d.\u0275\u0275property("ngSwitch",!!dt.selectedFunction.description),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngSwitchCase",!0),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngSwitchCase",!1),d.\u0275\u0275advance(3),d.\u0275\u0275property("ngSwitch",dt.selectedFunction.args.length),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngSwitchCase",0),d.\u0275\u0275advance(7),d.\u0275\u0275property("matTooltip",dt.getTooltip(dt.selectedFunction.returns.rawType)),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(dt.selectedFunction.returns.type),d.\u0275\u0275advance(5),d.\u0275\u0275property("options",d.\u0275\u0275pureFunction0(20,Nt))("ngModel",dt.selectedFunction.examples.typeScript),d.\u0275\u0275advance(2),d.\u0275\u0275property("options",d.\u0275\u0275pureFunction0(21,Dt))("ngModel",dt.selectedFunction.examples.kotlin),d.\u0275\u0275advance(3),d.\u0275\u0275property("options",d.\u0275\u0275pureFunction0(22,Vt))("ngModel",dt.selectedFunction.examples.dart),d.\u0275\u0275advance(3),d.\u0275\u0275property("options",d.\u0275\u0275pureFunction0(23,Fe))("ngModel",dt.selectedFunction.examples.swift)}}const Ge=function(){return{standalone:!0}};l.TabHomeComponent=(()=>{class Te{constructor(dt,qe,Y){this.sdkgen=dt,this.dialog=qe,this.responsive=Y,this.isBelowMd=!1,this.runFunction=new a.EventEmitter,this.searchText="",this.argumentsTableColumns=["name","type","description"],this.editorOptions={theme:"vs-dark",language:"javascript"}}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(dt=>{dt&&(this.selectedFunction=void 0,this.fnTable=dt.astRoot.operations.sort((qe,Y)=>qe.name.localeCompare(Y.name)).map(qe=>{const Y=dt.astJson.annotations[`fn.${qe.name}`],_e=this.sdkgen.buildJsonObject(qe.args);return Y?.find(Ie=>"hidden"===Ie.type)?null:{name:qe.name,description:Y?.find(Ie=>"description"===Ie.type)?.value,args:qe.args.map(({name:Ie,type:st})=>{const tt=[...dt.astJson.annotations[`type.${st.name}.${Ie}`]??[],...dt.astJson.annotations[`fn.${qe.name}.${Ie}`]??[]];return{name:Ie,description:tt.find(Ct=>"description"===Ct.type)?.value,type:st.name,rawType:st}}),argsStr:qe.args.map(Ie=>`${Ie.name}: ${Ie.type.name}`).join(", "),argsFields:qe.args,returns:{type:qe.returnType.name,rawType:qe.returnType},labels:Y?.filter(Ie=>["rest","throws"].includes(Ie.type)).map(Ie=>"rest"===Ie.type?{name:"REST",type:`${Ie.value.method} ${Ie.value.path}`}:"throws"===Ie.type?{name:"THROWS",type:Ie.value,dataType:dt.astRoot.errors.find(st=>st.name===Ie.value)?.dataType}:{name:"?",type:"?"})??[],throws:Y?.find(Ie=>"throws"===Ie.type)?.value,examples:{typeScript:this.sdkgen.getTypeScriptCode(qe.name,_e),kotlin:this.sdkgen.getKotlinCode(qe.name,qe.args),dart:this.sdkgen.getDartCode(qe.name,_e),swift:this.sdkgen.getSwiftCode(qe.name,_e)}}}).filter(qe=>!!qe))})}ngOnDestroy(){this.state$?.unsubscribe(),this.responsive$?.unsubscribe()}ngAfterViewInit(){this.responsive$=this.responsive.isBelowMd().subscribe(dt=>{this.isBelowMd=dt.matches})}addSimpleCallTab(){this.runFunction.emit(this.selectedFunction?.name)}getTooltip(dt){return(0,f.getTypeDoc)(dt).shortDescription}showDocumentation(dt){this.dialog.open(p.TypeDetailsComponent,{position:{right:"0",top:"0",bottom:"0"},data:{type:dt},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}static#e=this.\u0275fac=function(qe){return new(qe||Te)(d.\u0275\u0275directiveInject(h.SdkgenService),d.\u0275\u0275directiveInject(g.MatDialog),d.\u0275\u0275directiveInject(v.ResponsiveService))};static#t=this.\u0275cmp=d.\u0275\u0275defineComponent({type:Te,selectors:[["app-tab-home"]],outputs:{runFunction:"runFunction"},decls:11,vars:10,consts:[["unit","pixel",3,"direction"],[3,"size"],["type","search","placeholder","Buscar\u2026",3,"ngModel","ngModelOptions","ngModelChange"],["mat-ripple","",3,"ngClass","click",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-ripple","",3,"ngClass","click"],[1,"fn-call"],["class","fn-description",4,"ngIf"],[1,"fn-description"],[1,"container"],[1,"mono","hide-overflow"],[1,"k-fn"],[1,"k-name"],[4,"ngFor","ngForOf"],[1,"k-sym"],[1,"k-type",3,"matTooltip","click"],["comma",""],["lineBreak",""],["mat-raised-button","","color","primary",3,"click"],["class","container","id","labels",4,"ngIf"],["id","description"],[3,"ngSwitch"],[4,"ngSwitchCase"],["class","no-content",4,"ngSwitchCase"],["id","parameters"],[1,"table-responsive","mat-elevation-z8"],["mat-table","",3,"dataSource",4,"ngSwitchDefault"],["id","returns"],[1,"mono"],[3,"matTooltip","click"],["id","sample-calls"],["animationDuration","0ms"],["label","TypeScript"],[3,"options","ngModel"],["label","Kotlin"],["disabled",""],["mat-tab-label",""],[1,"k-arg-name"],[4,"ngIf","ngIfThen","ngIfElse"],["id","labels",1,"container"],["role","list"],["color","primary",3,"disableRipple",4,"ngFor","ngForOf"],["color","primary",3,"disableRipple"],[3,"matTooltip","click",4,"ngIf"],[1,"no-content"],["mat-table","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","mono","mat-cell","",4,"matCellDef"],["matColumnDef","type"],["matColumnDef","description"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"mono"],["mat-cell",""],["mat-header-row",""],["mat-row",""],["matTooltip","Em breve!"]],template:function(qe,Y){1&qe&&(d.\u0275\u0275elementStart(0,"as-split",0)(1,"as-split-area",1)(2,"aside")(3,"nav")(4,"form")(5,"input",2),d.\u0275\u0275listener("ngModelChange",function(Ie){return Y.searchText=Ie}),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(6,"ul"),d.\u0275\u0275template(7,me,4,5,"li",3),d.\u0275\u0275pipe(8,"appFilter"),d.\u0275\u0275elementEnd()()()(),d.\u0275\u0275elementStart(9,"as-split-area"),d.\u0275\u0275template(10,ke,58,24,"article",4),d.\u0275\u0275elementEnd()()),2&qe&&(d.\u0275\u0275property("direction",Y.isBelowMd?"vertical":"horizontal"),d.\u0275\u0275advance(1),d.\u0275\u0275property("size",Y.isBelowMd?130:350),d.\u0275\u0275advance(4),d.\u0275\u0275property("ngModel",Y.searchText)("ngModelOptions",d.\u0275\u0275pureFunction0(9,Ge)),d.\u0275\u0275advance(2),d.\u0275\u0275property("ngForOf",d.\u0275\u0275pipeBind2(8,6,Y.fnTable,Y.searchText)),d.\u0275\u0275advance(3),d.\u0275\u0275property("ngIf",Y.selectedFunction))},dependencies:[m.NgClass,m.NgForOf,m.NgIf,m.NgSwitch,m.NgSwitchCase,m.NgSwitchDefault,u.\u0275NgNoValidate,u.DefaultValueAccessor,u.NgControlStatus,u.NgControlStatusGroup,u.NgModel,u.NgForm,b.MonacoEditorComponent,C.SplitComponent,C.SplitAreaDirective,M.MatButton,S.MatChip,S.MatChipSet,H.MatIcon,j.MatRipple,N.MatTable,N.MatHeaderCellDef,N.MatHeaderRowDef,N.MatColumnDef,N.MatCellDef,N.MatRowDef,N.MatHeaderCell,N.MatCell,N.MatHeaderRow,N.MatRow,fe.MatTabLabel,fe.MatTab,fe.MatTabGroup,z.MatTooltip,oe.FilterPipe],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%;overflow:hidden!important}aside[_ngcontent-%COMP%]{display:block;background:#2b2b2b;height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}nav[_ngcontent-%COMP%]{display:block;width:100%}nav[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{display:block;width:100%;padding:10px;background:#2b2b2b;border-bottom:1px solid #444444;position:sticky;top:0;left:0;right:0;z-index:2}nav[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:block;background:#444444;border:0 none;color:#fff;width:100%;padding:5px}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:100%;padding:15px 10px;border-bottom:1px solid #444444;cursor:pointer;-webkit-user-select:none;user-select:none}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{background-color:#0003}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:#0000004d}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;word-break:break-all}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span.fn-call[_ngcontent-%COMP%]{font-family:Roboto Mono,monospace}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span.fn-description[_ngcontent-%COMP%]{color:#777;font-size:.9rem;margin-top:5px}u[_ngcontent-%COMP%]{text-decoration-style:dotted;cursor:pointer;font-family:Roboto Mono,monospace}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{background-color:#2b2b2b;padding:25px 20px;width:100%;position:sticky;top:0;left:0;right:0;z-index:3}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{display:flex;margin:0 auto;font-weight:300;line-height:36px;white-space:pre}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span.hide-overflow[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-fn[_ngcontent-%COMP%]{color:#c586c0}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-name[_ngcontent-%COMP%]{color:#dcdcaa}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-arg-name[_ngcontent-%COMP%]{color:#9cdcfe}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-sym[_ngcontent-%COMP%]{color:#d4d4d4}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-type[_ngcontent-%COMP%]{color:#569cd6}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{min-width:130px;align-self:center}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{display:block;padding:0 20px 15px}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%]{padding:20px 20px 0}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{overflow:hidden}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]:focus{outline:none}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{display:block;width:1.3px;background:#fff;margin:0 7.5px;border-radius:5px;height:calc(100% + 14px)}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-weight:300;margin-top:40px;text-transform:uppercase}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .no-content[_ngcontent-%COMP%]{background-color:#383838;color:#fafafa;display:inline-block;padding:15px;border-radius:5px;margin-top:0}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] table[_ngcontent-%COMP%], article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .table-responsive[_ngcontent-%COMP%], article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] mat-tab-group[_ngcontent-%COMP%]{width:100%;max-width:720px}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .mat-tab-body-content{overflow-y:hidden}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] ngx-monaco-editor[_ngcontent-%COMP%]{display:block;height:100%;min-height:300px}"]})}return Te})()},7193:(Z,l,o)=>{"use strict";var i=o(7156).default;Object.defineProperty(l,"__esModule",{value:!0}),l.TabNavComponent=void 0;const a=o(2970),f=o(8832),p=o(3081),d=o(839),h=a.__importStar(o(7786)),g=a.__importStar(o(3855)),v=a.__importStar(o(5776)),m=a.__importStar(o(9986)),u=a.__importStar(o(9462)),b=a.__importStar(o(8832)),C=a.__importStar(o(2836)),M=a.__importStar(o(9021));function S(N,fe){1&N&&(h.\u0275\u0275elementContainerStart(0),h.\u0275\u0275elementStart(1,"mat-icon",6),h.\u0275\u0275text(2,"loop"),h.\u0275\u0275elementEnd(),h.\u0275\u0275elementContainerEnd())}function H(N,fe){1&N&&(h.\u0275\u0275elementContainerStart(0),h.\u0275\u0275elementStart(1,"mat-icon"),h.\u0275\u0275text(2,"arrow_forward"),h.\u0275\u0275elementEnd(),h.\u0275\u0275elementContainerEnd())}l.TabNavComponent=(()=>{class N{constructor(z,oe,X){this.sdkgen=z,this.toastr=oe,this.dialog=X,this.loading=!1,this.url=new f.FormControl("")}ngOnInit(){fetch("/ast.json").then(z=>{z.ok&&(this.url.setValue(`${window.location.protocol}//${window.location.host}`),this.loadUrl())}).catch(()=>{})}loadUrl(z){var oe=this;return i(function*(){z?.preventDefault();try{oe.loading=!0,/^https?:\/\//.test(oe.url.value)||oe.url.setValue(`https://${oe.url.value}`);const X=new URL(oe.url.value);X.pathname+=(X.pathname.endsWith("/")?"":"/")+"ast.json";const K=X.toString();console.debug("astUrl",K);const me=yield fetch(K).then(function(){var ae=i(function*(te){return te.ok?te.json():te});return function(te){return ae.apply(this,arguments)}}());if(me instanceof Response)throw me instanceof Error?me:new Error(me.statusText);if(!me.errors||!me.functionTable||!me.typeTable)throw new Error("Invalid AST");for(;typeof monaco>"u";)console.log("monaco"),yield new Promise(ae=>setTimeout(ae,250));console.debug("astJson",me),oe.sdkgen.state$.next({astJson:me,astRoot:(0,p.jsonToAst)(me),url:oe.url.value})}catch(X){oe.toastr.error(X instanceof Error?X.message:JSON.stringify(X),"Erro ao carregar AST",{positionClass:"toast-bottom-right"})}finally{oe.loading=!1}})()}openAbout(){this.dialog.open(d.DialogAboutComponent)}static#e=this.\u0275fac=function(oe){return new(oe||N)(h.\u0275\u0275directiveInject(g.SdkgenService),h.\u0275\u0275directiveInject(v.ToastrService),h.\u0275\u0275directiveInject(m.MatDialog))};static#t=this.\u0275cmp=h.\u0275\u0275defineComponent({type:N,selectors:[["app-tab-nav"]],decls:9,vars:6,consts:[["src","assets/polvinho.png"],[3,"submit"],["placeholder","Digite uma URL aqui para conectar",3,"formControl","readonly"],["mat-ripple","","type","submit",3,"disabled","ngSwitch"],[4,"ngSwitchCase"],["mat-ripple","",1,"about-button",3,"click"],[1,"loader"]],template:function(oe,X){1&oe&&(h.\u0275\u0275element(0,"img",0),h.\u0275\u0275elementStart(1,"form",1),h.\u0275\u0275listener("submit",function(me){return X.loadUrl(me)}),h.\u0275\u0275element(2,"input",2),h.\u0275\u0275elementStart(3,"button",3),h.\u0275\u0275template(4,S,3,0,"ng-container",4),h.\u0275\u0275template(5,H,3,0,"ng-container",4),h.\u0275\u0275elementEnd()(),h.\u0275\u0275elementStart(6,"button",5),h.\u0275\u0275listener("click",function(){return X.openAbout()}),h.\u0275\u0275elementStart(7,"mat-icon"),h.\u0275\u0275text(8,"info"),h.\u0275\u0275elementEnd()()),2&oe&&(h.\u0275\u0275advance(2),h.\u0275\u0275property("formControl",X.url)("readonly",X.loading),h.\u0275\u0275advance(1),h.\u0275\u0275property("disabled",X.loading)("ngSwitch",X.loading),h.\u0275\u0275advance(1),h.\u0275\u0275property("ngSwitchCase",!0),h.\u0275\u0275advance(1),h.\u0275\u0275property("ngSwitchCase",!1))},dependencies:[u.NgSwitch,u.NgSwitchCase,b.\u0275NgNoValidate,b.DefaultValueAccessor,b.NgControlStatus,b.NgControlStatusGroup,b.NgForm,b.FormControlDirective,C.MatIcon,M.MatRipple],styles:["[_nghost-%COMP%]{display:flex;height:42px;background-color:#2b2b2b;box-shadow:0 0 3px #00000080}img[_ngcontent-%COMP%]{padding:5px}form[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-grow:1;box-shadow:0 0 1px #00000080;background:#383838;border:0 none;border-radius:5px;margin:5px 10vw 5px calc(10vw - 42px);overflow:hidden}form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{flex-grow:1;padding:10px 5px;background:transparent;border:0 none;text-align:center;color:#ccc}form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none}form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:transparent;color:#bfbfbf;border:0 none;cursor:pointer;line-height:10px}form[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spin 2s linear infinite}button.about-button[_ngcontent-%COMP%]{width:42px;height:42px;border:0;border-radius:0;padding:0;background:transparent;cursor:pointer;color:inherit;line-height:0;text-align:center}@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]})}return N})()},9355:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.TypeDetailsComponent=void 0;const i=o(2970),a=o(9986),f=o(2791),p=i.__importStar(o(7786)),d=i.__importStar(o(9986)),h=i.__importStar(o(9462)),g=i.__importStar(o(7950)),v=i.__importStar(o(3601)),m=i.__importStar(o(2836)),u=i.__importStar(o(1248)),b=i.__importStar(o(1481));function C(ce,Ae){1&ce&&(p.\u0275\u0275elementStart(0,"button",6)(1,"mat-icon"),p.\u0275\u0275text(2,"arrow_back"),p.\u0275\u0275elementEnd()())}function M(ce,Ae){if(1&ce&&(p.\u0275\u0275elementStart(0,"mat-chip",7),p.\u0275\u0275text(1),p.\u0275\u0275elementEnd()),2&ce){const Ye=Ae.$implicit;p.\u0275\u0275property("disableRipple",!0),p.\u0275\u0275advance(1),p.\u0275\u0275textInterpolate(Ye)}}function S(ce,Ae){1&ce&&(p.\u0275\u0275elementStart(0,"button",8)(1,"mat-icon"),p.\u0275\u0275text(2,"close"),p.\u0275\u0275elementEnd()())}function H(ce,Ae){1&ce&&(p.\u0275\u0275elementStart(0,"th",20),p.\u0275\u0275text(1,"Nome"),p.\u0275\u0275elementEnd())}function j(ce,Ae){if(1&ce&&(p.\u0275\u0275elementStart(0,"td",21),p.\u0275\u0275text(1),p.\u0275\u0275elementEnd()),2&ce){const Ye=Ae.$implicit;p.\u0275\u0275advance(1),p.\u0275\u0275textInterpolate(Ye.name)}}function N(ce,Ae){1&ce&&(p.\u0275\u0275elementStart(0,"th",20),p.\u0275\u0275text(1,"Tipo"),p.\u0275\u0275elementEnd())}function fe(ce,Ae){1&ce&&(p.\u0275\u0275elementStart(0,"span"),p.\u0275\u0275text(1,"-"),p.\u0275\u0275elementEnd())}function z(ce,Ae){if(1&ce){const Ye=p.\u0275\u0275getCurrentView();p.\u0275\u0275elementStart(0,"u",25),p.\u0275\u0275listener("click",function(){p.\u0275\u0275restoreView(Ye);const ot=p.\u0275\u0275nextContext().$implicit,kt=p.\u0275\u0275nextContext(2);return p.\u0275\u0275resetView(kt.showDocumentation(ot.type))}),p.\u0275\u0275text(1),p.\u0275\u0275elementEnd()}if(2&ce){const Ye=p.\u0275\u0275nextContext().$implicit,Qe=p.\u0275\u0275nextContext(2);p.\u0275\u0275property("matTooltip",Qe.getTooltip(Ye.type)),p.\u0275\u0275advance(1),p.\u0275\u0275textInterpolate(Ye.type.name)}}function oe(ce,Ae){1&ce&&(p.\u0275\u0275elementStart(0,"td",22),p.\u0275\u0275template(1,fe,2,0,"span",23),p.\u0275\u0275template(2,z,2,2,"u",24),p.\u0275\u0275elementEnd()),2&ce&&(p.\u0275\u0275property("ngSwitch",Ae.$implicit.type),p.\u0275\u0275advance(1),p.\u0275\u0275property("ngSwitchCase",null))}function X(ce,Ae){1&ce&&(p.\u0275\u0275elementStart(0,"th",20),p.\u0275\u0275text(1,"Descri\xe7\xe3o"),p.\u0275\u0275elementEnd())}function K(ce,Ae){if(1&ce&&(p.\u0275\u0275elementStart(0,"td",26),p.\u0275\u0275text(1),p.\u0275\u0275elementEnd()),2&ce){const Ye=Ae.$implicit;p.\u0275\u0275advance(1),p.\u0275\u0275textInterpolate(Ye.description||"-")}}function me(ce,Ae){1&ce&&p.\u0275\u0275element(0,"tr",27)}function ae(ce,Ae){1&ce&&p.\u0275\u0275element(0,"tr",28)}const te=function(){return[]};function pe(ce,Ae){if(1&ce&&(p.\u0275\u0275elementStart(0,"section")(1,"div",9)(2,"table",10),p.\u0275\u0275elementContainerStart(3,11),p.\u0275\u0275template(4,H,2,0,"th",12),p.\u0275\u0275template(5,j,2,1,"td",13),p.\u0275\u0275elementContainerEnd(),p.\u0275\u0275elementContainerStart(6,14),p.\u0275\u0275template(7,N,2,0,"th",12),p.\u0275\u0275template(8,oe,3,2,"td",15),p.\u0275\u0275elementContainerEnd(),p.\u0275\u0275elementContainerStart(9,16),p.\u0275\u0275template(10,X,2,0,"th",12),p.\u0275\u0275template(11,K,2,1,"td",17),p.\u0275\u0275elementContainerEnd(),p.\u0275\u0275template(12,me,1,0,"tr",18),p.\u0275\u0275template(13,ae,1,0,"tr",19),p.\u0275\u0275elementEnd()()()),2&ce){const Ye=p.\u0275\u0275nextContext();let Qe;p.\u0275\u0275advance(2),p.\u0275\u0275property("dataSource",null!==(Qe=null==Ye.typeDoc?null:Ye.typeDoc.structFields)&&void 0!==Qe?Qe:p.\u0275\u0275pureFunction0(3,te)),p.\u0275\u0275advance(10),p.\u0275\u0275property("matHeaderRowDef",Ye.argumentsTableColumns),p.\u0275\u0275advance(1),p.\u0275\u0275property("matRowDefColumns",Ye.argumentsTableColumns)}}function it(ce,Ae){if(1&ce&&(p.\u0275\u0275elementStart(0,"li")(1,"code",1),p.\u0275\u0275text(2),p.\u0275\u0275elementEnd()()),2&ce){const Ye=Ae.$implicit;p.\u0275\u0275advance(2),p.\u0275\u0275textInterpolate(Ye)}}function be(ce,Ae){if(1&ce&&(p.\u0275\u0275elementStart(0,"section")(1,"h3"),p.\u0275\u0275text(2,"Exemplos"),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(3,"ul"),p.\u0275\u0275template(4,it,3,1,"li",29),p.\u0275\u0275elementEnd()()),2&ce){const Ye=p.\u0275\u0275nextContext();p.\u0275\u0275advance(4),p.\u0275\u0275property("ngForOf",null==Ye.typeDoc?null:Ye.typeDoc.examples)}}l.TypeDetailsComponent=(()=>{class ce{constructor(Ye,Qe,ot){this.dialogRef=Ye,this.data=Qe,this.dialog=ot,this.labels=[],this.argumentsTableColumns=["name","type","description"]}ngOnInit(){this.labels=(0,f.getTypeLabels)(this.data.type),this.typeDoc=(0,f.getTypeDoc)(this.data.type)}getTooltip(Ye){return(0,f.getTypeDoc)(Ye).shortDescription}showDocumentation(Ye){this.dialog.open(ce,{position:{right:"0"},data:{type:Ye,subdialog:!0},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}static#e=this.\u0275fac=function(Qe){return new(Qe||ce)(p.\u0275\u0275directiveInject(d.MatDialogRef),p.\u0275\u0275directiveInject(a.MAT_DIALOG_DATA),p.\u0275\u0275directiveInject(d.MatDialog))};static#t=this.\u0275cmp=p.\u0275\u0275defineComponent({type:ce,selectors:[["app-type-details"]],decls:11,vars:7,consts:[["class","back-button","mat-icon-button","","mat-dialog-close","","tabindex","-1",4,"ngIf"],[1,"mono"],["role","list"],["color","primary",3,"disableRipple",4,"ngFor","ngForOf"],["class","close-button","mat-icon-button","","mat-dialog-close","","tabindex","-1",4,"ngIf"],[4,"ngIf"],["mat-icon-button","","mat-dialog-close","","tabindex","-1",1,"back-button"],["color","primary",3,"disableRipple"],["mat-icon-button","","mat-dialog-close","","tabindex","-1",1,"close-button"],[1,"table-responsive","mat-elevation-z8"],["mat-table","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","mono","mat-cell","",4,"matCellDef"],["matColumnDef","type"],["class","mono","mat-cell","",3,"ngSwitch",4,"matCellDef"],["matColumnDef","description"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"mono"],["mat-cell","",1,"mono",3,"ngSwitch"],[4,"ngSwitchCase"],[3,"matTooltip","click",4,"ngSwitchDefault"],[3,"matTooltip","click"],["mat-cell",""],["mat-header-row",""],["mat-row",""],[4,"ngFor","ngForOf"]],template:function(Qe,ot){1&Qe&&(p.\u0275\u0275elementStart(0,"h1"),p.\u0275\u0275template(1,C,3,0,"button",0),p.\u0275\u0275elementStart(2,"span",1),p.\u0275\u0275text(3),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(4,"mat-chip-set",2),p.\u0275\u0275template(5,M,2,2,"mat-chip",3),p.\u0275\u0275elementEnd(),p.\u0275\u0275template(6,S,3,0,"button",4),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(7,"p"),p.\u0275\u0275text(8),p.\u0275\u0275elementEnd(),p.\u0275\u0275template(9,pe,14,4,"section",5),p.\u0275\u0275template(10,be,5,1,"section",5)),2&Qe&&(p.\u0275\u0275advance(1),p.\u0275\u0275property("ngIf",ot.data.subdialog),p.\u0275\u0275advance(2),p.\u0275\u0275textInterpolate(ot.data.type.name),p.\u0275\u0275advance(2),p.\u0275\u0275property("ngForOf",ot.labels),p.\u0275\u0275advance(1),p.\u0275\u0275property("ngIf",!ot.data.subdialog),p.\u0275\u0275advance(2),p.\u0275\u0275textInterpolate(null==ot.typeDoc?null:ot.typeDoc.longDescription),p.\u0275\u0275advance(1),p.\u0275\u0275property("ngIf",(null==ot.typeDoc?null:ot.typeDoc.isStruct)&&(null==ot.typeDoc?null:ot.typeDoc.structFields)),p.\u0275\u0275advance(1),p.\u0275\u0275property("ngIf",null==ot.typeDoc||null==ot.typeDoc.examples?null:ot.typeDoc.examples.length))},dependencies:[h.NgForOf,h.NgIf,h.NgSwitch,h.NgSwitchCase,h.NgSwitchDefault,g.MatIconButton,v.MatChip,v.MatChipSet,d.MatDialogClose,m.MatIcon,u.MatTable,u.MatHeaderCellDef,u.MatHeaderRowDef,u.MatColumnDef,u.MatCellDef,u.MatRowDef,u.MatHeaderCell,u.MatCell,u.MatHeaderRow,u.MatRow,b.MatTooltip],styles:["h1[_ngcontent-%COMP%]{font-weight:200;word-break:break-all;word-wrap:break-word;color:#fff}h1[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%]{display:inline-block;margin-left:10px;-webkit-user-select:none;user-select:none}h1[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{text-transform:uppercase}h1[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]:focus{outline:none}h1[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{vertical-align:middle}h1[_ngcontent-%COMP%] button.back-button[_ngcontent-%COMP%]{margin-right:10px}h1[_ngcontent-%COMP%] button.close-button[_ngcontent-%COMP%]{float:right}p[_ngcontent-%COMP%]{line-height:1.5rem}section[_ngcontent-%COMP%]{margin-top:2rem}h3[_ngcontent-%COMP%]{font-weight:200;text-transform:uppercase}ul[_ngcontent-%COMP%]{padding-left:2rem}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{line-height:2rem;list-style:square}code[_ngcontent-%COMP%]{padding:.2rem .4rem;font-size:.875em;color:#fff;background-color:#212529;border-radius:.2rem;white-space:pre-wrap;word-break:break-all;word-wrap:break-word}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] u[_ngcontent-%COMP%]{text-decoration-style:dotted;cursor:pointer}"]})}return ce})()},9086:(Z,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.unwrap=l.wrapper=void 0,l.wrapper='\n window.___originalXmlHttpRequestOpen = XMLHttpRequest.prototype.open;\n XMLHttpRequest.prototype.open = function() {\n const event = { type: "network", message: `XHR: ${Array.prototype.join.call(arguments, " ")}` };\n events.push(event);\n\n const send = this.send;\n this.send = function() {\n try {\n event.details = { req: JSON.parse(arguments[0]) };\n } catch (e) {\n event.details = { req: arguments[0] };\n }\n\n const onreadystatechange = this.onreadystatechange;\n this.onreadystatechange = function() {\n const result = onreadystatechange.apply(this, arguments);\n\n if (this.readyState === 4) {\n try {\n event.details = { ...event.details, res: JSON.parse(this.responseText) };\n } catch (e) {\n event.details = { ...event.details, res: this.responseText };\n }\n }\n\n return result;\n };\n\n return send.apply(this, arguments);\n };\n\n return ___originalXmlHttpRequestOpen.apply(this, arguments);\n };\n\n window.__originalConsole = [console.log, console.error, console.warn, console.debug, console.info];\n\n for (const method of window.__originalConsole) {\n console[method.name] = function() {\n const event = { type: method.name === "log" ? "info" : method.name, message: Array.prototype.map.call(arguments, x => typeof x === "object" ? JSON.stringify(x) : x.toString()).join(" ") };\n events.push(event);\n return method.apply(this, arguments);\n }\n }\n',l.unwrap="\n XMLHttpRequest.prototype.open = window.___originalXmlHttpRequestOpen;\n for (const method of window.__originalConsole) {\n console[method.name] = method;\n }\n"},4730:(Z,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.environment=void 0,l.environment={production:!0}},2130:(Z,l,o)=>{"use strict";const f=o(2970).__importStar(o(4707)),p=o(7786),d=o(5697);o(4730).environment.production&&(0,p.enableProdMode)(),f.platformBrowser().bootstrapModule(d.AppModule).catch(g=>console.error(g))},7758:()=>{},5437:()=>{},5046:function(Z,l){var o,a;void 0!==(a="function"==typeof(o=function(){"use strict";function p(u,b,C){var M=new XMLHttpRequest;M.open("GET",u),M.responseType="blob",M.onload=function(){m(M.response,b,C)},M.onerror=function(){console.error("could not download file")},M.send()}function d(u){var b=new XMLHttpRequest;b.open("HEAD",u,!1);try{b.send()}catch{}return 200<=b.status&&299>=b.status}function h(u){try{u.dispatchEvent(new MouseEvent("click"))}catch{var b=document.createEvent("MouseEvents");b.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),u.dispatchEvent(b)}}var g="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,v=g.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),m=g.saveAs||("object"!=typeof window||window!==g?function(){}:"download"in HTMLAnchorElement.prototype&&!v?function(u,b,C){var M=g.URL||g.webkitURL,S=document.createElement("a");S.download=b=b||u.name||"download",S.rel="noopener","string"==typeof u?(S.href=u,S.origin===location.origin?h(S):d(S.href)?p(u,b,C):h(S,S.target="_blank")):(S.href=M.createObjectURL(u),setTimeout(function(){M.revokeObjectURL(S.href)},4e4),setTimeout(function(){h(S)},0))}:"msSaveOrOpenBlob"in navigator?function(u,b,C){if(b=b||u.name||"download","string"!=typeof u)navigator.msSaveOrOpenBlob(function f(u,b){return typeof b>"u"?b={autoBom:!1}:"object"!=typeof b&&(console.warn("Deprecated: Expected third argument to be a object"),b={autoBom:!b}),b.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(u.type)?new Blob(["\ufeff",u],{type:u.type}):u}(u,C),b);else if(d(u))p(u,b,C);else{var M=document.createElement("a");M.href=u,M.target="_blank",setTimeout(function(){h(M)})}}:function(u,b,C,M){if((M=M||open("","_blank"))&&(M.document.title=M.document.body.innerText="downloading..."),"string"==typeof u)return p(u,b,C);var S="application/octet-stream"===u.type,H=/constructor/i.test(g.HTMLElement)||g.safari,j=/CriOS\/[\d]+/.test(navigator.userAgent);if((j||S&&H||v)&&typeof FileReader<"u"){var N=new FileReader;N.onloadend=function(){var oe=N.result;oe=j?oe:oe.replace(/^data:[^;]*;/,"data:attachment/file;"),M?M.location.href=oe:location=oe,M=null},N.readAsDataURL(u)}else{var fe=g.URL||g.webkitURL,z=fe.createObjectURL(u);M?M.location=z:location.href=z,M=null,setTimeout(function(){fe.revokeObjectURL(z)},4e4)}});g.saveAs=m.saveAs=m,Z.exports=m})?o.apply(l,[]):o)&&(Z.exports=a)},5891:function(Z,l,o){"use strict";var i=this&&this.__createBinding||(Object.create?function(gi,Jn,ui,Ai){void 0===Ai&&(Ai=ui),Object.defineProperty(gi,Ai,{enumerable:!0,get:function(){return Jn[ui]}})}:function(gi,Jn,ui,Ai){void 0===Ai&&(Ai=ui),gi[Ai]=Jn[ui]}),a=this&&this.__exportStar||function(gi,Jn){for(var ui in gi)"default"!==ui&&!Object.prototype.hasOwnProperty.call(Jn,ui)&&i(Jn,gi,ui)};Object.defineProperty(l,"__esModule",{value:!0}),l.interval=l.iif=l.generate=l.fromEventPattern=l.fromEvent=l.from=l.forkJoin=l.empty=l.defer=l.connectable=l.concat=l.combineLatest=l.bindNodeCallback=l.bindCallback=l.UnsubscriptionError=l.TimeoutError=l.SequenceError=l.ObjectUnsubscribedError=l.NotFoundError=l.EmptyError=l.ArgumentOutOfRangeError=l.firstValueFrom=l.lastValueFrom=l.isObservable=l.identity=l.noop=l.pipe=l.NotificationKind=l.Notification=l.Subscriber=l.Subscription=l.Scheduler=l.VirtualAction=l.VirtualTimeScheduler=l.animationFrameScheduler=l.animationFrame=l.queueScheduler=l.queue=l.asyncScheduler=l.async=l.asapScheduler=l.asap=l.AsyncSubject=l.ReplaySubject=l.BehaviorSubject=l.Subject=l.animationFrames=l.observable=l.ConnectableObservable=l.Observable=void 0,l.filter=l.expand=l.exhaustMap=l.exhaustAll=l.exhaust=l.every=l.endWith=l.elementAt=l.distinctUntilKeyChanged=l.distinctUntilChanged=l.distinct=l.dematerialize=l.delayWhen=l.delay=l.defaultIfEmpty=l.debounceTime=l.debounce=l.count=l.connect=l.concatWith=l.concatMapTo=l.concatMap=l.concatAll=l.combineLatestWith=l.combineLatestAll=l.combineAll=l.catchError=l.bufferWhen=l.bufferToggle=l.bufferTime=l.bufferCount=l.buffer=l.auditTime=l.audit=l.config=l.NEVER=l.EMPTY=l.scheduled=l.zip=l.using=l.timer=l.throwError=l.range=l.race=l.partition=l.pairs=l.onErrorResumeNext=l.of=l.never=l.merge=void 0,l.switchMap=l.switchAll=l.subscribeOn=l.startWith=l.skipWhile=l.skipUntil=l.skipLast=l.skip=l.single=l.shareReplay=l.share=l.sequenceEqual=l.scan=l.sampleTime=l.sample=l.refCount=l.retryWhen=l.retry=l.repeatWhen=l.repeat=l.reduce=l.raceWith=l.publishReplay=l.publishLast=l.publishBehavior=l.publish=l.pluck=l.pairwise=l.onErrorResumeNextWith=l.observeOn=l.multicast=l.min=l.mergeWith=l.mergeScan=l.mergeMapTo=l.mergeMap=l.flatMap=l.mergeAll=l.max=l.materialize=l.mapTo=l.map=l.last=l.isEmpty=l.ignoreElements=l.groupBy=l.first=l.findIndex=l.find=l.finalize=void 0,l.zipWith=l.zipAll=l.withLatestFrom=l.windowWhen=l.windowToggle=l.windowTime=l.windowCount=l.window=l.toArray=l.timestamp=l.timeoutWith=l.timeout=l.timeInterval=l.throwIfEmpty=l.throttleTime=l.throttle=l.tap=l.takeWhile=l.takeUntil=l.takeLast=l.take=l.switchScan=l.switchMapTo=void 0;var f=o(1277);Object.defineProperty(l,"Observable",{enumerable:!0,get:function(){return f.Observable}});var p=o(2172);Object.defineProperty(l,"ConnectableObservable",{enumerable:!0,get:function(){return p.ConnectableObservable}});var d=o(2976);Object.defineProperty(l,"observable",{enumerable:!0,get:function(){return d.observable}});var h=o(1550);Object.defineProperty(l,"animationFrames",{enumerable:!0,get:function(){return h.animationFrames}});var g=o(7941);Object.defineProperty(l,"Subject",{enumerable:!0,get:function(){return g.Subject}});var v=o(681);Object.defineProperty(l,"BehaviorSubject",{enumerable:!0,get:function(){return v.BehaviorSubject}});var m=o(8110);Object.defineProperty(l,"ReplaySubject",{enumerable:!0,get:function(){return m.ReplaySubject}});var u=o(7433);Object.defineProperty(l,"AsyncSubject",{enumerable:!0,get:function(){return u.AsyncSubject}});var b=o(465);Object.defineProperty(l,"asap",{enumerable:!0,get:function(){return b.asap}}),Object.defineProperty(l,"asapScheduler",{enumerable:!0,get:function(){return b.asapScheduler}});var C=o(2361);Object.defineProperty(l,"async",{enumerable:!0,get:function(){return C.async}}),Object.defineProperty(l,"asyncScheduler",{enumerable:!0,get:function(){return C.asyncScheduler}});var M=o(2559);Object.defineProperty(l,"queue",{enumerable:!0,get:function(){return M.queue}}),Object.defineProperty(l,"queueScheduler",{enumerable:!0,get:function(){return M.queueScheduler}});var S=o(5662);Object.defineProperty(l,"animationFrame",{enumerable:!0,get:function(){return S.animationFrame}}),Object.defineProperty(l,"animationFrameScheduler",{enumerable:!0,get:function(){return S.animationFrameScheduler}});var H=o(913);Object.defineProperty(l,"VirtualTimeScheduler",{enumerable:!0,get:function(){return H.VirtualTimeScheduler}}),Object.defineProperty(l,"VirtualAction",{enumerable:!0,get:function(){return H.VirtualAction}});var j=o(3499);Object.defineProperty(l,"Scheduler",{enumerable:!0,get:function(){return j.Scheduler}});var N=o(3895);Object.defineProperty(l,"Subscription",{enumerable:!0,get:function(){return N.Subscription}});var fe=o(628);Object.defineProperty(l,"Subscriber",{enumerable:!0,get:function(){return fe.Subscriber}});var z=o(4910);Object.defineProperty(l,"Notification",{enumerable:!0,get:function(){return z.Notification}}),Object.defineProperty(l,"NotificationKind",{enumerable:!0,get:function(){return z.NotificationKind}});var oe=o(3985);Object.defineProperty(l,"pipe",{enumerable:!0,get:function(){return oe.pipe}});var X=o(1752);Object.defineProperty(l,"noop",{enumerable:!0,get:function(){return X.noop}});var K=o(1776);Object.defineProperty(l,"identity",{enumerable:!0,get:function(){return K.identity}});var me=o(2712);Object.defineProperty(l,"isObservable",{enumerable:!0,get:function(){return me.isObservable}});var ae=o(5201);Object.defineProperty(l,"lastValueFrom",{enumerable:!0,get:function(){return ae.lastValueFrom}});var te=o(5515);Object.defineProperty(l,"firstValueFrom",{enumerable:!0,get:function(){return te.firstValueFrom}});var pe=o(9136);Object.defineProperty(l,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return pe.ArgumentOutOfRangeError}});var it=o(3595);Object.defineProperty(l,"EmptyError",{enumerable:!0,get:function(){return it.EmptyError}});var be=o(6887);Object.defineProperty(l,"NotFoundError",{enumerable:!0,get:function(){return be.NotFoundError}});var We=o(472);Object.defineProperty(l,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return We.ObjectUnsubscribedError}});var ce=o(1138);Object.defineProperty(l,"SequenceError",{enumerable:!0,get:function(){return ce.SequenceError}});var Ae=o(6161);Object.defineProperty(l,"TimeoutError",{enumerable:!0,get:function(){return Ae.TimeoutError}});var Ye=o(5526);Object.defineProperty(l,"UnsubscriptionError",{enumerable:!0,get:function(){return Ye.UnsubscriptionError}});var Qe=o(381);Object.defineProperty(l,"bindCallback",{enumerable:!0,get:function(){return Qe.bindCallback}});var ot=o(6317);Object.defineProperty(l,"bindNodeCallback",{enumerable:!0,get:function(){return ot.bindNodeCallback}});var kt=o(8295);Object.defineProperty(l,"combineLatest",{enumerable:!0,get:function(){return kt.combineLatest}});var je=o(2354);Object.defineProperty(l,"concat",{enumerable:!0,get:function(){return je.concat}});var Ve=o(6881);Object.defineProperty(l,"connectable",{enumerable:!0,get:function(){return Ve.connectable}});var ye=o(4298);Object.defineProperty(l,"defer",{enumerable:!0,get:function(){return ye.defer}});var we=o(7618);Object.defineProperty(l,"empty",{enumerable:!0,get:function(){return we.empty}});var ne=o(2222);Object.defineProperty(l,"forkJoin",{enumerable:!0,get:function(){return ne.forkJoin}});var B=o(5651);Object.defineProperty(l,"from",{enumerable:!0,get:function(){return B.from}});var J=o(5870);Object.defineProperty(l,"fromEvent",{enumerable:!0,get:function(){return J.fromEvent}});var Ze=o(6711);Object.defineProperty(l,"fromEventPattern",{enumerable:!0,get:function(){return Ze.fromEventPattern}});var ct=o(3894);Object.defineProperty(l,"generate",{enumerable:!0,get:function(){return ct.generate}});var Nt=o(7388);Object.defineProperty(l,"iif",{enumerable:!0,get:function(){return Nt.iif}});var Dt=o(8470);Object.defineProperty(l,"interval",{enumerable:!0,get:function(){return Dt.interval}});var Vt=o(2739);Object.defineProperty(l,"merge",{enumerable:!0,get:function(){return Vt.merge}});var Fe=o(4359);Object.defineProperty(l,"never",{enumerable:!0,get:function(){return Fe.never}});var ke=o(2941);Object.defineProperty(l,"of",{enumerable:!0,get:function(){return ke.of}});var Ge=o(6038);Object.defineProperty(l,"onErrorResumeNext",{enumerable:!0,get:function(){return Ge.onErrorResumeNext}});var Ee=o(6092);Object.defineProperty(l,"pairs",{enumerable:!0,get:function(){return Ee.pairs}});var Te=o(6660);Object.defineProperty(l,"partition",{enumerable:!0,get:function(){return Te.partition}});var pt=o(6657);Object.defineProperty(l,"race",{enumerable:!0,get:function(){return pt.race}});var dt=o(8208);Object.defineProperty(l,"range",{enumerable:!0,get:function(){return dt.range}});var qe=o(6750);Object.defineProperty(l,"throwError",{enumerable:!0,get:function(){return qe.throwError}});var Y=o(6025);Object.defineProperty(l,"timer",{enumerable:!0,get:function(){return Y.timer}});var _e=o(875);Object.defineProperty(l,"using",{enumerable:!0,get:function(){return _e.using}});var Ie=o(5525);Object.defineProperty(l,"zip",{enumerable:!0,get:function(){return Ie.zip}});var st=o(6330);Object.defineProperty(l,"scheduled",{enumerable:!0,get:function(){return st.scheduled}});var tt=o(7618);Object.defineProperty(l,"EMPTY",{enumerable:!0,get:function(){return tt.EMPTY}});var Ct=o(4359);Object.defineProperty(l,"NEVER",{enumerable:!0,get:function(){return Ct.NEVER}}),a(o(5436),l);var Wt=o(9585);Object.defineProperty(l,"config",{enumerable:!0,get:function(){return Wt.config}});var Kt=o(6939);Object.defineProperty(l,"audit",{enumerable:!0,get:function(){return Kt.audit}});var Qt=o(995);Object.defineProperty(l,"auditTime",{enumerable:!0,get:function(){return Qt.auditTime}});var Zt=o(5849);Object.defineProperty(l,"buffer",{enumerable:!0,get:function(){return Zt.buffer}});var at=o(2485);Object.defineProperty(l,"bufferCount",{enumerable:!0,get:function(){return at.bufferCount}});var yt=o(2697);Object.defineProperty(l,"bufferTime",{enumerable:!0,get:function(){return yt.bufferTime}});var Ne=o(9075);Object.defineProperty(l,"bufferToggle",{enumerable:!0,get:function(){return Ne.bufferToggle}});var ee=o(4301);Object.defineProperty(l,"bufferWhen",{enumerable:!0,get:function(){return ee.bufferWhen}});var ge=o(6883);Object.defineProperty(l,"catchError",{enumerable:!0,get:function(){return ge.catchError}});var rt=o(4222);Object.defineProperty(l,"combineAll",{enumerable:!0,get:function(){return rt.combineAll}});var Tt=o(1735);Object.defineProperty(l,"combineLatestAll",{enumerable:!0,get:function(){return Tt.combineLatestAll}});var Ft=o(1033);Object.defineProperty(l,"combineLatestWith",{enumerable:!0,get:function(){return Ft.combineLatestWith}});var qt=o(7068);Object.defineProperty(l,"concatAll",{enumerable:!0,get:function(){return qt.concatAll}});var ln=o(850);Object.defineProperty(l,"concatMap",{enumerable:!0,get:function(){return ln.concatMap}});var pn=o(1457);Object.defineProperty(l,"concatMapTo",{enumerable:!0,get:function(){return pn.concatMapTo}});var Dn=o(1814);Object.defineProperty(l,"concatWith",{enumerable:!0,get:function(){return Dn.concatWith}});var _t=o(1643);Object.defineProperty(l,"connect",{enumerable:!0,get:function(){return _t.connect}});var et=o(1137);Object.defineProperty(l,"count",{enumerable:!0,get:function(){return et.count}});var Ce=o(98);Object.defineProperty(l,"debounce",{enumerable:!0,get:function(){return Ce.debounce}});var Be=o(701);Object.defineProperty(l,"debounceTime",{enumerable:!0,get:function(){return Be.debounceTime}});var ht=o(9003);Object.defineProperty(l,"defaultIfEmpty",{enumerable:!0,get:function(){return ht.defaultIfEmpty}});var Ot=o(9503);Object.defineProperty(l,"delay",{enumerable:!0,get:function(){return Ot.delay}});var Jt=o(5922);Object.defineProperty(l,"delayWhen",{enumerable:!0,get:function(){return Jt.delayWhen}});var lt=o(4494);Object.defineProperty(l,"dematerialize",{enumerable:!0,get:function(){return lt.dematerialize}});var ue=o(8243);Object.defineProperty(l,"distinct",{enumerable:!0,get:function(){return ue.distinct}});var L=o(4999);Object.defineProperty(l,"distinctUntilChanged",{enumerable:!0,get:function(){return L.distinctUntilChanged}});var A=o(3989);Object.defineProperty(l,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return A.distinctUntilKeyChanged}});var ie=o(4466);Object.defineProperty(l,"elementAt",{enumerable:!0,get:function(){return ie.elementAt}});var ze=o(271);Object.defineProperty(l,"endWith",{enumerable:!0,get:function(){return ze.endWith}});var Mt=o(9109);Object.defineProperty(l,"every",{enumerable:!0,get:function(){return Mt.every}});var Xe=o(2621);Object.defineProperty(l,"exhaust",{enumerable:!0,get:function(){return Xe.exhaust}});var xt=o(1382);Object.defineProperty(l,"exhaustAll",{enumerable:!0,get:function(){return xt.exhaustAll}});var de=o(8194);Object.defineProperty(l,"exhaustMap",{enumerable:!0,get:function(){return de.exhaustMap}});var Me=o(521);Object.defineProperty(l,"expand",{enumerable:!0,get:function(){return Me.expand}});var Se=o(607);Object.defineProperty(l,"filter",{enumerable:!0,get:function(){return Se.filter}});var vt=o(1943);Object.defineProperty(l,"finalize",{enumerable:!0,get:function(){return vt.finalize}});var Ht=o(183);Object.defineProperty(l,"find",{enumerable:!0,get:function(){return Ht.find}});var vn=o(2905);Object.defineProperty(l,"findIndex",{enumerable:!0,get:function(){return vn.findIndex}});var cn=o(5342);Object.defineProperty(l,"first",{enumerable:!0,get:function(){return cn.first}});var fn=o(5784);Object.defineProperty(l,"groupBy",{enumerable:!0,get:function(){return fn.groupBy}});var Ue=o(1130);Object.defineProperty(l,"ignoreElements",{enumerable:!0,get:function(){return Ue.ignoreElements}});var Re=o(4909);Object.defineProperty(l,"isEmpty",{enumerable:!0,get:function(){return Re.isEmpty}});var xe=o(9207);Object.defineProperty(l,"last",{enumerable:!0,get:function(){return xe.last}});var mt=o(7783);Object.defineProperty(l,"map",{enumerable:!0,get:function(){return mt.map}});var wt=o(1513);Object.defineProperty(l,"mapTo",{enumerable:!0,get:function(){return wt.mapTo}});var At=o(8599);Object.defineProperty(l,"materialize",{enumerable:!0,get:function(){return At.materialize}});var Pt=o(2764);Object.defineProperty(l,"max",{enumerable:!0,get:function(){return Pt.max}});var tn=o(637);Object.defineProperty(l,"mergeAll",{enumerable:!0,get:function(){return tn.mergeAll}});var Gt=o(1172);Object.defineProperty(l,"flatMap",{enumerable:!0,get:function(){return Gt.flatMap}});var In=o(7517);Object.defineProperty(l,"mergeMap",{enumerable:!0,get:function(){return In.mergeMap}});var Vn=o(9571);Object.defineProperty(l,"mergeMapTo",{enumerable:!0,get:function(){return Vn.mergeMapTo}});var An=o(9382);Object.defineProperty(l,"mergeScan",{enumerable:!0,get:function(){return An.mergeScan}});var kn=o(4949);Object.defineProperty(l,"mergeWith",{enumerable:!0,get:function(){return kn.mergeWith}});var Ci=o(1435);Object.defineProperty(l,"min",{enumerable:!0,get:function(){return Ci.min}});var Pn=o(9853);Object.defineProperty(l,"multicast",{enumerable:!0,get:function(){return Pn.multicast}});var bn=o(7868);Object.defineProperty(l,"observeOn",{enumerable:!0,get:function(){return bn.observeOn}});var le=o(2606);Object.defineProperty(l,"onErrorResumeNextWith",{enumerable:!0,get:function(){return le.onErrorResumeNextWith}});var nt=o(2692);Object.defineProperty(l,"pairwise",{enumerable:!0,get:function(){return nt.pairwise}});var U=o(8428);Object.defineProperty(l,"pluck",{enumerable:!0,get:function(){return U.pluck}});var se=o(8377);Object.defineProperty(l,"publish",{enumerable:!0,get:function(){return se.publish}});var $=o(7542);Object.defineProperty(l,"publishBehavior",{enumerable:!0,get:function(){return $.publishBehavior}});var $e=o(1198);Object.defineProperty(l,"publishLast",{enumerable:!0,get:function(){return $e.publishLast}});var R=o(5194);Object.defineProperty(l,"publishReplay",{enumerable:!0,get:function(){return R.publishReplay}});var Pe=o(7094);Object.defineProperty(l,"raceWith",{enumerable:!0,get:function(){return Pe.raceWith}});var Oe=o(4512);Object.defineProperty(l,"reduce",{enumerable:!0,get:function(){return Oe.reduce}});var Bt=o(2370);Object.defineProperty(l,"repeat",{enumerable:!0,get:function(){return Bt.repeat}});var Lt=o(6697);Object.defineProperty(l,"repeatWhen",{enumerable:!0,get:function(){return Lt.repeatWhen}});var yn=o(7781);Object.defineProperty(l,"retry",{enumerable:!0,get:function(){return yn.retry}});var Tn=o(3579);Object.defineProperty(l,"retryWhen",{enumerable:!0,get:function(){return Tn.retryWhen}});var Kn=o(3889);Object.defineProperty(l,"refCount",{enumerable:!0,get:function(){return Kn.refCount}});var ii=o(5653);Object.defineProperty(l,"sample",{enumerable:!0,get:function(){return ii.sample}});var Si=o(9158);Object.defineProperty(l,"sampleTime",{enumerable:!0,get:function(){return Si.sampleTime}});var ri=o(3033);Object.defineProperty(l,"scan",{enumerable:!0,get:function(){return ri.scan}});var Ji=o(2898);Object.defineProperty(l,"sequenceEqual",{enumerable:!0,get:function(){return Ji.sequenceEqual}});var Tr=o(6410);Object.defineProperty(l,"share",{enumerable:!0,get:function(){return Tr.share}});var so=o(6909);Object.defineProperty(l,"shareReplay",{enumerable:!0,get:function(){return so.shareReplay}});var cr=o(1610);Object.defineProperty(l,"single",{enumerable:!0,get:function(){return cr.single}});var Lr=o(6528);Object.defineProperty(l,"skip",{enumerable:!0,get:function(){return Lr.skip}});var qi=o(6211);Object.defineProperty(l,"skipLast",{enumerable:!0,get:function(){return qi.skipLast}});var dr=o(6987);Object.defineProperty(l,"skipUntil",{enumerable:!0,get:function(){return dr.skipUntil}});var ur=o(4471);Object.defineProperty(l,"skipWhile",{enumerable:!0,get:function(){return ur.skipWhile}});var wn=o(6686);Object.defineProperty(l,"startWith",{enumerable:!0,get:function(){return wn.startWith}});var Zn=o(6525);Object.defineProperty(l,"subscribeOn",{enumerable:!0,get:function(){return Zn.subscribeOn}});var Xn=o(464);Object.defineProperty(l,"switchAll",{enumerable:!0,get:function(){return Xn.switchAll}});var er=o(9018);Object.defineProperty(l,"switchMap",{enumerable:!0,get:function(){return er.switchMap}});var ti=o(1062);Object.defineProperty(l,"switchMapTo",{enumerable:!0,get:function(){return ti.switchMapTo}});var Sr=o(4198);Object.defineProperty(l,"switchScan",{enumerable:!0,get:function(){return Sr.switchScan}});var tr=o(964);Object.defineProperty(l,"take",{enumerable:!0,get:function(){return tr.take}});var hr=o(9058);Object.defineProperty(l,"takeLast",{enumerable:!0,get:function(){return hr.takeLast}});var fr=o(7578);Object.defineProperty(l,"takeUntil",{enumerable:!0,get:function(){return fr.takeUntil}});var Or=o(560);Object.defineProperty(l,"takeWhile",{enumerable:!0,get:function(){return Or.takeWhile}});var Bn=o(7521);Object.defineProperty(l,"tap",{enumerable:!0,get:function(){return Bn.tap}});var zt=o(5332);Object.defineProperty(l,"throttle",{enumerable:!0,get:function(){return zt.throttle}});var dn=o(927);Object.defineProperty(l,"throttleTime",{enumerable:!0,get:function(){return dn.throttleTime}});var Nn=o(9611);Object.defineProperty(l,"throwIfEmpty",{enumerable:!0,get:function(){return Nn.throwIfEmpty}});var pi=o(1273);Object.defineProperty(l,"timeInterval",{enumerable:!0,get:function(){return pi.timeInterval}});var Oi=o(6161);Object.defineProperty(l,"timeout",{enumerable:!0,get:function(){return Oi.timeout}});var oi=o(3257);Object.defineProperty(l,"timeoutWith",{enumerable:!0,get:function(){return oi.timeoutWith}});var Ui=o(6995);Object.defineProperty(l,"timestamp",{enumerable:!0,get:function(){return Ui.timestamp}});var Hn=o(2763);Object.defineProperty(l,"toArray",{enumerable:!0,get:function(){return Hn.toArray}});var Qn=o(616);Object.defineProperty(l,"window",{enumerable:!0,get:function(){return Qn.window}});var Ni=o(4182);Object.defineProperty(l,"windowCount",{enumerable:!0,get:function(){return Ni.windowCount}});var rn=o(7948);Object.defineProperty(l,"windowTime",{enumerable:!0,get:function(){return rn.windowTime}});var Li=o(8018);Object.defineProperty(l,"windowToggle",{enumerable:!0,get:function(){return Li.windowToggle}});var br=o(6218);Object.defineProperty(l,"windowWhen",{enumerable:!0,get:function(){return br.windowWhen}});var zi=o(8111);Object.defineProperty(l,"withLatestFrom",{enumerable:!0,get:function(){return zi.withLatestFrom}});var Rn=o(4902);Object.defineProperty(l,"zipAll",{enumerable:!0,get:function(){return Rn.zipAll}});var mr=o(6423);Object.defineProperty(l,"zipWith",{enumerable:!0,get:function(){return mr.zipWith}})},7433:function(Z,l,o){"use strict";var p,i=this&&this.__extends||(p=function(d,h){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,v){g.__proto__=v}||function(g,v){for(var m in v)Object.prototype.hasOwnProperty.call(v,m)&&(g[m]=v[m])})(d,h)},function(d,h){if("function"!=typeof h&&null!==h)throw new TypeError("Class extends value "+String(h)+" is not a constructor or null");function g(){this.constructor=d}p(d,h),d.prototype=null===h?Object.create(h):(g.prototype=h.prototype,new g)});Object.defineProperty(l,"__esModule",{value:!0}),l.AsyncSubject=void 0;var f=function(p){function d(){var h=null!==p&&p.apply(this,arguments)||this;return h._value=null,h._hasValue=!1,h._isComplete=!1,h}return i(d,p),d.prototype._checkFinalizedStatuses=function(h){var g=this,m=g._hasValue,u=g._value,C=g.isStopped,M=g._isComplete;g.hasError?h.error(g.thrownError):(C||M)&&(m&&h.next(u),h.complete())},d.prototype.next=function(h){this.isStopped||(this._value=h,this._hasValue=!0)},d.prototype.complete=function(){var h=this,g=h._hasValue,v=h._value;h._isComplete||(this._isComplete=!0,g&&p.prototype.next.call(this,v),p.prototype.complete.call(this))},d}(o(7941).Subject);l.AsyncSubject=f},681:function(Z,l,o){"use strict";var p,i=this&&this.__extends||(p=function(d,h){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,v){g.__proto__=v}||function(g,v){for(var m in v)Object.prototype.hasOwnProperty.call(v,m)&&(g[m]=v[m])})(d,h)},function(d,h){if("function"!=typeof h&&null!==h)throw new TypeError("Class extends value "+String(h)+" is not a constructor or null");function g(){this.constructor=d}p(d,h),d.prototype=null===h?Object.create(h):(g.prototype=h.prototype,new g)});Object.defineProperty(l,"__esModule",{value:!0}),l.BehaviorSubject=void 0;var f=function(p){function d(h){var g=p.call(this)||this;return g._value=h,g}return i(d,p),Object.defineProperty(d.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),d.prototype._subscribe=function(h){var g=p.prototype._subscribe.call(this,h);return!g.closed&&h.next(this._value),g},d.prototype.getValue=function(){var h=this,m=h._value;if(h.hasError)throw h.thrownError;return this._throwIfClosed(),m},d.prototype.next=function(h){p.prototype.next.call(this,this._value=h)},d}(o(7941).Subject);l.BehaviorSubject=f},4910:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.observeNotification=l.Notification=l.NotificationKind=void 0;var v,i=o(7618),a=o(2941),f=o(6750),p=o(3690);(v=l.NotificationKind||(l.NotificationKind={})).NEXT="N",v.ERROR="E",v.COMPLETE="C";var h=function(){function v(m,u,b){this.kind=m,this.value=u,this.error=b,this.hasValue="N"===m}return v.prototype.observe=function(m){return g(this,m)},v.prototype.do=function(m,u,b){var C=this,M=C.kind,S=C.value,H=C.error;return"N"===M?m?.(S):"E"===M?u?.(H):b?.()},v.prototype.accept=function(m,u,b){var C;return p.isFunction(null===(C=m)||void 0===C?void 0:C.next)?this.observe(m):this.do(m,u,b)},v.prototype.toObservable=function(){var m=this,u=m.kind,C=m.error,M="N"===u?a.of(m.value):"E"===u?f.throwError(function(){return C}):"C"===u?i.EMPTY:0;if(!M)throw new TypeError("Unexpected notification kind "+u);return M},v.createNext=function(m){return new v("N",m)},v.createError=function(m){return new v("E",void 0,m)},v.createComplete=function(){return v.completeNotification},v.completeNotification=new v("C"),v}();function g(v,m){var u,b,C,S=v.kind,H=v.value,j=v.error;if("string"!=typeof S)throw new TypeError('Invalid notification, missing "kind"');"N"===S?null===(u=m.next)||void 0===u||u.call(m,H):"E"===S?null===(b=m.error)||void 0===b||b.call(m,j):null===(C=m.complete)||void 0===C||C.call(m)}l.Notification=h,l.observeNotification=g},1936:(Z,l)=>{"use strict";function a(f,p,d){return{kind:f,value:p,error:d}}Object.defineProperty(l,"__esModule",{value:!0}),l.createNotification=l.nextNotification=l.errorNotification=l.COMPLETE_NOTIFICATION=void 0,l.COMPLETE_NOTIFICATION=a("C",void 0,void 0),l.errorNotification=function o(f){return a("E",void 0,f)},l.nextNotification=function i(f){return a("N",f,void 0)},l.createNotification=a},1277:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.Observable=void 0;var i=o(628),a=o(3895),f=o(2976),p=o(3985),d=o(9585),h=o(3690),g=o(1214),v=function(){function C(M){M&&(this._subscribe=M)}return C.prototype.lift=function(M){var S=new C;return S.source=this,S.operator=M,S},C.prototype.subscribe=function(M,S,H){var j=this,N=function b(C){return C&&C instanceof i.Subscriber||function u(C){return C&&h.isFunction(C.next)&&h.isFunction(C.error)&&h.isFunction(C.complete)}(C)&&a.isSubscription(C)}(M)?M:new i.SafeSubscriber(M,S,H);return g.errorContext(function(){var z=j.operator,oe=j.source;N.add(z?z.call(N,oe):oe?j._subscribe(N):j._trySubscribe(N))}),N},C.prototype._trySubscribe=function(M){try{return this._subscribe(M)}catch(S){M.error(S)}},C.prototype.forEach=function(M,S){var H=this;return new(S=m(S))(function(j,N){var fe=new i.SafeSubscriber({next:function(z){try{M(z)}catch(oe){N(oe),fe.unsubscribe()}},error:N,complete:j});H.subscribe(fe)})},C.prototype._subscribe=function(M){var S;return null===(S=this.source)||void 0===S?void 0:S.subscribe(M)},C.prototype[f.observable]=function(){return this},C.prototype.pipe=function(){for(var M=[],S=0;S<arguments.length;S++)M[S]=arguments[S];return p.pipeFromArray(M)(this)},C.prototype.toPromise=function(M){var S=this;return new(M=m(M))(function(H,j){var N;S.subscribe(function(fe){return N=fe},function(fe){return j(fe)},function(){return H(N)})})},C.create=function(M){return new C(M)},C}();function m(C){var M;return null!==(M=C??d.config.Promise)&&void 0!==M?M:Promise}l.Observable=v},8110:function(Z,l,o){"use strict";var d,i=this&&this.__extends||(d=function(h,g){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,m){v.__proto__=m}||function(v,m){for(var u in m)Object.prototype.hasOwnProperty.call(m,u)&&(v[u]=m[u])})(h,g)},function(h,g){if("function"!=typeof g&&null!==g)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");function v(){this.constructor=h}d(h,g),h.prototype=null===g?Object.create(g):(v.prototype=g.prototype,new v)});Object.defineProperty(l,"__esModule",{value:!0}),l.ReplaySubject=void 0;var a=o(7941),f=o(553),p=function(d){function h(g,v,m){void 0===g&&(g=1/0),void 0===v&&(v=1/0),void 0===m&&(m=f.dateTimestampProvider);var u=d.call(this)||this;return u._bufferSize=g,u._windowTime=v,u._timestampProvider=m,u._buffer=[],u._infiniteTimeWindow=!0,u._infiniteTimeWindow=v===1/0,u._bufferSize=Math.max(1,g),u._windowTime=Math.max(1,v),u}return i(h,d),h.prototype.next=function(g){var v=this,u=v._buffer,b=v._infiniteTimeWindow,C=v._timestampProvider,M=v._windowTime;v.isStopped||(u.push(g),!b&&u.push(C.now()+M)),this._trimBuffer(),d.prototype.next.call(this,g)},h.prototype._subscribe=function(g){this._throwIfClosed(),this._trimBuffer();for(var v=this._innerSubscribe(g),u=this._infiniteTimeWindow,C=this._buffer.slice(),M=0;M<C.length&&!g.closed;M+=u?1:2)g.next(C[M]);return this._checkFinalizedStatuses(g),v},h.prototype._trimBuffer=function(){var g=this,v=g._bufferSize,m=g._timestampProvider,u=g._buffer,b=g._infiniteTimeWindow,C=(b?1:2)*v;if(v<1/0&&C<u.length&&u.splice(0,u.length-C),!b){for(var M=m.now(),S=0,H=1;H<u.length&&u[H]<=M;H+=2)S=H;S&&u.splice(0,S+1)}},h}(a.Subject);l.ReplaySubject=p},3499:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.Scheduler=void 0;var i=o(553),a=function(){function f(p,d){void 0===d&&(d=f.now),this.schedulerActionCtor=p,this.now=d}return f.prototype.schedule=function(p,d,h){return void 0===d&&(d=0),new this.schedulerActionCtor(this,p).schedule(h,d)},f.now=i.dateTimestampProvider.now,f}();l.Scheduler=a},7941:function(Z,l,o){"use strict";var u,i=this&&this.__extends||(u=function(b,C){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(M,S){M.__proto__=S}||function(M,S){for(var H in S)Object.prototype.hasOwnProperty.call(S,H)&&(M[H]=S[H])})(b,C)},function(b,C){if("function"!=typeof C&&null!==C)throw new TypeError("Class extends value "+String(C)+" is not a constructor or null");function M(){this.constructor=b}u(b,C),b.prototype=null===C?Object.create(C):(M.prototype=C.prototype,new M)}),a=this&&this.__values||function(u){var b="function"==typeof Symbol&&Symbol.iterator,C=b&&u[b],M=0;if(C)return C.call(u);if(u&&"number"==typeof u.length)return{next:function(){return u&&M>=u.length&&(u=void 0),{value:u&&u[M++],done:!u}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0}),l.AnonymousSubject=l.Subject=void 0;var f=o(1277),p=o(3895),d=o(472),h=o(5727),g=o(1214),v=function(u){function b(){var C=u.call(this)||this;return C.closed=!1,C.currentObservers=null,C.observers=[],C.isStopped=!1,C.hasError=!1,C.thrownError=null,C}return i(b,u),b.prototype.lift=function(C){var M=new m(this,this);return M.operator=C,M},b.prototype._throwIfClosed=function(){if(this.closed)throw new d.ObjectUnsubscribedError},b.prototype.next=function(C){var M=this;g.errorContext(function(){var S,H;if(M._throwIfClosed(),!M.isStopped){M.currentObservers||(M.currentObservers=Array.from(M.observers));try{for(var j=a(M.currentObservers),N=j.next();!N.done;N=j.next())N.value.next(C)}catch(z){S={error:z}}finally{try{N&&!N.done&&(H=j.return)&&H.call(j)}finally{if(S)throw S.error}}}})},b.prototype.error=function(C){var M=this;g.errorContext(function(){if(M._throwIfClosed(),!M.isStopped){M.hasError=M.isStopped=!0,M.thrownError=C;for(var S=M.observers;S.length;)S.shift().error(C)}})},b.prototype.complete=function(){var C=this;g.errorContext(function(){if(C._throwIfClosed(),!C.isStopped){C.isStopped=!0;for(var M=C.observers;M.length;)M.shift().complete()}})},b.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(b.prototype,"observed",{get:function(){var C;return(null===(C=this.observers)||void 0===C?void 0:C.length)>0},enumerable:!1,configurable:!0}),b.prototype._trySubscribe=function(C){return this._throwIfClosed(),u.prototype._trySubscribe.call(this,C)},b.prototype._subscribe=function(C){return this._throwIfClosed(),this._checkFinalizedStatuses(C),this._innerSubscribe(C)},b.prototype._innerSubscribe=function(C){var M=this,S=this,N=S.observers;return S.hasError||S.isStopped?p.EMPTY_SUBSCRIPTION:(this.currentObservers=null,N.push(C),new p.Subscription(function(){M.currentObservers=null,h.arrRemove(N,C)}))},b.prototype._checkFinalizedStatuses=function(C){var M=this,j=M.isStopped;M.hasError?C.error(M.thrownError):j&&C.complete()},b.prototype.asObservable=function(){var C=new f.Observable;return C.source=this,C},b.create=function(C,M){return new m(C,M)},b}(f.Observable);l.Subject=v;var m=function(u){function b(C,M){var S=u.call(this)||this;return S.destination=C,S.source=M,S}return i(b,u),b.prototype.next=function(C){var M,S;null===(S=null===(M=this.destination)||void 0===M?void 0:M.next)||void 0===S||S.call(M,C)},b.prototype.error=function(C){var M,S;null===(S=null===(M=this.destination)||void 0===M?void 0:M.error)||void 0===S||S.call(M,C)},b.prototype.complete=function(){var C,M;null===(M=null===(C=this.destination)||void 0===C?void 0:C.complete)||void 0===M||M.call(C)},b.prototype._subscribe=function(C){var M,S;return null!==(S=null===(M=this.source)||void 0===M?void 0:M.subscribe(C))&&void 0!==S?S:p.EMPTY_SUBSCRIPTION},b}(v);l.AnonymousSubject=m},628:function(Z,l,o){"use strict";var fe,i=this&&this.__extends||(fe=function(z,oe){return(fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(X,K){X.__proto__=K}||function(X,K){for(var me in K)Object.prototype.hasOwnProperty.call(K,me)&&(X[me]=K[me])})(z,oe)},function(z,oe){if("function"!=typeof oe&&null!==oe)throw new TypeError("Class extends value "+String(oe)+" is not a constructor or null");function X(){this.constructor=z}fe(z,oe),z.prototype=null===oe?Object.create(oe):(X.prototype=oe.prototype,new X)});Object.defineProperty(l,"__esModule",{value:!0}),l.EMPTY_OBSERVER=l.SafeSubscriber=l.Subscriber=void 0;var a=o(3690),f=o(3895),p=o(9585),d=o(8387),h=o(1752),g=o(1936),v=o(5628),m=o(1214),u=function(fe){function z(oe){var X=fe.call(this)||this;return X.isStopped=!1,oe?(X.destination=oe,f.isSubscription(oe)&&oe.add(X)):X.destination=l.EMPTY_OBSERVER,X}return i(z,fe),z.create=function(oe,X,K){return new S(oe,X,K)},z.prototype.next=function(oe){this.isStopped?N(g.nextNotification(oe),this):this._next(oe)},z.prototype.error=function(oe){this.isStopped?N(g.errorNotification(oe),this):(this.isStopped=!0,this._error(oe))},z.prototype.complete=function(){this.isStopped?N(g.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},z.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,fe.prototype.unsubscribe.call(this),this.destination=null)},z.prototype._next=function(oe){this.destination.next(oe)},z.prototype._error=function(oe){try{this.destination.error(oe)}finally{this.unsubscribe()}},z.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},z}(f.Subscription);l.Subscriber=u;var b=Function.prototype.bind;function C(fe,z){return b.call(fe,z)}var M=function(){function fe(z){this.partialObserver=z}return fe.prototype.next=function(z){var oe=this.partialObserver;if(oe.next)try{oe.next(z)}catch(X){H(X)}},fe.prototype.error=function(z){var oe=this.partialObserver;if(oe.error)try{oe.error(z)}catch(X){H(X)}else H(z)},fe.prototype.complete=function(){var z=this.partialObserver;if(z.complete)try{z.complete()}catch(oe){H(oe)}},fe}(),S=function(fe){function z(oe,X,K){var ae,te,me=fe.call(this)||this;return a.isFunction(oe)||!oe?ae={next:oe??void 0,error:X??void 0,complete:K??void 0}:me&&p.config.useDeprecatedNextContext?((te=Object.create(oe)).unsubscribe=function(){return me.unsubscribe()},ae={next:oe.next&&C(oe.next,te),error:oe.error&&C(oe.error,te),complete:oe.complete&&C(oe.complete,te)}):ae=oe,me.destination=new M(ae),me}return i(z,fe),z}(u);function H(fe){p.config.useDeprecatedSynchronousErrorHandling?m.captureError(fe):d.reportUnhandledError(fe)}function N(fe,z){var oe=p.config.onStoppedNotification;oe&&v.timeoutProvider.setTimeout(function(){return oe(fe,z)})}l.SafeSubscriber=S,l.EMPTY_OBSERVER={closed:!0,next:h.noop,error:function j(fe){throw fe},complete:h.noop}},3895:function(Z,l,o){"use strict";var i=this&&this.__values||function(u){var b="function"==typeof Symbol&&Symbol.iterator,C=b&&u[b],M=0;if(C)return C.call(u);if(u&&"number"==typeof u.length)return{next:function(){return u&&M>=u.length&&(u=void 0),{value:u&&u[M++],done:!u}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")},a=this&&this.__read||function(u,b){var C="function"==typeof Symbol&&u[Symbol.iterator];if(!C)return u;var S,j,M=C.call(u),H=[];try{for(;(void 0===b||b-- >0)&&!(S=M.next()).done;)H.push(S.value)}catch(N){j={error:N}}finally{try{S&&!S.done&&(C=M.return)&&C.call(M)}finally{if(j)throw j.error}}return H},f=this&&this.__spreadArray||function(u,b){for(var C=0,M=b.length,S=u.length;C<M;C++,S++)u[S]=b[C];return u};Object.defineProperty(l,"__esModule",{value:!0}),l.isSubscription=l.EMPTY_SUBSCRIPTION=l.Subscription=void 0;var p=o(3690),d=o(5526),h=o(5727),g=function(){function u(b){this.initialTeardown=b,this.closed=!1,this._parentage=null,this._finalizers=null}return u.prototype.unsubscribe=function(){var b,C,M,S,H;if(!this.closed){this.closed=!0;var j=this._parentage;if(j)if(this._parentage=null,Array.isArray(j))try{for(var N=i(j),fe=N.next();!fe.done;fe=N.next())fe.value.remove(this)}catch(te){b={error:te}}finally{try{fe&&!fe.done&&(C=N.return)&&C.call(N)}finally{if(b)throw b.error}}else j.remove(this);var oe=this.initialTeardown;if(p.isFunction(oe))try{oe()}catch(te){H=te instanceof d.UnsubscriptionError?te.errors:[te]}var X=this._finalizers;if(X){this._finalizers=null;try{for(var K=i(X),me=K.next();!me.done;me=K.next()){var ae=me.value;try{m(ae)}catch(te){H=H??[],te instanceof d.UnsubscriptionError?H=f(f([],a(H)),a(te.errors)):H.push(te)}}}catch(te){M={error:te}}finally{try{me&&!me.done&&(S=K.return)&&S.call(K)}finally{if(M)throw M.error}}}if(H)throw new d.UnsubscriptionError(H)}},u.prototype.add=function(b){var C;if(b&&b!==this)if(this.closed)m(b);else{if(b instanceof u){if(b.closed||b._hasParent(this))return;b._addParent(this)}(this._finalizers=null!==(C=this._finalizers)&&void 0!==C?C:[]).push(b)}},u.prototype._hasParent=function(b){var C=this._parentage;return C===b||Array.isArray(C)&&C.includes(b)},u.prototype._addParent=function(b){var C=this._parentage;this._parentage=Array.isArray(C)?(C.push(b),C):C?[C,b]:b},u.prototype._removeParent=function(b){var C=this._parentage;C===b?this._parentage=null:Array.isArray(C)&&h.arrRemove(C,b)},u.prototype.remove=function(b){var C=this._finalizers;C&&h.arrRemove(C,b),b instanceof u&&b._removeParent(this)},u.EMPTY=((b=new u).closed=!0,b),u;var b}();function m(u){p.isFunction(u)?u():u.unsubscribe()}l.Subscription=g,l.EMPTY_SUBSCRIPTION=g.EMPTY,l.isSubscription=function v(u){return u instanceof g||u&&"closed"in u&&p.isFunction(u.remove)&&p.isFunction(u.add)&&p.isFunction(u.unsubscribe)}},9585:(Z,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.config=void 0,l.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},5515:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.firstValueFrom=void 0;var i=o(3595),a=o(628);l.firstValueFrom=function f(p,d){var h="object"==typeof d;return new Promise(function(g,v){var m=new a.SafeSubscriber({next:function(u){g(u),m.unsubscribe()},error:v,complete:function(){h?g(d.defaultValue):v(new i.EmptyError)}});p.subscribe(m)})}},5201:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.lastValueFrom=void 0;var i=o(3595);l.lastValueFrom=function a(f,p){var d="object"==typeof p;return new Promise(function(h,g){var m,v=!1;f.subscribe({next:function(u){m=u,v=!0},error:g,complete:function(){v?h(m):d?h(p.defaultValue):g(new i.EmptyError)}})})}},2172:function(Z,l,o){"use strict";var v,i=this&&this.__extends||(v=function(m,u){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,C){b.__proto__=C}||function(b,C){for(var M in C)Object.prototype.hasOwnProperty.call(C,M)&&(b[M]=C[M])})(m,u)},function(m,u){if("function"!=typeof u&&null!==u)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");function b(){this.constructor=m}v(m,u),m.prototype=null===u?Object.create(u):(b.prototype=u.prototype,new b)});Object.defineProperty(l,"__esModule",{value:!0}),l.ConnectableObservable=void 0;var a=o(1277),f=o(3895),p=o(3889),d=o(4191),h=o(1275),g=function(v){function m(u,b){var C=v.call(this)||this;return C.source=u,C.subjectFactory=b,C._subject=null,C._refCount=0,C._connection=null,h.hasLift(u)&&(C.lift=u.lift),C}return i(m,v),m.prototype._subscribe=function(u){return this.getSubject().subscribe(u)},m.prototype.getSubject=function(){var u=this._subject;return(!u||u.isStopped)&&(this._subject=this.subjectFactory()),this._subject},m.prototype._teardown=function(){this._refCount=0;var u=this._connection;this._subject=this._connection=null,u?.unsubscribe()},m.prototype.connect=function(){var u=this,b=this._connection;if(!b){b=this._connection=new f.Subscription;var C=this.getSubject();b.add(this.source.subscribe(d.createOperatorSubscriber(C,void 0,function(){u._teardown(),C.complete()},function(M){u._teardown(),C.error(M)},function(){return u._teardown()}))),b.closed&&(this._connection=null,b=f.Subscription.EMPTY)}return b},m.prototype.refCount=function(){return p.refCount()(this)},m}(a.Observable);l.ConnectableObservable=g},381:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.bindCallback=void 0;var i=o(8976);l.bindCallback=function a(f,p,d){return i.bindCallbackInternals(!1,f,p,d)}},8976:function(Z,l,o){"use strict";var i=this&&this.__read||function(u,b){var C="function"==typeof Symbol&&u[Symbol.iterator];if(!C)return u;var S,j,M=C.call(u),H=[];try{for(;(void 0===b||b-- >0)&&!(S=M.next()).done;)H.push(S.value)}catch(N){j={error:N}}finally{try{S&&!S.done&&(C=M.return)&&C.call(M)}finally{if(j)throw j.error}}return H},a=this&&this.__spreadArray||function(u,b){for(var C=0,M=b.length,S=u.length;C<M;C++,S++)u[S]=b[C];return u};Object.defineProperty(l,"__esModule",{value:!0}),l.bindCallbackInternals=void 0;var f=o(2226),p=o(1277),d=o(6525),h=o(8631),g=o(7868),v=o(7433);l.bindCallbackInternals=function m(u,b,C,M){if(C){if(!f.isScheduler(C))return function(){for(var S=[],H=0;H<arguments.length;H++)S[H]=arguments[H];return m(u,b,M).apply(this,S).pipe(h.mapOneOrManyArgs(C))};M=C}return M?function(){for(var S=[],H=0;H<arguments.length;H++)S[H]=arguments[H];return m(u,b).apply(this,S).pipe(d.subscribeOn(M),g.observeOn(M))}:function(){for(var S=this,H=[],j=0;j<arguments.length;j++)H[j]=arguments[j];var N=new v.AsyncSubject,fe=!0;return new p.Observable(function(z){var oe=N.subscribe(z);if(fe){fe=!1;var X=!1,K=!1;b.apply(S,a(a([],i(H)),[function(){for(var me=[],ae=0;ae<arguments.length;ae++)me[ae]=arguments[ae];if(u){var te=me.shift();if(null!=te)return void N.error(te)}N.next(1<me.length?me:me[0]),K=!0,X&&N.complete()}])),K&&N.complete(),X=!0}return oe})}}},6317:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.bindNodeCallback=void 0;var i=o(8976);l.bindNodeCallback=function a(f,p,d){return i.bindCallbackInternals(!0,f,p,d)}},8295:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.combineLatestInit=l.combineLatest=void 0;var i=o(1277),a=o(359),f=o(5651),p=o(1776),d=o(8631),h=o(9703),g=o(9679),v=o(4191),m=o(2968);function b(M,S,H){return void 0===H&&(H=p.identity),function(j){C(S,function(){for(var N=M.length,fe=new Array(N),z=N,oe=N,X=function(me){C(S,function(){var ae=f.from(M[me],S),te=!1;ae.subscribe(v.createOperatorSubscriber(j,function(pe){fe[me]=pe,te||(te=!0,oe--),oe||j.next(H(fe.slice()))},function(){--z||j.complete()}))},j)},K=0;K<N;K++)X(K)},j)}}function C(M,S,H){M?m.executeSchedule(H,M,S):S()}l.combineLatest=function u(){for(var M=[],S=0;S<arguments.length;S++)M[S]=arguments[S];var H=h.popScheduler(M),j=h.popResultSelector(M),N=a.argsArgArrayOrObject(M),fe=N.args,z=N.keys;if(0===fe.length)return f.from([],H);var oe=new i.Observable(b(fe,H,z?function(X){return g.createObject(z,X)}:p.identity));return j?oe.pipe(d.mapOneOrManyArgs(j)):oe},l.combineLatestInit=b},2354:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.concat=void 0;var i=o(7068),a=o(9703),f=o(5651);l.concat=function p(){for(var d=[],h=0;h<arguments.length;h++)d[h]=arguments[h];return i.concatAll()(f.from(d,a.popScheduler(d)))}},6881:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.connectable=void 0;var i=o(7941),a=o(1277),f=o(4298),p={connector:function(){return new i.Subject},resetOnDisconnect:!0};l.connectable=function d(h,g){void 0===g&&(g=p);var v=null,m=g.connector,u=g.resetOnDisconnect,b=void 0===u||u,C=m(),M=new a.Observable(function(S){return C.subscribe(S)});return M.connect=function(){return(!v||v.closed)&&(v=f.defer(function(){return h}).subscribe(C),b&&v.add(function(){return C=m()})),v},M}},4298:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.defer=void 0;var i=o(1277),a=o(1669);l.defer=function f(p){return new i.Observable(function(d){a.innerFrom(p()).subscribe(d)})}},1550:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.animationFrames=void 0;var i=o(1277),a=o(8721),f=o(9564);function d(g){return new i.Observable(function(v){var m=g||a.performanceTimestampProvider,u=m.now(),b=0,C=function(){v.closed||(b=f.animationFrameProvider.requestAnimationFrame(function(M){b=0;var S=m.now();v.next({timestamp:g?S:M,elapsed:S-u}),C()}))};return C(),function(){b&&f.animationFrameProvider.cancelAnimationFrame(b)}})}l.animationFrames=function p(g){return g?d(g):h};var h=d()},7618:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.empty=l.EMPTY=void 0;var i=o(1277);l.EMPTY=new i.Observable(function(p){return p.complete()}),l.empty=function a(p){return p?function f(p){return new i.Observable(function(d){return p.schedule(function(){return d.complete()})})}(p):l.EMPTY}},2222:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.forkJoin=void 0;var i=o(1277),a=o(359),f=o(1669),p=o(9703),d=o(4191),h=o(8631),g=o(9679);l.forkJoin=function v(){for(var m=[],u=0;u<arguments.length;u++)m[u]=arguments[u];var b=p.popResultSelector(m),C=a.argsArgArrayOrObject(m),M=C.args,S=C.keys,H=new i.Observable(function(j){var N=M.length;if(N)for(var fe=new Array(N),z=N,oe=N,X=function(me){var ae=!1;f.innerFrom(M[me]).subscribe(d.createOperatorSubscriber(j,function(te){ae||(ae=!0,oe--),fe[me]=te},function(){return z--},void 0,function(){(!z||!ae)&&(oe||j.next(S?g.createObject(S,fe):fe),j.complete())}))},K=0;K<N;K++)X(K);else j.complete()});return b?H.pipe(h.mapOneOrManyArgs(b)):H}},5651:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.from=void 0;var i=o(6330),a=o(1669);l.from=function f(p,d){return d?i.scheduled(p,d):a.innerFrom(p)}},5870:function(Z,l,o){"use strict";var i=this&&this.__read||function(j,N){var fe="function"==typeof Symbol&&j[Symbol.iterator];if(!fe)return j;var oe,K,z=fe.call(j),X=[];try{for(;(void 0===N||N-- >0)&&!(oe=z.next()).done;)X.push(oe.value)}catch(me){K={error:me}}finally{try{oe&&!oe.done&&(fe=z.return)&&fe.call(z)}finally{if(K)throw K.error}}return X};Object.defineProperty(l,"__esModule",{value:!0}),l.fromEvent=void 0;var a=o(1669),f=o(1277),p=o(7517),d=o(5135),h=o(3690),g=o(8631),v=["addListener","removeListener"],m=["addEventListener","removeEventListener"],u=["on","off"];function C(j,N){return function(fe){return function(z){return j[fe](N,z)}}}l.fromEvent=function b(j,N,fe,z){if(h.isFunction(fe)&&(z=fe,fe=void 0),z)return b(j,N,fe).pipe(g.mapOneOrManyArgs(z));var oe=i(function H(j){return h.isFunction(j.addEventListener)&&h.isFunction(j.removeEventListener)}(j)?m.map(function(me){return function(ae){return j[me](N,ae,fe)}}):function M(j){return h.isFunction(j.addListener)&&h.isFunction(j.removeListener)}(j)?v.map(C(j,N)):function S(j){return h.isFunction(j.on)&&h.isFunction(j.off)}(j)?u.map(C(j,N)):[],2),X=oe[0],K=oe[1];if(!X&&d.isArrayLike(j))return p.mergeMap(function(me){return b(me,N,fe)})(a.innerFrom(j));if(!X)throw new TypeError("Invalid event target");return new f.Observable(function(me){var ae=function(){for(var te=[],pe=0;pe<arguments.length;pe++)te[pe]=arguments[pe];return me.next(1<te.length?te:te[0])};return X(ae),function(){return K(ae)}})}},6711:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.fromEventPattern=void 0;var i=o(1277),a=o(3690),f=o(8631);l.fromEventPattern=function p(d,h,g){return g?p(d,h).pipe(f.mapOneOrManyArgs(g)):new i.Observable(function(v){var m=function(){for(var b=[],C=0;C<arguments.length;C++)b[C]=arguments[C];return v.next(1===b.length?b[0]:b)},u=d(m);return a.isFunction(h)?function(){return h(m,u)}:void 0})}},8244:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.fromSubscribable=void 0;var i=o(1277);l.fromSubscribable=function a(f){return new i.Observable(function(p){return f.subscribe(p)})}},3894:function(Z,l,o){"use strict";var i=this&&this.__generator||function(g,v){var u,b,C,M,m={label:0,sent:function(){if(1&C[0])throw C[1];return C[1]},trys:[],ops:[]};return M={next:S(0),throw:S(1),return:S(2)},"function"==typeof Symbol&&(M[Symbol.iterator]=function(){return this}),M;function S(j){return function(N){return function H(j){if(u)throw new TypeError("Generator is already executing.");for(;m;)try{if(u=1,b&&(C=2&j[0]?b.return:j[0]?b.throw||((C=b.return)&&C.call(b),0):b.next)&&!(C=C.call(b,j[1])).done)return C;switch(b=0,C&&(j=[2&j[0],C.value]),j[0]){case 0:case 1:C=j;break;case 4:return m.label++,{value:j[1],done:!1};case 5:m.label++,b=j[1],j=[0];continue;case 7:j=m.ops.pop(),m.trys.pop();continue;default:if(!(C=(C=m.trys).length>0&&C[C.length-1])&&(6===j[0]||2===j[0])){m=0;continue}if(3===j[0]&&(!C||j[1]>C[0]&&j[1]<C[3])){m.label=j[1];break}if(6===j[0]&&m.label<C[1]){m.label=C[1],C=j;break}if(C&&m.label<C[2]){m.label=C[2],m.ops.push(j);break}C[2]&&m.ops.pop(),m.trys.pop();continue}j=v.call(g,m)}catch(N){j=[6,N],b=0}finally{u=C=0}if(5&j[0])throw j[1];return{value:j[0]?j[1]:void 0,done:!0}}([j,N])}}};Object.defineProperty(l,"__esModule",{value:!0}),l.generate=void 0;var a=o(1776),f=o(2226),p=o(4298),d=o(6885);l.generate=function h(g,v,m,u,b){var C,M,S,H;function j(){var N;return i(this,function(fe){switch(fe.label){case 0:N=H,fe.label=1;case 1:return!v||v(N)?[4,S(N)]:[3,4];case 2:fe.sent(),fe.label=3;case 3:return N=m(N),[3,1];case 4:return[2]}})}return 1===arguments.length?(H=(C=g).initialState,v=C.condition,m=C.iterate,S=void 0===(M=C.resultSelector)?a.identity:M,b=C.scheduler):(H=g,!u||f.isScheduler(u)?(S=a.identity,b=u):S=u),p.defer(b?function(){return d.scheduleIterable(j(),b)}:j)}},7388:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.iif=void 0;var i=o(4298);l.iif=function a(f,p,d){return i.defer(function(){return f()?p:d})}},1669:function(Z,l,o){"use strict";var i=this&&this.__awaiter||function(ae,te,pe,it){return new(pe||(pe=Promise))(function(We,ce){function Ae(ot){try{Qe(it.next(ot))}catch(kt){ce(kt)}}function Ye(ot){try{Qe(it.throw(ot))}catch(kt){ce(kt)}}function Qe(ot){ot.done?We(ot.value):function be(We){return We instanceof pe?We:new pe(function(ce){ce(We)})}(ot.value).then(Ae,Ye)}Qe((it=it.apply(ae,te||[])).next())})},a=this&&this.__generator||function(ae,te){var it,be,We,ce,pe={label:0,sent:function(){if(1&We[0])throw We[1];return We[1]},trys:[],ops:[]};return ce={next:Ae(0),throw:Ae(1),return:Ae(2)},"function"==typeof Symbol&&(ce[Symbol.iterator]=function(){return this}),ce;function Ae(Qe){return function(ot){return function Ye(Qe){if(it)throw new TypeError("Generator is already executing.");for(;pe;)try{if(it=1,be&&(We=2&Qe[0]?be.return:Qe[0]?be.throw||((We=be.return)&&We.call(be),0):be.next)&&!(We=We.call(be,Qe[1])).done)return We;switch(be=0,We&&(Qe=[2&Qe[0],We.value]),Qe[0]){case 0:case 1:We=Qe;break;case 4:return pe.label++,{value:Qe[1],done:!1};case 5:pe.label++,be=Qe[1],Qe=[0];continue;case 7:Qe=pe.ops.pop(),pe.trys.pop();continue;default:if(!(We=(We=pe.trys).length>0&&We[We.length-1])&&(6===Qe[0]||2===Qe[0])){pe=0;continue}if(3===Qe[0]&&(!We||Qe[1]>We[0]&&Qe[1]<We[3])){pe.label=Qe[1];break}if(6===Qe[0]&&pe.label<We[1]){pe.label=We[1],We=Qe;break}if(We&&pe.label<We[2]){pe.label=We[2],pe.ops.push(Qe);break}We[2]&&pe.ops.pop(),pe.trys.pop();continue}Qe=te.call(ae,pe)}catch(ot){Qe=[6,ot],be=0}finally{it=We=0}if(5&Qe[0])throw Qe[1];return{value:Qe[0]?Qe[1]:void 0,done:!0}}([Qe,ot])}}},f=this&&this.__asyncValues||function(ae){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var pe,te=ae[Symbol.asyncIterator];return te?te.call(ae):(ae="function"==typeof p?p(ae):ae[Symbol.iterator](),pe={},it("next"),it("throw"),it("return"),pe[Symbol.asyncIterator]=function(){return this},pe);function it(We){pe[We]=ae[We]&&function(ce){return new Promise(function(Ae,Ye){!function be(We,ce,Ae,Ye){Promise.resolve(Ye).then(function(Qe){We({value:Qe,done:Ae})},ce)}(Ae,Ye,(ce=ae[We](ce)).done,ce.value)})}}},p=this&&this.__values||function(ae){var te="function"==typeof Symbol&&Symbol.iterator,pe=te&&ae[te],it=0;if(pe)return pe.call(ae);if(ae&&"number"==typeof ae.length)return{next:function(){return ae&&it>=ae.length&&(ae=void 0),{value:ae&&ae[it++],done:!ae}}};throw new TypeError(te?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0}),l.fromReadableStreamLike=l.fromAsyncIterable=l.fromIterable=l.fromPromise=l.fromArrayLike=l.fromInteropObservable=l.innerFrom=void 0;var d=o(5135),h=o(8405),g=o(1277),v=o(8059),m=o(4478),u=o(4759),b=o(6243),C=o(3954),M=o(3690),S=o(8387),H=o(2976);function N(ae){return new g.Observable(function(te){var pe=ae[H.observable]();if(M.isFunction(pe.subscribe))return pe.subscribe(te);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function fe(ae){return new g.Observable(function(te){for(var pe=0;pe<ae.length&&!te.closed;pe++)te.next(ae[pe]);te.complete()})}function z(ae){return new g.Observable(function(te){ae.then(function(pe){te.closed||(te.next(pe),te.complete())},function(pe){return te.error(pe)}).then(null,S.reportUnhandledError)})}function oe(ae){return new g.Observable(function(te){var pe,it;try{for(var be=p(ae),We=be.next();!We.done;We=be.next())if(te.next(We.value),te.closed)return}catch(Ae){pe={error:Ae}}finally{try{We&&!We.done&&(it=be.return)&&it.call(be)}finally{if(pe)throw pe.error}}te.complete()})}function X(ae){return new g.Observable(function(te){(function me(ae,te){var pe,it,be,We;return i(this,void 0,void 0,function(){var Ae;return a(this,function(Ye){switch(Ye.label){case 0:Ye.trys.push([0,5,6,11]),pe=f(ae),Ye.label=1;case 1:return[4,pe.next()];case 2:if((it=Ye.sent()).done)return[3,4];if(te.next(it.value),te.closed)return[2];Ye.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return Ae=Ye.sent(),be={error:Ae},[3,11];case 6:return Ye.trys.push([6,,9,10]),it&&!it.done&&(We=pe.return)?[4,We.call(pe)]:[3,8];case 7:Ye.sent(),Ye.label=8;case 8:return[3,10];case 9:if(be)throw be.error;return[7];case 10:return[7];case 11:return te.complete(),[2]}})})})(ae,te).catch(function(pe){return te.error(pe)})})}function K(ae){return X(C.readableStreamLikeToAsyncGenerator(ae))}l.innerFrom=function j(ae){if(ae instanceof g.Observable)return ae;if(null!=ae){if(v.isInteropObservable(ae))return N(ae);if(d.isArrayLike(ae))return fe(ae);if(h.isPromise(ae))return z(ae);if(m.isAsyncIterable(ae))return X(ae);if(b.isIterable(ae))return oe(ae);if(C.isReadableStreamLike(ae))return K(ae)}throw u.createInvalidObservableTypeError(ae)},l.fromInteropObservable=N,l.fromArrayLike=fe,l.fromPromise=z,l.fromIterable=oe,l.fromAsyncIterable=X,l.fromReadableStreamLike=K},8470:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.interval=void 0;var i=o(2361),a=o(6025);l.interval=function f(p,d){return void 0===p&&(p=0),void 0===d&&(d=i.asyncScheduler),p<0&&(p=0),a.timer(p,p,d)}},2739:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.merge=void 0;var i=o(637),a=o(1669),f=o(7618),p=o(9703),d=o(5651);l.merge=function h(){for(var g=[],v=0;v<arguments.length;v++)g[v]=arguments[v];var m=p.popScheduler(g),u=p.popNumber(g,1/0),b=g;return b.length?1===b.length?a.innerFrom(b[0]):i.mergeAll(u)(d.from(b,m)):f.EMPTY}},4359:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.never=l.NEVER=void 0;var i=o(1277),a=o(1752);l.NEVER=new i.Observable(a.noop),l.never=function f(){return l.NEVER}},2941:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.of=void 0;var i=o(9703),a=o(5651);l.of=function f(){for(var p=[],d=0;d<arguments.length;d++)p[d]=arguments[d];var h=i.popScheduler(p);return a.from(p,h)}},6038:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.onErrorResumeNext=void 0;var i=o(1277),a=o(717),f=o(4191),p=o(1752),d=o(1669);l.onErrorResumeNext=function h(){for(var g=[],v=0;v<arguments.length;v++)g[v]=arguments[v];var m=a.argsOrArgArray(g);return new i.Observable(function(u){var b=0,C=function(){if(b<m.length){var M=void 0;try{M=d.innerFrom(m[b++])}catch{return void C()}var S=new f.OperatorSubscriber(u,void 0,p.noop,p.noop);M.subscribe(S),S.add(C)}else u.complete()};C()})}},6092:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.pairs=void 0;var i=o(5651);l.pairs=function a(f,p){return i.from(Object.entries(f),p)}},6660:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.partition=void 0;var i=o(5998),a=o(607),f=o(1669);l.partition=function p(d,h,g){return[a.filter(h,g)(f.innerFrom(d)),a.filter(i.not(h,g))(f.innerFrom(d))]}},6657:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.raceInit=l.race=void 0;var i=o(1277),a=o(1669),f=o(717),p=o(4191);function h(g){return function(v){for(var m=[],u=function(C){m.push(a.innerFrom(g[C]).subscribe(p.createOperatorSubscriber(v,function(M){if(m){for(var S=0;S<m.length;S++)S!==C&&m[S].unsubscribe();m=null}v.next(M)})))},b=0;m&&!v.closed&&b<g.length;b++)u(b)}}l.race=function d(){for(var g=[],v=0;v<arguments.length;v++)g[v]=arguments[v];return 1===(g=f.argsOrArgArray(g)).length?a.innerFrom(g[0]):new i.Observable(h(g))},l.raceInit=h},8208:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.range=void 0;var i=o(1277),a=o(7618);l.range=function f(p,d,h){if(null==d&&(d=p,p=0),d<=0)return a.EMPTY;var g=d+p;return new i.Observable(h?function(v){var m=p;return h.schedule(function(){m<g?(v.next(m++),this.schedule()):v.complete()})}:function(v){for(var m=p;m<g&&!v.closed;)v.next(m++);v.complete()})}},6750:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.throwError=void 0;var i=o(1277),a=o(3690);l.throwError=function f(p,d){var h=a.isFunction(p)?p:function(){return p},g=function(v){return v.error(h())};return new i.Observable(d?function(v){return d.schedule(g,0,v)}:g)}},6025:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.timer=void 0;var i=o(1277),a=o(2361),f=o(2226),p=o(6581);l.timer=function d(h,g,v){void 0===h&&(h=0),void 0===v&&(v=a.async);var m=-1;return null!=g&&(f.isScheduler(g)?v=g:m=g),new i.Observable(function(u){var b=p.isValidDate(h)?+h-v.now():h;b<0&&(b=0);var C=0;return v.schedule(function(){u.closed||(u.next(C++),0<=m?this.schedule(void 0,m):u.complete())},b)})}},875:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.using=void 0;var i=o(1277),a=o(1669),f=o(7618);l.using=function p(d,h){return new i.Observable(function(g){var v=d(),m=h(v);return(m?a.innerFrom(m):f.EMPTY).subscribe(g),function(){v&&v.unsubscribe()}})}},5525:function(Z,l,o){"use strict";var i=this&&this.__read||function(u,b){var C="function"==typeof Symbol&&u[Symbol.iterator];if(!C)return u;var S,j,M=C.call(u),H=[];try{for(;(void 0===b||b-- >0)&&!(S=M.next()).done;)H.push(S.value)}catch(N){j={error:N}}finally{try{S&&!S.done&&(C=M.return)&&C.call(M)}finally{if(j)throw j.error}}return H},a=this&&this.__spreadArray||function(u,b){for(var C=0,M=b.length,S=u.length;C<M;C++,S++)u[S]=b[C];return u};Object.defineProperty(l,"__esModule",{value:!0}),l.zip=void 0;var f=o(1277),p=o(1669),d=o(717),h=o(7618),g=o(4191),v=o(9703);l.zip=function m(){for(var u=[],b=0;b<arguments.length;b++)u[b]=arguments[b];var C=v.popResultSelector(u),M=d.argsOrArgArray(u);return M.length?new f.Observable(function(S){var H=M.map(function(){return[]}),j=M.map(function(){return!1});S.add(function(){H=j=null});for(var N=function(z){p.innerFrom(M[z]).subscribe(g.createOperatorSubscriber(S,function(oe){if(H[z].push(oe),H.every(function(K){return K.length})){var X=H.map(function(K){return K.shift()});S.next(C?C.apply(void 0,a([],i(X))):X),H.some(function(K,me){return!K.length&&j[me]})&&S.complete()}},function(){j[z]=!0,!H[z].length&&S.complete()}))},fe=0;!S.closed&&fe<M.length;fe++)N(fe);return function(){H=j=null}}):h.EMPTY}},4191:function(Z,l,o){"use strict";var d,i=this&&this.__extends||(d=function(h,g){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,m){v.__proto__=m}||function(v,m){for(var u in m)Object.prototype.hasOwnProperty.call(m,u)&&(v[u]=m[u])})(h,g)},function(h,g){if("function"!=typeof g&&null!==g)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");function v(){this.constructor=h}d(h,g),h.prototype=null===g?Object.create(g):(v.prototype=g.prototype,new v)});Object.defineProperty(l,"__esModule",{value:!0}),l.OperatorSubscriber=l.createOperatorSubscriber=void 0;var a=o(628);l.createOperatorSubscriber=function f(d,h,g,v,m){return new p(d,h,g,v,m)};var p=function(d){function h(g,v,m,u,b,C){var M=d.call(this,g)||this;return M.onFinalize=b,M.shouldUnsubscribe=C,M._next=v?function(S){try{v(S)}catch(H){g.error(H)}}:d.prototype._next,M._error=u?function(S){try{u(S)}catch(H){g.error(H)}finally{this.unsubscribe()}}:d.prototype._error,M._complete=m?function(){try{m()}catch(S){g.error(S)}finally{this.unsubscribe()}}:d.prototype._complete,M}return i(h,d),h.prototype.unsubscribe=function(){var g;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var v=this.closed;d.prototype.unsubscribe.call(this),!v&&(null===(g=this.onFinalize)||void 0===g||g.call(this))}},h}(a.Subscriber);l.OperatorSubscriber=p},6939:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.audit=void 0;var i=o(1275),a=o(1669),f=o(4191);l.audit=function p(d){return i.operate(function(h,g){var v=!1,m=null,u=null,b=!1,C=function(){if(u?.unsubscribe(),u=null,v){v=!1;var S=m;m=null,g.next(S)}b&&g.complete()},M=function(){u=null,b&&g.complete()};h.subscribe(f.createOperatorSubscriber(g,function(S){v=!0,m=S,u||a.innerFrom(d(S)).subscribe(u=f.createOperatorSubscriber(g,C,M))},function(){b=!0,(!v||!u||u.closed)&&g.complete()}))})}},995:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.auditTime=void 0;var i=o(2361),a=o(6939),f=o(6025);l.auditTime=function p(d,h){return void 0===h&&(h=i.asyncScheduler),a.audit(function(){return f.timer(d,h)})}},5849:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.buffer=void 0;var i=o(1275),a=o(1752),f=o(4191),p=o(1669);l.buffer=function d(h){return i.operate(function(g,v){var m=[];return g.subscribe(f.createOperatorSubscriber(v,function(u){return m.push(u)},function(){v.next(m),v.complete()})),p.innerFrom(h).subscribe(f.createOperatorSubscriber(v,function(){var u=m;m=[],v.next(u)},a.noop)),function(){m=null}})}},2485:function(Z,l,o){"use strict";var i=this&&this.__values||function(h){var g="function"==typeof Symbol&&Symbol.iterator,v=g&&h[g],m=0;if(v)return v.call(h);if(h&&"number"==typeof h.length)return{next:function(){return h&&m>=h.length&&(h=void 0),{value:h&&h[m++],done:!h}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0}),l.bufferCount=void 0;var a=o(1275),f=o(4191),p=o(5727);l.bufferCount=function d(h,g){return void 0===g&&(g=null),g=g??h,a.operate(function(v,m){var u=[],b=0;v.subscribe(f.createOperatorSubscriber(m,function(C){var M,S,H,j,N=null;b++%g==0&&u.push([]);try{for(var fe=i(u),z=fe.next();!z.done;z=fe.next())(oe=z.value).push(C),h<=oe.length&&(N=N??[]).push(oe)}catch(me){M={error:me}}finally{try{z&&!z.done&&(S=fe.return)&&S.call(fe)}finally{if(M)throw M.error}}if(N)try{for(var X=i(N),K=X.next();!K.done;K=X.next()){var oe;p.arrRemove(u,oe=K.value),m.next(oe)}}catch(me){H={error:me}}finally{try{K&&!K.done&&(j=X.return)&&j.call(X)}finally{if(H)throw H.error}}},function(){var C,M;try{for(var S=i(u),H=S.next();!H.done;H=S.next())m.next(H.value)}catch(N){C={error:N}}finally{try{H&&!H.done&&(M=S.return)&&M.call(S)}finally{if(C)throw C.error}}m.complete()},void 0,function(){u=null}))})}},2697:function(Z,l,o){"use strict";var i=this&&this.__values||function(u){var b="function"==typeof Symbol&&Symbol.iterator,C=b&&u[b],M=0;if(C)return C.call(u);if(u&&"number"==typeof u.length)return{next:function(){return u&&M>=u.length&&(u=void 0),{value:u&&u[M++],done:!u}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0}),l.bufferTime=void 0;var a=o(3895),f=o(1275),p=o(4191),d=o(5727),h=o(2361),g=o(9703),v=o(2968);l.bufferTime=function m(u){for(var b,C,M=[],S=1;S<arguments.length;S++)M[S-1]=arguments[S];var H=null!==(b=g.popScheduler(M))&&void 0!==b?b:h.asyncScheduler,j=null!==(C=M[0])&&void 0!==C?C:null,N=M[1]||1/0;return f.operate(function(fe,z){var oe=[],X=!1,K=function(te){var pe=te.buffer;te.subs.unsubscribe(),d.arrRemove(oe,te),z.next(pe),X&&me()},me=function(){if(oe){var te=new a.Subscription;z.add(te);var it={buffer:[],subs:te};oe.push(it),v.executeSchedule(te,H,function(){return K(it)},u)}};null!==j&&j>=0?v.executeSchedule(z,H,me,j,!0):X=!0,me();var ae=p.createOperatorSubscriber(z,function(te){var pe,it,be=oe.slice();try{for(var We=i(be),ce=We.next();!ce.done;ce=We.next()){var Ae=ce.value,Ye=Ae.buffer;Ye.push(te),N<=Ye.length&&K(Ae)}}catch(Qe){pe={error:Qe}}finally{try{ce&&!ce.done&&(it=We.return)&&it.call(We)}finally{if(pe)throw pe.error}}},function(){for(;oe?.length;)z.next(oe.shift().buffer);ae?.unsubscribe(),z.complete(),z.unsubscribe()},void 0,function(){return oe=null});fe.subscribe(ae)})}},9075:function(Z,l,o){"use strict";var i=this&&this.__values||function(m){var u="function"==typeof Symbol&&Symbol.iterator,b=u&&m[u],C=0;if(b)return b.call(m);if(m&&"number"==typeof m.length)return{next:function(){return m&&C>=m.length&&(m=void 0),{value:m&&m[C++],done:!m}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0}),l.bufferToggle=void 0;var a=o(3895),f=o(1275),p=o(1669),d=o(4191),h=o(1752),g=o(5727);l.bufferToggle=function v(m,u){return f.operate(function(b,C){var M=[];p.innerFrom(m).subscribe(d.createOperatorSubscriber(C,function(S){var H=[];M.push(H);var j=new a.Subscription;j.add(p.innerFrom(u(S)).subscribe(d.createOperatorSubscriber(C,function(){g.arrRemove(M,H),C.next(H),j.unsubscribe()},h.noop)))},h.noop)),b.subscribe(d.createOperatorSubscriber(C,function(S){var H,j;try{for(var N=i(M),fe=N.next();!fe.done;fe=N.next())fe.value.push(S)}catch(oe){H={error:oe}}finally{try{fe&&!fe.done&&(j=N.return)&&j.call(N)}finally{if(H)throw H.error}}},function(){for(;M.length>0;)C.next(M.shift());C.complete()}))})}},4301:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.bufferWhen=void 0;var i=o(1275),a=o(1752),f=o(4191),p=o(1669);l.bufferWhen=function d(h){return i.operate(function(g,v){var m=null,u=null,b=function(){u?.unsubscribe();var C=m;m=[],C&&v.next(C),p.innerFrom(h()).subscribe(u=f.createOperatorSubscriber(v,b,a.noop))};b(),g.subscribe(f.createOperatorSubscriber(v,function(C){return m?.push(C)},function(){m&&v.next(m),v.complete()},void 0,function(){return m=u=null}))})}},6883:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.catchError=void 0;var i=o(1669),a=o(4191),f=o(1275);l.catchError=function p(d){return f.operate(function(h,g){var u,v=null,m=!1;v=h.subscribe(a.createOperatorSubscriber(g,void 0,void 0,function(b){u=i.innerFrom(d(b,p(d)(h))),v?(v.unsubscribe(),v=null,u.subscribe(g)):m=!0})),m&&(v.unsubscribe(),v=null,u.subscribe(g))})}},4222:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.combineAll=void 0;var i=o(1735);l.combineAll=i.combineLatestAll},1203:function(Z,l,o){"use strict";var i=this&&this.__read||function(u,b){var C="function"==typeof Symbol&&u[Symbol.iterator];if(!C)return u;var S,j,M=C.call(u),H=[];try{for(;(void 0===b||b-- >0)&&!(S=M.next()).done;)H.push(S.value)}catch(N){j={error:N}}finally{try{S&&!S.done&&(C=M.return)&&C.call(M)}finally{if(j)throw j.error}}return H},a=this&&this.__spreadArray||function(u,b){for(var C=0,M=b.length,S=u.length;C<M;C++,S++)u[S]=b[C];return u};Object.defineProperty(l,"__esModule",{value:!0}),l.combineLatest=void 0;var f=o(8295),p=o(1275),d=o(717),h=o(8631),g=o(3985),v=o(9703);l.combineLatest=function m(){for(var u=[],b=0;b<arguments.length;b++)u[b]=arguments[b];var C=v.popResultSelector(u);return C?g.pipe(m.apply(void 0,a([],i(u))),h.mapOneOrManyArgs(C)):p.operate(function(M,S){f.combineLatestInit(a([M],i(d.argsOrArgArray(u))))(S)})}},1735:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.combineLatestAll=void 0;var i=o(8295),a=o(7324);l.combineLatestAll=function f(p){return a.joinAllInternals(i.combineLatest,p)}},1033:function(Z,l,o){"use strict";var i=this&&this.__read||function(d,h){var g="function"==typeof Symbol&&d[Symbol.iterator];if(!g)return d;var m,b,v=g.call(d),u=[];try{for(;(void 0===h||h-- >0)&&!(m=v.next()).done;)u.push(m.value)}catch(C){b={error:C}}finally{try{m&&!m.done&&(g=v.return)&&g.call(v)}finally{if(b)throw b.error}}return u},a=this&&this.__spreadArray||function(d,h){for(var g=0,v=h.length,m=d.length;g<v;g++,m++)d[m]=h[g];return d};Object.defineProperty(l,"__esModule",{value:!0}),l.combineLatestWith=void 0;var f=o(1203);l.combineLatestWith=function p(){for(var d=[],h=0;h<arguments.length;h++)d[h]=arguments[h];return f.combineLatest.apply(void 0,a([],i(d)))}},1726:function(Z,l,o){"use strict";var i=this&&this.__read||function(v,m){var u="function"==typeof Symbol&&v[Symbol.iterator];if(!u)return v;var C,S,b=u.call(v),M=[];try{for(;(void 0===m||m-- >0)&&!(C=b.next()).done;)M.push(C.value)}catch(H){S={error:H}}finally{try{C&&!C.done&&(u=b.return)&&u.call(b)}finally{if(S)throw S.error}}return M},a=this&&this.__spreadArray||function(v,m){for(var u=0,b=m.length,C=v.length;u<b;u++,C++)v[C]=m[u];return v};Object.defineProperty(l,"__esModule",{value:!0}),l.concat=void 0;var f=o(1275),p=o(7068),d=o(9703),h=o(5651);l.concat=function g(){for(var v=[],m=0;m<arguments.length;m++)v[m]=arguments[m];var u=d.popScheduler(v);return f.operate(function(b,C){p.concatAll()(h.from(a([b],i(v)),u)).subscribe(C)})}},7068:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.concatAll=void 0;var i=o(637);l.concatAll=function a(){return i.mergeAll(1)}},850:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.concatMap=void 0;var i=o(7517),a=o(3690);l.concatMap=function f(p,d){return a.isFunction(d)?i.mergeMap(p,d,1):i.mergeMap(p,1)}},1457:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.concatMapTo=void 0;var i=o(850),a=o(3690);l.concatMapTo=function f(p,d){return a.isFunction(d)?i.concatMap(function(){return p},d):i.concatMap(function(){return p})}},1814:function(Z,l,o){"use strict";var i=this&&this.__read||function(d,h){var g="function"==typeof Symbol&&d[Symbol.iterator];if(!g)return d;var m,b,v=g.call(d),u=[];try{for(;(void 0===h||h-- >0)&&!(m=v.next()).done;)u.push(m.value)}catch(C){b={error:C}}finally{try{m&&!m.done&&(g=v.return)&&g.call(v)}finally{if(b)throw b.error}}return u},a=this&&this.__spreadArray||function(d,h){for(var g=0,v=h.length,m=d.length;g<v;g++,m++)d[m]=h[g];return d};Object.defineProperty(l,"__esModule",{value:!0}),l.concatWith=void 0;var f=o(1726);l.concatWith=function p(){for(var d=[],h=0;h<arguments.length;h++)d[h]=arguments[h];return f.concat.apply(void 0,a([],i(d)))}},1643:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.connect=void 0;var i=o(7941),a=o(1669),f=o(1275),p=o(8244),d={connector:function(){return new i.Subject}};l.connect=function h(g,v){void 0===v&&(v=d);var m=v.connector;return f.operate(function(u,b){var C=m();a.innerFrom(g(p.fromSubscribable(C))).subscribe(b),b.add(u.subscribe(C))})}},1137:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.count=void 0;var i=o(4512);l.count=function a(f){return i.reduce(function(p,d,h){return!f||f(d,h)?p+1:p},0)}},98:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.debounce=void 0;var i=o(1275),a=o(1752),f=o(4191),p=o(1669);l.debounce=function d(h){return i.operate(function(g,v){var m=!1,u=null,b=null,C=function(){if(b?.unsubscribe(),b=null,m){m=!1;var M=u;u=null,v.next(M)}};g.subscribe(f.createOperatorSubscriber(v,function(M){b?.unsubscribe(),m=!0,u=M,b=f.createOperatorSubscriber(v,C,a.noop),p.innerFrom(h(M)).subscribe(b)},function(){C(),v.complete()},void 0,function(){u=b=null}))})}},701:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.debounceTime=void 0;var i=o(2361),a=o(1275),f=o(4191);l.debounceTime=function p(d,h){return void 0===h&&(h=i.asyncScheduler),a.operate(function(g,v){var m=null,u=null,b=null,C=function(){if(m){m.unsubscribe(),m=null;var S=u;u=null,v.next(S)}};function M(){var S=b+d,H=h.now();if(H<S)return m=this.schedule(void 0,S-H),void v.add(m);C()}g.subscribe(f.createOperatorSubscriber(v,function(S){u=S,b=h.now(),m||(m=h.schedule(M,d),v.add(m))},function(){C(),v.complete()},void 0,function(){u=m=null}))})}},9003:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.defaultIfEmpty=void 0;var i=o(1275),a=o(4191);l.defaultIfEmpty=function f(p){return i.operate(function(d,h){var g=!1;d.subscribe(a.createOperatorSubscriber(h,function(v){g=!0,h.next(v)},function(){g||h.next(p),h.complete()}))})}},9503:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.delay=void 0;var i=o(2361),a=o(5922),f=o(6025);l.delay=function p(d,h){void 0===h&&(h=i.asyncScheduler);var g=f.timer(d,h);return a.delayWhen(function(){return g})}},5922:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.delayWhen=void 0;var i=o(2354),a=o(964),f=o(1130),p=o(1513),d=o(7517),h=o(1669);l.delayWhen=function g(v,m){return m?function(u){return i.concat(m.pipe(a.take(1),f.ignoreElements()),u.pipe(g(v)))}:d.mergeMap(function(u,b){return h.innerFrom(v(u,b)).pipe(a.take(1),p.mapTo(u))})}},4494:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.dematerialize=void 0;var i=o(4910),a=o(1275),f=o(4191);l.dematerialize=function p(){return a.operate(function(d,h){d.subscribe(f.createOperatorSubscriber(h,function(g){return i.observeNotification(g,h)}))})}},8243:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.distinct=void 0;var i=o(1275),a=o(4191),f=o(1752),p=o(1669);l.distinct=function d(h,g){return i.operate(function(v,m){var u=new Set;v.subscribe(a.createOperatorSubscriber(m,function(b){var C=h?h(b):b;u.has(C)||(u.add(C),m.next(b))})),g&&p.innerFrom(g).subscribe(a.createOperatorSubscriber(m,function(){return u.clear()},f.noop))})}},4999:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.distinctUntilChanged=void 0;var i=o(1776),a=o(1275),f=o(4191);function d(h,g){return h===g}l.distinctUntilChanged=function p(h,g){return void 0===g&&(g=i.identity),h=h??d,a.operate(function(v,m){var u,b=!0;v.subscribe(f.createOperatorSubscriber(m,function(C){var M=g(C);(b||!h(u,M))&&(b=!1,u=M,m.next(C))}))})}},3989:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.distinctUntilKeyChanged=void 0;var i=o(4999);l.distinctUntilKeyChanged=function a(f,p){return i.distinctUntilChanged(function(d,h){return p?p(d[f],h[f]):d[f]===h[f]})}},4466:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.elementAt=void 0;var i=o(9136),a=o(607),f=o(9611),p=o(9003),d=o(964);l.elementAt=function h(g,v){if(g<0)throw new i.ArgumentOutOfRangeError;var m=arguments.length>=2;return function(u){return u.pipe(a.filter(function(b,C){return C===g}),d.take(1),m?p.defaultIfEmpty(v):f.throwIfEmpty(function(){return new i.ArgumentOutOfRangeError}))}}},271:function(Z,l,o){"use strict";var i=this&&this.__read||function(h,g){var v="function"==typeof Symbol&&h[Symbol.iterator];if(!v)return h;var u,C,m=v.call(h),b=[];try{for(;(void 0===g||g-- >0)&&!(u=m.next()).done;)b.push(u.value)}catch(M){C={error:M}}finally{try{u&&!u.done&&(v=m.return)&&v.call(m)}finally{if(C)throw C.error}}return b},a=this&&this.__spreadArray||function(h,g){for(var v=0,m=g.length,u=h.length;v<m;v++,u++)h[u]=g[v];return h};Object.defineProperty(l,"__esModule",{value:!0}),l.endWith=void 0;var f=o(2354),p=o(2941);l.endWith=function d(){for(var h=[],g=0;g<arguments.length;g++)h[g]=arguments[g];return function(v){return f.concat(v,p.of.apply(void 0,a([],i(h))))}}},9109:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.every=void 0;var i=o(1275),a=o(4191);l.every=function f(p,d){return i.operate(function(h,g){var v=0;h.subscribe(a.createOperatorSubscriber(g,function(m){p.call(d,m,v++,h)||(g.next(!1),g.complete())},function(){g.next(!0),g.complete()}))})}},2621:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.exhaust=void 0;var i=o(1382);l.exhaust=i.exhaustAll},1382:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.exhaustAll=void 0;var i=o(8194),a=o(1776);l.exhaustAll=function f(){return i.exhaustMap(a.identity)}},8194:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.exhaustMap=void 0;var i=o(7783),a=o(1669),f=o(1275),p=o(4191);l.exhaustMap=function d(h,g){return g?function(v){return v.pipe(d(function(m,u){return a.innerFrom(h(m,u)).pipe(i.map(function(b,C){return g(m,b,u,C)}))}))}:f.operate(function(v,m){var u=0,b=null,C=!1;v.subscribe(p.createOperatorSubscriber(m,function(M){b||(b=p.createOperatorSubscriber(m,void 0,function(){b=null,C&&m.complete()}),a.innerFrom(h(M,u++)).subscribe(b))},function(){C=!0,!b&&m.complete()}))})}},521:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.expand=void 0;var i=o(1275),a=o(8572);l.expand=function f(p,d,h){return void 0===d&&(d=1/0),d=(d||0)<1?1/0:d,i.operate(function(g,v){return a.mergeInternals(g,v,p,d,void 0,!0,h)})}},607:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.filter=void 0;var i=o(1275),a=o(4191);l.filter=function f(p,d){return i.operate(function(h,g){var v=0;h.subscribe(a.createOperatorSubscriber(g,function(m){return p.call(d,m,v++)&&g.next(m)}))})}},1943:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.finalize=void 0;var i=o(1275);l.finalize=function a(f){return i.operate(function(p,d){try{p.subscribe(d)}finally{d.add(f)}})}},183:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.createFind=l.find=void 0;var i=o(1275),a=o(4191);function p(d,h,g){var v="index"===g;return function(m,u){var b=0;m.subscribe(a.createOperatorSubscriber(u,function(C){var M=b++;d.call(h,C,M,m)&&(u.next(v?M:C),u.complete())},function(){u.next(v?-1:void 0),u.complete()}))}}l.find=function f(d,h){return i.operate(p(d,h,"value"))},l.createFind=p},2905:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.findIndex=void 0;var i=o(1275),a=o(183);l.findIndex=function f(p,d){return i.operate(a.createFind(p,d,"index"))}},5342:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.first=void 0;var i=o(3595),a=o(607),f=o(964),p=o(9003),d=o(9611),h=o(1776);l.first=function g(v,m){var u=arguments.length>=2;return function(b){return b.pipe(v?a.filter(function(C,M){return v(C,M,b)}):h.identity,f.take(1),u?p.defaultIfEmpty(m):d.throwIfEmpty(function(){return new i.EmptyError}))}}},1172:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.flatMap=void 0;var i=o(7517);l.flatMap=i.mergeMap},5784:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.groupBy=void 0;var i=o(1277),a=o(1669),f=o(7941),p=o(1275),d=o(4191);l.groupBy=function h(g,v,m,u){return p.operate(function(b,C){var M;v&&"function"!=typeof v?(m=v.duration,M=v.element,u=v.connector):M=v;var S=new Map,H=function(X){S.forEach(X),X(C)},j=function(X){return H(function(K){return K.error(X)})},N=0,fe=!1,z=new d.OperatorSubscriber(C,function(X){try{var K=g(X),me=S.get(K);if(!me){S.set(K,me=u?u():new f.Subject);var ae=function oe(X,K){var me=new i.Observable(function(ae){N++;var te=K.subscribe(ae);return function(){te.unsubscribe(),0==--N&&fe&&z.unsubscribe()}});return me.key=X,me}(K,me);if(C.next(ae),m){var te=d.createOperatorSubscriber(me,function(){me.complete(),te?.unsubscribe()},void 0,void 0,function(){return S.delete(K)});z.add(a.innerFrom(m(ae)).subscribe(te))}}me.next(M?M(X):X)}catch(pe){j(pe)}},function(){return H(function(X){return X.complete()})},j,function(){return S.clear()},function(){return fe=!0,0===N});b.subscribe(z)})}},1130:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.ignoreElements=void 0;var i=o(1275),a=o(4191),f=o(1752);l.ignoreElements=function p(){return i.operate(function(d,h){d.subscribe(a.createOperatorSubscriber(h,f.noop))})}},4909:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isEmpty=void 0;var i=o(1275),a=o(4191);l.isEmpty=function f(){return i.operate(function(p,d){p.subscribe(a.createOperatorSubscriber(d,function(){d.next(!1),d.complete()},function(){d.next(!0),d.complete()}))})}},7324:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.joinAllInternals=void 0;var i=o(1776),a=o(8631),f=o(3985),p=o(7517),d=o(2763);l.joinAllInternals=function h(g,v){return f.pipe(d.toArray(),p.mergeMap(function(m){return g(m)}),v?a.mapOneOrManyArgs(v):i.identity)}},9207:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.last=void 0;var i=o(3595),a=o(607),f=o(9058),p=o(9611),d=o(9003),h=o(1776);l.last=function g(v,m){var u=arguments.length>=2;return function(b){return b.pipe(v?a.filter(function(C,M){return v(C,M,b)}):h.identity,f.takeLast(1),u?d.defaultIfEmpty(m):p.throwIfEmpty(function(){return new i.EmptyError}))}}},7783:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.map=void 0;var i=o(1275),a=o(4191);l.map=function f(p,d){return i.operate(function(h,g){var v=0;h.subscribe(a.createOperatorSubscriber(g,function(m){g.next(p.call(d,m,v++))}))})}},1513:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.mapTo=void 0;var i=o(7783);l.mapTo=function a(f){return i.map(function(){return f})}},8599:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.materialize=void 0;var i=o(4910),a=o(1275),f=o(4191);l.materialize=function p(){return a.operate(function(d,h){d.subscribe(f.createOperatorSubscriber(h,function(g){h.next(i.Notification.createNext(g))},function(){h.next(i.Notification.createComplete()),h.complete()},function(g){h.next(i.Notification.createError(g)),h.complete()}))})}},2764:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.max=void 0;var i=o(4512),a=o(3690);l.max=function f(p){return i.reduce(a.isFunction(p)?function(d,h){return p(d,h)>0?d:h}:function(d,h){return d>h?d:h})}},3719:function(Z,l,o){"use strict";var i=this&&this.__read||function(m,u){var b="function"==typeof Symbol&&m[Symbol.iterator];if(!b)return m;var M,H,C=b.call(m),S=[];try{for(;(void 0===u||u-- >0)&&!(M=C.next()).done;)S.push(M.value)}catch(j){H={error:j}}finally{try{M&&!M.done&&(b=C.return)&&b.call(C)}finally{if(H)throw H.error}}return S},a=this&&this.__spreadArray||function(m,u){for(var b=0,C=u.length,M=m.length;b<C;b++,M++)m[M]=u[b];return m};Object.defineProperty(l,"__esModule",{value:!0}),l.merge=void 0;var f=o(1275),p=o(717),d=o(637),h=o(9703),g=o(5651);l.merge=function v(){for(var m=[],u=0;u<arguments.length;u++)m[u]=arguments[u];var b=h.popScheduler(m),C=h.popNumber(m,1/0);return m=p.argsOrArgArray(m),f.operate(function(M,S){d.mergeAll(C)(g.from(a([M],i(m)),b)).subscribe(S)})}},637:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.mergeAll=void 0;var i=o(7517),a=o(1776);l.mergeAll=function f(p){return void 0===p&&(p=1/0),i.mergeMap(a.identity,p)}},8572:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.mergeInternals=void 0;var i=o(1669),a=o(2968),f=o(4191);l.mergeInternals=function p(d,h,g,v,m,u,b,C){var M=[],S=0,H=0,j=!1,N=function(){j&&!M.length&&!S&&h.complete()},fe=function(oe){return S<v?z(oe):M.push(oe)},z=function(oe){u&&h.next(oe),S++;var X=!1;i.innerFrom(g(oe,H++)).subscribe(f.createOperatorSubscriber(h,function(K){m?.(K),u?fe(K):h.next(K)},function(){X=!0},void 0,function(){if(X)try{S--;for(var K=function(){var me=M.shift();b?a.executeSchedule(h,b,function(){return z(me)}):z(me)};M.length&&S<v;)K();N()}catch(me){h.error(me)}}))};return d.subscribe(f.createOperatorSubscriber(h,fe,function(){j=!0,N()})),function(){C?.()}}},7517:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.mergeMap=void 0;var i=o(7783),a=o(1669),f=o(1275),p=o(8572),d=o(3690);l.mergeMap=function h(g,v,m){return void 0===m&&(m=1/0),d.isFunction(v)?h(function(u,b){return i.map(function(C,M){return v(u,C,b,M)})(a.innerFrom(g(u,b)))},m):("number"==typeof v&&(m=v),f.operate(function(u,b){return p.mergeInternals(u,b,g,m)}))}},9571:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.mergeMapTo=void 0;var i=o(7517),a=o(3690);l.mergeMapTo=function f(p,d,h){return void 0===h&&(h=1/0),a.isFunction(d)?i.mergeMap(function(){return p},d,h):("number"==typeof d&&(h=d),i.mergeMap(function(){return p},h))}},9382:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.mergeScan=void 0;var i=o(1275),a=o(8572);l.mergeScan=function f(p,d,h){return void 0===h&&(h=1/0),i.operate(function(g,v){var m=d;return a.mergeInternals(g,v,function(u,b){return p(m,u,b)},h,function(u){m=u},!1,void 0,function(){return m=null})})}},4949:function(Z,l,o){"use strict";var i=this&&this.__read||function(d,h){var g="function"==typeof Symbol&&d[Symbol.iterator];if(!g)return d;var m,b,v=g.call(d),u=[];try{for(;(void 0===h||h-- >0)&&!(m=v.next()).done;)u.push(m.value)}catch(C){b={error:C}}finally{try{m&&!m.done&&(g=v.return)&&g.call(v)}finally{if(b)throw b.error}}return u},a=this&&this.__spreadArray||function(d,h){for(var g=0,v=h.length,m=d.length;g<v;g++,m++)d[m]=h[g];return d};Object.defineProperty(l,"__esModule",{value:!0}),l.mergeWith=void 0;var f=o(3719);l.mergeWith=function p(){for(var d=[],h=0;h<arguments.length;h++)d[h]=arguments[h];return f.merge.apply(void 0,a([],i(d)))}},1435:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.min=void 0;var i=o(4512),a=o(3690);l.min=function f(p){return i.reduce(a.isFunction(p)?function(d,h){return p(d,h)<0?d:h}:function(d,h){return d<h?d:h})}},9853:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.multicast=void 0;var i=o(2172),a=o(3690),f=o(1643);l.multicast=function p(d,h){var g=a.isFunction(d)?d:function(){return d};return a.isFunction(h)?f.connect(h,{connector:g}):function(v){return new i.ConnectableObservable(v,g)}}},7868:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.observeOn=void 0;var i=o(2968),a=o(1275),f=o(4191);l.observeOn=function p(d,h){return void 0===h&&(h=0),a.operate(function(g,v){g.subscribe(f.createOperatorSubscriber(v,function(m){return i.executeSchedule(v,d,function(){return v.next(m)},h)},function(){return i.executeSchedule(v,d,function(){return v.complete()},h)},function(m){return i.executeSchedule(v,d,function(){return v.error(m)},h)}))})}},2606:function(Z,l,o){"use strict";var i=this&&this.__read||function(h,g){var v="function"==typeof Symbol&&h[Symbol.iterator];if(!v)return h;var u,C,m=v.call(h),b=[];try{for(;(void 0===g||g-- >0)&&!(u=m.next()).done;)b.push(u.value)}catch(M){C={error:M}}finally{try{u&&!u.done&&(v=m.return)&&v.call(m)}finally{if(C)throw C.error}}return b},a=this&&this.__spreadArray||function(h,g){for(var v=0,m=g.length,u=h.length;v<m;v++,u++)h[u]=g[v];return h};Object.defineProperty(l,"__esModule",{value:!0}),l.onErrorResumeNext=l.onErrorResumeNextWith=void 0;var f=o(717),p=o(6038);function d(){for(var h=[],g=0;g<arguments.length;g++)h[g]=arguments[g];var v=f.argsOrArgArray(h);return function(m){return p.onErrorResumeNext.apply(void 0,a([m],i(v)))}}l.onErrorResumeNextWith=d,l.onErrorResumeNext=d},2692:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.pairwise=void 0;var i=o(1275),a=o(4191);l.pairwise=function f(){return i.operate(function(p,d){var h,g=!1;p.subscribe(a.createOperatorSubscriber(d,function(v){var m=h;h=v,g&&d.next([m,v]),g=!0}))})}},8428:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.pluck=void 0;var i=o(7783);l.pluck=function a(){for(var f=[],p=0;p<arguments.length;p++)f[p]=arguments[p];var d=f.length;if(0===d)throw new Error("list of properties cannot be empty.");return i.map(function(h){for(var g=h,v=0;v<d;v++){var m=g?.[f[v]];if(!(typeof m<"u"))return;g=m}return g})}},8377:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.publish=void 0;var i=o(7941),a=o(9853),f=o(1643);l.publish=function p(d){return d?function(h){return f.connect(d)(h)}:function(h){return a.multicast(new i.Subject)(h)}}},7542:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.publishBehavior=void 0;var i=o(681),a=o(2172);l.publishBehavior=function f(p){return function(d){var h=new i.BehaviorSubject(p);return new a.ConnectableObservable(d,function(){return h})}}},1198:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.publishLast=void 0;var i=o(7433),a=o(2172);l.publishLast=function f(){return function(p){var d=new i.AsyncSubject;return new a.ConnectableObservable(p,function(){return d})}}},5194:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.publishReplay=void 0;var i=o(8110),a=o(9853),f=o(3690);l.publishReplay=function p(d,h,g,v){g&&!f.isFunction(g)&&(v=g);var m=f.isFunction(g)?g:void 0;return function(u){return a.multicast(new i.ReplaySubject(d,h,v),m)(u)}}},7094:function(Z,l,o){"use strict";var i=this&&this.__read||function(g,v){var m="function"==typeof Symbol&&g[Symbol.iterator];if(!m)return g;var b,M,u=m.call(g),C=[];try{for(;(void 0===v||v-- >0)&&!(b=u.next()).done;)C.push(b.value)}catch(S){M={error:S}}finally{try{b&&!b.done&&(m=u.return)&&m.call(u)}finally{if(M)throw M.error}}return C},a=this&&this.__spreadArray||function(g,v){for(var m=0,u=v.length,b=g.length;m<u;m++,b++)g[b]=v[m];return g};Object.defineProperty(l,"__esModule",{value:!0}),l.raceWith=void 0;var f=o(6657),p=o(1275),d=o(1776);l.raceWith=function h(){for(var g=[],v=0;v<arguments.length;v++)g[v]=arguments[v];return g.length?p.operate(function(m,u){f.raceInit(a([m],i(g)))(u)}):d.identity}},4512:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.reduce=void 0;var i=o(4056),a=o(1275);l.reduce=function f(p,d){return a.operate(i.scanInternals(p,d,arguments.length>=2,!1,!0))}},3889:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.refCount=void 0;var i=o(1275),a=o(4191);l.refCount=function f(){return i.operate(function(p,d){var h=null;p._refCount++;var g=a.createOperatorSubscriber(d,void 0,void 0,void 0,function(){if(!p||p._refCount<=0||0<--p._refCount)h=null;else{var v=p._connection,m=h;h=null,v&&(!m||v===m)&&v.unsubscribe(),d.unsubscribe()}});p.subscribe(g),g.closed||(h=p.connect())})}},2370:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.repeat=void 0;var i=o(7618),a=o(1275),f=o(4191),p=o(1669),d=o(6025);l.repeat=function h(g){var v,u,m=1/0;return null!=g&&("object"==typeof g?(m=void 0===(v=g.count)?1/0:v,u=g.delay):m=g),m<=0?function(){return i.EMPTY}:a.operate(function(b,C){var S,M=0,H=function(){if(S?.unsubscribe(),S=null,null!=u){var N="number"==typeof u?d.timer(u):p.innerFrom(u(M)),fe=f.createOperatorSubscriber(C,function(){fe.unsubscribe(),j()});N.subscribe(fe)}else j()},j=function(){var N=!1;S=b.subscribe(f.createOperatorSubscriber(C,void 0,function(){++M<m?S?H():N=!0:C.complete()})),N&&H()};j()})}},6697:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.repeatWhen=void 0;var i=o(1669),a=o(7941),f=o(1275),p=o(4191);l.repeatWhen=function d(h){return f.operate(function(g,v){var m,b,u=!1,C=!1,M=!1,S=function(){return M&&C&&(v.complete(),!0)},j=function(){M=!1,m=g.subscribe(p.createOperatorSubscriber(v,void 0,function(){M=!0,!S()&&(b||(b=new a.Subject,i.innerFrom(h(b)).subscribe(p.createOperatorSubscriber(v,function(){m?j():u=!0},function(){C=!0,S()}))),b).next()})),u&&(m.unsubscribe(),m=null,u=!1,j())};j()})}},7781:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.retry=void 0;var i=o(1275),a=o(4191),f=o(1776),p=o(6025),d=o(1669);l.retry=function h(g){var v;void 0===g&&(g=1/0);var m=(v=g&&"object"==typeof g?g:{count:g}).count,u=void 0===m?1/0:m,b=v.delay,C=v.resetOnSuccess,M=void 0!==C&&C;return u<=0?f.identity:i.operate(function(S,H){var N,j=0,fe=function(){var z=!1;N=S.subscribe(a.createOperatorSubscriber(H,function(oe){M&&(j=0),H.next(oe)},void 0,function(oe){if(j++<u){var X=function(){N?(N.unsubscribe(),N=null,fe()):z=!0};if(null!=b){var K="number"==typeof b?p.timer(b):d.innerFrom(b(oe,j)),me=a.createOperatorSubscriber(H,function(){me.unsubscribe(),X()},function(){H.complete()});K.subscribe(me)}else X()}else H.error(oe)})),z&&(N.unsubscribe(),N=null,fe())};fe()})}},3579:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.retryWhen=void 0;var i=o(1669),a=o(7941),f=o(1275),p=o(4191);l.retryWhen=function d(h){return f.operate(function(g,v){var m,b,u=!1,C=function(){m=g.subscribe(p.createOperatorSubscriber(v,void 0,void 0,function(M){b||(b=new a.Subject,i.innerFrom(h(b)).subscribe(p.createOperatorSubscriber(v,function(){return m?C():u=!0}))),b&&b.next(M)})),u&&(m.unsubscribe(),m=null,u=!1,C())};C()})}},5653:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.sample=void 0;var i=o(1669),a=o(1275),f=o(1752),p=o(4191);l.sample=function d(h){return a.operate(function(g,v){var m=!1,u=null;g.subscribe(p.createOperatorSubscriber(v,function(b){m=!0,u=b})),i.innerFrom(h).subscribe(p.createOperatorSubscriber(v,function(){if(m){m=!1;var b=u;u=null,v.next(b)}},f.noop))})}},9158:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.sampleTime=void 0;var i=o(2361),a=o(5653),f=o(8470);l.sampleTime=function p(d,h){return void 0===h&&(h=i.asyncScheduler),a.sample(f.interval(d,h))}},3033:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.scan=void 0;var i=o(1275),a=o(4056);l.scan=function f(p,d){return i.operate(a.scanInternals(p,d,arguments.length>=2,!0))}},4056:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.scanInternals=void 0;var i=o(4191);l.scanInternals=function a(f,p,d,h,g){return function(v,m){var u=d,b=p,C=0;v.subscribe(i.createOperatorSubscriber(m,function(M){var S=C++;b=u?f(b,M,S):(u=!0,M),h&&m.next(b)},g&&function(){u&&m.next(b),m.complete()}))}}},2898:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.sequenceEqual=void 0;var i=o(1275),a=o(4191),f=o(1669);l.sequenceEqual=function p(h,g){return void 0===g&&(g=function(v,m){return v===m}),i.operate(function(v,m){var u={buffer:[],complete:!1},b={buffer:[],complete:!1},C=function(S){m.next(S),m.complete()},M=function(S,H){var j=a.createOperatorSubscriber(m,function(N){var fe=H.buffer;0===fe.length?H.complete?C(!1):S.buffer.push(N):!g(N,fe.shift())&&C(!1)},function(){S.complete=!0,H.complete&&C(0===H.buffer.length),j?.unsubscribe()});return j};v.subscribe(M(u,b)),f.innerFrom(h).subscribe(M(b,u))})}},6410:function(Z,l,o){"use strict";var i=this&&this.__read||function(m,u){var b="function"==typeof Symbol&&m[Symbol.iterator];if(!b)return m;var M,H,C=b.call(m),S=[];try{for(;(void 0===u||u-- >0)&&!(M=C.next()).done;)S.push(M.value)}catch(j){H={error:j}}finally{try{M&&!M.done&&(b=C.return)&&b.call(C)}finally{if(H)throw H.error}}return S},a=this&&this.__spreadArray||function(m,u){for(var b=0,C=u.length,M=m.length;b<C;b++,M++)m[M]=u[b];return m};Object.defineProperty(l,"__esModule",{value:!0}),l.share=void 0;var f=o(1669),p=o(7941),d=o(628),h=o(1275);function v(m,u){for(var b=[],C=2;C<arguments.length;C++)b[C-2]=arguments[C];if(!0!==u){if(!1!==u){var M=new d.SafeSubscriber({next:function(){M.unsubscribe(),m()}});return f.innerFrom(u.apply(void 0,a([],i(b)))).subscribe(M)}}else m()}l.share=function g(m){void 0===m&&(m={});var u=m.connector,b=void 0===u?function(){return new p.Subject}:u,C=m.resetOnError,M=void 0===C||C,S=m.resetOnComplete,H=void 0===S||S,j=m.resetOnRefCountZero,N=void 0===j||j;return function(fe){var z,oe,X,K=0,me=!1,ae=!1,te=function(){oe?.unsubscribe(),oe=void 0},pe=function(){te(),z=X=void 0,me=ae=!1},it=function(){var be=z;pe(),be?.unsubscribe()};return h.operate(function(be,We){K++,!ae&&!me&&te();var ce=X=X??b();We.add(function(){0==--K&&!ae&&!me&&(oe=v(it,N))}),ce.subscribe(We),!z&&K>0&&(z=new d.SafeSubscriber({next:function(Ae){return ce.next(Ae)},error:function(Ae){ae=!0,te(),oe=v(pe,M,Ae),ce.error(Ae)},complete:function(){me=!0,te(),oe=v(pe,H),ce.complete()}}),f.innerFrom(be).subscribe(z))})(fe)}}},6909:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.shareReplay=void 0;var i=o(8110),a=o(6410);l.shareReplay=function f(p,d,h){var g,v,m,u,b=!1;return p&&"object"==typeof p?(u=void 0===(g=p.bufferSize)?1/0:g,d=void 0===(v=p.windowTime)?1/0:v,b=void 0!==(m=p.refCount)&&m,h=p.scheduler):u=p??1/0,a.share({connector:function(){return new i.ReplaySubject(u,d,h)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:b})}},1610:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.single=void 0;var i=o(3595),a=o(1138),f=o(6887),p=o(1275),d=o(4191);l.single=function h(g){return p.operate(function(v,m){var b,u=!1,C=!1,M=0;v.subscribe(d.createOperatorSubscriber(m,function(S){C=!0,(!g||g(S,M++,v))&&(u&&m.error(new a.SequenceError("Too many matching values")),u=!0,b=S)},function(){u?(m.next(b),m.complete()):m.error(C?new f.NotFoundError("No matching values"):new i.EmptyError)}))})}},6528:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.skip=void 0;var i=o(607);l.skip=function a(f){return i.filter(function(p,d){return f<=d})}},6211:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.skipLast=void 0;var i=o(1776),a=o(1275),f=o(4191);l.skipLast=function p(d){return d<=0?i.identity:a.operate(function(h,g){var v=new Array(d),m=0;return h.subscribe(f.createOperatorSubscriber(g,function(u){var b=m++;if(b<d)v[b]=u;else{var C=b%d,M=v[C];v[C]=u,g.next(M)}})),function(){v=null}})}},6987:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.skipUntil=void 0;var i=o(1275),a=o(4191),f=o(1669),p=o(1752);l.skipUntil=function d(h){return i.operate(function(g,v){var m=!1,u=a.createOperatorSubscriber(v,function(){u?.unsubscribe(),m=!0},p.noop);f.innerFrom(h).subscribe(u),g.subscribe(a.createOperatorSubscriber(v,function(b){return m&&v.next(b)}))})}},4471:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.skipWhile=void 0;var i=o(1275),a=o(4191);l.skipWhile=function f(p){return i.operate(function(d,h){var g=!1,v=0;d.subscribe(a.createOperatorSubscriber(h,function(m){return(g||(g=!p(m,v++)))&&h.next(m)}))})}},6686:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.startWith=void 0;var i=o(2354),a=o(9703),f=o(1275);l.startWith=function p(){for(var d=[],h=0;h<arguments.length;h++)d[h]=arguments[h];var g=a.popScheduler(d);return f.operate(function(v,m){(g?i.concat(d,v,g):i.concat(d,v)).subscribe(m)})}},6525:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.subscribeOn=void 0;var i=o(1275);l.subscribeOn=function a(f,p){return void 0===p&&(p=0),i.operate(function(d,h){h.add(f.schedule(function(){return d.subscribe(h)},p))})}},464:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.switchAll=void 0;var i=o(9018),a=o(1776);l.switchAll=function f(){return i.switchMap(a.identity)}},9018:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.switchMap=void 0;var i=o(1669),a=o(1275),f=o(4191);l.switchMap=function p(d,h){return a.operate(function(g,v){var m=null,u=0,b=!1,C=function(){return b&&!m&&v.complete()};g.subscribe(f.createOperatorSubscriber(v,function(M){m?.unsubscribe();var S=0,H=u++;i.innerFrom(d(M,H)).subscribe(m=f.createOperatorSubscriber(v,function(j){return v.next(h?h(M,j,H,S++):j)},function(){m=null,C()}))},function(){b=!0,C()}))})}},1062:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.switchMapTo=void 0;var i=o(9018),a=o(3690);l.switchMapTo=function f(p,d){return a.isFunction(d)?i.switchMap(function(){return p},d):i.switchMap(function(){return p})}},4198:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.switchScan=void 0;var i=o(9018),a=o(1275);l.switchScan=function f(p,d){return a.operate(function(h,g){var v=d;return i.switchMap(function(m,u){return p(v,m,u)},function(m,u){return v=u,u})(h).subscribe(g),function(){v=null}})}},964:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.take=void 0;var i=o(7618),a=o(1275),f=o(4191);l.take=function p(d){return d<=0?function(){return i.EMPTY}:a.operate(function(h,g){var v=0;h.subscribe(f.createOperatorSubscriber(g,function(m){++v<=d&&(g.next(m),d<=v&&g.complete())}))})}},9058:function(Z,l,o){"use strict";var i=this&&this.__values||function(h){var g="function"==typeof Symbol&&Symbol.iterator,v=g&&h[g],m=0;if(v)return v.call(h);if(h&&"number"==typeof h.length)return{next:function(){return h&&m>=h.length&&(h=void 0),{value:h&&h[m++],done:!h}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0}),l.takeLast=void 0;var a=o(7618),f=o(1275),p=o(4191);l.takeLast=function d(h){return h<=0?function(){return a.EMPTY}:f.operate(function(g,v){var m=[];g.subscribe(p.createOperatorSubscriber(v,function(u){m.push(u),h<m.length&&m.shift()},function(){var u,b;try{for(var C=i(m),M=C.next();!M.done;M=C.next())v.next(M.value)}catch(H){u={error:H}}finally{try{M&&!M.done&&(b=C.return)&&b.call(C)}finally{if(u)throw u.error}}v.complete()},void 0,function(){m=null}))})}},7578:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.takeUntil=void 0;var i=o(1275),a=o(4191),f=o(1669),p=o(1752);l.takeUntil=function d(h){return i.operate(function(g,v){f.innerFrom(h).subscribe(a.createOperatorSubscriber(v,function(){return v.complete()},p.noop)),!v.closed&&g.subscribe(v)})}},560:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.takeWhile=void 0;var i=o(1275),a=o(4191);l.takeWhile=function f(p,d){return void 0===d&&(d=!1),i.operate(function(h,g){var v=0;h.subscribe(a.createOperatorSubscriber(g,function(m){var u=p(m,v++);(u||d)&&g.next(m),!u&&g.complete()}))})}},7521:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.tap=void 0;var i=o(3690),a=o(1275),f=o(4191),p=o(1776);l.tap=function d(h,g,v){var m=i.isFunction(h)||g||v?{next:h,error:g,complete:v}:h;return m?a.operate(function(u,b){var C;null===(C=m.subscribe)||void 0===C||C.call(m);var M=!0;u.subscribe(f.createOperatorSubscriber(b,function(S){var H;null===(H=m.next)||void 0===H||H.call(m,S),b.next(S)},function(){var S;M=!1,null===(S=m.complete)||void 0===S||S.call(m),b.complete()},function(S){var H;M=!1,null===(H=m.error)||void 0===H||H.call(m,S),b.error(S)},function(){var S,H;M&&(null===(S=m.unsubscribe)||void 0===S||S.call(m)),null===(H=m.finalize)||void 0===H||H.call(m)}))}):p.identity}},5332:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.throttle=void 0;var i=o(1275),a=o(4191),f=o(1669);l.throttle=function p(d,h){return i.operate(function(g,v){var m=h??{},u=m.leading,b=void 0===u||u,C=m.trailing,M=void 0!==C&&C,S=!1,H=null,j=null,N=!1,fe=function(){j?.unsubscribe(),j=null,M&&(X(),N&&v.complete())},z=function(){j=null,N&&v.complete()},oe=function(K){return j=f.innerFrom(d(K)).subscribe(a.createOperatorSubscriber(v,fe,z))},X=function(){if(S){S=!1;var K=H;H=null,v.next(K),!N&&oe(K)}};g.subscribe(a.createOperatorSubscriber(v,function(K){S=!0,H=K,(!j||j.closed)&&(b?X():oe(K))},function(){N=!0,(!(M&&S&&j)||j.closed)&&v.complete()}))})}},927:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.throttleTime=void 0;var i=o(2361),a=o(5332),f=o(6025);l.throttleTime=function p(d,h,g){void 0===h&&(h=i.asyncScheduler);var v=f.timer(d,h);return a.throttle(function(){return v},g)}},9611:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.throwIfEmpty=void 0;var i=o(3595),a=o(1275),f=o(4191);function d(){return new i.EmptyError}l.throwIfEmpty=function p(h){return void 0===h&&(h=d),a.operate(function(g,v){var m=!1;g.subscribe(f.createOperatorSubscriber(v,function(u){m=!0,v.next(u)},function(){return m?v.complete():v.error(h())}))})}},1273:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.TimeInterval=l.timeInterval=void 0;var i=o(2361),a=o(1275),f=o(4191);l.timeInterval=function p(h){return void 0===h&&(h=i.asyncScheduler),a.operate(function(g,v){var m=h.now();g.subscribe(f.createOperatorSubscriber(v,function(u){var b=h.now(),C=b-m;m=b,v.next(new d(u,C))}))})};var d=function h(g,v){this.value=g,this.interval=v};l.TimeInterval=d},6161:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.timeout=l.TimeoutError=void 0;var i=o(2361),a=o(6581),f=o(1275),p=o(1669),d=o(2873),h=o(4191),g=o(2968);function m(u){throw new l.TimeoutError(u)}l.TimeoutError=d.createErrorClass(function(u){return function(C){void 0===C&&(C=null),u(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=C}}),l.timeout=function v(u,b){var C=a.isValidDate(u)?{first:u}:"number"==typeof u?{each:u}:u,M=C.first,S=C.each,H=C.with,j=void 0===H?m:H,N=C.scheduler,fe=void 0===N?b??i.asyncScheduler:N,z=C.meta,oe=void 0===z?null:z;if(null==M&&null==S)throw new TypeError("No timeout provided.");return f.operate(function(X,K){var me,ae,te=null,pe=0,it=function(be){ae=g.executeSchedule(K,fe,function(){try{me.unsubscribe(),p.innerFrom(j({meta:oe,lastValue:te,seen:pe})).subscribe(K)}catch(We){K.error(We)}},be)};me=X.subscribe(h.createOperatorSubscriber(K,function(be){ae?.unsubscribe(),pe++,K.next(te=be),S>0&&it(S)},void 0,void 0,function(){ae?.closed||ae?.unsubscribe(),te=null})),!pe&&it(null!=M?"number"==typeof M?M:+M-fe.now():S)})}},3257:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.timeoutWith=void 0;var i=o(2361),a=o(6581),f=o(6161);l.timeoutWith=function p(d,h,g){var v,m,u;if(g=g??i.async,a.isValidDate(d)?v=d:"number"==typeof d&&(m=d),!h)throw new TypeError("No observable provided to switch to");if(u=function(){return h},null==v&&null==m)throw new TypeError("No timeout provided.");return f.timeout({first:v,each:m,scheduler:g,with:u})}},6995:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.timestamp=void 0;var i=o(553),a=o(7783);l.timestamp=function f(p){return void 0===p&&(p=i.dateTimestampProvider),a.map(function(d){return{value:d,timestamp:p.now()}})}},2763:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.toArray=void 0;var i=o(4512),a=o(1275),f=function(d,h){return d.push(h),d};l.toArray=function p(){return a.operate(function(d,h){i.reduce(f,[])(d).subscribe(h)})}},616:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.window=void 0;var i=o(7941),a=o(1275),f=o(4191),p=o(1752),d=o(1669);l.window=function h(g){return a.operate(function(v,m){var u=new i.Subject;m.next(u.asObservable());var b=function(C){u.error(C),m.error(C)};return v.subscribe(f.createOperatorSubscriber(m,function(C){return u?.next(C)},function(){u.complete(),m.complete()},b)),d.innerFrom(g).subscribe(f.createOperatorSubscriber(m,function(){u.complete(),m.next(u=new i.Subject)},p.noop,b)),function(){u?.unsubscribe(),u=null}})}},4182:function(Z,l,o){"use strict";var i=this&&this.__values||function(h){var g="function"==typeof Symbol&&Symbol.iterator,v=g&&h[g],m=0;if(v)return v.call(h);if(h&&"number"==typeof h.length)return{next:function(){return h&&m>=h.length&&(h=void 0),{value:h&&h[m++],done:!h}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0}),l.windowCount=void 0;var a=o(7941),f=o(1275),p=o(4191);l.windowCount=function d(h,g){void 0===g&&(g=0);var v=g>0?g:h;return f.operate(function(m,u){var b=[new a.Subject],M=0;u.next(b[0].asObservable()),m.subscribe(p.createOperatorSubscriber(u,function(S){var H,j;try{for(var N=i(b),fe=N.next();!fe.done;fe=N.next())fe.value.next(S)}catch(K){H={error:K}}finally{try{fe&&!fe.done&&(j=N.return)&&j.call(N)}finally{if(H)throw H.error}}var oe=M-h+1;if(oe>=0&&oe%v==0&&b.shift().complete(),++M%v==0){var X=new a.Subject;b.push(X),u.next(X.asObservable())}},function(){for(;b.length>0;)b.shift().complete();u.complete()},function(S){for(;b.length>0;)b.shift().error(S);u.error(S)},function(){b=null}))})}},7948:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.windowTime=void 0;var i=o(7941),a=o(2361),f=o(3895),p=o(1275),d=o(4191),h=o(5727),g=o(9703),v=o(2968);l.windowTime=function m(u){for(var b,C,M=[],S=1;S<arguments.length;S++)M[S-1]=arguments[S];var H=null!==(b=g.popScheduler(M))&&void 0!==b?b:a.asyncScheduler,j=null!==(C=M[0])&&void 0!==C?C:null,N=M[1]||1/0;return p.operate(function(fe,z){var oe=[],X=!1,K=function(pe){var be=pe.subs;pe.window.complete(),be.unsubscribe(),h.arrRemove(oe,pe),X&&me()},me=function(){if(oe){var pe=new f.Subscription;z.add(pe);var it=new i.Subject,be={window:it,subs:pe,seen:0};oe.push(be),z.next(it.asObservable()),v.executeSchedule(pe,H,function(){return K(be)},u)}};null!==j&&j>=0?v.executeSchedule(z,H,me,j,!0):X=!0,me();var ae=function(pe){return oe.slice().forEach(pe)},te=function(pe){ae(function(it){return pe(it.window)}),pe(z),z.unsubscribe()};return fe.subscribe(d.createOperatorSubscriber(z,function(pe){ae(function(it){it.window.next(pe),N<=++it.seen&&K(it)})},function(){return te(function(pe){return pe.complete()})},function(pe){return te(function(it){return it.error(pe)})})),function(){oe=null}})}},8018:function(Z,l,o){"use strict";var i=this&&this.__values||function(u){var b="function"==typeof Symbol&&Symbol.iterator,C=b&&u[b],M=0;if(C)return C.call(u);if(u&&"number"==typeof u.length)return{next:function(){return u&&M>=u.length&&(u=void 0),{value:u&&u[M++],done:!u}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0}),l.windowToggle=void 0;var a=o(7941),f=o(3895),p=o(1275),d=o(1669),h=o(4191),g=o(1752),v=o(5727);l.windowToggle=function m(u,b){return p.operate(function(C,M){var S=[],H=function(j){for(;0<S.length;)S.shift().error(j);M.error(j)};d.innerFrom(u).subscribe(h.createOperatorSubscriber(M,function(j){var N=new a.Subject;S.push(N);var oe,fe=new f.Subscription;try{oe=d.innerFrom(b(j))}catch(X){return void H(X)}M.next(N.asObservable()),fe.add(oe.subscribe(h.createOperatorSubscriber(M,function(){v.arrRemove(S,N),N.complete(),fe.unsubscribe()},g.noop,H)))},g.noop)),C.subscribe(h.createOperatorSubscriber(M,function(j){var N,fe,z=S.slice();try{for(var oe=i(z),X=oe.next();!X.done;X=oe.next())X.value.next(j)}catch(me){N={error:me}}finally{try{X&&!X.done&&(fe=oe.return)&&fe.call(oe)}finally{if(N)throw N.error}}},function(){for(;0<S.length;)S.shift().complete();M.complete()},H,function(){for(;0<S.length;)S.shift().unsubscribe()}))})}},6218:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.windowWhen=void 0;var i=o(7941),a=o(1275),f=o(4191),p=o(1669);l.windowWhen=function d(h){return a.operate(function(g,v){var m,u,b=function(M){m.error(M),v.error(M)},C=function(){var M;u?.unsubscribe(),m?.complete(),m=new i.Subject,v.next(m.asObservable());try{M=p.innerFrom(h())}catch(S){return void b(S)}M.subscribe(u=f.createOperatorSubscriber(v,C,C,b))};C(),g.subscribe(f.createOperatorSubscriber(v,function(M){return m.next(M)},function(){m.complete(),v.complete()},b,function(){u?.unsubscribe(),m=null}))})}},8111:function(Z,l,o){"use strict";var i=this&&this.__read||function(u,b){var C="function"==typeof Symbol&&u[Symbol.iterator];if(!C)return u;var S,j,M=C.call(u),H=[];try{for(;(void 0===b||b-- >0)&&!(S=M.next()).done;)H.push(S.value)}catch(N){j={error:N}}finally{try{S&&!S.done&&(C=M.return)&&C.call(M)}finally{if(j)throw j.error}}return H},a=this&&this.__spreadArray||function(u,b){for(var C=0,M=b.length,S=u.length;C<M;C++,S++)u[S]=b[C];return u};Object.defineProperty(l,"__esModule",{value:!0}),l.withLatestFrom=void 0;var f=o(1275),p=o(4191),d=o(1669),h=o(1776),g=o(1752),v=o(9703);l.withLatestFrom=function m(){for(var u=[],b=0;b<arguments.length;b++)u[b]=arguments[b];var C=v.popResultSelector(u);return f.operate(function(M,S){for(var H=u.length,j=new Array(H),N=u.map(function(){return!1}),fe=!1,z=function(X){d.innerFrom(u[X]).subscribe(p.createOperatorSubscriber(S,function(K){j[X]=K,!fe&&!N[X]&&(N[X]=!0,(fe=N.every(h.identity))&&(N=null))},g.noop))},oe=0;oe<H;oe++)z(oe);M.subscribe(p.createOperatorSubscriber(S,function(X){if(fe){var K=a([X],i(j));S.next(C?C.apply(void 0,a([],i(K))):K)}}))})}},5852:function(Z,l,o){"use strict";var i=this&&this.__read||function(h,g){var v="function"==typeof Symbol&&h[Symbol.iterator];if(!v)return h;var u,C,m=v.call(h),b=[];try{for(;(void 0===g||g-- >0)&&!(u=m.next()).done;)b.push(u.value)}catch(M){C={error:M}}finally{try{u&&!u.done&&(v=m.return)&&v.call(m)}finally{if(C)throw C.error}}return b},a=this&&this.__spreadArray||function(h,g){for(var v=0,m=g.length,u=h.length;v<m;v++,u++)h[u]=g[v];return h};Object.defineProperty(l,"__esModule",{value:!0}),l.zip=void 0;var f=o(5525),p=o(1275);l.zip=function d(){for(var h=[],g=0;g<arguments.length;g++)h[g]=arguments[g];return p.operate(function(v,m){f.zip.apply(void 0,a([v],i(h))).subscribe(m)})}},4902:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.zipAll=void 0;var i=o(5525),a=o(7324);l.zipAll=function f(p){return a.joinAllInternals(i.zip,p)}},6423:function(Z,l,o){"use strict";var i=this&&this.__read||function(d,h){var g="function"==typeof Symbol&&d[Symbol.iterator];if(!g)return d;var m,b,v=g.call(d),u=[];try{for(;(void 0===h||h-- >0)&&!(m=v.next()).done;)u.push(m.value)}catch(C){b={error:C}}finally{try{m&&!m.done&&(g=v.return)&&g.call(v)}finally{if(b)throw b.error}}return u},a=this&&this.__spreadArray||function(d,h){for(var g=0,v=h.length,m=d.length;g<v;g++,m++)d[m]=h[g];return d};Object.defineProperty(l,"__esModule",{value:!0}),l.zipWith=void 0;var f=o(5852);l.zipWith=function p(){for(var d=[],h=0;h<arguments.length;h++)d[h]=arguments[h];return f.zip.apply(void 0,a([],i(d)))}},2187:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.scheduleArray=void 0;var i=o(1277);l.scheduleArray=function a(f,p){return new i.Observable(function(d){var h=0;return p.schedule(function(){h===f.length?d.complete():(d.next(f[h++]),d.closed||this.schedule())})})}},433:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.scheduleAsyncIterable=void 0;var i=o(1277),a=o(2968);l.scheduleAsyncIterable=function f(p,d){if(!p)throw new Error("Iterable cannot be null");return new i.Observable(function(h){a.executeSchedule(h,d,function(){var g=p[Symbol.asyncIterator]();a.executeSchedule(h,d,function(){g.next().then(function(v){v.done?h.complete():h.next(v.value)})},0,!0)})})}},6885:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.scheduleIterable=void 0;var i=o(1277),a=o(6574),f=o(3690),p=o(2968);l.scheduleIterable=function d(h,g){return new i.Observable(function(v){var m;return p.executeSchedule(v,g,function(){m=h[a.iterator](),p.executeSchedule(v,g,function(){var u,b,C;try{b=(u=m.next()).value,C=u.done}catch(M){return void v.error(M)}C?v.complete():v.next(b)},0,!0)}),function(){return f.isFunction(m?.return)&&m.return()}})}},7025:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.scheduleObservable=void 0;var i=o(1669),a=o(7868),f=o(6525);l.scheduleObservable=function p(d,h){return i.innerFrom(d).pipe(f.subscribeOn(h),a.observeOn(h))}},6479:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.schedulePromise=void 0;var i=o(1669),a=o(7868),f=o(6525);l.schedulePromise=function p(d,h){return i.innerFrom(d).pipe(f.subscribeOn(h),a.observeOn(h))}},7972:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.scheduleReadableStreamLike=void 0;var i=o(433),a=o(3954);l.scheduleReadableStreamLike=function f(p,d){return i.scheduleAsyncIterable(a.readableStreamLikeToAsyncGenerator(p),d)}},6330:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.scheduled=void 0;var i=o(7025),a=o(6479),f=o(2187),p=o(6885),d=o(433),h=o(8059),g=o(8405),v=o(5135),m=o(6243),u=o(4478),b=o(4759),C=o(3954),M=o(7972);l.scheduled=function S(H,j){if(null!=H){if(h.isInteropObservable(H))return i.scheduleObservable(H,j);if(v.isArrayLike(H))return f.scheduleArray(H,j);if(g.isPromise(H))return a.schedulePromise(H,j);if(u.isAsyncIterable(H))return d.scheduleAsyncIterable(H,j);if(m.isIterable(H))return p.scheduleIterable(H,j);if(C.isReadableStreamLike(H))return M.scheduleReadableStreamLike(H,j)}throw b.createInvalidObservableTypeError(H)}},7508:function(Z,l,o){"use strict";var p,i=this&&this.__extends||(p=function(d,h){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,v){g.__proto__=v}||function(g,v){for(var m in v)Object.prototype.hasOwnProperty.call(v,m)&&(g[m]=v[m])})(d,h)},function(d,h){if("function"!=typeof h&&null!==h)throw new TypeError("Class extends value "+String(h)+" is not a constructor or null");function g(){this.constructor=d}p(d,h),d.prototype=null===h?Object.create(h):(g.prototype=h.prototype,new g)});Object.defineProperty(l,"__esModule",{value:!0}),l.Action=void 0;var f=function(p){function d(h,g){return p.call(this)||this}return i(d,p),d.prototype.schedule=function(h,g){return void 0===g&&(g=0),this},d}(o(3895).Subscription);l.Action=f},7155:function(Z,l,o){"use strict";var d,i=this&&this.__extends||(d=function(h,g){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,m){v.__proto__=m}||function(v,m){for(var u in m)Object.prototype.hasOwnProperty.call(m,u)&&(v[u]=m[u])})(h,g)},function(h,g){if("function"!=typeof g&&null!==g)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");function v(){this.constructor=h}d(h,g),h.prototype=null===g?Object.create(g):(v.prototype=g.prototype,new v)});Object.defineProperty(l,"__esModule",{value:!0}),l.AnimationFrameAction=void 0;var a=o(9560),f=o(9564),p=function(d){function h(g,v){var m=d.call(this,g,v)||this;return m.scheduler=g,m.work=v,m}return i(h,d),h.prototype.requestAsyncId=function(g,v,m){return void 0===m&&(m=0),null!==m&&m>0?d.prototype.requestAsyncId.call(this,g,v,m):(g.actions.push(this),g._scheduled||(g._scheduled=f.animationFrameProvider.requestAnimationFrame(function(){return g.flush(void 0)})))},h.prototype.recycleAsyncId=function(g,v,m){var u;if(void 0===m&&(m=0),null!=m?m>0:this.delay>0)return d.prototype.recycleAsyncId.call(this,g,v,m);var b=g.actions;null!=v&&(null===(u=b[b.length-1])||void 0===u?void 0:u.id)!==v&&(f.animationFrameProvider.cancelAnimationFrame(v),g._scheduled=void 0)},h}(a.AsyncAction);l.AnimationFrameAction=p},9961:function(Z,l,o){"use strict";var p,i=this&&this.__extends||(p=function(d,h){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,v){g.__proto__=v}||function(g,v){for(var m in v)Object.prototype.hasOwnProperty.call(v,m)&&(g[m]=v[m])})(d,h)},function(d,h){if("function"!=typeof h&&null!==h)throw new TypeError("Class extends value "+String(h)+" is not a constructor or null");function g(){this.constructor=d}p(d,h),d.prototype=null===h?Object.create(h):(g.prototype=h.prototype,new g)});Object.defineProperty(l,"__esModule",{value:!0}),l.AnimationFrameScheduler=void 0;var f=function(p){function d(){return null!==p&&p.apply(this,arguments)||this}return i(d,p),d.prototype.flush=function(h){this._active=!0;var g=this._scheduled;this._scheduled=void 0;var m,v=this.actions;h=h||v.shift();do{if(m=h.execute(h.state,h.delay))break}while((h=v[0])&&h.id===g&&v.shift());if(this._active=!1,m){for(;(h=v[0])&&h.id===g&&v.shift();)h.unsubscribe();throw m}},d}(o(8129).AsyncScheduler);l.AnimationFrameScheduler=f},7026:function(Z,l,o){"use strict";var d,i=this&&this.__extends||(d=function(h,g){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,m){v.__proto__=m}||function(v,m){for(var u in m)Object.prototype.hasOwnProperty.call(m,u)&&(v[u]=m[u])})(h,g)},function(h,g){if("function"!=typeof g&&null!==g)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");function v(){this.constructor=h}d(h,g),h.prototype=null===g?Object.create(g):(v.prototype=g.prototype,new v)});Object.defineProperty(l,"__esModule",{value:!0}),l.AsapAction=void 0;var a=o(9560),f=o(8796),p=function(d){function h(g,v){var m=d.call(this,g,v)||this;return m.scheduler=g,m.work=v,m}return i(h,d),h.prototype.requestAsyncId=function(g,v,m){return void 0===m&&(m=0),null!==m&&m>0?d.prototype.requestAsyncId.call(this,g,v,m):(g.actions.push(this),g._scheduled||(g._scheduled=f.immediateProvider.setImmediate(g.flush.bind(g,void 0))))},h.prototype.recycleAsyncId=function(g,v,m){var u;if(void 0===m&&(m=0),null!=m?m>0:this.delay>0)return d.prototype.recycleAsyncId.call(this,g,v,m);var b=g.actions;null!=v&&(null===(u=b[b.length-1])||void 0===u?void 0:u.id)!==v&&(f.immediateProvider.clearImmediate(v),g._scheduled===v&&(g._scheduled=void 0))},h}(a.AsyncAction);l.AsapAction=p},1438:function(Z,l,o){"use strict";var p,i=this&&this.__extends||(p=function(d,h){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,v){g.__proto__=v}||function(g,v){for(var m in v)Object.prototype.hasOwnProperty.call(v,m)&&(g[m]=v[m])})(d,h)},function(d,h){if("function"!=typeof h&&null!==h)throw new TypeError("Class extends value "+String(h)+" is not a constructor or null");function g(){this.constructor=d}p(d,h),d.prototype=null===h?Object.create(h):(g.prototype=h.prototype,new g)});Object.defineProperty(l,"__esModule",{value:!0}),l.AsapScheduler=void 0;var f=function(p){function d(){return null!==p&&p.apply(this,arguments)||this}return i(d,p),d.prototype.flush=function(h){this._active=!0;var g=this._scheduled;this._scheduled=void 0;var m,v=this.actions;h=h||v.shift();do{if(m=h.execute(h.state,h.delay))break}while((h=v[0])&&h.id===g&&v.shift());if(this._active=!1,m){for(;(h=v[0])&&h.id===g&&v.shift();)h.unsubscribe();throw m}},d}(o(8129).AsyncScheduler);l.AsapScheduler=f},9560:function(Z,l,o){"use strict";var h,i=this&&this.__extends||(h=function(g,v){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,u){m.__proto__=u}||function(m,u){for(var b in u)Object.prototype.hasOwnProperty.call(u,b)&&(m[b]=u[b])})(g,v)},function(g,v){if("function"!=typeof v&&null!==v)throw new TypeError("Class extends value "+String(v)+" is not a constructor or null");function m(){this.constructor=g}h(g,v),g.prototype=null===v?Object.create(v):(m.prototype=v.prototype,new m)});Object.defineProperty(l,"__esModule",{value:!0}),l.AsyncAction=void 0;var a=o(7508),f=o(5106),p=o(5727),d=function(h){function g(v,m){var u=h.call(this,v,m)||this;return u.scheduler=v,u.work=m,u.pending=!1,u}return i(g,h),g.prototype.schedule=function(v,m){var u;if(void 0===m&&(m=0),this.closed)return this;this.state=v;var b=this.id,C=this.scheduler;return null!=b&&(this.id=this.recycleAsyncId(C,b,m)),this.pending=!0,this.delay=m,this.id=null!==(u=this.id)&&void 0!==u?u:this.requestAsyncId(C,this.id,m),this},g.prototype.requestAsyncId=function(v,m,u){return void 0===u&&(u=0),f.intervalProvider.setInterval(v.flush.bind(v,this),u)},g.prototype.recycleAsyncId=function(v,m,u){if(void 0===u&&(u=0),null!=u&&this.delay===u&&!1===this.pending)return m;null!=m&&f.intervalProvider.clearInterval(m)},g.prototype.execute=function(v,m){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var u=this._execute(v,m);if(u)return u;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},g.prototype._execute=function(v,m){var b,u=!1;try{this.work(v)}catch(C){u=!0,b=C||new Error("Scheduled action threw falsy error")}if(u)return this.unsubscribe(),b},g.prototype.unsubscribe=function(){if(!this.closed){var m=this.id,u=this.scheduler,b=u.actions;this.work=this.state=this.scheduler=null,this.pending=!1,p.arrRemove(b,this),null!=m&&(this.id=this.recycleAsyncId(u,m,null)),this.delay=null,h.prototype.unsubscribe.call(this)}},g}(a.Action);l.AsyncAction=d},8129:function(Z,l,o){"use strict";var p,i=this&&this.__extends||(p=function(d,h){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,v){g.__proto__=v}||function(g,v){for(var m in v)Object.prototype.hasOwnProperty.call(v,m)&&(g[m]=v[m])})(d,h)},function(d,h){if("function"!=typeof h&&null!==h)throw new TypeError("Class extends value "+String(h)+" is not a constructor or null");function g(){this.constructor=d}p(d,h),d.prototype=null===h?Object.create(h):(g.prototype=h.prototype,new g)});Object.defineProperty(l,"__esModule",{value:!0}),l.AsyncScheduler=void 0;var a=o(3499),f=function(p){function d(h,g){void 0===g&&(g=a.Scheduler.now);var v=p.call(this,h,g)||this;return v.actions=[],v._active=!1,v}return i(d,p),d.prototype.flush=function(h){var g=this.actions;if(this._active)g.push(h);else{var v;this._active=!0;do{if(v=h.execute(h.state,h.delay))break}while(h=g.shift());if(this._active=!1,v){for(;h=g.shift();)h.unsubscribe();throw v}}},d}(a.Scheduler);l.AsyncScheduler=f},4983:function(Z,l,o){"use strict";var p,i=this&&this.__extends||(p=function(d,h){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,v){g.__proto__=v}||function(g,v){for(var m in v)Object.prototype.hasOwnProperty.call(v,m)&&(g[m]=v[m])})(d,h)},function(d,h){if("function"!=typeof h&&null!==h)throw new TypeError("Class extends value "+String(h)+" is not a constructor or null");function g(){this.constructor=d}p(d,h),d.prototype=null===h?Object.create(h):(g.prototype=h.prototype,new g)});Object.defineProperty(l,"__esModule",{value:!0}),l.QueueAction=void 0;var f=function(p){function d(h,g){var v=p.call(this,h,g)||this;return v.scheduler=h,v.work=g,v}return i(d,p),d.prototype.schedule=function(h,g){return void 0===g&&(g=0),g>0?p.prototype.schedule.call(this,h,g):(this.delay=g,this.state=h,this.scheduler.flush(this),this)},d.prototype.execute=function(h,g){return g>0||this.closed?p.prototype.execute.call(this,h,g):this._execute(h,g)},d.prototype.requestAsyncId=function(h,g,v){return void 0===v&&(v=0),null!=v&&v>0||null==v&&this.delay>0?p.prototype.requestAsyncId.call(this,h,g,v):(h.flush(this),0)},d}(o(9560).AsyncAction);l.QueueAction=f},7001:function(Z,l,o){"use strict";var p,i=this&&this.__extends||(p=function(d,h){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,v){g.__proto__=v}||function(g,v){for(var m in v)Object.prototype.hasOwnProperty.call(v,m)&&(g[m]=v[m])})(d,h)},function(d,h){if("function"!=typeof h&&null!==h)throw new TypeError("Class extends value "+String(h)+" is not a constructor or null");function g(){this.constructor=d}p(d,h),d.prototype=null===h?Object.create(h):(g.prototype=h.prototype,new g)});Object.defineProperty(l,"__esModule",{value:!0}),l.QueueScheduler=void 0;var f=function(p){function d(){return null!==p&&p.apply(this,arguments)||this}return i(d,p),d}(o(8129).AsyncScheduler);l.QueueScheduler=f},913:function(Z,l,o){"use strict";var g,i=this&&this.__extends||(g=function(v,m){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,b){u.__proto__=b}||function(u,b){for(var C in b)Object.prototype.hasOwnProperty.call(b,C)&&(u[C]=b[C])})(v,m)},function(v,m){if("function"!=typeof m&&null!==m)throw new TypeError("Class extends value "+String(m)+" is not a constructor or null");function u(){this.constructor=v}g(v,m),v.prototype=null===m?Object.create(m):(u.prototype=m.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0}),l.VirtualAction=l.VirtualTimeScheduler=void 0;var a=o(9560),f=o(3895),d=function(g){function v(m,u){void 0===m&&(m=h),void 0===u&&(u=1/0);var b=g.call(this,m,function(){return b.frame})||this;return b.maxFrames=u,b.frame=0,b.index=-1,b}return i(v,g),v.prototype.flush=function(){for(var C,M,u=this.actions,b=this.maxFrames;(M=u[0])&&M.delay<=b&&(u.shift(),this.frame=M.delay,!(C=M.execute(M.state,M.delay))););if(C){for(;M=u.shift();)M.unsubscribe();throw C}},v.frameTimeFactor=10,v}(o(8129).AsyncScheduler);l.VirtualTimeScheduler=d;var h=function(g){function v(m,u,b){void 0===b&&(b=m.index+=1);var C=g.call(this,m,u)||this;return C.scheduler=m,C.work=u,C.index=b,C.active=!0,C.index=m.index=b,C}return i(v,g),v.prototype.schedule=function(m,u){if(void 0===u&&(u=0),Number.isFinite(u)){if(!this.id)return g.prototype.schedule.call(this,m,u);this.active=!1;var b=new v(this.scheduler,this.work);return this.add(b),b.schedule(m,u)}return f.Subscription.EMPTY},v.prototype.requestAsyncId=function(m,u,b){void 0===b&&(b=0),this.delay=m.frame+b;var C=m.actions;return C.push(this),C.sort(v.sortActions),1},v.prototype.recycleAsyncId=function(m,u,b){void 0===b&&(b=0)},v.prototype._execute=function(m,u){if(!0===this.active)return g.prototype._execute.call(this,m,u)},v.sortActions=function(m,u){return m.delay===u.delay?m.index===u.index?0:m.index>u.index?1:-1:m.delay>u.delay?1:-1},v}(a.AsyncAction);l.VirtualAction=h},5662:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.animationFrame=l.animationFrameScheduler=void 0;var i=o(7155),a=o(9961);l.animationFrameScheduler=new a.AnimationFrameScheduler(i.AnimationFrameAction),l.animationFrame=l.animationFrameScheduler},9564:function(Z,l,o){"use strict";var i=this&&this.__read||function(p,d){var h="function"==typeof Symbol&&p[Symbol.iterator];if(!h)return p;var v,u,g=h.call(p),m=[];try{for(;(void 0===d||d-- >0)&&!(v=g.next()).done;)m.push(v.value)}catch(b){u={error:b}}finally{try{v&&!v.done&&(h=g.return)&&h.call(g)}finally{if(u)throw u.error}}return m},a=this&&this.__spreadArray||function(p,d){for(var h=0,g=d.length,v=p.length;h<g;h++,v++)p[v]=d[h];return p};Object.defineProperty(l,"__esModule",{value:!0}),l.animationFrameProvider=void 0;var f=o(3895);l.animationFrameProvider={schedule:function(p){var d=requestAnimationFrame,h=cancelAnimationFrame,g=l.animationFrameProvider.delegate;g&&(d=g.requestAnimationFrame,h=g.cancelAnimationFrame);var v=d(function(m){h=void 0,p(m)});return new f.Subscription(function(){return h?.(v)})},requestAnimationFrame:function(){for(var p=[],d=0;d<arguments.length;d++)p[d]=arguments[d];var h=l.animationFrameProvider.delegate;return(h?.requestAnimationFrame||requestAnimationFrame).apply(void 0,a([],i(p)))},cancelAnimationFrame:function(){for(var p=[],d=0;d<arguments.length;d++)p[d]=arguments[d];var h=l.animationFrameProvider.delegate;return(h?.cancelAnimationFrame||cancelAnimationFrame).apply(void 0,a([],i(p)))},delegate:void 0}},465:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.asap=l.asapScheduler=void 0;var i=o(7026),a=o(1438);l.asapScheduler=new a.AsapScheduler(i.AsapAction),l.asap=l.asapScheduler},2361:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.async=l.asyncScheduler=void 0;var i=o(9560),a=o(8129);l.asyncScheduler=new a.AsyncScheduler(i.AsyncAction),l.async=l.asyncScheduler},553:(Z,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.dateTimestampProvider=void 0,l.dateTimestampProvider={now:function(){return(l.dateTimestampProvider.delegate||Date).now()},delegate:void 0}},8796:function(Z,l,o){"use strict";var i=this&&this.__read||function(h,g){var v="function"==typeof Symbol&&h[Symbol.iterator];if(!v)return h;var u,C,m=v.call(h),b=[];try{for(;(void 0===g||g-- >0)&&!(u=m.next()).done;)b.push(u.value)}catch(M){C={error:M}}finally{try{u&&!u.done&&(v=m.return)&&v.call(m)}finally{if(C)throw C.error}}return b},a=this&&this.__spreadArray||function(h,g){for(var v=0,m=g.length,u=h.length;v<m;v++,u++)h[u]=g[v];return h};Object.defineProperty(l,"__esModule",{value:!0}),l.immediateProvider=void 0;var f=o(9880),p=f.Immediate.setImmediate,d=f.Immediate.clearImmediate;l.immediateProvider={setImmediate:function(){for(var h=[],g=0;g<arguments.length;g++)h[g]=arguments[g];var v=l.immediateProvider.delegate;return(v?.setImmediate||p).apply(void 0,a([],i(h)))},clearImmediate:function(h){var g=l.immediateProvider.delegate;return(g?.clearImmediate||d)(h)},delegate:void 0}},5106:function(Z,l){"use strict";var o=this&&this.__read||function(a,f){var p="function"==typeof Symbol&&a[Symbol.iterator];if(!p)return a;var h,v,d=p.call(a),g=[];try{for(;(void 0===f||f-- >0)&&!(h=d.next()).done;)g.push(h.value)}catch(m){v={error:m}}finally{try{h&&!h.done&&(p=d.return)&&p.call(d)}finally{if(v)throw v.error}}return g},i=this&&this.__spreadArray||function(a,f){for(var p=0,d=f.length,h=a.length;p<d;p++,h++)a[h]=f[p];return a};Object.defineProperty(l,"__esModule",{value:!0}),l.intervalProvider=void 0,l.intervalProvider={setInterval:function(a,f){for(var p=[],d=2;d<arguments.length;d++)p[d-2]=arguments[d];var h=l.intervalProvider.delegate;return h?.setInterval?h.setInterval.apply(h,i([a,f],o(p))):setInterval.apply(void 0,i([a,f],o(p)))},clearInterval:function(a){var f=l.intervalProvider.delegate;return(f?.clearInterval||clearInterval)(a)},delegate:void 0}},8721:(Z,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.performanceTimestampProvider=void 0,l.performanceTimestampProvider={now:function(){return(l.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}},2559:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.queue=l.queueScheduler=void 0;var i=o(4983),a=o(7001);l.queueScheduler=new a.QueueScheduler(i.QueueAction),l.queue=l.queueScheduler},5628:function(Z,l){"use strict";var o=this&&this.__read||function(a,f){var p="function"==typeof Symbol&&a[Symbol.iterator];if(!p)return a;var h,v,d=p.call(a),g=[];try{for(;(void 0===f||f-- >0)&&!(h=d.next()).done;)g.push(h.value)}catch(m){v={error:m}}finally{try{h&&!h.done&&(p=d.return)&&p.call(d)}finally{if(v)throw v.error}}return g},i=this&&this.__spreadArray||function(a,f){for(var p=0,d=f.length,h=a.length;p<d;p++,h++)a[h]=f[p];return a};Object.defineProperty(l,"__esModule",{value:!0}),l.timeoutProvider=void 0,l.timeoutProvider={setTimeout:function(a,f){for(var p=[],d=2;d<arguments.length;d++)p[d-2]=arguments[d];var h=l.timeoutProvider.delegate;return h?.setTimeout?h.setTimeout.apply(h,i([a,f],o(p))):setTimeout.apply(void 0,i([a,f],o(p)))},clearTimeout:function(a){var f=l.timeoutProvider.delegate;return(f?.clearTimeout||clearTimeout)(a)},delegate:void 0}},6574:(Z,l)=>{"use strict";function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(l,"__esModule",{value:!0}),l.iterator=l.getSymbolIterator=void 0,l.getSymbolIterator=o,l.iterator=o()},2976:(Z,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.observable=void 0,l.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},5436:(Z,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0})},9136:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.ArgumentOutOfRangeError=void 0;var i=o(2873);l.ArgumentOutOfRangeError=i.createErrorClass(function(a){return function(){a(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})},3595:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.EmptyError=void 0;var i=o(2873);l.EmptyError=i.createErrorClass(function(a){return function(){a(this),this.name="EmptyError",this.message="no elements in sequence"}})},9880:(Z,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.TestTools=l.Immediate=void 0;var i,o=1,a={};function f(p){return p in a&&(delete a[p],!0)}l.Immediate={setImmediate:function(p){var d=o++;return a[d]=!0,i||(i=Promise.resolve()),i.then(function(){return f(d)&&p()}),d},clearImmediate:function(p){f(p)}},l.TestTools={pending:function(){return Object.keys(a).length}}},6887:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.NotFoundError=void 0;var i=o(2873);l.NotFoundError=i.createErrorClass(function(a){return function(p){a(this),this.name="NotFoundError",this.message=p}})},472:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.ObjectUnsubscribedError=void 0;var i=o(2873);l.ObjectUnsubscribedError=i.createErrorClass(function(a){return function(){a(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})},1138:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.SequenceError=void 0;var i=o(2873);l.SequenceError=i.createErrorClass(function(a){return function(p){a(this),this.name="SequenceError",this.message=p}})},5526:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.UnsubscriptionError=void 0;var i=o(2873);l.UnsubscriptionError=i.createErrorClass(function(a){return function(p){a(this),this.message=p?p.length+" errors occurred during unsubscription:\n"+p.map(function(d,h){return h+1+") "+d.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=p}})},9703:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.popNumber=l.popScheduler=l.popResultSelector=void 0;var i=o(3690),a=o(2226);function f(g){return g[g.length-1]}l.popResultSelector=function p(g){return i.isFunction(f(g))?g.pop():void 0},l.popScheduler=function d(g){return a.isScheduler(f(g))?g.pop():void 0},l.popNumber=function h(g,v){return"number"==typeof f(g)?g.pop():v}},359:(Z,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.argsArgArrayOrObject=void 0;var o=Array.isArray,i=Object.getPrototypeOf,a=Object.prototype,f=Object.keys;l.argsArgArrayOrObject=function p(h){if(1===h.length){var g=h[0];if(o(g))return{args:g,keys:null};if(function d(h){return h&&"object"==typeof h&&i(h)===a}(g)){var v=f(g);return{args:v.map(function(m){return g[m]}),keys:v}}}return{args:h,keys:null}}},717:(Z,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.argsOrArgArray=void 0;var o=Array.isArray;l.argsOrArgArray=function i(a){return 1===a.length&&o(a[0])?a[0]:a}},5727:(Z,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.arrRemove=void 0,l.arrRemove=function o(i,a){if(i){var f=i.indexOf(a);0<=f&&i.splice(f,1)}}},2873:(Z,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.createErrorClass=void 0,l.createErrorClass=function o(i){var f=i(function(p){Error.call(p),p.stack=(new Error).stack});return f.prototype=Object.create(Error.prototype),f.prototype.constructor=f,f}},9679:(Z,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.createObject=void 0,l.createObject=function o(i,a){return i.reduce(function(f,p,d){return f[p]=a[d],f},{})}},1214:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.captureError=l.errorContext=void 0;var i=o(9585),a=null;l.errorContext=function f(d){if(i.config.useDeprecatedSynchronousErrorHandling){var h=!a;if(h&&(a={errorThrown:!1,error:null}),d(),h){var g=a;if(a=null,g.errorThrown)throw g.error}}else d()},l.captureError=function p(d){i.config.useDeprecatedSynchronousErrorHandling&&a&&(a.errorThrown=!0,a.error=d)}},2968:(Z,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.executeSchedule=void 0,l.executeSchedule=function o(i,a,f,p,d){void 0===p&&(p=0),void 0===d&&(d=!1);var h=a.schedule(function(){f(),d?i.add(this.schedule(null,p)):this.unsubscribe()},p);if(i.add(h),!d)return h}},1776:(Z,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.identity=void 0,l.identity=function o(i){return i}},5135:(Z,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isArrayLike=void 0,l.isArrayLike=function(o){return o&&"number"==typeof o.length&&"function"!=typeof o}},4478:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isAsyncIterable=void 0;var i=o(3690);l.isAsyncIterable=function a(f){return Symbol.asyncIterator&&i.isFunction(f?.[Symbol.asyncIterator])}},6581:(Z,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isValidDate=void 0,l.isValidDate=function o(i){return i instanceof Date&&!isNaN(i)}},3690:(Z,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isFunction=void 0,l.isFunction=function o(i){return"function"==typeof i}},8059:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isInteropObservable=void 0;var i=o(2976),a=o(3690);l.isInteropObservable=function f(p){return a.isFunction(p[i.observable])}},6243:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isIterable=void 0;var i=o(6574),a=o(3690);l.isIterable=function f(p){return a.isFunction(p?.[i.iterator])}},2712:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isObservable=void 0;var i=o(1277),a=o(3690);l.isObservable=function f(p){return!!p&&(p instanceof i.Observable||a.isFunction(p.lift)&&a.isFunction(p.subscribe))}},8405:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isPromise=void 0;var i=o(3690);l.isPromise=function a(f){return i.isFunction(f?.then)}},3954:function(Z,l,o){"use strict";var i=this&&this.__generator||function(g,v){var u,b,C,M,m={label:0,sent:function(){if(1&C[0])throw C[1];return C[1]},trys:[],ops:[]};return M={next:S(0),throw:S(1),return:S(2)},"function"==typeof Symbol&&(M[Symbol.iterator]=function(){return this}),M;function S(j){return function(N){return function H(j){if(u)throw new TypeError("Generator is already executing.");for(;m;)try{if(u=1,b&&(C=2&j[0]?b.return:j[0]?b.throw||((C=b.return)&&C.call(b),0):b.next)&&!(C=C.call(b,j[1])).done)return C;switch(b=0,C&&(j=[2&j[0],C.value]),j[0]){case 0:case 1:C=j;break;case 4:return m.label++,{value:j[1],done:!1};case 5:m.label++,b=j[1],j=[0];continue;case 7:j=m.ops.pop(),m.trys.pop();continue;default:if(!(C=(C=m.trys).length>0&&C[C.length-1])&&(6===j[0]||2===j[0])){m=0;continue}if(3===j[0]&&(!C||j[1]>C[0]&&j[1]<C[3])){m.label=j[1];break}if(6===j[0]&&m.label<C[1]){m.label=C[1],C=j;break}if(C&&m.label<C[2]){m.label=C[2],m.ops.push(j);break}C[2]&&m.ops.pop(),m.trys.pop();continue}j=v.call(g,m)}catch(N){j=[6,N],b=0}finally{u=C=0}if(5&j[0])throw j[1];return{value:j[0]?j[1]:void 0,done:!0}}([j,N])}}},a=this&&this.__await||function(g){return this instanceof a?(this.v=g,this):new a(g)},f=this&&this.__asyncGenerator||function(g,v,m){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var b,u=m.apply(g,v||[]),C=[];return b={},M("next"),M("throw"),M("return"),b[Symbol.asyncIterator]=function(){return this},b;function M(z){u[z]&&(b[z]=function(oe){return new Promise(function(X,K){C.push([z,oe,X,K])>1||S(z,oe)})})}function S(z,oe){try{!function H(z){z.value instanceof a?Promise.resolve(z.value.v).then(j,N):fe(C[0][2],z)}(u[z](oe))}catch(X){fe(C[0][3],X)}}function j(z){S("next",z)}function N(z){S("throw",z)}function fe(z,oe){z(oe),C.shift(),C.length&&S(C[0][0],C[0][1])}};Object.defineProperty(l,"__esModule",{value:!0}),l.isReadableStreamLike=l.readableStreamLikeToAsyncGenerator=void 0;var p=o(3690);l.readableStreamLikeToAsyncGenerator=function d(g){return f(this,arguments,function(){var m,u,b;return i(this,function(M){switch(M.label){case 0:m=g.getReader(),M.label=1;case 1:M.trys.push([1,,9,10]),M.label=2;case 2:return[4,a(m.read())];case 3:return u=M.sent(),b=u.value,u.done?[4,a(void 0)]:[3,5];case 4:return[2,M.sent()];case 5:return[4,a(b)];case 6:return[4,M.sent()];case 7:return M.sent(),[3,2];case 8:return[3,10];case 9:return m.releaseLock(),[7];case 10:return[2]}})})},l.isReadableStreamLike=function h(g){return p.isFunction(g?.getReader)}},2226:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isScheduler=void 0;var i=o(3690);l.isScheduler=function a(f){return f&&i.isFunction(f.schedule)}},1275:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.operate=l.hasLift=void 0;var i=o(3690);function a(p){return i.isFunction(p?.lift)}l.hasLift=a,l.operate=function f(p){return function(d){if(a(d))return d.lift(function(h){try{return p(h,this)}catch(g){this.error(g)}});throw new TypeError("Unable to lift unknown Observable type")}}},8631:function(Z,l,o){"use strict";var i=this&&this.__read||function(g,v){var m="function"==typeof Symbol&&g[Symbol.iterator];if(!m)return g;var b,M,u=m.call(g),C=[];try{for(;(void 0===v||v-- >0)&&!(b=u.next()).done;)C.push(b.value)}catch(S){M={error:S}}finally{try{b&&!b.done&&(m=u.return)&&m.call(u)}finally{if(M)throw M.error}}return C},a=this&&this.__spreadArray||function(g,v){for(var m=0,u=v.length,b=g.length;m<u;m++,b++)g[b]=v[m];return g};Object.defineProperty(l,"__esModule",{value:!0}),l.mapOneOrManyArgs=void 0;var f=o(7783),p=Array.isArray;l.mapOneOrManyArgs=function h(g){return f.map(function(v){return function d(g,v){return p(v)?g.apply(void 0,a([],i(v))):g(v)}(g,v)})}},1752:(Z,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.noop=void 0,l.noop=function o(){}},5998:(Z,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.not=void 0,l.not=function o(i,a){return function(f,p){return!i.call(a,f,p)}}},3985:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.pipeFromArray=l.pipe=void 0;var i=o(1776);function f(p){return 0===p.length?i.identity:1===p.length?p[0]:function(h){return p.reduce(function(g,v){return v(g)},h)}}l.pipe=function a(){for(var p=[],d=0;d<arguments.length;d++)p[d]=arguments[d];return f(p)},l.pipeFromArray=f},8387:(Z,l,o)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.reportUnhandledError=void 0;var i=o(9585),a=o(5628);l.reportUnhandledError=function f(p){a.timeoutProvider.setTimeout(function(){var d=i.config.onUnhandledError;if(!d)throw p;d(p)})}},4759:(Z,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.createInvalidObservableTypeError=void 0,l.createInvalidObservableTypeError=function o(i){return new TypeError("You provided "+(null!==i&&"object"==typeof i?"an invalid object":"'"+i+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}},1625:(Z,l,o)=>{"use strict";o.d(l,{X:()=>a});var i=o(9453);class a extends i.x{constructor(p){super(),this._value=p}get value(){return this.getValue()}_subscribe(p){const d=super._subscribe(p);return!d.closed&&p.next(this._value),d}getValue(){const{hasError:p,thrownError:d,_value:h}=this;if(p)throw d;return this._throwIfClosed(),h}next(p){super.next(this._value=p)}}},7371:(Z,l,o)=>{"use strict";o.d(l,{y:()=>u});var i=o(9224),a=o(9592),f=o(7878),p=o(2390);var g=o(6786),v=o(3276),m=o(1685);let u=(()=>{class S{constructor(j){j&&(this._subscribe=j)}lift(j){const N=new S;return N.source=this,N.operator=j,N}subscribe(j,N,fe){const z=function M(S){return S&&S instanceof i.Lv||function C(S){return S&&(0,v.m)(S.next)&&(0,v.m)(S.error)&&(0,v.m)(S.complete)}(S)&&(0,a.Nn)(S)}(j)?j:new i.Hp(j,N,fe);return(0,m.x)(()=>{const{operator:oe,source:X}=this;z.add(oe?oe.call(z,X):X?this._subscribe(z):this._trySubscribe(z))}),z}_trySubscribe(j){try{return this._subscribe(j)}catch(N){j.error(N)}}forEach(j,N){return new(N=b(N))((fe,z)=>{const oe=new i.Hp({next:X=>{try{j(X)}catch(K){z(K),oe.unsubscribe()}},error:z,complete:fe});this.subscribe(oe)})}_subscribe(j){var N;return null===(N=this.source)||void 0===N?void 0:N.subscribe(j)}[f.L](){return this}pipe(...j){return function h(S){return 0===S.length?p.y:1===S.length?S[0]:function(j){return S.reduce((N,fe)=>fe(N),j)}}(j)(this)}toPromise(j){return new(j=b(j))((N,fe)=>{let z;this.subscribe(oe=>z=oe,oe=>fe(oe),()=>N(z))})}}return S.create=H=>new S(H),S})();function b(S){var H;return null!==(H=S??g.config.Promise)&&void 0!==H?H:Promise}},9453:(Z,l,o)=>{"use strict";o.d(l,{x:()=>g});var i=o(7371),a=o(9592);const p=(0,o(3374).d)(m=>function(){m(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var d=o(7352),h=o(1685);let g=(()=>{class m extends i.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(b){const C=new v(this,this);return C.operator=b,C}_throwIfClosed(){if(this.closed)throw new p}next(b){(0,h.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const C of this.currentObservers)C.next(b)}})}error(b){(0,h.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=b;const{observers:C}=this;for(;C.length;)C.shift().error(b)}})}complete(){(0,h.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:b}=this;for(;b.length;)b.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var b;return(null===(b=this.observers)||void 0===b?void 0:b.length)>0}_trySubscribe(b){return this._throwIfClosed(),super._trySubscribe(b)}_subscribe(b){return this._throwIfClosed(),this._checkFinalizedStatuses(b),this._innerSubscribe(b)}_innerSubscribe(b){const{hasError:C,isStopped:M,observers:S}=this;return C||M?a.Lc:(this.currentObservers=null,S.push(b),new a.w0(()=>{this.currentObservers=null,(0,d.P)(S,b)}))}_checkFinalizedStatuses(b){const{hasError:C,thrownError:M,isStopped:S}=this;C?b.error(M):S&&b.complete()}asObservable(){const b=new i.y;return b.source=this,b}}return m.create=(u,b)=>new v(u,b),m})();class v extends g{constructor(u,b){super(),this.destination=u,this.source=b}next(u){var b,C;null===(C=null===(b=this.destination)||void 0===b?void 0:b.next)||void 0===C||C.call(b,u)}error(u){var b,C;null===(C=null===(b=this.destination)||void 0===b?void 0:b.error)||void 0===C||C.call(b,u)}complete(){var u,b;null===(b=null===(u=this.destination)||void 0===u?void 0:u.complete)||void 0===b||b.call(u)}_subscribe(u){var b,C;return null!==(C=null===(b=this.source)||void 0===b?void 0:b.subscribe(u))&&void 0!==C?C:a.Lc}}},9224:(Z,l,o)=>{"use strict";o.d(l,{Hp:()=>j,Lv:()=>C});var i=o(3276),a=o(9592),f=o(6786),p=o(5625),d=o(1952);const h=m("C",void 0,void 0);function m(X,K,me){return{kind:X,value:K,error:me}}var u=o(1296),b=o(1685);class C extends a.w0{constructor(K){super(),this.isStopped=!1,K?(this.destination=K,(0,a.Nn)(K)&&K.add(this)):this.destination=oe}static create(K,me,ae){return new j(K,me,ae)}next(K){this.isStopped?z(function v(X){return m("N",X,void 0)}(K),this):this._next(K)}error(K){this.isStopped?z(function g(X){return m("E",void 0,X)}(K),this):(this.isStopped=!0,this._error(K))}complete(){this.isStopped?z(h,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(K){this.destination.next(K)}_error(K){try{this.destination.error(K)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const M=Function.prototype.bind;function S(X,K){return M.call(X,K)}class H{constructor(K){this.partialObserver=K}next(K){const{partialObserver:me}=this;if(me.next)try{me.next(K)}catch(ae){N(ae)}}error(K){const{partialObserver:me}=this;if(me.error)try{me.error(K)}catch(ae){N(ae)}else N(K)}complete(){const{partialObserver:K}=this;if(K.complete)try{K.complete()}catch(me){N(me)}}}class j extends C{constructor(K,me,ae){let te;if(super(),(0,i.m)(K)||!K)te={next:K??void 0,error:me??void 0,complete:ae??void 0};else{let pe;this&&f.config.useDeprecatedNextContext?(pe=Object.create(K),pe.unsubscribe=()=>this.unsubscribe(),te={next:K.next&&S(K.next,pe),error:K.error&&S(K.error,pe),complete:K.complete&&S(K.complete,pe)}):te=K}this.destination=new H(te)}}function N(X){f.config.useDeprecatedSynchronousErrorHandling?(0,b.O)(X):(0,p.h)(X)}function z(X,K){const{onStoppedNotification:me}=f.config;me&&u.z.setTimeout(()=>me(X,K))}const oe={closed:!0,next:d.Z,error:function fe(X){throw X},complete:d.Z}},9592:(Z,l,o)=>{"use strict";o.d(l,{Lc:()=>h,w0:()=>d,Nn:()=>g});var i=o(3276);const f=(0,o(3374).d)(m=>function(b){m(this),this.message=b?`${b.length} errors occurred during unsubscription:\n${b.map((C,M)=>`${M+1}) ${C.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=b});var p=o(7352);class d{constructor(u){this.initialTeardown=u,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let u;if(!this.closed){this.closed=!0;const{_parentage:b}=this;if(b)if(this._parentage=null,Array.isArray(b))for(const S of b)S.remove(this);else b.remove(this);const{initialTeardown:C}=this;if((0,i.m)(C))try{C()}catch(S){u=S instanceof f?S.errors:[S]}const{_finalizers:M}=this;if(M){this._finalizers=null;for(const S of M)try{v(S)}catch(H){u=u??[],H instanceof f?u=[...u,...H.errors]:u.push(H)}}if(u)throw new f(u)}}add(u){var b;if(u&&u!==this)if(this.closed)v(u);else{if(u instanceof d){if(u.closed||u._hasParent(this))return;u._addParent(this)}(this._finalizers=null!==(b=this._finalizers)&&void 0!==b?b:[]).push(u)}}_hasParent(u){const{_parentage:b}=this;return b===u||Array.isArray(b)&&b.includes(u)}_addParent(u){const{_parentage:b}=this;this._parentage=Array.isArray(b)?(b.push(u),b):b?[b,u]:u}_removeParent(u){const{_parentage:b}=this;b===u?this._parentage=null:Array.isArray(b)&&(0,p.P)(b,u)}remove(u){const{_finalizers:b}=this;b&&(0,p.P)(b,u),u instanceof d&&u._removeParent(this)}}d.EMPTY=(()=>{const m=new d;return m.closed=!0,m})();const h=d.EMPTY;function g(m){return m instanceof d||m&&"closed"in m&&(0,i.m)(m.remove)&&(0,i.m)(m.add)&&(0,i.m)(m.unsubscribe)}function v(m){(0,i.m)(m)?m():m.unsubscribe()}},6786:(Z,l,o)=>{"use strict";o.d(l,{config:()=>i});const i={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},8791:(Z,l,o)=>{"use strict";o.d(l,{a:()=>u});var i=o(7371),a=o(1003),f=o(107),p=o(2390),d=o(4574),h=o(177),g=o(5017),v=o(2829),m=o(8382);function u(...M){const S=(0,h.yG)(M),H=(0,h.jO)(M),{args:j,keys:N}=(0,a.D)(M);if(0===j.length)return(0,f.D)([],S);const fe=new i.y(function b(M,S,H=p.y){return j=>{C(S,()=>{const{length:N}=M,fe=new Array(N);let z=N,oe=N;for(let X=0;X<N;X++)C(S,()=>{const K=(0,f.D)(M[X],S);let me=!1;K.subscribe((0,v.x)(j,ae=>{fe[X]=ae,me||(me=!0,oe--),oe||j.next(H(fe.slice()))},()=>{--z||j.complete()}))},j)},j)}}(j,S,N?z=>(0,g.n)(N,z):p.y));return H?fe.pipe((0,d.Z)(H)):fe}function C(M,S,H){M?(0,m.f)(H,M,S):S()}},9925:(Z,l,o)=>{"use strict";o.d(l,{z:()=>d});var i=o(5326),f=o(177),p=o(107);function d(...h){return function a(){return(0,i.J)(1)}()((0,p.D)(h,(0,f.yG)(h)))}},8025:(Z,l,o)=>{"use strict";o.d(l,{E:()=>a});const a=new(o(7371).y)(d=>d.complete())},6312:(Z,l,o)=>{"use strict";o.d(l,{D:()=>v});var i=o(7371),a=o(1003),f=o(8299),p=o(177),d=o(2829),h=o(4574),g=o(5017);function v(...m){const u=(0,p.jO)(m),{args:b,keys:C}=(0,a.D)(m),M=new i.y(S=>{const{length:H}=b;if(!H)return void S.complete();const j=new Array(H);let N=H,fe=H;for(let z=0;z<H;z++){let oe=!1;(0,f.Xf)(b[z]).subscribe((0,d.x)(S,X=>{oe||(oe=!0,fe--),j[z]=X},()=>N--,void 0,()=>{(!N||!oe)&&(fe||S.next(C?(0,g.n)(C,j):j),S.complete())}))}});return u?M.pipe((0,h.Z)(u)):M}},107:(Z,l,o)=>{"use strict";o.d(l,{D:()=>ae});var i=o(8299),a=o(8382),f=o(4049),p=o(2829);function d(te,pe=0){return(0,f.e)((it,be)=>{it.subscribe((0,p.x)(be,We=>(0,a.f)(be,te,()=>be.next(We),pe),()=>(0,a.f)(be,te,()=>be.complete(),pe),We=>(0,a.f)(be,te,()=>be.error(We),pe)))})}function h(te,pe=0){return(0,f.e)((it,be)=>{be.add(te.schedule(()=>it.subscribe(be),pe))})}var m=o(7371),b=o(8279),C=o(3276);function S(te,pe){if(!te)throw new Error("Iterable cannot be null");return new m.y(it=>{(0,a.f)(it,pe,()=>{const be=te[Symbol.asyncIterator]();(0,a.f)(it,pe,()=>{be.next().then(We=>{We.done?it.complete():it.next(We.value)})},0,!0)})})}var H=o(8620),j=o(2753),N=o(4936),fe=o(5074),z=o(5e3),oe=o(1380),X=o(3130);function ae(te,pe){return pe?function me(te,pe){if(null!=te){if((0,H.c)(te))return function g(te,pe){return(0,i.Xf)(te).pipe(h(pe),d(pe))}(te,pe);if((0,N.z)(te))return function u(te,pe){return new m.y(it=>{let be=0;return pe.schedule(function(){be===te.length?it.complete():(it.next(te[be++]),it.closed||this.schedule())})})}(te,pe);if((0,j.t)(te))return function v(te,pe){return(0,i.Xf)(te).pipe(h(pe),d(pe))}(te,pe);if((0,z.D)(te))return S(te,pe);if((0,fe.T)(te))return function M(te,pe){return new m.y(it=>{let be;return(0,a.f)(it,pe,()=>{be=te[b.h](),(0,a.f)(it,pe,()=>{let We,ce;try{({value:We,done:ce}=be.next())}catch(Ae){return void it.error(Ae)}ce?it.complete():it.next(We)},0,!0)}),()=>(0,C.m)(be?.return)&&be.return()})}(te,pe);if((0,X.L)(te))return function K(te,pe){return S((0,X.Q)(te),pe)}(te,pe)}throw(0,oe.z)(te)}(te,pe):(0,i.Xf)(te)}},6058:(Z,l,o)=>{"use strict";o.d(l,{R:()=>u});var i=o(8299),a=o(7371),f=o(5123),p=o(4936),d=o(3276),h=o(4574);const g=["addListener","removeListener"],v=["addEventListener","removeEventListener"],m=["on","off"];function u(H,j,N,fe){if((0,d.m)(N)&&(fe=N,N=void 0),fe)return u(H,j,N).pipe((0,h.Z)(fe));const[z,oe]=function S(H){return(0,d.m)(H.addEventListener)&&(0,d.m)(H.removeEventListener)}(H)?v.map(X=>K=>H[X](j,K,N)):function C(H){return(0,d.m)(H.addListener)&&(0,d.m)(H.removeListener)}(H)?g.map(b(H,j)):function M(H){return(0,d.m)(H.on)&&(0,d.m)(H.off)}(H)?m.map(b(H,j)):[];if(!z&&(0,p.z)(H))return(0,f.z)(X=>u(X,j,N))((0,i.Xf)(H));if(!z)throw new TypeError("Invalid event target");return new a.y(X=>{const K=(...me)=>X.next(1<me.length?me:me[0]);return z(K),()=>oe(K)})}function b(H,j){return N=>fe=>H[N](j,fe)}},8299:(Z,l,o)=>{"use strict";o.d(l,{Xf:()=>M});var i=o(2970),a=o(4936),f=o(2753),p=o(7371),d=o(8620),h=o(5e3),g=o(1380),v=o(5074),m=o(3130),u=o(3276),b=o(5625),C=o(7878);function M(X){if(X instanceof p.y)return X;if(null!=X){if((0,d.c)(X))return function S(X){return new p.y(K=>{const me=X[C.L]();if((0,u.m)(me.subscribe))return me.subscribe(K);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(X);if((0,a.z)(X))return function H(X){return new p.y(K=>{for(let me=0;me<X.length&&!K.closed;me++)K.next(X[me]);K.complete()})}(X);if((0,f.t)(X))return function j(X){return new p.y(K=>{X.then(me=>{K.closed||(K.next(me),K.complete())},me=>K.error(me)).then(null,b.h)})}(X);if((0,h.D)(X))return fe(X);if((0,v.T)(X))return function N(X){return new p.y(K=>{for(const me of X)if(K.next(me),K.closed)return;K.complete()})}(X);if((0,m.L)(X))return function z(X){return fe((0,m.Q)(X))}(X)}throw(0,g.z)(X)}function fe(X){return new p.y(K=>{(function oe(X,K){var me,ae,te,pe;return(0,i.__awaiter)(this,void 0,void 0,function*(){try{for(me=(0,i.__asyncValues)(X);!(ae=yield me.next()).done;)if(K.next(ae.value),K.closed)return}catch(it){te={error:it}}finally{try{ae&&!ae.done&&(pe=me.return)&&(yield pe.call(me))}finally{if(te)throw te.error}}K.complete()})})(X,K).catch(me=>K.error(me))})}},4991:(Z,l,o)=>{"use strict";o.d(l,{T:()=>h});var i=o(5326),a=o(8299),f=o(8025),p=o(177),d=o(107);function h(...g){const v=(0,p.yG)(g),m=(0,p._6)(g,1/0),u=g;return u.length?1===u.length?(0,a.Xf)(u[0]):(0,i.J)(m)((0,d.D)(u,v)):f.E}},9627:(Z,l,o)=>{"use strict";o.d(l,{of:()=>f});var i=o(177),a=o(107);function f(...p){const d=(0,i.yG)(p);return(0,a.D)(p,d)}},5117:(Z,l,o)=>{"use strict";o.d(l,{H:()=>d});var i=o(7371),a=o(6589),f=o(3946);function d(h=0,g,v=a.P){let m=-1;return null!=g&&((0,f.K)(g)?v=g:m=g),new i.y(u=>{let b=function p(h){return h instanceof Date&&!isNaN(h)}(h)?+h-v.now():h;b<0&&(b=0);let C=0;return v.schedule(function(){u.closed||(u.next(C++),0<=m?this.schedule(void 0,m):u.complete())},b)})}},2829:(Z,l,o)=>{"use strict";o.d(l,{x:()=>a});var i=o(9224);function a(p,d,h,g,v){return new f(p,d,h,g,v)}class f extends i.Lv{constructor(d,h,g,v,m,u){super(d),this.onFinalize=m,this.shouldUnsubscribe=u,this._next=h?function(b){try{h(b)}catch(C){d.error(C)}}:super._next,this._error=v?function(b){try{v(b)}catch(C){d.error(C)}finally{this.unsubscribe()}}:super._error,this._complete=g?function(){try{g()}catch(b){d.error(b)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var d;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:h}=this;super.unsubscribe(),!h&&(null===(d=this.onFinalize)||void 0===d||d.call(this))}}}},2067:(Z,l,o)=>{"use strict";o.d(l,{b:()=>p});var i=o(6589),a=o(4049),f=o(2829);function p(d,h=i.z){return(0,a.e)((g,v)=>{let m=null,u=null,b=null;const C=()=>{if(m){m.unsubscribe(),m=null;const S=u;u=null,v.next(S)}};function M(){const S=b+d,H=h.now();if(H<S)return m=this.schedule(void 0,S-H),void v.add(m);C()}g.subscribe((0,f.x)(v,S=>{u=S,b=h.now(),m||(m=h.schedule(M,d),v.add(m))},()=>{C(),v.complete()},void 0,()=>{u=m=null}))})}},4263:(Z,l,o)=>{"use strict";o.d(l,{x:()=>p});var i=o(2390),a=o(4049),f=o(2829);function p(h,g=i.y){return h=h??d,(0,a.e)((v,m)=>{let u,b=!0;v.subscribe((0,f.x)(m,C=>{const M=g(C);(b||!h(u,M))&&(b=!1,u=M,m.next(C))}))})}function d(h,g){return h===g}},1497:(Z,l,o)=>{"use strict";o.d(l,{h:()=>f});var i=o(4049),a=o(2829);function f(p,d){return(0,i.e)((h,g)=>{let v=0;h.subscribe((0,a.x)(g,m=>p.call(d,m,v++)&&g.next(m)))})}},1927:(Z,l,o)=>{"use strict";o.d(l,{x:()=>a});var i=o(4049);function a(f){return(0,i.e)((p,d)=>{try{p.subscribe(d)}finally{d.add(f)}})}},5066:(Z,l,o)=>{"use strict";o.d(l,{P:()=>b});const a=(0,o(3374).d)(C=>function(){C(this),this.name="EmptyError",this.message="no elements in sequence"});var f=o(1497),p=o(3581),d=o(4049),h=o(2829);function v(C=m){return(0,d.e)((M,S)=>{let H=!1;M.subscribe((0,h.x)(S,j=>{H=!0,S.next(j)},()=>H?S.complete():S.error(C())))})}function m(){return new a}var u=o(2390);function b(C,M){const S=arguments.length>=2;return H=>H.pipe(C?(0,f.h)((j,N)=>C(j,N,H)):u.y,(0,p.q)(1),S?function g(C){return(0,d.e)((M,S)=>{let H=!1;M.subscribe((0,h.x)(S,j=>{H=!0,S.next(j)},()=>{H||S.next(C),S.complete()}))})}(M):v(()=>new a))}},8412:(Z,l,o)=>{"use strict";o.d(l,{U:()=>f});var i=o(4049),a=o(2829);function f(p,d){return(0,i.e)((h,g)=>{let v=0;h.subscribe((0,a.x)(g,m=>{g.next(p.call(d,m,v++))}))})}},5326:(Z,l,o)=>{"use strict";o.d(l,{J:()=>f});var i=o(5123),a=o(2390);function f(p=1/0){return(0,i.z)(a.y,p)}},5123:(Z,l,o)=>{"use strict";o.d(l,{z:()=>v});var i=o(8412),a=o(8299),f=o(4049),p=o(8382),d=o(2829),g=o(3276);function v(m,u,b=1/0){return(0,g.m)(u)?v((C,M)=>(0,i.U)((S,H)=>u(C,S,M,H))((0,a.Xf)(m(C,M))),b):("number"==typeof u&&(b=u),(0,f.e)((C,M)=>function h(m,u,b,C,M,S,H,j){const N=[];let fe=0,z=0,oe=!1;const X=()=>{oe&&!N.length&&!fe&&u.complete()},K=ae=>fe<C?me(ae):N.push(ae),me=ae=>{S&&u.next(ae),fe++;let te=!1;(0,a.Xf)(b(ae,z++)).subscribe((0,d.x)(u,pe=>{M?.(pe),S?K(pe):u.next(pe)},()=>{te=!0},void 0,()=>{if(te)try{for(fe--;N.length&&fe<C;){const pe=N.shift();H?(0,p.f)(u,H,()=>me(pe)):me(pe)}X()}catch(pe){u.error(pe)}}))};return m.subscribe((0,d.x)(u,K,()=>{oe=!0,X()})),()=>{j?.()}}(C,M,m,b)))}},3949:(Z,l,o)=>{"use strict";o.d(l,{B:()=>d});var i=o(8299),a=o(9453),f=o(9224),p=o(4049);function d(g={}){const{connector:v=(()=>new a.x),resetOnError:m=!0,resetOnComplete:u=!0,resetOnRefCountZero:b=!0}=g;return C=>{let M,S,H,j=0,N=!1,fe=!1;const z=()=>{S?.unsubscribe(),S=void 0},oe=()=>{z(),M=H=void 0,N=fe=!1},X=()=>{const K=M;oe(),K?.unsubscribe()};return(0,p.e)((K,me)=>{j++,!fe&&!N&&z();const ae=H=H??v();me.add(()=>{j--,0===j&&!fe&&!N&&(S=h(X,b))}),ae.subscribe(me),!M&&j>0&&(M=new f.Hp({next:te=>ae.next(te),error:te=>{fe=!0,z(),S=h(oe,m,te),ae.error(te)},complete:()=>{N=!0,z(),S=h(oe,u),ae.complete()}}),(0,i.Xf)(K).subscribe(M))})(C)}}function h(g,v,...m){if(!0===v)return void g();if(!1===v)return;const u=new f.Hp({next:()=>{u.unsubscribe(),g()}});return(0,i.Xf)(v(...m)).subscribe(u)}},1800:(Z,l,o)=>{"use strict";o.d(l,{T:()=>a});var i=o(1497);function a(f){return(0,i.h)((p,d)=>f<=d)}},19:(Z,l,o)=>{"use strict";o.d(l,{O:()=>p});var i=o(9925),a=o(177),f=o(4049);function p(...d){const h=(0,a.yG)(d);return(0,f.e)((g,v)=>{(h?(0,i.z)(d,g,h):(0,i.z)(d,g)).subscribe(v)})}},2835:(Z,l,o)=>{"use strict";o.d(l,{w:()=>p});var i=o(8299),a=o(4049),f=o(2829);function p(d,h){return(0,a.e)((g,v)=>{let m=null,u=0,b=!1;const C=()=>b&&!m&&v.complete();g.subscribe((0,f.x)(v,M=>{m?.unsubscribe();let S=0;const H=u++;(0,i.Xf)(d(M,H)).subscribe(m=(0,f.x)(v,j=>v.next(h?h(M,j,H,S++):j),()=>{m=null,C()}))},()=>{b=!0,C()}))})}},3581:(Z,l,o)=>{"use strict";o.d(l,{q:()=>p});var i=o(8025),a=o(4049),f=o(2829);function p(d){return d<=0?()=>i.E:(0,a.e)((h,g)=>{let v=0;h.subscribe((0,f.x)(g,m=>{++v<=d&&(g.next(m),d<=v&&g.complete())}))})}},5779:(Z,l,o)=>{"use strict";o.d(l,{R:()=>d});var i=o(4049),a=o(2829),f=o(8299),p=o(1952);function d(h){return(0,i.e)((g,v)=>{(0,f.Xf)(h).subscribe((0,a.x)(v,()=>v.complete(),p.Z)),!v.closed&&g.subscribe(v)})}},4104:(Z,l,o)=>{"use strict";o.d(l,{b:()=>d});var i=o(3276),a=o(4049),f=o(2829),p=o(2390);function d(h,g,v){const m=(0,i.m)(h)||g||v?{next:h,error:g,complete:v}:h;return m?(0,a.e)((u,b)=>{var C;null===(C=m.subscribe)||void 0===C||C.call(m);let M=!0;u.subscribe((0,f.x)(b,S=>{var H;null===(H=m.next)||void 0===H||H.call(m,S),b.next(S)},()=>{var S;M=!1,null===(S=m.complete)||void 0===S||S.call(m),b.complete()},S=>{var H;M=!1,null===(H=m.error)||void 0===H||H.call(m,S),b.error(S)},()=>{var S,H;M&&(null===(S=m.unsubscribe)||void 0===S||S.call(m)),null===(H=m.finalize)||void 0===H||H.call(m)}))}):p.y}},2290:(Z,l,o)=>{"use strict";o.d(l,{o:()=>d});var i=o(9592);class a extends i.w0{constructor(g,v){super()}schedule(g,v=0){return this}}const f={setInterval(h,g,...v){const{delegate:m}=f;return m?.setInterval?m.setInterval(h,g,...v):setInterval(h,g,...v)},clearInterval(h){const{delegate:g}=f;return(g?.clearInterval||clearInterval)(h)},delegate:void 0};var p=o(7352);class d extends a{constructor(g,v){super(g,v),this.scheduler=g,this.work=v,this.pending=!1}schedule(g,v=0){var m;if(this.closed)return this;this.state=g;const u=this.id,b=this.scheduler;return null!=u&&(this.id=this.recycleAsyncId(b,u,v)),this.pending=!0,this.delay=v,this.id=null!==(m=this.id)&&void 0!==m?m:this.requestAsyncId(b,this.id,v),this}requestAsyncId(g,v,m=0){return f.setInterval(g.flush.bind(g,this),m)}recycleAsyncId(g,v,m=0){if(null!=m&&this.delay===m&&!1===this.pending)return v;null!=v&&f.clearInterval(v)}execute(g,v){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const m=this._execute(g,v);if(m)return m;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(g,v){let u,m=!1;try{this.work(g)}catch(b){m=!0,u=b||new Error("Scheduled action threw falsy error")}if(m)return this.unsubscribe(),u}unsubscribe(){if(!this.closed){const{id:g,scheduler:v}=this,{actions:m}=v;this.work=this.state=this.scheduler=null,this.pending=!1,(0,p.P)(m,this),null!=g&&(this.id=this.recycleAsyncId(v,g,null)),this.delay=null,super.unsubscribe()}}}},5349:(Z,l,o)=>{"use strict";o.d(l,{v:()=>f});const i={now:()=>(i.delegate||Date).now(),delegate:void 0};class a{constructor(d,h=a.now){this.schedulerActionCtor=d,this.now=h}schedule(d,h=0,g){return new this.schedulerActionCtor(this,d).schedule(g,h)}}a.now=i.now;class f extends a{constructor(d,h=a.now){super(d,h),this.actions=[],this._active=!1}flush(d){const{actions:h}=this;if(this._active)return void h.push(d);let g;this._active=!0;do{if(g=d.execute(d.state,d.delay))break}while(d=h.shift());if(this._active=!1,g){for(;d=h.shift();)d.unsubscribe();throw g}}}},4453:(Z,l,o)=>{"use strict";o.d(l,{E:()=>S});var i=o(2290);let f,a=1;const p={};function d(j){return j in p&&(delete p[j],!0)}const h={setImmediate(j){const N=a++;return p[N]=!0,f||(f=Promise.resolve()),f.then(()=>d(N)&&j()),N},clearImmediate(j){d(j)}},{setImmediate:v,clearImmediate:m}=h,u={setImmediate(...j){const{delegate:N}=u;return(N?.setImmediate||v)(...j)},clearImmediate(j){const{delegate:N}=u;return(N?.clearImmediate||m)(j)},delegate:void 0};var C=o(5349);const S=new class M extends C.v{flush(N){this._active=!0;const fe=this._scheduled;this._scheduled=void 0;const{actions:z}=this;let oe;N=N||z.shift();do{if(oe=N.execute(N.state,N.delay))break}while((N=z[0])&&N.id===fe&&z.shift());if(this._active=!1,oe){for(;(N=z[0])&&N.id===fe&&z.shift();)N.unsubscribe();throw oe}}}(class b extends i.o{constructor(N,fe){super(N,fe),this.scheduler=N,this.work=fe}requestAsyncId(N,fe,z=0){return null!==z&&z>0?super.requestAsyncId(N,fe,z):(N.actions.push(this),N._scheduled||(N._scheduled=u.setImmediate(N.flush.bind(N,void 0))))}recycleAsyncId(N,fe,z=0){var oe;if(null!=z?z>0:this.delay>0)return super.recycleAsyncId(N,fe,z);const{actions:X}=N;null!=fe&&(null===(oe=X[X.length-1])||void 0===oe?void 0:oe.id)!==fe&&(u.clearImmediate(fe),N._scheduled===fe&&(N._scheduled=void 0))}})},6589:(Z,l,o)=>{"use strict";o.d(l,{P:()=>p,z:()=>f});var i=o(2290);const f=new(o(5349).v)(i.o),p=f},1296:(Z,l,o)=>{"use strict";o.d(l,{z:()=>i});const i={setTimeout(a,f,...p){const{delegate:d}=i;return d?.setTimeout?d.setTimeout(a,f,...p):setTimeout(a,f,...p)},clearTimeout(a){const{delegate:f}=i;return(f?.clearTimeout||clearTimeout)(a)},delegate:void 0}},8279:(Z,l,o)=>{"use strict";o.d(l,{h:()=>a});const a=function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},7878:(Z,l,o)=>{"use strict";o.d(l,{L:()=>i});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},177:(Z,l,o)=>{"use strict";o.d(l,{_6:()=>h,jO:()=>p,yG:()=>d});var i=o(3276),a=o(3946);function f(g){return g[g.length-1]}function p(g){return(0,i.m)(f(g))?g.pop():void 0}function d(g){return(0,a.K)(f(g))?g.pop():void 0}function h(g,v){return"number"==typeof f(g)?g.pop():v}},1003:(Z,l,o)=>{"use strict";o.d(l,{D:()=>d});const{isArray:i}=Array,{getPrototypeOf:a,prototype:f,keys:p}=Object;function d(g){if(1===g.length){const v=g[0];if(i(v))return{args:v,keys:null};if(function h(g){return g&&"object"==typeof g&&a(g)===f}(v)){const m=p(v);return{args:m.map(u=>v[u]),keys:m}}}return{args:g,keys:null}}},7352:(Z,l,o)=>{"use strict";function i(a,f){if(a){const p=a.indexOf(f);0<=p&&a.splice(p,1)}}o.d(l,{P:()=>i})},3374:(Z,l,o)=>{"use strict";function i(a){const p=a(d=>{Error.call(d),d.stack=(new Error).stack});return p.prototype=Object.create(Error.prototype),p.prototype.constructor=p,p}o.d(l,{d:()=>i})},5017:(Z,l,o)=>{"use strict";function i(a,f){return a.reduce((p,d,h)=>(p[d]=f[h],p),{})}o.d(l,{n:()=>i})},1685:(Z,l,o)=>{"use strict";o.d(l,{O:()=>p,x:()=>f});var i=o(6786);let a=null;function f(d){if(i.config.useDeprecatedSynchronousErrorHandling){const h=!a;if(h&&(a={errorThrown:!1,error:null}),d(),h){const{errorThrown:g,error:v}=a;if(a=null,g)throw v}}else d()}function p(d){i.config.useDeprecatedSynchronousErrorHandling&&a&&(a.errorThrown=!0,a.error=d)}},8382:(Z,l,o)=>{"use strict";function i(a,f,p,d=0,h=!1){const g=f.schedule(function(){p(),h?a.add(this.schedule(null,d)):this.unsubscribe()},d);if(a.add(g),!h)return g}o.d(l,{f:()=>i})},2390:(Z,l,o)=>{"use strict";function i(a){return a}o.d(l,{y:()=>i})},4936:(Z,l,o)=>{"use strict";o.d(l,{z:()=>i});const i=a=>a&&"number"==typeof a.length&&"function"!=typeof a},5e3:(Z,l,o)=>{"use strict";o.d(l,{D:()=>a});var i=o(3276);function a(f){return Symbol.asyncIterator&&(0,i.m)(f?.[Symbol.asyncIterator])}},3276:(Z,l,o)=>{"use strict";function i(a){return"function"==typeof a}o.d(l,{m:()=>i})},8620:(Z,l,o)=>{"use strict";o.d(l,{c:()=>f});var i=o(7878),a=o(3276);function f(p){return(0,a.m)(p[i.L])}},5074:(Z,l,o)=>{"use strict";o.d(l,{T:()=>f});var i=o(8279),a=o(3276);function f(p){return(0,a.m)(p?.[i.h])}},2753:(Z,l,o)=>{"use strict";o.d(l,{t:()=>a});var i=o(3276);function a(f){return(0,i.m)(f?.then)}},3130:(Z,l,o)=>{"use strict";o.d(l,{L:()=>p,Q:()=>f});var i=o(2970),a=o(3276);function f(d){return(0,i.__asyncGenerator)(this,arguments,function*(){const g=d.getReader();try{for(;;){const{value:v,done:m}=yield(0,i.__await)(g.read());if(m)return yield(0,i.__await)(void 0);yield yield(0,i.__await)(v)}}finally{g.releaseLock()}})}function p(d){return(0,a.m)(d?.getReader)}},3946:(Z,l,o)=>{"use strict";o.d(l,{K:()=>a});var i=o(3276);function a(f){return f&&(0,i.m)(f.schedule)}},4049:(Z,l,o)=>{"use strict";o.d(l,{A:()=>a,e:()=>f});var i=o(3276);function a(p){return(0,i.m)(p?.lift)}function f(p){return d=>{if(a(d))return d.lift(function(h){try{return p(h,this)}catch(g){this.error(g)}});throw new TypeError("Unable to lift unknown Observable type")}}},4574:(Z,l,o)=>{"use strict";o.d(l,{Z:()=>p});var i=o(8412);const{isArray:a}=Array;function p(d){return(0,i.U)(h=>function f(d,h){return a(h)?d(...h):d(h)}(d,h))}},1952:(Z,l,o)=>{"use strict";function i(){}o.d(l,{Z:()=>i})},5625:(Z,l,o)=>{"use strict";o.d(l,{h:()=>f});var i=o(6786),a=o(1296);function f(p){a.z.setTimeout(()=>{const{onUnhandledError:d}=i.config;if(!d)throw p;d(p)})}},1380:(Z,l,o)=>{"use strict";function i(a){return new TypeError(`You provided ${null!==a&&"object"==typeof a?"an invalid object":`'${a}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}o.d(l,{z:()=>i})},7156:Z=>{function l(i,a,f,p,d,h,g){try{var v=i[h](g),m=v.value}catch(u){return void f(u)}v.done?a(m):Promise.resolve(m).then(p,d)}Z.exports=function o(i){return function(){var a=this,f=arguments;return new Promise(function(p,d){var h=i.apply(a,f);function g(m){l(h,p,d,g,v,"next",m)}function v(m){l(h,p,d,g,v,"throw",m)}g(void 0)})}},Z.exports.__esModule=!0,Z.exports.default=Z.exports},2970:(Z,l,o)=>{"use strict";o.r(l),o.d(l,{__addDisposableResource:()=>Ye,__assign:()=>f,__asyncDelegator:()=>me,__asyncGenerator:()=>K,__asyncValues:()=>ae,__await:()=>X,__awaiter:()=>C,__classPrivateFieldGet:()=>We,__classPrivateFieldIn:()=>Ae,__classPrivateFieldSet:()=>ce,__createBinding:()=>S,__decorate:()=>d,__disposeResources:()=>ot,__esDecorate:()=>g,__exportStar:()=>H,__extends:()=>a,__generator:()=>M,__importDefault:()=>be,__importStar:()=>it,__makeTemplateObject:()=>te,__metadata:()=>b,__param:()=>h,__propKey:()=>m,__read:()=>N,__rest:()=>p,__runInitializers:()=>v,__setFunctionName:()=>u,__spread:()=>fe,__spreadArray:()=>oe,__spreadArrays:()=>z,__values:()=>j,default:()=>kt});var i=function(je,Ve){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ye,we){ye.__proto__=we}||function(ye,we){for(var ne in we)Object.prototype.hasOwnProperty.call(we,ne)&&(ye[ne]=we[ne])})(je,Ve)};function a(je,Ve){if("function"!=typeof Ve&&null!==Ve)throw new TypeError("Class extends value "+String(Ve)+" is not a constructor or null");function ye(){this.constructor=je}i(je,Ve),je.prototype=null===Ve?Object.create(Ve):(ye.prototype=Ve.prototype,new ye)}var f=function(){return f=Object.assign||function(Ve){for(var ye,we=1,ne=arguments.length;we<ne;we++)for(var B in ye=arguments[we])Object.prototype.hasOwnProperty.call(ye,B)&&(Ve[B]=ye[B]);return Ve},f.apply(this,arguments)};function p(je,Ve){var ye={};for(var we in je)Object.prototype.hasOwnProperty.call(je,we)&&Ve.indexOf(we)<0&&(ye[we]=je[we]);if(null!=je&&"function"==typeof Object.getOwnPropertySymbols){var ne=0;for(we=Object.getOwnPropertySymbols(je);ne<we.length;ne++)Ve.indexOf(we[ne])<0&&Object.prototype.propertyIsEnumerable.call(je,we[ne])&&(ye[we[ne]]=je[we[ne]])}return ye}function d(je,Ve,ye,we){var J,ne=arguments.length,B=ne<3?Ve:null===we?we=Object.getOwnPropertyDescriptor(Ve,ye):we;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)B=Reflect.decorate(je,Ve,ye,we);else for(var Ze=je.length-1;Ze>=0;Ze--)(J=je[Ze])&&(B=(ne<3?J(B):ne>3?J(Ve,ye,B):J(Ve,ye))||B);return ne>3&&B&&Object.defineProperty(Ve,ye,B),B}function h(je,Ve){return function(ye,we){Ve(ye,we,je)}}function g(je,Ve,ye,we,ne,B){function J(pt){if(void 0!==pt&&"function"!=typeof pt)throw new TypeError("Function expected");return pt}for(var Vt,Ze=we.kind,ct="getter"===Ze?"get":"setter"===Ze?"set":"value",Nt=!Ve&&je?we.static?je:je.prototype:null,Dt=Ve||(Nt?Object.getOwnPropertyDescriptor(Nt,we.name):{}),Fe=!1,ke=ye.length-1;ke>=0;ke--){var Ge={};for(var Ee in we)Ge[Ee]="access"===Ee?{}:we[Ee];for(var Ee in we.access)Ge.access[Ee]=we.access[Ee];Ge.addInitializer=function(pt){if(Fe)throw new TypeError("Cannot add initializers after decoration has completed");B.push(J(pt||null))};var Te=(0,ye[ke])("accessor"===Ze?{get:Dt.get,set:Dt.set}:Dt[ct],Ge);if("accessor"===Ze){if(void 0===Te)continue;if(null===Te||"object"!=typeof Te)throw new TypeError("Object expected");(Vt=J(Te.get))&&(Dt.get=Vt),(Vt=J(Te.set))&&(Dt.set=Vt),(Vt=J(Te.init))&&ne.unshift(Vt)}else(Vt=J(Te))&&("field"===Ze?ne.unshift(Vt):Dt[ct]=Vt)}Nt&&Object.defineProperty(Nt,we.name,Dt),Fe=!0}function v(je,Ve,ye){for(var we=arguments.length>2,ne=0;ne<Ve.length;ne++)ye=we?Ve[ne].call(je,ye):Ve[ne].call(je);return we?ye:void 0}function m(je){return"symbol"==typeof je?je:"".concat(je)}function u(je,Ve,ye){return"symbol"==typeof Ve&&(Ve=Ve.description?"[".concat(Ve.description,"]"):""),Object.defineProperty(je,"name",{configurable:!0,value:ye?"".concat(ye," ",Ve):Ve})}function b(je,Ve){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(je,Ve)}function C(je,Ve,ye,we){return new(ye||(ye=Promise))(function(B,J){function Ze(Dt){try{Nt(we.next(Dt))}catch(Vt){J(Vt)}}function ct(Dt){try{Nt(we.throw(Dt))}catch(Vt){J(Vt)}}function Nt(Dt){Dt.done?B(Dt.value):function ne(B){return B instanceof ye?B:new ye(function(J){J(B)})}(Dt.value).then(Ze,ct)}Nt((we=we.apply(je,Ve||[])).next())})}function M(je,Ve){var we,ne,B,J,ye={label:0,sent:function(){if(1&B[0])throw B[1];return B[1]},trys:[],ops:[]};return J={next:Ze(0),throw:Ze(1),return:Ze(2)},"function"==typeof Symbol&&(J[Symbol.iterator]=function(){return this}),J;function Ze(Nt){return function(Dt){return function ct(Nt){if(we)throw new TypeError("Generator is already executing.");for(;J&&(J=0,Nt[0]&&(ye=0)),ye;)try{if(we=1,ne&&(B=2&Nt[0]?ne.return:Nt[0]?ne.throw||((B=ne.return)&&B.call(ne),0):ne.next)&&!(B=B.call(ne,Nt[1])).done)return B;switch(ne=0,B&&(Nt=[2&Nt[0],B.value]),Nt[0]){case 0:case 1:B=Nt;break;case 4:return ye.label++,{value:Nt[1],done:!1};case 5:ye.label++,ne=Nt[1],Nt=[0];continue;case 7:Nt=ye.ops.pop(),ye.trys.pop();continue;default:if(!(B=(B=ye.trys).length>0&&B[B.length-1])&&(6===Nt[0]||2===Nt[0])){ye=0;continue}if(3===Nt[0]&&(!B||Nt[1]>B[0]&&Nt[1]<B[3])){ye.label=Nt[1];break}if(6===Nt[0]&&ye.label<B[1]){ye.label=B[1],B=Nt;break}if(B&&ye.label<B[2]){ye.label=B[2],ye.ops.push(Nt);break}B[2]&&ye.ops.pop(),ye.trys.pop();continue}Nt=Ve.call(je,ye)}catch(Dt){Nt=[6,Dt],ne=0}finally{we=B=0}if(5&Nt[0])throw Nt[1];return{value:Nt[0]?Nt[1]:void 0,done:!0}}([Nt,Dt])}}}var S=Object.create?function(je,Ve,ye,we){void 0===we&&(we=ye);var ne=Object.getOwnPropertyDescriptor(Ve,ye);(!ne||("get"in ne?!Ve.__esModule:ne.writable||ne.configurable))&&(ne={enumerable:!0,get:function(){return Ve[ye]}}),Object.defineProperty(je,we,ne)}:function(je,Ve,ye,we){void 0===we&&(we=ye),je[we]=Ve[ye]};function H(je,Ve){for(var ye in je)"default"!==ye&&!Object.prototype.hasOwnProperty.call(Ve,ye)&&S(Ve,je,ye)}function j(je){var Ve="function"==typeof Symbol&&Symbol.iterator,ye=Ve&&je[Ve],we=0;if(ye)return ye.call(je);if(je&&"number"==typeof je.length)return{next:function(){return je&&we>=je.length&&(je=void 0),{value:je&&je[we++],done:!je}}};throw new TypeError(Ve?"Object is not iterable.":"Symbol.iterator is not defined.")}function N(je,Ve){var ye="function"==typeof Symbol&&je[Symbol.iterator];if(!ye)return je;var ne,J,we=ye.call(je),B=[];try{for(;(void 0===Ve||Ve-- >0)&&!(ne=we.next()).done;)B.push(ne.value)}catch(Ze){J={error:Ze}}finally{try{ne&&!ne.done&&(ye=we.return)&&ye.call(we)}finally{if(J)throw J.error}}return B}function fe(){for(var je=[],Ve=0;Ve<arguments.length;Ve++)je=je.concat(N(arguments[Ve]));return je}function z(){for(var je=0,Ve=0,ye=arguments.length;Ve<ye;Ve++)je+=arguments[Ve].length;var we=Array(je),ne=0;for(Ve=0;Ve<ye;Ve++)for(var B=arguments[Ve],J=0,Ze=B.length;J<Ze;J++,ne++)we[ne]=B[J];return we}function oe(je,Ve,ye){if(ye||2===arguments.length)for(var B,we=0,ne=Ve.length;we<ne;we++)(B||!(we in Ve))&&(B||(B=Array.prototype.slice.call(Ve,0,we)),B[we]=Ve[we]);return je.concat(B||Array.prototype.slice.call(Ve))}function X(je){return this instanceof X?(this.v=je,this):new X(je)}function K(je,Ve,ye){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ne,we=ye.apply(je,Ve||[]),B=[];return ne={},J("next"),J("throw"),J("return"),ne[Symbol.asyncIterator]=function(){return this},ne;function J(Fe){we[Fe]&&(ne[Fe]=function(ke){return new Promise(function(Ge,Ee){B.push([Fe,ke,Ge,Ee])>1||Ze(Fe,ke)})})}function Ze(Fe,ke){try{!function ct(Fe){Fe.value instanceof X?Promise.resolve(Fe.value.v).then(Nt,Dt):Vt(B[0][2],Fe)}(we[Fe](ke))}catch(Ge){Vt(B[0][3],Ge)}}function Nt(Fe){Ze("next",Fe)}function Dt(Fe){Ze("throw",Fe)}function Vt(Fe,ke){Fe(ke),B.shift(),B.length&&Ze(B[0][0],B[0][1])}}function me(je){var Ve,ye;return Ve={},we("next"),we("throw",function(ne){throw ne}),we("return"),Ve[Symbol.iterator]=function(){return this},Ve;function we(ne,B){Ve[ne]=je[ne]?function(J){return(ye=!ye)?{value:X(je[ne](J)),done:!1}:B?B(J):J}:B}}function ae(je){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ye,Ve=je[Symbol.asyncIterator];return Ve?Ve.call(je):(je=j(je),ye={},we("next"),we("throw"),we("return"),ye[Symbol.asyncIterator]=function(){return this},ye);function we(B){ye[B]=je[B]&&function(J){return new Promise(function(Ze,ct){!function ne(B,J,Ze,ct){Promise.resolve(ct).then(function(Nt){B({value:Nt,done:Ze})},J)}(Ze,ct,(J=je[B](J)).done,J.value)})}}}function te(je,Ve){return Object.defineProperty?Object.defineProperty(je,"raw",{value:Ve}):je.raw=Ve,je}var pe=Object.create?function(je,Ve){Object.defineProperty(je,"default",{enumerable:!0,value:Ve})}:function(je,Ve){je.default=Ve};function it(je){if(je&&je.__esModule)return je;var Ve={};if(null!=je)for(var ye in je)"default"!==ye&&Object.prototype.hasOwnProperty.call(je,ye)&&S(Ve,je,ye);return pe(Ve,je),Ve}function be(je){return je&&je.__esModule?je:{default:je}}function We(je,Ve,ye,we){if("a"===ye&&!we)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof Ve?je!==Ve||!we:!Ve.has(je))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===ye?we:"a"===ye?we.call(je):we?we.value:Ve.get(je)}function ce(je,Ve,ye,we,ne){if("m"===we)throw new TypeError("Private method is not writable");if("a"===we&&!ne)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof Ve?je!==Ve||!ne:!Ve.has(je))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===we?ne.call(je,ye):ne?ne.value=ye:Ve.set(je,ye),ye}function Ae(je,Ve){if(null===Ve||"object"!=typeof Ve&&"function"!=typeof Ve)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof je?Ve===je:je.has(Ve)}function Ye(je,Ve,ye){if(null!=Ve){if("object"!=typeof Ve&&"function"!=typeof Ve)throw new TypeError("Object expected.");var we;if(ye){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");we=Ve[Symbol.asyncDispose]}if(void 0===we){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");we=Ve[Symbol.dispose]}if("function"!=typeof we)throw new TypeError("Object not disposable.");je.stack.push({value:Ve,dispose:we,async:ye})}else ye&&je.stack.push({async:!0});return Ve}var Qe="function"==typeof SuppressedError?SuppressedError:function(je,Ve,ye){var we=new Error(ye);return we.name="SuppressedError",we.error=je,we.suppressed=Ve,we};function ot(je){function Ve(we){je.error=je.hasError?new Qe(we,je.error,"An error was suppressed during disposal."):we,je.hasError=!0}return function ye(){for(;je.stack.length;){var we=je.stack.pop();try{var ne=we.dispose&&we.dispose.call(we.value);if(we.async)return Promise.resolve(ne).then(ye,function(B){return Ve(B),ye()})}catch(B){Ve(B)}}if(je.hasError)throw je.error}()}const kt={__extends:a,__assign:f,__rest:p,__decorate:d,__param:h,__metadata:b,__awaiter:C,__generator:M,__createBinding:S,__exportStar:H,__values:j,__read:N,__spread:fe,__spreadArrays:z,__spreadArray:oe,__await:X,__asyncGenerator:K,__asyncDelegator:me,__asyncValues:ae,__makeTemplateObject:te,__importStar:it,__importDefault:be,__classPrivateFieldGet:We,__classPrivateFieldSet:ce,__classPrivateFieldIn:Ae,__addDisposableResource:Ye,__disposeResources:ot}},6e3:(Z,l,o)=>{"use strict";o.d(l,{IO:()=>H,LC:()=>a,SB:()=>m,X$:()=>p,ZE:()=>fe,ZN:()=>N,_j:()=>i,eR:()=>b,jt:()=>d,k1:()=>z,l3:()=>f,oB:()=>v,pV:()=>M,ru:()=>h,vP:()=>g});class i{}class a{}const f="*";function p(oe,X){return{type:7,name:oe,definitions:X,options:{}}}function d(oe,X=null){return{type:4,styles:X,timings:oe}}function h(oe,X=null){return{type:3,steps:oe,options:X}}function g(oe,X=null){return{type:2,steps:oe,options:X}}function v(oe){return{type:6,styles:oe,offset:null}}function m(oe,X,K){return{type:0,name:oe,styles:X,options:K}}function b(oe,X,K=null){return{type:1,expr:oe,animation:X,options:K}}function M(oe=null){return{type:9,options:oe}}function H(oe,X,K=null){return{type:11,selector:oe,animation:X,options:K}}class N{constructor(X=0,K=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=X+K}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(X=>X()),this._onDoneFns=[])}onStart(X){this._originalOnStartFns.push(X),this._onStartFns.push(X)}onDone(X){this._originalOnDoneFns.push(X),this._onDoneFns.push(X)}onDestroy(X){this._onDestroyFns.push(X)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(X=>X()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(X=>X()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(X){this._position=this.totalTime?X*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(X){const K="start"==X?this._onStartFns:this._onDoneFns;K.forEach(me=>me()),K.length=0}}class fe{constructor(X){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=X;let K=0,me=0,ae=0;const te=this.players.length;0==te?queueMicrotask(()=>this._onFinish()):this.players.forEach(pe=>{pe.onDone(()=>{++K==te&&this._onFinish()}),pe.onDestroy(()=>{++me==te&&this._onDestroy()}),pe.onStart(()=>{++ae==te&&this._onStart()})}),this.totalTime=this.players.reduce((pe,it)=>Math.max(pe,it.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(X=>X()),this._onDoneFns=[])}init(){this.players.forEach(X=>X.init())}onStart(X){this._onStartFns.push(X)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(X=>X()),this._onStartFns=[])}onDone(X){this._onDoneFns.push(X)}onDestroy(X){this._onDestroyFns.push(X)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(X=>X.play())}pause(){this.players.forEach(X=>X.pause())}restart(){this.players.forEach(X=>X.restart())}finish(){this._onFinish(),this.players.forEach(X=>X.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(X=>X.destroy()),this._onDestroyFns.forEach(X=>X()),this._onDestroyFns=[])}reset(){this.players.forEach(X=>X.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(X){const K=X*this.totalTime;this.players.forEach(me=>{const ae=me.totalTime?Math.min(1,K/me.totalTime):1;me.setPosition(ae)})}getPosition(){const X=this.players.reduce((K,me)=>null===K||me.totalTime>K.totalTime?me:K,null);return null!=X?X.getPosition():0}beforeDestroy(){this.players.forEach(X=>{X.beforeDestroy&&X.beforeDestroy()})}triggerCallback(X){const K="start"==X?this._onStartFns:this._onDoneFns;K.forEach(me=>me()),K.length=0}}const z="!"},8654:(Z,l,o)=>{"use strict";o.d(l,{$s:()=>be,Em:()=>Qe,X6:()=>Y,ic:()=>kt,kH:()=>Tt,qV:()=>ke,qm:()=>pn,rt:()=>Dn,tE:()=>rt,yG:()=>_e});var i=o(9462),a=o(7786),f=o(3844),p=o(9453),d=o(9592),h=o(1625),g=o(9627),v=o(7605),m=o(4104),u=o(2067),b=o(1497),C=o(8412),M=o(3581),S=o(1800),H=o(4263),j=o(5779),N=o(5988),fe=o(8267),z=o(1108);function me(_t,et){return(_t.getAttribute(et)||"").match(/\S+/g)||[]}const te="cdk-describedby-message",pe="cdk-describedby-host";let it=0,be=(()=>{class _t{constructor(Ce,Be){this._platform=Be,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+it++,this._document=Ce,this._id=(0,a.inject)(a.APP_ID)+"-"+it++}describe(Ce,Be,ht){if(!this._canBeDescribed(Ce,Be))return;const Ot=We(Be,ht);"string"!=typeof Be?(ce(Be,this._id),this._messageRegistry.set(Ot,{messageElement:Be,referenceCount:0})):this._messageRegistry.has(Ot)||this._createMessageElement(Be,ht),this._isElementDescribedByMessage(Ce,Ot)||this._addMessageReference(Ce,Ot)}removeDescription(Ce,Be,ht){if(!Be||!this._isElementNode(Ce))return;const Ot=We(Be,ht);if(this._isElementDescribedByMessage(Ce,Ot)&&this._removeMessageReference(Ce,Ot),"string"==typeof Be){const Jt=this._messageRegistry.get(Ot);Jt&&0===Jt.referenceCount&&this._deleteMessageElement(Ot)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const Ce=this._document.querySelectorAll(`[${pe}="${this._id}"]`);for(let Be=0;Be<Ce.length;Be++)this._removeCdkDescribedByReferenceIds(Ce[Be]),Ce[Be].removeAttribute(pe);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(Ce,Be){const ht=this._document.createElement("div");ce(ht,this._id),ht.textContent=Ce,Be&&ht.setAttribute("role",Be),this._createMessagesContainer(),this._messagesContainer.appendChild(ht),this._messageRegistry.set(We(Ce,Be),{messageElement:ht,referenceCount:0})}_deleteMessageElement(Ce){this._messageRegistry.get(Ce)?.messageElement?.remove(),this._messageRegistry.delete(Ce)}_createMessagesContainer(){if(this._messagesContainer)return;const Ce="cdk-describedby-message-container",Be=this._document.querySelectorAll(`.${Ce}[platform="server"]`);for(let Ot=0;Ot<Be.length;Ot++)Be[Ot].remove();const ht=this._document.createElement("div");ht.style.visibility="hidden",ht.classList.add(Ce),ht.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&ht.setAttribute("platform","server"),this._document.body.appendChild(ht),this._messagesContainer=ht}_removeCdkDescribedByReferenceIds(Ce){const Be=me(Ce,"aria-describedby").filter(ht=>0!=ht.indexOf(te));Ce.setAttribute("aria-describedby",Be.join(" "))}_addMessageReference(Ce,Be){const ht=this._messageRegistry.get(Be);(function X(_t,et,Ce){const Be=me(_t,et);Be.some(ht=>ht.trim()==Ce.trim())||(Be.push(Ce.trim()),_t.setAttribute(et,Be.join(" ")))})(Ce,"aria-describedby",ht.messageElement.id),Ce.setAttribute(pe,this._id),ht.referenceCount++}_removeMessageReference(Ce,Be){const ht=this._messageRegistry.get(Be);ht.referenceCount--,function K(_t,et,Ce){const ht=me(_t,et).filter(Ot=>Ot!=Ce.trim());ht.length?_t.setAttribute(et,ht.join(" ")):_t.removeAttribute(et)}(Ce,"aria-describedby",ht.messageElement.id),Ce.removeAttribute(pe)}_isElementDescribedByMessage(Ce,Be){const ht=me(Ce,"aria-describedby"),Ot=this._messageRegistry.get(Be),Jt=Ot&&Ot.messageElement.id;return!!Jt&&-1!=ht.indexOf(Jt)}_canBeDescribed(Ce,Be){if(!this._isElementNode(Ce))return!1;if(Be&&"object"==typeof Be)return!0;const ht=null==Be?"":`${Be}`.trim(),Ot=Ce.getAttribute("aria-label");return!(!ht||Ot&&Ot.trim()===ht)}_isElementNode(Ce){return Ce.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(Be){return new(Be||_t)(a.\u0275\u0275inject(i.DOCUMENT),a.\u0275\u0275inject(f.t4))};static#t=this.\u0275prov=a.\u0275\u0275defineInjectable({token:_t,factory:_t.\u0275fac,providedIn:"root"})}return _t})();function We(_t,et){return"string"==typeof _t?`${et||""}/${_t}`:_t}function ce(_t,et){_t.id||(_t.id=`${te}-${et}-${it++}`)}class Ae{constructor(et){this._items=et,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new p.x,this._typeaheadSubscription=d.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=Ce=>Ce.disabled,this._pressedLetters=[],this.tabOut=new p.x,this.change=new p.x,et instanceof a.QueryList&&(this._itemChangesSubscription=et.changes.subscribe(Ce=>{if(this._activeItem){const ht=Ce.toArray().indexOf(this._activeItem);ht>-1&&ht!==this._activeItemIndex&&(this._activeItemIndex=ht)}}))}skipPredicate(et){return this._skipPredicateFn=et,this}withWrap(et=!0){return this._wrap=et,this}withVerticalOrientation(et=!0){return this._vertical=et,this}withHorizontalOrientation(et){return this._horizontal=et,this}withAllowedModifierKeys(et){return this._allowedModifierKeys=et,this}withTypeAhead(et=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,m.b)(Ce=>this._pressedLetters.push(Ce)),(0,u.b)(et),(0,b.h)(()=>this._pressedLetters.length>0),(0,C.U)(()=>this._pressedLetters.join(""))).subscribe(Ce=>{const Be=this._getItemsArray();for(let ht=1;ht<Be.length+1;ht++){const Ot=(this._activeItemIndex+ht)%Be.length,Jt=Be[Ot];if(!this._skipPredicateFn(Jt)&&0===Jt.getLabel().toUpperCase().trim().indexOf(Ce)){this.setActiveItem(Ot);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(et=!0){return this._homeAndEnd=et,this}withPageUpDown(et=!0,Ce=10){return this._pageUpAndDown={enabled:et,delta:Ce},this}setActiveItem(et){const Ce=this._activeItem;this.updateActiveItem(et),this._activeItem!==Ce&&this.change.next(this._activeItemIndex)}onKeydown(et){const Ce=et.keyCode,ht=["altKey","ctrlKey","metaKey","shiftKey"].every(Ot=>!et[Ot]||this._allowedModifierKeys.indexOf(Ot)>-1);switch(Ce){case v.Mf:return void this.tabOut.next();case v.JH:if(this._vertical&&ht){this.setNextItemActive();break}return;case v.LH:if(this._vertical&&ht){this.setPreviousItemActive();break}return;case v.SV:if(this._horizontal&&ht){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case v.oh:if(this._horizontal&&ht){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case v.Sd:if(this._homeAndEnd&&ht){this.setFirstItemActive();break}return;case v.uR:if(this._homeAndEnd&&ht){this.setLastItemActive();break}return;case v.Ku:if(this._pageUpAndDown.enabled&&ht){const Ot=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(Ot>0?Ot:0,1);break}return;case v.VM:if(this._pageUpAndDown.enabled&&ht){const Ot=this._activeItemIndex+this._pageUpAndDown.delta,Jt=this._getItemsArray().length;this._setActiveItemByIndex(Ot<Jt?Ot:Jt-1,-1);break}return;default:return void((ht||(0,v.Vb)(et,"shiftKey"))&&(et.key&&1===et.key.length?this._letterKeyStream.next(et.key.toLocaleUpperCase()):(Ce>=v.A&&Ce<=v.Z||Ce>=v.xE&&Ce<=v.aO)&&this._letterKeyStream.next(String.fromCharCode(Ce))))}this._pressedLetters=[],et.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(et){const Ce=this._getItemsArray(),Be="number"==typeof et?et:Ce.indexOf(et);this._activeItem=Ce[Be]??null,this._activeItemIndex=Be}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(et){this._wrap?this._setActiveInWrapMode(et):this._setActiveInDefaultMode(et)}_setActiveInWrapMode(et){const Ce=this._getItemsArray();for(let Be=1;Be<=Ce.length;Be++){const ht=(this._activeItemIndex+et*Be+Ce.length)%Ce.length;if(!this._skipPredicateFn(Ce[ht]))return void this.setActiveItem(ht)}}_setActiveInDefaultMode(et){this._setActiveItemByIndex(this._activeItemIndex+et,et)}_setActiveItemByIndex(et,Ce){const Be=this._getItemsArray();if(Be[et]){for(;this._skipPredicateFn(Be[et]);)if(!Be[et+=Ce])return;this.setActiveItem(et)}}_getItemsArray(){return this._items instanceof a.QueryList?this._items.toArray():this._items}}class Qe extends Ae{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(et){return this._origin=et,this}setActiveItem(et){super.setActiveItem(et),this.activeItem&&this.activeItem.focus(this._origin)}}let kt=(()=>{class _t{constructor(Ce){this._platform=Ce}isDisabled(Ce){return Ce.hasAttribute("disabled")}isVisible(Ce){return function Ve(_t){return!!(_t.offsetWidth||_t.offsetHeight||"function"==typeof _t.getClientRects&&_t.getClientRects().length)}(Ce)&&"visible"===getComputedStyle(Ce).visibility}isTabbable(Ce){if(!this._platform.isBrowser)return!1;const Be=function je(_t){try{return _t.frameElement}catch{return null}}(function Vt(_t){return _t.ownerDocument&&_t.ownerDocument.defaultView||window}(Ce));if(Be&&(-1===ct(Be)||!this.isVisible(Be)))return!1;let ht=Ce.nodeName.toLowerCase(),Ot=ct(Ce);return Ce.hasAttribute("contenteditable")?-1!==Ot:!("iframe"===ht||"object"===ht||this._platform.WEBKIT&&this._platform.IOS&&!function Nt(_t){let et=_t.nodeName.toLowerCase(),Ce="input"===et&&_t.type;return"text"===Ce||"password"===Ce||"select"===et||"textarea"===et}(Ce))&&("audio"===ht?!!Ce.hasAttribute("controls")&&-1!==Ot:"video"===ht?-1!==Ot&&(null!==Ot||this._platform.FIREFOX||Ce.hasAttribute("controls")):Ce.tabIndex>=0)}isFocusable(Ce,Be){return function Dt(_t){return!function we(_t){return function B(_t){return"input"==_t.nodeName.toLowerCase()}(_t)&&"hidden"==_t.type}(_t)&&(function ye(_t){let et=_t.nodeName.toLowerCase();return"input"===et||"select"===et||"button"===et||"textarea"===et}(_t)||function ne(_t){return function J(_t){return"a"==_t.nodeName.toLowerCase()}(_t)&&_t.hasAttribute("href")}(_t)||_t.hasAttribute("contenteditable")||Ze(_t))}(Ce)&&!this.isDisabled(Ce)&&(Be?.ignoreVisibility||this.isVisible(Ce))}static#e=this.\u0275fac=function(Be){return new(Be||_t)(a.\u0275\u0275inject(f.t4))};static#t=this.\u0275prov=a.\u0275\u0275defineInjectable({token:_t,factory:_t.\u0275fac,providedIn:"root"})}return _t})();function Ze(_t){if(!_t.hasAttribute("tabindex")||void 0===_t.tabIndex)return!1;let et=_t.getAttribute("tabindex");return!(!et||isNaN(parseInt(et,10)))}function ct(_t){if(!Ze(_t))return null;const et=parseInt(_t.getAttribute("tabindex")||"",10);return isNaN(et)?-1:et}class Fe{get enabled(){return this._enabled}set enabled(et){this._enabled=et,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(et,this._startAnchor),this._toggleAnchorTabIndex(et,this._endAnchor))}constructor(et,Ce,Be,ht,Ot=!1){this._element=et,this._checker=Ce,this._ngZone=Be,this._document=ht,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Ot||this.attachAnchors()}destroy(){const et=this._startAnchor,Ce=this._endAnchor;et&&(et.removeEventListener("focus",this.startAnchorListener),et.remove()),Ce&&(Ce.removeEventListener("focus",this.endAnchorListener),Ce.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(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(et){return new Promise(Ce=>{this._executeOnStable(()=>Ce(this.focusInitialElement(et)))})}focusFirstTabbableElementWhenReady(et){return new Promise(Ce=>{this._executeOnStable(()=>Ce(this.focusFirstTabbableElement(et)))})}focusLastTabbableElementWhenReady(et){return new Promise(Ce=>{this._executeOnStable(()=>Ce(this.focusLastTabbableElement(et)))})}_getRegionBoundary(et){const Ce=this._element.querySelectorAll(`[cdk-focus-region-${et}], [cdkFocusRegion${et}], [cdk-focus-${et}]`);return"start"==et?Ce.length?Ce[0]:this._getFirstTabbableElement(this._element):Ce.length?Ce[Ce.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(et){const Ce=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Ce){if(!this._checker.isFocusable(Ce)){const Be=this._getFirstTabbableElement(Ce);return Be?.focus(et),!!Be}return Ce.focus(et),!0}return this.focusFirstTabbableElement(et)}focusFirstTabbableElement(et){const Ce=this._getRegionBoundary("start");return Ce&&Ce.focus(et),!!Ce}focusLastTabbableElement(et){const Ce=this._getRegionBoundary("end");return Ce&&Ce.focus(et),!!Ce}hasAttached(){return this._hasAttached}_getFirstTabbableElement(et){if(this._checker.isFocusable(et)&&this._checker.isTabbable(et))return et;const Ce=et.children;for(let Be=0;Be<Ce.length;Be++){const ht=Ce[Be].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(Ce[Be]):null;if(ht)return ht}return null}_getLastTabbableElement(et){if(this._checker.isFocusable(et)&&this._checker.isTabbable(et))return et;const Ce=et.children;for(let Be=Ce.length-1;Be>=0;Be--){const ht=Ce[Be].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Ce[Be]):null;if(ht)return ht}return null}_createAnchor(){const et=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,et),et.classList.add("cdk-visually-hidden"),et.classList.add("cdk-focus-trap-anchor"),et.setAttribute("aria-hidden","true"),et}_toggleAnchorTabIndex(et,Ce){et?Ce.setAttribute("tabindex","0"):Ce.removeAttribute("tabindex")}toggleAnchors(et){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(et,this._startAnchor),this._toggleAnchorTabIndex(et,this._endAnchor))}_executeOnStable(et){this._ngZone.isStable?et():this._ngZone.onStable.pipe((0,M.q)(1)).subscribe(et)}}let ke=(()=>{class _t{constructor(Ce,Be,ht){this._checker=Ce,this._ngZone=Be,this._document=ht}create(Ce,Be=!1){return new Fe(Ce,this._checker,this._ngZone,this._document,Be)}static#e=this.\u0275fac=function(Be){return new(Be||_t)(a.\u0275\u0275inject(kt),a.\u0275\u0275inject(a.NgZone),a.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=a.\u0275\u0275defineInjectable({token:_t,factory:_t.\u0275fac,providedIn:"root"})}return _t})();function Y(_t){return 0===_t.buttons||0===_t.offsetX&&0===_t.offsetY}function _e(_t){const et=_t.touches&&_t.touches[0]||_t.changedTouches&&_t.changedTouches[0];return!(!et||-1!==et.identifier||null!=et.radiusX&&1!==et.radiusX||null!=et.radiusY&&1!==et.radiusY)}const Ie=new a.InjectionToken("cdk-input-modality-detector-options"),st={ignoreKeys:[v.zL,v.jx,v.b2,v.MW,v.JU]},Ct=(0,f.i$)({passive:!0,capture:!0});let Wt=(()=>{class _t{get mostRecentModality(){return this._modality.value}constructor(Ce,Be,ht,Ot){this._platform=Ce,this._mostRecentTarget=null,this._modality=new h.X(null),this._lastTouchMs=0,this._onKeydown=Jt=>{this._options?.ignoreKeys?.some(lt=>lt===Jt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,f.sA)(Jt))},this._onMousedown=Jt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Y(Jt)?"keyboard":"mouse"),this._mostRecentTarget=(0,f.sA)(Jt))},this._onTouchstart=Jt=>{_e(Jt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,f.sA)(Jt))},this._options={...st,...Ot},this.modalityDetected=this._modality.pipe((0,S.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,H.x)()),Ce.isBrowser&&Be.runOutsideAngular(()=>{ht.addEventListener("keydown",this._onKeydown,Ct),ht.addEventListener("mousedown",this._onMousedown,Ct),ht.addEventListener("touchstart",this._onTouchstart,Ct)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ct),document.removeEventListener("mousedown",this._onMousedown,Ct),document.removeEventListener("touchstart",this._onTouchstart,Ct))}static#e=this.\u0275fac=function(Be){return new(Be||_t)(a.\u0275\u0275inject(f.t4),a.\u0275\u0275inject(a.NgZone),a.\u0275\u0275inject(i.DOCUMENT),a.\u0275\u0275inject(Ie,8))};static#t=this.\u0275prov=a.\u0275\u0275defineInjectable({token:_t,factory:_t.\u0275fac,providedIn:"root"})}return _t})();const ee=new a.InjectionToken("cdk-focus-monitor-default-options"),ge=(0,f.i$)({passive:!0,capture:!0});let rt=(()=>{class _t{constructor(Ce,Be,ht,Ot,Jt){this._ngZone=Ce,this._platform=Be,this._inputModalityDetector=ht,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new p.x,this._rootNodeFocusAndBlurListener=lt=>{for(let L=(0,f.sA)(lt);L;L=L.parentElement)"focus"===lt.type?this._onFocus(lt,L):this._onBlur(lt,L)},this._document=Ot,this._detectionMode=Jt?.detectionMode||0}monitor(Ce,Be=!1){const ht=(0,N.fI)(Ce);if(!this._platform.isBrowser||1!==ht.nodeType)return(0,g.of)();const Ot=(0,f.kV)(ht)||this._getDocument(),Jt=this._elementInfo.get(ht);if(Jt)return Be&&(Jt.checkChildren=!0),Jt.subject;const lt={checkChildren:Be,subject:new p.x,rootNode:Ot};return this._elementInfo.set(ht,lt),this._registerGlobalListeners(lt),lt.subject}stopMonitoring(Ce){const Be=(0,N.fI)(Ce),ht=this._elementInfo.get(Be);ht&&(ht.subject.complete(),this._setClasses(Be),this._elementInfo.delete(Be),this._removeGlobalListeners(ht))}focusVia(Ce,Be,ht){const Ot=(0,N.fI)(Ce);Ot===this._getDocument().activeElement?this._getClosestElementsInfo(Ot).forEach(([lt,ue])=>this._originChanged(lt,Be,ue)):(this._setOrigin(Be),"function"==typeof Ot.focus&&Ot.focus(ht))}ngOnDestroy(){this._elementInfo.forEach((Ce,Be)=>this.stopMonitoring(Be))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(Ce){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Ce)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:Ce&&this._isLastInteractionFromInputLabel(Ce)?"mouse":"program"}_shouldBeAttributedToTouch(Ce){return 1===this._detectionMode||!!Ce?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(Ce,Be){Ce.classList.toggle("cdk-focused",!!Be),Ce.classList.toggle("cdk-touch-focused","touch"===Be),Ce.classList.toggle("cdk-keyboard-focused","keyboard"===Be),Ce.classList.toggle("cdk-mouse-focused","mouse"===Be),Ce.classList.toggle("cdk-program-focused","program"===Be)}_setOrigin(Ce,Be=!1){this._ngZone.runOutsideAngular(()=>{this._origin=Ce,this._originFromTouchInteraction="touch"===Ce&&Be,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(Ce,Be){const ht=this._elementInfo.get(Be),Ot=(0,f.sA)(Ce);!ht||!ht.checkChildren&&Be!==Ot||this._originChanged(Be,this._getFocusOrigin(Ot),ht)}_onBlur(Ce,Be){const ht=this._elementInfo.get(Be);!ht||ht.checkChildren&&Ce.relatedTarget instanceof Node&&Be.contains(Ce.relatedTarget)||(this._setClasses(Be),this._emitOrigin(ht,null))}_emitOrigin(Ce,Be){Ce.subject.observers.length&&this._ngZone.run(()=>Ce.subject.next(Be))}_registerGlobalListeners(Ce){if(!this._platform.isBrowser)return;const Be=Ce.rootNode,ht=this._rootNodeFocusListenerCount.get(Be)||0;ht||this._ngZone.runOutsideAngular(()=>{Be.addEventListener("focus",this._rootNodeFocusAndBlurListener,ge),Be.addEventListener("blur",this._rootNodeFocusAndBlurListener,ge)}),this._rootNodeFocusListenerCount.set(Be,ht+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,j.R)(this._stopInputModalityDetector)).subscribe(Ot=>{this._setOrigin(Ot,!0)}))}_removeGlobalListeners(Ce){const Be=Ce.rootNode;if(this._rootNodeFocusListenerCount.has(Be)){const ht=this._rootNodeFocusListenerCount.get(Be);ht>1?this._rootNodeFocusListenerCount.set(Be,ht-1):(Be.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ge),Be.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ge),this._rootNodeFocusListenerCount.delete(Be))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Ce,Be,ht){this._setClasses(Ce,Be),this._emitOrigin(ht,Be),this._lastFocusOrigin=Be}_getClosestElementsInfo(Ce){const Be=[];return this._elementInfo.forEach((ht,Ot)=>{(Ot===Ce||ht.checkChildren&&Ot.contains(Ce))&&Be.push([Ot,ht])}),Be}_isLastInteractionFromInputLabel(Ce){const{_mostRecentTarget:Be,mostRecentModality:ht}=this._inputModalityDetector;if("mouse"!==ht||!Be||Be===Ce||"INPUT"!==Ce.nodeName&&"TEXTAREA"!==Ce.nodeName||Ce.disabled)return!1;const Ot=Ce.labels;if(Ot)for(let Jt=0;Jt<Ot.length;Jt++)if(Ot[Jt].contains(Be))return!0;return!1}static#e=this.\u0275fac=function(Be){return new(Be||_t)(a.\u0275\u0275inject(a.NgZone),a.\u0275\u0275inject(f.t4),a.\u0275\u0275inject(Wt),a.\u0275\u0275inject(i.DOCUMENT,8),a.\u0275\u0275inject(ee,8))};static#t=this.\u0275prov=a.\u0275\u0275defineInjectable({token:_t,factory:_t.\u0275fac,providedIn:"root"})}return _t})(),Tt=(()=>{class _t{constructor(Ce,Be){this._elementRef=Ce,this._focusMonitor=Be,this._focusOrigin=null,this.cdkFocusChange=new a.EventEmitter}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const Ce=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(Ce,1===Ce.nodeType&&Ce.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Be=>{this._focusOrigin=Be,this.cdkFocusChange.emit(Be)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(Be){return new(Be||_t)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(rt))};static#t=this.\u0275dir=a.\u0275\u0275defineDirective({type:_t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return _t})();const Ft="cdk-high-contrast-black-on-white",qt="cdk-high-contrast-white-on-black",ln="cdk-high-contrast-active";let pn=(()=>{class _t{constructor(Ce,Be){this._platform=Ce,this._document=Be,this._breakpointSubscription=(0,a.inject)(z.BreakpointObserver).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const Ce=this._document.createElement("div");Ce.style.backgroundColor="rgb(1,2,3)",Ce.style.position="absolute",this._document.body.appendChild(Ce);const Be=this._document.defaultView||window,ht=Be&&Be.getComputedStyle?Be.getComputedStyle(Ce):null,Ot=(ht&&ht.backgroundColor||"").replace(/ /g,"");switch(Ce.remove(),Ot){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const Ce=this._document.body.classList;Ce.remove(ln,Ft,qt),this._hasCheckedHighContrastMode=!0;const Be=this.getHighContrastMode();1===Be?Ce.add(ln,Ft):2===Be&&Ce.add(ln,qt)}}static#e=this.\u0275fac=function(Be){return new(Be||_t)(a.\u0275\u0275inject(f.t4),a.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=a.\u0275\u0275defineInjectable({token:_t,factory:_t.\u0275fac,providedIn:"root"})}return _t})(),Dn=(()=>{class _t{constructor(Ce){Ce._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(Be){return new(Be||_t)(a.\u0275\u0275inject(pn))};static#t=this.\u0275mod=a.\u0275\u0275defineNgModule({type:_t});static#n=this.\u0275inj=a.\u0275\u0275defineInjector({imports:[fe.Q8]})}return _t})()},4877:(Z,l,o)=>{"use strict";o.d(l,{Is:()=>g,vT:()=>m});var i=o(7786),a=o(9462);const f=new i.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function p(){return(0,i.inject)(a.DOCUMENT)}}),d=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let g=(()=>{class u{constructor(C){this.value="ltr",this.change=new i.EventEmitter,C&&(this.value=function h(u){const b=u?.toLowerCase()||"";return"auto"===b&&typeof navigator<"u"&&navigator?.language?d.test(navigator.language)?"rtl":"ltr":"rtl"===b?"rtl":"ltr"}((C.body?C.body.dir:null)||(C.documentElement?C.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(M){return new(M||u)(i.\u0275\u0275inject(f,8))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})(),m=(()=>{class u{static#e=this.\u0275fac=function(M){return new(M||u)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:u});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({})}return u})()},5988:(Z,l,o)=>{"use strict";o.d(l,{Eq:()=>d,HM:()=>h,Ig:()=>a,fI:()=>g,su:()=>f,t6:()=>p});var i=o(7786);function a(m){return null!=m&&"false"!=`${m}`}function f(m,u=0){return p(m)?Number(m):u}function p(m){return!isNaN(parseFloat(m))&&!isNaN(Number(m))}function d(m){return Array.isArray(m)?m:[m]}function h(m){return null==m?"":"string"==typeof m?m:`${m}px`}function g(m){return m instanceof i.ElementRef?m.nativeElement:m}},7605:(Z,l,o)=>{"use strict";o.d(l,{A:()=>we,JH:()=>oe,JU:()=>h,K5:()=>d,Ku:()=>M,LH:()=>fe,L_:()=>C,MW:()=>Zt,Mf:()=>f,SV:()=>z,Sd:()=>j,VM:()=>S,Vb:()=>U,Z:()=>Qt,ZH:()=>a,aO:()=>ot,b2:()=>nt,hY:()=>b,jx:()=>g,oh:()=>N,uR:()=>H,xE:()=>te,yY:()=>ae,zL:()=>v});const a=8,f=9,d=13,h=16,g=17,v=18,b=27,C=32,M=33,S=34,H=35,j=36,N=37,fe=38,z=39,oe=40,ae=46,te=48,ot=57,we=65,Qt=90,Zt=91,nt=224;function U(se,...$){return $.length?$.some($e=>se[$e]):se.altKey||se.shiftKey||se.ctrlKey||se.metaKey}},1108:(Z,l,o)=>{"use strict";o.r(l),o.d(l,{BreakpointObserver:()=>oe,Breakpoints:()=>K,LayoutModule:()=>S,MediaMatcher:()=>N});var i=o(7786),a=o(5988),f=o(9453),p=o(8791),d=o(9925),h=o(7371),g=o(3581),v=o(1800),m=o(2067),u=o(8412),b=o(19),C=o(5779),M=o(3844);let S=(()=>{class me{static#e=this.\u0275fac=function(pe){return new(pe||me)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:me});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({})}return me})();const H=new Set;let j,N=(()=>{class me{constructor(te,pe){this._platform=te,this._nonce=pe,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):z}matchMedia(te){return(this._platform.WEBKIT||this._platform.BLINK)&&function fe(me,ae){if(!H.has(me))try{j||(j=document.createElement("style"),ae&&(j.nonce=ae),j.setAttribute("type","text/css"),document.head.appendChild(j)),j.sheet&&(j.sheet.insertRule(`@media ${me} {body{ }}`,0),H.add(me))}catch(te){console.error(te)}}(te,this._nonce),this._matchMedia(te)}static#e=this.\u0275fac=function(pe){return new(pe||me)(i.\u0275\u0275inject(M.t4),i.\u0275\u0275inject(i.CSP_NONCE,8))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})();function z(me){return{matches:"all"===me||""===me,media:me,addListener:()=>{},removeListener:()=>{}}}let oe=(()=>{class me{constructor(te,pe){this._mediaMatcher=te,this._zone=pe,this._queries=new Map,this._destroySubject=new f.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(te){return X((0,a.Eq)(te)).some(it=>this._registerQuery(it).mql.matches)}observe(te){const it=X((0,a.Eq)(te)).map(We=>this._registerQuery(We).observable);let be=(0,p.a)(it);return be=(0,d.z)(be.pipe((0,g.q)(1)),be.pipe((0,v.T)(1),(0,m.b)(0))),be.pipe((0,u.U)(We=>{const ce={matches:!1,breakpoints:{}};return We.forEach(({matches:Ae,query:Ye})=>{ce.matches=ce.matches||Ae,ce.breakpoints[Ye]=Ae}),ce}))}_registerQuery(te){if(this._queries.has(te))return this._queries.get(te);const pe=this._mediaMatcher.matchMedia(te),be={observable:new h.y(We=>{const ce=Ae=>this._zone.run(()=>We.next(Ae));return pe.addListener(ce),()=>{pe.removeListener(ce)}}).pipe((0,b.O)(pe),(0,u.U)(({matches:We})=>({query:te,matches:We})),(0,C.R)(this._destroySubject)),mql:pe};return this._queries.set(te,be),be}static#e=this.\u0275fac=function(pe){return new(pe||me)(i.\u0275\u0275inject(N),i.\u0275\u0275inject(i.NgZone))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})();function X(me){return me.map(ae=>ae.split(",")).reduce((ae,te)=>ae.concat(te)).map(ae=>ae.trim())}const K={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},8267:(Z,l,o)=>{"use strict";o.d(l,{Q8:()=>m,wD:()=>v});var i=o(5988),a=o(7786),f=o(7371),p=o(9453),d=o(2067);let h=(()=>{class u{create(C){return typeof MutationObserver>"u"?null:new MutationObserver(C)}static#e=this.\u0275fac=function(M){return new(M||u)};static#t=this.\u0275prov=a.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})(),g=(()=>{class u{constructor(C){this._mutationObserverFactory=C,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((C,M)=>this._cleanupObserver(M))}observe(C){const M=(0,i.fI)(C);return new f.y(S=>{const j=this._observeElement(M).subscribe(S);return()=>{j.unsubscribe(),this._unobserveElement(M)}})}_observeElement(C){if(this._observedElements.has(C))this._observedElements.get(C).count++;else{const M=new p.x,S=this._mutationObserverFactory.create(H=>M.next(H));S&&S.observe(C,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(C,{observer:S,stream:M,count:1})}return this._observedElements.get(C).stream}_unobserveElement(C){this._observedElements.has(C)&&(this._observedElements.get(C).count--,this._observedElements.get(C).count||this._cleanupObserver(C))}_cleanupObserver(C){if(this._observedElements.has(C)){const{observer:M,stream:S}=this._observedElements.get(C);M&&M.disconnect(),S.complete(),this._observedElements.delete(C)}}static#e=this.\u0275fac=function(M){return new(M||u)(a.\u0275\u0275inject(h))};static#t=this.\u0275prov=a.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})(),v=(()=>{class u{get disabled(){return this._disabled}set disabled(C){this._disabled=(0,i.Ig)(C),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(C){this._debounce=(0,i.su)(C),this._subscribe()}constructor(C,M,S){this._contentObserver=C,this._elementRef=M,this._ngZone=S,this.event=new a.EventEmitter,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const C=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?C.pipe((0,d.b)(this.debounce)):C).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(M){return new(M||u)(a.\u0275\u0275directiveInject(g),a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.NgZone))};static#t=this.\u0275dir=a.\u0275\u0275defineDirective({type:u,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return u})(),m=(()=>{class u{static#e=this.\u0275fac=function(M){return new(M||u)};static#t=this.\u0275mod=a.\u0275\u0275defineNgModule({type:u});static#n=this.\u0275inj=a.\u0275\u0275defineInjector({providers:[h]})}return u})()},9292:(Z,l,o)=>{"use strict";o.d(l,{Iu:()=>Qe,U8:()=>pt,X_:()=>me,Xj:()=>Ye,aV:()=>Dt});var i=o(9467),a=o(9462),f=o(7786),p=o(5988),d=o(3844),h=o(1497),g=o(3581),v=o(5779),m=o(4877),u=o(6512),b=o(9453),C=o(9592),M=o(4991);const S=(0,d.Mq)();class H{constructor(Y,_e){this._viewportRuler=Y,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=_e}attach(){}enable(){if(this._canBeEnabled()){const Y=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=Y.style.left||"",this._previousHTMLStyles.top=Y.style.top||"",Y.style.left=(0,p.HM)(-this._previousScrollPosition.left),Y.style.top=(0,p.HM)(-this._previousScrollPosition.top),Y.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const Y=this._document.documentElement,Ie=Y.style,st=this._document.body.style,tt=Ie.scrollBehavior||"",Ct=st.scrollBehavior||"";this._isEnabled=!1,Ie.left=this._previousHTMLStyles.left,Ie.top=this._previousHTMLStyles.top,Y.classList.remove("cdk-global-scrollblock"),S&&(Ie.scrollBehavior=st.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),S&&(Ie.scrollBehavior=tt,st.scrollBehavior=Ct)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const _e=this._document.body,Ie=this._viewportRuler.getViewportSize();return _e.scrollHeight>Ie.height||_e.scrollWidth>Ie.width}}class N{constructor(Y,_e,Ie,st){this._scrollDispatcher=Y,this._ngZone=_e,this._viewportRuler=Ie,this._config=st,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(Y){this._overlayRef=Y}enable(){if(this._scrollSubscription)return;const Y=this._scrollDispatcher.scrolled(0).pipe((0,h.h)(_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=Y.subscribe(()=>{const _e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(_e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=Y.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class fe{enable(){}disable(){}attach(){}}function z(qe,Y){return Y.some(_e=>qe.bottom<_e.top||qe.top>_e.bottom||qe.right<_e.left||qe.left>_e.right)}function oe(qe,Y){return Y.some(_e=>qe.top<_e.top||qe.bottom>_e.bottom||qe.left<_e.left||qe.right>_e.right)}class X{constructor(Y,_e,Ie,st){this._scrollDispatcher=Y,this._viewportRuler=_e,this._ngZone=Ie,this._config=st,this._scrollSubscription=null}attach(Y){this._overlayRef=Y}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const _e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Ie,height:st}=this._viewportRuler.getViewportSize();z(_e,[{width:Ie,height:st,bottom:st,right:Ie,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}}let K=(()=>{class qe{constructor(_e,Ie,st,tt){this._scrollDispatcher=_e,this._viewportRuler=Ie,this._ngZone=st,this.noop=()=>new fe,this.close=Ct=>new N(this._scrollDispatcher,this._ngZone,this._viewportRuler,Ct),this.block=()=>new H(this._viewportRuler,this._document),this.reposition=Ct=>new X(this._scrollDispatcher,this._viewportRuler,this._ngZone,Ct),this._document=tt}static#e=this.\u0275fac=function(Ie){return new(Ie||qe)(f.\u0275\u0275inject(i.mF),f.\u0275\u0275inject(i.rL),f.\u0275\u0275inject(f.NgZone),f.\u0275\u0275inject(a.DOCUMENT))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac,providedIn:"root"})}return qe})();class me{constructor(Y){if(this.scrollStrategy=new fe,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,Y){const _e=Object.keys(Y);for(const Ie of _e)void 0!==Y[Ie]&&(this[Ie]=Y[Ie])}}}class pe{constructor(Y,_e){this.connectionPair=Y,this.scrollableViewProperties=_e}}let We=(()=>{class qe{constructor(_e){this._attachedOverlays=[],this._document=_e}ngOnDestroy(){this.detach()}add(_e){this.remove(_e),this._attachedOverlays.push(_e)}remove(_e){const Ie=this._attachedOverlays.indexOf(_e);Ie>-1&&this._attachedOverlays.splice(Ie,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(Ie){return new(Ie||qe)(f.\u0275\u0275inject(a.DOCUMENT))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac,providedIn:"root"})}return qe})(),ce=(()=>{class qe extends We{constructor(_e,Ie){super(_e),this._ngZone=Ie,this._keydownListener=st=>{const tt=this._attachedOverlays;for(let Ct=tt.length-1;Ct>-1;Ct--)if(tt[Ct]._keydownEvents.observers.length>0){const Wt=tt[Ct]._keydownEvents;this._ngZone?this._ngZone.run(()=>Wt.next(st)):Wt.next(st);break}}}add(_e){super.add(_e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(Ie){return new(Ie||qe)(f.\u0275\u0275inject(a.DOCUMENT),f.\u0275\u0275inject(f.NgZone,8))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac,providedIn:"root"})}return qe})(),Ae=(()=>{class qe extends We{constructor(_e,Ie,st){super(_e),this._platform=Ie,this._ngZone=st,this._cursorStyleIsSet=!1,this._pointerDownListener=tt=>{this._pointerDownEventTarget=(0,d.sA)(tt)},this._clickListener=tt=>{const Ct=(0,d.sA)(tt),Wt="click"===tt.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Ct;this._pointerDownEventTarget=null;const Kt=this._attachedOverlays.slice();for(let Qt=Kt.length-1;Qt>-1;Qt--){const Zt=Kt[Qt];if(Zt._outsidePointerEvents.observers.length<1||!Zt.hasAttached())continue;if(Zt.overlayElement.contains(Ct)||Zt.overlayElement.contains(Wt))break;const at=Zt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>at.next(tt)):at.next(tt)}}}add(_e){if(super.add(_e),!this._isAttached){const Ie=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Ie)):this._addEventListeners(Ie),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Ie.style.cursor,Ie.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const _e=this._document.body;_e.removeEventListener("pointerdown",this._pointerDownListener,!0),_e.removeEventListener("click",this._clickListener,!0),_e.removeEventListener("auxclick",this._clickListener,!0),_e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(_e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(_e){_e.addEventListener("pointerdown",this._pointerDownListener,!0),_e.addEventListener("click",this._clickListener,!0),_e.addEventListener("auxclick",this._clickListener,!0),_e.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(Ie){return new(Ie||qe)(f.\u0275\u0275inject(a.DOCUMENT),f.\u0275\u0275inject(d.t4),f.\u0275\u0275inject(f.NgZone,8))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac,providedIn:"root"})}return qe})(),Ye=(()=>{class qe{constructor(_e,Ie){this._platform=Ie,this._document=_e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const _e="cdk-overlay-container";if(this._platform.isBrowser||(0,d.Oy)()){const st=this._document.querySelectorAll(`.${_e}[platform="server"], .${_e}[platform="test"]`);for(let tt=0;tt<st.length;tt++)st[tt].remove()}const Ie=this._document.createElement("div");Ie.classList.add(_e),(0,d.Oy)()?Ie.setAttribute("platform","test"):this._platform.isBrowser||Ie.setAttribute("platform","server"),this._document.body.appendChild(Ie),this._containerElement=Ie}static#e=this.\u0275fac=function(Ie){return new(Ie||qe)(f.\u0275\u0275inject(a.DOCUMENT),f.\u0275\u0275inject(d.t4))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac,providedIn:"root"})}return qe})();class Qe{constructor(Y,_e,Ie,st,tt,Ct,Wt,Kt,Qt,Zt=!1){this._portalOutlet=Y,this._host=_e,this._pane=Ie,this._config=st,this._ngZone=tt,this._keyboardDispatcher=Ct,this._document=Wt,this._location=Kt,this._outsideClickDispatcher=Qt,this._animationsDisabled=Zt,this._backdropElement=null,this._backdropClick=new b.x,this._attachments=new b.x,this._detachments=new b.x,this._locationChanges=C.w0.EMPTY,this._backdropClickHandler=at=>this._backdropClick.next(at),this._backdropTransitionendHandler=at=>{this._disposeBackdrop(at.target)},this._keydownEvents=new b.x,this._outsidePointerEvents=new b.x,st.scrollStrategy&&(this._scrollStrategy=st.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=st.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(Y){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const _e=this._portalOutlet.attach(Y);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,g.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof _e?.onDestroy&&_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();const Y=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),Y}dispose(){const Y=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),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._previousHostParent=this._pane=this._host=null,Y&&this._detachments.next(),this._detachments.complete()}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(Y){Y!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=Y,this.hasAttached()&&(Y.attach(this),this.updatePosition()))}updateSize(Y){this._config={...this._config,...Y},this._updateElementSize()}setDirection(Y){this._config={...this._config,direction:Y},this._updateElementDirection()}addPanelClass(Y){this._pane&&this._toggleClasses(this._pane,Y,!0)}removePanelClass(Y){this._pane&&this._toggleClasses(this._pane,Y,!1)}getDirection(){const Y=this._config.direction;return Y?"string"==typeof Y?Y:Y.value:"ltr"}updateScrollStrategy(Y){Y!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=Y,this.hasAttached()&&(Y.attach(this),Y.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const Y=this._pane.style;Y.width=(0,p.HM)(this._config.width),Y.height=(0,p.HM)(this._config.height),Y.minWidth=(0,p.HM)(this._config.minWidth),Y.minHeight=(0,p.HM)(this._config.minHeight),Y.maxWidth=(0,p.HM)(this._config.maxWidth),Y.maxHeight=(0,p.HM)(this._config.maxHeight)}_togglePointerEvents(Y){this._pane.style.pointerEvents=Y?"":"none"}_attachBackdrop(){const Y="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(Y)})}):this._backdropElement.classList.add(Y)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const Y=this._backdropElement;if(Y){if(this._animationsDisabled)return void this._disposeBackdrop(Y);Y.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{Y.addEventListener("transitionend",this._backdropTransitionendHandler)}),Y.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(Y)},500))}}_toggleClasses(Y,_e,Ie){const st=(0,p.Eq)(_e||[]).filter(tt=>!!tt);st.length&&(Ie?Y.classList.add(...st):Y.classList.remove(...st))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const Y=this._ngZone.onStable.pipe((0,v.R)((0,M.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(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()),Y.unsubscribe())})})}_disposeScrollStrategy(){const Y=this._scrollStrategy;Y&&(Y.disable(),Y.detach&&Y.detach())}_disposeBackdrop(Y){Y&&(Y.removeEventListener("click",this._backdropClickHandler),Y.removeEventListener("transitionend",this._backdropTransitionendHandler),Y.remove(),this._backdropElement===Y&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const ot="cdk-overlay-connected-position-bounding-box",kt=/([A-Za-z%]+)$/;class je{get positions(){return this._preferredPositions}constructor(Y,_e,Ie,st,tt){this._viewportRuler=_e,this._document=Ie,this._platform=st,this._overlayContainer=tt,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new b.x,this._resizeSubscription=C.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(Y)}attach(Y){this._validatePositions(),Y.hostElement.classList.add(ot),this._overlayRef=Y,this._boundingBox=Y.hostElement,this._pane=Y.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)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Y=this._originRect,_e=this._overlayRect,Ie=this._viewportRect,st=this._containerRect,tt=[];let Ct;for(let Wt of this._preferredPositions){let Kt=this._getOriginPoint(Y,st,Wt),Qt=this._getOverlayPoint(Kt,_e,Wt),Zt=this._getOverlayFit(Qt,_e,Ie,Wt);if(Zt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Wt,Kt);this._canFitWithFlexibleDimensions(Zt,Qt,Ie)?tt.push({position:Wt,origin:Kt,overlayRect:_e,boundingBoxRect:this._calculateBoundingBoxRect(Kt,Wt)}):(!Ct||Ct.overlayFit.visibleArea<Zt.visibleArea)&&(Ct={overlayFit:Zt,overlayPoint:Qt,originPoint:Kt,position:Wt,overlayRect:_e})}if(tt.length){let Wt=null,Kt=-1;for(const Qt of tt){const Zt=Qt.boundingBoxRect.width*Qt.boundingBoxRect.height*(Qt.position.weight||1);Zt>Kt&&(Kt=Zt,Wt=Qt)}return this._isPushed=!1,void this._applyPosition(Wt.position,Wt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Ct.position,Ct.originPoint);this._applyPosition(Ct.position,Ct.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ve(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(ot),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const Y=this._lastPosition;if(Y){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const _e=this._getOriginPoint(this._originRect,this._containerRect,Y);this._applyPosition(Y,_e)}else this.apply()}withScrollableContainers(Y){return this._scrollables=Y,this}withPositions(Y){return this._preferredPositions=Y,-1===Y.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(Y){return this._viewportMargin=Y,this}withFlexibleDimensions(Y=!0){return this._hasFlexibleDimensions=Y,this}withGrowAfterOpen(Y=!0){return this._growAfterOpen=Y,this}withPush(Y=!0){return this._canPush=Y,this}withLockedPosition(Y=!0){return this._positionLocked=Y,this}setOrigin(Y){return this._origin=Y,this}withDefaultOffsetX(Y){return this._offsetX=Y,this}withDefaultOffsetY(Y){return this._offsetY=Y,this}withTransformOriginOn(Y){return this._transformOriginSelector=Y,this}_getOriginPoint(Y,_e,Ie){let st,tt;if("center"==Ie.originX)st=Y.left+Y.width/2;else{const Ct=this._isRtl()?Y.right:Y.left,Wt=this._isRtl()?Y.left:Y.right;st="start"==Ie.originX?Ct:Wt}return _e.left<0&&(st-=_e.left),tt="center"==Ie.originY?Y.top+Y.height/2:"top"==Ie.originY?Y.top:Y.bottom,_e.top<0&&(tt-=_e.top),{x:st,y:tt}}_getOverlayPoint(Y,_e,Ie){let st,tt;return st="center"==Ie.overlayX?-_e.width/2:"start"===Ie.overlayX?this._isRtl()?-_e.width:0:this._isRtl()?0:-_e.width,tt="center"==Ie.overlayY?-_e.height/2:"top"==Ie.overlayY?0:-_e.height,{x:Y.x+st,y:Y.y+tt}}_getOverlayFit(Y,_e,Ie,st){const tt=we(_e);let{x:Ct,y:Wt}=Y,Kt=this._getOffset(st,"x"),Qt=this._getOffset(st,"y");Kt&&(Ct+=Kt),Qt&&(Wt+=Qt);let yt=0-Wt,Ne=Wt+tt.height-Ie.height,ee=this._subtractOverflows(tt.width,0-Ct,Ct+tt.width-Ie.width),ge=this._subtractOverflows(tt.height,yt,Ne),rt=ee*ge;return{visibleArea:rt,isCompletelyWithinViewport:tt.width*tt.height===rt,fitsInViewportVertically:ge===tt.height,fitsInViewportHorizontally:ee==tt.width}}_canFitWithFlexibleDimensions(Y,_e,Ie){if(this._hasFlexibleDimensions){const st=Ie.bottom-_e.y,tt=Ie.right-_e.x,Ct=ye(this._overlayRef.getConfig().minHeight),Wt=ye(this._overlayRef.getConfig().minWidth);return(Y.fitsInViewportVertically||null!=Ct&&Ct<=st)&&(Y.fitsInViewportHorizontally||null!=Wt&&Wt<=tt)}return!1}_pushOverlayOnScreen(Y,_e,Ie){if(this._previousPushAmount&&this._positionLocked)return{x:Y.x+this._previousPushAmount.x,y:Y.y+this._previousPushAmount.y};const st=we(_e),tt=this._viewportRect,Ct=Math.max(Y.x+st.width-tt.width,0),Wt=Math.max(Y.y+st.height-tt.height,0),Kt=Math.max(tt.top-Ie.top-Y.y,0),Qt=Math.max(tt.left-Ie.left-Y.x,0);let Zt=0,at=0;return Zt=st.width<=tt.width?Qt||-Ct:Y.x<this._viewportMargin?tt.left-Ie.left-Y.x:0,at=st.height<=tt.height?Kt||-Wt:Y.y<this._viewportMargin?tt.top-Ie.top-Y.y:0,this._previousPushAmount={x:Zt,y:at},{x:Y.x+Zt,y:Y.y+at}}_applyPosition(Y,_e){if(this._setTransformOrigin(Y),this._setOverlayElementStyles(_e,Y),this._setBoundingBoxStyles(_e,Y),Y.panelClass&&this._addPanelClasses(Y.panelClass),this._lastPosition=Y,this._positionChanges.observers.length){const Ie=this._getScrollVisibility(),st=new pe(Y,Ie);this._positionChanges.next(st)}this._isInitialRender=!1}_setTransformOrigin(Y){if(!this._transformOriginSelector)return;const _e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let Ie,st=Y.overlayY;Ie="center"===Y.overlayX?"center":this._isRtl()?"start"===Y.overlayX?"right":"left":"start"===Y.overlayX?"left":"right";for(let tt=0;tt<_e.length;tt++)_e[tt].style.transformOrigin=`${Ie} ${st}`}_calculateBoundingBoxRect(Y,_e){const Ie=this._viewportRect,st=this._isRtl();let tt,Ct,Wt,Zt,at,yt;if("top"===_e.overlayY)Ct=Y.y,tt=Ie.height-Ct+this._viewportMargin;else if("bottom"===_e.overlayY)Wt=Ie.height-Y.y+2*this._viewportMargin,tt=Ie.height-Wt+this._viewportMargin;else{const Ne=Math.min(Ie.bottom-Y.y+Ie.top,Y.y),ee=this._lastBoundingBoxSize.height;tt=2*Ne,Ct=Y.y-Ne,tt>ee&&!this._isInitialRender&&!this._growAfterOpen&&(Ct=Y.y-ee/2)}if("end"===_e.overlayX&&!st||"start"===_e.overlayX&&st)yt=Ie.width-Y.x+this._viewportMargin,Zt=Y.x-this._viewportMargin;else if("start"===_e.overlayX&&!st||"end"===_e.overlayX&&st)at=Y.x,Zt=Ie.right-Y.x;else{const Ne=Math.min(Ie.right-Y.x+Ie.left,Y.x),ee=this._lastBoundingBoxSize.width;Zt=2*Ne,at=Y.x-Ne,Zt>ee&&!this._isInitialRender&&!this._growAfterOpen&&(at=Y.x-ee/2)}return{top:Ct,left:at,bottom:Wt,right:yt,width:Zt,height:tt}}_setBoundingBoxStyles(Y,_e){const Ie=this._calculateBoundingBoxRect(Y,_e);!this._isInitialRender&&!this._growAfterOpen&&(Ie.height=Math.min(Ie.height,this._lastBoundingBoxSize.height),Ie.width=Math.min(Ie.width,this._lastBoundingBoxSize.width));const st={};if(this._hasExactPosition())st.top=st.left="0",st.bottom=st.right=st.maxHeight=st.maxWidth="",st.width=st.height="100%";else{const tt=this._overlayRef.getConfig().maxHeight,Ct=this._overlayRef.getConfig().maxWidth;st.height=(0,p.HM)(Ie.height),st.top=(0,p.HM)(Ie.top),st.bottom=(0,p.HM)(Ie.bottom),st.width=(0,p.HM)(Ie.width),st.left=(0,p.HM)(Ie.left),st.right=(0,p.HM)(Ie.right),st.alignItems="center"===_e.overlayX?"center":"end"===_e.overlayX?"flex-end":"flex-start",st.justifyContent="center"===_e.overlayY?"center":"bottom"===_e.overlayY?"flex-end":"flex-start",tt&&(st.maxHeight=(0,p.HM)(tt)),Ct&&(st.maxWidth=(0,p.HM)(Ct))}this._lastBoundingBoxSize=Ie,Ve(this._boundingBox.style,st)}_resetBoundingBoxStyles(){Ve(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ve(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(Y,_e){const Ie={},st=this._hasExactPosition(),tt=this._hasFlexibleDimensions,Ct=this._overlayRef.getConfig();if(st){const Zt=this._viewportRuler.getViewportScrollPosition();Ve(Ie,this._getExactOverlayY(_e,Y,Zt)),Ve(Ie,this._getExactOverlayX(_e,Y,Zt))}else Ie.position="static";let Wt="",Kt=this._getOffset(_e,"x"),Qt=this._getOffset(_e,"y");Kt&&(Wt+=`translateX(${Kt}px) `),Qt&&(Wt+=`translateY(${Qt}px)`),Ie.transform=Wt.trim(),Ct.maxHeight&&(st?Ie.maxHeight=(0,p.HM)(Ct.maxHeight):tt&&(Ie.maxHeight="")),Ct.maxWidth&&(st?Ie.maxWidth=(0,p.HM)(Ct.maxWidth):tt&&(Ie.maxWidth="")),Ve(this._pane.style,Ie)}_getExactOverlayY(Y,_e,Ie){let st={top:"",bottom:""},tt=this._getOverlayPoint(_e,this._overlayRect,Y);return this._isPushed&&(tt=this._pushOverlayOnScreen(tt,this._overlayRect,Ie)),"bottom"===Y.overlayY?st.bottom=this._document.documentElement.clientHeight-(tt.y+this._overlayRect.height)+"px":st.top=(0,p.HM)(tt.y),st}_getExactOverlayX(Y,_e,Ie){let Ct,st={left:"",right:""},tt=this._getOverlayPoint(_e,this._overlayRect,Y);return this._isPushed&&(tt=this._pushOverlayOnScreen(tt,this._overlayRect,Ie)),Ct=this._isRtl()?"end"===Y.overlayX?"left":"right":"end"===Y.overlayX?"right":"left","right"===Ct?st.right=this._document.documentElement.clientWidth-(tt.x+this._overlayRect.width)+"px":st.left=(0,p.HM)(tt.x),st}_getScrollVisibility(){const Y=this._getOriginRect(),_e=this._pane.getBoundingClientRect(),Ie=this._scrollables.map(st=>st.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:oe(Y,Ie),isOriginOutsideView:z(Y,Ie),isOverlayClipped:oe(_e,Ie),isOverlayOutsideView:z(_e,Ie)}}_subtractOverflows(Y,..._e){return _e.reduce((Ie,st)=>Ie-Math.max(st,0),Y)}_getNarrowedViewportRect(){const Y=this._document.documentElement.clientWidth,_e=this._document.documentElement.clientHeight,Ie=this._viewportRuler.getViewportScrollPosition();return{top:Ie.top+this._viewportMargin,left:Ie.left+this._viewportMargin,right:Ie.left+Y-this._viewportMargin,bottom:Ie.top+_e-this._viewportMargin,width:Y-2*this._viewportMargin,height:_e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(Y,_e){return"x"===_e?null==Y.offsetX?this._offsetX:Y.offsetX:null==Y.offsetY?this._offsetY:Y.offsetY}_validatePositions(){}_addPanelClasses(Y){this._pane&&(0,p.Eq)(Y).forEach(_e=>{""!==_e&&-1===this._appliedPanelClasses.indexOf(_e)&&(this._appliedPanelClasses.push(_e),this._pane.classList.add(_e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(Y=>{this._pane.classList.remove(Y)}),this._appliedPanelClasses=[])}_getOriginRect(){const Y=this._origin;if(Y instanceof f.ElementRef)return Y.nativeElement.getBoundingClientRect();if(Y instanceof Element)return Y.getBoundingClientRect();const _e=Y.width||0,Ie=Y.height||0;return{top:Y.y,bottom:Y.y+Ie,left:Y.x,right:Y.x+_e,height:Ie,width:_e}}}function Ve(qe,Y){for(let _e in Y)Y.hasOwnProperty(_e)&&(qe[_e]=Y[_e]);return qe}function ye(qe){if("number"!=typeof qe&&null!=qe){const[Y,_e]=qe.split(kt);return _e&&"px"!==_e?null:parseFloat(Y)}return qe||null}function we(qe){return{top:Math.floor(qe.top),right:Math.floor(qe.right),bottom:Math.floor(qe.bottom),left:Math.floor(qe.left),width:Math.floor(qe.width),height:Math.floor(qe.height)}}const J="cdk-global-overlay-wrapper";class Ze{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(Y){const _e=Y.getConfig();this._overlayRef=Y,this._width&&!_e.width&&Y.updateSize({width:this._width}),this._height&&!_e.height&&Y.updateSize({height:this._height}),Y.hostElement.classList.add(J),this._isDisposed=!1}top(Y=""){return this._bottomOffset="",this._topOffset=Y,this._alignItems="flex-start",this}left(Y=""){return this._xOffset=Y,this._xPosition="left",this}bottom(Y=""){return this._topOffset="",this._bottomOffset=Y,this._alignItems="flex-end",this}right(Y=""){return this._xOffset=Y,this._xPosition="right",this}start(Y=""){return this._xOffset=Y,this._xPosition="start",this}end(Y=""){return this._xOffset=Y,this._xPosition="end",this}width(Y=""){return this._overlayRef?this._overlayRef.updateSize({width:Y}):this._width=Y,this}height(Y=""){return this._overlayRef?this._overlayRef.updateSize({height:Y}):this._height=Y,this}centerHorizontally(Y=""){return this.left(Y),this._xPosition="center",this}centerVertically(Y=""){return this.top(Y),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const Y=this._overlayRef.overlayElement.style,_e=this._overlayRef.hostElement.style,Ie=this._overlayRef.getConfig(),{width:st,height:tt,maxWidth:Ct,maxHeight:Wt}=Ie,Kt=!("100%"!==st&&"100vw"!==st||Ct&&"100%"!==Ct&&"100vw"!==Ct),Qt=!("100%"!==tt&&"100vh"!==tt||Wt&&"100%"!==Wt&&"100vh"!==Wt),Zt=this._xPosition,at=this._xOffset,yt="rtl"===this._overlayRef.getConfig().direction;let Ne="",ee="",ge="";Kt?ge="flex-start":"center"===Zt?(ge="center",yt?ee=at:Ne=at):yt?"left"===Zt||"end"===Zt?(ge="flex-end",Ne=at):("right"===Zt||"start"===Zt)&&(ge="flex-start",ee=at):"left"===Zt||"start"===Zt?(ge="flex-start",Ne=at):("right"===Zt||"end"===Zt)&&(ge="flex-end",ee=at),Y.position=this._cssPosition,Y.marginLeft=Kt?"0":Ne,Y.marginTop=Qt?"0":this._topOffset,Y.marginBottom=this._bottomOffset,Y.marginRight=Kt?"0":ee,_e.justifyContent=ge,_e.alignItems=Qt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Y=this._overlayRef.overlayElement.style,_e=this._overlayRef.hostElement,Ie=_e.style;_e.classList.remove(J),Ie.justifyContent=Ie.alignItems=Y.marginTop=Y.marginBottom=Y.marginLeft=Y.marginRight=Y.position="",this._overlayRef=null,this._isDisposed=!0}}let ct=(()=>{class qe{constructor(_e,Ie,st,tt){this._viewportRuler=_e,this._document=Ie,this._platform=st,this._overlayContainer=tt}global(){return new Ze}flexibleConnectedTo(_e){return new je(_e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(Ie){return new(Ie||qe)(f.\u0275\u0275inject(i.rL),f.\u0275\u0275inject(a.DOCUMENT),f.\u0275\u0275inject(d.t4),f.\u0275\u0275inject(Ye))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac,providedIn:"root"})}return qe})(),Nt=0,Dt=(()=>{class qe{constructor(_e,Ie,st,tt,Ct,Wt,Kt,Qt,Zt,at,yt,Ne){this.scrollStrategies=_e,this._overlayContainer=Ie,this._componentFactoryResolver=st,this._positionBuilder=tt,this._keyboardDispatcher=Ct,this._injector=Wt,this._ngZone=Kt,this._document=Qt,this._directionality=Zt,this._location=at,this._outsideClickDispatcher=yt,this._animationsModuleType=Ne}create(_e){const Ie=this._createHostElement(),st=this._createPaneElement(Ie),tt=this._createPortalOutlet(st),Ct=new me(_e);return Ct.direction=Ct.direction||this._directionality.value,new Qe(tt,Ie,st,Ct,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(_e){const Ie=this._document.createElement("div");return Ie.id="cdk-overlay-"+Nt++,Ie.classList.add("cdk-overlay-pane"),_e.appendChild(Ie),Ie}_createHostElement(){const _e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(_e),_e}_createPortalOutlet(_e){return this._appRef||(this._appRef=this._injector.get(f.ApplicationRef)),new u.u0(_e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(Ie){return new(Ie||qe)(f.\u0275\u0275inject(K),f.\u0275\u0275inject(Ye),f.\u0275\u0275inject(f.ComponentFactoryResolver),f.\u0275\u0275inject(ct),f.\u0275\u0275inject(ce),f.\u0275\u0275inject(f.Injector),f.\u0275\u0275inject(f.NgZone),f.\u0275\u0275inject(a.DOCUMENT),f.\u0275\u0275inject(m.Is),f.\u0275\u0275inject(a.Location),f.\u0275\u0275inject(Ae),f.\u0275\u0275inject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac,providedIn:"root"})}return qe})();const Te={provide:new f.InjectionToken("cdk-connected-overlay-scroll-strategy"),deps:[Dt],useFactory:function Ee(qe){return()=>qe.scrollStrategies.reposition()}};let pt=(()=>{class qe{static#e=this.\u0275fac=function(Ie){return new(Ie||qe)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:qe});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({providers:[Dt,Te],imports:[m.vT,u.eL,i.Cl,i.Cl]})}return qe})()},3844:(Z,l,o)=>{"use strict";o.d(l,{Mq:()=>S,Oy:()=>X,ht:()=>z,i$:()=>b,kV:()=>fe,sA:()=>oe,t4:()=>p});var i=o(7786),a=o(9462);let f;try{f=typeof Intl<"u"&&Intl.v8BreakIterator}catch{f=!1}let m,M,j,p=(()=>{class K{constructor(ae){this._platformId=ae,this.isBrowser=this._platformId?(0,a.isPlatformBrowser)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!f)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(te){return new(te||K)(i.\u0275\u0275inject(i.PLATFORM_ID))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:K,factory:K.\u0275fac,providedIn:"root"})}return K})();function b(K){return function u(){if(null==m&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>m=!0}))}finally{m=m||!1}return m}()?K:!!K.capture}function S(){if(null==M){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return M=!1,M;if("scrollBehavior"in document.documentElement.style)M=!0;else{const K=Element.prototype.scrollTo;M=!!K&&!/\{\s*\[native code\]\s*\}/.test(K.toString())}}return M}function fe(K){if(function N(){if(null==j){const K=typeof document<"u"?document.head:null;j=!(!K||!K.createShadowRoot&&!K.attachShadow)}return j}()){const me=K.getRootNode?K.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&me instanceof ShadowRoot)return me}return null}function z(){let K=typeof document<"u"&&document?document.activeElement:null;for(;K&&K.shadowRoot;){const me=K.shadowRoot.activeElement;if(me===K)break;K=me}return K}function oe(K){return K.composedPath?K.composedPath()[0]:K.target}function X(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},6512:(Z,l,o)=>{"use strict";o.d(l,{C5:()=>u,Pl:()=>z,UE:()=>b,eL:()=>X,en:()=>M,ig:()=>N,u0:()=>H});var i=o(7786),a=o(9462);class m{attach(ae){return this._attachedHost=ae,ae.attach(this)}detach(){let ae=this._attachedHost;null!=ae&&(this._attachedHost=null,ae.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(ae){this._attachedHost=ae}}class u extends m{constructor(ae,te,pe,it,be){super(),this.component=ae,this.viewContainerRef=te,this.injector=pe,this.componentFactoryResolver=it,this.projectableNodes=be}}class b extends m{constructor(ae,te,pe,it){super(),this.templateRef=ae,this.viewContainerRef=te,this.context=pe,this.injector=it}get origin(){return this.templateRef.elementRef}attach(ae,te=this.context){return this.context=te,super.attach(ae)}detach(){return this.context=void 0,super.detach()}}class C extends m{constructor(ae){super(),this.element=ae instanceof i.ElementRef?ae.nativeElement:ae}}class M{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(ae){return ae instanceof u?(this._attachedPortal=ae,this.attachComponentPortal(ae)):ae instanceof b?(this._attachedPortal=ae,this.attachTemplatePortal(ae)):this.attachDomPortal&&ae instanceof C?(this._attachedPortal=ae,this.attachDomPortal(ae)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(ae){this._disposeFn=ae}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class H extends M{constructor(ae,te,pe,it,be){super(),this.outletElement=ae,this._componentFactoryResolver=te,this._appRef=pe,this._defaultInjector=it,this.attachDomPortal=We=>{const ce=We.element,Ae=this._document.createComment("dom-portal");ce.parentNode.insertBefore(Ae,ce),this.outletElement.appendChild(ce),this._attachedPortal=We,super.setDisposeFn(()=>{Ae.parentNode&&Ae.parentNode.replaceChild(ce,Ae)})},this._document=be}attachComponentPortal(ae){const pe=(ae.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ae.component);let it;return ae.viewContainerRef?(it=ae.viewContainerRef.createComponent(pe,ae.viewContainerRef.length,ae.injector||ae.viewContainerRef.injector,ae.projectableNodes||void 0),this.setDisposeFn(()=>it.destroy())):(it=pe.create(ae.injector||this._defaultInjector||i.Injector.NULL),this._appRef.attachView(it.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(it.hostView),it.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(it)),this._attachedPortal=ae,it}attachTemplatePortal(ae){let te=ae.viewContainerRef,pe=te.createEmbeddedView(ae.templateRef,ae.context,{injector:ae.injector});return pe.rootNodes.forEach(it=>this.outletElement.appendChild(it)),pe.detectChanges(),this.setDisposeFn(()=>{let it=te.indexOf(pe);-1!==it&&te.remove(it)}),this._attachedPortal=ae,pe}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(ae){return ae.hostView.rootNodes[0]}}let N=(()=>{class me extends b{constructor(te,pe){super(te,pe)}static#e=this.\u0275fac=function(pe){return new(pe||me)(i.\u0275\u0275directiveInject(i.TemplateRef),i.\u0275\u0275directiveInject(i.ViewContainerRef))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:me,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[i.\u0275\u0275InheritDefinitionFeature]})}return me})(),z=(()=>{class me extends M{constructor(te,pe,it){super(),this._componentFactoryResolver=te,this._viewContainerRef=pe,this._isInitialized=!1,this.attached=new i.EventEmitter,this.attachDomPortal=be=>{const We=be.element,ce=this._document.createComment("dom-portal");be.setAttachedHost(this),We.parentNode.insertBefore(ce,We),this._getRootNode().appendChild(We),this._attachedPortal=be,super.setDisposeFn(()=>{ce.parentNode&&ce.parentNode.replaceChild(We,ce)})},this._document=it}get portal(){return this._attachedPortal}set portal(te){this.hasAttached()&&!te&&!this._isInitialized||(this.hasAttached()&&super.detach(),te&&super.attach(te),this._attachedPortal=te||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(te){te.setAttachedHost(this);const pe=null!=te.viewContainerRef?te.viewContainerRef:this._viewContainerRef,be=(te.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(te.component),We=pe.createComponent(be,pe.length,te.injector||pe.injector,te.projectableNodes||void 0);return pe!==this._viewContainerRef&&this._getRootNode().appendChild(We.hostView.rootNodes[0]),super.setDisposeFn(()=>We.destroy()),this._attachedPortal=te,this._attachedRef=We,this.attached.emit(We),We}attachTemplatePortal(te){te.setAttachedHost(this);const pe=this._viewContainerRef.createEmbeddedView(te.templateRef,te.context,{injector:te.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=te,this._attachedRef=pe,this.attached.emit(pe),pe}_getRootNode(){const te=this._viewContainerRef.element.nativeElement;return te.nodeType===te.ELEMENT_NODE?te:te.parentNode}static#e=this.\u0275fac=function(pe){return new(pe||me)(i.\u0275\u0275directiveInject(i.ComponentFactoryResolver),i.\u0275\u0275directiveInject(i.ViewContainerRef),i.\u0275\u0275directiveInject(a.DOCUMENT))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:me,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.\u0275\u0275InheritDefinitionFeature]})}return me})(),X=(()=>{class me{static#e=this.\u0275fac=function(pe){return new(pe||me)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:me});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({})}return me})()},9467:(Z,l,o)=>{"use strict";o.d(l,{ZD:()=>Vt,mF:()=>ot,Cl:()=>Fe,rL:()=>Ve});var i=o(5988),a=o(7786),f=o(9453),p=o(9627),d=o(7371),h=o(6058),g=o(2290),v=o(9592);const m={schedule(ke){let Ge=requestAnimationFrame,Ee=cancelAnimationFrame;const{delegate:Te}=m;Te&&(Ge=Te.requestAnimationFrame,Ee=Te.cancelAnimationFrame);const pt=Ge(dt=>{Ee=void 0,ke(dt)});return new v.w0(()=>Ee?.(pt))},requestAnimationFrame(...ke){const{delegate:Ge}=m;return(Ge?.requestAnimationFrame||requestAnimationFrame)(...ke)},cancelAnimationFrame(...ke){const{delegate:Ge}=m;return(Ge?.cancelAnimationFrame||cancelAnimationFrame)(...ke)},delegate:void 0};var b=o(5349);new class C extends b.v{flush(Ge){this._active=!0;const Ee=this._scheduled;this._scheduled=void 0;const{actions:Te}=this;let pt;Ge=Ge||Te.shift();do{if(pt=Ge.execute(Ge.state,Ge.delay))break}while((Ge=Te[0])&&Ge.id===Ee&&Te.shift());if(this._active=!1,pt){for(;(Ge=Te[0])&&Ge.id===Ee&&Te.shift();)Ge.unsubscribe();throw pt}}}(class u extends g.o{constructor(Ge,Ee){super(Ge,Ee),this.scheduler=Ge,this.work=Ee}requestAsyncId(Ge,Ee,Te=0){return null!==Te&&Te>0?super.requestAsyncId(Ge,Ee,Te):(Ge.actions.push(this),Ge._scheduled||(Ge._scheduled=m.requestAnimationFrame(()=>Ge.flush(void 0))))}recycleAsyncId(Ge,Ee,Te=0){var pt;if(null!=Te?Te>0:this.delay>0)return super.recycleAsyncId(Ge,Ee,Te);const{actions:dt}=Ge;null!=Ee&&(null===(pt=dt[dt.length-1])||void 0===pt?void 0:pt.id)!==Ee&&(m.cancelAnimationFrame(Ee),Ge._scheduled=void 0)}});o(4453);var j=o(6589),N=o(4049),fe=o(8299),z=o(2829),X=o(5117);function K(ke,Ge=j.z){return function oe(ke){return(0,N.e)((Ge,Ee)=>{let Te=!1,pt=null,dt=null,qe=!1;const Y=()=>{if(dt?.unsubscribe(),dt=null,Te){Te=!1;const Ie=pt;pt=null,Ee.next(Ie)}qe&&Ee.complete()},_e=()=>{dt=null,qe&&Ee.complete()};Ge.subscribe((0,z.x)(Ee,Ie=>{Te=!0,pt=Ie,dt||(0,fe.Xf)(ke(Ie)).subscribe(dt=(0,z.x)(Ee,Y,_e))},()=>{qe=!0,(!Te||!dt||dt.closed)&&Ee.complete()}))})}(()=>(0,X.H)(ke,Ge))}var me=o(1497),ae=o(3844),te=o(9462),pe=o(4877);let ot=(()=>{class ke{constructor(Ee,Te,pt){this._ngZone=Ee,this._platform=Te,this._scrolled=new f.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=pt}register(Ee){this.scrollContainers.has(Ee)||this.scrollContainers.set(Ee,Ee.elementScrolled().subscribe(()=>this._scrolled.next(Ee)))}deregister(Ee){const Te=this.scrollContainers.get(Ee);Te&&(Te.unsubscribe(),this.scrollContainers.delete(Ee))}scrolled(Ee=20){return this._platform.isBrowser?new d.y(Te=>{this._globalSubscription||this._addGlobalListener();const pt=Ee>0?this._scrolled.pipe(K(Ee)).subscribe(Te):this._scrolled.subscribe(Te);return this._scrolledCount++,()=>{pt.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,p.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((Ee,Te)=>this.deregister(Te)),this._scrolled.complete()}ancestorScrolled(Ee,Te){const pt=this.getAncestorScrollContainers(Ee);return this.scrolled(Te).pipe((0,me.h)(dt=>!dt||pt.indexOf(dt)>-1))}getAncestorScrollContainers(Ee){const Te=[];return this.scrollContainers.forEach((pt,dt)=>{this._scrollableContainsElement(dt,Ee)&&Te.push(dt)}),Te}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(Ee,Te){let pt=(0,i.fI)(Te),dt=Ee.getElementRef().nativeElement;do{if(pt==dt)return!0}while(pt=pt.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const Ee=this._getWindow();return(0,h.R)(Ee.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(Te){return new(Te||ke)(a.\u0275\u0275inject(a.NgZone),a.\u0275\u0275inject(ae.t4),a.\u0275\u0275inject(te.DOCUMENT,8))};static#t=this.\u0275prov=a.\u0275\u0275defineInjectable({token:ke,factory:ke.\u0275fac,providedIn:"root"})}return ke})(),Ve=(()=>{class ke{constructor(Ee,Te,pt){this._platform=Ee,this._change=new f.x,this._changeListener=dt=>{this._change.next(dt)},this._document=pt,Te.runOutsideAngular(()=>{if(Ee.isBrowser){const dt=this._getWindow();dt.addEventListener("resize",this._changeListener),dt.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const Ee=this._getWindow();Ee.removeEventListener("resize",this._changeListener),Ee.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const Ee={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),Ee}getViewportRect(){const Ee=this.getViewportScrollPosition(),{width:Te,height:pt}=this.getViewportSize();return{top:Ee.top,left:Ee.left,bottom:Ee.top+pt,right:Ee.left+Te,height:pt,width:Te}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const Ee=this._document,Te=this._getWindow(),pt=Ee.documentElement,dt=pt.getBoundingClientRect();return{top:-dt.top||Ee.body.scrollTop||Te.scrollY||pt.scrollTop||0,left:-dt.left||Ee.body.scrollLeft||Te.scrollX||pt.scrollLeft||0}}change(Ee=20){return Ee>0?this._change.pipe(K(Ee)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const Ee=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:Ee.innerWidth,height:Ee.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(Te){return new(Te||ke)(a.\u0275\u0275inject(ae.t4),a.\u0275\u0275inject(a.NgZone),a.\u0275\u0275inject(te.DOCUMENT,8))};static#t=this.\u0275prov=a.\u0275\u0275defineInjectable({token:ke,factory:ke.\u0275fac,providedIn:"root"})}return ke})(),Vt=(()=>{class ke{static#e=this.\u0275fac=function(Te){return new(Te||ke)};static#t=this.\u0275mod=a.\u0275\u0275defineNgModule({type:ke});static#n=this.\u0275inj=a.\u0275\u0275defineInjector({})}return ke})(),Fe=(()=>{class ke{static#e=this.\u0275fac=function(Te){return new(Te||ke)};static#t=this.\u0275mod=a.\u0275\u0275defineNgModule({type:ke});static#n=this.\u0275inj=a.\u0275\u0275defineInjector({imports:[pe.vT,Vt,pe.vT,Vt]})}return ke})()},9462:(Z,l,o)=>{"use strict";o.r(l),o.d(l,{APP_BASE_HREF:()=>S,AsyncPipe:()=>so,BrowserPlatformLocation:()=>m,CommonModule:()=>Ui,CurrencyPipe:()=>dn,DATE_PIPE_DEFAULT_OPTIONS:()=>Zn,DATE_PIPE_DEFAULT_TIMEZONE:()=>wn,DOCUMENT:()=>h,DatePipe:()=>Xn,DecimalPipe:()=>Bn,FormStyle:()=>te,FormatWidth:()=>it,HashLocationStrategy:()=>j,I18nPluralPipe:()=>ti,I18nSelectPipe:()=>Sr,IMAGE_CONFIG:()=>Un,IMAGE_LOADER:()=>_i,JsonPipe:()=>tr,KeyValuePipe:()=>fr,LOCATION_INITIALIZED:()=>v,Location:()=>N,LocationStrategy:()=>M,LowerCasePipe:()=>cr,NgClass:()=>Vn,NgComponentOutlet:()=>An,NgFor:()=>Pn,NgForOf:()=>Pn,NgForOfContext:()=>Ci,NgIf:()=>nt,NgIfContext:()=>U,NgLocaleLocalization:()=>At,NgLocalization:()=>mt,NgOptimizedImage:()=>ci,NgPlural:()=>Bt,NgPluralCase:()=>Lt,NgStyle:()=>yn,NgSwitch:()=>$e,NgSwitchCase:()=>R,NgSwitchDefault:()=>Pe,NgTemplateOutlet:()=>Tn,NumberFormatStyle:()=>me,NumberSymbol:()=>be,PRECONNECT_CHECK_BLOCKLIST:()=>xs,PathLocationStrategy:()=>H,PercentPipe:()=>zt,PlatformLocation:()=>g,Plural:()=>ae,SlicePipe:()=>Oi,TitleCasePipe:()=>qi,TranslationWidth:()=>pe,UpperCasePipe:()=>dr,VERSION:()=>mr,ViewportScroller:()=>gi,WeekDay:()=>We,XhrFactory:()=>$i,formatCurrency:()=>vt,formatDate:()=>Wt,formatNumber:()=>vn,formatPercent:()=>Ht,getCurrencySymbol:()=>pt,getLocaleCurrencyCode:()=>ct,getLocaleCurrencyName:()=>Ze,getLocaleCurrencySymbol:()=>J,getLocaleDateFormat:()=>Ve,getLocaleDateTimeFormat:()=>we,getLocaleDayNames:()=>Ye,getLocaleDayPeriods:()=>Ae,getLocaleDirection:()=>Ge,getLocaleEraNames:()=>ot,getLocaleExtraDayPeriodRules:()=>Fe,getLocaleExtraDayPeriods:()=>ke,getLocaleFirstDayOfWeek:()=>kt,getLocaleId:()=>ce,getLocaleMonthNames:()=>Qe,getLocaleNumberFormat:()=>B,getLocaleNumberSymbol:()=>ne,getLocalePluralCase:()=>Dt,getLocaleTimeFormat:()=>ye,getLocaleWeekEndRange:()=>je,getNumberOfCurrencyDigits:()=>qe,isPlatformBrowser:()=>Li,isPlatformServer:()=>br,isPlatformWorkerApp:()=>zi,isPlatformWorkerUi:()=>Rn,provideCloudflareLoader:()=>ai,provideCloudinaryLoader:()=>ir,provideImageKitLoader:()=>ao,provideImgixLoader:()=>I,registerLocaleData:()=>Pt,\u0275DomAdapter:()=>d,\u0275NullViewportScroller:()=>Ai,\u0275PLATFORM_BROWSER_ID:()=>Hn,\u0275PLATFORM_SERVER_ID:()=>Qn,\u0275PLATFORM_WORKER_APP_ID:()=>Ni,\u0275PLATFORM_WORKER_UI_ID:()=>rn,\u0275getDOM:()=>f,\u0275parseCookieValue:()=>tn,\u0275setRootDomAdapter:()=>p});var i=o(7786);let a=null;function f(){return a}function p(D){a||(a=D)}class d{}const h=new i.InjectionToken("DocumentToken");let g=(()=>{class D{historyGo(T){throw new Error("Not implemented")}static#e=this.\u0275fac=function(k){return new(k||D)};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:D,factory:function(){return(0,i.inject)(m)},providedIn:"platform"})}return D})();const v=new i.InjectionToken("Location Initialized");let m=(()=>{class D extends g{constructor(){super(),this._doc=(0,i.inject)(h),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return f().getBaseHref(this._doc)}onPopState(T){const k=f().getGlobalEventTarget(this._doc,"window");return k.addEventListener("popstate",T,!1),()=>k.removeEventListener("popstate",T)}onHashChange(T){const k=f().getGlobalEventTarget(this._doc,"window");return k.addEventListener("hashchange",T,!1),()=>k.removeEventListener("hashchange",T)}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(T){this._location.pathname=T}pushState(T,k,ve){this._history.pushState(T,k,ve)}replaceState(T,k,ve){this._history.replaceState(T,k,ve)}forward(){this._history.forward()}back(){this._history.back()}historyGo(T=0){this._history.go(T)}getState(){return this._history.state}static#e=this.\u0275fac=function(k){return new(k||D)};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:D,factory:function(){return new D},providedIn:"platform"})}return D})();function u(D,G){if(0==D.length)return G;if(0==G.length)return D;let T=0;return D.endsWith("/")&&T++,G.startsWith("/")&&T++,2==T?D+G.substring(1):1==T?D+G:D+"/"+G}function b(D){const G=D.match(/#|\?|$/),T=G&&G.index||D.length;return D.slice(0,T-("/"===D[T-1]?1:0))+D.slice(T)}function C(D){return D&&"?"!==D[0]?"?"+D:D}let M=(()=>{class D{historyGo(T){throw new Error("Not implemented")}static#e=this.\u0275fac=function(k){return new(k||D)};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:D,factory:function(){return(0,i.inject)(H)},providedIn:"root"})}return D})();const S=new i.InjectionToken("appBaseHref");let H=(()=>{class D extends M{constructor(T,k){super(),this._platformLocation=T,this._removeListenerFns=[],this._baseHref=k??this._platformLocation.getBaseHrefFromDOM()??(0,i.inject)(h).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(T){this._removeListenerFns.push(this._platformLocation.onPopState(T),this._platformLocation.onHashChange(T))}getBaseHref(){return this._baseHref}prepareExternalUrl(T){return u(this._baseHref,T)}path(T=!1){const k=this._platformLocation.pathname+C(this._platformLocation.search),ve=this._platformLocation.hash;return ve&&T?`${k}${ve}`:k}pushState(T,k,ve,ft){const Et=this.prepareExternalUrl(ve+C(ft));this._platformLocation.pushState(T,k,Et)}replaceState(T,k,ve,ft){const Et=this.prepareExternalUrl(ve+C(ft));this._platformLocation.replaceState(T,k,Et)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(T=0){this._platformLocation.historyGo?.(T)}static#e=this.\u0275fac=function(k){return new(k||D)(i.\u0275\u0275inject(g),i.\u0275\u0275inject(S,8))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})(),j=(()=>{class D extends M{constructor(T,k){super(),this._platformLocation=T,this._baseHref="",this._removeListenerFns=[],null!=k&&(this._baseHref=k)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(T){this._removeListenerFns.push(this._platformLocation.onPopState(T),this._platformLocation.onHashChange(T))}getBaseHref(){return this._baseHref}path(T=!1){let k=this._platformLocation.hash;return null==k&&(k="#"),k.length>0?k.substring(1):k}prepareExternalUrl(T){const k=u(this._baseHref,T);return k.length>0?"#"+k:k}pushState(T,k,ve,ft){let Et=this.prepareExternalUrl(ve+C(ft));0==Et.length&&(Et=this._platformLocation.pathname),this._platformLocation.pushState(T,k,Et)}replaceState(T,k,ve,ft){let Et=this.prepareExternalUrl(ve+C(ft));0==Et.length&&(Et=this._platformLocation.pathname),this._platformLocation.replaceState(T,k,Et)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(T=0){this._platformLocation.historyGo?.(T)}static#e=this.\u0275fac=function(k){return new(k||D)(i.\u0275\u0275inject(g),i.\u0275\u0275inject(S,8))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:D,factory:D.\u0275fac})}return D})(),N=(()=>{class D{constructor(T){this._subject=new i.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=T;const k=this._locationStrategy.getBaseHref();this._basePath=function X(D){if(new RegExp("^(https?:)?//").test(D)){const[,T]=D.split(/\/\/[^\/]+/);return T}return D}(b(oe(k))),this._locationStrategy.onPopState(ve=>{this._subject.emit({url:this.path(!0),pop:!0,state:ve.state,type:ve.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(T=!1){return this.normalize(this._locationStrategy.path(T))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(T,k=""){return this.path()==this.normalize(T+C(k))}normalize(T){return D.stripTrailingSlash(function z(D,G){if(!D||!G.startsWith(D))return G;const T=G.substring(D.length);return""===T||["/",";","?","#"].includes(T[0])?T:G}(this._basePath,oe(T)))}prepareExternalUrl(T){return T&&"/"!==T[0]&&(T="/"+T),this._locationStrategy.prepareExternalUrl(T)}go(T,k="",ve=null){this._locationStrategy.pushState(ve,"",T,k),this._notifyUrlChangeListeners(this.prepareExternalUrl(T+C(k)),ve)}replaceState(T,k="",ve=null){this._locationStrategy.replaceState(ve,"",T,k),this._notifyUrlChangeListeners(this.prepareExternalUrl(T+C(k)),ve)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(T=0){this._locationStrategy.historyGo?.(T)}onUrlChange(T){return this._urlChangeListeners.push(T),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(k=>{this._notifyUrlChangeListeners(k.url,k.state)})),()=>{const k=this._urlChangeListeners.indexOf(T);this._urlChangeListeners.splice(k,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(T="",k){this._urlChangeListeners.forEach(ve=>ve(T,k))}subscribe(T,k,ve){return this._subject.subscribe({next:T,error:k,complete:ve})}static#e=this.normalizeQueryParams=C;static#t=this.joinWithSlash=u;static#n=this.stripTrailingSlash=b;static#i=this.\u0275fac=function(k){return new(k||D)(i.\u0275\u0275inject(M))};static#r=this.\u0275prov=i.\u0275\u0275defineInjectable({token:D,factory:function(){return function fe(){return new N((0,i.\u0275\u0275inject)(M))}()},providedIn:"root"})}return D})();function oe(D){return D.replace(/\/index.html$/,"")}const K={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var me=function(D){return D[D.Decimal=0]="Decimal",D[D.Percent=1]="Percent",D[D.Currency=2]="Currency",D[D.Scientific=3]="Scientific",D}(me||{}),ae=function(D){return D[D.Zero=0]="Zero",D[D.One=1]="One",D[D.Two=2]="Two",D[D.Few=3]="Few",D[D.Many=4]="Many",D[D.Other=5]="Other",D}(ae||{}),te=function(D){return D[D.Format=0]="Format",D[D.Standalone=1]="Standalone",D}(te||{}),pe=function(D){return D[D.Narrow=0]="Narrow",D[D.Abbreviated=1]="Abbreviated",D[D.Wide=2]="Wide",D[D.Short=3]="Short",D}(pe||{}),it=function(D){return D[D.Short=0]="Short",D[D.Medium=1]="Medium",D[D.Long=2]="Long",D[D.Full=3]="Full",D}(it||{}),be=function(D){return D[D.Decimal=0]="Decimal",D[D.Group=1]="Group",D[D.List=2]="List",D[D.PercentSign=3]="PercentSign",D[D.PlusSign=4]="PlusSign",D[D.MinusSign=5]="MinusSign",D[D.Exponential=6]="Exponential",D[D.SuperscriptingExponent=7]="SuperscriptingExponent",D[D.PerMille=8]="PerMille",D[D.Infinity=9]="Infinity",D[D.NaN=10]="NaN",D[D.TimeSeparator=11]="TimeSeparator",D[D.CurrencyDecimal=12]="CurrencyDecimal",D[D.CurrencyGroup=13]="CurrencyGroup",D}(be||{}),We=function(D){return D[D.Sunday=0]="Sunday",D[D.Monday=1]="Monday",D[D.Tuesday=2]="Tuesday",D[D.Wednesday=3]="Wednesday",D[D.Thursday=4]="Thursday",D[D.Friday=5]="Friday",D[D.Saturday=6]="Saturday",D}(We||{});function ce(D){return(0,i.\u0275findLocaleData)(D)[i.\u0275LocaleDataIndex.LocaleId]}function Ae(D,G,T){const k=(0,i.\u0275findLocaleData)(D),ft=Ee([k[i.\u0275LocaleDataIndex.DayPeriodsFormat],k[i.\u0275LocaleDataIndex.DayPeriodsStandalone]],G);return Ee(ft,T)}function Ye(D,G,T){const k=(0,i.\u0275findLocaleData)(D),ft=Ee([k[i.\u0275LocaleDataIndex.DaysFormat],k[i.\u0275LocaleDataIndex.DaysStandalone]],G);return Ee(ft,T)}function Qe(D,G,T){const k=(0,i.\u0275findLocaleData)(D),ft=Ee([k[i.\u0275LocaleDataIndex.MonthsFormat],k[i.\u0275LocaleDataIndex.MonthsStandalone]],G);return Ee(ft,T)}function ot(D,G){return Ee((0,i.\u0275findLocaleData)(D)[i.\u0275LocaleDataIndex.Eras],G)}function kt(D){return(0,i.\u0275findLocaleData)(D)[i.\u0275LocaleDataIndex.FirstDayOfWeek]}function je(D){return(0,i.\u0275findLocaleData)(D)[i.\u0275LocaleDataIndex.WeekendRange]}function Ve(D,G){return Ee((0,i.\u0275findLocaleData)(D)[i.\u0275LocaleDataIndex.DateFormat],G)}function ye(D,G){return Ee((0,i.\u0275findLocaleData)(D)[i.\u0275LocaleDataIndex.TimeFormat],G)}function we(D,G){return Ee((0,i.\u0275findLocaleData)(D)[i.\u0275LocaleDataIndex.DateTimeFormat],G)}function ne(D,G){const T=(0,i.\u0275findLocaleData)(D),k=T[i.\u0275LocaleDataIndex.NumberSymbols][G];if(typeof k>"u"){if(G===be.CurrencyDecimal)return T[i.\u0275LocaleDataIndex.NumberSymbols][be.Decimal];if(G===be.CurrencyGroup)return T[i.\u0275LocaleDataIndex.NumberSymbols][be.Group]}return k}function B(D,G){return(0,i.\u0275findLocaleData)(D)[i.\u0275LocaleDataIndex.NumberFormats][G]}function J(D){return(0,i.\u0275findLocaleData)(D)[i.\u0275LocaleDataIndex.CurrencySymbol]||null}function Ze(D){return(0,i.\u0275findLocaleData)(D)[i.\u0275LocaleDataIndex.CurrencyName]||null}function ct(D){return(0,i.\u0275getLocaleCurrencyCode)(D)}const Dt=i.\u0275getLocalePluralCase;function Vt(D){if(!D[i.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${D[i.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Fe(D){const G=(0,i.\u0275findLocaleData)(D);return Vt(G),(G[i.\u0275LocaleDataIndex.ExtraData][2]||[]).map(k=>"string"==typeof k?Te(k):[Te(k[0]),Te(k[1])])}function ke(D,G,T){const k=(0,i.\u0275findLocaleData)(D);Vt(k);const ft=Ee([k[i.\u0275LocaleDataIndex.ExtraData][0],k[i.\u0275LocaleDataIndex.ExtraData][1]],G)||[];return Ee(ft,T)||[]}function Ge(D){return(0,i.\u0275findLocaleData)(D)[i.\u0275LocaleDataIndex.Directionality]}function Ee(D,G){for(let T=G;T>-1;T--)if(typeof D[T]<"u")return D[T];throw new Error("Locale data API: locale data undefined")}function Te(D){const[G,T]=D.split(":");return{hours:+G,minutes:+T}}function pt(D,G,T="en"){const k=function Nt(D){return(0,i.\u0275findLocaleData)(D)[i.\u0275LocaleDataIndex.Currencies]}(T)[D]||K[D]||[],ve=k[1];return"narrow"===G&&"string"==typeof ve?ve:k[0]||D}const dt=2;function qe(D){let G;const T=K[D];return T&&(G=T[2]),"number"==typeof G?G:dt}const Y=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,_e={},Ie=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var st=function(D){return D[D.Short=0]="Short",D[D.ShortGMT=1]="ShortGMT",D[D.Long=2]="Long",D[D.Extended=3]="Extended",D}(st||{}),tt=function(D){return D[D.FullYear=0]="FullYear",D[D.Month=1]="Month",D[D.Date=2]="Date",D[D.Hours=3]="Hours",D[D.Minutes=4]="Minutes",D[D.Seconds=5]="Seconds",D[D.FractionalSeconds=6]="FractionalSeconds",D[D.Day=7]="Day",D}(tt||{}),Ct=function(D){return D[D.DayPeriods=0]="DayPeriods",D[D.Days=1]="Days",D[D.Months=2]="Months",D[D.Eras=3]="Eras",D}(Ct||{});function Wt(D,G,T,k){let ve=function Jt(D){if(ue(D))return D;if("number"==typeof D&&!isNaN(D))return new Date(D);if("string"==typeof D){if(D=D.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(D)){const[ve,ft=1,Et=1]=D.split("-").map(Xt=>+Xt);return Kt(ve,ft-1,Et)}const T=parseFloat(D);if(!isNaN(D-T))return new Date(T);let k;if(k=D.match(Y))return function lt(D){const G=new Date(0);let T=0,k=0;const ve=D[8]?G.setUTCFullYear:G.setFullYear,ft=D[8]?G.setUTCHours:G.setHours;D[9]&&(T=Number(D[9]+D[10]),k=Number(D[9]+D[11])),ve.call(G,Number(D[1]),Number(D[2])-1,Number(D[3]));const Et=Number(D[4]||0)-T,Xt=Number(D[5]||0)-k,$n=Number(D[6]||0),Wn=Math.floor(1e3*parseFloat("0."+(D[7]||0)));return ft.call(G,Et,Xt,$n,Wn),G}(k)}const G=new Date(D);if(!ue(G))throw new Error(`Unable to convert "${D}" into a date`);return G}(D);G=Qt(T,G)||G;let Xt,Et=[];for(;G;){if(Xt=Ie.exec(G),!Xt){Et.push(G);break}{Et=Et.concat(Xt.slice(1));const jn=Et.pop();if(!jn)break;G=jn}}let $n=ve.getTimezoneOffset();k&&($n=Be(k,$n),ve=function Ot(D,G,T){const k=T?-1:1,ve=D.getTimezoneOffset();return function ht(D,G){return(D=new Date(D.getTime())).setMinutes(D.getMinutes()+G),D}(D,k*(Be(G,ve)-ve))}(ve,k,!0));let Wn="";return Et.forEach(jn=>{const Sn=function Ce(D){if(et[D])return et[D];let G;switch(D){case"G":case"GG":case"GGG":G=ge(Ct.Eras,pe.Abbreviated);break;case"GGGG":G=ge(Ct.Eras,pe.Wide);break;case"GGGGG":G=ge(Ct.Eras,pe.Narrow);break;case"y":G=Ne(tt.FullYear,1,0,!1,!0);break;case"yy":G=Ne(tt.FullYear,2,0,!0,!0);break;case"yyy":G=Ne(tt.FullYear,3,0,!1,!0);break;case"yyyy":G=Ne(tt.FullYear,4,0,!1,!0);break;case"Y":G=_t(1);break;case"YY":G=_t(2,!0);break;case"YYY":G=_t(3);break;case"YYYY":G=_t(4);break;case"M":case"L":G=Ne(tt.Month,1,1);break;case"MM":case"LL":G=Ne(tt.Month,2,1);break;case"MMM":G=ge(Ct.Months,pe.Abbreviated);break;case"MMMM":G=ge(Ct.Months,pe.Wide);break;case"MMMMM":G=ge(Ct.Months,pe.Narrow);break;case"LLL":G=ge(Ct.Months,pe.Abbreviated,te.Standalone);break;case"LLLL":G=ge(Ct.Months,pe.Wide,te.Standalone);break;case"LLLLL":G=ge(Ct.Months,pe.Narrow,te.Standalone);break;case"w":G=Dn(1);break;case"ww":G=Dn(2);break;case"W":G=Dn(1,!0);break;case"d":G=Ne(tt.Date,1);break;case"dd":G=Ne(tt.Date,2);break;case"c":case"cc":G=Ne(tt.Day,1);break;case"ccc":G=ge(Ct.Days,pe.Abbreviated,te.Standalone);break;case"cccc":G=ge(Ct.Days,pe.Wide,te.Standalone);break;case"ccccc":G=ge(Ct.Days,pe.Narrow,te.Standalone);break;case"cccccc":G=ge(Ct.Days,pe.Short,te.Standalone);break;case"E":case"EE":case"EEE":G=ge(Ct.Days,pe.Abbreviated);break;case"EEEE":G=ge(Ct.Days,pe.Wide);break;case"EEEEE":G=ge(Ct.Days,pe.Narrow);break;case"EEEEEE":G=ge(Ct.Days,pe.Short);break;case"a":case"aa":case"aaa":G=ge(Ct.DayPeriods,pe.Abbreviated);break;case"aaaa":G=ge(Ct.DayPeriods,pe.Wide);break;case"aaaaa":G=ge(Ct.DayPeriods,pe.Narrow);break;case"b":case"bb":case"bbb":G=ge(Ct.DayPeriods,pe.Abbreviated,te.Standalone,!0);break;case"bbbb":G=ge(Ct.DayPeriods,pe.Wide,te.Standalone,!0);break;case"bbbbb":G=ge(Ct.DayPeriods,pe.Narrow,te.Standalone,!0);break;case"B":case"BB":case"BBB":G=ge(Ct.DayPeriods,pe.Abbreviated,te.Format,!0);break;case"BBBB":G=ge(Ct.DayPeriods,pe.Wide,te.Format,!0);break;case"BBBBB":G=ge(Ct.DayPeriods,pe.Narrow,te.Format,!0);break;case"h":G=Ne(tt.Hours,1,-12);break;case"hh":G=Ne(tt.Hours,2,-12);break;case"H":G=Ne(tt.Hours,1);break;case"HH":G=Ne(tt.Hours,2);break;case"m":G=Ne(tt.Minutes,1);break;case"mm":G=Ne(tt.Minutes,2);break;case"s":G=Ne(tt.Seconds,1);break;case"ss":G=Ne(tt.Seconds,2);break;case"S":G=Ne(tt.FractionalSeconds,1);break;case"SS":G=Ne(tt.FractionalSeconds,2);break;case"SSS":G=Ne(tt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":G=Tt(st.Short);break;case"ZZZZZ":G=Tt(st.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":G=Tt(st.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":G=Tt(st.Long);break;default:return null}return et[D]=G,G}(jn);Wn+=Sn?Sn(ve,T,$n):"''"===jn?"'":jn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Wn}function Kt(D,G,T){const k=new Date(0);return k.setFullYear(D,G,T),k.setHours(0,0,0),k}function Qt(D,G){const T=ce(D);if(_e[T]=_e[T]||{},_e[T][G])return _e[T][G];let k="";switch(G){case"shortDate":k=Ve(D,it.Short);break;case"mediumDate":k=Ve(D,it.Medium);break;case"longDate":k=Ve(D,it.Long);break;case"fullDate":k=Ve(D,it.Full);break;case"shortTime":k=ye(D,it.Short);break;case"mediumTime":k=ye(D,it.Medium);break;case"longTime":k=ye(D,it.Long);break;case"fullTime":k=ye(D,it.Full);break;case"short":const ve=Qt(D,"shortTime"),ft=Qt(D,"shortDate");k=Zt(we(D,it.Short),[ve,ft]);break;case"medium":const Et=Qt(D,"mediumTime"),Xt=Qt(D,"mediumDate");k=Zt(we(D,it.Medium),[Et,Xt]);break;case"long":const $n=Qt(D,"longTime"),Wn=Qt(D,"longDate");k=Zt(we(D,it.Long),[$n,Wn]);break;case"full":const jn=Qt(D,"fullTime"),Sn=Qt(D,"fullDate");k=Zt(we(D,it.Full),[jn,Sn])}return k&&(_e[T][G]=k),k}function Zt(D,G){return G&&(D=D.replace(/\{([^}]+)}/g,function(T,k){return null!=G&&k in G?G[k]:T})),D}function at(D,G,T="-",k,ve){let ft="";(D<0||ve&&D<=0)&&(ve?D=1-D:(D=-D,ft=T));let Et=String(D);for(;Et.length<G;)Et="0"+Et;return k&&(Et=Et.slice(Et.length-G)),ft+Et}function Ne(D,G,T=0,k=!1,ve=!1){return function(ft,Et){let Xt=function ee(D,G){switch(D){case tt.FullYear:return G.getFullYear();case tt.Month:return G.getMonth();case tt.Date:return G.getDate();case tt.Hours:return G.getHours();case tt.Minutes:return G.getMinutes();case tt.Seconds:return G.getSeconds();case tt.FractionalSeconds:return G.getMilliseconds();case tt.Day:return G.getDay();default:throw new Error(`Unknown DateType value "${D}".`)}}(D,ft);if((T>0||Xt>-T)&&(Xt+=T),D===tt.Hours)0===Xt&&-12===T&&(Xt=12);else if(D===tt.FractionalSeconds)return function yt(D,G){return at(D,3).substring(0,G)}(Xt,G);const $n=ne(Et,be.MinusSign);return at(Xt,G,$n,k,ve)}}function ge(D,G,T=te.Format,k=!1){return function(ve,ft){return function rt(D,G,T,k,ve,ft){switch(T){case Ct.Months:return Qe(G,ve,k)[D.getMonth()];case Ct.Days:return Ye(G,ve,k)[D.getDay()];case Ct.DayPeriods:const Et=D.getHours(),Xt=D.getMinutes();if(ft){const Wn=Fe(G),jn=ke(G,ve,k),Sn=Wn.findIndex(di=>{if(Array.isArray(di)){const[Yn,Ei]=di,Pr=Et>=Yn.hours&&Xt>=Yn.minutes,xr=Et<Ei.hours||Et===Ei.hours&&Xt<Ei.minutes;if(Yn.hours<Ei.hours){if(Pr&&xr)return!0}else if(Pr||xr)return!0}else if(di.hours===Et&&di.minutes===Xt)return!0;return!1});if(-1!==Sn)return jn[Sn]}return Ae(G,ve,k)[Et<12?0:1];case Ct.Eras:return ot(G,k)[D.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${T}`)}}(ve,ft,D,G,T,k)}}function Tt(D){return function(G,T,k){const ve=-1*k,ft=ne(T,be.MinusSign),Et=ve>0?Math.floor(ve/60):Math.ceil(ve/60);switch(D){case st.Short:return(ve>=0?"+":"")+at(Et,2,ft)+at(Math.abs(ve%60),2,ft);case st.ShortGMT:return"GMT"+(ve>=0?"+":"")+at(Et,1,ft);case st.Long:return"GMT"+(ve>=0?"+":"")+at(Et,2,ft)+":"+at(Math.abs(ve%60),2,ft);case st.Extended:return 0===k?"Z":(ve>=0?"+":"")+at(Et,2,ft)+":"+at(Math.abs(ve%60),2,ft);default:throw new Error(`Unknown zone width "${D}"`)}}}const Ft=0,qt=4;function pn(D){return Kt(D.getFullYear(),D.getMonth(),D.getDate()+(qt-D.getDay()))}function Dn(D,G=!1){return function(T,k){let ve;if(G){const ft=new Date(T.getFullYear(),T.getMonth(),1).getDay()-1,Et=T.getDate();ve=1+Math.floor((Et+ft)/7)}else{const ft=pn(T),Et=function ln(D){const G=Kt(D,Ft,1).getDay();return Kt(D,0,1+(G<=qt?qt:qt+7)-G)}(ft.getFullYear()),Xt=ft.getTime()-Et.getTime();ve=1+Math.round(Xt/6048e5)}return at(ve,D,ne(k,be.MinusSign))}}function _t(D,G=!1){return function(T,k){return at(pn(T).getFullYear(),D,ne(k,be.MinusSign),G)}}const et={};function Be(D,G){D=D.replace(/:/g,"");const T=Date.parse("Jan 01, 1970 00:00:00 "+D)/6e4;return isNaN(T)?G:T}function ue(D){return D instanceof Date&&!isNaN(D.valueOf())}const L=/^(\d+)?\.((\d+)(-(\d+))?)?$/,A=22,ie=".",ze="0",Mt=";",Xe=",",xt="#",de="\xa4",Me="%";function Se(D,G,T,k,ve,ft,Et=!1){let Xt="",$n=!1;if(isFinite(D)){let Wn=function Ue(D){let k,ve,ft,Et,Xt,G=Math.abs(D)+"",T=0;for((ve=G.indexOf(ie))>-1&&(G=G.replace(ie,"")),(ft=G.search(/e/i))>0?(ve<0&&(ve=ft),ve+=+G.slice(ft+1),G=G.substring(0,ft)):ve<0&&(ve=G.length),ft=0;G.charAt(ft)===ze;ft++);if(ft===(Xt=G.length))k=[0],ve=1;else{for(Xt--;G.charAt(Xt)===ze;)Xt--;for(ve-=ft,k=[],Et=0;ft<=Xt;ft++,Et++)k[Et]=Number(G.charAt(ft))}return ve>A&&(k=k.splice(0,A-1),T=ve-1,ve=1),{digits:k,exponent:T,integerLen:ve}}(D);Et&&(Wn=function fn(D){if(0===D.digits[0])return D;const G=D.digits.length-D.integerLen;return D.exponent?D.exponent+=2:(0===G?D.digits.push(0,0):1===G&&D.digits.push(0),D.integerLen+=2),D}(Wn));let jn=G.minInt,Sn=G.minFrac,di=G.maxFrac;if(ft){const Wi=ft.match(L);if(null===Wi)throw new Error(`${ft} is not a valid digit info`);const Xr=Wi[1],Ii=Wi[3],Jr=Wi[5];null!=Xr&&(jn=xe(Xr)),null!=Ii&&(Sn=xe(Ii)),null!=Jr?di=xe(Jr):null!=Ii&&Sn>di&&(di=Sn)}!function Re(D,G,T){if(G>T)throw new Error(`The minimum number of digits after fraction (${G}) is higher than the maximum (${T}).`);let k=D.digits,ve=k.length-D.integerLen;const ft=Math.min(Math.max(G,ve),T);let Et=ft+D.integerLen,Xt=k[Et];if(Et>0){k.splice(Math.max(D.integerLen,Et));for(let Sn=Et;Sn<k.length;Sn++)k[Sn]=0}else{ve=Math.max(0,ve),D.integerLen=1,k.length=Math.max(1,Et=ft+1),k[0]=0;for(let Sn=1;Sn<Et;Sn++)k[Sn]=0}if(Xt>=5)if(Et-1<0){for(let Sn=0;Sn>Et;Sn--)k.unshift(0),D.integerLen++;k.unshift(1),D.integerLen++}else k[Et-1]++;for(;ve<Math.max(0,ft);ve++)k.push(0);let $n=0!==ft;const Wn=G+D.integerLen,jn=k.reduceRight(function(Sn,di,Yn,Ei){return Ei[Yn]=(di+=Sn)<10?di:di-10,$n&&(0===Ei[Yn]&&Yn>=Wn?Ei.pop():$n=!1),di>=10?1:0},0);jn&&(k.unshift(jn),D.integerLen++)}(Wn,Sn,di);let Yn=Wn.digits,Ei=Wn.integerLen;const Pr=Wn.exponent;let xr=[];for($n=Yn.every(Wi=>!Wi);Ei<jn;Ei++)Yn.unshift(0);for(;Ei<0;Ei++)Yn.unshift(0);Ei>0?xr=Yn.splice(Ei,Yn.length):(xr=Yn,Yn=[0]);const ho=[];for(Yn.length>=G.lgSize&&ho.unshift(Yn.splice(-G.lgSize,Yn.length).join(""));Yn.length>G.gSize;)ho.unshift(Yn.splice(-G.gSize,Yn.length).join(""));Yn.length&&ho.unshift(Yn.join("")),Xt=ho.join(ne(T,k)),xr.length&&(Xt+=ne(T,ve)+xr.join("")),Pr&&(Xt+=ne(T,be.Exponential)+"+"+Pr)}else Xt=ne(T,be.Infinity);return Xt=D<0&&!$n?G.negPre+Xt+G.negSuf:G.posPre+Xt+G.posSuf,Xt}function vt(D,G,T,k,ve){const Et=cn(B(G,me.Currency),ne(G,be.MinusSign));return Et.minFrac=qe(k),Et.maxFrac=Et.minFrac,Se(D,Et,G,be.CurrencyGroup,be.CurrencyDecimal,ve).replace(de,T).replace(de,"").trim()}function Ht(D,G,T){return Se(D,cn(B(G,me.Percent),ne(G,be.MinusSign)),G,be.Group,be.Decimal,T,!0).replace(new RegExp(Me,"g"),ne(G,be.PercentSign))}function vn(D,G,T){return Se(D,cn(B(G,me.Decimal),ne(G,be.MinusSign)),G,be.Group,be.Decimal,T)}function cn(D,G="-"){const T={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},k=D.split(Mt),ve=k[0],ft=k[1],Et=-1!==ve.indexOf(ie)?ve.split(ie):[ve.substring(0,ve.lastIndexOf(ze)+1),ve.substring(ve.lastIndexOf(ze)+1)],Xt=Et[0],$n=Et[1]||"";T.posPre=Xt.substring(0,Xt.indexOf(xt));for(let jn=0;jn<$n.length;jn++){const Sn=$n.charAt(jn);Sn===ze?T.minFrac=T.maxFrac=jn+1:Sn===xt?T.maxFrac=jn+1:T.posSuf+=Sn}const Wn=Xt.split(Xe);if(T.gSize=Wn[1]?Wn[1].length:0,T.lgSize=Wn[2]||Wn[1]?(Wn[2]||Wn[1]).length:0,ft){const jn=ve.length-T.posPre.length-T.posSuf.length,Sn=ft.indexOf(xt);T.negPre=ft.substring(0,Sn).replace(/'/g,""),T.negSuf=ft.slice(Sn+jn).replace(/'/g,"")}else T.negPre=G+T.posPre,T.negSuf=T.posSuf;return T}function xe(D){const G=parseInt(D);if(isNaN(G))throw new Error("Invalid integer literal when parsing "+D);return G}let mt=(()=>{class D{static#e=this.\u0275fac=function(k){return new(k||D)};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:D,factory:function(k){let ve=null;return k?ve=new k:(ft=i.\u0275\u0275inject(i.LOCALE_ID),ve=new At(ft)),ve;var ft},providedIn:"root"})}return D})();function wt(D,G,T,k){let ve=`=${D}`;if(G.indexOf(ve)>-1||(ve=T.getPluralCategory(D,k),G.indexOf(ve)>-1))return ve;if(G.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${D}"`)}let At=(()=>{class D extends mt{constructor(T){super(),this.locale=T}getPluralCategory(T,k){switch(Dt(k||this.locale)(T)){case ae.Zero:return"zero";case ae.One:return"one";case ae.Two:return"two";case ae.Few:return"few";case ae.Many:return"many";default:return"other"}}static#e=this.\u0275fac=function(k){return new(k||D)(i.\u0275\u0275inject(i.LOCALE_ID))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:D,factory:D.\u0275fac})}return D})();function Pt(D,G,T){return(0,i.\u0275registerLocaleData)(D,G,T)}function tn(D,G){G=encodeURIComponent(G);for(const T of D.split(";")){const k=T.indexOf("="),[ve,ft]=-1==k?[T,""]:[T.slice(0,k),T.slice(k+1)];if(ve.trim()===G)return decodeURIComponent(ft)}return null}const Gt=/\s+/,In=[];let Vn=(()=>{class D{constructor(T,k,ve,ft){this._iterableDiffers=T,this._keyValueDiffers=k,this._ngEl=ve,this._renderer=ft,this.initialClasses=In,this.stateMap=new Map}set klass(T){this.initialClasses=null!=T?T.trim().split(Gt):In}set ngClass(T){this.rawClass="string"==typeof T?T.trim().split(Gt):T}ngDoCheck(){for(const k of this.initialClasses)this._updateState(k,!0);const T=this.rawClass;if(Array.isArray(T)||T instanceof Set)for(const k of T)this._updateState(k,!0);else if(null!=T)for(const k of Object.keys(T))this._updateState(k,!!T[k]);this._applyStateDiff()}_updateState(T,k){const ve=this.stateMap.get(T);void 0!==ve?(ve.enabled!==k&&(ve.changed=!0,ve.enabled=k),ve.touched=!0):this.stateMap.set(T,{enabled:k,changed:!0,touched:!0})}_applyStateDiff(){for(const T of this.stateMap){const k=T[0],ve=T[1];ve.changed?(this._toggleClass(k,ve.enabled),ve.changed=!1):ve.touched||(ve.enabled&&this._toggleClass(k,!1),this.stateMap.delete(k)),ve.touched=!1}}_toggleClass(T,k){(T=T.trim()).length>0&&T.split(Gt).forEach(ve=>{k?this._renderer.addClass(this._ngEl.nativeElement,ve):this._renderer.removeClass(this._ngEl.nativeElement,ve)})}static#e=this.\u0275fac=function(k){return new(k||D)(i.\u0275\u0275directiveInject(i.IterableDiffers),i.\u0275\u0275directiveInject(i.KeyValueDiffers),i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.Renderer2))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:D,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return D})(),An=(()=>{class D{constructor(T){this._viewContainerRef=T,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(T){return void 0!==T.ngComponentOutletNgModule||void 0!==T.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(T){return void 0!==T.ngComponentOutlet||void 0!==T.ngComponentOutletContent||void 0!==T.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(T)}ngOnChanges(T){if(this._needToReCreateComponentInstance(T)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const k=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(T)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,i.createNgModule)(this.ngComponentOutletNgModule,kn(k)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(kn(k)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:k,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const T of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(T,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(T){for(const[k,ve]of this._inputsUsed)ve?(T.setInput(k,this.ngComponentOutletInputs[k]),this._inputsUsed.set(k,!1)):(T.setInput(k,void 0),this._inputsUsed.delete(k))}static#e=this.\u0275fac=function(k){return new(k||D)(i.\u0275\u0275directiveInject(i.ViewContainerRef))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:D,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[i.\u0275\u0275NgOnChangesFeature]})}return D})();function kn(D){return D.get(i.NgModuleRef).injector}class Ci{constructor(G,T,k,ve){this.$implicit=G,this.ngForOf=T,this.index=k,this.count=ve}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Pn=(()=>{class D{set ngForOf(T){this._ngForOf=T,this._ngForOfDirty=!0}set ngForTrackBy(T){this._trackByFn=T}get ngForTrackBy(){return this._trackByFn}constructor(T,k,ve){this._viewContainer=T,this._template=k,this._differs=ve,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(T){T&&(this._template=T)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const T=this._ngForOf;!this._differ&&T&&(this._differ=this._differs.find(T).create(this.ngForTrackBy))}if(this._differ){const T=this._differ.diff(this._ngForOf);T&&this._applyChanges(T)}}_applyChanges(T){const k=this._viewContainer;T.forEachOperation((ve,ft,Et)=>{if(null==ve.previousIndex)k.createEmbeddedView(this._template,new Ci(ve.item,this._ngForOf,-1,-1),null===Et?void 0:Et);else if(null==Et)k.remove(null===ft?void 0:ft);else if(null!==ft){const Xt=k.get(ft);k.move(Xt,Et),bn(Xt,ve)}});for(let ve=0,ft=k.length;ve<ft;ve++){const Xt=k.get(ve).context;Xt.index=ve,Xt.count=ft,Xt.ngForOf=this._ngForOf}T.forEachIdentityChange(ve=>{bn(k.get(ve.currentIndex),ve)})}static ngTemplateContextGuard(T,k){return!0}static#e=this.\u0275fac=function(k){return new(k||D)(i.\u0275\u0275directiveInject(i.ViewContainerRef),i.\u0275\u0275directiveInject(i.TemplateRef),i.\u0275\u0275directiveInject(i.IterableDiffers))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:D,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return D})();function bn(D,G){D.context.$implicit=G.item}let nt=(()=>{class D{constructor(T,k){this._viewContainer=T,this._context=new U,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=k}set ngIf(T){this._context.$implicit=this._context.ngIf=T,this._updateView()}set ngIfThen(T){se("ngIfThen",T),this._thenTemplateRef=T,this._thenViewRef=null,this._updateView()}set ngIfElse(T){se("ngIfElse",T),this._elseTemplateRef=T,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(T,k){return!0}static#e=this.\u0275fac=function(k){return new(k||D)(i.\u0275\u0275directiveInject(i.ViewContainerRef),i.\u0275\u0275directiveInject(i.TemplateRef))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:D,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return D})();class U{constructor(){this.$implicit=null,this.ngIf=null}}function se(D,G){if(G&&!G.createEmbeddedView)throw new Error(`${D} must be a TemplateRef, but received '${(0,i.\u0275stringify)(G)}'.`)}class ${constructor(G,T){this._viewContainerRef=G,this._templateRef=T,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(G){G&&!this._created?this.create():!G&&this._created&&this.destroy()}}let $e=(()=>{class D{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(T){this._ngSwitch=T,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(T){this._defaultViews.push(T)}_matchCase(T){const k=T==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||k,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),k}_updateDefaultCases(T){if(this._defaultViews.length>0&&T!==this._defaultUsed){this._defaultUsed=T;for(const k of this._defaultViews)k.enforceState(T)}}static#e=this.\u0275fac=function(k){return new(k||D)};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:D,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return D})(),R=(()=>{class D{constructor(T,k,ve){this.ngSwitch=ve,ve._addCase(),this._view=new $(T,k)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(k){return new(k||D)(i.\u0275\u0275directiveInject(i.ViewContainerRef),i.\u0275\u0275directiveInject(i.TemplateRef),i.\u0275\u0275directiveInject($e,9))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:D,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return D})(),Pe=(()=>{class D{constructor(T,k,ve){ve._addDefault(new $(T,k))}static#e=this.\u0275fac=function(k){return new(k||D)(i.\u0275\u0275directiveInject(i.ViewContainerRef),i.\u0275\u0275directiveInject(i.TemplateRef),i.\u0275\u0275directiveInject($e,9))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:D,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return D})(),Bt=(()=>{class D{constructor(T){this._localization=T,this._caseViews={}}set ngPlural(T){this._updateView(T)}addCase(T,k){this._caseViews[T]=k}_updateView(T){this._clearViews();const ve=wt(T,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[ve])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(T){T&&(this._activeView=T,this._activeView.create())}static#e=this.\u0275fac=function(k){return new(k||D)(i.\u0275\u0275directiveInject(mt))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:D,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0})}return D})(),Lt=(()=>{class D{constructor(T,k,ve,ft){this.value=T;const Et=!isNaN(Number(T));ft.addCase(Et?`=${T}`:T,new $(ve,k))}static#e=this.\u0275fac=function(k){return new(k||D)(i.\u0275\u0275injectAttribute("ngPluralCase"),i.\u0275\u0275directiveInject(i.TemplateRef),i.\u0275\u0275directiveInject(i.ViewContainerRef),i.\u0275\u0275directiveInject(Bt,1))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:D,selectors:[["","ngPluralCase",""]],standalone:!0})}return D})(),yn=(()=>{class D{constructor(T,k,ve){this._ngEl=T,this._differs=k,this._renderer=ve,this._ngStyle=null,this._differ=null}set ngStyle(T){this._ngStyle=T,!this._differ&&T&&(this._differ=this._differs.find(T).create())}ngDoCheck(){if(this._differ){const T=this._differ.diff(this._ngStyle);T&&this._applyChanges(T)}}_setStyle(T,k){const[ve,ft]=T.split("."),Et=-1===ve.indexOf("-")?void 0:i.RendererStyleFlags2.DashCase;null!=k?this._renderer.setStyle(this._ngEl.nativeElement,ve,ft?`${k}${ft}`:k,Et):this._renderer.removeStyle(this._ngEl.nativeElement,ve,Et)}_applyChanges(T){T.forEachRemovedItem(k=>this._setStyle(k.key,null)),T.forEachAddedItem(k=>this._setStyle(k.key,k.currentValue)),T.forEachChangedItem(k=>this._setStyle(k.key,k.currentValue))}static#e=this.\u0275fac=function(k){return new(k||D)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.KeyValueDiffers),i.\u0275\u0275directiveInject(i.Renderer2))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:D,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return D})(),Tn=(()=>{class D{constructor(T){this._viewContainerRef=T,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(T){if(T.ngTemplateOutlet||T.ngTemplateOutletInjector){const k=this._viewContainerRef;if(this._viewRef&&k.remove(k.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:ve,ngTemplateOutletContext:ft,ngTemplateOutletInjector:Et}=this;this._viewRef=k.createEmbeddedView(ve,ft,Et?{injector:Et}:void 0)}else this._viewRef=null}else this._viewRef&&T.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static#e=this.\u0275fac=function(k){return new(k||D)(i.\u0275\u0275directiveInject(i.ViewContainerRef))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:D,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[i.\u0275\u0275NgOnChangesFeature]})}return D})();function ii(D,G){return new i.\u0275RuntimeError(2100,!1)}class Si{createSubscription(G,T){return(0,i.untracked)(()=>G.subscribe({next:T,error:k=>{throw k}}))}dispose(G){(0,i.untracked)(()=>G.unsubscribe())}}class ri{createSubscription(G,T){return G.then(T,k=>{throw k})}dispose(G){}}const Ji=new ri,Tr=new Si;let so=(()=>{class D{constructor(T){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=T}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(T){return this._obj?T!==this._obj?(this._dispose(),this.transform(T)):this._latestValue:(T&&this._subscribe(T),this._latestValue)}_subscribe(T){this._obj=T,this._strategy=this._selectStrategy(T),this._subscription=this._strategy.createSubscription(T,k=>this._updateLatestValue(T,k))}_selectStrategy(T){if((0,i.\u0275isPromise)(T))return Ji;if((0,i.\u0275isSubscribable)(T))return Tr;throw ii()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(T,k){T===this._obj&&(this._latestValue=k,this._ref.markForCheck())}static#e=this.\u0275fac=function(k){return new(k||D)(i.\u0275\u0275directiveInject(i.ChangeDetectorRef,16))};static#t=this.\u0275pipe=i.\u0275\u0275definePipe({name:"async",type:D,pure:!1,standalone:!0})}return D})(),cr=(()=>{class D{transform(T){if(null==T)return null;if("string"!=typeof T)throw ii();return T.toLowerCase()}static#e=this.\u0275fac=function(k){return new(k||D)};static#t=this.\u0275pipe=i.\u0275\u0275definePipe({name:"lowercase",type:D,pure:!0,standalone:!0})}return D})();const Lr=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let qi=(()=>{class D{transform(T){if(null==T)return null;if("string"!=typeof T)throw ii();return T.replace(Lr,k=>k[0].toUpperCase()+k.slice(1).toLowerCase())}static#e=this.\u0275fac=function(k){return new(k||D)};static#t=this.\u0275pipe=i.\u0275\u0275definePipe({name:"titlecase",type:D,pure:!0,standalone:!0})}return D})(),dr=(()=>{class D{transform(T){if(null==T)return null;if("string"!=typeof T)throw ii();return T.toUpperCase()}static#e=this.\u0275fac=function(k){return new(k||D)};static#t=this.\u0275pipe=i.\u0275\u0275definePipe({name:"uppercase",type:D,pure:!0,standalone:!0})}return D})();const wn=new i.InjectionToken("DATE_PIPE_DEFAULT_TIMEZONE"),Zn=new i.InjectionToken("DATE_PIPE_DEFAULT_OPTIONS");let Xn=(()=>{class D{constructor(T,k,ve){this.locale=T,this.defaultTimezone=k,this.defaultOptions=ve}transform(T,k,ve,ft){if(null==T||""===T||T!=T)return null;try{return Wt(T,k??this.defaultOptions?.dateFormat??"mediumDate",ft||this.locale,ve??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Et){throw ii()}}static#e=this.\u0275fac=function(k){return new(k||D)(i.\u0275\u0275directiveInject(i.LOCALE_ID,16),i.\u0275\u0275directiveInject(wn,24),i.\u0275\u0275directiveInject(Zn,24))};static#t=this.\u0275pipe=i.\u0275\u0275definePipe({name:"date",type:D,pure:!0,standalone:!0})}return D})();const er=/#/g;let ti=(()=>{class D{constructor(T){this._localization=T}transform(T,k,ve){if(null==T)return"";if("object"!=typeof k||null===k)throw ii();return k[wt(T,Object.keys(k),this._localization,ve)].replace(er,T.toString())}static#e=this.\u0275fac=function(k){return new(k||D)(i.\u0275\u0275directiveInject(mt,16))};static#t=this.\u0275pipe=i.\u0275\u0275definePipe({name:"i18nPlural",type:D,pure:!0,standalone:!0})}return D})(),Sr=(()=>{class D{transform(T,k){if(null==T)return"";if("object"!=typeof k||"string"!=typeof T)throw ii();return k.hasOwnProperty(T)?k[T]:k.hasOwnProperty("other")?k.other:""}static#e=this.\u0275fac=function(k){return new(k||D)};static#t=this.\u0275pipe=i.\u0275\u0275definePipe({name:"i18nSelect",type:D,pure:!0,standalone:!0})}return D})(),tr=(()=>{class D{transform(T){return JSON.stringify(T,null,2)}static#e=this.\u0275fac=function(k){return new(k||D)};static#t=this.\u0275pipe=i.\u0275\u0275definePipe({name:"json",type:D,pure:!1,standalone:!0})}return D})(),fr=(()=>{class D{constructor(T){this.differs=T,this.keyValues=[],this.compareFn=Or}transform(T,k=Or){if(!T||!(T instanceof Map)&&"object"!=typeof T)return null;this.differ||(this.differ=this.differs.find(T).create());const ve=this.differ.diff(T),ft=k!==this.compareFn;return ve&&(this.keyValues=[],ve.forEachItem(Et=>{this.keyValues.push(function hr(D,G){return{key:D,value:G}}(Et.key,Et.currentValue))})),(ve||ft)&&(this.keyValues.sort(k),this.compareFn=k),this.keyValues}static#e=this.\u0275fac=function(k){return new(k||D)(i.\u0275\u0275directiveInject(i.KeyValueDiffers,16))};static#t=this.\u0275pipe=i.\u0275\u0275definePipe({name:"keyvalue",type:D,pure:!1,standalone:!0})}return D})();function Or(D,G){const T=D.key,k=G.key;if(T===k)return 0;if(void 0===T)return 1;if(void 0===k)return-1;if(null===T)return 1;if(null===k)return-1;if("string"==typeof T&&"string"==typeof k)return T<k?-1:1;if("number"==typeof T&&"number"==typeof k)return T-k;if("boolean"==typeof T&&"boolean"==typeof k)return T<k?-1:1;const ve=String(T),ft=String(k);return ve==ft?0:ve<ft?-1:1}let Bn=(()=>{class D{constructor(T){this._locale=T}transform(T,k,ve){if(!Nn(T))return null;ve=ve||this._locale;try{return vn(pi(T),ve,k)}catch(ft){throw ii()}}static#e=this.\u0275fac=function(k){return new(k||D)(i.\u0275\u0275directiveInject(i.LOCALE_ID,16))};static#t=this.\u0275pipe=i.\u0275\u0275definePipe({name:"number",type:D,pure:!0,standalone:!0})}return D})(),zt=(()=>{class D{constructor(T){this._locale=T}transform(T,k,ve){if(!Nn(T))return null;ve=ve||this._locale;try{return Ht(pi(T),ve,k)}catch(ft){throw ii()}}static#e=this.\u0275fac=function(k){return new(k||D)(i.\u0275\u0275directiveInject(i.LOCALE_ID,16))};static#t=this.\u0275pipe=i.\u0275\u0275definePipe({name:"percent",type:D,pure:!0,standalone:!0})}return D})(),dn=(()=>{class D{constructor(T,k="USD"){this._locale=T,this._defaultCurrencyCode=k}transform(T,k=this._defaultCurrencyCode,ve="symbol",ft,Et){if(!Nn(T))return null;Et=Et||this._locale,"boolean"==typeof ve&&(ve=ve?"symbol":"code");let Xt=k||this._defaultCurrencyCode;"code"!==ve&&(Xt="symbol"===ve||"symbol-narrow"===ve?pt(Xt,"symbol"===ve?"wide":"narrow",Et):ve);try{return vt(pi(T),Et,Xt,k,ft)}catch($n){throw ii()}}static#e=this.\u0275fac=function(k){return new(k||D)(i.\u0275\u0275directiveInject(i.LOCALE_ID,16),i.\u0275\u0275directiveInject(i.DEFAULT_CURRENCY_CODE,16))};static#t=this.\u0275pipe=i.\u0275\u0275definePipe({name:"currency",type:D,pure:!0,standalone:!0})}return D})();function Nn(D){return!(null==D||""===D||D!=D)}function pi(D){if("string"==typeof D&&!isNaN(Number(D)-parseFloat(D)))return Number(D);if("number"!=typeof D)throw new Error(`${D} is not a number`);return D}let Oi=(()=>{class D{transform(T,k,ve){if(null==T)return null;if(!this.supports(T))throw ii();return T.slice(k,ve)}supports(T){return"string"==typeof T||Array.isArray(T)}static#e=this.\u0275fac=function(k){return new(k||D)};static#t=this.\u0275pipe=i.\u0275\u0275definePipe({name:"slice",type:D,pure:!1,standalone:!0})}return D})(),Ui=(()=>{class D{static#e=this.\u0275fac=function(k){return new(k||D)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:D});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({})}return D})();const Hn="browser",Qn="server",Ni="browserWorkerApp",rn="browserWorkerUi";function Li(D){return D===Hn}function br(D){return D===Qn}function zi(D){return D===Ni}function Rn(D){return D===rn}const mr=new i.Version("16.2.7");let gi=(()=>{class D{static#e=this.\u0275prov=(0,i.\u0275\u0275defineInjectable)({token:D,providedIn:"root",factory:()=>new Jn((0,i.\u0275\u0275inject)(h),window)})}return D})();class Jn{constructor(G,T){this.document=G,this.window=T,this.offset=()=>[0,0]}setOffset(G){this.offset=Array.isArray(G)?()=>G:G}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(G){this.supportsScrolling()&&this.window.scrollTo(G[0],G[1])}scrollToAnchor(G){if(!this.supportsScrolling())return;const T=function ui(D,G){const T=D.getElementById(G)||D.getElementsByName(G)[0];if(T)return T;if("function"==typeof D.createTreeWalker&&D.body&&"function"==typeof D.body.attachShadow){const k=D.createTreeWalker(D.body,NodeFilter.SHOW_ELEMENT);let ve=k.currentNode;for(;ve;){const ft=ve.shadowRoot;if(ft){const Et=ft.getElementById(G)||ft.querySelector(`[name="${G}"]`);if(Et)return Et}ve=k.nextNode()}}return null}(this.document,G);T&&(this.scrollToElement(T),T.focus())}setHistoryScrollRestoration(G){this.supportsScrolling()&&(this.window.history.scrollRestoration=G)}scrollToElement(G){const T=G.getBoundingClientRect(),k=T.left+this.window.pageXOffset,ve=T.top+this.window.pageYOffset,ft=this.offset();this.window.scrollTo(k-ft[0],ve-ft[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Ai{setOffset(G){}getScrollPosition(){return[0,0]}scrollToPosition(G){}scrollToAnchor(G){}setHistoryScrollRestoration(G){}}class $i{}function yr(D){return D.startsWith("/")?D.slice(1):D}const Cr=D=>D.src,_i=new i.InjectionToken("ImageLoader",{providedIn:"root",factory:()=>Cr});function ji(D,G){return function(k){return function Cn(D){if("string"!=typeof D||""===D.trim())return!1;try{return new URL(D),!0}catch{return!1}}(k)||function nr(D,G){throw new i.\u0275RuntimeError(2959,!1)}(),k=function Fo(D){return D.endsWith("/")?D.slice(0,-1):D}(k),[{provide:_i,useValue:Et=>(function qn(D){return/^https?:\/\//.test(D)}(Et.src)&&function jr(D,G){throw new i.\u0275RuntimeError(2959,!1)}(),D(k,{...Et,src:yr(Et.src)}))}]}}const ai=ji(ws);function ws(D,G){let T="format=auto";return G.width&&(T+=`,width=${G.width}`),`${D}/cdn-cgi/image/${T}/${G.src}`}const ir=ji(Er);function Er(D,G){let T="f_auto,q_auto";return G.width&&(T+=`,w_${G.width}`),`${D}/image/upload/${T}/${G.src}`}const ao=ji(bo);function bo(D,G){const{src:T,width:k}=G;let ve;return ve=k?[D,`tr:w-${k}`,T]:[D,T],ve.join("/")}const I=ji(re);function re(D,G){const T=new URL(`${D}/${G.src}`);return T.searchParams.set("auto","format"),G.width&&T.searchParams.set("w",G.width.toString()),T.href}const xs=new i.InjectionToken("PRECONNECT_CHECK_BLOCKLIST"),y=new i.InjectionToken("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let w=(()=>{class D{constructor(){this.preloadedImages=(0,i.inject)(y),this.document=(0,i.inject)(h)}createPreloadLinkTag(T,k,ve,ft){if(this.preloadedImages.has(k))return;this.preloadedImages.add(k);const Et=T.createElement("link");T.setAttribute(Et,"as","image"),T.setAttribute(Et,"href",k),T.setAttribute(Et,"rel","preload"),T.setAttribute(Et,"fetchpriority","high"),ft&&T.setAttribute(Et,"imageSizes",ft),ve&&T.setAttribute(Et,"imageSrcset",ve),T.appendChild(this.document.head,Et)}static#e=this.\u0275fac=function(k){return new(k||D)};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})();const W=/^((\s*\d+w\s*(,|$)){1,})$/,gt=[1,2],hn={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840]},Un=new i.InjectionToken("ImageConfig",{providedIn:"root",factory:()=>hn});let ci=(()=>{class D{constructor(){this.imageLoader=(0,i.inject)(_i),this.config=function ni(D){let G={};return D.breakpoints&&(G.breakpoints=D.breakpoints.sort((T,k)=>T-k)),Object.assign({},hn,D,G)}((0,i.inject)(Un)),this.renderer=(0,i.inject)(i.Renderer2),this.imgElement=(0,i.inject)(i.ElementRef).nativeElement,this.injector=(0,i.inject)(i.Injector),this.isServer=br((0,i.inject)(i.PLATFORM_ID)),this.preloadLinkCreator=(0,i.inject)(w),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(this.sizes="100vw"):(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const T=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),T,this.sizes)}ngOnChanges(T){if(T.ngSrc&&!T.ngSrc.isFirstChange()){const k=this._renderedSrc;this.updateSrcAndSrcset(!0);const ve=this._renderedSrc;null!==this.lcpObserver&&k&&ve&&k!==ve&&this.injector.get(i.NgZone).runOutsideAngular(()=>{this.lcpObserver?.updateImage(k,ve)})}}callImageLoader(T){let k=T;return this.loaderParams&&(k.loaderParams=this.loaderParams),this.imageLoader(k)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const T=W.test(this.ngSrcset);return this.ngSrcset.split(",").filter(ve=>""!==ve).map(ve=>{ve=ve.trim();const ft=T?parseFloat(ve):parseFloat(ve)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:ft})} ${ve}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:T}=this.config;let k=T;return"100vw"===this.sizes?.trim()&&(k=T.filter(ft=>ft>=640)),k.map(ft=>`${this.callImageLoader({src:this.ngSrc,width:ft})} ${ft}w`).join(", ")}updateSrcAndSrcset(T=!1){T&&(this._renderedSrc=null);const k=this.getRewrittenSrc();let ve;return this.setHostAttribute("src",k),this.ngSrcset?ve=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(ve=this.getAutomaticSrcset()),ve&&this.setHostAttribute("srcset",ve),ve}getFixedSrcset(){return gt.map(k=>`${this.callImageLoader({src:this.ngSrc,width:this.width*k})} ${k}x`).join(", ")}shouldGenerateAutomaticSrcset(){return!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Cr&&!(this.width>1920||this.height>1080)}ngOnDestroy(){}setHostAttribute(T,k){this.renderer.setAttribute(this.imgElement,T,k)}static#e=this.\u0275fac=function(k){return new(k||D)};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:D,selectors:[["img","ngSrc",""]],hostVars:8,hostBindings:function(k,ve){2&k&&i.\u0275\u0275styleProp("position",ve.fill?"absolute":null)("width",ve.fill?"100%":null)("height",ve.fill?"100%":null)("inset",ve.fill?"0px":null)},inputs:{ngSrc:["ngSrc","ngSrc",wr],ngSrcset:"ngSrcset",sizes:"sizes",width:["width","width",i.numberAttribute],height:["height","height",i.numberAttribute],loading:"loading",priority:["priority","priority",i.booleanAttribute],loaderParams:"loaderParams",disableOptimizedSrcset:["disableOptimizedSrcset","disableOptimizedSrcset",i.booleanAttribute],fill:["fill","fill",i.booleanAttribute],src:"src",srcset:"srcset"},standalone:!0,features:[i.\u0275\u0275InputTransformsFeature,i.\u0275\u0275NgOnChangesFeature]})}return D})();function wr(D){return"string"==typeof D?D:(0,i.\u0275unwrapSafeValue)(D)}},4612:(Z,l,o)=>{"use strict";function i(Ue,Re,xe,mt,wt,At,Pt){try{var tn=Ue[At](Pt),Gt=tn.value}catch(In){return void xe(In)}tn.done?Re(Gt):Promise.resolve(Gt).then(mt,wt)}function a(Ue){return function(){var Re=this,xe=arguments;return new Promise(function(mt,wt){var At=Ue.apply(Re,xe);function Pt(Gt){i(At,mt,wt,Pt,tn,"next",Gt)}function tn(Gt){i(At,mt,wt,Pt,tn,"throw",Gt)}Pt(void 0)})}}o.r(l),o.d(l,{FetchBackend:()=>Dt,HTTP_INTERCEPTORS:()=>pt,HttpBackend:()=>fe,HttpClient:()=>J,HttpClientJsonpModule:()=>de,HttpClientModule:()=>xt,HttpClientXsrfModule:()=>Xe,HttpContext:()=>We,HttpContextToken:()=>be,HttpErrorResponse:()=>ne,HttpEventType:()=>je,HttpFeatureKind:()=>Be,HttpHandler:()=>N,HttpHeaderResponse:()=>ye,HttpHeaders:()=>z,HttpParams:()=>it,HttpRequest:()=>kt,HttpResponse:()=>we,HttpResponseBase:()=>Ve,HttpUrlEncodingCodec:()=>X,HttpXhrBackend:()=>rt,HttpXsrfTokenExtractor:()=>Dn,JsonpClientBackend:()=>at,JsonpInterceptor:()=>Ne,provideHttpClient:()=>Ot,withFetch:()=>Mt,withInterceptors:()=>Jt,withInterceptorsFromDi:()=>ue,withJsonpSupport:()=>ie,withNoXsrfProtection:()=>A,withRequestsMadeViaParent:()=>ze,withXsrfConfiguration:()=>L,\u0275HttpInterceptingHandler:()=>_e,\u0275HttpInterceptorHandler:()=>_e,\u0275withHttpTransferCache:()=>fn});var f=o(7786),p=o(9627),d=o(7371),h=o(107),g=o(5123),v=o(3276),u=o(1497),b=o(8412),C=o(1927),M=o(2835),S=o(4104),H=o(5066),j=o(9462);class N{}class fe{}class z{constructor(Re){this.normalizedNames=new Map,this.lazyUpdate=null,Re?"string"==typeof Re?this.lazyInit=()=>{this.headers=new Map,Re.split("\n").forEach(xe=>{const mt=xe.indexOf(":");if(mt>0){const wt=xe.slice(0,mt),At=wt.toLowerCase(),Pt=xe.slice(mt+1).trim();this.maybeSetNormalizedName(wt,At),this.headers.has(At)?this.headers.get(At).push(Pt):this.headers.set(At,[Pt])}})}:typeof Headers<"u"&&Re instanceof Headers?(this.headers=new Map,Re.forEach((xe,mt)=>{this.setHeaderEntries(mt,xe)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Re).forEach(([xe,mt])=>{this.setHeaderEntries(xe,mt)})}:this.headers=new Map}has(Re){return this.init(),this.headers.has(Re.toLowerCase())}get(Re){this.init();const xe=this.headers.get(Re.toLowerCase());return xe&&xe.length>0?xe[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Re){return this.init(),this.headers.get(Re.toLowerCase())||null}append(Re,xe){return this.clone({name:Re,value:xe,op:"a"})}set(Re,xe){return this.clone({name:Re,value:xe,op:"s"})}delete(Re,xe){return this.clone({name:Re,value:xe,op:"d"})}maybeSetNormalizedName(Re,xe){this.normalizedNames.has(xe)||this.normalizedNames.set(xe,Re)}init(){this.lazyInit&&(this.lazyInit instanceof z?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Re=>this.applyUpdate(Re)),this.lazyUpdate=null))}copyFrom(Re){Re.init(),Array.from(Re.headers.keys()).forEach(xe=>{this.headers.set(xe,Re.headers.get(xe)),this.normalizedNames.set(xe,Re.normalizedNames.get(xe))})}clone(Re){const xe=new z;return xe.lazyInit=this.lazyInit&&this.lazyInit instanceof z?this.lazyInit:this,xe.lazyUpdate=(this.lazyUpdate||[]).concat([Re]),xe}applyUpdate(Re){const xe=Re.name.toLowerCase();switch(Re.op){case"a":case"s":let mt=Re.value;if("string"==typeof mt&&(mt=[mt]),0===mt.length)return;this.maybeSetNormalizedName(Re.name,xe);const wt=("a"===Re.op?this.headers.get(xe):void 0)||[];wt.push(...mt),this.headers.set(xe,wt);break;case"d":const At=Re.value;if(At){let Pt=this.headers.get(xe);if(!Pt)return;Pt=Pt.filter(tn=>-1===At.indexOf(tn)),0===Pt.length?(this.headers.delete(xe),this.normalizedNames.delete(xe)):this.headers.set(xe,Pt)}else this.headers.delete(xe),this.normalizedNames.delete(xe)}}setHeaderEntries(Re,xe){const mt=(Array.isArray(xe)?xe:[xe]).map(At=>At.toString()),wt=Re.toLowerCase();this.headers.set(wt,mt),this.maybeSetNormalizedName(Re,wt)}forEach(Re){this.init(),Array.from(this.normalizedNames.keys()).forEach(xe=>Re(this.normalizedNames.get(xe),this.headers.get(xe)))}}class X{encodeKey(Re){return te(Re)}encodeValue(Re){return te(Re)}decodeKey(Re){return decodeURIComponent(Re)}decodeValue(Re){return decodeURIComponent(Re)}}const me=/%(\d[a-f0-9])/gi,ae={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function te(Ue){return encodeURIComponent(Ue).replace(me,(Re,xe)=>ae[xe]??Re)}function pe(Ue){return`${Ue}`}class it{constructor(Re={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Re.encoder||new X,Re.fromString){if(Re.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function K(Ue,Re){const xe=new Map;return Ue.length>0&&Ue.replace(/^\?/,"").split("&").forEach(wt=>{const At=wt.indexOf("="),[Pt,tn]=-1==At?[Re.decodeKey(wt),""]:[Re.decodeKey(wt.slice(0,At)),Re.decodeValue(wt.slice(At+1))],Gt=xe.get(Pt)||[];Gt.push(tn),xe.set(Pt,Gt)}),xe}(Re.fromString,this.encoder)}else Re.fromObject?(this.map=new Map,Object.keys(Re.fromObject).forEach(xe=>{const mt=Re.fromObject[xe],wt=Array.isArray(mt)?mt.map(pe):[pe(mt)];this.map.set(xe,wt)})):this.map=null}has(Re){return this.init(),this.map.has(Re)}get(Re){this.init();const xe=this.map.get(Re);return xe?xe[0]:null}getAll(Re){return this.init(),this.map.get(Re)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Re,xe){return this.clone({param:Re,value:xe,op:"a"})}appendAll(Re){const xe=[];return Object.keys(Re).forEach(mt=>{const wt=Re[mt];Array.isArray(wt)?wt.forEach(At=>{xe.push({param:mt,value:At,op:"a"})}):xe.push({param:mt,value:wt,op:"a"})}),this.clone(xe)}set(Re,xe){return this.clone({param:Re,value:xe,op:"s"})}delete(Re,xe){return this.clone({param:Re,value:xe,op:"d"})}toString(){return this.init(),this.keys().map(Re=>{const xe=this.encoder.encodeKey(Re);return this.map.get(Re).map(mt=>xe+"="+this.encoder.encodeValue(mt)).join("&")}).filter(Re=>""!==Re).join("&")}clone(Re){const xe=new it({encoder:this.encoder});return xe.cloneFrom=this.cloneFrom||this,xe.updates=(this.updates||[]).concat(Re),xe}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Re=>this.map.set(Re,this.cloneFrom.map.get(Re))),this.updates.forEach(Re=>{switch(Re.op){case"a":case"s":const xe=("a"===Re.op?this.map.get(Re.param):void 0)||[];xe.push(pe(Re.value)),this.map.set(Re.param,xe);break;case"d":if(void 0===Re.value){this.map.delete(Re.param);break}{let mt=this.map.get(Re.param)||[];const wt=mt.indexOf(pe(Re.value));-1!==wt&&mt.splice(wt,1),mt.length>0?this.map.set(Re.param,mt):this.map.delete(Re.param)}}}),this.cloneFrom=this.updates=null)}}class be{constructor(Re){this.defaultValue=Re}}class We{constructor(){this.map=new Map}set(Re,xe){return this.map.set(Re,xe),this}get(Re){return this.map.has(Re)||this.map.set(Re,Re.defaultValue()),this.map.get(Re)}delete(Re){return this.map.delete(Re),this}has(Re){return this.map.has(Re)}keys(){return this.map.keys()}}function Ae(Ue){return typeof ArrayBuffer<"u"&&Ue instanceof ArrayBuffer}function Ye(Ue){return typeof Blob<"u"&&Ue instanceof Blob}function Qe(Ue){return typeof FormData<"u"&&Ue instanceof FormData}class kt{constructor(Re,xe,mt,wt){let At;if(this.url=xe,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Re.toUpperCase(),function ce(Ue){switch(Ue){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||wt?(this.body=void 0!==mt?mt:null,At=wt):At=mt,At&&(this.reportProgress=!!At.reportProgress,this.withCredentials=!!At.withCredentials,At.responseType&&(this.responseType=At.responseType),At.headers&&(this.headers=At.headers),At.context&&(this.context=At.context),At.params&&(this.params=At.params)),this.headers||(this.headers=new z),this.context||(this.context=new We),this.params){const Pt=this.params.toString();if(0===Pt.length)this.urlWithParams=xe;else{const tn=xe.indexOf("?");this.urlWithParams=xe+(-1===tn?"?":tn<xe.length-1?"&":"")+Pt}}else this.params=new it,this.urlWithParams=xe}serializeBody(){return null===this.body?null:Ae(this.body)||Ye(this.body)||Qe(this.body)||function ot(Ue){return typeof URLSearchParams<"u"&&Ue instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof it?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Qe(this.body)?null:Ye(this.body)?this.body.type||null:Ae(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof it?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Re={}){const xe=Re.method||this.method,mt=Re.url||this.url,wt=Re.responseType||this.responseType,At=void 0!==Re.body?Re.body:this.body,Pt=void 0!==Re.withCredentials?Re.withCredentials:this.withCredentials,tn=void 0!==Re.reportProgress?Re.reportProgress:this.reportProgress;let Gt=Re.headers||this.headers,In=Re.params||this.params;const Vn=Re.context??this.context;return void 0!==Re.setHeaders&&(Gt=Object.keys(Re.setHeaders).reduce((An,kn)=>An.set(kn,Re.setHeaders[kn]),Gt)),Re.setParams&&(In=Object.keys(Re.setParams).reduce((An,kn)=>An.set(kn,Re.setParams[kn]),In)),new kt(xe,mt,At,{params:In,headers:Gt,context:Vn,reportProgress:tn,responseType:wt,withCredentials:Pt})}}var je=function(Ue){return Ue[Ue.Sent=0]="Sent",Ue[Ue.UploadProgress=1]="UploadProgress",Ue[Ue.ResponseHeader=2]="ResponseHeader",Ue[Ue.DownloadProgress=3]="DownloadProgress",Ue[Ue.Response=4]="Response",Ue[Ue.User=5]="User",Ue}(je||{});class Ve{constructor(Re,xe=200,mt="OK"){this.headers=Re.headers||new z,this.status=void 0!==Re.status?Re.status:xe,this.statusText=Re.statusText||mt,this.url=Re.url||null,this.ok=this.status>=200&&this.status<300}}class ye extends Ve{constructor(Re={}){super(Re),this.type=je.ResponseHeader}clone(Re={}){return new ye({headers:Re.headers||this.headers,status:void 0!==Re.status?Re.status:this.status,statusText:Re.statusText||this.statusText,url:Re.url||this.url||void 0})}}class we extends Ve{constructor(Re={}){super(Re),this.type=je.Response,this.body=void 0!==Re.body?Re.body:null}clone(Re={}){return new we({body:void 0!==Re.body?Re.body:this.body,headers:Re.headers||this.headers,status:void 0!==Re.status?Re.status:this.status,statusText:Re.statusText||this.statusText,url:Re.url||this.url||void 0})}}class ne extends Ve{constructor(Re){super(Re,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Re.url||"(unknown url)"}`:`Http failure response for ${Re.url||"(unknown url)"}: ${Re.status} ${Re.statusText}`,this.error=Re.error||null}}function B(Ue,Re){return{body:Re,headers:Ue.headers,context:Ue.context,observe:Ue.observe,params:Ue.params,reportProgress:Ue.reportProgress,responseType:Ue.responseType,withCredentials:Ue.withCredentials}}let J=(()=>{class Ue{constructor(xe){this.handler=xe}request(xe,mt,wt={}){let At;if(xe instanceof kt)At=xe;else{let Gt,In;Gt=wt.headers instanceof z?wt.headers:new z(wt.headers),wt.params&&(In=wt.params instanceof it?wt.params:new it({fromObject:wt.params})),At=new kt(xe,mt,void 0!==wt.body?wt.body:null,{headers:Gt,context:wt.context,params:In,reportProgress:wt.reportProgress,responseType:wt.responseType||"json",withCredentials:wt.withCredentials})}const Pt=(0,p.of)(At).pipe(function m(Ue,Re){return(0,v.m)(Re)?(0,g.z)(Ue,Re,1):(0,g.z)(Ue,1)}(Gt=>this.handler.handle(Gt)));if(xe instanceof kt||"events"===wt.observe)return Pt;const tn=Pt.pipe((0,u.h)(Gt=>Gt instanceof we));switch(wt.observe||"body"){case"body":switch(At.responseType){case"arraybuffer":return tn.pipe((0,b.U)(Gt=>{if(null!==Gt.body&&!(Gt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Gt.body}));case"blob":return tn.pipe((0,b.U)(Gt=>{if(null!==Gt.body&&!(Gt.body instanceof Blob))throw new Error("Response is not a Blob.");return Gt.body}));case"text":return tn.pipe((0,b.U)(Gt=>{if(null!==Gt.body&&"string"!=typeof Gt.body)throw new Error("Response is not a string.");return Gt.body}));default:return tn.pipe((0,b.U)(Gt=>Gt.body))}case"response":return tn;default:throw new Error(`Unreachable: unhandled observe type ${wt.observe}}`)}}delete(xe,mt={}){return this.request("DELETE",xe,mt)}get(xe,mt={}){return this.request("GET",xe,mt)}head(xe,mt={}){return this.request("HEAD",xe,mt)}jsonp(xe,mt){return this.request("JSONP",xe,{params:(new it).append(mt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(xe,mt={}){return this.request("OPTIONS",xe,mt)}patch(xe,mt,wt={}){return this.request("PATCH",xe,B(wt,mt))}post(xe,mt,wt={}){return this.request("POST",xe,B(wt,mt))}put(xe,mt,wt={}){return this.request("PUT",xe,B(wt,mt))}static#e=this.\u0275fac=function(mt){return new(mt||Ue)(f.\u0275\u0275inject(N))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac})}return Ue})();const Ze=/^\)\]\}',?\n/;function Nt(Ue){if(Ue.url)return Ue.url;const Re="X-Request-URL".toLocaleLowerCase();return Ue.headers.get(Re)}let Dt=(()=>{class Ue{constructor(){this.fetchImpl=(0,f.inject)(Vt,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,f.inject)(f.NgZone)}handle(xe){return new d.y(mt=>{const wt=new AbortController;return this.doRequest(xe,wt.signal,mt).then(Fe,At=>mt.error(new ne({error:At}))),()=>wt.abort()})}doRequest(xe,mt,wt){var At=this;return a(function*(){const Pt=At.createRequestInit(xe);let tn;try{const Pn=At.fetchImpl(xe.urlWithParams,{signal:mt,...Pt});(function ke(Ue){Ue.then(Fe,Fe)})(Pn),wt.next({type:je.Sent}),tn=yield Pn}catch(Pn){return void wt.error(new ne({error:Pn,status:Pn.status??0,statusText:Pn.statusText,url:xe.urlWithParams,headers:Pn.headers}))}const Gt=new z(tn.headers),In=tn.statusText,Vn=Nt(tn)??xe.urlWithParams;let An=tn.status,kn=null;if(xe.reportProgress&&wt.next(new ye({headers:Gt,status:An,statusText:In,url:Vn})),tn.body){const Pn=tn.headers.get("content-length"),bn=[],le=tn.body.getReader();let U,se,nt=0;const $=typeof Zone<"u"&&Zone.current;yield At.ngZone.runOutsideAngular(a(function*(){for(;;){const{done:R,value:Pe}=yield le.read();if(R)break;if(bn.push(Pe),nt+=Pe.length,xe.reportProgress){se="text"===xe.responseType?(se??"")+(U??=new TextDecoder).decode(Pe,{stream:!0}):void 0;const Oe=()=>wt.next({type:je.DownloadProgress,total:Pn?+Pn:void 0,loaded:nt,partialText:se});$?$.run(Oe):Oe()}}}));const $e=At.concatChunks(bn,nt);try{kn=At.parseBody(xe,$e)}catch(R){return void wt.error(new ne({error:R,headers:new z(tn.headers),status:tn.status,statusText:tn.statusText,url:Nt(tn)??xe.urlWithParams}))}}0===An&&(An=kn?200:0),An>=200&&An<300?(wt.next(new we({body:kn,headers:Gt,status:An,statusText:In,url:Vn})),wt.complete()):wt.error(new ne({error:kn,headers:Gt,status:An,statusText:In,url:Vn}))})()}parseBody(xe,mt){switch(xe.responseType){case"json":const wt=(new TextDecoder).decode(mt).replace(Ze,"");return""===wt?null:JSON.parse(wt);case"text":return(new TextDecoder).decode(mt);case"blob":return new Blob([mt]);case"arraybuffer":return mt.buffer}}createRequestInit(xe){const mt={},wt=xe.withCredentials?"include":void 0;if(xe.headers.forEach((At,Pt)=>mt[At]=Pt.join(",")),mt.Accept??="application/json, text/plain, */*",!mt["Content-Type"]){const At=xe.detectContentTypeHeader();null!==At&&(mt["Content-Type"]=At)}return{body:xe.serializeBody(),method:xe.method,headers:mt,credentials:wt}}concatChunks(xe,mt){const wt=new Uint8Array(mt);let At=0;for(const Pt of xe)wt.set(Pt,At),At+=Pt.length;return wt}static#e=this.\u0275fac=function(mt){return new(mt||Ue)};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac})}return Ue})();class Vt{}function Fe(){}function Ge(Ue,Re){return Re(Ue)}function Ee(Ue,Re){return(xe,mt)=>Re.intercept(xe,{handle:wt=>Ue(wt,mt)})}const pt=new f.InjectionToken(""),dt=new f.InjectionToken(""),qe=new f.InjectionToken("");function Y(){let Ue=null;return(Re,xe)=>{null===Ue&&(Ue=((0,f.inject)(pt,{optional:!0})??[]).reduceRight(Ee,Ge));const mt=(0,f.inject)(f.\u0275InitialRenderPendingTasks),wt=mt.add();return Ue(Re,xe).pipe((0,C.x)(()=>mt.remove(wt)))}}let st,_e=(()=>{class Ue extends N{constructor(xe,mt){super(),this.backend=xe,this.injector=mt,this.chain=null,this.pendingTasks=(0,f.inject)(f.\u0275InitialRenderPendingTasks)}handle(xe){if(null===this.chain){const wt=Array.from(new Set([...this.injector.get(dt),...this.injector.get(qe,[])]));this.chain=wt.reduceRight((At,Pt)=>function Te(Ue,Re,xe){return(mt,wt)=>xe.runInContext(()=>Re(mt,At=>Ue(At,wt)))}(At,Pt,this.injector),Ge)}const mt=this.pendingTasks.add();return this.chain(xe,wt=>this.backend.handle(wt)).pipe((0,C.x)(()=>this.pendingTasks.remove(mt)))}static#e=this.\u0275fac=function(mt){return new(mt||Ue)(f.\u0275\u0275inject(fe),f.\u0275\u0275inject(f.EnvironmentInjector))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac})}return Ue})(),Ie=0;class Qt{}function Zt(){return"object"==typeof window?window:{}}let at=(()=>{class Ue{constructor(xe,mt){this.callbackMap=xe,this.document=mt,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+Ie++}handle(xe){if("JSONP"!==xe.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==xe.responseType)throw new Error("JSONP requests must use Json response type.");if(xe.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new d.y(mt=>{const wt=this.nextCallback(),At=xe.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${wt}$1`),Pt=this.document.createElement("script");Pt.src=At;let tn=null,Gt=!1;this.callbackMap[wt]=kn=>{delete this.callbackMap[wt],tn=kn,Gt=!0};const In=()=>{Pt.parentNode&&Pt.parentNode.removeChild(Pt),delete this.callbackMap[wt]};return Pt.addEventListener("load",kn=>{this.resolvedPromise.then(()=>{In(),Gt?(mt.next(new we({body:tn,status:200,statusText:"OK",url:At})),mt.complete()):mt.error(new ne({url:At,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),Pt.addEventListener("error",kn=>{In(),mt.error(new ne({error:kn,status:0,statusText:"JSONP Error",url:At}))}),this.document.body.appendChild(Pt),mt.next({type:je.Sent}),()=>{Gt||this.removeListeners(Pt),In()}})}removeListeners(xe){st||(st=this.document.implementation.createHTMLDocument()),st.adoptNode(xe)}static#e=this.\u0275fac=function(mt){return new(mt||Ue)(f.\u0275\u0275inject(Qt),f.\u0275\u0275inject(j.DOCUMENT))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac})}return Ue})();function yt(Ue,Re){return"JSONP"===Ue.method?(0,f.inject)(at).handle(Ue):Re(Ue)}let Ne=(()=>{class Ue{constructor(xe){this.injector=xe}intercept(xe,mt){return this.injector.runInContext(()=>yt(xe,wt=>mt.handle(wt)))}static#e=this.\u0275fac=function(mt){return new(mt||Ue)(f.\u0275\u0275inject(f.EnvironmentInjector))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac})}return Ue})();const ee=/^\)\]\}',?\n/;let rt=(()=>{class Ue{constructor(xe){this.xhrFactory=xe}handle(xe){if("JSONP"===xe.method)throw new f.\u0275RuntimeError(-2800,!1);const mt=this.xhrFactory;return(mt.\u0275loadImpl?(0,h.D)(mt.\u0275loadImpl()):(0,p.of)(null)).pipe((0,M.w)(()=>new d.y(At=>{const Pt=mt.build();if(Pt.open(xe.method,xe.urlWithParams),xe.withCredentials&&(Pt.withCredentials=!0),xe.headers.forEach((bn,le)=>Pt.setRequestHeader(bn,le.join(","))),xe.headers.has("Accept")||Pt.setRequestHeader("Accept","application/json, text/plain, */*"),!xe.headers.has("Content-Type")){const bn=xe.detectContentTypeHeader();null!==bn&&Pt.setRequestHeader("Content-Type",bn)}if(xe.responseType){const bn=xe.responseType.toLowerCase();Pt.responseType="json"!==bn?bn:"text"}const tn=xe.serializeBody();let Gt=null;const In=()=>{if(null!==Gt)return Gt;const bn=Pt.statusText||"OK",le=new z(Pt.getAllResponseHeaders()),nt=function ge(Ue){return"responseURL"in Ue&&Ue.responseURL?Ue.responseURL:/^X-Request-URL:/m.test(Ue.getAllResponseHeaders())?Ue.getResponseHeader("X-Request-URL"):null}(Pt)||xe.url;return Gt=new ye({headers:le,status:Pt.status,statusText:bn,url:nt}),Gt},Vn=()=>{let{headers:bn,status:le,statusText:nt,url:U}=In(),se=null;204!==le&&(se=typeof Pt.response>"u"?Pt.responseText:Pt.response),0===le&&(le=se?200:0);let $=le>=200&&le<300;if("json"===xe.responseType&&"string"==typeof se){const $e=se;se=se.replace(ee,"");try{se=""!==se?JSON.parse(se):null}catch(R){se=$e,$&&($=!1,se={error:R,text:se})}}$?(At.next(new we({body:se,headers:bn,status:le,statusText:nt,url:U||void 0})),At.complete()):At.error(new ne({error:se,headers:bn,status:le,statusText:nt,url:U||void 0}))},An=bn=>{const{url:le}=In(),nt=new ne({error:bn,status:Pt.status||0,statusText:Pt.statusText||"Unknown Error",url:le||void 0});At.error(nt)};let kn=!1;const Ci=bn=>{kn||(At.next(In()),kn=!0);let le={type:je.DownloadProgress,loaded:bn.loaded};bn.lengthComputable&&(le.total=bn.total),"text"===xe.responseType&&Pt.responseText&&(le.partialText=Pt.responseText),At.next(le)},Pn=bn=>{let le={type:je.UploadProgress,loaded:bn.loaded};bn.lengthComputable&&(le.total=bn.total),At.next(le)};return Pt.addEventListener("load",Vn),Pt.addEventListener("error",An),Pt.addEventListener("timeout",An),Pt.addEventListener("abort",An),xe.reportProgress&&(Pt.addEventListener("progress",Ci),null!==tn&&Pt.upload&&Pt.upload.addEventListener("progress",Pn)),Pt.send(tn),At.next({type:je.Sent}),()=>{Pt.removeEventListener("error",An),Pt.removeEventListener("abort",An),Pt.removeEventListener("load",Vn),Pt.removeEventListener("timeout",An),xe.reportProgress&&(Pt.removeEventListener("progress",Ci),null!==tn&&Pt.upload&&Pt.upload.removeEventListener("progress",Pn)),Pt.readyState!==Pt.DONE&&Pt.abort()}})))}static#e=this.\u0275fac=function(mt){return new(mt||Ue)(f.\u0275\u0275inject(j.XhrFactory))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac})}return Ue})();const Tt=new f.InjectionToken("XSRF_ENABLED"),Ft="XSRF-TOKEN",qt=new f.InjectionToken("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Ft}),ln="X-XSRF-TOKEN",pn=new f.InjectionToken("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>ln});class Dn{}let _t=(()=>{class Ue{constructor(xe,mt,wt){this.doc=xe,this.platform=mt,this.cookieName=wt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const xe=this.doc.cookie||"";return xe!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,j.\u0275parseCookieValue)(xe,this.cookieName),this.lastCookieString=xe),this.lastToken}static#e=this.\u0275fac=function(mt){return new(mt||Ue)(f.\u0275\u0275inject(j.DOCUMENT),f.\u0275\u0275inject(f.PLATFORM_ID),f.\u0275\u0275inject(qt))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac})}return Ue})();function et(Ue,Re){const xe=Ue.url.toLowerCase();if(!(0,f.inject)(Tt)||"GET"===Ue.method||"HEAD"===Ue.method||xe.startsWith("http://")||xe.startsWith("https://"))return Re(Ue);const mt=(0,f.inject)(Dn).getToken(),wt=(0,f.inject)(pn);return null!=mt&&!Ue.headers.has(wt)&&(Ue=Ue.clone({headers:Ue.headers.set(wt,mt)})),Re(Ue)}let Ce=(()=>{class Ue{constructor(xe){this.injector=xe}intercept(xe,mt){return this.injector.runInContext(()=>et(xe,wt=>mt.handle(wt)))}static#e=this.\u0275fac=function(mt){return new(mt||Ue)(f.\u0275\u0275inject(f.EnvironmentInjector))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac})}return Ue})();var Be=function(Ue){return Ue[Ue.Interceptors=0]="Interceptors",Ue[Ue.LegacyInterceptors=1]="LegacyInterceptors",Ue[Ue.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Ue[Ue.NoXsrfProtection=3]="NoXsrfProtection",Ue[Ue.JsonpSupport=4]="JsonpSupport",Ue[Ue.RequestsMadeViaParent=5]="RequestsMadeViaParent",Ue[Ue.Fetch=6]="Fetch",Ue}(Be||{});function ht(Ue,Re){return{\u0275kind:Ue,\u0275providers:Re}}function Ot(...Ue){const Re=[J,rt,_e,{provide:N,useExisting:_e},{provide:fe,useExisting:rt},{provide:dt,useValue:et,multi:!0},{provide:Tt,useValue:!0},{provide:Dn,useClass:_t}];for(const xe of Ue)Re.push(...xe.\u0275providers);return(0,f.makeEnvironmentProviders)(Re)}function Jt(Ue){return ht(Be.Interceptors,Ue.map(Re=>({provide:dt,useValue:Re,multi:!0})))}const lt=new f.InjectionToken("LEGACY_INTERCEPTOR_FN");function ue(){return ht(Be.LegacyInterceptors,[{provide:lt,useFactory:Y},{provide:dt,useExisting:lt,multi:!0}])}function L({cookieName:Ue,headerName:Re}){const xe=[];return void 0!==Ue&&xe.push({provide:qt,useValue:Ue}),void 0!==Re&&xe.push({provide:pn,useValue:Re}),ht(Be.CustomXsrfConfiguration,xe)}function A(){return ht(Be.NoXsrfProtection,[{provide:Tt,useValue:!1}])}function ie(){return ht(Be.JsonpSupport,[at,{provide:Qt,useFactory:Zt},{provide:dt,useValue:yt,multi:!0}])}function ze(){return ht(Be.RequestsMadeViaParent,[{provide:fe,useFactory:()=>(0,f.inject)(N,{skipSelf:!0,optional:!0})}])}function Mt(){return ht(Be.Fetch,[Dt,{provide:fe,useExisting:Dt}])}let Xe=(()=>{class Ue{static disable(){return{ngModule:Ue,providers:[A().\u0275providers]}}static withOptions(xe={}){return{ngModule:Ue,providers:L(xe).\u0275providers}}static#e=this.\u0275fac=function(mt){return new(mt||Ue)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:Ue});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({providers:[Ce,{provide:pt,useExisting:Ce,multi:!0},{provide:Dn,useClass:_t},L({cookieName:Ft,headerName:ln}).\u0275providers,{provide:Tt,useValue:!0}]})}return Ue})(),xt=(()=>{class Ue{static#e=this.\u0275fac=function(mt){return new(mt||Ue)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:Ue});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({providers:[Ot(ue())]})}return Ue})(),de=(()=>{class Ue{static#e=this.\u0275fac=function(mt){return new(mt||Ue)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:Ue});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({providers:[ie().\u0275providers]})}return Ue})();const Me=new f.InjectionToken(""),Se=["GET","HEAD"];function vt(Ue,Re){const{isCacheActive:xe}=(0,f.inject)(Me);if(!xe||!Se.includes(Ue.method))return Re(Ue);const mt=(0,f.inject)(f.TransferState),wt=function vn(Ue){const{params:Re,method:xe,responseType:mt,url:wt}=Ue,tn=function cn(Ue){let Re=0;for(const xe of Ue)Re=Math.imul(31,Re)+xe.charCodeAt(0)<<0;return Re+=2147483648,Re.toString()}(xe+"."+mt+"."+wt+"?"+Re.keys().sort().map(Gt=>`${Gt}=${Re.getAll(Gt)}`).join("&"));return(0,f.makeStateKey)(tn)}(Ue),At=mt.get(wt,null);if(At){let Pt=At.body;switch(At.responseType){case"arraybuffer":Pt=(new TextEncoder).encode(At.body).buffer;break;case"blob":Pt=new Blob([At.body])}return(0,p.of)(new we({body:Pt,headers:new z(At.headers),status:At.status,statusText:At.statusText,url:At.url}))}return Re(Ue).pipe((0,S.b)(Pt=>{Pt instanceof we&&mt.set(wt,{body:Pt.body,headers:Ht(Pt.headers),status:Pt.status,statusText:Pt.statusText,url:Pt.url||"",responseType:Ue.responseType})}))}function Ht(Ue){const Re={};for(const xe of Ue.keys()){const mt=Ue.getAll(xe);null!==mt&&(Re[xe]=mt)}return Re}function fn(){return[{provide:Me,useFactory:()=>((0,f.inject)(f.\u0275ENABLED_SSR_FEATURES).add("httpcache"),{isCacheActive:!0})},{provide:qe,useValue:vt,multi:!0,deps:[f.TransferState,Me]},{provide:f.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const Ue=(0,f.inject)(f.ApplicationRef),Re=(0,f.inject)(Me);return()=>{Ue.isStable.pipe((0,H.P)(xe=>xe)).toPromise().then(()=>{Re.isCacheActive=!1})}}}]}},7786:(Z,l,o)=>{"use strict";o.r(l),o.d(l,{ANIMATION_MODULE_TYPE:()=>V0,APP_BOOTSTRAP_LISTENER:()=>Zu,APP_ID:()=>pm,APP_INITIALIZER:()=>Ov,ApplicationInitStatus:()=>kl,ApplicationModule:()=>pM,ApplicationRef:()=>Cs,Attribute:()=>Kh,COMPILER_OPTIONS:()=>kv,CSP_NONCE:()=>H0,CUSTOM_ELEMENTS_SCHEMA:()=>uf,ChangeDetectionStrategy:()=>fn,ChangeDetectorRef:()=>ob,Compiler:()=>bx,CompilerFactory:()=>yx,Component:()=>lx,ComponentFactory:()=>tl,ComponentFactoryResolver:()=>Ys,ComponentRef:()=>Em,ContentChild:()=>sy,ContentChildren:()=>oy,DEFAULT_CURRENCY_CODE:()=>gx,DebugElement:()=>ga,DebugEventListener:()=>eM,DebugNode:()=>Ju,DefaultIterableDiffer:()=>ub,DestroyRef:()=>Zs,Directive:()=>Sv,ENVIRONMENT_INITIALIZER:()=>$s,ElementRef:()=>Qs,EmbeddedViewRef:()=>qx,EnvironmentInjector:()=>Gr,ErrorHandler:()=>go,EventEmitter:()=>Kr,Host:()=>tf,HostBinding:()=>hx,HostListener:()=>fx,INJECTOR:()=>Ac,Inject:()=>qh,InjectFlags:()=>tt,Injectable:()=>cC,InjectionToken:()=>zn,Injector:()=>Rr,Input:()=>dx,IterableDiffers:()=>ih,KeyValueDiffers:()=>rh,LOCALE_ID:()=>Nl,MissingTranslationStrategy:()=>Pv,ModuleWithComponentFactories:()=>Fv,NO_ERRORS_SCHEMA:()=>hf,NgModule:()=>mx,NgModuleFactory:()=>u_,NgModuleRef:()=>Ao,NgProbeToken:()=>Hx,NgZone:()=>Ti,Optional:()=>Ta,Output:()=>ux,PACKAGE_ROOT_URL:()=>B0,PLATFORM_ID:()=>Vc,PLATFORM_INITIALIZER:()=>gm,Pipe:()=>cx,PlatformRef:()=>Xu,Query:()=>Fs,QueryList:()=>Ol,Renderer2:()=>tC,RendererFactory2:()=>wm,RendererStyleFlags2:()=>Na,Sanitizer:()=>xm,SecurityContext:()=>xo,Self:()=>ef,SimpleChange:()=>jn,SkipSelf:()=>Sa,TRANSLATIONS:()=>_x,TRANSLATIONS_FORMAT:()=>vx,TemplateRef:()=>fa,Testability:()=>Vx,TestabilityRegistry:()=>Hv,TransferState:()=>Ws,Type:()=>Qh,VERSION:()=>Im,Version:()=>Mm,ViewChild:()=>ly,ViewChildren:()=>ay,ViewContainerRef:()=>Rl,ViewEncapsulation:()=>Ue,ViewRef:()=>ab,afterNextRender:()=>Um,afterRender:()=>Hm,asNativeElements:()=>tM,assertInInjectionContext:()=>il,assertPlatform:()=>Qv,booleanAttribute:()=>TM,computed:()=>ko,createComponent:()=>BM,createEnvironmentInjector:()=>m_,createNgModule:()=>h_,createNgModuleRef:()=>hw,createPlatform:()=>Gv,createPlatformFactory:()=>Yv,defineInjectable:()=>ke,destroyPlatform:()=>$x,effect:()=>vp,enableProdMode:()=>Qx,forwardRef:()=>j,getDebugNode:()=>Es,getModuleFactory:()=>Zx,getNgModuleById:()=>Xx,getPlatform:()=>jl,importProvidersFrom:()=>cm,inject:()=>xt,isDevMode:()=>Yx,isSignal:()=>Ke,isStandalone:()=>er,makeEnvironmentProviders:()=>Rc,makeStateKey:()=>U0,mergeApplicationConfig:()=>HM,numberAttribute:()=>SM,platformCore:()=>mM,provideZoneChangeDetection:()=>ib,reflectComponentType:()=>VM,resolveForwardRef:()=>N,runInInjectionContext:()=>iC,setTestabilityGetter:()=>Uv,signal:()=>pr,untracked:()=>ft,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>Yu,\u0275AfterRenderEventManager:()=>rl,\u0275ComponentFactory:()=>tl,\u0275Console:()=>Av,\u0275DEFAULT_LOCALE_ID:()=>Oo,\u0275ENABLED_SSR_FEATURES:()=>_m,\u0275INJECTOR_SCOPE:()=>Nc,\u0275IS_HYDRATION_DOM_REUSE_ENABLED:()=>Js,\u0275InitialRenderPendingTasks:()=>Rv,\u0275LContext:()=>yf,\u0275LifecycleHooksFeature:()=>Tp,\u0275LocaleDataIndex:()=>bs,\u0275NG_COMP_DEF:()=>mt,\u0275NG_DIR_DEF:()=>wt,\u0275NG_ELEMENT_ID:()=>Gt,\u0275NG_INJ_DEF:()=>_e,\u0275NG_MOD_DEF:()=>Pt,\u0275NG_PIPE_DEF:()=>At,\u0275NG_PROV_DEF:()=>Y,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>nl,\u0275NO_CHANGE:()=>En,\u0275NgModuleFactory:()=>Sl,\u0275NoopNgZone:()=>Nm,\u0275ReflectionCapabilities:()=>Jh,\u0275Render3ComponentFactory:()=>as,\u0275Render3ComponentRef:()=>Ip,\u0275Render3NgModuleRef:()=>Tl,\u0275RuntimeError:()=>K,\u0275SSR_CONTENT_INTEGRITY_MARKER:()=>vm,\u0275TESTABILITY:()=>Bv,\u0275TESTABILITY_GETTER:()=>Vv,\u0275ViewRef:()=>ss,\u0275XSS_SECURITY_URL:()=>X,\u0275_sanitizeHtml:()=>tm,\u0275_sanitizeUrl:()=>Wa,\u0275allowSanitizationBypassAndThrow:()=>Xo,\u0275annotateForHydration:()=>bM,\u0275bypassSanitizationTrustHtml:()=>p0,\u0275bypassSanitizationTrustResourceUrl:()=>b0,\u0275bypassSanitizationTrustScript:()=>_0,\u0275bypassSanitizationTrustStyle:()=>g0,\u0275bypassSanitizationTrustUrl:()=>v0,\u0275clearResolutionOfComponentResourcesQueue:()=>lf,\u0275compileComponent:()=>_v,\u0275compileDirective:()=>$u,\u0275compileNgModule:()=>hv,\u0275compileNgModuleDefs:()=>fv,\u0275compileNgModuleFactory:()=>zv,\u0275compilePipe:()=>Iv,\u0275convertToBitFlags:()=>de,\u0275createInjector:()=>Xc,\u0275defaultIterableDiffers:()=>hM,\u0275defaultKeyValueDiffers:()=>fM,\u0275detectChanges:()=>yp,\u0275devModeEqual:()=>Np,\u0275findLocaleData:()=>bu,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>dv,\u0275formatRuntimeError:()=>me,\u0275getDebugNode:()=>Es,\u0275getDirectives:()=>y_,\u0275getHostElement:()=>Au,\u0275getInjectableDef:()=>Ee,\u0275getLContext:()=>Qi,\u0275getLocaleCurrencyCode:()=>gD,\u0275getLocalePluralCase:()=>kg,\u0275getSanitizationBypassType:()=>Yf,\u0275getUnknownElementStrictMode:()=>Iy,\u0275getUnknownPropertyStrictMode:()=>Sy,\u0275global:()=>at,\u0275injectChangeDetectorRef:()=>sb,\u0275internalCreateApplication:()=>zx,\u0275isBoundToModule:()=>Wv,\u0275isEnvironmentProviders:()=>z,\u0275isInjectable:()=>Te,\u0275isNgModule:()=>ju,\u0275isPromise:()=>kd,\u0275isSubscribable:()=>Yp,\u0275noSideEffects:()=>cn,\u0275patchComponentDefWithScope:()=>Uu,\u0275publishDefaultGlobalUtils:()=>Bx,\u0275publishGlobalUtil:()=>Xi,\u0275registerLocaleData:()=>pD,\u0275resetCompiledComponents:()=>Zw,\u0275resetJitOptions:()=>Gw,\u0275resolveComponentResources:()=>sf,\u0275setAllowDuplicateNgModuleIdsForTest:()=>xy,\u0275setAlternateWeakRefImpl:()=>Wn,\u0275setClassMetadata:()=>E_,\u0275setCurrentInjector:()=>ie,\u0275setDocument:()=>c0,\u0275setInjectorProfilerContext:()=>rt,\u0275setLocaleId:()=>yu,\u0275setUnknownElementStrictMode:()=>My,\u0275setUnknownPropertyStrictMode:()=>Ty,\u0275store:()=>zp,\u0275stringify:()=>M,\u0275transitiveScopesFor:()=>Po,\u0275unregisterLocaleData:()=>_D,\u0275unwrapSafeValue:()=>to,\u0275withDomHydration:()=>MM,\u0275\u0275CopyDefinitionFeature:()=>Op,\u0275\u0275FactoryTarget:()=>Eo,\u0275\u0275HostDirectivesFeature:()=>Ap,\u0275\u0275InheritDefinitionFeature:()=>md,\u0275\u0275InputTransformsFeature:()=>kp,\u0275\u0275NgOnChangesFeature:()=>Sn,\u0275\u0275ProvidersFeature:()=>d_,\u0275\u0275StandaloneFeature:()=>p_,\u0275\u0275advance:()=>ep,\u0275\u0275attribute:()=>gd,\u0275\u0275attributeInterpolate1:()=>_d,\u0275\u0275attributeInterpolate2:()=>vd,\u0275\u0275attributeInterpolate3:()=>bd,\u0275\u0275attributeInterpolate4:()=>yd,\u0275\u0275attributeInterpolate5:()=>Cd,\u0275\u0275attributeInterpolate6:()=>Ed,\u0275\u0275attributeInterpolate7:()=>Dd,\u0275\u0275attributeInterpolate8:()=>wd,\u0275\u0275attributeInterpolateV:()=>xd,\u0275\u0275classMap:()=>lg,\u0275\u0275classMapInterpolate1:()=>_g,\u0275\u0275classMapInterpolate2:()=>vg,\u0275\u0275classMapInterpolate3:()=>bg,\u0275\u0275classMapInterpolate4:()=>yg,\u0275\u0275classMapInterpolate5:()=>Cg,\u0275\u0275classMapInterpolate6:()=>Eg,\u0275\u0275classMapInterpolate7:()=>Dg,\u0275\u0275classMapInterpolate8:()=>wg,\u0275\u0275classMapInterpolateV:()=>xg,\u0275\u0275classProp:()=>Xd,\u0275\u0275contentQuery:()=>iv,\u0275\u0275defer:()=>l_,\u0275\u0275defineComponent:()=>ri,\u0275\u0275defineDirective:()=>dr,\u0275\u0275defineInjectable:()=>Fe,\u0275\u0275defineInjector:()=>Ge,\u0275\u0275defineNgModule:()=>cr,\u0275\u0275definePipe:()=>ur,\u0275\u0275directiveInject:()=>rs,\u0275\u0275disableBindings:()=>gh,\u0275\u0275element:()=>Rd,\u0275\u0275elementContainer:()=>Fd,\u0275\u0275elementContainerEnd:()=>bl,\u0275\u0275elementContainerStart:()=>vl,\u0275\u0275elementEnd:()=>_l,\u0275\u0275elementStart:()=>gl,\u0275\u0275enableBindings:()=>ph,\u0275\u0275getCurrentView:()=>Kp,\u0275\u0275getInheritedFactory:()=>Wh,\u0275\u0275hostProperty:()=>_u,\u0275\u0275i18n:()=>r_,\u0275\u0275i18nApply:()=>s_,\u0275\u0275i18nAttributes:()=>o_,\u0275\u0275i18nEnd:()=>wu,\u0275\u0275i18nExp:()=>xu,\u0275\u0275i18nPostprocess:()=>a_,\u0275\u0275i18nStart:()=>Du,\u0275\u0275inject:()=>Mt,\u0275\u0275injectAttribute:()=>ic,\u0275\u0275invalidFactory:()=>np,\u0275\u0275invalidFactoryDep:()=>Xe,\u0275\u0275listener:()=>Nd,\u0275\u0275loadQuery:()=>rv,\u0275\u0275namespaceHTML:()=>Ah,\u0275\u0275namespaceMathML:()=>Oh,\u0275\u0275namespaceSVG:()=>Sh,\u0275\u0275nextContext:()=>Jp,\u0275\u0275ngDeclareClassMetadata:()=>AM,\u0275\u0275ngDeclareComponent:()=>PM,\u0275\u0275ngDeclareDirective:()=>OM,\u0275\u0275ngDeclareFactory:()=>RM,\u0275\u0275ngDeclareInjectable:()=>kM,\u0275\u0275ngDeclareInjector:()=>NM,\u0275\u0275ngDeclareNgModule:()=>LM,\u0275\u0275ngDeclarePipe:()=>jM,\u0275\u0275pipe:()=>j_,\u0275\u0275pipeBind1:()=>B_,\u0275\u0275pipeBind2:()=>V_,\u0275\u0275pipeBind3:()=>H_,\u0275\u0275pipeBind4:()=>U_,\u0275\u0275pipeBindV:()=>z_,\u0275\u0275projection:()=>eg,\u0275\u0275projectionDef:()=>qp,\u0275\u0275property:()=>Ad,\u0275\u0275propertyInterpolate:()=>jd,\u0275\u0275propertyInterpolate1:()=>yl,\u0275\u0275propertyInterpolate2:()=>Bd,\u0275\u0275propertyInterpolate3:()=>Vd,\u0275\u0275propertyInterpolate4:()=>Hd,\u0275\u0275propertyInterpolate5:()=>Ud,\u0275\u0275propertyInterpolate6:()=>zd,\u0275\u0275propertyInterpolate7:()=>$d,\u0275\u0275propertyInterpolate8:()=>Wd,\u0275\u0275propertyInterpolateV:()=>Gd,\u0275\u0275pureFunction0:()=>D_,\u0275\u0275pureFunction1:()=>w_,\u0275\u0275pureFunction2:()=>x_,\u0275\u0275pureFunction3:()=>M_,\u0275\u0275pureFunction4:()=>I_,\u0275\u0275pureFunction5:()=>T_,\u0275\u0275pureFunction6:()=>S_,\u0275\u0275pureFunction7:()=>O_,\u0275\u0275pureFunction8:()=>A_,\u0275\u0275pureFunctionV:()=>P_,\u0275\u0275queryRefresh:()=>tv,\u0275\u0275reference:()=>$p,\u0275\u0275registerNgModuleType:()=>lc,\u0275\u0275resetView:()=>vh,\u0275\u0275resolveBody:()=>nd,\u0275\u0275resolveDocument:()=>Vm,\u0275\u0275resolveWindow:()=>Bm,\u0275\u0275restoreView:()=>_h,\u0275\u0275sanitizeHtml:()=>nm,\u0275\u0275sanitizeResourceUrl:()=>Oc,\u0275\u0275sanitizeScript:()=>rm,\u0275\u0275sanitizeStyle:()=>im,\u0275\u0275sanitizeUrl:()=>Sc,\u0275\u0275sanitizeUrlOrResourceUrl:()=>am,\u0275\u0275setComponentScope:()=>Ji,\u0275\u0275setNgModuleScope:()=>Lr,\u0275\u0275styleMap:()=>Fr,\u0275\u0275styleMapInterpolate1:()=>Mg,\u0275\u0275styleMapInterpolate2:()=>Ig,\u0275\u0275styleMapInterpolate3:()=>Tg,\u0275\u0275styleMapInterpolate4:()=>Sg,\u0275\u0275styleMapInterpolate5:()=>Og,\u0275\u0275styleMapInterpolate6:()=>Ag,\u0275\u0275styleMapInterpolate7:()=>Pg,\u0275\u0275styleMapInterpolate8:()=>Rg,\u0275\u0275styleMapInterpolateV:()=>Fg,\u0275\u0275styleProp:()=>Zd,\u0275\u0275stylePropInterpolate1:()=>lu,\u0275\u0275stylePropInterpolate2:()=>cu,\u0275\u0275stylePropInterpolate3:()=>du,\u0275\u0275stylePropInterpolate4:()=>uu,\u0275\u0275stylePropInterpolate5:()=>hu,\u0275\u0275stylePropInterpolate6:()=>fu,\u0275\u0275stylePropInterpolate7:()=>mu,\u0275\u0275stylePropInterpolate8:()=>pu,\u0275\u0275stylePropInterpolateV:()=>gu,\u0275\u0275syntheticHostListener:()=>Ld,\u0275\u0275syntheticHostProperty:()=>vu,\u0275\u0275template:()=>Vp,\u0275\u0275templateRefExtractor:()=>lv,\u0275\u0275text:()=>pg,\u0275\u0275textInterpolate:()=>qd,\u0275\u0275textInterpolate1:()=>Dl,\u0275\u0275textInterpolate2:()=>eu,\u0275\u0275textInterpolate3:()=>tu,\u0275\u0275textInterpolate4:()=>nu,\u0275\u0275textInterpolate5:()=>iu,\u0275\u0275textInterpolate6:()=>ru,\u0275\u0275textInterpolate7:()=>ou,\u0275\u0275textInterpolate8:()=>su,\u0275\u0275textInterpolateV:()=>au,\u0275\u0275trustConstantHtml:()=>om,\u0275\u0275trustConstantResourceUrl:()=>sm,\u0275\u0275validateIframeAttribute:()=>$f,\u0275\u0275viewQuery:()=>nv});var i=o(9453),a=o(9592),f=o(7371),p=o(4991),d=o(1625),h=o(9627),g=o(3949),v=o(2835),m=o(4263),u=o(5066);function b(e){for(let t in e)if(e[t]===b)return t;throw Error("Could not find renamed property on target object.")}function C(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function M(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(M).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function S(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const H=b({__forward_ref__:b});function j(e){return e.__forward_ref__=j,e.toString=function(){return M(this())},e}function N(e){return fe(e)?e():e}function fe(e){return"function"==typeof e&&e.hasOwnProperty(H)&&e.__forward_ref__===j}function z(e){return e&&!!e.\u0275providers}const X="https://g.co/ng/security#xss";class K extends Error{constructor(t,n){super(me(t,n)),this.code=t}}function me(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function ae(e){return"string"==typeof e?e:null==e?"":String(e)}function te(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ae(e)}function We(e,t){throw new K(-201,!1)}function ct(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function Fe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const ke=Fe;function Ge(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ee(e){return pt(e,Y)||pt(e,Ie)}function Te(e){return null!==Ee(e)}function pt(e,t){return e.hasOwnProperty(t)?e[t]:null}function qe(e){return e&&(e.hasOwnProperty(_e)||e.hasOwnProperty(st))?e[_e]:null}const Y=b({\u0275prov:b}),_e=b({\u0275inj:b}),Ie=b({ngInjectableDef:b}),st=b({ngInjectorDef:b});var tt=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(tt||{});let Ct;function Wt(){return Ct}function Kt(e){const t=Ct;return Ct=e,t}function Qt(e,t,n){const r=Ee(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&tt.Optional?null:void 0!==t?t:void We(M(e))}const at=globalThis;let ee;function rt(e){ct("setInjectorProfilerContext should never be called in production mode");const t=ee;return ee=e,t}let Tt=null;const Ft=e=>{ct("setInjectorProfiler should never be called in production mode"),Tt=e},Ce={},Be="__NG_DI_FLAG__",ht="ngTempTokenPath",Jt=/\n/gm,ue="__source";let L;function ie(e){const t=L;return L=e,t}function ze(e,t=tt.Default){if(void 0===L)throw new K(-203,!1);return null===L?Qt(e,void 0,t):L.get(e,t&tt.Optional?null:void 0,t)}function Mt(e,t=tt.Default){return(Wt()||ze)(N(e),t)}function Xe(e){throw new K(202,!1)}function xt(e,t=tt.Default){return Mt(e,de(t))}function de(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Me(e){const t=[];for(let n=0;n<e.length;n++){const r=N(e[n]);if(Array.isArray(r)){if(0===r.length)throw new K(900,!1);let s,c=tt.Default;for(let _=0;_<r.length;_++){const E=r[_],x=vt(E);"number"==typeof x?-1===x?s=E.token:c|=x:s=E}t.push(Mt(s,c))}else t.push(Mt(r))}return t}function Se(e,t){return e[Be]=t,e.prototype[Be]=t,e}function vt(e){return e[Be]}function cn(e){return{toString:e}.toString()}var fn=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(fn||{}),Ue=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ue||{});const Re={},xe=[],mt=b({\u0275cmp:b}),wt=b({\u0275dir:b}),At=b({\u0275pipe:b}),Pt=b({\u0275mod:b}),tn=b({\u0275fac:b}),Gt=b({__NG_ELEMENT_ID__:b}),In=b({__NG_ENV_ID__:b});function Vn(e,t,n){let r=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const c=t.length;if(s+c===r||e.charCodeAt(s+c)<=32)return s}n=s+1}}function An(e,t,n){let r=0;for(;r<n.length;){const s=n[r];if("number"==typeof s){if(0!==s)break;r++;const c=n[r++],_=n[r++],E=n[r++];e.setAttribute(t,_,E,c)}else{const c=s,_=n[++r];Ci(c)?e.setProperty(t,c,_):e.setAttribute(t,c,_),r++}}return r}function kn(e){return 3===e||4===e||6===e}function Ci(e){return 64===e.charCodeAt(0)}function Pn(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const s=t[r];"number"==typeof s?n=s:0===n||bn(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function bn(e,t,n,r,s){let c=0,_=e.length;if(-1===t)_=-1;else for(;c<e.length;){const E=e[c++];if("number"==typeof E){if(E===t){_=-1;break}if(E>t){_=c-1;break}}}for(;c<e.length;){const E=e[c];if("number"==typeof E)break;if(E===n){if(null===r)return void(null!==s&&(e[c+1]=s));if(r===e[c+1])return void(e[c+2]=s)}c++,null!==r&&c++,null!==s&&c++}-1!==_&&(e.splice(_,0,t),c=_+1),e.splice(c++,0,n),null!==r&&e.splice(c++,0,r),null!==s&&e.splice(c++,0,s)}const le="ng-template";function nt(e,t,n){let r=0,s=!0;for(;r<e.length;){let c=e[r++];if("string"==typeof c&&s){const _=e[r++];if(n&&"class"===c&&-1!==Vn(_.toLowerCase(),t,0))return!0}else{if(1===c){for(;r<e.length&&"string"==typeof(c=e[r++]);)if(c.toLowerCase()===t)return!0;return!1}"number"==typeof c&&(s=!1)}}return!1}function U(e){return 4===e.type&&e.value!==le}function se(e,t,n){return t===(4!==e.type||n?e.value:le)}function $(e,t,n){let r=4;const s=e.attrs||[],c=function Bt(e){for(let t=0;t<e.length;t++)if(kn(e[t]))return t;return e.length}(s);let _=!1;for(let E=0;E<t.length;E++){const x=t[E];if("number"!=typeof x){if(!_)if(4&r){if(r=2|1&r,""!==x&&!se(e,x,n)||""===x&&1===t.length){if($e(r))return!1;_=!0}}else{const P=8&r?x:t[++E];if(8&r&&null!==e.attrs){if(!nt(e.attrs,P,n)){if($e(r))return!1;_=!0}continue}const De=R(8&r?"class":x,s,U(e),n);if(-1===De){if($e(r))return!1;_=!0;continue}if(""!==P){let Je;Je=De>c?"":s[De+1].toLowerCase();const ut=8&r?Je:null;if(ut&&-1!==Vn(ut,P,0)||2&r&&P!==Je){if($e(r))return!1;_=!0}}}}else{if(!_&&!$e(r)&&!$e(x))return!1;if(_&&$e(x))continue;_=!1,r=x|1&r}}return $e(r)||_}function $e(e){return 0==(1&e)}function R(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let c=!1;for(;s<t.length;){const _=t[s];if(_===e)return s;if(3===_||6===_)c=!0;else{if(1===_||2===_){let E=t[++s];for(;"string"==typeof E;)E=t[++s];continue}if(4===_)break;if(0===_){s+=4;continue}}s+=c?1:2}return-1}return function Lt(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Pe(e,t,n=!1){for(let r=0;r<t.length;r++)if($(e,t[r],n))return!0;return!1}function yn(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let s=0;s<e.length;s++)if(e[s]!==r[s])continue e;return!0}}return!1}function Tn(e,t){return e?":not("+t.trim()+")":t}function Kn(e){let t=e[0],n=1,r=2,s="",c=!1;for(;n<e.length;){let _=e[n];if("string"==typeof _)if(2&r){const E=e[++n];s+="["+_+(E.length>0?'="'+E+'"':"")+"]"}else 8&r?s+="."+_:4&r&&(s+=" "+_);else""!==s&&!$e(_)&&(t+=Tn(c,s),s=""),r=_,c=c||!$e(r);n++}return""!==s&&(t+=Tn(c,s)),t}function ri(e){return cn(()=>{const t=Sr(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===fn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ue.Emulated,styles:e.styles||xe,_:null,schemas:e.schemas||null,tView:null,id:""};tr(n);const r=e.dependencies;return n.directiveDefs=hr(r,!1),n.pipeDefs=hr(r,!0),n.id=function Or(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const s of n)t=Math.imul(31,t)+s.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function Ji(e,t,n){const r=e.\u0275cmp;r.directiveDefs=hr(t,!1),r.pipeDefs=hr(n,!0)}function Tr(e){return wn(e)||Zn(e)}function so(e){return null!==e}function cr(e){return cn(()=>({type:e.type,bootstrap:e.bootstrap||xe,declarations:e.declarations||xe,imports:e.imports||xe,exports:e.exports||xe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Lr(e,t){return cn(()=>{const n=ti(e,!0);n.declarations=t.declarations||xe,n.imports=t.imports||xe,n.exports=t.exports||xe})}function qi(e,t){if(null==e)return Re;const n={};for(const r in e)if(e.hasOwnProperty(r)){let s=e[r],c=s;Array.isArray(s)&&(c=s[1],s=s[0]),n[s]=r,t&&(t[s]=c)}return n}function dr(e){return cn(()=>{const t=Sr(e);return tr(t),t})}function ur(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function wn(e){return e[mt]||null}function Zn(e){return e[wt]||null}function Xn(e){return e[At]||null}function er(e){const t=wn(e)||Zn(e)||Xn(e);return null!==t&&t.standalone}function ti(e,t){const n=e[Pt]||null;if(!n&&!0===t)throw new Error(`Type ${M(e)} does not have '\u0275mod' property.`);return n}function Sr(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Re,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||xe,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:qi(e.inputs,t),outputs:qi(e.outputs)}}function tr(e){e.features?.forEach(t=>t(e))}function hr(e,t){if(!e)return null;const n=t?Xn:Tr;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(so)}const fr=new Map,Bn=0,zt=1,dn=2,Nn=3,pi=4,Oi=5,oi=6,Ui=7,Hn=8,Qn=9,Ni=10,rn=11,Li=12,br=13,zi=14,Rn=15,mr=16,gi=17,Jn=18,ui=19,Ai=20,$i=21,si=22,qn=23,Pi=24,Cn=25,yr=1,Cr=2,_i=7,nr=9,jr=10,ai=11;function hi(e){return Array.isArray(e)&&"object"==typeof e[yr]}function li(e){return Array.isArray(e)&&!0===e[yr]}function Br(e){return 0!=(4&e.flags)}function ir(e){return e.componentOffset>-1}function Er(e){return 1==(1&e.flags)}function Di(e){return!!e.template}function Vr(e){return 0!=(512&e[dn])}function Hr(e){return 16==(16&e.type)}function he(e,t){return e.hasOwnProperty(tn)?e[tn]:null}const He=Symbol("SIGNAL");function Ke(e){return"function"==typeof e&&void 0!==e[He]}function gt(e,t){return(null===e||"object"!=typeof e)&&Object.is(e,t)}let bt=null,$t=!1;function Ut(e){const t=bt;return bt=e,t}const Mn={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function gn(e){if($t)throw new Error("");if(null===bt)return;const t=bt.nextProducerIndex++;Fi(bt),t<bt.producerNode.length&&bt.producerNode[t]!==e&&Ri(bt)&&yi(bt.producerNode[t],bt.producerIndexOfThis[t]),bt.producerNode[t]!==e&&(bt.producerNode[t]=e,bt.producerIndexOfThis[t]=Ri(bt)?rr(e,bt,t):0),bt.producerLastReadVersion[t]=e.version}function sn(e){if(!Ri(e)||e.dirty){if(!e.producerMustRecompute(e)&&!bi(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function hn(e){if(void 0===e.liveConsumerNode)return;const t=$t;$t=!0;try{for(const n of e.liveConsumerNode)n.dirty||ci(n)}finally{$t=t}}function Un(){return!1!==bt?.consumerAllowSignalWrites}function ci(e){e.dirty=!0,hn(e),e.consumerMarkedDirty?.(e)}function ni(e){return e&&(e.nextProducerIndex=0),Ut(e)}function vi(e,t){if(Ut(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Ri(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)yi(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function bi(e){Fi(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(sn(n),r!==n.version))return!0}return!1}function Ur(e){if(Fi(e),Ri(e))for(let t=0;t<e.producerNode.length;t++)yi(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function rr(e,t,n){if(or(e),Fi(e),0===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=rr(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function yi(e,t){if(or(e),Fi(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)yi(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],s=e.liveConsumerNode[t];Fi(s),s.producerIndexOfThis[r]=t}}function Ri(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Fi(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function or(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function ko(e,t){const n=Object.create(Is);n.computation=e,t?.equal&&(n.equal=t.equal);const r=()=>{if(sn(n),gn(n),n.value===uo)throw n.error;return n.value};return r[He]=n,r}const zr=Symbol("UNSET"),Dr=Symbol("COMPUTING"),uo=Symbol("ERRORED"),Is=(()=>({...Mn,value:zr,dirty:!0,error:null,equal:gt,producerMustRecompute:e=>e.value===zr||e.value===Dr,producerRecomputeValue(e){if(e.value===Dr)throw new Error("Detected cycle in computations.");const t=e.value;e.value=Dr;const n=ni(e);let r;try{r=e.computation()}catch(s){r=uo,e.error=s}finally{vi(e,n)}t!==zr&&t!==uo&&r!==uo&&e.equal(t,r)?e.value=t:(e.value=r,e.version++)}}))();let an=function nn(){throw new Error};function un(){an()}let fi=null;function pr(e,t){const n=Object.create(wr);function r(){return gn(n),n.value}return n.value=e,t?.equal&&(n.equal=t.equal),r.set=G,r.update=T,r.mutate=k,r.asReadonly=ve,r[He]=n,r}const wr=(()=>({...Mn,equal:gt,readonlyFn:void 0}))();function D(e){e.version++,hn(e),fi?.()}function G(e){const t=this[He];Un()||un(),t.equal(t.value,e)||(t.value=e,D(t))}function T(e){Un()||un(),G.call(this,e(this[He].value))}function k(e){const t=this[He];Un()||un(),e(t.value),D(t)}function ve(){const e=this[He];if(void 0===e.readonlyFn){const t=()=>this();t[He]=e,e.readonlyFn=t}return e.readonlyFn}function ft(e){const t=Ut(null);try{return e()}finally{Ut(t)}}const Xt=()=>{},$n=(()=>({...Mn,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:Xt}))();function Wn(e){}class jn{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Sn(){return di}function di(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ei),Yn}function Yn(){const e=xr(this),t=e?.current;if(t){const n=e.previous;if(n===Re)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ei(e,t,n,r){const s=this.declaredInputs[n],c=xr(e)||function ho(e,t){return e[Pr]=t}(e,{previous:Re,current:null}),_=c.current||(c.current={}),E=c.previous,x=E[s];_[s]=new jn(x&&x.currentValue,t,E===Re),e[r]=t}Sn.ngInherit=!0;const Pr="__ngSimpleChanges__";function xr(e){return e[Pr]||null}let Wi=null;const Xr=e=>{Wi=e},Ii=function(e,t,n){Wi?.(e,t,n)},Jr="svg",ah="math";function ei(e){for(;Array.isArray(e);)e=e[Bn];return e}function Ul(e){for(;Array.isArray(e);){if("object"==typeof e[yr])return e;e=e[Bn]}return null}function _a(e,t){return ei(t[e])}function sr(e,t){return ei(t[e.index])}function lh(e,t){return e.data[t]}function No(e,t){return e[t]}function gr(e,t){const n=t[e];return hi(n)?n:n[Bn]}function fo(e,t){return null==t?null:e[t]}function ch(e){e[gi]=0}function Sb(e){1024&e[dn]||(e[dn]|=1024,uh(e,1))}function dh(e){1024&e[dn]&&(e[dn]&=-1025,uh(e,-1))}function uh(e,t){let n=e[Nn];if(null===n)return;n[Oi]+=t;let r=n;for(n=n[Nn];null!==n&&(1===t&&1===r[Oi]||-1===t&&0===r[Oi]);)n[Oi]+=t,r=n,n=n[Nn]}function hh(e,t){if(256==(256&e[dn]))throw new K(911,!1);null===e[$i]&&(e[$i]=[]),e[$i].push(t)}const mn={lFrame:Mh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function mh(){return mn.bindingsEnabled}function Lo(){return null!==mn.skipHydrationRootTNode}function ph(){mn.bindingsEnabled=!0}function gh(){mn.bindingsEnabled=!1}function Rt(){return mn.lFrame.lView}function Ln(){return mn.lFrame.tView}function _h(e){return mn.lFrame.contextLView=e,e[Hn]}function vh(e){return mn.lFrame.contextLView=null,e}function ki(){let e=bh();for(;null!==e&&64===e.type;)e=e.parent;return e}function bh(){return mn.lFrame.currentTNode}function Ts(){const e=mn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function $r(e,t){const n=mn.lFrame;n.currentTNode=e,n.isParent=t}function zl(){return mn.lFrame.isParent}function $l(){mn.lFrame.isParent=!1}function Gi(){const e=mn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function qr(){return mn.lFrame.bindingIndex}function Ch(e){return mn.lFrame.bindingIndex=e}function jo(){return mn.lFrame.bindingIndex++}function eo(e){const t=mn.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Eh(e){mn.lFrame.inI18n=e}function Bb(e,t){const n=mn.lFrame;n.bindingIndex=n.bindingRootIndex=e,Wl(t)}function Wl(e){mn.lFrame.currentDirectiveIndex=e}function Gl(e){const t=mn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Dh(){return mn.lFrame.currentQueryIndex}function Kl(e){mn.lFrame.currentQueryIndex=e}function Hb(e){const t=e[zt];return 2===t.type?t.declTNode:1===t.type?e[oi]:null}function wh(e,t,n){if(n&tt.SkipSelf){let s=t,c=e;for(;!(s=s.parent,null!==s||n&tt.Host||(s=Hb(c),null===s||(c=c[zi],10&s.type))););if(null===s)return!1;t=s,e=c}const r=mn.lFrame=xh();return r.currentTNode=t,r.lView=e,!0}function Yl(e){const t=xh(),n=e[zt];mn.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function xh(){const e=mn.lFrame,t=null===e?null:e.child;return null===t?Mh(e):t}function Mh(e){const t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Ih(){const e=mn.lFrame;return mn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Th=Ih;function Ql(){const e=Ih();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Ki(){return mn.lFrame.selectedIndex}function yo(e){mn.lFrame.selectedIndex=e}function mi(){const e=mn.lFrame;return lh(e.tView,e.selectedIndex)}function Sh(){mn.lFrame.currentNamespace=Jr}function Oh(){mn.lFrame.currentNamespace=ah}function Ah(){!function $b(){mn.lFrame.currentNamespace=null}()}function Ph(){return mn.lFrame.currentNamespace}let Rh=!0;function va(){return Rh}function mo(e){Rh=e}function ba(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const c=e.data[n].type.prototype,{ngAfterContentInit:_,ngAfterContentChecked:E,ngAfterViewInit:x,ngAfterViewChecked:P,ngOnDestroy:Q}=c;_&&(e.contentHooks??=[]).push(-n,_),E&&((e.contentHooks??=[]).push(n,E),(e.contentCheckHooks??=[]).push(n,E)),x&&(e.viewHooks??=[]).push(-n,x),P&&((e.viewHooks??=[]).push(n,P),(e.viewCheckHooks??=[]).push(n,P)),null!=Q&&(e.destroyHooks??=[]).push(n,Q)}}function ya(e,t,n){Fh(e,t,3,n)}function Ca(e,t,n,r){(3&e[dn])===n&&Fh(e,t,n,r)}function Zl(e,t){let n=e[dn];(3&n)===t&&(n&=8191,n+=1,e[dn]=n)}function Fh(e,t,n,r){const c=r??-1,_=t.length-1;let E=0;for(let x=void 0!==r?65535&e[gi]:0;x<_;x++)if("number"==typeof t[x+1]){if(E=t[x],null!=r&&E>=r)break}else t[x]<0&&(e[gi]+=65536),(E<c||-1==c)&&(Gb(e,n,t,x),e[gi]=(4294901760&e[gi])+x+2),x++}function kh(e,t){Ii(4,e,t);const n=Ut(null);try{t.call(e)}finally{Ut(n),Ii(5,e,t)}}function Gb(e,t,n,r){const s=n[r]<0,c=n[r+1],E=e[s?-n[r]:n[r]];s?e[dn]>>13<e[gi]>>16&&(3&e[dn])===t&&(e[dn]+=8192,kh(E,c)):kh(E,c)}const Bo=-1;class Ss{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Jl(e){return e!==Bo}function Os(e){return 32767&e}function As(e,t){let n=function Zb(e){return e>>16}(e),r=t;for(;n>0;)r=r[zi],n--;return r}let ql=!0;function Ea(e){const t=ql;return ql=e,t}const Nh=255,Lh=5;let Xb=0;const Wr={};function Da(e,t){const n=jh(e,t);if(-1!==n)return n;const r=t[zt];r.firstCreatePass&&(e.injectorIndex=t.length,ec(r.data,e),ec(t,null),ec(r.blueprint,null));const s=wa(e,t),c=e.injectorIndex;if(Jl(s)){const _=Os(s),E=As(s,t),x=E[zt].data;for(let P=0;P<8;P++)t[c+P]=E[_+P]|x[_+P]}return t[c+8]=s,c}function ec(e,t){e.push(0,0,0,0,0,0,0,0,t)}function jh(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function wa(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,s=t;for(;null!==s;){if(r=Gh(s),null===r)return Bo;if(n++,s=s[zi],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Bo}function tc(e,t,n){!function Jb(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Gt)&&(r=n[Gt]),null==r&&(r=n[Gt]=Xb++);const s=r&Nh;t.data[e+(s>>Lh)]|=1<<s}(e,t,n)}function Bh(e,t,n){if(n&tt.Optional||void 0!==e)return e;We()}function Vh(e,t,n,r){if(n&tt.Optional&&void 0===r&&(r=null),!(n&(tt.Self|tt.Host))){const s=e[Qn],c=Kt(void 0);try{return s?s.get(t,r,n&tt.Optional):Qt(t,r,n&tt.Optional)}finally{Kt(c)}}return Bh(r,0,n)}function Hh(e,t,n,r=tt.Default,s){if(null!==e){if(2048&t[dn]&&!(r&tt.Self)){const _=function ry(e,t,n,r,s){let c=e,_=t;for(;null!==c&&null!==_&&2048&_[dn]&&!(512&_[dn]);){const E=Uh(c,_,n,r|tt.Self,Wr);if(E!==Wr)return E;let x=c.parent;if(!x){const P=_[Ai];if(P){const Q=P.get(n,Wr,r);if(Q!==Wr)return Q}x=Gh(_),_=_[zi]}c=x}return s}(e,t,n,r,Wr);if(_!==Wr)return _}const c=Uh(e,t,n,r,Wr);if(c!==Wr)return c}return Vh(t,n,r,s)}function Uh(e,t,n,r,s){const c=function ty(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Gt)?e[Gt]:void 0;return"number"==typeof t?t>=0?t&Nh:iy:t}(n);if("function"==typeof c){if(!wh(t,e,r))return r&tt.Host?Bh(s,0,r):Vh(t,n,r,s);try{let _;if(_=c(r),null!=_||r&tt.Optional)return _;We()}finally{Th()}}else if("number"==typeof c){let _=null,E=jh(e,t),x=Bo,P=r&tt.Host?t[Rn][oi]:null;for((-1===E||r&tt.SkipSelf)&&(x=-1===E?wa(e,t):t[E+8],x!==Bo&&$h(r,!1)?(_=t[zt],E=Os(x),t=As(x,t)):E=-1);-1!==E;){const Q=t[zt];if(zh(c,E,Q.data)){const De=ey(E,t,n,_,r,P);if(De!==Wr)return De}x=t[E+8],x!==Bo&&$h(r,t[zt].data[E+8]===P)&&zh(c,E,t)?(_=Q,E=Os(x),t=As(x,t)):E=-1}}return s}function ey(e,t,n,r,s,c){const _=t[zt],E=_.data[e+8],Q=xa(E,_,n,null==r?ir(E)&&ql:r!=_&&0!=(3&E.type),s&tt.Host&&c===E);return null!==Q?Co(t,_,Q,E):Wr}function xa(e,t,n,r,s){const c=e.providerIndexes,_=t.data,E=1048575&c,x=e.directiveStart,Q=c>>20,Je=s?E+Q:e.directiveEnd;for(let ut=r?E:E+Q;ut<Je;ut++){const It=_[ut];if(ut<x&&n===It||ut>=x&&It.type===n)return ut}if(s){const ut=_[x];if(ut&&Di(ut)&&ut.type===n)return x}return null}function Co(e,t,n,r){let s=e[n];const c=t.data;if(function Kb(e){return e instanceof Ss}(s)){const _=s;_.resolving&&function pe(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new K(-200,`Circular dependency in DI detected for ${e}${n}`)}(te(c[n]));const E=Ea(_.canSeeViewProviders);_.resolving=!0;const P=_.injectImpl?Kt(_.injectImpl):null;wh(e,r,tt.Default);try{s=e[n]=_.factory(void 0,c,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Wb(e,t,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:c}=t.type.prototype;if(r){const _=di(t);(n.preOrderHooks??=[]).push(e,_),(n.preOrderCheckHooks??=[]).push(e,_)}s&&(n.preOrderHooks??=[]).push(0-e,s),c&&((n.preOrderHooks??=[]).push(e,c),(n.preOrderCheckHooks??=[]).push(e,c))}(n,c[n],t)}finally{null!==P&&Kt(P),Ea(E),_.resolving=!1,Th()}}return s}function zh(e,t,n){return!!(n[t+(e>>Lh)]&1<<e)}function $h(e,t){return!(e&tt.Self||e&tt.Host&&t)}function Ps(e){return e._lView}class Yi{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Hh(this._tNode,this._lView,t,de(r),n)}}function iy(){return new Yi(ki(),Rt())}function Wh(e){return cn(()=>{const t=e.prototype.constructor,n=t[tn]||nc(t),r=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==r;){const c=s[tn]||nc(s);if(c&&c!==n)return c;s=Object.getPrototypeOf(s)}return c=>new c})}function nc(e){return fe(e)?()=>{const t=nc(N(e));return t&&t()}:he(e)}function Gh(e){const t=e[zt],n=t.type;return 2===n?t.declTNode:1===n?e[oi]:null}function ic(e){return function qb(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let s=0;for(;s<r;){const c=n[s];if(kn(c))break;if(0===c)s+=2;else if("number"==typeof c)for(s++;s<r&&"string"==typeof n[s];)s++;else{if(c===t)return n[s+1];s+=2}}}return null}(ki(),e)}const Vo="__annotations__",Ho="__parameters__",Uo="__prop__metadata__";function Rs(e,t,n,r,s){return cn(()=>{const c=rc(t);function _(...E){if(this instanceof _)return c.call(this,...E),this;const x=new _(...E);return function(Q){return s&&s(Q,...E),(Q.hasOwnProperty(Vo)?Q[Vo]:Object.defineProperty(Q,Vo,{value:[]})[Vo]).push(x),r&&r(Q),Q}}return n&&(_.prototype=Object.create(n.prototype)),_.prototype.ngMetadataName=e,_.annotationCls=_,_})}function rc(e){return function(...n){if(e){const r=e(...n);for(const s in r)this[s]=r[s]}}}function zo(e,t,n){return cn(()=>{const r=rc(t);function s(...c){if(this instanceof s)return r.apply(this,c),this;const _=new s(...c);return E.annotation=_,E;function E(x,P,Q){const De=x.hasOwnProperty(Ho)?x[Ho]:Object.defineProperty(x,Ho,{value:[]})[Ho];for(;De.length<=Q;)De.push(null);return(De[Q]=De[Q]||[]).push(_),x}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}function po(e,t,n,r){return cn(()=>{const s=rc(t);function c(..._){if(this instanceof c)return s.apply(this,_),this;const E=new c(..._);return function x(P,Q){if(void 0===P)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const De=P.constructor,Je=De.hasOwnProperty(Uo)?De[Uo]:Object.defineProperty(De,Uo,{value:{}})[Uo];Je[Q]=Je.hasOwnProperty(Q)&&Je[Q]||[],Je[Q].unshift(E),r&&r(P,Q,..._)}}return n&&(c.prototype=Object.create(n.prototype)),c.prototype.ngMetadataName=e,c.annotationCls=c,c})}const Kh=zo("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>ic(e)}));class Fs{}const oy=po("ContentChildren",(e,t={})=>({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0,...t}),Fs),sy=po("ContentChild",(e,t={})=>({selector:e,first:!0,isViewQuery:!1,descendants:!0,...t}),Fs),ay=po("ViewChildren",(e,t={})=>({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0,...t}),Fs),ly=po("ViewChild",(e,t)=>({selector:e,first:!0,isViewQuery:!0,descendants:!0,...t}),Fs);var Eo=function(e){return e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule",e}(Eo||{});function xi(e){const t=at.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Qh=Function;function ks(e){return"function"==typeof e}function Mr(e){return e.flat(Number.POSITIVE_INFINITY)}function $o(e,t){e.forEach(n=>Array.isArray(n)?$o(n,t):t(n))}function Zh(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ma(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ns(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function _r(e,t,n){let r=Wo(e,t);return r>=0?e[1|r]=n:(r=~r,function fy(e,t,n,r){let s=e.length;if(s==t)e.push(n,r);else if(1===s)e.push(r,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function oc(e,t){const n=Wo(e,t);if(n>=0)return e[1|n]}function Wo(e,t){return function Xh(e,t,n){let r=0,s=e.length>>n;for(;s!==r;){const c=r+(s-r>>1),_=e[c<<n];if(t===_)return c<<n;_>t?s=c:r=c+1}return~(s<<n)}(e,t,1)}const my=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,py=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,gy=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,_y=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Jh{constructor(t){this._reflect=t||at.Reflect}factory(t){return(...n)=>new t(...n)}_zipTypesAndAnnotations(t,n){let r;r=Ns(typeof t>"u"?n.length:t.length);for(let s=0;s<r.length;s++)r[s]=typeof t>"u"?[]:t[s]&&t[s]!=Object?[t[s]]:[],n&&null!=n[s]&&(r[s]=r[s].concat(n[s]));return r}_ownParameters(t,n){if(function vy(e){return my.test(e)||_y.test(e)||py.test(e)&&!gy.test(e)}(t.toString()))return null;if(t.parameters&&t.parameters!==n.parameters)return t.parameters;const s=t.ctorParameters;if(s&&s!==n.ctorParameters){const E="function"==typeof s?s():s,x=E.map(Q=>Q&&Q.type),P=E.map(Q=>Q&&sc(Q.decorators));return this._zipTypesAndAnnotations(x,P)}const c=t.hasOwnProperty(Ho)&&t[Ho],_=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return _||c?this._zipTypesAndAnnotations(_,c):Ns(t.length)}parameters(t){if(!ks(t))return[];const n=Ia(t);let r=this._ownParameters(t,n);return!r&&n!==Object&&(r=this.parameters(n)),r||[]}_ownAnnotations(t,n){if(t.annotations&&t.annotations!==n.annotations){let r=t.annotations;return"function"==typeof r&&r.annotations&&(r=r.annotations),r}return t.decorators&&t.decorators!==n.decorators?sc(t.decorators):t.hasOwnProperty(Vo)?t[Vo]:null}annotations(t){if(!ks(t))return[];const n=Ia(t),r=this._ownAnnotations(t,n)||[];return(n!==Object?this.annotations(n):[]).concat(r)}_ownPropMetadata(t,n){if(t.propMetadata&&t.propMetadata!==n.propMetadata){let r=t.propMetadata;return"function"==typeof r&&r.propMetadata&&(r=r.propMetadata),r}if(t.propDecorators&&t.propDecorators!==n.propDecorators){const r=t.propDecorators,s={};return Object.keys(r).forEach(c=>{s[c]=sc(r[c])}),s}return t.hasOwnProperty(Uo)?t[Uo]:null}propMetadata(t){if(!ks(t))return{};const n=Ia(t),r={};if(n!==Object){const c=this.propMetadata(n);Object.keys(c).forEach(_=>{r[_]=c[_]})}const s=this._ownPropMetadata(t,n);return s&&Object.keys(s).forEach(c=>{const _=[];r.hasOwnProperty(c)&&_.push(...r[c]),_.push(...s[c]),r[c]=_}),r}ownPropMetadata(t){return ks(t)&&this._ownPropMetadata(t,Ia(t))||{}}hasLifecycleHook(t,n){return t instanceof Qh&&n in t.prototype}}function sc(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function Ia(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const qh=Se(zo("Inject",e=>({token:e})),-1),Ta=Se(zo("Optional"),8),ef=Se(zo("Self"),2),Sa=Se(zo("SkipSelf"),4),tf=Se(zo("Host"),1);let nf=null;function ac(){return nf=nf||new Jh}function Oa(e){return rf(ac().parameters(e))}function rf(e){return e.map(t=>function by(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let n=0;n<e.length;n++){const r=e[n];if(void 0===r)continue;const s=Object.getPrototypeOf(r);if(r instanceof Ta||"Optional"===s.ngMetadataName)t.optional=!0;else if(r instanceof Sa||"SkipSelf"===s.ngMetadataName)t.skipSelf=!0;else if(r instanceof ef||"Self"===s.ngMetadataName)t.self=!0;else if(r instanceof tf||"Host"===s.ngMetadataName)t.host=!0;else if(r instanceof qh)t.token=r.token;else if(r instanceof Kh){if(void 0===r.attributeName)throw new K(204,!1);t.attribute=r.attributeName}else t.token=r}else t.token=void 0===e||Array.isArray(e)&&0===e.length?null:e;return t}(t))}function sf(e){const t=[],n=new Map;function r(s){let c=n.get(s);if(!c){const _=e(s);n.set(s,c=_.then(Ey))}return c}return Go.forEach((s,c)=>{const _=[];s.templateUrl&&_.push(r(s.templateUrl).then(De=>{s.template=De}));const E=s.styleUrls,x=s.styles||(s.styles=[]),P=s.styles.length;E&&E.forEach((De,Je)=>{x.push(""),_.push(r(De).then(ut=>{x[P+Je]=ut,E.splice(E.indexOf(De),1),0==E.length&&(s.styleUrls=void 0)}))});const Q=Promise.all(_).then(()=>function Dy(e){Ls.delete(e)}(c));t.push(Q)}),lf(),Promise.all(t).then(()=>{})}let Go=new Map;const Ls=new Set;function af(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function lf(){const e=Go;return Go=new Map,e}function Ey(e){return"string"==typeof e?e:e.text()}const Aa=new Map;let cf=!0;function lc(e,t){(function wy(e,t,n){if(t&&t!==n&&cf)throw new Error(`Duplicate module registered for ${e} - ${M(t)} vs ${M(t.name)}`)})(t,Aa.get(t)||null,e),Aa.set(t,e)}function df(e){return Aa.get(e)}function xy(e){cf=!e}const uf={name:"custom-elements"},hf={name:"no-errors-schema"};let cc=!1;function My(e){cc=e}function Iy(){return cc}let dc=!1;function Ty(e){dc=e}function Sy(){return dc}const Ko="ngSkipHydration";function gf(e){const t=Ko.toLowerCase(),n=e.mergedAttrs;if(null===n)return!1;for(let r=0;r<n.length;r+=2){const s=n[r];if("number"==typeof s)return!1;if("string"==typeof s&&s.toLowerCase()===t)return!0}return!1}function _f(e){return e.hasAttribute(Ko)}function Fa(e){return 128==(128&e.flags)}function ka(e){let t=e.parent;for(;t;){if(gf(t))return!0;t=t.parent}return!1}var Na=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Na||{});const Ay=/^>|^->|<!--|-->|--!>|<!-$/g,Py=/(<|>)/g,Ry="\u200b$1\u200b";const uc=new Map;let Fy=0;function bf(e){return uc.get(e)||null}class yf{get lView(){return bf(this.lViewId)}constructor(t,n,r){this.lViewId=t,this.nodeIndex=n,this.native=r}}function Qi(e){let t=js(e);if(t){if(hi(t)){const n=t;let r,s,c;if(Df(e)){if(r=xf(n,e),-1==r)throw new Error("The provided component was not found in the application");s=e}else if(function jy(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(r=function Vy(e,t){let n=e[zt].firstChild;for(;n;){const s=n.directiveEnd;for(let c=n.directiveStart;c<s;c++)if(e[c]===t)return n.index;n=By(n)}return-1}(n,e),-1==r)throw new Error("The provided directive was not found in the application");c=Mf(r,n)}else if(r=wf(n,e),-1==r)return null;const _=ei(n[r]),E=js(_),x=E&&!Array.isArray(E)?E:hc(n,r,_);if(s&&void 0===x.component&&(x.component=s,Vi(x.component,x)),c&&void 0===x.directives){x.directives=c;for(let P=0;P<c.length;P++)Vi(c[P],x)}Vi(x.native,x),t=x}}else{const n=e;let r=n;for(;r=r.parentNode;){const s=js(r);if(s){const c=Array.isArray(s)?s:s.lView;if(!c)return null;const _=wf(c,n);if(_>=0){const E=ei(c[_]),x=hc(c,_,E);Vi(E,x),t=x;break}}}}return t||null}function hc(e,t,n){return new yf(e[ui],t,n)}function Cf(e){let n,t=js(e);if(hi(t)){const r=t,s=xf(r,e);n=gr(s,r);const c=hc(r,s,n[Bn]);c.component=e,Vi(e,c),Vi(c.native,c)}else n=gr(t.nodeIndex,t.lView);return n}const fc="__ngContext__";function Vi(e,t){hi(t)?(e[fc]=t[ui],function Ny(e){uc.set(e[ui],e)}(t)):e[fc]=t}function js(e){const t=e[fc];return"number"==typeof t?bf(t):t||null}function Ef(e){const t=js(e);return t?hi(t)?t:t.lView:null}function Df(e){return e&&e.constructor&&e.constructor.\u0275cmp}function wf(e,t){const n=e[zt];for(let r=Cn;r<n.bindingStartIndex;r++)if(ei(e[r])===t)return r;return-1}function By(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function xf(e,t){const n=e[zt].components;if(n)for(let r=0;r<n.length;r++){const s=n[r];if(gr(s,e)[Hn]===t)return s}else if(gr(Cn,e)[Hn]===t)return Cn;return-1}function Mf(e,t){const n=t[zt].data[e];if(0===n.directiveStart)return xe;const r=[];for(let s=n.directiveStart;s<n.directiveEnd;s++){const c=t[s];Df(c)||r.push(c)}return r}let mc;function pc(e,t){return mc(e,t)}function Bs(e){const t=e[Nn];return li(t)?t[Nn]:t}function Wy(e){return function $y(e){let t=hi(e)?e:Ef(e);for(;t&&!(512&t[dn]);)t=Bs(t);return t}(e)[Hn]}function If(e){return Sf(e[Li])}function Tf(e){return Sf(e[pi])}function Sf(e){for(;null!==e&&!li(e);)e=e[pi];return e}function Yo(e,t,n,r,s){if(null!=r){let c,_=!1;li(r)?c=r:hi(r)&&(_=!0,r=r[Bn]);const E=ei(r);0===e&&null!==n?null==s?Rf(t,n,E):Do(t,n,E,s||null,!0):1===e&&null!==n?Do(t,n,E,s||null,!0):2===e?Ua(t,E,_):3===e&&t.destroyNode(E),null!=c&&function r0(e,t,n,r,s){const c=n[_i];c!==ei(n)&&Yo(t,e,r,c,s);for(let E=ai;E<n.length;E++){const x=n[E];Hs(x[zt],x,e,t,r,c)}}(t,e,c,n,s)}}function La(e,t){return e.createText(t)}function Of(e,t,n){e.setValue(t,n)}function gc(e,t){return e.createComment(function vf(e){return e.replace(Ay,t=>t.replace(Py,Ry))}(t))}function ja(e,t,n){return e.createElement(t,n)}function Af(e,t){const n=e[nr],r=n.indexOf(t);dh(t),n.splice(r,1)}function Ba(e,t){if(e.length<=ai)return;const n=ai+t,r=e[n];if(r){const s=r[mr];null!==s&&s!==e&&Af(s,r),t>0&&(e[n-1][pi]=r[pi]);const c=Ma(e,ai+t);!function Gy(e,t){Hs(e,t,t[rn],2,null,null),t[Bn]=null,t[oi]=null}(r[zt],r);const _=c[Jn];null!==_&&_.detachView(c[zt]),r[Nn]=null,r[pi]=null,r[dn]&=-129}return r}function _c(e,t){if(!(256&t[dn])){const n=t[rn];t[qn]&&Ur(t[qn]),t[Pi]&&Ur(t[Pi]),n.destroyNode&&Hs(e,t,n,3,null,null),function Qy(e){let t=e[Li];if(!t)return vc(e[zt],e);for(;t;){let n=null;if(hi(t))n=t[Li];else{const r=t[ai];r&&(n=r)}if(!n){for(;t&&!t[pi]&&t!==e;)hi(t)&&vc(t[zt],t),t=t[Nn];null===t&&(t=e),hi(t)&&vc(t[zt],t),n=t&&t[pi]}t=n}}(t)}}function vc(e,t){if(!(256&t[dn])){t[dn]&=-129,t[dn]|=256,function qy(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const s=t[n[r]];if(!(s instanceof Ss)){const c=n[r+1];if(Array.isArray(c))for(let _=0;_<c.length;_+=2){const E=s[c[_]],x=c[_+1];Ii(4,E,x);try{x.call(E)}finally{Ii(5,E,x)}}else{Ii(4,s,c);try{c.call(s)}finally{Ii(5,s,c)}}}}}(e,t),function Jy(e,t){const n=e.cleanup,r=t[Ui];if(null!==n)for(let c=0;c<n.length-1;c+=2)if("string"==typeof n[c]){const _=n[c+3];_>=0?r[_]():r[-_].unsubscribe(),c+=2}else n[c].call(r[n[c+1]]);null!==r&&(t[Ui]=null);const s=t[$i];if(null!==s){t[$i]=null;for(let c=0;c<s.length;c++)(0,s[c])()}}(e,t),1===t[zt].type&&t[rn].destroy();const n=t[mr];if(null!==n&&li(t[Nn])){n!==t[Nn]&&Af(n,t);const r=t[Jn];null!==r&&r.detachView(e)}!function Ly(e){uc.delete(e[ui])}(t)}}function bc(e,t,n){return Pf(e,t.parent,n)}function Pf(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[Bn];{const{componentOffset:s}=r;if(s>-1){const{encapsulation:c}=e.data[r.directiveStart+s];if(c===Ue.None||c===Ue.Emulated)return null}return sr(r,n)}}function Do(e,t,n,r,s){e.insertBefore(t,n,r,s)}function Rf(e,t,n){e.appendChild(t,n)}function Ff(e,t,n,r,s){null!==r?Do(e,t,n,r,s):Rf(e,t,n)}function Va(e,t){return e.parentNode(t)}function kf(e,t,n){return Lf(e,t,n)}function Nf(e,t,n){return 40&e.type?sr(e,n):null}let yc,za,wc,$a,Lf=Nf;function jf(e,t){Lf=e,yc=t}function Ha(e,t,n,r){const s=bc(e,r,t),c=t[rn],E=kf(r.parent||t[oi],r,t);if(null!=s)if(Array.isArray(n))for(let x=0;x<n.length;x++)Ff(c,s,n[x],E,!1);else Ff(c,s,n,E,!1);void 0!==yc&&yc(c,r,t,n,s)}function Vs(e,t){if(null!==t){const n=t.type;if(3&n)return sr(t,e);if(4&n)return Cc(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Vs(e,r);{const s=e[t.index];return li(s)?Cc(-1,s):ei(s)}}if(32&n)return pc(t,e)()||ei(e[t.index]);{const r=Bf(e,t);return null!==r?Array.isArray(r)?r[0]:Vs(Bs(e[Rn]),r):Vs(e,t.next)}}return null}function Bf(e,t){return null!==t?e[Rn][oi].projection[t.projection]:null}function Cc(e,t){const n=ai+e+1;if(n<t.length){const r=t[n],s=r[zt].firstChild;if(null!==s)return Vs(r,s)}return t[_i]}function Ua(e,t,n){const r=Va(e,t);r&&function e0(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}function Vf(e){e.textContent=""}function Ec(e,t,n,r,s,c,_){for(;null!=n;){const E=r[n.index],x=n.type;if(_&&0===t&&(E&&Vi(ei(E),r),n.flags|=2),32!=(32&n.flags))if(8&x)Ec(e,t,n.child,r,s,c,!1),Yo(t,e,s,E,c);else if(32&x){const P=pc(n,r);let Q;for(;Q=P();)Yo(t,e,s,Q,c);Yo(t,e,s,E,c)}else 16&x?Hf(e,t,r,n,s,c):Yo(t,e,s,E,c);n=_?n.projectionNext:n.next}}function Hs(e,t,n,r,s,c){Ec(n,r,e.firstChild,t,s,c,!1)}function Hf(e,t,n,r,s,c){const _=n[Rn],x=_[oi].projection[r.projection];if(Array.isArray(x))for(let P=0;P<x.length;P++)Yo(t,e,s,x[P],c);else{let P=x;const Q=_[Nn];Fa(r)&&(P.flags|=128),Ec(e,t,P,Q,s,c,!0)}}function Uf(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function zf(e,t,n){const{mergedAttrs:r,classes:s,styles:c}=n;null!==r&&An(e,t,r),null!==s&&Uf(e,t,s),null!==c&&function s0(e,t,n){e.setAttribute(t,"style",n)}(e,t,c)}function Dc(){if(void 0===za&&(za=null,at.trustedTypes))try{za=at.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return za}function Qo(e){return Dc()?.createHTML(e)||e}function $f(e,t,n){const r=Rt(),s=mi(),c=sr(s,r);if(2===s.type&&"iframe"===t.toLowerCase()){const _=c;throw _.src="",_.srcdoc=Qo(""),Ua(r[rn],_),new K(-910,!1)}return e}function c0(e){wc=e}function Zo(){if(void 0!==wc)return wc;if(typeof document<"u")return document;throw new K(210,!1)}function xc(){if(void 0===$a&&($a=null,at.trustedTypes))try{$a=at.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return $a}function Wf(e){return xc()?.createHTML(e)||e}function Gf(e){return xc()?.createScript(e)||e}function Kf(e){return xc()?.createScriptURL(e)||e}class wo{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${X})`}}class d0 extends wo{getTypeName(){return"HTML"}}class u0 extends wo{getTypeName(){return"Style"}}class h0 extends wo{getTypeName(){return"Script"}}class f0 extends wo{getTypeName(){return"URL"}}class m0 extends wo{getTypeName(){return"ResourceURL"}}function to(e){return e instanceof wo?e.changingThisBreaksApplicationSecurity:e}function Xo(e,t){const n=Yf(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${X})`)}return n===t}function Yf(e){return e instanceof wo&&e.getTypeName()||null}function p0(e){return new d0(e)}function g0(e){return new u0(e)}function _0(e){return new h0(e)}function v0(e){return new f0(e)}function b0(e){return new m0(e)}function Qf(e){const t=new C0(e);return function E0(){try{return!!(new window.DOMParser).parseFromString(Qo(""),"text/html")}catch{return!1}}()?new y0(t):t}class y0{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Qo(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class C0{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Qo(t),n}}const D0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Wa(e){return(e=String(e)).match(D0)?e:"unsafe:"+e}function no(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Us(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Zf=no("area,br,col,hr,img,wbr"),Xf=no("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Jf=no("rp,rt"),Mc=Us(Zf,Us(Xf,no("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")),Us(Jf,no("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")),Us(Jf,Xf)),Ic=no("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),qf=Us(Ic,no("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"),no("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")),w0=no("script,style,template");class x0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=this.checkClobberedElement(n,n.nextSibling);if(s){n=s;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Mc.hasOwnProperty(n))return this.sanitizedSomething=!0,!w0.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let s=0;s<r.length;s++){const c=r.item(s),_=c.name,E=_.toLowerCase();if(!qf.hasOwnProperty(E)){this.sanitizedSomething=!0;continue}let x=c.value;Ic[E]&&(x=Wa(x)),this.buf.push(" ",_,'="',em(x),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Mc.hasOwnProperty(n)&&!Zf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(em(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const M0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,I0=/([^\#-~ |!])/g;function em(e){return e.replace(/&/g,"&amp;").replace(M0,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(I0,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Ga;function tm(e,t){let n=null;try{Ga=Ga||Qf(e);let r=t?String(t):"";n=Ga.getInertBodyElement(r);let s=5,c=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=c,c=n.innerHTML,n=Ga.getInertBodyElement(r)}while(r!==c);return Qo((new x0).sanitizeChildren(Tc(n)||n))}finally{if(n){const r=Tc(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Tc(e){return"content"in e&&function T0(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var xo=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(xo||{});function nm(e){const t=zs();return t?Wf(t.sanitize(xo.HTML,e)||""):Xo(e,"HTML")?Wf(to(e)):tm(Zo(),ae(e))}function im(e){const t=zs();return t?t.sanitize(xo.STYLE,e)||"":Xo(e,"Style")?to(e):ae(e)}function Sc(e){const t=zs();return t?t.sanitize(xo.URL,e)||"":Xo(e,"URL")?to(e):Wa(ae(e))}function Oc(e){const t=zs();if(t)return Kf(t.sanitize(xo.RESOURCE_URL,e)||"");if(Xo(e,"ResourceURL"))return Kf(to(e));throw new K(904,!1)}function rm(e){const t=zs();if(t)return Gf(t.sanitize(xo.SCRIPT,e)||"");if(Xo(e,"Script"))return Gf(to(e));throw new K(905,!1)}function om(e){return Qo(e[0])}function sm(e){return function l0(e){return Dc()?.createScriptURL(e)||e}(e[0])}function am(e,t,n){return function S0(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Oc:Sc}(t,n)(e)}function zs(){const e=Rt();return e&&e[Ni].sanitizer}class zn{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Fe({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const $s=new zn("ENVIRONMENT_INITIALIZER"),Ac=new zn("INJECTOR",-1),lm=new zn("INJECTOR_DEF_TYPES");class Pc{get(t,n=Ce){if(n===Ce){const r=new Error(`NullInjectorError: No provider for ${M(t)}!`);throw r.name="NullInjectorError",r}return n}}function Rc(e){return{\u0275providers:e}}function cm(...e){return{\u0275providers:dm(0,e),\u0275fromNgModule:!0}}function dm(e,...t){const n=[],r=new Set;let s;const c=_=>{n.push(_)};return $o(t,_=>{const E=_;Ka(E,c,[],r)&&(s||=[],s.push(E))}),void 0!==s&&um(s,c),n}function um(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:s}=e[n];Fc(s,c=>{t(c,r)})}}function Ka(e,t,n,r){if(!(e=N(e)))return!1;let s=null,c=qe(e);const _=!c&&wn(e);if(c||_){if(_&&!_.standalone)return!1;s=e}else{const x=e.ngModule;if(c=qe(x),!c)return!1;s=x}const E=r.has(s);if(_){if(E)return!1;if(r.add(s),_.dependencies){const x="function"==typeof _.dependencies?_.dependencies():_.dependencies;for(const P of x)Ka(P,t,n,r)}}else{if(!c)return!1;{if(null!=c.imports&&!E){let P;r.add(s);try{$o(c.imports,Q=>{Ka(Q,t,n,r)&&(P||=[],P.push(Q))})}finally{}void 0!==P&&um(P,t)}if(!E){const P=he(s)||(()=>new s);t({provide:s,useFactory:P,deps:xe},s),t({provide:lm,useValue:s,multi:!0},s),t({provide:$s,useValue:()=>Mt(s),multi:!0},s)}const x=c.providers;if(null!=x&&!E){const P=e;Fc(x,Q=>{t(Q,P)})}}}return s!==e&&void 0!==e.providers}function Fc(e,t){for(let n of e)z(n)&&(n=n.\u0275providers),Array.isArray(n)?Fc(n,t):t(n)}const O0=b({provide:String,useValue:b});function kc(e){return null!==e&&"object"==typeof e&&O0 in e}function Mo(e){return"function"==typeof e}const Nc=new zn("Set Injector scope."),Ya={},P0={};let Lc;function Qa(){return void 0===Lc&&(Lc=new Pc),Lc}class Gr{}class Za extends Gr{get destroyed(){return this._destroyed}constructor(t,n,r,s){super(),this.parent=n,this.source=r,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Bc(t,_=>this.processProvider(_)),this.records.set(Ac,Jo(void 0,this)),s.has("environment")&&this.records.set(Gr,Jo(void 0,this));const c=this.records.get(Nc);null!=c&&"string"==typeof c.value&&this.scopes.add(c.value),this.injectorDefTypes=new Set(this.get(lm.multi,xe,tt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=ie(this),r=Kt(void 0);try{return t()}finally{ie(n),Kt(r)}}get(t,n=Ce,r=tt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(In))return t[In](this);r=de(r);const c=ie(this),_=Kt(void 0);try{if(!(r&tt.SkipSelf)){let x=this.records.get(t);if(void 0===x){const P=function L0(e){return"function"==typeof e||"object"==typeof e&&e instanceof zn}(t)&&Ee(t);x=P&&this.injectableDefInScope(P)?Jo(jc(t),Ya):null,this.records.set(t,x)}if(null!=x)return this.hydrate(t,x)}return(r&tt.Self?Qa():this.parent).get(t,n=r&tt.Optional&&n===Ce?null:n)}catch(E){if("NullInjectorError"===E.name){if((E[ht]=E[ht]||[]).unshift(M(t)),c)throw E;return function Ht(e,t,n,r){const s=e[ht];throw t[ue]&&s.unshift(t[ue]),e.message=function vn(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let s=M(t);if(Array.isArray(t))s=t.map(M).join(" -> ");else if("object"==typeof t){let c=[];for(let _ in t)if(t.hasOwnProperty(_)){let E=t[_];c.push(_+":"+("string"==typeof E?JSON.stringify(E):M(E)))}s=`{${c.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(Jt,"\n ")}`}("\n"+e.message,s,n,r),e.ngTokenPath=s,e[ht]=null,e}(E,t,"R3InjectorError",this.source)}throw E}finally{Kt(_),ie(c)}}resolveInjectorInitializers(){const t=ie(this),n=Kt(void 0);try{const s=this.get($s.multi,xe,tt.Self);for(const c of s)c()}finally{ie(t),Kt(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(M(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new K(205,!1)}processProvider(t){let n=Mo(t=N(t))?t:N(t&&t.provide);const r=function F0(e){return kc(e)?Jo(void 0,e.useValue):Jo(mm(e),Ya)}(t);if(Mo(t)||!0!==t.multi)this.records.get(n);else{let s=this.records.get(n);s||(s=Jo(void 0,Ya,!0),s.factory=()=>Me(s.multi),this.records.set(n,s)),n=t,s.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Ya&&(n.value=P0,n.value=n.factory()),"object"==typeof n.value&&n.value&&function N0(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=N(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function jc(e){const t=Ee(e),n=null!==t?t.factory:he(e);if(null!==n)return n;if(e instanceof zn)throw new K(204,!1);if(e instanceof Function)return function R0(e){const t=e.length;if(t>0)throw Ns(t,"?"),new K(204,!1);const n=function dt(e){return e&&(e[Y]||e[Ie])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new K(204,!1)}function mm(e,t,n){let r;if(Mo(e)){const s=N(e);return he(s)||jc(s)}if(kc(e))r=()=>N(e.useValue);else if(function fm(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Me(e.deps||[]));else if(function hm(e){return!(!e||!e.useExisting)}(e))r=()=>Mt(N(e.useExisting));else{const s=N(e&&(e.useClass||e.provide));if(!function k0(e){return!!e.deps}(e))return he(s)||jc(s);r=()=>new s(...Me(e.deps))}return r}function Jo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Bc(e,t){for(const n of e)Array.isArray(n)?Bc(n,t):n&&z(n)?Bc(n.\u0275providers,t):t(n)}const pm=new zn("AppId",{providedIn:"root",factory:()=>j0}),j0="ng",gm=new zn("Platform Initializer"),Vc=new zn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),B0=new zn("Application Packages Root URL"),V0=new zn("AnimationModuleType"),H0=new zn("CSP nonce",{providedIn:"root",factory:()=>Zo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),_m=new zn("",{providedIn:"root",factory:()=>new Set});function U0(e){return e}function z0(){const e=new Ws;return"browser"===xt(Vc)&&(e.store=function $0(e,t){const n=e.getElementById(t+"-state");if(n?.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return{}}(Zo(),xt(pm))),e}let Ws=(()=>{class e{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=Fe({token:e,providedIn:"root",factory:z0});get(n,r){return void 0!==this.store[n]?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(const n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return e})();const Hc="h",Uc="b";var qo=function(e){return e.FirstChild="f",e.NextSibling="n",e}(qo||{});const zc="e",$c="t",Gs="c",Xa="x",es="r",Wc="i",Gc="n",Ja="d",Kc="__\u0275nghData__",Ks="ngh",vm="nghm";let bm=(e,t,n)=>null;function W0(e,t,n=!1){let r=e.getAttribute(Ks);if(null==r)return null;const[s,c]=r.split("|");if(r=n?c:s,!r)return null;const _=n?s:c?`|${c}`:"";let E={};if(""!==r){const P=t.get(Ws,null,{optional:!0});null!==P&&(E=P.get(Kc,[])[Number(r)])}const x={data:E,firstChild:e.firstChild??null};return n&&(x.firstChild=e,qa(x,0,e.nextSibling)),_?e.setAttribute(Ks,_):e.removeAttribute(Ks),x}function Yc(e,t,n=!1){return bm(e,t,n)}function ym(e){let t=e._lView;return 2===t[zt].type?null:(Vr(t)&&(t=t[Cn]),t)}function qa(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function Qc(e,t){return e.segmentHeads?.[t]??null}function Cm(e,t){return e.data[Gs]?.[t]??null}function Zc(e,t){const n=Cm(e,t)??[];let r=0;for(let s of n)r+=s[es]*(s[Xa]??1);return r}function el(e,t){if(typeof e.disconnectedNodes>"u"){const n=e.data[Ja];e.disconnectedNodes=n?new Set(n):null}return!!e.disconnectedNodes?.has(t)}class Em{}class tl{}class J0{resolveComponentFactory(t){throw function X0(e){const t=Error(`No component factory found for ${M(e)}.`);return t.ngComponent=e,t}(t)}}let Ys=(()=>{class e{static#e=this.NULL=new J0}return e})();function q0(){return ts(ki(),Rt())}function ts(e,t){return new Qs(sr(e,t))}let Qs=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=q0}return e})();function eC(e){return e instanceof Qs?e.nativeElement:e}class wm{}let tC=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function nC(){const e=Rt(),n=gr(ki().index,e);return(hi(n)?n:e)[rn]}()}return e})(),xm=(()=>{class e{static#e=this.\u0275prov=Fe({token:e,providedIn:"root",factory:()=>null})}return e})();class Mm{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Im=new Mm("16.2.7"),nl={};function iC(e,t){e instanceof Za&&e.assertNotDestroyed();const r=ie(e),s=Kt(void 0);try{return t()}finally{ie(r),Kt(s)}}function il(e){if(!Wt()&&!function A(){return L}())throw new K(-203,!1)}const Tm={\u0275\u0275defineInjectable:Fe,\u0275\u0275defineInjector:Ge,\u0275\u0275inject:Mt,\u0275\u0275invalidFactoryDep:Xe,resolveForwardRef:N};const oC=b({provide:String,useValue:b});function Sm(e){return void 0!==e.useClass}function Om(e){return void 0!==e.useFactory}const cC=Rs("Injectable",void 0,void 0,void 0,(e,t)=>function rC(e,t){let n=null,r=null;e.hasOwnProperty(Y)||Object.defineProperty(e,Y,{get:()=>(null===n&&(n=xi().compileInjectable(Tm,`ng:///${e.name}/\u0275prov.js`,function lC(e,t){const n=t||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn};return(Sm(n)||Om(n))&&void 0!==n.deps&&(r.deps=rf(n.deps)),Sm(n)?r.useClass=n.useClass:function sC(e){return oC in e}(n)?r.useValue=n.useValue:Om(n)?r.useFactory=n.useFactory:function aC(e){return void 0!==e.useExisting}(n)&&(r.useExisting=n.useExisting),r}(e,t))),n)}),e.hasOwnProperty(tn)||Object.defineProperty(e,tn,{get:()=>{if(null===r){const s=xi();r=s.compileFactory(Tm,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:Oa(e),target:s.FactoryTarget.Injectable})}return r},configurable:!0})}(e,t));function Xc(e,t=null,n=null,r){const s=Am(e,t,n,r);return s.resolveInjectorInitializers(),s}function Am(e,t=null,n=null,r,s=new Set){const c=[n||xe,cm(e)];return r=r||("object"==typeof e?void 0:M(e)),new Za(c,t||Qa(),r||null,s)}let Rr=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Ce;static#t=this.NULL=new Pc;static create(n,r){if(Array.isArray(n))return Xc({name:""},r,n,"");{const s=n.name??"";return Xc({name:s},n.parent,n.providers,s)}}static#n=this.\u0275prov=Fe({token:e,providedIn:"any",factory:()=>Mt(Ac)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function Jc(e){return e.ngOriginalError}class go{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Jc(t);for(;n&&Jc(n);)n=Jc(n);return n||null}}let Zs=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=uC;static#t=this.__NG_ENV_ID__=n=>n}return e})();class dC extends Zs{constructor(t){super(),this._lView=t}onDestroy(t){return hh(this._lView,t),()=>function Ob(e,t){if(null===e[$i])return;const n=e[$i].indexOf(t);-1!==n&&e[$i].splice(n,1)}(this._lView,t)}}function uC(){return new dC(Rt())}function qc(e){return t=>{setTimeout(e,void 0,t)}}const Kr=class hC extends i.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let s=t,c=n||(()=>null),_=r;if(t&&"object"==typeof t){const x=t;s=x.next?.bind(x),c=x.error?.bind(x),_=x.complete?.bind(x)}this.__isAsync&&(c=qc(c),s&&(s=qc(s)),_&&(_=qc(_)));const E=super.subscribe({next:s,error:c,complete:_});return t instanceof a.w0&&t.add(E),E}};function Rm(...e){}class Ti{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Kr(!1),this.onMicrotaskEmpty=new Kr(!1),this.onStable=new Kr(!1),this.onError=new Kr(!1),typeof Zone>"u")throw new K(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&n,s.shouldCoalesceRunChangeDetection=r,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function fC(){const e="function"==typeof at.requestAnimationFrame;let t=at[e?"requestAnimationFrame":"setTimeout"],n=at[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const s=n[Zone.__symbol__("OriginalDelegate")];s&&(n=s)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function gC(e){const t=()=>{!function pC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(at,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,td(e),e.isCheckStableRunning=!0,ed(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),td(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,c,_,E)=>{if(function _C(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(E))return n.invokeTask(s,c,_,E);try{return Fm(e),n.invokeTask(s,c,_,E)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===c.type||e.shouldCoalesceRunChangeDetection)&&t(),km(e)}},onInvoke:(n,r,s,c,_,E,x)=>{try{return Fm(e),n.invoke(s,c,_,E,x)}finally{e.shouldCoalesceRunChangeDetection&&t(),km(e)}},onHasTask:(n,r,s,c)=>{n.hasTask(s,c),r===s&&("microTask"==c.change?(e._hasPendingMicrotasks=c.microTask,td(e),ed(e)):"macroTask"==c.change&&(e.hasPendingMacrotasks=c.macroTask))},onHandleError:(n,r,s,c)=>(n.handleError(s,c),e.runOutsideAngular(()=>e.onError.emit(c)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ti.isInAngularZone())throw new K(909,!1)}static assertNotInAngularZone(){if(Ti.isInAngularZone())throw new K(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,s){const c=this._inner,_=c.scheduleEventTask("NgZoneEvent: "+s,t,mC,Rm,Rm);try{return c.runTask(_,n,r)}finally{c.cancelTask(_)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const mC={};function ed(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function td(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Fm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function km(e){e._nesting--,ed(e)}class Nm{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Kr,this.onMicrotaskEmpty=new Kr,this.onStable=new Kr,this.onError=new Kr}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,s){return t.apply(n,r)}}const Lm=new zn("",{providedIn:"root",factory:jm});function jm(){const e=xt(Ti);let t=!0;const n=new f.y(s=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{s.next(t),s.complete()})}),r=new f.y(s=>{let c;e.runOutsideAngular(()=>{c=e.onStable.subscribe(()=>{Ti.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,s.next(!0))})})});const _=e.onUnstable.subscribe(()=>{Ti.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{s.next(!1)}))});return()=>{c.unsubscribe(),_.unsubscribe()}});return(0,p.T)(n,r.pipe((0,g.B)()))}function Bm(e){return e.ownerDocument.defaultView}function Vm(e){return e.ownerDocument}function nd(e){return e.ownerDocument.body}function io(e){return e instanceof Function?e():e}function is(e){return"browser"===(e??xt(Rr)).get(Vc)}function Hm(e,t){!t&&il();const n=t?.injector??xt(Rr);if(!is(n))return{destroy(){}};let r;const s=n.get(Zs).onDestroy(()=>r?.()),c=n.get(rl),_=c.handler??=new $m,E=n.get(Ti),x=n.get(go,null,{optional:!0}),P=new zm(E,x,e);return r=()=>{_.unregister(P),s()},_.register(P),{destroy:r}}function Um(e,t){!t&&il();const n=t?.injector??xt(Rr);if(!is(n))return{destroy(){}};let r;const s=n.get(Zs).onDestroy(()=>r?.()),c=n.get(rl),_=c.handler??=new $m,E=n.get(Ti),x=n.get(go,null,{optional:!0}),P=new zm(E,x,()=>{r?.(),e()});return r=()=>{_.unregister(P),s()},_.register(P),{destroy:r}}class zm{constructor(t,n,r){this.zone=t,this.errorHandler=n,this.callbackFn=r}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class $m{constructor(){this.executingCallbacks=!1,this.callbacks=new Set,this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new K(102,!1)}register(t){(this.executingCallbacks?this.deferredCallbacks:this.callbacks).add(t)}unregister(t){this.callbacks.delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of this.callbacks)t.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.callbacks.add(t);this.deferredCallbacks.clear()}destroy(){this.callbacks.clear(),this.deferredCallbacks.clear()}}let rl=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=Fe({token:e,providedIn:"root",factory:()=>new e})}return e})();function Xs(e){for(;e;){e[dn]|=64;const t=Bs(e);if(Vr(e)&&!t)return e;e=t}return null}const Js=new zn(""),Gm=new zn("",{providedIn:"root",factory:()=>!1});let ol=null;function Zm(e,t){return e[t]??qm()}function Xm(e,t){const n=qm();n.producerNode?.length&&(e[t]=ol,n.lView=e,ol=Jm())}const DC={...Mn,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Xs(e.lView)},lView:null};function Jm(){return Object.create(DC)}function qm(){return ol??=Jm(),ol}const En={};function ep(e){tp(Ln(),Rt(),Ki()+e,!1)}function tp(e,t,n,r){if(!r)if(3==(3&t[dn])){const c=e.preOrderCheckHooks;null!==c&&ya(t,c,n)}else{const c=e.preOrderHooks;null!==c&&Ca(t,c,0,n)}yo(n)}function rs(e,t=tt.Default){const n=Rt();return null===n?Mt(e,t):Hh(ki(),n,N(e),t)}function np(){throw new Error("invalid")}function sl(e,t,n,r,s,c,_,E,x,P,Q){const De=t.blueprint.slice();return De[Bn]=s,De[dn]=140|r,(null!==P||e&&2048&e[dn])&&(De[dn]|=2048),ch(De),De[Nn]=De[zi]=e,De[Hn]=n,De[Ni]=_||e&&e[Ni],De[rn]=E||e&&e[rn],De[Qn]=x||e&&e[Qn]||null,De[oi]=c,De[ui]=function ky(){return Fy++}(),De[si]=Q,De[Ai]=P,De[Rn]=2==t.type?e[Rn]:De,De}function os(e,t,n,r,s){let c=e.data[t];if(null===c)c=id(e,t,n,r,s),function jb(){return mn.lFrame.inI18n}()&&(c.flags|=32);else if(64&c.type){c.type=n,c.value=r,c.attrs=s;const _=Ts();c.injectorIndex=null===_?-1:_.injectorIndex}return $r(c,!0),c}function id(e,t,n,r,s){const c=bh(),_=zl(),x=e.data[t]=function AC(e,t,n,r,s,c){let _=t?t.injectorIndex:-1,E=0;return Lo()&&(E|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:_,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:E,providerIndexes:0,value:s,attrs:c,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,_?c:c&&c.parent,n,t,r,s);return null===e.firstChild&&(e.firstChild=x),null!==c&&(_?null==c.child&&null!==x.parent&&(c.child=x):null===c.next&&(c.next=x,x.prev=c)),x}function qs(e,t,n,r){if(0===n)return-1;const s=t.length;for(let c=0;c<n;c++)t.push(r),e.blueprint.push(r),e.data.push(null);return s}function ip(e,t,n,r,s){const c=Zm(t,qn),_=Ki(),E=2&r;try{yo(-1),E&&t.length>Cn&&tp(e,t,Cn,!1),Ii(E?2:0,s);const P=E?c:null,Q=ni(P);try{null!==P&&(P.dirty=!1),n(r,s)}finally{vi(P,Q)}}finally{E&&null===t[qn]&&Xm(t,qn),yo(_),Ii(E?3:1,s)}}function rd(e,t,n){if(Br(t)){const r=Ut(null);try{const c=t.directiveEnd;for(let _=t.directiveStart;_<c;_++){const E=e.data[_];E.contentQueries&&E.contentQueries(1,n[_],_)}}finally{Ut(r)}}}function od(e,t,n){mh()&&(function jC(e,t,n,r){const s=n.directiveStart,c=n.directiveEnd;ir(n)&&function WC(e,t,n){const r=sr(t,e),s=rp(n);let _=16;n.signals?_=4096:n.onPush&&(_=64);const E=al(e,sl(e,s,null,_,r,t,null,e[Ni].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=E}(t,n,e.data[s+n.componentOffset]),e.firstCreatePass||Da(n,t),Vi(r,t);const _=n.initialInputs;for(let E=s;E<c;E++){const x=e.data[E],P=Co(t,e,E,n);Vi(P,t),null!==_&&GC(0,E-s,P,x,0,_),Di(x)&&(gr(n.index,t)[Hn]=Co(t,e,E,n))}}(e,t,n,sr(n,t)),64==(64&n.flags)&&cp(e,t,n))}function sd(e,t,n=sr){const r=t.localNames;if(null!==r){let s=t.index+1;for(let c=0;c<r.length;c+=2){const _=r[c+1],E=-1===_?n(t,e):e[_];e[s++]=E}}}function rp(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=ad(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ad(e,t,n,r,s,c,_,E,x,P,Q){const De=Cn+r,Je=De+s,ut=function xC(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:En);return n}(De,Je),It="function"==typeof P?P():P;return ut[zt]={type:e,blueprint:ut,template:n,queries:null,viewQuery:E,declTNode:t,data:ut.slice().fill(null,De),bindingStartIndex:De,expandoStartIndex:Je,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof c?c():c,pipeRegistry:"function"==typeof _?_():_,firstChild:null,schemas:x,consts:It,incompleteFirstPass:!1,ssrId:Q}}let op=e=>null;function TC(e){_f(e)?Vf(e):function Y0(e){const t=Zo(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(c){const _=function K0(e){return e.textContent?.replace(/\s/gm,"")}(c);return"ngetn"===_||"ngtns"===_?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let r;const s=[];for(;r=n.nextNode();)s.push(r);for(const c of s)"ngetn"===c.textContent?c.replaceWith(t.createTextNode("")):c.remove()}(e)}function sp(e,t,n,r){for(let s in e)if(e.hasOwnProperty(s)){n=null===n?{}:n;const c=e[s];null===r?ap(n,t,s,c):r.hasOwnProperty(s)&&ap(n,t,r[s],c)}return n}function ap(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function vr(e,t,n,r,s,c,_,E){const x=sr(t,n);let Q,P=t.inputs;!E&&null!=P&&(Q=P[r])?(hd(e,n,Q,r,s),ir(t)&&function FC(e,t){const n=gr(t,e);16&n[dn]||(n[dn]|=64)}(n,t.index)):3&t.type&&(r=function RC(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),s=null!=_?_(s,t.value||"",r):s,c.setProperty(x,r,s))}function ld(e,t,n,r){if(mh()){const s=null===r?null:{"":-1},c=function VC(e,t){const n=e.directiveRegistry;let r=null,s=null;if(n)for(let c=0;c<n.length;c++){const _=n[c];if(Pe(t,_.selectors,!1))if(r||(r=[]),Di(_))if(null!==_.findHostDirectiveDefs){const E=[];s=s||new Map,_.findHostDirectiveDefs(_,E,s),r.unshift(...E,_),cd(e,t,E.length)}else r.unshift(_),cd(e,t,0);else s=s||new Map,_.findHostDirectiveDefs?.(_,r,s),r.push(_)}return null===r?null:[r,s]}(e,n);let _,E;null===c?_=E=null:[_,E]=c,null!==_&&lp(e,t,n,_,s,E),s&&function HC(e,t,n){if(t){const r=e.localNames=[];for(let s=0;s<t.length;s+=2){const c=n[t[s+1]];if(null==c)throw new K(-301,!1);r.push(t[s],c)}}}(n,r,s)}n.mergedAttrs=Pn(n.mergedAttrs,n.attrs)}function lp(e,t,n,r,s,c){for(let P=0;P<r.length;P++)tc(Da(n,t),e,r[P].type);!function zC(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let P=0;P<r.length;P++){const Q=r[P];Q.providersResolver&&Q.providersResolver(Q)}let _=!1,E=!1,x=qs(e,t,r.length,null);for(let P=0;P<r.length;P++){const Q=r[P];n.mergedAttrs=Pn(n.mergedAttrs,Q.hostAttrs),$C(e,n,t,x,Q),UC(x,Q,s),null!==Q.contentQueries&&(n.flags|=4),(null!==Q.hostBindings||null!==Q.hostAttrs||0!==Q.hostVars)&&(n.flags|=64);const De=Q.type.prototype;!_&&(De.ngOnChanges||De.ngOnInit||De.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),_=!0),!E&&(De.ngOnChanges||De.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),E=!0),x++}!function PC(e,t,n){const s=t.directiveEnd,c=e.data,_=t.attrs,E=[];let x=null,P=null;for(let Q=t.directiveStart;Q<s;Q++){const De=c[Q],Je=n?n.get(De):null,It=Je?Je.outputs:null;x=sp(De.inputs,Q,x,Je?Je.inputs:null),P=sp(De.outputs,Q,P,It);const jt=null===x||null===_||U(t)?null:KC(x,Q,_);E.push(jt)}null!==x&&(x.hasOwnProperty("class")&&(t.flags|=8),x.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=E,t.inputs=x,t.outputs=P}(e,n,c)}function cp(e,t,n){const r=n.directiveStart,s=n.directiveEnd,c=n.index,_=function Vb(){return mn.lFrame.currentDirectiveIndex}();try{yo(c);for(let E=r;E<s;E++){const x=e.data[E],P=t[E];Wl(E),(null!==x.hostBindings||0!==x.hostVars||null!==x.hostAttrs)&&BC(x,P)}}finally{yo(-1),Wl(_)}}function BC(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function cd(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function UC(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Di(t)&&(n[""]=e)}}function $C(e,t,n,r,s){e.data[r]=s;const c=s.factory||(s.factory=he(s.type)),_=new Ss(c,Di(s),rs);e.blueprint[r]=_,n[r]=_,function NC(e,t,n,r,s){const c=s.hostBindings;if(c){let _=e.hostBindingOpCodes;null===_&&(_=e.hostBindingOpCodes=[]);const E=~t.index;(function LC(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(_)!=E&&_.push(E),_.push(n,r,c)}}(e,t,r,qs(e,n,s.hostVars,En),s)}function Yr(e,t,n,r,s,c){const _=sr(e,t);dd(t[rn],_,c,e.value,n,r,s)}function dd(e,t,n,r,s,c,_){if(null==c)e.removeAttribute(t,s,n);else{const E=null==_?ae(c):_(c,r||"",s);e.setAttribute(t,s,E,n)}}function GC(e,t,n,r,s,c){const _=c[t];if(null!==_)for(let E=0;E<_.length;)dp(r,n,_[E++],_[E++],_[E++])}function dp(e,t,n,r,s){const c=Ut(null);try{const _=e.inputTransforms;null!==_&&_.hasOwnProperty(r)&&(s=_[r].call(t,s)),null!==e.setInput?e.setInput(t,s,n,r):t[r]=s}finally{Ut(c)}}function KC(e,t,n){let r=null,s=0;for(;s<n.length;){const c=n[s];if(0!==c)if(5!==c){if("number"==typeof c)break;if(e.hasOwnProperty(c)){null===r&&(r=[]);const _=e[c];for(let E=0;E<_.length;E+=2)if(_[E]===t){r.push(c,_[E+1],n[s+1]);break}}s+=2}else s+=2;else s+=4}return r}function up(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null,null]}function hp(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const c=n[r+1];if(-1!==c){const _=e.data[c];Kl(n[r]),_.contentQueries(2,t[c],c)}}}function al(e,t){return e[Li]?e[br][pi]=t:e[Li]=t,e[br]=t,t}function ud(e,t,n){Kl(0);const r=Ut(null);try{t(e,n)}finally{Ut(r)}}function fp(e){return e[Ui]||(e[Ui]=[])}function mp(e){return e.cleanup||(e.cleanup=[])}function pp(e,t,n){return(null===e||Di(e))&&(n=Ul(n[t.index])),n[rn]}function gp(e,t){const n=e[Qn],r=n?n.get(go,null):null;r&&r.handleError(t)}function hd(e,t,n,r,s){for(let c=0;c<n.length;){const _=n[c++],E=n[c++];dp(e.data[_],t[_],r,E,s)}}function ro(e,t,n){const r=_a(t,e);Of(e[rn],r,n)}function YC(e,t){const n=gr(t,e),r=n[zt];!function QC(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const s=n[Bn];null!==s&&null===n[si]&&(n[si]=Yc(s,n[Qn])),fd(r,n,n[Hn])}function fd(e,t,n){Yl(t);try{const r=e.viewQuery;null!==r&&ud(1,r,n);const s=e.template;null!==s&&ip(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&hp(e,t),e.staticViewQueries&&ud(2,e.viewQuery,n);const c=e.components;null!==c&&function ZC(e,t){for(let n=0;n<t.length;n++)YC(e,t[n])}(t,c)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[dn]&=-5,Ql()}}let _p=(()=>{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,s){const c=typeof Zone>"u"?null:Zone.current,_=function Et(e,t,n){const r=Object.create($n);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const s=_=>{r.cleanupFn=_};return r.ref={notify:()=>ci(r),run:()=>{if(r.dirty=!1,r.hasRun&&!bi(r))return;r.hasRun=!0;const _=ni(r);try{r.cleanupFn(),r.cleanupFn=Xt,r.fn(s)}finally{vi(r,_)}},cleanup:()=>r.cleanupFn()},r.ref}(n,P=>{this.all.has(P)&&this.queue.set(P,c)},s);let E;this.all.add(_),_.notify();const x=()=>{_.cleanup(),E?.(),this.all.delete(_),this.queue.delete(_)};return E=r?.onDestroy(x),{destroy:x}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=Fe({token:e,providedIn:"root",factory:()=>new e})}return e})();function vp(e,t){!t?.injector&&il();const n=t?.injector??xt(Rr),r=n.get(_p),s=!0!==t?.manualCleanup?n.get(Zs):null;return r.create(e,s,!!t?.allowSignalWrites)}function ll(e,t,n){let r=n?e.styles:null,s=n?e.classes:null,c=0;if(null!==t)for(let _=0;_<t.length;_++){const E=t[_];"number"==typeof E?c=E:1==c?s=S(s,E):2==c&&(r=S(r,E+": "+t[++_]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}function ea(e,t,n,r,s=!1){for(;null!==n;){const c=t[n.index];null!==c&&r.push(ei(c)),li(c)&&bp(c,r);const _=n.type;if(8&_)ea(e,t,n.child,r);else if(32&_){const E=pc(n,t);let x;for(;x=E();)r.push(x)}else if(16&_){const E=Bf(t,n);if(Array.isArray(E))r.push(...E);else{const x=Bs(t[Rn]);ea(x[zt],x,E,r,!0)}}n=s?n.projectionNext:n.next}return r}function bp(e,t){for(let n=ai;n<e.length;n++){const r=e[n],s=r[zt].firstChild;null!==s&&ea(r[zt],r,s,t)}e[_i]!==e[Bn]&&t.push(e[_i])}function cl(e,t,n,r=!0){const s=t[Ni],c=s.rendererFactory,_=s.afterRenderEventManager;c.begin?.(),_?.begin();try{Cp(e,t,e.template,n)}catch(x){throw r&&gp(t,x),x}finally{c.end?.(),s.effectManager?.flush(),_?.end()}}function yp(e){const t=Cf(e);cl(t[zt],t,e)}function Cp(e,t,n,r){const s=t[dn];if(256!=(256&s)){t[Ni].effectManager?.flush(),Yl(t);try{ch(t),Ch(e.bindingStartIndex),null!==n&&ip(e,t,n,2,r);const _=3==(3&s);if(_){const P=e.preOrderCheckHooks;null!==P&&ya(t,P,null)}else{const P=e.preOrderHooks;null!==P&&Ca(t,P,0,null),Zl(t,0)}if(function XC(e){for(let t=If(e);null!==t;t=Tf(t)){if(!t[Cr])continue;const n=t[nr];for(let r=0;r<n.length;r++){Sb(n[r])}}}(t),Ep(t,2),null!==e.contentQueries&&hp(e,t),_){const P=e.contentCheckHooks;null!==P&&ya(t,P)}else{const P=e.contentHooks;null!==P&&Ca(t,P,1),Zl(t,1)}!function wC(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const r=Zm(t,Pi);try{for(let s=0;s<n.length;s++){const c=n[s];if(c<0)yo(~c);else{const _=c,E=n[++s],x=n[++s];Bb(E,_),r.dirty=!1;const P=ni(r);try{x(2,t[_])}finally{vi(r,P)}}}}finally{null===t[Pi]&&Xm(t,Pi),yo(-1)}}(e,t);const E=e.components;null!==E&&wp(t,E,0);const x=e.viewQuery;if(null!==x&&ud(2,x,r),_){const P=e.viewCheckHooks;null!==P&&ya(t,P)}else{const P=e.viewHooks;null!==P&&Ca(t,P,2),Zl(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[dn]&=-73,dh(t)}finally{Ql()}}}function Ep(e,t){for(let n=If(e);null!==n;n=Tf(n))for(let r=ai;r<n.length;r++)Dp(n[r],t)}function JC(e,t,n){Dp(gr(t,e),n)}function Dp(e,t){if(!function Ib(e){return 128==(128&e[dn])}(e))return;const n=e[zt],r=e[dn];if(80&r&&0===t||1024&r||2===t)Cp(n,e,n.template,e[Hn]);else if(e[Oi]>0){Ep(e,1);const s=n.components;null!==s&&wp(e,s,1)}}function wp(e,t,n){for(let r=0;r<t.length;r++)JC(e,t[r],n)}class ss{get rootNodes(){const t=this._lView,n=t[zt];return ea(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Hn]}set context(t){this._lView[Hn]=t}get destroyed(){return 256==(256&this._lView[dn])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Nn];if(li(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Ba(t,r),Ma(n,r))}this._attachedToViewContainer=!1}_c(this._lView[zt],this._lView)}onDestroy(t){hh(this._lView,t)}markForCheck(){Xs(this._cdRefInjectingView||this._lView)}detach(){this._lView[dn]&=-129}reattach(){this._lView[dn]|=128}detectChanges(){cl(this._lView[zt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new K(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Yy(e,t){Hs(e,t,t[rn],2,null,null)}(this._lView[zt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new K(902,!1);this._appRef=t}}class qC extends ss{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;cl(t[zt],t,t[Hn],!1)}checkNoChanges(){}get context(){return null}}class xp extends Ys{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=wn(t);return new as(n,this.ngModule)}}function Mp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class tE{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=de(r);const s=this.injector.get(t,nl,r);return s!==nl||n===nl?s:this.parentInjector.get(t,n,r)}}class as extends tl{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Mp(t.inputs);if(null!==n)for(const s of r)n.hasOwnProperty(s.propName)&&(s.transform=n[s.propName]);return r}get outputs(){return Mp(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function ii(e){return e.map(Kn).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,s){let c=(s=s||this.ngModule)instanceof Gr?s:s?.injector;c&&null!==this.componentDef.getStandaloneInjector&&(c=this.componentDef.getStandaloneInjector(c)||c);const _=c?new tE(t,c):t,E=_.get(wm,null);if(null===E)throw new K(407,!1);const De={rendererFactory:E,sanitizer:_.get(xm,null),effectManager:_.get(_p,null),afterRenderEventManager:_.get(rl,null)},Je=E.createRenderer(null,this.componentDef),ut=this.componentDef.selectors[0][0]||"div",It=r?function MC(e,t,n,r){const c=r.get(Gm,!1)||n===Ue.ShadowDom,_=e.selectRootElement(t,c);return function IC(e){op(e)}(_),_}(Je,r,this.componentDef.encapsulation,_):ja(Je,ut,function eE(e){const t=e.toLowerCase();return"svg"===t?Jr:"math"===t?ah:null}(ut)),on=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let St=null;null!==It&&(St=Yc(It,_,!0));const _n=ad(0,null,null,1,0,null,null,null,null,null,null),On=sl(null,_n,null,on,null,null,De,Je,_,null,St);let Gn,lr;Yl(On);try{const oo=this.componentDef;let Ds,sh=null;oo.findHostDirectiveDefs?(Ds=[],sh=new Map,oo.findHostDirectiveDefs(oo,Ds,sh),Ds.push(oo)):Ds=[oo];const UM=function nE(e,t){const n=e[zt],r=Cn;return e[r]=t,os(n,r,2,"#host",null)}(On,It),zM=function iE(e,t,n,r,s,c,_){const E=s[zt];!function rE(e,t,n,r){for(const s of e)t.mergedAttrs=Pn(t.mergedAttrs,s.hostAttrs);null!==t.mergedAttrs&&(ll(t,t.mergedAttrs,!0),null!==n&&zf(r,n,t))}(r,e,t,_);let x=null;null!==t&&(x=Yc(t,s[Qn]));const P=c.rendererFactory.createRenderer(t,n);let Q=16;n.signals?Q=4096:n.onPush&&(Q=64);const De=sl(s,rp(n),null,Q,s[e.index],e,c,P,null,null,x);return E.firstCreatePass&&cd(E,e,r.length-1),al(s,De),s[e.index]=De}(UM,It,oo,Ds,On,De,Je);lr=lh(_n,Cn),It&&function sE(e,t,n,r){if(r)An(e,n,["ng-version",Im.full]);else{const{attrs:s,classes:c}=function Si(e){const t=[],n=[];let r=1,s=2;for(;r<e.length;){let c=e[r];if("string"==typeof c)2===s?""!==c&&t.push(c,e[++r]):8===s&&n.push(c);else{if(!$e(s))break;s=c}r++}return{attrs:t,classes:n}}(t.selectors[0]);s&&An(e,n,s),c&&c.length>0&&Uf(e,n,c.join(" "))}}(Je,oo,It,r),void 0!==n&&function aE(e,t,n){const r=e.projection=[];for(let s=0;s<t.length;s++){const c=n[s];r.push(null!=c?Array.from(c):null)}}(lr,this.ngContentSelectors,n),Gn=function oE(e,t,n,r,s,c){const _=ki(),E=s[zt],x=sr(_,s);lp(E,s,_,n,null,r);for(let Q=0;Q<n.length;Q++)Vi(Co(s,E,_.directiveStart+Q,_),s);cp(E,s,_),x&&Vi(x,s);const P=Co(s,E,_.directiveStart+_.componentOffset,_);if(e[Hn]=s[Hn]=P,null!==c)for(const Q of c)Q(P,t);return rd(E,_,e),P}(zM,oo,Ds,sh,On,[Tp]),fd(_n,On,null)}finally{Ql()}return new Ip(this.componentType,Gn,ts(lr,On),On,lr)}}class Ip extends Em{constructor(t,n,r,s,c){super(),this.location=r,this._rootLView=s,this._tNode=c,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new qC(s),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let s;if(null!==r&&(s=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const c=this._rootLView;hd(c[zt],c,s,t,n),this.previousInputValues.set(t,n),Xs(gr(this._tNode.index,c))}}get injector(){return new Yi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Tp(){const e=ki();ba(Rt()[zt],e)}function Sp(e){return Object.getPrototypeOf(e.prototype).constructor}function md(e){let t=Sp(e.type),n=!0;const r=[e];for(;t;){let s;if(Di(e))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new K(903,!1);s=t.\u0275dir}if(s){if(n){r.push(s);const _=e;_.inputs=dl(e.inputs),_.inputTransforms=dl(e.inputTransforms),_.declaredInputs=dl(e.declaredInputs),_.outputs=dl(e.outputs);const E=s.hostBindings;E&&uE(e,E);const x=s.viewQuery,P=s.contentQueries;if(x&&cE(e,x),P&&dE(e,P),C(e.inputs,s.inputs),C(e.declaredInputs,s.declaredInputs),C(e.outputs,s.outputs),null!==s.inputTransforms&&(null===_.inputTransforms&&(_.inputTransforms={}),C(_.inputTransforms,s.inputTransforms)),Di(s)&&s.data.animation){const Q=e.data;Q.animation=(Q.animation||[]).concat(s.data.animation)}}const c=s.features;if(c)for(let _=0;_<c.length;_++){const E=c[_];E&&E.ngInherit&&E(e),E===md&&(n=!1)}}t=Object.getPrototypeOf(t)}!function lE(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const s=e[r];s.hostVars=t+=s.hostVars,s.hostAttrs=Pn(s.hostAttrs,n=Pn(n,s.hostAttrs))}}(r)}function dl(e){return e===Re?{}:e===xe?[]:e}function cE(e,t){const n=e.viewQuery;e.viewQuery=n?(r,s)=>{t(r,s),n(r,s)}:t}function dE(e,t){const n=e.contentQueries;e.contentQueries=n?(r,s,c)=>{t(r,s,c),n(r,s,c)}:t}function uE(e,t){const n=e.hostBindings;e.hostBindings=n?(r,s)=>{t(r,s),n(r,s)}:t}const hE=["providersResolver"],fE=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Op(e){let n,t=Sp(e.type);n=Di(e)?t.\u0275cmp:t.\u0275dir;const r=e;for(const s of hE)r[s]=n[s];if(Di(n))for(const s of fE)r[s]=n[s]}function Ap(e){return t=>{t.findHostDirectiveDefs=Pp,t.hostDirectives=(Array.isArray(e)?e:e()).map(n=>"function"==typeof n?{directive:N(n),inputs:Re,outputs:Re}:{directive:N(n.directive),inputs:Rp(n.inputs),outputs:Rp(n.outputs)})}}function Pp(e,t,n){if(null!==e.hostDirectives)for(const r of e.hostDirectives){const s=Zn(r.directive);mE(s.declaredInputs,r.inputs),Pp(s,t,n),n.set(s,r),t.push(s)}}function Rp(e){if(void 0===e||0===e.length)return Re;const t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function mE(e,t){for(const n in t)t.hasOwnProperty(n)&&(e[t[n]]=e[n])}function kp(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const s=t[r];Array.isArray(s)&&s[2]&&(n[r]=s[2])}e.inputTransforms=n}function ul(e){return!!pd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function pd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Np(e,t){const n=ul(e),r=ul(t);return n&&r?function pE(e,t,n){const r=e[Symbol.iterator](),s=t[Symbol.iterator]();for(;;){const c=r.next(),_=s.next();if(c.done&&_.done)return!0;if(c.done||_.done||!n(c.value,_.value))return!1}}(e,t,Np):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||Object.is(e,t)}function Qr(e,t,n){return e[t]=n}function ta(e,t){return e[t]}function Hi(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Io(e,t,n,r){const s=Hi(e,t,n);return Hi(e,t+1,r)||s}function hl(e,t,n,r,s){const c=Io(e,t,n,r);return Hi(e,t+2,s)||c}function Ir(e,t,n,r,s,c){const _=Io(e,t,n,r);return Io(e,t+2,s,c)||_}function gd(e,t,n,r){const s=Rt();return Hi(s,jo(),t)&&(Ln(),Yr(mi(),s,e,t,n,r)),gd}function ls(e,t){let n=!1,r=qr();for(let c=1;c<t.length;c+=2)n=Hi(e,r++,t[c])||n;if(Ch(r),!n)return En;let s=t[0];for(let c=1;c<t.length;c+=2)s+=ae(t[c])+t[c+1];return s}function cs(e,t,n,r){return Hi(e,jo(),n)?t+ae(n)+r:En}function ds(e,t,n,r,s,c){const E=Io(e,qr(),n,s);return eo(2),E?t+ae(n)+r+ae(s)+c:En}function us(e,t,n,r,s,c,_,E){const P=hl(e,qr(),n,s,_);return eo(3),P?t+ae(n)+r+ae(s)+c+ae(_)+E:En}function hs(e,t,n,r,s,c,_,E,x,P){const De=Ir(e,qr(),n,s,_,x);return eo(4),De?t+ae(n)+r+ae(s)+c+ae(_)+E+ae(x)+P:En}function fs(e,t,n,r,s,c,_,E,x,P,Q,De){const Je=qr();let ut=Ir(e,Je,n,s,_,x);return ut=Hi(e,Je+4,Q)||ut,eo(5),ut?t+ae(n)+r+ae(s)+c+ae(_)+E+ae(x)+P+ae(Q)+De:En}function ms(e,t,n,r,s,c,_,E,x,P,Q,De,Je,ut){const It=qr();let jt=Ir(e,It,n,s,_,x);return jt=Io(e,It+4,Q,Je)||jt,eo(6),jt?t+ae(n)+r+ae(s)+c+ae(_)+E+ae(x)+P+ae(Q)+De+ae(Je)+ut:En}function ps(e,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It,jt){const Yt=qr();let on=Ir(e,Yt,n,s,_,x);return on=hl(e,Yt+4,Q,Je,It)||on,eo(7),on?t+ae(n)+r+ae(s)+c+ae(_)+E+ae(x)+P+ae(Q)+De+ae(Je)+ut+ae(It)+jt:En}function gs(e,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It,jt,Yt,on){const St=qr();let _n=Ir(e,St,n,s,_,x);return _n=Ir(e,St+4,Q,Je,It,Yt)||_n,eo(8),_n?t+ae(n)+r+ae(s)+c+ae(_)+E+ae(x)+P+ae(Q)+De+ae(Je)+ut+ae(It)+jt+ae(Yt)+on:En}function _d(e,t,n,r,s,c){const _=Rt(),E=cs(_,t,n,r);return E!==En&&Yr(mi(),_,e,E,s,c),_d}function vd(e,t,n,r,s,c,_,E){const x=Rt(),P=ds(x,t,n,r,s,c);return P!==En&&Yr(mi(),x,e,P,_,E),vd}function bd(e,t,n,r,s,c,_,E,x,P){const Q=Rt(),De=us(Q,t,n,r,s,c,_,E);return De!==En&&Yr(mi(),Q,e,De,x,P),bd}function yd(e,t,n,r,s,c,_,E,x,P,Q,De){const Je=Rt(),ut=hs(Je,t,n,r,s,c,_,E,x,P);return ut!==En&&Yr(mi(),Je,e,ut,Q,De),yd}function Cd(e,t,n,r,s,c,_,E,x,P,Q,De,Je,ut){const It=Rt(),jt=fs(It,t,n,r,s,c,_,E,x,P,Q,De);return jt!==En&&Yr(mi(),It,e,jt,Je,ut),Cd}function Ed(e,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It,jt){const Yt=Rt(),on=ms(Yt,t,n,r,s,c,_,E,x,P,Q,De,Je,ut);return on!==En&&Yr(mi(),Yt,e,on,It,jt),Ed}function Dd(e,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It,jt,Yt,on){const St=Rt(),_n=ps(St,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It,jt);return _n!==En&&Yr(mi(),St,e,_n,Yt,on),Dd}function wd(e,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It,jt,Yt,on,St,_n){const On=Rt(),Gn=gs(On,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It,jt,Yt,on);return Gn!==En&&Yr(mi(),On,e,Gn,St,_n),wd}function xd(e,t,n,r){const s=Rt(),c=ls(s,t);return c!==En&&Yr(mi(),s,e,c,n,r),xd}const Md="<-- AT THIS LOCATION";function yE(e){const r=`During serialization, Angular detected DOM nodes that were created outside of Angular context and provided as projectable nodes (likely via \`ViewContainerRef.createComponent\` or \`createComponent\` APIs). Hydration is not supported for such cases, consider refactoring the code to avoid this pattern or using \`ngSkipHydration\` on the host element of the component.\n\n${function fl(e){const t=" ";let n="";const r=e;return r.previousSibling&&(n+=" \u2026\n",n+=t+na(r.previousSibling)+"\n"),n+=t+na(r)+` ${Md}\n`,e.nextSibling&&(n+=" \u2026\n"),e.parentNode&&(n=na(r.parentNode,"\n"+n)),n}(e)}\n\nNote: attributes are only displayed to better represent the DOM but have no effect on hydration mismatches.\n\n`;return new K(-503,r)}const EE=new Set(["ngh","ng-version","ng-server-context"]);function Id(e,t="\u2026"){switch(e.type){case 1:return"#text"+(e.value?`(${e.value})`:"");case 2:const r=function CE(e){const t=[];if(e.attrs)for(let n=0;n<e.attrs.length;){const r=e.attrs[n++];if("number"==typeof r)break;const s=e.attrs[n++];t.push(`${r}="${ra(s)}"`)}return t.join(" ")}(e),s=e.value.toLowerCase();return`<${s}${r?" "+r:""}>${t}</${s}>`;case 8:return"\x3c!-- ng-container --\x3e";case 4:return"\x3c!-- container --\x3e";default:return`#node(${function _E(e){switch(e){case 4:return"view container";case 2:return"element";case 8:return"ng-container";case 32:return"icu";case 64:return"i18n";case 16:return"projection";case 1:return"text";default:return"<unknown>"}}(e.type)})`}}function na(e,t="\u2026"){const n=e;switch(n.nodeType){case Node.ELEMENT_NODE:const r=n.tagName.toLowerCase(),s=function DE(e){const t=[];for(let n=0;n<e.attributes.length;n++){const r=e.attributes[n];EE.has(r.name)||t.push(`${r.name}="${ra(r.value)}"`)}return t.join(" ")}(n);return`<${r}${s?" "+s:""}>${t}</${r}>`;case Node.TEXT_NODE:const c=n.textContent?ra(n.textContent):"";return"#text"+(c?`(${c})`:"");case Node.COMMENT_NODE:return`\x3c!-- ${ra(n.textContent??"")} --\x3e`;default:return`#node(${n.nodeType})`}}function ra(e,t=50){return e?(e=function wE(e){return e.replace(/\s+/gm,"")}(e)).length>t?`${e.substring(0,t-1)}\u2026`:e:""}const xE=new RegExp(`^(\\d+)*(${Uc}|${Hc})*(.*)`);function Sd(e){return e.index-Cn}function ml(e,t,n,r){let s=null;const c=Sd(r),_=e.data[Gc];if(_?.[c])s=function OE(e,t){const[n,...r]=function IE(e){const t=e.match(xE),[n,r,s,c]=t,_=r?parseInt(r,10):s,E=[];for(const[x,P,Q]of c.matchAll(/(f|n)(\d*)/g)){const De=parseInt(Q,10)||1;E.push(P,De)}return[_,...E]}(e);let s;return s=n===Hc?t[Rn][Bn]:n===Uc?nd(t[Rn][Bn]):ei(t[Number(n)+Cn]),function SE(e,t){let n=e;for(let r=0;r<t.length;r+=2){const s=t[r],c=t[r+1];for(let _=0;_<c;_++)switch(s){case qo.FirstChild:n=n.firstChild;break;case qo.NextSibling:n=n.nextSibling}}return n}(s,r)}(_[c],n);else if(t.firstChild===r)s=e.firstChild;else{const E=null===r.prev,x=r.prev??r.parent;if(function TE(e){return!e.prev&&8===e.parent?.type}(r))s=Qc(e,Sd(r.parent));else{let P=sr(x,n);if(E)s=P.firstChild;else{const Q=Sd(x),De=Qc(e,Q);s=2===x.type&&De?pl(Zc(e,Q)+1,De):P.nextSibling}}}return s}function pl(e,t){let n=t;for(let r=0;r<e;r++)n=n.nextSibling;return n}function Od(e,t){if(e===t)return[];if(null==e.parentElement||null==t.parentElement)return null;if(e.parentElement===t.parentElement)return function AE(e,t){const n=[];let r=null;for(r=e;null!=r&&r!==t;r=r.nextSibling)n.push(qo.NextSibling);return null==r?null:n}(e,t);{const n=t.parentElement,r=Od(e,n),s=Od(n.firstChild,t);return r&&s?[...r,qo.FirstChild,...s]:null}}function Bp(e,t,n){const r=Od(e,t);return null===r?null:function ME(e,t){const n=[e];for(const r of t){const s=n.length-1;s>0&&n[s-1]===r?n[s]=(n[s]||1)+1:n.push(r,"")}return n.join("")}(n,r)}function PE(e,t){const n=e.parent;let r,s,c;null!==n&&3&n.type?(r=n.index,s=ei(t[r]),c=ae(r-Cn)):(r=c=Hc,s=t[Rn][Bn]);let _=ei(t[e.index]);if(12&e.type){const x=Vs(t,e);x&&(_=x)}let E=Bp(s,_,c);if(null===E&&s!==_&&(E=Bp(s.ownerDocument.body,_,Uc),null===E))throw function bE(e,t){const r=`${function Td(e,t,n){const r=" ";let s="";t.prev?(s+=" \u2026\n",s+=r+Id(t.prev)+"\n"):t.type&&12&t.type&&(s+=" \u2026\n"),n?(s+=r+Id(t)+"\n",s+=r+`\x3c!-- container --\x3e ${Md}\n`):s+=r+Id(t)+` ${Md}\n`,s+=" \u2026\n";const c=t.type?bc(e[zt],t,e):null;return c&&(s=na(c,"\n"+s)),s}(e,t,!1)}\n\n`,s=function ia(e){return`To fix this problem:\n * check ${e?`the "${e}"`:"corresponding"} component for hydration-related issues\n * check to see if your template has valid HTML structure\n * or skip hydration by adding the \`ngSkipHydration\` attribute to its host node in a template\n\n`}();throw new K(-502,"During serialization, Angular was unable to find an element in the DOM:\n\n"+r+s)}(t,e);return E}function Vp(e,t,n,r,s,c,_,E){const x=Rt(),P=Ln(),Q=e+Cn,De=P.firstCreatePass?function RE(e,t,n,r,s,c,_,E,x){const P=t.consts,Q=os(t,e,4,_||null,fo(P,E));ld(t,n,Q,fo(P,x)),ba(t,Q);const De=Q.tView=ad(2,Q,r,s,c,t.directiveRegistry,t.pipeRegistry,null,t.schemas,P,null);return null!==t.queries&&(t.queries.template(t,Q),De.queries=t.queries.embeddedTView(Q)),Q}(Q,P,x,t,n,r,s,c,_):P.data[Q];$r(De,!1);const Je=Hp(P,x,De,e);va()&&Ha(P,x,Je,De),Vi(Je,x),al(x,x[Q]=up(Je,x,Je,De)),Er(De)&&od(P,x,De),null!=_&&sd(x,De,E)}let Hp=Up;function Up(e,t,n,r){return mo(!0),t[rn].createComment("")}function FE(e,t,n,r){const s=t[si],c=!s||Lo()||el(s,r);if(mo(c),c)return Up(0,t);const _=s.data[$c]?.[r]??null;null!==_&&null!==n.tView&&null===n.tView.ssrId&&(n.tView.ssrId=_);const E=ml(s,e,t,n);return qa(s,r,E),pl(Zc(s,r),E)}function zp(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function $p(e){return No(function Lb(){return mn.lFrame.contextLView}(),Cn+e)}function Ad(e,t,n){const r=Rt();return Hi(r,jo(),t)&&vr(Ln(),mi(),r,e,t,r[rn],n,!1),Ad}function Pd(e,t,n,r,s){const _=s?"class":"style";hd(e,n,t.inputs[_],_,r)}function gl(e,t,n,r){const s=Rt(),c=Ln(),_=Cn+e,E=s[rn],x=c.firstCreatePass?function NE(e,t,n,r,s,c){const _=t.consts,x=os(t,e,2,r,fo(_,s));return ld(t,n,x,fo(_,c)),null!==x.attrs&&ll(x,x.attrs,!1),null!==x.mergedAttrs&&ll(x,x.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,x),x}(_,c,s,t,n,r):c.data[_],P=Wp(c,s,x,E,t,e);s[_]=P;const Q=Er(x);return $r(x,!0),zf(E,P,x),32!=(32&x.flags)&&va()&&Ha(c,s,P,x),0===function Ab(){return mn.lFrame.elementDepthCount}()&&Vi(P,s),function Pb(){mn.lFrame.elementDepthCount++}(),Q&&(od(c,s,x),rd(c,x,s)),null!==r&&sd(s,x),gl}function _l(){let e=ki();zl()?$l():(e=e.parent,$r(e,!1));const t=e;(function Fb(e){return mn.skipHydrationRootTNode===e})(t)&&function Nb(){mn.skipHydrationRootTNode=null}(),function Rb(){mn.lFrame.elementDepthCount--}();const n=Ln();return n.firstCreatePass&&(ba(n,e),Br(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Yb(e){return 0!=(8&e.flags)}(t)&&Pd(n,t,Rt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Qb(e){return 0!=(16&e.flags)}(t)&&Pd(n,t,Rt(),t.stylesWithoutHost,!1),_l}function Rd(e,t,n,r){return gl(e,t,n,r),_l(),Rd}let Wp=(e,t,n,r,s,c)=>(mo(!0),ja(r,s,Ph()));function LE(e,t,n,r,s,c){const _=t[si],E=!_||Lo()||el(_,c);if(mo(E),E)return ja(r,s,Ph());const x=ml(_,e,t,n);return Cm(_,c)&&qa(_,c,x.nextSibling),_&&(gf(n)||_f(x))&&ir(n)&&(function kb(e){mn.skipHydrationRootTNode=e}(n),Vf(x)),x}function vl(e,t,n){const r=Rt(),s=Ln(),c=e+Cn,_=s.firstCreatePass?function BE(e,t,n,r,s){const c=t.consts,_=fo(c,r),E=os(t,e,8,"ng-container",_);return null!==_&&ll(E,_,!0),ld(t,n,E,fo(c,s)),null!==t.queries&&t.queries.elementStart(t,E),E}(c,s,r,t,n):s.data[c];$r(_,!0);const E=Gp(s,r,_,e);return r[c]=E,va()&&Ha(s,r,E,_),Vi(E,r),Er(_)&&(od(s,r,_),rd(s,_,r)),null!=n&&sd(r,_),vl}function bl(){let e=ki();const t=Ln();return zl()?$l():(e=e.parent,$r(e,!1)),t.firstCreatePass&&(ba(t,e),Br(e)&&t.queries.elementEnd(e)),bl}function Fd(e,t,n){return vl(e,t,n),bl(),Fd}let Gp=(e,t,n,r)=>(mo(!0),gc(t[rn],""));function VE(e,t,n,r){let s;const c=t[si],_=!c||Lo();if(mo(_),_)return gc(t[rn],"");const E=ml(c,e,t,n),x=function Z0(e,t){const n=e.data;let r=n[zc]?.[t]??null;return null===r&&n[Gs]?.[t]&&(r=Zc(e,t)),r}(c,r);return qa(c,r,E),s=pl(x,E),s}function Kp(){return Rt()}function kd(e){return!!e&&"function"==typeof e.then}function Yp(e){return!!e&&"function"==typeof e.subscribe}function Nd(e,t,n,r){const s=Rt(),c=Ln(),_=ki();return Qp(c,s,s[rn],_,e,t,r),Nd}function Ld(e,t){const n=ki(),r=Rt(),s=Ln();return Qp(s,r,pp(Gl(s.data),n,r),n,e,t),Ld}function Qp(e,t,n,r,s,c,_){const E=Er(r),P=e.firstCreatePass&&mp(e),Q=t[Hn],De=fp(t);let Je=!0;if(3&r.type||_){const jt=sr(r,t),Yt=_?_(jt):jt,on=De.length,St=_?On=>_(ei(On[r.index])):r.index;let _n=null;if(!_&&E&&(_n=function UE(e,t,n,r){const s=e.cleanup;if(null!=s)for(let c=0;c<s.length-1;c+=2){const _=s[c];if(_===n&&s[c+1]===r){const E=t[Ui],x=s[c+2];return E.length>x?E[x]:null}"string"==typeof _&&(c+=2)}return null}(e,t,s,r.index)),null!==_n)(_n.__ngLastListenerFn__||_n).__ngNextListenerFn__=c,_n.__ngLastListenerFn__=c,Je=!1;else{c=Xp(r,t,Q,c,!1);const On=n.listen(Yt,s,c);De.push(c,On),P&&P.push(s,St,on,on+1)}}else c=Xp(r,t,Q,c,!1);const ut=r.outputs;let It;if(Je&&null!==ut&&(It=ut[s])){const jt=It.length;if(jt)for(let Yt=0;Yt<jt;Yt+=2){const Gn=t[It[Yt]][It[Yt+1]].subscribe(c),lr=De.length;De.push(c,Gn),P&&P.push(s,r.index,lr,-(lr+1))}}}function Zp(e,t,n,r){try{return Ii(6,t,n),!1!==n(r)}catch(s){return gp(e,s),!1}finally{Ii(7,t,n)}}function Xp(e,t,n,r,s){return function c(_){if(_===Function)return r;Xs(e.componentOffset>-1?gr(e.index,t):t);let x=Zp(t,n,r,_),P=c.__ngNextListenerFn__;for(;P;)x=Zp(t,n,P,_)&&x,P=P.__ngNextListenerFn__;return s&&!1===x&&_.preventDefault(),x}}function Jp(e=1){return function Ub(e){return(mn.lFrame.contextLView=function zb(e,t){for(;e>0;)t=t[zi],e--;return t}(e,mn.lFrame.contextLView))[Hn]}(e)}function zE(e,t){let n=null;const r=function Oe(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let s=0;s<t.length;s++){const c=t[s];if("*"!==c){if(null===r?Pe(e,c,!0):yn(r,c))return s}else n=s}return n}function qp(e){const t=Rt()[Rn][oi];if(!t.projection){const r=t.projection=Ns(e?e.length:1,null),s=r.slice();let c=t.child;for(;null!==c;){const _=e?zE(c,e):0;null!==_&&(s[_]?s[_].projectionNext=c:r[_]=c,s[_]=c),c=c.next}}}function eg(e,t=0,n){const r=Rt(),s=Ln(),c=os(s,Cn+e,16,null,n||null);null===c.projection&&(c.projection=t),$l(),(!r[si]||Lo())&&32!=(32&c.flags)&&function n0(e,t,n){Hf(t[rn],0,t,n,bc(e,n,t),kf(n.parent||t[oi],n,t))}(s,r,c)}function jd(e,t,n){return yl(e,"",t,"",n),jd}function yl(e,t,n,r,s){const c=Rt(),_=cs(c,t,n,r);return _!==En&&vr(Ln(),mi(),c,e,_,c[rn],s,!1),yl}function Bd(e,t,n,r,s,c,_){const E=Rt(),x=ds(E,t,n,r,s,c);return x!==En&&vr(Ln(),mi(),E,e,x,E[rn],_,!1),Bd}function Vd(e,t,n,r,s,c,_,E,x){const P=Rt(),Q=us(P,t,n,r,s,c,_,E);return Q!==En&&vr(Ln(),mi(),P,e,Q,P[rn],x,!1),Vd}function Hd(e,t,n,r,s,c,_,E,x,P,Q){const De=Rt(),Je=hs(De,t,n,r,s,c,_,E,x,P);return Je!==En&&vr(Ln(),mi(),De,e,Je,De[rn],Q,!1),Hd}function Ud(e,t,n,r,s,c,_,E,x,P,Q,De,Je){const ut=Rt(),It=fs(ut,t,n,r,s,c,_,E,x,P,Q,De);return It!==En&&vr(Ln(),mi(),ut,e,It,ut[rn],Je,!1),Ud}function zd(e,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It){const jt=Rt(),Yt=ms(jt,t,n,r,s,c,_,E,x,P,Q,De,Je,ut);return Yt!==En&&vr(Ln(),mi(),jt,e,Yt,jt[rn],It,!1),zd}function $d(e,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It,jt,Yt){const on=Rt(),St=ps(on,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It,jt);return St!==En&&vr(Ln(),mi(),on,e,St,on[rn],Yt,!1),$d}function Wd(e,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It,jt,Yt,on,St){const _n=Rt(),On=gs(_n,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It,jt,Yt,on);return On!==En&&vr(Ln(),mi(),_n,e,On,_n[rn],St,!1),Wd}function Gd(e,t,n){const r=Rt(),s=ls(r,t);return s!==En&&vr(Ln(),mi(),r,e,s,r[rn],n,!1),Gd}function Cl(e,t){return e<<17|t<<2}function _o(e){return e>>17&32767}function Kd(e){return 2|e}function To(e){return(131068&e)>>2}function Yd(e,t){return-131069&e|t<<2}function Qd(e){return 1|e}function tg(e,t,n,r,s){const c=e[n+1],_=null===t;let E=r?_o(c):To(c),x=!1;for(;0!==E&&(!1===x||_);){const Q=e[E+1];QE(e[E],t)&&(x=!0,e[E+1]=r?Qd(Q):Kd(Q)),E=r?_o(Q):To(Q)}x&&(e[n+1]=r?Kd(c):Qd(c))}function QE(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Wo(e,t)>=0}const Mi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ng(e){return e.substring(Mi.key,Mi.keyEnd)}function ZE(e){return e.substring(Mi.value,Mi.valueEnd)}function ig(e,t){const n=Mi.textEnd;return n===t?-1:(t=Mi.keyEnd=function qE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Mi.key=t,n),_s(e,t,n))}function rg(e,t){const n=Mi.textEnd;let r=Mi.key=_s(e,t,n);return n===r?-1:(r=Mi.keyEnd=function eD(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=sg(e,r,n),r=Mi.value=_s(e,r,n),r=Mi.valueEnd=function tD(e,t,n){let r=-1,s=-1,c=-1,_=t,E=_;for(;_<n;){const x=e.charCodeAt(_++);if(59===x)return E;34===x||39===x?E=_=ag(e,x,_,n):t===_-4&&85===c&&82===s&&76===r&&40===x?E=_=ag(e,41,_,n):x>32&&(E=_),c=s,s=r,r=-33&x}return E}(e,r,n),sg(e,r,n))}function og(e){Mi.key=0,Mi.keyEnd=0,Mi.value=0,Mi.valueEnd=0,Mi.textEnd=e.length}function _s(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function sg(e,t,n,r){return(t=_s(e,t,n))<n&&t++,t}function ag(e,t,n,r){let s=-1,c=n;for(;c<r;){const _=e.charCodeAt(c++);if(_==t&&92!==s)return c;s=92==_&&92===s?0:_}throw new Error}function Zd(e,t,n){return kr(e,t,n,!1),Zd}function Xd(e,t){return kr(e,t,null,!0),Xd}function Fr(e){Nr(ug,nD,e,!1)}function nD(e,t){for(let n=function JE(e){return og(e),rg(e,_s(e,0,Mi.textEnd))}(t);n>=0;n=rg(t,n))ug(e,ng(t),ZE(t))}function lg(e){Nr(lD,Zr,e,!0)}function Zr(e,t){for(let n=function XE(e){return og(e),ig(e,_s(e,0,Mi.textEnd))}(t);n>=0;n=ig(t,n))_r(e,ng(t),!0)}function kr(e,t,n,r){const s=Rt(),c=Ln(),_=eo(2);c.firstUpdatePass&&dg(c,e,_,r),t!==En&&Hi(s,_,t)&&hg(c,c.data[Ki()],s,s[rn],e,s[_+1]=function dD(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=M(to(e)))),e}(t,n),r,_)}function Nr(e,t,n,r){const s=Ln(),c=eo(2);s.firstUpdatePass&&dg(s,null,c,r);const _=Rt();if(n!==En&&Hi(_,c,n)){const E=s.data[Ki()];if(mg(E,r)&&!cg(s,c)){let x=r?E.classesWithoutHost:E.stylesWithoutHost;null!==x&&(n=S(x,n||"")),Pd(s,E,_,n,r)}else!function cD(e,t,n,r,s,c,_,E){s===En&&(s=xe);let x=0,P=0,Q=0<s.length?s[0]:null,De=0<c.length?c[0]:null;for(;null!==Q||null!==De;){const Je=x<s.length?s[x+1]:void 0,ut=P<c.length?c[P+1]:void 0;let jt,It=null;Q===De?(x+=2,P+=2,Je!==ut&&(It=De,jt=ut)):null===De||null!==Q&&Q<De?(x+=2,It=Q):(P+=2,It=De,jt=ut),null!==It&&hg(e,t,n,r,It,jt,_,E),Q=x<s.length?s[x]:null,De=P<c.length?c[P]:null}}(s,E,_,_[rn],_[c+1],_[c+1]=function aD(e,t,n){if(null==n||""===n)return xe;const r=[],s=to(n);if(Array.isArray(s))for(let c=0;c<s.length;c++)e(r,s[c],!0);else if("object"==typeof s)for(const c in s)s.hasOwnProperty(c)&&e(r,c,s[c]);else"string"==typeof s&&t(r,s);return r}(e,t,n),r,c)}}function cg(e,t){return t>=e.expandoStartIndex}function dg(e,t,n,r){const s=e.data;if(null===s[n+1]){const c=s[Ki()],_=cg(e,n);mg(c,r)&&null===t&&!_&&(t=!1),t=function iD(e,t,n,r){const s=Gl(e);let c=r?t.residualClasses:t.residualStyles;if(null===s)0===(r?t.classBindings:t.styleBindings)&&(n=oa(n=Jd(null,e,t,n,r),t.attrs,r),c=null);else{const _=t.directiveStylingLast;if(-1===_||e[_]!==s)if(n=Jd(s,e,t,n,r),null===c){let x=function rD(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==To(r))return e[_o(r)]}(e,t,r);void 0!==x&&Array.isArray(x)&&(x=Jd(null,e,t,x[1],r),x=oa(x,t.attrs,r),function oD(e,t,n,r){e[_o(n?t.classBindings:t.styleBindings)]=r}(e,t,r,x))}else c=function sD(e,t,n){let r;const s=t.directiveEnd;for(let c=1+t.directiveStylingLast;c<s;c++)r=oa(r,e[c].hostAttrs,n);return oa(r,t.attrs,n)}(e,t,r)}return void 0!==c&&(r?t.residualClasses=c:t.residualStyles=c),n}(s,c,t,r),function KE(e,t,n,r,s,c){let _=c?t.classBindings:t.styleBindings,E=_o(_),x=To(_);e[r]=n;let Q,P=!1;if(Array.isArray(n)?(Q=n[1],(null===Q||Wo(n,Q)>0)&&(P=!0)):Q=n,s)if(0!==x){const Je=_o(e[E+1]);e[r+1]=Cl(Je,E),0!==Je&&(e[Je+1]=Yd(e[Je+1],r)),e[E+1]=function WE(e,t){return 131071&e|t<<17}(e[E+1],r)}else e[r+1]=Cl(E,0),0!==E&&(e[E+1]=Yd(e[E+1],r)),E=r;else e[r+1]=Cl(x,0),0===E?E=r:e[x+1]=Yd(e[x+1],r),x=r;P&&(e[r+1]=Kd(e[r+1])),tg(e,Q,r,!0),tg(e,Q,r,!1),function YE(e,t,n,r,s){const c=s?e.residualClasses:e.residualStyles;null!=c&&"string"==typeof t&&Wo(c,t)>=0&&(n[r+1]=Qd(n[r+1]))}(t,Q,e,r,c),_=Cl(E,x),c?t.classBindings=_:t.styleBindings=_}(s,c,t,n,_,r)}}function Jd(e,t,n,r,s){let c=null;const _=n.directiveEnd;let E=n.directiveStylingLast;for(-1===E?E=n.directiveStart:E++;E<_&&(c=t[E],r=oa(r,c.hostAttrs,s),c!==e);)E++;return null!==e&&(n.directiveStylingLast=E),r}function oa(e,t,n){const r=n?1:2;let s=-1;if(null!==t)for(let c=0;c<t.length;c++){const _=t[c];"number"==typeof _?s=_:s===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),_r(e,_,!!n||t[++c]))}return void 0===e?null:e}function ug(e,t,n){_r(e,t,to(n))}function lD(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&_r(e,r,n)}function hg(e,t,n,r,s,c,_,E){if(!(3&t.type))return;const x=e.data,P=x[E+1],Q=function GE(e){return 1==(1&e)}(P)?fg(x,t,n,s,To(P),_):void 0;El(Q)||(El(c)||function $E(e){return 2==(2&e)}(P)&&(c=fg(x,null,n,s,E,_)),function o0(e,t,n,r,s){if(t)s?e.addClass(n,r):e.removeClass(n,r);else{let c=-1===r.indexOf("-")?void 0:Na.DashCase;null==s?e.removeStyle(n,r,c):("string"==typeof s&&s.endsWith("!important")&&(s=s.slice(0,-10),c|=Na.Important),e.setStyle(n,r,s,c))}}(r,_,_a(Ki(),n),s,c))}function fg(e,t,n,r,s,c){const _=null===t;let E;for(;s>0;){const x=e[s],P=Array.isArray(x),Q=P?x[1]:x,De=null===Q;let Je=n[s+1];Je===En&&(Je=De?xe:void 0);let ut=De?oc(Je,r):Q===r?Je:void 0;if(P&&!El(ut)&&(ut=oc(x,r)),El(ut)&&(E=ut,_))return E;const It=e[s+1];s=_?_o(It):To(It)}if(null!==t){let x=c?t.residualClasses:t.residualStyles;null!=x&&(E=oc(x,r))}return E}function El(e){return void 0!==e}function mg(e,t){return 0!=(e.flags&(t?8:16))}function pg(e,t=""){const n=Rt(),r=Ln(),s=e+Cn,c=r.firstCreatePass?os(r,s,1,t,null):r.data[s],_=gg(r,n,c,t,e);n[s]=_,va()&&Ha(r,n,_,c),$r(c,!1)}let gg=(e,t,n,r,s)=>(mo(!0),La(t[rn],r));function uD(e,t,n,r,s){const c=t[si],_=!c||Lo()||el(c,s);return mo(_),_?La(t[rn],r):ml(c,e,t,n)}function qd(e){return Dl("",e,""),qd}function Dl(e,t,n){const r=Rt(),s=cs(r,e,t,n);return s!==En&&ro(r,Ki(),s),Dl}function eu(e,t,n,r,s){const c=Rt(),_=ds(c,e,t,n,r,s);return _!==En&&ro(c,Ki(),_),eu}function tu(e,t,n,r,s,c,_){const E=Rt(),x=us(E,e,t,n,r,s,c,_);return x!==En&&ro(E,Ki(),x),tu}function nu(e,t,n,r,s,c,_,E,x){const P=Rt(),Q=hs(P,e,t,n,r,s,c,_,E,x);return Q!==En&&ro(P,Ki(),Q),nu}function iu(e,t,n,r,s,c,_,E,x,P,Q){const De=Rt(),Je=fs(De,e,t,n,r,s,c,_,E,x,P,Q);return Je!==En&&ro(De,Ki(),Je),iu}function ru(e,t,n,r,s,c,_,E,x,P,Q,De,Je){const ut=Rt(),It=ms(ut,e,t,n,r,s,c,_,E,x,P,Q,De,Je);return It!==En&&ro(ut,Ki(),It),ru}function ou(e,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It){const jt=Rt(),Yt=ps(jt,e,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It);return Yt!==En&&ro(jt,Ki(),Yt),ou}function su(e,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It,jt,Yt){const on=Rt(),St=gs(on,e,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It,jt,Yt);return St!==En&&ro(on,Ki(),St),su}function au(e){const t=Rt(),n=ls(t,e);return n!==En&&ro(t,Ki(),n),au}function _g(e,t,n){Nr(_r,Zr,cs(Rt(),e,t,n),!0)}function vg(e,t,n,r,s){Nr(_r,Zr,ds(Rt(),e,t,n,r,s),!0)}function bg(e,t,n,r,s,c,_){Nr(_r,Zr,us(Rt(),e,t,n,r,s,c,_),!0)}function yg(e,t,n,r,s,c,_,E,x){Nr(_r,Zr,hs(Rt(),e,t,n,r,s,c,_,E,x),!0)}function Cg(e,t,n,r,s,c,_,E,x,P,Q){Nr(_r,Zr,fs(Rt(),e,t,n,r,s,c,_,E,x,P,Q),!0)}function Eg(e,t,n,r,s,c,_,E,x,P,Q,De,Je){Nr(_r,Zr,ms(Rt(),e,t,n,r,s,c,_,E,x,P,Q,De,Je),!0)}function Dg(e,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It){Nr(_r,Zr,ps(Rt(),e,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It),!0)}function wg(e,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It,jt,Yt){Nr(_r,Zr,gs(Rt(),e,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It,jt,Yt),!0)}function xg(e){Nr(_r,Zr,ls(Rt(),e),!0)}function Mg(e,t,n){Fr(cs(Rt(),e,t,n))}function Ig(e,t,n,r,s){Fr(ds(Rt(),e,t,n,r,s))}function Tg(e,t,n,r,s,c,_){Fr(us(Rt(),e,t,n,r,s,c,_))}function Sg(e,t,n,r,s,c,_,E,x){Fr(hs(Rt(),e,t,n,r,s,c,_,E,x))}function Og(e,t,n,r,s,c,_,E,x,P,Q){Fr(fs(Rt(),e,t,n,r,s,c,_,E,x,P,Q))}function Ag(e,t,n,r,s,c,_,E,x,P,Q,De,Je){Fr(ms(Rt(),e,t,n,r,s,c,_,E,x,P,Q,De,Je))}function Pg(e,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It){Fr(ps(Rt(),e,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It))}function Rg(e,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It,jt,Yt){Fr(gs(Rt(),e,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It,jt,Yt))}function Fg(e){Fr(ls(Rt(),e))}function lu(e,t,n,r,s){return kr(e,cs(Rt(),t,n,r),s,!1),lu}function cu(e,t,n,r,s,c,_){return kr(e,ds(Rt(),t,n,r,s,c),_,!1),cu}function du(e,t,n,r,s,c,_,E,x){return kr(e,us(Rt(),t,n,r,s,c,_,E),x,!1),du}function uu(e,t,n,r,s,c,_,E,x,P,Q){return kr(e,hs(Rt(),t,n,r,s,c,_,E,x,P),Q,!1),uu}function hu(e,t,n,r,s,c,_,E,x,P,Q,De,Je){return kr(e,fs(Rt(),t,n,r,s,c,_,E,x,P,Q,De),Je,!1),hu}function fu(e,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It){return kr(e,ms(Rt(),t,n,r,s,c,_,E,x,P,Q,De,Je,ut),It,!1),fu}function mu(e,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It,jt,Yt){return kr(e,ps(Rt(),t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It,jt),Yt,!1),mu}function pu(e,t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It,jt,Yt,on,St){return kr(e,gs(Rt(),t,n,r,s,c,_,E,x,P,Q,De,Je,ut,It,jt,Yt,on),St,!1),pu}function gu(e,t,n){return kr(e,ls(Rt(),t),n,!1),gu}function _u(e,t,n){const r=Rt();return Hi(r,jo(),t)&&vr(Ln(),mi(),r,e,t,r[rn],n,!0),_u}function vu(e,t,n){const r=Rt();if(Hi(r,jo(),t)){const c=Ln(),_=mi();vr(c,_,r,e,t,pp(Gl(c.data),_,r),n,!0)}return vu}const So=void 0;var mD=["en",[["a","p"],["AM","PM"],So],[["AM","PM"],So,So],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],So,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],So,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",So,"{1} 'at' {0}",So],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function fD(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let vs={};function pD(e,t,n){"string"!=typeof t&&(n=t,t=e[bs.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),vs[t]=e,n&&(vs[t][bs.ExtraData]=n)}function bu(e){const t=function vD(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Ng(t);if(n)return n;const r=t.split("-")[0];if(n=Ng(r),n)return n;if("en"===r)return mD;throw new K(701,!1)}function gD(e){return bu(e)[bs.CurrencyCode]||null}function kg(e){return bu(e)[bs.PluralCase]}function Ng(e){return e in vs||(vs[e]=at.ng&&at.ng.common&&at.ng.common.locales&&at.ng.common.locales[e]),vs[e]}function _D(){vs={}}var bs=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(bs||{});const bD=["zero","one","two","few","many"],Oo="en-US",wl={marker:"element"},xl={marker:"ICU"};var ar=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(ar||{});let Lg=Oo;function yu(e){(function Ze(e,t){null==e&&ct(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(Lg=e.toLowerCase().replace(/_/g,"-"))}function jg(e,t,n){const r=t.insertBeforeIndex,s=Array.isArray(r)?r[0]:r;return null===s?Nf(e,0,n):ei(n[s])}function Bg(e,t,n,r,s){const c=t.insertBeforeIndex;if(Array.isArray(c)){let _=r,E=null;if(3&t.type||(E=_,_=s),null!==_&&-1===t.componentOffset)for(let x=1;x<c.length;x++)Do(e,_,n[c[x]],E,!1)}}function Vg(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const r=e[n];Hg(r)||DD(r,t)&&null===wD(r)&&xD(r,t.index)}}function Hg(e){return!(64&e.type)}function DD(e,t){return Hg(t)||e.index>t.index}function wD(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function xD(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(jf(jg,Bg),e.insertBeforeIndex=t)}function sa(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function TD(e,t,n){const r=id(e,n,64,null,null);return Vg(t,r),r}function Ml(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function Ug(e){return e>>>17}function zg(e){return(131070&e)>>>1}let aa=0,la=0;function Wg(e,t,n,r){const s=n[rn];let _,c=null;for(let E=0;E<t.length;E++){const x=t[E];if("string"==typeof x){const P=t[++E];null===n[P]&&(n[P]=La(s,x))}else if("number"==typeof x)switch(1&x){case 0:const P=Ug(x);let Q,De;if(null===c&&(c=P,_=Va(s,r)),P===c?(Q=r,De=_):(Q=null,De=ei(n[P])),null!==De){const jt=zg(x);Do(s,De,n[jt],Q,!1);const on=sa(e,jt);if(null!==on&&"object"==typeof on){const St=Ml(on,n);null!==St&&Wg(e,on.create[St],n,n[on.anchorIdx])}}break;case 1:const ut=t[++E],It=t[++E];dd(s,_a(x>>>1,n),null,null,ut,It,null)}else switch(x){case xl:const P=t[++E],Q=t[++E];null===n[Q]&&Vi(n[Q]=gc(s,P),n);break;case wl:const De=t[++E],Je=t[++E];null===n[Je]&&Vi(n[Je]=ja(s,De,null),n)}}}function Gg(e,t,n,r,s){for(let c=0;c<n.length;c++){const _=n[c],E=n[++c];if(_&s){let x="";for(let P=c+1;P<=c+E;P++){const Q=n[P];if("string"==typeof Q)x+=Q;else if("number"==typeof Q)if(Q<0)x+=ae(t[r-Q]);else{const De=Q>>>2;switch(3&Q){case 1:const Je=n[++P],ut=n[++P],It=e.data[De];"string"==typeof It?dd(t[rn],t[De],null,It,Je,x,ut):vr(e,It,t,Je,x,t[rn],ut,!1);break;case 0:const jt=t[De];null!==jt&&Of(t[rn],jt,x);break;case 2:RD(e,sa(e,De),t,x);break;case 3:Kg(e,sa(e,De),r,t)}}}}else{const x=n[c+1];if(x>0&&3==(3&x)){const Q=sa(e,x>>>2);t[Q.currentCaseLViewIndex]<0&&Kg(e,Q,r,t)}}c+=E}}function Kg(e,t,n,r){let s=r[t.currentCaseLViewIndex];if(null!==s){let c=aa;s<0&&(s=r[t.currentCaseLViewIndex]=~s,c=-1),Gg(e,r,t.update[s],n,c)}}function RD(e,t,n,r){const s=function FD(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function yD(e,t){const n=kg(t)(parseInt(e,10)),r=bD[n];return void 0!==r?r:"other"}(t,function ED(){return Lg}());n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,r);if(Ml(t,n)!==s&&(Yg(e,t,n),n[t.currentCaseLViewIndex]=null===s?null:~s,null!==s)){const _=n[t.anchorIdx];_&&Wg(e,t.create[s],n,_)}}function Yg(e,t,n){let r=Ml(t,n);if(null!==r){const s=t.remove[r];for(let c=0;c<s.length;c++){const _=s[c];if(_>0){const E=_a(_,n);null!==E&&Ua(n[rn],E)}else Yg(e,sa(e,~_),n)}}}function kD(){const e=[];let n,r,t=-1;function c(E,x){t=0;const P=Ml(E,x);r=null!==P?E.remove[P]:xe}function _(){if(t<r.length){const E=r[t++];return E>0?n[E]:(e.push(t,r),c(n[zt].data[~E],n),_())}return 0===e.length?null:(r=e.pop(),t=e.pop(),_())}return function s(E,x){for(n=x;e.length;)e.pop();return c(E.value,x),_}}const Il=/\ufffd(\d+):?\d*\ufffd/gi,ND=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,LD=/\ufffd(\d+)\ufffd/,Zg=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,ca="\ufffd",jD=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,BD=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,VD=/\uE500/g;function Xg(e,t,n,r,s,c,_){const E=qs(e,r,1,null);let x=E<<ar.SHIFT,P=Ts();t===P&&(P=null),null===P&&(x|=ar.APPEND_EAGERLY),_&&(x|=ar.COMMENT,function zy(e){void 0===mc&&(mc=e())}(kD)),s.push(x,null===c?"":c);const Q=id(e,E,_?32:1,null===c?"":c,null);Vg(n,Q);const De=Q.index;return $r(Q,!1),null!==P&&t!==P&&function ID(e,t){let n=e.insertBeforeIndex;null===n?(jf(jg,Bg),n=e.insertBeforeIndex=[null,t]):(function ot(e,t,n){e!=t&&ct(n,e,t,"==")}(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(P,De),Q}function zD(e,t,n,r,s,c,_){const E=_.match(Il),x=Xg(e,t,n,c,r,E?null:_,!1);E&&da(s,_,x.index,null,0,null)}function da(e,t,n,r,s,c){const _=e.length,E=_+1;e.push(null,null);const x=_+2,P=t.split(Il);let Q=0;for(let De=0;De<P.length;De++){const Je=P[De];if(1&De){const ut=s+parseInt(Je,10);e.push(-1-ut),Q|=Jg(ut)}else""!==Je&&e.push(Je)}return e.push(n<<2|(r?1:0)),r&&e.push(r,c),e[_]=Q,e[E]=e.length-x,Q}function WD(e){let t=0;for(let n=0;n<e.length;n++){const r=e[n];"number"==typeof r&&r<0&&t++}return t}function Jg(e){return 1<<Math.min(e,31)}function qg(e){let t,c,n="",r=0,s=!1;for(;null!==(t=jD.exec(e));)s?t[0]===`${ca}/*${c}${ca}`&&(r=t.index,s=!1):(n+=e.substring(r,t.index+t[0].length),c=t[1],s=!0);return n+=e.slice(r),n}function e_(e,t,n,r,s,c){let _=0;const E={type:s.type,currentCaseLViewIndex:qs(e,t,1,null),anchorIdx:c,cases:[],create:[],remove:[],update:[]};(function XD(e,t,n){e.push(Jg(t.mainBinding),2,-1-t.mainBinding,n<<2|2)})(n,s,c),function MD(e,t,n){const r=e.data[t];null===r?e.data[t]=n:r.value=n}(e,c,E);const x=s.values;for(let P=0;P<x.length;P++){const Q=x[P],De=[];for(let Je=0;Je<Q.length;Je++){const ut=Q[Je];if("string"!=typeof ut){const It=De.push(ut)-1;Q[Je]=`\x3c!--\ufffd${It}\ufffd--\x3e`}}_=QD(e,E,t,n,r,s.cases[P],Q.join(""),De)|_}_&&function JD(e,t,n){e.push(t,1,n<<2|3)}(n,_,c)}function YD(e){const t=[],n=[];let r=1,s=0;const c=Cu(e=e.replace(Zg,function(_,E,x){return r="select"===x?0:1,s=parseInt(E.slice(1),10),""}));for(let _=0;_<c.length;){let E=c[_++].trim();1===r&&(E=E.replace(/\s*(?:=)?(\w+)\s*/,"$1")),E.length&&t.push(E);const x=Cu(c[_++]);t.length>n.length&&n.push(x)}return{type:r,mainBinding:s,cases:t,values:n}}function Cu(e){if(!e)return[];let t=0;const n=[],r=[],s=/[{}]/g;let c;for(s.lastIndex=0;c=s.exec(e);){const E=c.index;if("}"==c[0]){if(n.pop(),0==n.length){const x=e.substring(t,E);Zg.test(x)?r.push(YD(x)):r.push(x),t=E+1}}else{if(0==n.length){const x=e.substring(t,E);r.push(x),t=E+1}n.push("{")}}const _=e.substring(t);return r.push(_),r}function QD(e,t,n,r,s,c,_,E){const x=[],P=[],Q=[];t.cases.push(c),t.create.push(x),t.remove.push(P),t.update.push(Q);const Je=Qf(Zo()).getInertBodyElement(_),ut=Tc(Je)||Je;return ut?t_(e,t,n,r,x,P,Q,ut,s,E,0):0}function t_(e,t,n,r,s,c,_,E,x,P,Q){let De=0,Je=E.firstChild;for(;Je;){const ut=qs(e,n,1,null);switch(Je.nodeType){case Node.ELEMENT_NODE:const It=Je,jt=It.tagName.toLowerCase();if(Mc.hasOwnProperty(jt)){Eu(s,wl,jt,x,ut),e.data[ut]=jt;const _n=It.attributes;for(let On=0;On<_n.length;On++){const Gn=_n.item(On),lr=Gn.name.toLowerCase();Gn.value.match(Il)?qf.hasOwnProperty(lr)&&da(_,Gn.value,ut,Gn.name,0,Ic[lr]?Wa:null):qD(s,ut,Gn)}De=t_(e,t,n,r,s,c,_,Je,ut,P,Q+1)|De,n_(c,ut,Q)}break;case Node.TEXT_NODE:const Yt=Je.textContent||"",on=Yt.match(Il);Eu(s,null,on?"":Yt,x,ut),n_(c,ut,Q),on&&(De=da(_,Yt,ut,null,0,null)|De);break;case Node.COMMENT_NODE:const St=LD.exec(Je.textContent||"");if(St){const On=P[parseInt(St[1],10)];Eu(s,xl,"",x,ut),e_(e,n,r,x,On,ut),ZD(c,ut,Q)}}Je=Je.nextSibling}return De}function n_(e,t,n){0===n&&e.push(t)}function ZD(e,t,n){0===n&&(e.push(~t),e.push(t))}function Eu(e,t,n,r,s){null!==t&&e.push(t),e.push(n,s,function SD(e,t,n){return e|t<<17|n<<1}(0,r,s))}function qD(e,t,n){e.push(t<<1|1,n.name,n.value)}const i_=0,ew=/\[(\ufffd.+?\ufffd?)\]/,tw=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,nw=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,iw=/{([A-Z0-9_]+)}/g,rw=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,ow=/\/\*/,sw=/\d+\:(\d+)/;function Du(e,t,n=-1){const r=Ln(),s=Rt(),c=Cn+e,_=fo(r.consts,t),E=Ts();r.firstCreatePass&&function UD(e,t,n,r,s,c){const _=Ts(),E=[],x=[],P=[[]];s=function KD(e,t){if(function GD(e){return-1===e}(t))return qg(e);{const n=e.indexOf(`:${t}${ca}`)+2+t.toString().length,r=e.search(new RegExp(`${ca}\\/\\*\\d+:${t}${ca}`));return qg(e.substring(n,r))}}(s,c);const Q=function HD(e){return e.replace(VD," ")}(s).split(BD);for(let De=0;De<Q.length;De++){let Je=Q[De];if(1&De){const ut=47===Je.charCodeAt(0),jt=(Je.charCodeAt(ut?1:0),Cn+Number.parseInt(Je.substring(ut?2:1)));if(ut)P.shift(),$r(Ts(),!1);else{const Yt=TD(e,P[0],jt);P.unshift([]),$r(Yt,!0)}}else{const ut=Cu(Je);for(let It=0;It<ut.length;It++){let jt=ut[It];if(1&It){const Yt=jt;if("object"!=typeof Yt)throw new Error(`Unable to parse ICU expression in "${s}" message.`);e_(e,n,x,t,Yt,Xg(e,_,P[0],n,E,"",!0).index)}else""!==jt&&zD(e,_,P[0],E,x,n,jt)}}}e.data[r]={create:E,update:x}}(r,null===E?0:E.index,s,c,_,n),2===r.type?s[Rn][dn]|=32:s[dn]|=32;const x=r.data[c],Q=Pf(r,E===s[oi]?null:E,s);(function PD(e,t,n,r){const s=e[rn];for(let c=0;c<t.length;c++){const _=t[c++],E=t[c],P=(_&ar.APPEND_EAGERLY)===ar.APPEND_EAGERLY,Q=_>>>ar.SHIFT;let De=e[Q];null===De&&(De=e[Q]=(_&ar.COMMENT)===ar.COMMENT?s.createComment(E):La(s,E)),P&&null!==n&&Do(s,n,De,r,!1)}})(s,x.create,Q,E&&8&E.type?s[E.index]:null),Eh(!0)}function wu(){Eh(!1)}function r_(e,t,n){Du(e,t,n),wu()}function o_(e,t){const n=Ln(),r=fo(n.consts,t);!function $D(e,t,n){const s=ki().index,c=[];if(e.firstCreatePass&&null===e.data[t]){for(let _=0;_<n.length;_+=2){const E=n[_],x=n[_+1];if(""!==x){if(ND.test(x))throw new Error(`ICU expressions are not supported in attributes. Message: "${x}".`);da(c,x,s,E,WD(c),null)}}e.data[t]=c}}(n,e+Cn,r)}function xu(e){return function OD(e){e&&(aa|=1<<Math.min(la,31)),la++}(Hi(Rt(),jo(),e)),xu}function s_(e){!function AD(e,t,n){if(la>0){const r=e.data[n];Gg(e,t,Array.isArray(r)?r:r.update,qr()-la-1,aa)}aa=0,la=0}(Ln(),Rt(),e+Cn)}function a_(e,t={}){return function aw(e,t={}){let n=e;if(ew.test(e)){const r={},s=[i_];n=n.replace(tw,(c,_,E)=>{const x=_||E,P=r[x]||[];if(P.length||(x.split("|").forEach(jt=>{const Yt=jt.match(sw),on=Yt?parseInt(Yt[1],10):i_,St=ow.test(jt);P.push([on,St,jt])}),r[x]=P),!P.length)throw new Error(`i18n postprocess: unmatched placeholder - ${x}`);const Q=s[s.length-1];let De=0;for(let jt=0;jt<P.length;jt++)if(P[jt][0]===Q){De=jt;break}const[Je,ut,It]=P[De];return ut?s.pop():Q!==Je&&s.push(Je),P.splice(De,1),It})}return Object.keys(t).length&&(n=n.replace(nw,(r,s,c,_,E,x)=>t.hasOwnProperty(c)?`${s}${t[c]}${x}`:r),n=n.replace(iw,(r,s)=>t.hasOwnProperty(s)?t[s]:r),n=n.replace(rw,(r,s)=>{if(t.hasOwnProperty(s)){const c=t[s];if(!c.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${s}`);return c.shift()}return r})),n}(e,t)}function l_(e,t){}function Mu(e,t,n,r,s){if(e=N(e),Array.isArray(e))for(let c=0;c<e.length;c++)Mu(e[c],t,n,r,s);else{const c=Ln(),_=Rt(),E=ki();let x=Mo(e)?e:N(e.provide);const P=mm(e),Q=1048575&E.providerIndexes,De=E.directiveStart,Je=E.providerIndexes>>20;if(Mo(e)||!e.multi){const ut=new Ss(P,s,rs),It=Tu(x,t,s?Q:Q+Je,De);-1===It?(tc(Da(E,_),c,x),Iu(c,e,t.length),t.push(x),E.directiveStart++,E.directiveEnd++,s&&(E.providerIndexes+=1048576),n.push(ut),_.push(ut)):(n[It]=ut,_[It]=ut)}else{const ut=Tu(x,t,Q+Je,De),It=Tu(x,t,Q,Q+Je),Yt=It>=0&&n[It];if(s&&!Yt||!s&&!(ut>=0&&n[ut])){tc(Da(E,_),c,x);const on=function uw(e,t,n,r,s){const c=new Ss(e,n,rs);return c.multi=[],c.index=t,c.componentProviders=0,c_(c,s,r&&!n),c}(s?dw:cw,n.length,s,r,P);!s&&Yt&&(n[It].providerFactory=on),Iu(c,e,t.length,0),t.push(x),E.directiveStart++,E.directiveEnd++,s&&(E.providerIndexes+=1048576),n.push(on),_.push(on)}else Iu(c,e,ut>-1?ut:It,c_(n[s?It:ut],P,!s&&r));!s&&r&&Yt&&n[It].componentProviders++}}}function Iu(e,t,n,r){const s=Mo(t),c=function A0(e){return!!e.useClass}(t);if(s||c){const x=(c?N(t.useClass):t).prototype.ngOnDestroy;if(x){const P=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const Q=P.indexOf(n);-1===Q?P.push(n,[r,x]):P[Q+1].push(r,x)}else P.push(n,x)}}}function c_(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Tu(e,t,n,r){for(let s=n;s<r;s++)if(t[s]===e)return s;return-1}function cw(e,t,n,r){return Su(this.multi,[])}function dw(e,t,n,r){const s=this.multi;let c;if(this.providerFactory){const _=this.providerFactory.componentProviders,E=Co(n,n[zt],this.providerFactory.index,r);c=E.slice(0,_),Su(s,c);for(let x=_;x<E.length;x++)c.push(E[x])}else c=[],Su(s,c);return c}function Su(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function d_(e,t=[]){return n=>{n.providersResolver=(r,s)=>function lw(e,t,n){const r=Ln();if(r.firstCreatePass){const s=Di(e);Mu(n,r.data,r.blueprint,s,!0),Mu(t,r.data,r.blueprint,s,!1)}}(r,s?s(e):e,t)}}class Ao{}class u_{}function h_(e,t){return new Tl(e,t??null,[])}const hw=h_;class Tl extends Ao{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new xp(this);const s=ti(t);this._bootstrapComponents=io(s.bootstrap),this._r3Injector=Am(t,n,[{provide:Ao,useValue:this},{provide:Ys,useValue:this.componentFactoryResolver},...r],M(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Sl extends u_{constructor(t){super(),this.moduleType=t}create(t){return new Tl(this.moduleType,t,[])}}class f_ extends Ao{constructor(t){super(),this.componentFactoryResolver=new xp(this),this.instance=null;const n=new Za([...t.providers,{provide:Ao,useValue:this},{provide:Ys,useValue:this.componentFactoryResolver}],t.parent||Qa(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function m_(e,t,n=null){return new f_({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let mw=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=dm(0,n.type),s=r.length>0?m_([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Fe({token:e,providedIn:"environment",factory:()=>new e(Mt(Gr))})}return e})();function p_(e){e.getStandaloneInjector=t=>t.get(mw).getOrCreateStandaloneInjector(e)}function Ou(e){const t=Qi(e);if(null===t)return null;if(void 0===t.component){const n=t.lView;if(null===n)return null;t.component=function Hy(e,t){const n=t[zt].data[e],{directiveStart:r,componentOffset:s}=n;return s>-1?t[r+s]:null}(t.nodeIndex,n)}return t.component}function g_(e){!function yw(e){if(typeof Element<"u"&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}(e);const t=Qi(e),n=t?t.lView:null;return null===n?null:n[Hn]}function __(e){const t=Qi(e);let r,n=t?t.lView:null;if(null===n)return null;for(;2===n[zt].type&&(r=Bs(n));)n=r;return 512&n[dn]?null:n[Hn]}function v_(e){const t=Ef(e);return null!==t?[Wy(t)]:[]}function b_(e){const t=Qi(e),n=t?t.lView:null;return null===n?Rr.NULL:new Yi(n[zt].data[t.nodeIndex],n)}function y_(e){if(e instanceof Text)return[];const t=Qi(e),n=t?t.lView:null;if(null===n)return[];const r=n[zt],s=t.nodeIndex;return r?.data[s]?(void 0===t.directives&&(t.directives=Mf(s,n)),null===t.directives?[]:[...t.directives]):[]}function gw(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const n=wn(t);if(n)return{inputs:n.inputs,outputs:n.outputs,encapsulation:n.encapsulation,changeDetection:n.onPush?fn.OnPush:fn.Default};const r=Zn(t);return r?{inputs:r.inputs,outputs:r.outputs}:null}function Au(e){return Qi(e).native}function C_(e){const t=Qi(e),n=null===t?null:t.lView;if(null===n)return[];const s=n[Ui],c=n[zt].cleanup,_=[];if(c&&s)for(let E=0;E<c.length;){const x=c[E++],P=c[E++];if("string"==typeof x){const Q=x,De=ei(n[P]),Je=s[c[E++]],ut=c[E++];e==De&&_.push({element:e,name:Q,callback:Je,useCapture:"boolean"==typeof ut&&ut,type:"boolean"==typeof ut||ut>=0?"dom":"output"})}}return _.sort(vw),_}function vw(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function bw(e){return void 0!==e.type&&void 0!==e.declaredInputs&&void 0!==e.findHostDirectiveDefs}function E_(e,t,n,r){return cn(()=>{const s=e;null!==t&&(s.hasOwnProperty("decorators")&&void 0!==s.decorators?s.decorators.push(...t):s.decorators=t),null!==n&&(s.ctorParameters=n),null!==r&&(s.propDecorators=s.hasOwnProperty("propDecorators")&&void 0!==s.propDecorators?{...s.propDecorators,...r}:r)})}function D_(e,t,n){const r=Gi()+e,s=Rt();return s[r]===En?Qr(s,r,n?t.call(n):t()):ta(s,r)}function w_(e,t,n,r){return R_(Rt(),Gi(),e,t,n,r)}function x_(e,t,n,r,s){return F_(Rt(),Gi(),e,t,n,r,s)}function M_(e,t,n,r,s,c){return k_(Rt(),Gi(),e,t,n,r,s,c)}function I_(e,t,n,r,s,c,_){return N_(Rt(),Gi(),e,t,n,r,s,c,_)}function T_(e,t,n,r,s,c,_,E){const x=Gi()+e,P=Rt(),Q=Ir(P,x,n,r,s,c);return Hi(P,x+4,_)||Q?Qr(P,x+5,E?t.call(E,n,r,s,c,_):t(n,r,s,c,_)):ta(P,x+5)}function S_(e,t,n,r,s,c,_,E,x){const P=Gi()+e,Q=Rt(),De=Ir(Q,P,n,r,s,c);return Io(Q,P+4,_,E)||De?Qr(Q,P+6,x?t.call(x,n,r,s,c,_,E):t(n,r,s,c,_,E)):ta(Q,P+6)}function O_(e,t,n,r,s,c,_,E,x,P){const Q=Gi()+e,De=Rt();let Je=Ir(De,Q,n,r,s,c);return hl(De,Q+4,_,E,x)||Je?Qr(De,Q+7,P?t.call(P,n,r,s,c,_,E,x):t(n,r,s,c,_,E,x)):ta(De,Q+7)}function A_(e,t,n,r,s,c,_,E,x,P,Q){const De=Gi()+e,Je=Rt(),ut=Ir(Je,De,n,r,s,c);return Ir(Je,De+4,_,E,x,P)||ut?Qr(Je,De+8,Q?t.call(Q,n,r,s,c,_,E,x,P):t(n,r,s,c,_,E,x,P)):ta(Je,De+8)}function P_(e,t,n,r){return L_(Rt(),Gi(),e,t,n,r)}function ua(e,t){const n=e[t];return n===En?void 0:n}function R_(e,t,n,r,s,c){const _=t+n;return Hi(e,_,s)?Qr(e,_+1,c?r.call(c,s):r(s)):ua(e,_+1)}function F_(e,t,n,r,s,c,_){const E=t+n;return Io(e,E,s,c)?Qr(e,E+2,_?r.call(_,s,c):r(s,c)):ua(e,E+2)}function k_(e,t,n,r,s,c,_,E){const x=t+n;return hl(e,x,s,c,_)?Qr(e,x+3,E?r.call(E,s,c,_):r(s,c,_)):ua(e,x+3)}function N_(e,t,n,r,s,c,_,E,x){const P=t+n;return Ir(e,P,s,c,_,E)?Qr(e,P+4,x?r.call(x,s,c,_,E):r(s,c,_,E)):ua(e,P+4)}function L_(e,t,n,r,s,c){let _=t+n,E=!1;for(let x=0;x<s.length;x++)Hi(e,_++,s[x])&&(E=!0);return E?Qr(e,_,r.apply(c,s)):ua(e,_)}function j_(e,t){const n=Ln();let r;const s=e+Cn;n.firstCreatePass?(r=function Cw(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[s]=r,r.onDestroy&&(n.destroyHooks??=[]).push(s,r.onDestroy)):r=n.data[s];const c=r.factory||(r.factory=he(r.type)),E=Kt(rs);try{const x=Ea(!1),P=c();return Ea(x),zp(n,Rt(),s,P),P}finally{Kt(E)}}function B_(e,t,n){const r=e+Cn,s=Rt(),c=No(s,r);return ha(s,r)?R_(s,Gi(),t,c.transform,n,c):c.transform(n)}function V_(e,t,n,r){const s=e+Cn,c=Rt(),_=No(c,s);return ha(c,s)?F_(c,Gi(),t,_.transform,n,r,_):_.transform(n,r)}function H_(e,t,n,r,s){const c=e+Cn,_=Rt(),E=No(_,c);return ha(_,c)?k_(_,Gi(),t,E.transform,n,r,s,E):E.transform(n,r,s)}function U_(e,t,n,r,s,c){const _=e+Cn,E=Rt(),x=No(E,_);return ha(E,_)?N_(E,Gi(),t,x.transform,n,r,s,c,x):x.transform(n,r,s,c)}function z_(e,t,n){const r=e+Cn,s=Rt(),c=No(s,r);return ha(s,r)?L_(s,Gi(),t,c.transform,n,c):c.transform.apply(c,n)}function ha(e,t){return e[zt].data[t].pure}function Ew(){return this._results[Symbol.iterator]()}class Ol{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Kr)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Ol.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Ew)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const s=Mr(t);(this._changesDetected=!function uy(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let s=e[r],c=t[r];if(n&&(s=n(s),c=n(c)),c!==s)return!1}return!0}(r._results,s,n))&&(r._results=s,r.length=s.length,r.last=s[this.length-1],r.first=s[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}function ww(e,t,n,r=!0){const s=t[zt];if(function Zy(e,t,n,r){const s=ai+r,c=n.length;r>0&&(n[s-1][pi]=t),r<c-ai?(t[pi]=n[s],Zh(n,ai+r,t)):(n.push(t),t[pi]=null),t[Nn]=n;const _=t[mr];null!==_&&n!==_&&function Xy(e,t){const n=e[nr];t[Rn]!==t[Nn][Nn][Rn]&&(e[Cr]=!0),null===n?e[nr]=[t]:n.push(t)}(_,t);const E=t[Jn];null!==E&&E.insertView(e),t[dn]|=128}(s,t,e,n),r){const c=Cc(n,e),_=t[rn],E=Va(_,e[_i]);null!==E&&function Ky(e,t,n,r,s,c){r[Bn]=s,r[oi]=t,Hs(e,r,n,1,s,c)}(s,e[oi],_,t,E,c)}}let fa=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Iw}return e})();const xw=fa,Mw=class extends xw{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const s=function Dw(e,t,n,r){const s=t.tView,E=sl(e,s,n,4096&e[dn]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);E[mr]=e[t.index];const P=e[Jn];return null!==P&&(E[Jn]=P.createEmbeddedView(s)),fd(s,E,n),E}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new ss(s)}};function Iw(){return Al(ki(),Rt())}function Al(e,t){return 4&e.type?new Mw(t,e,ts(e,t)):null}function $_(e){const t=e[jr]??[],r=e[Nn][rn];for(const s of t)Tw(s,r);e[jr]=xe}function Tw(e,t){let n=0,r=e.firstChild;if(r){const s=e.data[es];for(;n<s;){const c=r.nextSibling;Ua(t,r,!1),r=c,n++}}}function W_(e){$_(e);for(let t=ai;t<e.length;t++)Pl(e[t])}function Pl(e){const t=e[zt];for(let n=Cn;n<t.bindingStartIndex;n++)li(e[n])?W_(e[n]):Array.isArray(e[n])&&Pl(e[n])}let G_=(e,t)=>null;function Aw(e,t){const n=e[jr];return t&&null!==n&&0!==n.length?n[0].data[Wc]===t?n.shift():($_(e),null):null}function K_(e,t){return G_(e,t)}let Rl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Rw}return e})();function Rw(){return Z_(ki(),Rt())}const Fw=Rl,Y_=class extends Fw{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ts(this._hostTNode,this._hostLView)}get injector(){return new Yi(this._hostTNode,this._hostLView)}get parentInjector(){const t=wa(this._hostTNode,this._hostLView);if(Jl(t)){const n=As(t,this._hostLView),r=Os(t);return new Yi(n[zt].data[r+8],n)}return new Yi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Q_(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-ai}createEmbeddedView(t,n,r){let s,c;"number"==typeof r?s=r:null!=r&&(s=r.index,c=r.injector);const _=K_(this._lContainer,t.ssrId),E=t.createEmbeddedViewImpl(n||{},c,_),x=!!_&&!Fa(this._hostTNode);return this.insertImpl(E,s,x),E}createComponent(t,n,r,s,c){const _=t&&!ks(t);let E;if(_)E=n;else{const jt=n||{};E=jt.index,r=jt.injector,s=jt.projectableNodes,c=jt.environmentInjector||jt.ngModuleRef}const x=_?t:new as(wn(t)),P=r||this.parentInjector;if(!c&&null==x.ngModule){const Yt=(_?P:this.parentInjector).get(Gr,null);Yt&&(c=Yt)}const Q=wn(x.componentType??{}),De=K_(this._lContainer,Q?.id??null),ut=x.create(P,s,De?.firstChild??null,c),It=!!De&&!Fa(this._hostTNode);return this.insertImpl(ut.hostView,E,It),ut}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const s=t._lView;if(function Tb(e){return li(e[Nn])}(s)){const x=this.indexOf(t);if(-1!==x)this.detach(x);else{const P=s[Nn],Q=new Y_(P,P[oi],P[Nn]);Q.detach(Q.indexOf(t))}}const _=this._adjustIndex(n),E=this._lContainer;return ww(E,s,_,!r),t.attachToViewContainerRef(),Zh(Pu(E),_,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Q_(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Ba(this._lContainer,n);r&&(Ma(Pu(this._lContainer),n),_c(r[zt],r))}detach(t){const n=this._adjustIndex(t,-1),r=Ba(this._lContainer,n);return r&&null!=Ma(Pu(this._lContainer),n)?new ss(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Q_(e){return e[8]}function Pu(e){return e[8]||(e[8]=[])}function Z_(e,t){let n;const r=t[e.index];return li(r)?n=r:(n=up(r,t,null,e),t[e.index]=n,al(t,n)),X_(n,t,e,r),new Y_(n,e,t)}let X_=J_;function J_(e,t,n,r){if(e[_i])return;let s;s=8&n.type?ei(r):function kw(e,t){const n=e[rn],r=n.createComment(""),s=sr(t,e);return Do(n,Va(n,s),r,function t0(e,t){return e.nextSibling(t)}(n,s),!1),r}(t,n),e[_i]=s}function Nw(e,t,n,r){if(e[_i]&&e[jr])return;const s=t[si],c=n.index-Cn,_=ka(n)||Fa(n);if(!s||_||el(s,c))return J_(e,t,n,r);const x=Qc(s,c),P=s.data[Gs]?.[c],[Q,De]=function Ow(e,t){const n=[];for(const r of t)for(let s=0;s<(r[Xa]??1);s++){const c={data:r,firstChild:null};r[es]>0&&(c.firstChild=e,e=pl(r[es],e)),n.push(c)}return[e,n]}(x,P);e[_i]=Q,e[jr]=De}class Ru{constructor(t){this.queryList=t,this.matches=null}clone(){return new Ru(this.queryList)}setDirty(){this.queryList.setDirty()}}class Fu{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,s=[];for(let c=0;c<r;c++){const _=n.getByIndex(c);s.push(this.queries[_.indexInDeclarationView].clone())}return new Fu(s)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==av(t,n).matches&&this.queries[n].setDirty()}}class q_{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class ku{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const s=null!==n?n.length:0,c=this.getByIndex(r).embeddedTView(t,s);c&&(c.indexInDeclarationView=r,null!==n?n.push(c):n=[c])}return null!==n?new ku(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Nu{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Nu(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let s=0;s<r.length;s++){const c=r[s];this.matchTNodeWithReadOption(t,n,jw(n,c)),this.matchTNodeWithReadOption(t,n,xa(n,t,c,!1,!1))}else r===fa?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,xa(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const s=this.metadata.read;if(null!==s)if(s===Qs||s===Rl||s===fa&&4&n.type)this.addMatch(n.index,-2);else{const c=xa(n,t,s,!1,!1);null!==c&&this.addMatch(n.index,c)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function jw(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function Vw(e,t,n,r){return-1===n?function Bw(e,t){return 11&e.type?ts(e,t):4&e.type?Al(e,t):null}(t,e):-2===n?function Hw(e,t,n){return n===Qs?ts(t,e):n===fa?Al(t,e):n===Rl?Z_(t,e):void 0}(e,t,r):Co(e,e[zt],n,t)}function ev(e,t,n,r){const s=t[Jn].queries[r];if(null===s.matches){const c=e.data,_=n.matches,E=[];for(let x=0;x<_.length;x+=2){const P=_[x];E.push(P<0?null:Vw(t,c[P],_[x+1],n.metadata.read))}s.matches=E}return s.matches}function Lu(e,t,n,r){const s=e.queries.getByIndex(n),c=s.matches;if(null!==c){const _=ev(e,t,s,n);for(let E=0;E<c.length;E+=2){const x=c[E];if(x>0)r.push(_[E/2]);else{const P=c[E+1],Q=t[-x];for(let De=ai;De<Q.length;De++){const Je=Q[De];Je[mr]===Je[Nn]&&Lu(Je[zt],Je,P,r)}if(null!==Q[nr]){const De=Q[nr];for(let Je=0;Je<De.length;Je++){const ut=De[Je];Lu(ut[zt],ut,P,r)}}}}}return r}function tv(e){const t=Rt(),n=Ln(),r=Dh();Kl(r+1);const s=av(n,r);if(e.dirty&&function Mb(e){return 4==(4&e[dn])}(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const c=s.crossesNgTemplate?Lu(n,t,r,[]):ev(n,t,s,r);e.reset(c,eC),e.notifyOnChanges()}return!0}return!1}function nv(e,t,n){const r=Ln();r.firstCreatePass&&(sv(r,new q_(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),ov(r,Rt(),t)}function iv(e,t,n,r){const s=Ln();if(s.firstCreatePass){const c=ki();sv(s,new q_(t,n,r),c.index),function zw(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(s,e),2==(2&n)&&(s.staticContentQueries=!0)}ov(s,Rt(),n)}function rv(){return function Uw(e,t){return e[Jn].queries[t].queryList}(Rt(),Dh())}function ov(e,t,n){const r=new Ol(4==(4&n));(function OC(e,t,n,r){const s=fp(t);s.push(n),e.firstCreatePass&&mp(e).push(r,s.length-1)})(e,t,r,r.destroy),null===t[Jn]&&(t[Jn]=new Fu),t[Jn].queries.push(new Ru(r))}function sv(e,t,n){null===e.queries&&(e.queries=new ku),e.queries.track(new Nu(t,n))}function av(e,t){return e.queries.getByIndex(t)}function lv(e,t){return Al(e,t)}const Zi=(()=>({\u0275\u0275attribute:gd,\u0275\u0275attributeInterpolate1:_d,\u0275\u0275attributeInterpolate2:vd,\u0275\u0275attributeInterpolate3:bd,\u0275\u0275attributeInterpolate4:yd,\u0275\u0275attributeInterpolate5:Cd,\u0275\u0275attributeInterpolate6:Ed,\u0275\u0275attributeInterpolate7:Dd,\u0275\u0275attributeInterpolate8:wd,\u0275\u0275attributeInterpolateV:xd,\u0275\u0275defineComponent:ri,\u0275\u0275defineDirective:dr,\u0275\u0275defineInjectable:Fe,\u0275\u0275defineInjector:Ge,\u0275\u0275defineNgModule:cr,\u0275\u0275definePipe:ur,\u0275\u0275directiveInject:rs,\u0275\u0275getInheritedFactory:Wh,\u0275\u0275inject:Mt,\u0275\u0275injectAttribute:ic,\u0275\u0275invalidFactory:np,\u0275\u0275invalidFactoryDep:Xe,\u0275\u0275templateRefExtractor:lv,\u0275\u0275resetView:vh,\u0275\u0275HostDirectivesFeature:Ap,\u0275\u0275NgOnChangesFeature:Sn,\u0275\u0275ProvidersFeature:d_,\u0275\u0275CopyDefinitionFeature:Op,\u0275\u0275InheritDefinitionFeature:md,\u0275\u0275InputTransformsFeature:kp,\u0275\u0275StandaloneFeature:p_,\u0275\u0275nextContext:Jp,\u0275\u0275namespaceHTML:Ah,\u0275\u0275namespaceMathML:Oh,\u0275\u0275namespaceSVG:Sh,\u0275\u0275enableBindings:ph,\u0275\u0275disableBindings:gh,\u0275\u0275elementStart:gl,\u0275\u0275elementEnd:_l,\u0275\u0275element:Rd,\u0275\u0275elementContainerStart:vl,\u0275\u0275elementContainerEnd:bl,\u0275\u0275elementContainer:Fd,\u0275\u0275pureFunction0:D_,\u0275\u0275pureFunction1:w_,\u0275\u0275pureFunction2:x_,\u0275\u0275pureFunction3:M_,\u0275\u0275pureFunction4:I_,\u0275\u0275pureFunction5:T_,\u0275\u0275pureFunction6:S_,\u0275\u0275pureFunction7:O_,\u0275\u0275pureFunction8:A_,\u0275\u0275pureFunctionV:P_,\u0275\u0275getCurrentView:Kp,\u0275\u0275restoreView:_h,\u0275\u0275listener:Nd,\u0275\u0275projection:eg,\u0275\u0275syntheticHostProperty:vu,\u0275\u0275syntheticHostListener:Ld,\u0275\u0275pipeBind1:B_,\u0275\u0275pipeBind2:V_,\u0275\u0275pipeBind3:H_,\u0275\u0275pipeBind4:U_,\u0275\u0275pipeBindV:z_,\u0275\u0275projectionDef:qp,\u0275\u0275hostProperty:_u,\u0275\u0275property:Ad,\u0275\u0275propertyInterpolate:jd,\u0275\u0275propertyInterpolate1:yl,\u0275\u0275propertyInterpolate2:Bd,\u0275\u0275propertyInterpolate3:Vd,\u0275\u0275propertyInterpolate4:Hd,\u0275\u0275propertyInterpolate5:Ud,\u0275\u0275propertyInterpolate6:zd,\u0275\u0275propertyInterpolate7:$d,\u0275\u0275propertyInterpolate8:Wd,\u0275\u0275propertyInterpolateV:Gd,\u0275\u0275pipe:j_,\u0275\u0275queryRefresh:tv,\u0275\u0275viewQuery:nv,\u0275\u0275loadQuery:rv,\u0275\u0275contentQuery:iv,\u0275\u0275reference:$p,\u0275\u0275classMap:lg,\u0275\u0275classMapInterpolate1:_g,\u0275\u0275classMapInterpolate2:vg,\u0275\u0275classMapInterpolate3:bg,\u0275\u0275classMapInterpolate4:yg,\u0275\u0275classMapInterpolate5:Cg,\u0275\u0275classMapInterpolate6:Eg,\u0275\u0275classMapInterpolate7:Dg,\u0275\u0275classMapInterpolate8:wg,\u0275\u0275classMapInterpolateV:xg,\u0275\u0275styleMap:Fr,\u0275\u0275styleMapInterpolate1:Mg,\u0275\u0275styleMapInterpolate2:Ig,\u0275\u0275styleMapInterpolate3:Tg,\u0275\u0275styleMapInterpolate4:Sg,\u0275\u0275styleMapInterpolate5:Og,\u0275\u0275styleMapInterpolate6:Ag,\u0275\u0275styleMapInterpolate7:Pg,\u0275\u0275styleMapInterpolate8:Rg,\u0275\u0275styleMapInterpolateV:Fg,\u0275\u0275styleProp:Zd,\u0275\u0275stylePropInterpolate1:lu,\u0275\u0275stylePropInterpolate2:cu,\u0275\u0275stylePropInterpolate3:du,\u0275\u0275stylePropInterpolate4:uu,\u0275\u0275stylePropInterpolate5:hu,\u0275\u0275stylePropInterpolate6:fu,\u0275\u0275stylePropInterpolate7:mu,\u0275\u0275stylePropInterpolate8:pu,\u0275\u0275stylePropInterpolateV:gu,\u0275\u0275classProp:Xd,\u0275\u0275advance:ep,\u0275\u0275template:Vp,\u0275\u0275defer:l_,\u0275\u0275text:pg,\u0275\u0275textInterpolate:qd,\u0275\u0275textInterpolate1:Dl,\u0275\u0275textInterpolate2:eu,\u0275\u0275textInterpolate3:tu,\u0275\u0275textInterpolate4:nu,\u0275\u0275textInterpolate5:iu,\u0275\u0275textInterpolate6:ru,\u0275\u0275textInterpolate7:ou,\u0275\u0275textInterpolate8:su,\u0275\u0275textInterpolateV:au,\u0275\u0275i18n:r_,\u0275\u0275i18nAttributes:o_,\u0275\u0275i18nExp:xu,\u0275\u0275i18nStart:Du,\u0275\u0275i18nEnd:wu,\u0275\u0275i18nApply:s_,\u0275\u0275i18nPostprocess:a_,\u0275\u0275resolveWindow:Bm,\u0275\u0275resolveDocument:Vm,\u0275\u0275resolveBody:nd,\u0275\u0275setComponentScope:Ji,\u0275\u0275setNgModuleScope:Lr,\u0275\u0275registerNgModuleType:lc,\u0275\u0275sanitizeHtml:nm,\u0275\u0275sanitizeStyle:im,\u0275\u0275sanitizeResourceUrl:Oc,\u0275\u0275sanitizeScript:rm,\u0275\u0275sanitizeUrl:Sc,\u0275\u0275sanitizeUrlOrResourceUrl:am,\u0275\u0275trustConstantHtml:om,\u0275\u0275trustConstantResourceUrl:sm,\u0275\u0275validateIframeAttribute:$f,forwardRef:j,resolveForwardRef:N}))();let ys=null;function Gw(){ys=null}function ju(e){return!!ti(e)}const ma=[];let Bu=!1;function dv(){if(!Bu){Bu=!0;try{for(let e=ma.length-1;e>=0;e--){const{moduleType:t,ngModule:n}=ma[e];n.declarations&&n.declarations.every(uv)&&(ma.splice(e,1),Xw(t,n))}}finally{Bu=!1}}}function uv(e){return Array.isArray(e)?e.every(uv):!!N(e)}function hv(e,t={}){fv(e,t),void 0!==t.id&&lc(e,t.id),function Kw(e,t){ma.push({moduleType:e,ngModule:t})}(e,t)}function fv(e,t,n=!1){const r=Mr(t.declarations||xe);let s=null;Object.defineProperty(e,Pt,{configurable:!0,get:()=>(null===s&&(s=xi().compileNgModule(Zi,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:Mr(t.bootstrap||xe).map(N),declarations:r.map(N),imports:Mr(t.imports||xe).map(N).map(gv),exports:Mr(t.exports||xe).map(N).map(gv),schemas:t.schemas?Mr(t.schemas):null,id:t.id||null}),s.schemas||(s.schemas=[])),s)});let c=null;Object.defineProperty(e,tn,{get:()=>{if(null===c){const E=xi();c=E.compileFactory(Zi,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:Oa(e),target:E.FactoryTarget.NgModule,typeArgumentCount:0})}return c},configurable:!1});let _=null;Object.defineProperty(e,_e,{get:()=>{if(null===_){const E={name:e.name,type:e,providers:t.providers||xe,imports:[(t.imports||xe).map(N),(t.exports||xe).map(N)]};_=xi().compileInjector(Zi,`ng:///${e.name}/\u0275inj.js`,E)}return _},configurable:!1})}let Fl=new WeakMap,Hu=new WeakMap;function Zw(){Fl=new WeakMap,Hu=new WeakMap,ma.length=0,fr.clear()}function Xw(e,t){const n=Mr(t.declarations||xe),r=Po(e);n.forEach(s=>{(s=N(s)).hasOwnProperty(mt)?Uu(wn(s),r):!s.hasOwnProperty(wt)&&!s.hasOwnProperty(At)&&(s.ngSelectorScope=e)})}function Uu(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(n=>n.hasOwnProperty(mt)?wn(n):Zn(n)).filter(n=>!!n),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(n=>Xn(n)),e.schemas=t.schemas,e.tView=null}function Po(e){if(ju(e))return function Jw(e){const t=ti(e,!0);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const n={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return io(t.imports).forEach(r=>{const s=Po(r);s.exported.directives.forEach(c=>n.compilation.directives.add(c)),s.exported.pipes.forEach(c=>n.compilation.pipes.add(c))}),io(t.declarations).forEach(r=>{Xn(r)?n.compilation.pipes.add(r):n.compilation.directives.add(r)}),io(t.exports).forEach(r=>{const s=r;if(ju(s)){const c=Po(s);c.exported.directives.forEach(_=>{n.compilation.directives.add(_),n.exported.directives.add(_)}),c.exported.pipes.forEach(_=>{n.compilation.pipes.add(_),n.exported.pipes.add(_)})}else Xn(s)?n.exported.pipes.add(s):n.exported.directives.add(s)}),t.transitiveCompileScopes=n,n}(e);if(er(e)){if(null!==(wn(e)||Zn(e)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([e]),pipes:new Set}};if(null!==Xn(e))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([e])}}}throw new Error(`${e.name} does not have a module def (\u0275mod property)`)}function gv(e){return function cv(e){return void 0!==e.ngModule}(e)?e.ngModule:e}let zu=0;function _v(e,t){let n=null;(function yy(e,t){af(t)&&(Go.set(e,t),Ls.add(e))})(e,t),bv(e,t),Object.defineProperty(e,mt,{get:()=>{if(null===n){const r=xi();if(af(t)){const P=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&P.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&P.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),P.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(P.join("\n"))}const s=function Ww(){return ys}();let c=t.preserveWhitespaces;void 0===c&&(c=null!==s&&void 0!==s.preserveWhitespaces&&s.preserveWhitespaces);let _=t.encapsulation;void 0===_&&(_=null!==s&&void 0!==s.defaultEncapsulation?s.defaultEncapsulation:Ue.Emulated);const E=t.templateUrl||`ng:///${e.name}/template.html`,x={...yv(e,t),typeSourceSpan:r.createParseSourceSpan("Component",e.name,E),template:t.template||"",preserveWhitespaces:c,styles:t.styles||xe,animations:t.animations,declarations:[],changeDetection:t.changeDetection,encapsulation:_,interpolation:t.interpolation,viewProviders:t.viewProviders||null};zu++;try{if(x.usesInheritance&&Cv(e),n=r.compileComponent(Zi,E,x),t.standalone){const P=Mr(t.imports||xe),{directiveDefs:Q,pipeDefs:De}=function ex(e,t){let n=null,r=null;return{directiveDefs:()=>{if(null===n){n=[wn(e)];const _=new Set([e]);for(const E of t){const x=N(E);if(!_.has(x))if(_.add(x),ti(x)){const P=Po(x);for(const Q of P.exported.directives){const De=wn(Q)||Zn(Q);De&&!_.has(Q)&&(_.add(Q),n.push(De))}}else{const P=wn(x)||Zn(x);P&&n.push(P)}}}return n},pipeDefs:()=>{if(null===r){r=[];const _=new Set;for(const E of t){const x=N(E);if(!_.has(x))if(_.add(x),ti(x)){const P=Po(x);for(const Q of P.exported.pipes){const De=Xn(Q);De&&!_.has(Q)&&(_.add(Q),r.push(De))}}else{const P=Xn(x);P&&r.push(P)}}}return r}}}(e,P);n.directiveDefs=Q,n.pipeDefs=De,n.dependencies=()=>P.map(N)}}finally{zu--}if(0===zu&&dv(),function tx(e){return void 0!==e.ngSelectorScope}(e)){const P=Po(e.ngSelectorScope);Uu(n,P)}if(t.schemas){if(!t.standalone)throw new Error(`The 'schemas' was specified for the ${te(e)} but is only valid on a component that is standalone.`);n.schemas=t.schemas}else t.standalone&&(n.schemas=[])}return n},configurable:!1})}function $u(e,t){let n=null;bv(e,t||{}),Object.defineProperty(e,wt,{get:()=>{if(null===n){const r=vv(e,t||{});n=xi().compileDirective(Zi,r.sourceMapUrl,r.metadata)}return n},configurable:!1})}function vv(e,t){const n=e&&e.name,r=`ng:///${n}/\u0275dir.js`,s=xi(),c=yv(e,t);return c.typeSourceSpan=s.createParseSourceSpan("Directive",n,r),c.usesInheritance&&Cv(e),{metadata:c,sourceMapUrl:r}}function bv(e,t){let n=null;Object.defineProperty(e,tn,{get:()=>{if(null===n){const r=vv(e,t),s=xi();n=s.compileFactory(Zi,`ng:///${e.name}/\u0275fac.js`,{name:r.metadata.name,type:r.metadata.type,typeArgumentCount:0,deps:Oa(e),target:s.FactoryTarget.Directive})}return n},configurable:!1})}function nx(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function yv(e,t){const n=ac(),r=n.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||Re,propMetadata:r,inputs:t.inputs||xe,outputs:t.outputs||xe,queries:Ev(e,r,Dv),lifecycle:{usesOnChanges:n.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!nx(e),exportAs:ox(t.exportAs),providers:t.providers||null,viewQueries:Ev(e,r,wv),isStandalone:!!t.standalone,isSignal:!!t.signals,hostDirectives:t.hostDirectives?.map(s=>"function"==typeof s?{directive:s}:s)||null}}function Cv(e){const t=Object.prototype;let n=Object.getPrototypeOf(e.prototype).constructor;for(;n&&n!==t;)!Zn(n)&&!wn(n)&&ax(n)&&$u(n,null),n=Object.getPrototypeOf(n)}function ix(e){return"string"==typeof e?Mv(e):N(e)}function rx(e,t){return{propertyName:e,predicate:ix(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly}}function Ev(e,t,n){const r=[];for(const s in t)if(t.hasOwnProperty(s)){const c=t[s];c.forEach(_=>{if(n(_)){if(!_.selector)throw new Error(`Can't construct a query for the property "${s}" of "${te(e)}" since the query selector wasn't defined.`);if(c.some(xv))throw new Error("Cannot combine @Input decorators with query decorators");r.push(rx(s,_))}})}return r}function ox(e){return void 0===e?null:Mv(e)}function Dv(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function wv(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function xv(e){return"Input"===e.ngMetadataName}function Mv(e){return e.split(",").map(t=>t.trim())}const sx=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function ax(e){const t=ac();if(sx.some(r=>t.hasLifecycleHook(e,r)))return!0;const n=t.propMetadata(e);for(const r in n){const s=n[r];for(let c=0;c<s.length;c++){const _=s[c],E=_.ngMetadataName;if(xv(_)||Dv(_)||wv(_)||"Output"===E||"HostBinding"===E||"HostListener"===E)return!0}}return!1}function Iv(e,t){let n=null,r=null;Object.defineProperty(e,tn,{get:()=>{if(null===r){const s=Tv(e,t),c=xi();r=c.compileFactory(Zi,`ng:///${s.name}/\u0275fac.js`,{name:s.name,type:s.type,typeArgumentCount:0,deps:Oa(e),target:c.FactoryTarget.Pipe})}return r},configurable:!1}),Object.defineProperty(e,At,{get:()=>{if(null===n){const s=Tv(e,t);n=xi().compilePipe(Zi,`ng:///${s.name}/\u0275pipe.js`,s)}return n},configurable:!1})}function Tv(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure,isStandalone:!!t.standalone}}const Sv=Rs("Directive",(e={})=>e,void 0,void 0,(e,t)=>$u(e,t)),lx=Rs("Component",(e={})=>({changeDetection:fn.Default,...e}),Sv,void 0,(e,t)=>_v(e,t)),cx=Rs("Pipe",e=>({pure:!0,...e}),void 0,void 0,(e,t)=>Iv(e,t)),dx=po("Input",e=>e?"string"==typeof e?{alias:e}:e:{}),ux=po("Output",e=>({alias:e})),hx=po("HostBinding",e=>({hostPropertyName:e})),fx=po("HostListener",(e,t)=>({eventName:e,args:t})),mx=Rs("NgModule",e=>e,void 0,void 0,(e,t)=>hv(e,t)),Ov=new zn("Application Initializer");let kl=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=xt(Ov,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const s of this.appInits){const c=s();if(kd(c))n.push(c);else if(Yp(c)){const _=new Promise((E,x)=>{c.subscribe({complete:E,error:x})});n.push(_)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(s=>{this.reject(s)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Fe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Av=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Fe({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Nl=new zn("LocaleId",{providedIn:"root",factory:()=>xt(Nl,tt.Optional|tt.SkipSelf)||function px(){return typeof $localize<"u"&&$localize.locale||Oo}()}),gx=new zn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),_x=new zn("Translations"),vx=new zn("TranslationsFormat");var Pv=function(e){return e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore",e}(Pv||{});let Rv=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new d.X(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Fe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class Fv{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let bx=(()=>{class e{compileModuleSync(n){return new Sl(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),c=io(ti(n).declarations).reduce((_,E)=>{const x=wn(E);return x&&_.push(new as(x)),_},[]);return new Fv(r,c)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Fe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const kv=new zn("compilerOptions");class yx{}class Cx{constructor(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}reset(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}}let pa=new Cx;function Ll(){return pa}function Wu(e){let t=null;return void 0===e||(t=e instanceof Yi?Ps(e):e),t}function Sx(e){Xs(Cf(e)),v_(e).forEach(t=>yp(t))}function Ox(e,t){const n=e.get(t,null,{self:!0,optional:!0});if(null===n)throw new Error(`Unable to determine instance of ${t} in given injector`);let r=e;e instanceof Yi&&(r=Ps(e));const{resolverToTokenToDependencies:s}=Ll();let c=s.get(r)?.get?.(t)??[];const _=Nv(e);return c=c.map(E=>{const x=E.flags;E.flags={optional:8==(8&x),host:1==(1&x),self:2==(2&x),skipSelf:4==(4&x)};for(let P=0;P<_.length;P++){const Q=_[P];if(0!==P||!E.flags.skipSelf){if(E.flags.host&&Q instanceof Gr)break;if(null!==Q.get(E.token,null,{self:!0,optional:!0})){if(E.flags.host){null!==_[0].get(E.token,null,{...E.flags,optional:!0})&&(E.providedIn=Q);break}E.providedIn=Q;break}if(0===P&&E.flags.self)break}}return E}),{instance:n,dependencies:c}}function kx(e){const t=function Ax(e){const{standaloneInjectorToComponent:t}=Ll();if(t.has(e))return t.get(e);const n=e.get(Ao,null,{self:!0,optional:!0});return null===n?null:n.instance.constructor}(e);null===t&&ct("Could not determine where injector providers were configured.");const n=function Rx(e){const t=new Map,r=function Fx(e,t){return(n,r)=>{if(e.has(n)||e.set(n,[r]),!t.has(r))for(const s of e.keys()){const c=e.get(s);let _=qe(r);if(_||(_=qe(r.ngModule)),!_)return;const E=c[0];let x=!1;$o(_.imports,P=>{x||(x=P.ngModule===E||P===E,x&&e.get(s)?.unshift(r))})}t.add(r)}}(t,new Set);return Ka(e,r,[],new Set),t}(t);return(Ll().resolverToProviders.get(e)??[]).map(s=>{let c=n.get(s.provider)??[t];return!!wn(t)?.standalone&&(c=[t,...n.get(s.provider)??[]]),{...s,importPath:c}})}function Nx(e){return e instanceof Yi?function Px(e){const t=Ps(e),{resolverToProviders:n}=Ll();return n.get(t)??[]}(e):e instanceof Gr?kx(e):void ct("getInjectorProviders only supports NodeInjector and EnvironmentInjector")}function Nv(e){const t=[e];return Gu(e,t),t}function Gu(e,t){const n=function Lx(e){if(e instanceof Za)return e.parent;let t,n;if(e instanceof Yi)t=function ny(e){return e._tNode}(e),n=Ps(e);else{if(e instanceof Pc)return null;ct("getInjectorParent only support injectors of type R3Injector, NodeInjector, NullInjector")}const r=wa(t,n);if(Jl(r)){const s=Os(r),c=As(r,n);return new Yi(c[zt].data[s+8],c)}{const c=n[Qn].injector?.parent;if(c instanceof Yi)return c}return null}(e);if(null===n){if(e instanceof Yi){const r=t[0];if(r instanceof Yi){const s=function jx(e){let t;e instanceof Yi?t=Ps(e):ct("getModuleInjectorOfNodeInjector must be called with a NodeInjector");const r=t[Qn].parentInjector;return r||ct("NodeInjector must have some connection to the module injector tree"),r}(r);null===s&&ct("NodeInjector must have some connection to the module injector tree"),t.push(s),Gu(s,t)}return t}}else t.push(n),Gu(n,t);return t}const Lv="ng";let jv=!1;function Bx(){jv||(jv=!0,function Ex(){pa.reset(),Ft(e=>function Dx(e){const{context:t,type:n}=e;0===n?function wx(e,t){const n=Wu(e.injector);null===n&&ct("An Inject event must be run within an injection context.");const r=pa.resolverToTokenToDependencies;if(r.has(n)||r.set(n,new WeakMap),!function Tx(e){return null!==e&&("object"==typeof e||"function"==typeof e||"symbol"==typeof e)}(e.token))return;const s=r.get(n);s.has(e.token)||s.set(e.token,[]);const{token:c,value:_,flags:E}=t;s.get(e.token).push({token:c,value:_,flags:E})}(t,e.service):1===n?function xx(e,t){const{value:n}=t;let r;if(null===Wu(e.injector)&&ct("An InjectorCreatedInstance event must be run within an injection context."),"object"==typeof n&&(r=n?.constructor),void 0===r||!function Mx(e){return!!wn(e)?.standalone}(r))return;const s=e.injector.get(Gr,null,{optional:!0});if(null===s)return;const{standaloneInjectorToComponent:c}=pa;c.has(s)||c.set(s,r)}(t,e.instance):2===n&&function Ix(e,t){const{resolverToProviders:n}=pa,r=Wu(e?.injector);null===r&&ct("A ProviderConfigured event must be run within an injection context."),n.has(r)||n.set(r,[]),n.get(r).push(t)}(t,e.providerRecord)}(e))}(),Xi("\u0275getDependenciesFromInjectable",Ox),Xi("\u0275getInjectorProviders",Nx),Xi("\u0275getInjectorResolutionPath",Nv),Xi("\u0275setProfiler",Xr),Xi("getDirectiveMetadata",gw),Xi("getComponent",Ou),Xi("getContext",g_),Xi("getListeners",C_),Xi("getOwningComponent",__),Xi("getHostElement",Au),Xi("getInjector",b_),Xi("getRootComponents",v_),Xi("getDirectives",y_),Xi("applyChanges",Sx))}function Xi(e,t){if((typeof COMPILED>"u"||!COMPILED)&&at){let r=at[Lv];r||(r=at[Lv]={}),r[e]=t}}const Bv=new zn(""),Vv=new zn("");let Vx=(()=>{class e{constructor(n,r,s){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Ku||(Uv(s),s.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ti.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,s){let c=-1;r&&r>0&&(c=setTimeout(()=>{this._callbacks=this._callbacks.filter(_=>_.timeoutId!==c),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:c,updateCb:s})}whenStable(n,r,s){if(s&&!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(n,r,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,s){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(Mt(Ti),Mt(Hv),Mt(Vv))};static#t=this.\u0275prov=Fe({token:e,factory:e.\u0275fac})}return e})(),Hv=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Ku?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Fe({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Uv(e){Ku=e}let Ku,vo=null;const Yu=new zn("AllowMultipleToken"),Qu=new zn("PlatformDestroyListeners"),Zu=new zn("appBootstrapListener");function zv(e,t,n){const r=new Sl(n);return Promise.resolve(r)}function $v(){!function Fn(e){an=e}(()=>{throw new K(600,!1)})}function Wv(e){return e.isBoundToModule}class Hx{constructor(t,n){this.name=t,this.token=n}}function Gv(e){if(vo&&!vo.get(Yu,!1))throw new K(400,!1);$v(),vo=e;const t=e.get(Xu);return Kv(e),t}function Kv(e){e.get(gm,null)?.forEach(n=>n())}function zx(e){try{const{rootComponent:t,appProviders:n,platformProviders:r}=e,s=function Ux(e=[]){if(vo)return vo;const t=Zv(e);return vo=t,$v(),Kv(t),t}(r),c=[ib(),...n||[]],E=new f_({providers:c,parent:s,debugName:"",runEnvironmentInitializers:!1}).injector,x=E.get(Ti);return x.run(()=>{E.resolveInjectorInitializers();const P=E.get(go,null);let Q;x.runOutsideAngular(()=>{Q=x.onError.subscribe({next:ut=>{P.handleError(ut)}})});const De=()=>E.destroy(),Je=s.get(Qu);return Je.add(De),E.onDestroy(()=>{Q.unsubscribe(),Je.delete(De)}),Jv(P,x,()=>{const ut=E.get(kl);return ut.runInitializers(),ut.donePromise.then(()=>{yu(E.get(Nl,Oo)||Oo);const jt=E.get(Cs);return void 0!==t&&jt.bootstrap(t),jt})})})}catch(t){return Promise.reject(t)}}function Yv(e,t,n=[]){const r=`Platform: ${t}`,s=new zn(r);return(c=[])=>{let _=jl();if(!_||_.injector.get(Yu,!1)){const E=[...n,...c,{provide:s,useValue:!0}];e?e(E):Gv(Zv(E,r))}return Qv()}}function Qv(e){const t=jl();if(!t)throw new K(401,!1);return t}function Zv(e=[],t){return Rr.create({name:t,providers:[{provide:Nc,useValue:"platform"},{provide:Qu,useValue:new Set([()=>vo=null])},...e]})}function $x(){jl()?.destroy()}function jl(){return vo?.get(Xu)??null}let Xu=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const s=function Wx(e="zone.js",t){return"noop"===e?new Nm:"zone.js"===e?new Ti(t):e}(r?.ngZone,Xv({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return s.run(()=>{const c=function fw(e,t,n){return new Tl(e,t,n)}(n.moduleType,this.injector,nb(()=>s)),_=c.injector.get(go,null);return s.runOutsideAngular(()=>{const E=s.onError.subscribe({next:x=>{_.handleError(x)}});c.onDestroy(()=>{Bl(this._modules,c),E.unsubscribe()})}),Jv(_,s,()=>{const E=c.injector.get(kl);return E.runInitializers(),E.donePromise.then(()=>(yu(c.injector.get(Nl,Oo)||Oo),this._moduleDoBootstrap(c),c))})})}bootstrapModule(n,r=[]){const s=qv({},r);return zv(0,0,n).then(c=>this.bootstrapModuleFactory(c,s))}_moduleDoBootstrap(n){const r=n.injector.get(Cs);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(s=>r.bootstrap(s));else{if(!n.instance.ngDoBootstrap)throw new K(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new K(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Qu,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(Mt(Rr))};static#t=this.\u0275prov=Fe({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Xv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}function Jv(e,t,n){try{const r=n();return kd(r)?r.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}function qv(e,t){return Array.isArray(t)?t.reduce(qv,e):{...e,...t}}let Cs=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=xt(tb),this.zoneIsStable=xt(Lm),this.componentTypes=[],this.components=[],this.isStable=xt(Rv).hasPendingTasks.pipe((0,v.w)(n=>n?(0,h.of)(!1):this.zoneIsStable),(0,m.x)(),(0,g.B)()),this._injector=xt(Gr)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const s=n instanceof tl;if(!this._injector.get(kl).done)throw!s&&er(n),new K(405,!1);let _;_=s?n:this._injector.get(Ys).resolveComponentFactory(n),this.componentTypes.push(_.componentType);const E=Wv(_)?void 0:this._injector.get(Ao),P=_.create(Rr.NULL,[],r||_.selector,E),Q=P.location.nativeElement,De=P.injector.get(Bv,null);return De?.registerApplication(Q),P.onDestroy(()=>{this.detachView(P.hostView),Bl(this.components,P),De?.unregisterApplication(Q)}),this._loadComponent(P),P}tick(){if(this._runningTick)throw new K(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Bl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Zu,[]);r.push(...this._bootstrapListeners),r.forEach(s=>s(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Bl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new K(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Fe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Bl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const tb=new zn("",{providedIn:"root",factory:()=>xt(go).handleError.bind(void 0)});function Gx(){const e=xt(Ti),t=xt(go);return n=>e.runOutsideAngular(()=>t.handleError(n))}let Kx=(()=>{class e{constructor(){this.zone=xt(Ti),this.applicationRef=xt(Cs)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Fe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function nb(e){return[{provide:Ti,useFactory:e},{provide:$s,multi:!0,useFactory:()=>{const t=xt(Kx,{optional:!0});return()=>t.initialize()}},{provide:tb,useFactory:Gx},{provide:Lm,useFactory:jm}]}function ib(e){return Rc([[],nb(()=>new Ti(Xv(e)))])}function Yx(){return!1}function Qx(){}function Zx(e){const t=df(e);if(!t)throw rb(e);return new Sl(t)}function Xx(e){const t=df(e);if(!t)throw rb(e);return t}function rb(e){return new Error(`No module with ID ${e} loaded`)}let ob=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=sb}return e})();function sb(e){return function Jx(e,t,n){if(ir(e)&&!n){const r=gr(e.index,t);return new ss(r,r)}return 47&e.type?new ss(t[Rn],t):null}(ki(),Rt(),16==(16&e))}class ab extends ob{}class qx extends ab{}class eM{constructor(t,n){this.name=t,this.callback=n}}function tM(e){return e.map(t=>t.nativeElement)}class Ju{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new ga(t):null}get injector(){return b_(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(Ou(t)||__(t))}get context(){return Ou(this.nativeNode)||g_(this.nativeNode)}get listeners(){return C_(this.nativeNode).filter(t=>"dom"===t.type)}get references(){return function _w(e){const t=Qi(e);if(null===t)return{};if(void 0===t.localRefs){const n=t.lView;if(null===n)return{};t.localRefs=function Uy(e,t){const n=e[zt].data[t];if(n&&n.localNames){const r={};let s=n.index+1;for(let c=0;c<n.localNames.length;c+=2)r[n.localNames[c]]=e[s],s++;return r}return null}(n,t.nodeIndex)}return t.localRefs||{}}(this.nativeNode)}get providerTokens(){return function pw(e){const t=Qi(e),n=t?t.lView:null;if(null===n)return[];const r=n[zt],s=r.data[t.nodeIndex],c=[],E=s.directiveEnd;for(let x=1048575&s.providerIndexes;x<E;x++){let P=r.data[x];bw(P)&&(P=P.type),c.push(P)}return c}(this.nativeNode)}}class ga extends Ju{constructor(t){super(t)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){const t=Qi(this.nativeNode),n=t?t.lView:null;return null!==n?n[zt].data[t.nodeIndex].value:this.nativeNode.nodeName}get properties(){const t=Qi(this.nativeNode),n=t?t.lView:null;if(null===n)return{};const r=n[zt].data,s=r[t.nodeIndex],c={};return function nM(e,t){if(e){let n=Object.getPrototypeOf(e);const r=Node.prototype;for(;null!==n&&n!==r;){const s=Object.getOwnPropertyDescriptors(n);for(let c in s)if(!c.startsWith("__")&&!c.startsWith("on")){const _=e[c];iM(_)&&(t[c]=_)}n=Object.getPrototypeOf(n)}}}(this.nativeElement,c),function rM(e,t,n,r){let s=t.propertyBindings;if(null!==s)for(let c=0;c<s.length;c++){const _=s[c],x=r[_].split("\ufffd"),P=x[0];if(x.length>1){let Q=x[1];for(let De=1;De<x.length-1;De++)Q+=ae(n[_+De-1])+x[De+1];e[P]=Q}else e[P]=n[_]}}(c,s,n,r),c}get attributes(){const t={},n=this.nativeElement;if(!n)return t;const r=Qi(n),s=r?r.lView:null;if(null===s)return{};const c=s[zt].data[r.nodeIndex].attrs,_=[];if(c){let E=0;for(;E<c.length;){const x=c[E];if("string"!=typeof x)break;t[x]=c[E+1],_.push(x.toLowerCase()),E+=2}}for(const E of n.attributes)_.includes(E.name)||(t[E.name]=E.value);return t}get styles(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}get classes(){const t={},r=this.nativeElement.className;return("string"!=typeof r?r.baseVal.split(" "):r.split(" ")).forEach(c=>t[c]=!0),t}get childNodes(){const t=this.nativeNode.childNodes,n=[];for(let r=0;r<t.length;r++)n.push(Es(t[r]));return n}get children(){const t=this.nativeElement;if(!t)return[];const n=t.children,r=[];for(let s=0;s<n.length;s++)r.push(Es(n[s]));return r}query(t){return this.queryAll(t)[0]||null}queryAll(t){const n=[];return lb(this,t,n,!0),n}queryAllNodes(t){const n=[];return lb(this,t,n,!1),n}triggerEventHandler(t,n){const r=this.nativeNode,s=[];this.listeners.forEach(c=>{if(c.name===t){const _=c.callback;_.call(r,n),s.push(_)}}),"function"==typeof r.eventListeners&&r.eventListeners(t).forEach(c=>{if(-1!==c.toString().indexOf("__ngUnwrap__")){const _=c("__ngUnwrap__");return-1===s.indexOf(_)&&_.call(r,n)}})}}function iM(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function lb(e,t,n,r){const s=Qi(e.nativeNode),c=s?s.lView:null;null!==c?Ro(c[zt].data[s.nodeIndex],c,t,n,r,e.nativeNode):eh(e.nativeNode,t,n,r)}function Ro(e,t,n,r,s,c){const _=function xb(e,t){const n=null===e?-1:e.index;return-1!==n?ei(t[n]):null}(e,t);if(11&e.type){if(qu(_,n,r,s,c),ir(e)){const x=gr(e.index,t);x&&x[zt].firstChild&&Ro(x[zt].firstChild,x,n,r,s,c)}else e.child&&Ro(e.child,t,n,r,s,c),_&&eh(_,n,r,s);const E=t[e.index];li(E)&&cb(E,n,r,s,c)}else if(4&e.type){const E=t[e.index];qu(E[_i],n,r,s,c),cb(E,n,r,s,c)}else if(16&e.type){const E=t[Rn],P=E[oi].projection[e.projection];if(Array.isArray(P))for(let Q of P)qu(Q,n,r,s,c);else if(P){const Q=E[Nn];Ro(Q[zt].data[P.index],Q,n,r,s,c)}}else e.child&&Ro(e.child,t,n,r,s,c);if(c!==_){const E=2&e.flags?e.projectionNext:e.next;E&&Ro(E,t,n,r,s,c)}}function cb(e,t,n,r,s){for(let c=ai;c<e.length;c++){const _=e[c],E=_[zt].firstChild;E&&Ro(E,_,t,n,r,s)}}function qu(e,t,n,r,s){if(s!==e){const c=Es(e);if(!c)return;(r&&c instanceof ga&&t(c)&&-1===n.indexOf(c)||!r&&t(c)&&-1===n.indexOf(c))&&n.push(c)}}function eh(e,t,n,r){const s=e.childNodes,c=s.length;for(let _=0;_<c;_++){const E=s[_],x=Es(E);x&&((r&&x instanceof ga&&t(x)&&-1===n.indexOf(x)||!r&&t(x)&&-1===n.indexOf(x))&&n.push(x),eh(E,t,n,r))}}const nh="__ng_debug__";function Es(e){return e instanceof Node?(e.hasOwnProperty(nh)||(e[nh]=e.nodeType==Node.ELEMENT_NODE?new ga(e):new Ju(e)),e[nh]):null}class db{constructor(){}supports(t){return ul(t)}create(t){return new ub(t)}}const oM=(e,t)=>t;class ub{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||oM}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,s=0,c=null;for(;n||r;){const _=!r||n&&n.currentIndex<fb(r,s,c)?n:r,E=fb(_,s,c),x=_.currentIndex;if(_===r)s--,r=r._nextRemoved;else if(n=n._next,null==_.previousIndex)s++;else{c||(c=[]);const P=E-s,Q=x-s;if(P!=Q){for(let Je=0;Je<P;Je++){const ut=Je<c.length?c[Je]:c[Je]=0,It=ut+Je;Q<=It&&It<P&&(c[Je]=ut+1)}c[_.previousIndex]=Q-P}}E!==x&&t(_,E,x)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!ul(t))throw new K(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let s,c,_,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let E=0;E<this.length;E++)c=t[E],_=this._trackByFn(E,c),null!==n&&Object.is(n.trackById,_)?(r&&(n=this._verifyReinsertion(n,c,_,E)),Object.is(n.item,c)||this._addIdentityChange(n,c)):(n=this._mismatch(n,c,_,E),r=!0),n=n._next}else s=0,function gE(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,E=>{_=this._trackByFn(s,E),null!==n&&Object.is(n.trackById,_)?(r&&(n=this._verifyReinsertion(n,E,_,s)),Object.is(n.item,E)||this._addIdentityChange(n,E)):(n=this._mismatch(n,E,_,s),r=!0),n=n._next,s++}),this.length=s;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,s){let c;return null===t?c=this._itTail:(c=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,c,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,s))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,c,s)):t=this._addAfter(new sM(n,r),c,s),t}_verifyReinsertion(t,n,r,s){let c=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==c?t=this._reinsertAfter(c,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const s=t._prevRemoved,c=t._nextRemoved;return null===s?this._removalsHead=c:s._nextRemoved=c,null===c?this._removalsTail=s:c._prevRemoved=s,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const s=null===n?this._itHead:n._next;return t._next=s,t._prev=n,null===s?this._itTail=t:s._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new hb),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new hb),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class sM{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class aM{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class hb{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new aM,this.map.set(n,r)),r.add(t)}get(t,n){const s=this.map.get(t);return s?s.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function fb(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}class mb{constructor(){}supports(t){return t instanceof Map||pd(t)}create(){return new lM}}class lM{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||pd(t)))throw new K(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,s)=>{if(n&&n.key===s)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const c=this._getOrCreateRecordForKey(s,r);n=this._insertBeforeOrAppend(n,c)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const s=this._records.get(t);this._maybeAddToChanges(s,n);const c=s._prev,_=s._next;return c&&(c._next=_),_&&(_._prev=c),s._next=null,s._prev=null,s}const r=new cM(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class cM{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function pb(){return new ih([new db])}let ih=(()=>{class e{static#e=this.\u0275prov=Fe({token:e,providedIn:"root",factory:pb});constructor(n){this.factories=n}static create(n,r){if(null!=r){const s=r.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||pb()),deps:[[e,new Sa,new Ta]]}}find(n){const r=this.factories.find(s=>s.supports(n));if(null!=r)return r;throw new K(901,!1)}}return e})();function gb(){return new rh([new mb])}let rh=(()=>{class e{static#e=this.\u0275prov=Fe({token:e,providedIn:"root",factory:gb});constructor(n){this.factories=n}static create(n,r){if(r){const s=r.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||gb()),deps:[[e,new Sa,new Ta]]}}find(n){const r=this.factories.find(s=>s.supports(n));if(r)return r;throw new K(901,!1)}}return e})();const dM=[new mb],hM=new ih([new db]),fM=new rh(dM),mM=Yv(null,"core",[]);let pM=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(Mt(Cs))};static#t=this.\u0275mod=cr({type:e});static#n=this.\u0275inj=Ge({})}return e})();class gM{constructor(){this.views=[],this.indexByContent=new Map}add(t){const n=JSON.stringify(t);if(!this.indexByContent.has(n)){const r=this.views.length;return this.views.push(t),this.indexByContent.set(n,r),r}return this.indexByContent.get(n)}getAll(){return this.views}}let _M=0;function _b(e){return e.ssrId||(e.ssrId="t"+_M++),e.ssrId}function vb(e,t,n){const r=[];return ea(e,t,n,r),r.length}function vM(e){const t=[];return bp(e,t),t.length}function bb(e,t){const n=e[Bn];return n&&!n.hasAttribute(Ko)?Vl(n,e,t):null}function yb(e,t){const n=Ul(e[Bn]),r=bb(n,t),s=ei(n[Bn]),_=Vl(s,e[Nn],t);n[rn].setAttribute(s,Ks,`${r}|${_}`)}function bM(e,t){const n=new gM,r=new Map,s=e._views;for(const E of s){const x=ym(E);if(null!==x){const P={serializedViewCollection:n,corruptedTextNodes:r};li(x)?yb(x,P):bb(x,P),EM(r,t)}}const c=n.getAll();e.injector.get(Ws).set(Kc,c)}function yM(e,t){const n=[];let r="";for(let s=ai;s<e.length;s++){let _,E,x,c=e[s];if(Vr(c)&&(c=c[Cn],li(c))){E=vM(c)+1,yb(c,t);const Q=Ul(c[Bn]);x={[Wc]:Q[zt].ssrId,[es]:E}}if(!x){const Q=c[zt];1===Q.type?(_=Q.ssrId,E=1):(_=_b(Q),E=vb(Q,c,Q.firstChild)),x={[Wc]:_,[es]:E,...Eb(e[s],t)}}const P=JSON.stringify(x);if(n.length>0&&P===r){const Q=n[n.length-1];Q[Xa]??=1,Q[Xa]++}else r=P,n.push(x)}return n}function oh(e,t,n){const r=t.index-Cn;e[Gc]??={},e[Gc][r]=PE(t,n)}function Cb(e,t){const n=t.index-Cn;e[Ja]??=[],e[Ja].includes(n)||e[Ja].push(n)}function Eb(e,t){const n={},r=e[zt];for(let s=Cn;s<r.bindingStartIndex;s++){const c=r.data[s],_=s-Cn;if(c){if(Db(c,e)&&DM(c)){Cb(n,c);continue}if(Array.isArray(c.projection))for(const E of c.projection)if(E){if(Array.isArray(E))throw yE(ei(e[s]));!Hr(E)&&!ka(E)&&(Db(E,e)?Cb(n,E):oh(n,E,e))}if(li(e[s])){const E=c.tView;null!==E&&(n[$c]??={},n[$c][_]=_b(E));const x=e[s][Bn];if(Array.isArray(x)){const P=ei(x);P.hasAttribute(Ko)||Vl(P,x,t)}n[Gs]??={},n[Gs][_]=yM(e[s],t)}else if(Array.isArray(e[s])){const E=ei(e[s][Bn]);E.hasAttribute(Ko)||Vl(E,e[s],t)}else if(8&c.type)n[zc]??={},n[zc][_]=vb(r,e,c.child);else if(16&c.type){let E=c.next;for(;null!==E&&16&E.type;)E=E.next;E&&!ka(E)&&oh(n,E,e)}else{if(1&c.type){const E=ei(e[s]);""===E.textContent?t.corruptedTextNodes.set(E,"ngetn"):E.nextSibling?.nodeType===Node.TEXT_NODE&&t.corruptedTextNodes.set(E,"ngtns")}c.projectionNext&&c.projectionNext!==c.next&&!ka(c.projectionNext)&&oh(n,c.projectionNext,e)}}}return n}function Vl(e,t,n){const r=t[rn];if(function ao(e){return 32==(32&e[dn])}(t)||function CM(e){const t=e[Hn];return!!t?.constructor&&wn(t.constructor)?.encapsulation===Ue.ShadowDom}(t))return r.setAttribute(e,Ko,""),null;{const s=Eb(t,n),c=n.serializedViewCollection.add(s);return r.setAttribute(e,Ks,c.toString()),c}}function EM(e,t){for(const[n,r]of e)n.after(t.createComment(r))}function DM(e){let t=e;for(;null!=t;){if(ir(t))return!0;t=t.parent}return!1}function Db(e,t){return!(16&e.type||!t[e.index]||ei(t[e.index]).isConnected)}let wb=!1;function MM(){return Rc([{provide:Js,useFactory:()=>{let e=!0;return is()&&(e=!!xt(Ws,{optional:!0})?.get(Kc,null)),e&&xt(_m).add("hydration"),e}},{provide:$s,useValue:()=>{is()&&xt(Js)&&(function IM(){const e=Zo();let t;for(const n of e.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===vm){t=n;break}if(!t)throw new K(-507,!1)}(),function wM(){wb||(wb=!0,function G0(){bm=W0}(),function jE(){Wp=LE}(),function hD(){gg=uD}(),function HE(){Gp=VE}(),function kE(){Hp=FE}(),function Lw(){X_=Nw}(),function Pw(){G_=Aw}(),function SC(){op=TC}())}())},multi:!0},{provide:Gm,useFactory:()=>is()&&xt(Js)},{provide:Zu,useFactory:()=>{if(is()&&xt(Js)){const e=xt(Cs);return xt(Rr),()=>{(function xM(e,t){return e.isStable.pipe((0,u.P)(r=>r)).toPromise().then(()=>{})})(e).then(()=>{Ti.assertInAngularZone(),function Sw(e){const t=e._views;for(const n of t){const r=ym(n);null!==r&&null!==r[Bn]&&(hi(r)?Pl(r):(Pl(r[Bn]),W_(r)))}}(e)})}}return()=>{}},multi:!0}])}function TM(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function SM(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function OM(e){return xi().compileDirectiveDeclaration(Zi,`ng:///${e.type.name}/\u0275fac.js`,e)}function AM(e){E_(e.type,e.decorators,e.ctorParameters??null,e.propDecorators??null)}function PM(e){return xi().compileComponentDeclaration(Zi,`ng:///${e.type.name}/\u0275cmp.js`,e)}function RM(e){return xi(function FM(e){switch(e){case Eo.Directive:return"directive";case Eo.Component:return"component";case Eo.Injectable:return"injectable";case Eo.Pipe:return"pipe";case Eo.NgModule:return"NgModule"}}(e.target)).compileFactoryDeclaration(Zi,`ng:///${e.type.name}/\u0275fac.js`,e)}function kM(e){return xi().compileInjectableDeclaration(Zi,`ng:///${e.type.name}/\u0275prov.js`,e)}function NM(e){return xi().compileInjectorDeclaration(Zi,`ng:///${e.type.name}/\u0275inj.js`,e)}function LM(e){return xi().compileNgModuleDeclaration(Zi,`ng:///${e.type.name}/\u0275mod.js`,e)}function jM(e){return xi().compilePipeDeclaration(Zi,`ng:///${e.type.name}/\u0275pipe.js`,e)}function BM(e,t){const n=wn(e),r=t.elementInjector||Qa();return new as(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function VM(e){const t=wn(e);if(!t)return null;const n=new as(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}function HM(...e){return e.reduce((t,n)=>Object.assign(t,n,{providers:[...t.providers,...n.providers]}),{providers:[]})}},8832:(Z,l,o)=>{"use strict";o.r(l),o.d(l,{AbstractControl:()=>Ot,AbstractControlDirective:()=>Vt,AbstractFormGroupDirective:()=>$e,COMPOSITION_BUFFER_MODE:()=>M,CheckboxControlValueAccessor:()=>u,CheckboxRequiredValidator:()=>qn,ControlContainer:()=>Fe,DefaultValueAccessor:()=>S,EmailValidator:()=>Cn,FormArray:()=>li,FormArrayName:()=>fr,FormBuilder:()=>Di,FormControl:()=>U,FormControlDirective:()=>Xn,FormControlName:()=>zt,FormGroup:()=>Jt,FormGroupDirective:()=>ti,FormGroupName:()=>tr,FormRecord:()=>L,FormsModule:()=>bo,MaxLengthValidator:()=>_i,MaxValidator:()=>gi,MinLengthValidator:()=>yr,MinValidator:()=>ui,NG_ASYNC_VALIDATORS:()=>fe,NG_VALIDATORS:()=>N,NG_VALUE_ACCESSOR:()=>v,NgControl:()=>ke,NgControlStatus:()=>pt,NgControlStatusGroup:()=>dt,NgForm:()=>bn,NgModel:()=>ii,NgModelGroup:()=>yn,NgSelectOption:()=>oi,NonNullableFormBuilder:()=>Vr,NumberValueAccessor:()=>Ji,PatternValidator:()=>nr,RadioControlValueAccessor:()=>qi,RangeValueAccessor:()=>ur,ReactiveFormsModule:()=>lo,RequiredValidator:()=>si,SelectControlValueAccessor:()=>Oi,SelectMultipleControlValueAccessor:()=>rn,UntypedFormArray:()=>Br,UntypedFormBuilder:()=>Hr,UntypedFormControl:()=>se,UntypedFormGroup:()=>lt,VERSION:()=>ao,Validators:()=>oe,isFormArray:()=>ir,isFormControl:()=>$,isFormGroup:()=>ue,isFormRecord:()=>A,\u0275InternalFormsSharedModule:()=>hi,\u0275NgNoValidate:()=>Si,\u0275NgSelectMultipleOption:()=>Li});var i=o(7786),a=o(9462),f=o(107),p=o(6312),d=o(8412);let h=(()=>{class F{constructor(I,re){this._renderer=I,this._elementRef=re,this.onChange=Le=>{},this.onTouched=()=>{}}setProperty(I,re){this._renderer.setProperty(this._elementRef.nativeElement,I,re)}registerOnTouched(I){this.onTouched=I}registerOnChange(I){this.onChange=I}setDisabledState(I){this.setProperty("disabled",I)}static#e=this.\u0275fac=function(re){return new(re||F)(i.\u0275\u0275directiveInject(i.Renderer2),i.\u0275\u0275directiveInject(i.ElementRef))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F})}return F})(),g=(()=>{class F extends h{static#e=this.\u0275fac=function(){let I;return function(Le){return(I||(I=i.\u0275\u0275getInheritedFactory(F)))(Le||F)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,features:[i.\u0275\u0275InheritDefinitionFeature]})}return F})();const v=new i.InjectionToken("NgValueAccessor"),m={provide:v,useExisting:(0,i.forwardRef)(()=>u),multi:!0};let u=(()=>{class F extends g{writeValue(I){this.setProperty("checked",I)}static#e=this.\u0275fac=function(){let I;return function(Le){return(I||(I=i.\u0275\u0275getInheritedFactory(F)))(Le||F)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(re,Le){1&re&&i.\u0275\u0275listener("change",function(xn){return Le.onChange(xn.target.checked)})("blur",function(){return Le.onTouched()})},features:[i.\u0275\u0275ProvidersFeature([m]),i.\u0275\u0275InheritDefinitionFeature]})}return F})();const b={provide:v,useExisting:(0,i.forwardRef)(()=>S),multi:!0},M=new i.InjectionToken("CompositionEventMode");let S=(()=>{class F extends h{constructor(I,re,Le){super(I,re),this._compositionMode=Le,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function C(){const F=(0,a.\u0275getDOM)()?(0,a.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(F.toLowerCase())}())}writeValue(I){this.setProperty("value",I??"")}_handleInput(I){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(I)}_compositionStart(){this._composing=!0}_compositionEnd(I){this._composing=!1,this._compositionMode&&this.onChange(I)}static#e=this.\u0275fac=function(re){return new(re||F)(i.\u0275\u0275directiveInject(i.Renderer2),i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(M,8))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(re,Le){1&re&&i.\u0275\u0275listener("input",function(xn){return Le._handleInput(xn.target.value)})("blur",function(){return Le.onTouched()})("compositionstart",function(){return Le._compositionStart()})("compositionend",function(xn){return Le._compositionEnd(xn.target.value)})},features:[i.\u0275\u0275ProvidersFeature([b]),i.\u0275\u0275InheritDefinitionFeature]})}return F})();function H(F){return null==F||("string"==typeof F||Array.isArray(F))&&0===F.length}function j(F){return null!=F&&"number"==typeof F.length}const N=new i.InjectionToken("NgValidators"),fe=new i.InjectionToken("NgAsyncValidators"),z=/^(?=.{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])?)*$/;class oe{static min(V){return X(V)}static max(V){return K(V)}static required(V){return me(V)}static requiredTrue(V){return ae(V)}static email(V){return te(V)}static minLength(V){return pe(V)}static maxLength(V){return it(V)}static pattern(V){return be(V)}static nullValidator(V){return null}static compose(V){return je(V)}static composeAsync(V){return ye(V)}}function X(F){return V=>{if(H(V.value)||H(F))return null;const I=parseFloat(V.value);return!isNaN(I)&&I<F?{min:{min:F,actual:V.value}}:null}}function K(F){return V=>{if(H(V.value)||H(F))return null;const I=parseFloat(V.value);return!isNaN(I)&&I>F?{max:{max:F,actual:V.value}}:null}}function me(F){return H(F.value)?{required:!0}:null}function ae(F){return!0===F.value?null:{required:!0}}function te(F){return H(F.value)||z.test(F.value)?null:{email:!0}}function pe(F){return V=>H(V.value)||!j(V.value)?null:V.value.length<F?{minlength:{requiredLength:F,actualLength:V.value.length}}:null}function it(F){return V=>j(V.value)&&V.value.length>F?{maxlength:{requiredLength:F,actualLength:V.value.length}}:null}function be(F){if(!F)return We;let V,I;return"string"==typeof F?(I="","^"!==F.charAt(0)&&(I+="^"),I+=F,"$"!==F.charAt(F.length-1)&&(I+="$"),V=new RegExp(I)):(I=F.toString(),V=F),re=>{if(H(re.value))return null;const Le=re.value;return V.test(Le)?null:{pattern:{requiredPattern:I,actualValue:Le}}}}function We(F){return null}function ce(F){return null!=F}function Ae(F){return(0,i.\u0275isPromise)(F)?(0,f.D)(F):F}function Ye(F){let V={};return F.forEach(I=>{V=null!=I?{...V,...I}:V}),0===Object.keys(V).length?null:V}function Qe(F,V){return V.map(I=>I(F))}function kt(F){return F.map(V=>function ot(F){return!F.validate}(V)?V:I=>V.validate(I))}function je(F){if(!F)return null;const V=F.filter(ce);return 0==V.length?null:function(I){return Ye(Qe(I,V))}}function Ve(F){return null!=F?je(kt(F)):null}function ye(F){if(!F)return null;const V=F.filter(ce);return 0==V.length?null:function(I){const re=Qe(I,V).map(Ae);return(0,p.D)(re).pipe((0,d.U)(Ye))}}function we(F){return null!=F?ye(kt(F)):null}function ne(F,V){return null===F?[V]:Array.isArray(F)?[...F,V]:[F,V]}function B(F){return F._rawValidators}function J(F){return F._rawAsyncValidators}function Ze(F){return F?Array.isArray(F)?F:[F]:[]}function ct(F,V){return Array.isArray(F)?F.includes(V):F===V}function Nt(F,V){const I=Ze(V);return Ze(F).forEach(Le=>{ct(I,Le)||I.push(Le)}),I}function Dt(F,V){return Ze(V).filter(I=>!ct(F,I))}class Vt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}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}_setValidators(V){this._rawValidators=V||[],this._composedValidatorFn=Ve(this._rawValidators)}_setAsyncValidators(V){this._rawAsyncValidators=V||[],this._composedAsyncValidatorFn=we(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(V){this._onDestroyCallbacks.push(V)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(V=>V()),this._onDestroyCallbacks=[]}reset(V=void 0){this.control&&this.control.reset(V)}hasError(V,I){return!!this.control&&this.control.hasError(V,I)}getError(V,I){return this.control?this.control.getError(V,I):null}}class Fe extends Vt{get formDirective(){return null}get path(){return null}}class ke extends Vt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ge{constructor(V){this._cd=V}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let pt=(()=>{class F extends Ge{constructor(I){super(I)}static#e=this.\u0275fac=function(re){return new(re||F)(i.\u0275\u0275directiveInject(ke,2))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(re,Le){2&re&&i.\u0275\u0275classProp("ng-untouched",Le.isUntouched)("ng-touched",Le.isTouched)("ng-pristine",Le.isPristine)("ng-dirty",Le.isDirty)("ng-valid",Le.isValid)("ng-invalid",Le.isInvalid)("ng-pending",Le.isPending)},features:[i.\u0275\u0275InheritDefinitionFeature]})}return F})(),dt=(()=>{class F extends Ge{constructor(I){super(I)}static#e=this.\u0275fac=function(re){return new(re||F)(i.\u0275\u0275directiveInject(Fe,10))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(re,Le){2&re&&i.\u0275\u0275classProp("ng-untouched",Le.isUntouched)("ng-touched",Le.isTouched)("ng-pristine",Le.isPristine)("ng-dirty",Le.isDirty)("ng-valid",Le.isValid)("ng-invalid",Le.isInvalid)("ng-pending",Le.isPending)("ng-submitted",Le.isSubmitted)},features:[i.\u0275\u0275InheritDefinitionFeature]})}return F})();const Tt="VALID",Ft="INVALID",qt="PENDING",ln="DISABLED";function pn(F){return(Ce(F)?F.validators:F)||null}function _t(F,V){return(Ce(V)?V.asyncValidators:F)||null}function Ce(F){return null!=F&&!Array.isArray(F)&&"object"==typeof F}function Be(F,V,I){const re=F.controls;if(!(V?Object.keys(re):re).length)throw new i.\u0275RuntimeError(1e3,"");if(!re[I])throw new i.\u0275RuntimeError(1001,"")}function ht(F,V,I){F._forEachChild((re,Le)=>{if(void 0===I[Le])throw new i.\u0275RuntimeError(1002,"")})}class Ot{constructor(V,I){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(V),this._assignAsyncValidators(I)}get validator(){return this._composedValidatorFn}set validator(V){this._rawValidators=this._composedValidatorFn=V}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(V){this._rawAsyncValidators=this._composedAsyncValidatorFn=V}get parent(){return this._parent}get valid(){return this.status===Tt}get invalid(){return this.status===Ft}get pending(){return this.status==qt}get disabled(){return this.status===ln}get enabled(){return this.status!==ln}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(V){this._assignValidators(V)}setAsyncValidators(V){this._assignAsyncValidators(V)}addValidators(V){this.setValidators(Nt(V,this._rawValidators))}addAsyncValidators(V){this.setAsyncValidators(Nt(V,this._rawAsyncValidators))}removeValidators(V){this.setValidators(Dt(V,this._rawValidators))}removeAsyncValidators(V){this.setAsyncValidators(Dt(V,this._rawAsyncValidators))}hasValidator(V){return ct(this._rawValidators,V)}hasAsyncValidator(V){return ct(this._rawAsyncValidators,V)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(V={}){this.touched=!0,this._parent&&!V.onlySelf&&this._parent.markAsTouched(V)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(V=>V.markAllAsTouched())}markAsUntouched(V={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(I=>{I.markAsUntouched({onlySelf:!0})}),this._parent&&!V.onlySelf&&this._parent._updateTouched(V)}markAsDirty(V={}){this.pristine=!1,this._parent&&!V.onlySelf&&this._parent.markAsDirty(V)}markAsPristine(V={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(I=>{I.markAsPristine({onlySelf:!0})}),this._parent&&!V.onlySelf&&this._parent._updatePristine(V)}markAsPending(V={}){this.status=qt,!1!==V.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!V.onlySelf&&this._parent.markAsPending(V)}disable(V={}){const I=this._parentMarkedDirty(V.onlySelf);this.status=ln,this.errors=null,this._forEachChild(re=>{re.disable({...V,onlySelf:!0})}),this._updateValue(),!1!==V.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...V,skipPristineCheck:I}),this._onDisabledChange.forEach(re=>re(!0))}enable(V={}){const I=this._parentMarkedDirty(V.onlySelf);this.status=Tt,this._forEachChild(re=>{re.enable({...V,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:V.emitEvent}),this._updateAncestors({...V,skipPristineCheck:I}),this._onDisabledChange.forEach(re=>re(!1))}_updateAncestors(V){this._parent&&!V.onlySelf&&(this._parent.updateValueAndValidity(V),V.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(V){this._parent=V}getRawValue(){return this.value}updateValueAndValidity(V={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Tt||this.status===qt)&&this._runAsyncValidator(V.emitEvent)),!1!==V.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!V.onlySelf&&this._parent.updateValueAndValidity(V)}_updateTreeValidity(V={emitEvent:!0}){this._forEachChild(I=>I._updateTreeValidity(V)),this.updateValueAndValidity({onlySelf:!0,emitEvent:V.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ln:Tt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(V){if(this.asyncValidator){this.status=qt,this._hasOwnPendingAsyncValidator=!0;const I=Ae(this.asyncValidator(this));this._asyncValidationSubscription=I.subscribe(re=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(re,{emitEvent:V})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(V,I={}){this.errors=V,this._updateControlsErrors(!1!==I.emitEvent)}get(V){let I=V;return null==I||(Array.isArray(I)||(I=I.split(".")),0===I.length)?null:I.reduce((re,Le)=>re&&re._find(Le),this)}getError(V,I){const re=I?this.get(I):this;return re&&re.errors?re.errors[V]:null}hasError(V,I){return!!this.getError(V,I)}get root(){let V=this;for(;V._parent;)V=V._parent;return V}_updateControlsErrors(V){this.status=this._calculateStatus(),V&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(V)}_initObservables(){this.valueChanges=new i.EventEmitter,this.statusChanges=new i.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?ln:this.errors?Ft:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(qt)?qt:this._anyControlsHaveStatus(Ft)?Ft:Tt}_anyControlsHaveStatus(V){return this._anyControls(I=>I.status===V)}_anyControlsDirty(){return this._anyControls(V=>V.dirty)}_anyControlsTouched(){return this._anyControls(V=>V.touched)}_updatePristine(V={}){this.pristine=!this._anyControlsDirty(),this._parent&&!V.onlySelf&&this._parent._updatePristine(V)}_updateTouched(V={}){this.touched=this._anyControlsTouched(),this._parent&&!V.onlySelf&&this._parent._updateTouched(V)}_registerOnCollectionChange(V){this._onCollectionChange=V}_setUpdateStrategy(V){Ce(V)&&null!=V.updateOn&&(this._updateOn=V.updateOn)}_parentMarkedDirty(V){return!V&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(V){return null}_assignValidators(V){this._rawValidators=Array.isArray(V)?V.slice():V,this._composedValidatorFn=function Dn(F){return Array.isArray(F)?Ve(F):F||null}(this._rawValidators)}_assignAsyncValidators(V){this._rawAsyncValidators=Array.isArray(V)?V.slice():V,this._composedAsyncValidatorFn=function et(F){return Array.isArray(F)?we(F):F||null}(this._rawAsyncValidators)}}class Jt extends Ot{constructor(V,I,re){super(pn(I),_t(re,I)),this.controls=V,this._initObservables(),this._setUpdateStrategy(I),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(V,I){return this.controls[V]?this.controls[V]:(this.controls[V]=I,I.setParent(this),I._registerOnCollectionChange(this._onCollectionChange),I)}addControl(V,I,re={}){this.registerControl(V,I),this.updateValueAndValidity({emitEvent:re.emitEvent}),this._onCollectionChange()}removeControl(V,I={}){this.controls[V]&&this.controls[V]._registerOnCollectionChange(()=>{}),delete this.controls[V],this.updateValueAndValidity({emitEvent:I.emitEvent}),this._onCollectionChange()}setControl(V,I,re={}){this.controls[V]&&this.controls[V]._registerOnCollectionChange(()=>{}),delete this.controls[V],I&&this.registerControl(V,I),this.updateValueAndValidity({emitEvent:re.emitEvent}),this._onCollectionChange()}contains(V){return this.controls.hasOwnProperty(V)&&this.controls[V].enabled}setValue(V,I={}){ht(this,0,V),Object.keys(V).forEach(re=>{Be(this,!0,re),this.controls[re].setValue(V[re],{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I)}patchValue(V,I={}){null!=V&&(Object.keys(V).forEach(re=>{const Le=this.controls[re];Le&&Le.patchValue(V[re],{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I))}reset(V={},I={}){this._forEachChild((re,Le)=>{re.reset(V[Le],{onlySelf:!0,emitEvent:I.emitEvent})}),this._updatePristine(I),this._updateTouched(I),this.updateValueAndValidity(I)}getRawValue(){return this._reduceChildren({},(V,I,re)=>(V[re]=I.getRawValue(),V))}_syncPendingControls(){let V=this._reduceChildren(!1,(I,re)=>!!re._syncPendingControls()||I);return V&&this.updateValueAndValidity({onlySelf:!0}),V}_forEachChild(V){Object.keys(this.controls).forEach(I=>{const re=this.controls[I];re&&V(re,I)})}_setUpControls(){this._forEachChild(V=>{V.setParent(this),V._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(V){for(const[I,re]of Object.entries(this.controls))if(this.contains(I)&&V(re))return!0;return!1}_reduceValue(){return this._reduceChildren({},(I,re,Le)=>((re.enabled||this.disabled)&&(I[Le]=re.value),I))}_reduceChildren(V,I){let re=V;return this._forEachChild((Le,en)=>{re=I(re,Le,en)}),re}_allControlsDisabled(){for(const V of Object.keys(this.controls))if(this.controls[V].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(V){return this.controls.hasOwnProperty(V)?this.controls[V]:null}}const lt=Jt,ue=F=>F instanceof Jt;class L extends Jt{}const A=F=>F instanceof L,ie=new i.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>ze}),ze="always";function Mt(F,V){return[...V.path,F]}function Xe(F,V,I=ze){Se(F,V),V.valueAccessor.writeValue(F.value),(F.disabled||"always"===I)&&V.valueAccessor.setDisabledState?.(F.disabled),function Ht(F,V){V.valueAccessor.registerOnChange(I=>{F._pendingValue=I,F._pendingChange=!0,F._pendingDirty=!0,"change"===F.updateOn&&cn(F,V)})}(F,V),function fn(F,V){const I=(re,Le)=>{V.valueAccessor.writeValue(re),Le&&V.viewToModelUpdate(re)};F.registerOnChange(I),V._registerOnDestroy(()=>{F._unregisterOnChange(I)})}(F,V),function vn(F,V){V.valueAccessor.registerOnTouched(()=>{F._pendingTouched=!0,"blur"===F.updateOn&&F._pendingChange&&cn(F,V),"submit"!==F.updateOn&&F.markAsTouched()})}(F,V),function Me(F,V){if(V.valueAccessor.setDisabledState){const I=re=>{V.valueAccessor.setDisabledState(re)};F.registerOnDisabledChange(I),V._registerOnDestroy(()=>{F._unregisterOnDisabledChange(I)})}}(F,V)}function xt(F,V,I=!0){const re=()=>{};V.valueAccessor&&(V.valueAccessor.registerOnChange(re),V.valueAccessor.registerOnTouched(re)),vt(F,V),F&&(V._invokeOnDestroyCallbacks(),F._registerOnCollectionChange(()=>{}))}function de(F,V){F.forEach(I=>{I.registerOnValidatorChange&&I.registerOnValidatorChange(V)})}function Se(F,V){const I=B(F);null!==V.validator?F.setValidators(ne(I,V.validator)):"function"==typeof I&&F.setValidators([I]);const re=J(F);null!==V.asyncValidator?F.setAsyncValidators(ne(re,V.asyncValidator)):"function"==typeof re&&F.setAsyncValidators([re]);const Le=()=>F.updateValueAndValidity();de(V._rawValidators,Le),de(V._rawAsyncValidators,Le)}function vt(F,V){let I=!1;if(null!==F){if(null!==V.validator){const Le=B(F);if(Array.isArray(Le)&&Le.length>0){const en=Le.filter(xn=>xn!==V.validator);en.length!==Le.length&&(I=!0,F.setValidators(en))}}if(null!==V.asyncValidator){const Le=J(F);if(Array.isArray(Le)&&Le.length>0){const en=Le.filter(xn=>xn!==V.asyncValidator);en.length!==Le.length&&(I=!0,F.setAsyncValidators(en))}}}const re=()=>{};return de(V._rawValidators,re),de(V._rawAsyncValidators,re),I}function cn(F,V){F._pendingDirty&&F.markAsDirty(),F.setValue(F._pendingValue,{emitModelToViewChange:!1}),V.viewToModelUpdate(F._pendingValue),F._pendingChange=!1}function Ue(F,V){Se(F,V)}function tn(F,V){if(!F.hasOwnProperty("model"))return!1;const I=F.model;return!!I.isFirstChange()||!Object.is(V,I.currentValue)}function In(F,V){F._syncPendingControls(),V.forEach(I=>{const re=I.control;"submit"===re.updateOn&&re._pendingChange&&(I.viewToModelUpdate(re._pendingValue),re._pendingChange=!1)})}function Vn(F,V){if(!V)return null;let I,re,Le;return Array.isArray(V),V.forEach(en=>{en.constructor===S?I=en:function Gt(F){return Object.getPrototypeOf(F.constructor)===g}(en)?re=en:Le=en}),Le||re||I||null}const Ci={provide:Fe,useExisting:(0,i.forwardRef)(()=>bn)},Pn=(()=>Promise.resolve())();let bn=(()=>{class F extends Fe{constructor(I,re,Le){super(),this.callSetDisabledState=Le,this.submitted=!1,this._directives=new Set,this.ngSubmit=new i.EventEmitter,this.form=new Jt({},Ve(I),we(re))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(I){Pn.then(()=>{const re=this._findContainer(I.path);I.control=re.registerControl(I.name,I.control),Xe(I.control,I,this.callSetDisabledState),I.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(I)})}getControl(I){return this.form.get(I.path)}removeControl(I){Pn.then(()=>{const re=this._findContainer(I.path);re&&re.removeControl(I.name),this._directives.delete(I)})}addFormGroup(I){Pn.then(()=>{const re=this._findContainer(I.path),Le=new Jt({});Ue(Le,I),re.registerControl(I.name,Le),Le.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(I){Pn.then(()=>{const re=this._findContainer(I.path);re&&re.removeControl(I.name)})}getFormGroup(I){return this.form.get(I.path)}updateModel(I,re){Pn.then(()=>{this.form.get(I.path).setValue(re)})}setValue(I){this.control.setValue(I)}onSubmit(I){return this.submitted=!0,In(this.form,this._directives),this.ngSubmit.emit(I),"dialog"===I?.target?.method}onReset(){this.resetForm()}resetForm(I=void 0){this.form.reset(I),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(I){return I.pop(),I.length?this.form.get(I):this.form}static#e=this.\u0275fac=function(re){return new(re||F)(i.\u0275\u0275directiveInject(N,10),i.\u0275\u0275directiveInject(fe,10),i.\u0275\u0275directiveInject(ie,8))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(re,Le){1&re&&i.\u0275\u0275listener("submit",function(xn){return Le.onSubmit(xn)})("reset",function(){return Le.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.\u0275\u0275ProvidersFeature([Ci]),i.\u0275\u0275InheritDefinitionFeature]})}return F})();function le(F,V){const I=F.indexOf(V);I>-1&&F.splice(I,1)}function nt(F){return"object"==typeof F&&null!==F&&2===Object.keys(F).length&&"value"in F&&"disabled"in F}const U=class extends Ot{constructor(V=null,I,re){super(pn(I),_t(re,I)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(V),this._setUpdateStrategy(I),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ce(I)&&(I.nonNullable||I.initialValueIsDefault)&&(this.defaultValue=nt(V)?V.value:V)}setValue(V,I={}){this.value=this._pendingValue=V,this._onChange.length&&!1!==I.emitModelToViewChange&&this._onChange.forEach(re=>re(this.value,!1!==I.emitViewToModelChange)),this.updateValueAndValidity(I)}patchValue(V,I={}){this.setValue(V,I)}reset(V=this.defaultValue,I={}){this._applyFormState(V),this.markAsPristine(I),this.markAsUntouched(I),this.setValue(this.value,I),this._pendingChange=!1}_updateValue(){}_anyControls(V){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(V){this._onChange.push(V)}_unregisterOnChange(V){le(this._onChange,V)}registerOnDisabledChange(V){this._onDisabledChange.push(V)}_unregisterOnDisabledChange(V){le(this._onDisabledChange,V)}_forEachChild(V){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(V){nt(V)?(this.value=this._pendingValue=V.value,V.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=V}},se=U,$=F=>F instanceof U;let $e=(()=>{class F extends Fe{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Mt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=function(){let I;return function(Le){return(I||(I=i.\u0275\u0275getInheritedFactory(F)))(Le||F)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,features:[i.\u0275\u0275InheritDefinitionFeature]})}return F})();const Lt={provide:Fe,useExisting:(0,i.forwardRef)(()=>yn)};let yn=(()=>{class F extends $e{constructor(I,re,Le){super(),this.name="",this._parent=I,this._setValidators(re),this._setAsyncValidators(Le)}_checkParentType(){}static#e=this.\u0275fac=function(re){return new(re||F)(i.\u0275\u0275directiveInject(Fe,5),i.\u0275\u0275directiveInject(N,10),i.\u0275\u0275directiveInject(fe,10))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[i.\u0275\u0275ProvidersFeature([Lt]),i.\u0275\u0275InheritDefinitionFeature]})}return F})();const Tn={provide:ke,useExisting:(0,i.forwardRef)(()=>ii)},Kn=(()=>Promise.resolve())();let ii=(()=>{class F extends ke{constructor(I,re,Le,en,xn,Bi){super(),this._changeDetectorRef=xn,this.callSetDisabledState=Bi,this.control=new U,this._registered=!1,this.name="",this.update=new i.EventEmitter,this._parent=I,this._setValidators(re),this._setAsyncValidators(Le),this.valueAccessor=Vn(0,en)}ngOnChanges(I){if(this._checkForErrors(),!this._registered||"name"in I){if(this._registered&&(this._checkName(),this.formDirective)){const re=I.name.previousValue;this.formDirective.removeControl({name:re,path:this._getPath(re)})}this._setUpControl()}"isDisabled"in I&&this._updateDisabled(I),tn(I,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(I){this.viewModel=I,this.update.emit(I)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Xe(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(I){Kn.then(()=>{this.control.setValue(I,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(I){const re=I.isDisabled.currentValue,Le=0!==re&&(0,i.booleanAttribute)(re);Kn.then(()=>{Le&&!this.control.disabled?this.control.disable():!Le&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(I){return this._parent?Mt(I,this._parent):[I]}static#e=this.\u0275fac=function(re){return new(re||F)(i.\u0275\u0275directiveInject(Fe,9),i.\u0275\u0275directiveInject(N,10),i.\u0275\u0275directiveInject(fe,10),i.\u0275\u0275directiveInject(v,10),i.\u0275\u0275directiveInject(i.ChangeDetectorRef,8),i.\u0275\u0275directiveInject(ie,8))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i.\u0275\u0275ProvidersFeature([Tn]),i.\u0275\u0275InheritDefinitionFeature,i.\u0275\u0275NgOnChangesFeature]})}return F})(),Si=(()=>{class F{static#e=this.\u0275fac=function(re){return new(re||F)};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return F})();const ri={provide:v,useExisting:(0,i.forwardRef)(()=>Ji),multi:!0};let Ji=(()=>{class F extends g{writeValue(I){this.setProperty("value",I??"")}registerOnChange(I){this.onChange=re=>{I(""==re?null:parseFloat(re))}}static#e=this.\u0275fac=function(){let I;return function(Le){return(I||(I=i.\u0275\u0275getInheritedFactory(F)))(Le||F)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(re,Le){1&re&&i.\u0275\u0275listener("input",function(xn){return Le.onChange(xn.target.value)})("blur",function(){return Le.onTouched()})},features:[i.\u0275\u0275ProvidersFeature([ri]),i.\u0275\u0275InheritDefinitionFeature]})}return F})();const Tr={provide:v,useExisting:(0,i.forwardRef)(()=>qi),multi:!0};let cr=(()=>{class F{static#e=this.\u0275fac=function(re){return new(re||F)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:F});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({})}return F})(),Lr=(()=>{class F{constructor(){this._accessors=[]}add(I,re){this._accessors.push([I,re])}remove(I){for(let re=this._accessors.length-1;re>=0;--re)if(this._accessors[re][1]===I)return void this._accessors.splice(re,1)}select(I){this._accessors.forEach(re=>{this._isSameGroup(re,I)&&re[1]!==I&&re[1].fireUncheck(I.value)})}_isSameGroup(I,re){return!!I[0].control&&I[0]._parent===re._control._parent&&I[1].name===re.name}static#e=this.\u0275fac=function(re){return new(re||F)};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac,providedIn:cr})}return F})(),qi=(()=>{class F extends g{constructor(I,re,Le,en){super(I,re),this._registry=Le,this._injector=en,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,i.inject)(ie,{optional:!0})??ze}ngOnInit(){this._control=this._injector.get(ke),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(I){this._state=I===this.value,this.setProperty("checked",this._state)}registerOnChange(I){this._fn=I,this.onChange=()=>{I(this.value),this._registry.select(this)}}setDisabledState(I){(this.setDisabledStateFired||I||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",I),this.setDisabledStateFired=!0}fireUncheck(I){this.writeValue(I)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(re){return new(re||F)(i.\u0275\u0275directiveInject(i.Renderer2),i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(Lr),i.\u0275\u0275directiveInject(i.Injector))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(re,Le){1&re&&i.\u0275\u0275listener("change",function(){return Le.onChange()})("blur",function(){return Le.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[i.\u0275\u0275ProvidersFeature([Tr]),i.\u0275\u0275InheritDefinitionFeature]})}return F})();const dr={provide:v,useExisting:(0,i.forwardRef)(()=>ur),multi:!0};let ur=(()=>{class F extends g{writeValue(I){this.setProperty("value",parseFloat(I))}registerOnChange(I){this.onChange=re=>{I(""==re?null:parseFloat(re))}}static#e=this.\u0275fac=function(){let I;return function(Le){return(I||(I=i.\u0275\u0275getInheritedFactory(F)))(Le||F)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(re,Le){1&re&&i.\u0275\u0275listener("change",function(xn){return Le.onChange(xn.target.value)})("input",function(xn){return Le.onChange(xn.target.value)})("blur",function(){return Le.onTouched()})},features:[i.\u0275\u0275ProvidersFeature([dr]),i.\u0275\u0275InheritDefinitionFeature]})}return F})();const wn=new i.InjectionToken("NgModelWithFormControlWarning"),Zn={provide:ke,useExisting:(0,i.forwardRef)(()=>Xn)};let Xn=(()=>{class F extends ke{set isDisabled(I){}static#e=this._ngModelWarningSentOnce=!1;constructor(I,re,Le,en,xn){super(),this._ngModelWarningConfig=en,this.callSetDisabledState=xn,this.update=new i.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(I),this._setAsyncValidators(re),this.valueAccessor=Vn(0,Le)}ngOnChanges(I){if(this._isControlChanged(I)){const re=I.form.previousValue;re&&xt(re,this,!1),Xe(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}tn(I,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&xt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(I){this.viewModel=I,this.update.emit(I)}_isControlChanged(I){return I.hasOwnProperty("form")}static#t=this.\u0275fac=function(re){return new(re||F)(i.\u0275\u0275directiveInject(N,10),i.\u0275\u0275directiveInject(fe,10),i.\u0275\u0275directiveInject(v,10),i.\u0275\u0275directiveInject(wn,8),i.\u0275\u0275directiveInject(ie,8))};static#n=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i.\u0275\u0275ProvidersFeature([Zn]),i.\u0275\u0275InheritDefinitionFeature,i.\u0275\u0275NgOnChangesFeature]})}return F})();const er={provide:Fe,useExisting:(0,i.forwardRef)(()=>ti)};let ti=(()=>{class F extends Fe{constructor(I,re,Le){super(),this.callSetDisabledState=Le,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.EventEmitter,this._setValidators(I),this._setAsyncValidators(re)}ngOnChanges(I){this._checkFormPresent(),I.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(vt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(I){const re=this.form.get(I.path);return Xe(re,I,this.callSetDisabledState),re.updateValueAndValidity({emitEvent:!1}),this.directives.push(I),re}getControl(I){return this.form.get(I.path)}removeControl(I){xt(I.control||null,I,!1),function An(F,V){const I=F.indexOf(V);I>-1&&F.splice(I,1)}(this.directives,I)}addFormGroup(I){this._setUpFormContainer(I)}removeFormGroup(I){this._cleanUpFormContainer(I)}getFormGroup(I){return this.form.get(I.path)}addFormArray(I){this._setUpFormContainer(I)}removeFormArray(I){this._cleanUpFormContainer(I)}getFormArray(I){return this.form.get(I.path)}updateModel(I,re){this.form.get(I.path).setValue(re)}onSubmit(I){return this.submitted=!0,In(this.form,this.directives),this.ngSubmit.emit(I),"dialog"===I?.target?.method}onReset(){this.resetForm()}resetForm(I=void 0){this.form.reset(I),this.submitted=!1}_updateDomValue(){this.directives.forEach(I=>{const re=I.control,Le=this.form.get(I.path);re!==Le&&(xt(re||null,I),$(Le)&&(Xe(Le,I,this.callSetDisabledState),I.control=Le))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(I){const re=this.form.get(I.path);Ue(re,I),re.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(I){if(this.form){const re=this.form.get(I.path);re&&function Re(F,V){return vt(F,V)}(re,I)&&re.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Se(this.form,this),this._oldForm&&vt(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(re){return new(re||F)(i.\u0275\u0275directiveInject(N,10),i.\u0275\u0275directiveInject(fe,10),i.\u0275\u0275directiveInject(ie,8))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["","formGroup",""]],hostBindings:function(re,Le){1&re&&i.\u0275\u0275listener("submit",function(xn){return Le.onSubmit(xn)})("reset",function(){return Le.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.\u0275\u0275ProvidersFeature([er]),i.\u0275\u0275InheritDefinitionFeature,i.\u0275\u0275NgOnChangesFeature]})}return F})();const Sr={provide:Fe,useExisting:(0,i.forwardRef)(()=>tr)};let tr=(()=>{class F extends $e{constructor(I,re,Le){super(),this.name=null,this._parent=I,this._setValidators(re),this._setAsyncValidators(Le)}_checkParentType(){Or(this._parent)}static#e=this.\u0275fac=function(re){return new(re||F)(i.\u0275\u0275directiveInject(Fe,13),i.\u0275\u0275directiveInject(N,10),i.\u0275\u0275directiveInject(fe,10))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[i.\u0275\u0275ProvidersFeature([Sr]),i.\u0275\u0275InheritDefinitionFeature]})}return F})();const hr={provide:Fe,useExisting:(0,i.forwardRef)(()=>fr)};let fr=(()=>{class F extends Fe{constructor(I,re,Le){super(),this.name=null,this._parent=I,this._setValidators(re),this._setAsyncValidators(Le)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Mt(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Or(this._parent)}static#e=this.\u0275fac=function(re){return new(re||F)(i.\u0275\u0275directiveInject(Fe,13),i.\u0275\u0275directiveInject(N,10),i.\u0275\u0275directiveInject(fe,10))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[i.\u0275\u0275ProvidersFeature([hr]),i.\u0275\u0275InheritDefinitionFeature]})}return F})();function Or(F){return!(F instanceof tr||F instanceof ti||F instanceof fr)}const Bn={provide:ke,useExisting:(0,i.forwardRef)(()=>zt)};let zt=(()=>{class F extends ke{set isDisabled(I){}static#e=this._ngModelWarningSentOnce=!1;constructor(I,re,Le,en,xn){super(),this._ngModelWarningConfig=xn,this._added=!1,this.name=null,this.update=new i.EventEmitter,this._ngModelWarningSent=!1,this._parent=I,this._setValidators(re),this._setAsyncValidators(Le),this.valueAccessor=Vn(0,en)}ngOnChanges(I){this._added||this._setUpControl(),tn(I,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(I){this.viewModel=I,this.update.emit(I)}get path(){return Mt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(re){return new(re||F)(i.\u0275\u0275directiveInject(Fe,13),i.\u0275\u0275directiveInject(N,10),i.\u0275\u0275directiveInject(fe,10),i.\u0275\u0275directiveInject(v,10),i.\u0275\u0275directiveInject(wn,8))};static#n=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i.\u0275\u0275ProvidersFeature([Bn]),i.\u0275\u0275InheritDefinitionFeature,i.\u0275\u0275NgOnChangesFeature]})}return F})();const dn={provide:v,useExisting:(0,i.forwardRef)(()=>Oi),multi:!0};function Nn(F,V){return null==F?`${V}`:(V&&"object"==typeof V&&(V="Object"),`${F}: ${V}`.slice(0,50))}let Oi=(()=>{class F extends g{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(I){this._compareWith=I}writeValue(I){this.value=I;const Le=Nn(this._getOptionId(I),I);this.setProperty("value",Le)}registerOnChange(I){this.onChange=re=>{this.value=this._getOptionValue(re),I(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(I){for(const re of this._optionMap.keys())if(this._compareWith(this._optionMap.get(re),I))return re;return null}_getOptionValue(I){const re=function pi(F){return F.split(":")[0]}(I);return this._optionMap.has(re)?this._optionMap.get(re):I}static#e=this.\u0275fac=function(){let I;return function(Le){return(I||(I=i.\u0275\u0275getInheritedFactory(F)))(Le||F)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(re,Le){1&re&&i.\u0275\u0275listener("change",function(xn){return Le.onChange(xn.target.value)})("blur",function(){return Le.onTouched()})},inputs:{compareWith:"compareWith"},features:[i.\u0275\u0275ProvidersFeature([dn]),i.\u0275\u0275InheritDefinitionFeature]})}return F})(),oi=(()=>{class F{constructor(I,re,Le){this._element=I,this._renderer=re,this._select=Le,this._select&&(this.id=this._select._registerOption())}set ngValue(I){null!=this._select&&(this._select._optionMap.set(this.id,I),this._setElementValue(Nn(this.id,I)),this._select.writeValue(this._select.value))}set value(I){this._setElementValue(I),this._select&&this._select.writeValue(this._select.value)}_setElementValue(I){this._renderer.setProperty(this._element.nativeElement,"value",I)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(re){return new(re||F)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.Renderer2),i.\u0275\u0275directiveInject(Oi,9))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return F})();const Ui={provide:v,useExisting:(0,i.forwardRef)(()=>rn),multi:!0};function Hn(F,V){return null==F?`${V}`:("string"==typeof V&&(V=`'${V}'`),V&&"object"==typeof V&&(V="Object"),`${F}: ${V}`.slice(0,50))}let rn=(()=>{class F extends g{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(I){this._compareWith=I}writeValue(I){let re;if(this.value=I,Array.isArray(I)){const Le=I.map(en=>this._getOptionId(en));re=(en,xn)=>{en._setSelected(Le.indexOf(xn.toString())>-1)}}else re=(Le,en)=>{Le._setSelected(!1)};this._optionMap.forEach(re)}registerOnChange(I){this.onChange=re=>{const Le=[],en=re.selectedOptions;if(void 0!==en){const xn=en;for(let Bi=0;Bi<xn.length;Bi++){const co=this._getOptionValue(xn[Bi].value);Le.push(co)}}else{const xn=re.options;for(let Bi=0;Bi<xn.length;Bi++){const Ar=xn[Bi];if(Ar.selected){const co=this._getOptionValue(Ar.value);Le.push(co)}}}this.value=Le,I(Le)}}_registerOption(I){const re=(this._idCounter++).toString();return this._optionMap.set(re,I),re}_getOptionId(I){for(const re of this._optionMap.keys())if(this._compareWith(this._optionMap.get(re)._value,I))return re;return null}_getOptionValue(I){const re=function Qn(F){return F.split(":")[0]}(I);return this._optionMap.has(re)?this._optionMap.get(re)._value:I}static#e=this.\u0275fac=function(){let I;return function(Le){return(I||(I=i.\u0275\u0275getInheritedFactory(F)))(Le||F)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(re,Le){1&re&&i.\u0275\u0275listener("change",function(xn){return Le.onChange(xn.target)})("blur",function(){return Le.onTouched()})},inputs:{compareWith:"compareWith"},features:[i.\u0275\u0275ProvidersFeature([Ui]),i.\u0275\u0275InheritDefinitionFeature]})}return F})(),Li=(()=>{class F{constructor(I,re,Le){this._element=I,this._renderer=re,this._select=Le,this._select&&(this.id=this._select._registerOption(this))}set ngValue(I){null!=this._select&&(this._value=I,this._setElementValue(Hn(this.id,I)),this._select.writeValue(this._select.value))}set value(I){this._select?(this._value=I,this._setElementValue(Hn(this.id,I)),this._select.writeValue(this._select.value)):this._setElementValue(I)}_setElementValue(I){this._renderer.setProperty(this._element.nativeElement,"value",I)}_setSelected(I){this._renderer.setProperty(this._element.nativeElement,"selected",I)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(re){return new(re||F)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.Renderer2),i.\u0275\u0275directiveInject(rn,9))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return F})();function br(F){return"number"==typeof F?F:parseInt(F,10)}function zi(F){return"number"==typeof F?F:parseFloat(F)}let Rn=(()=>{class F{constructor(){this._validator=We}ngOnChanges(I){if(this.inputName in I){const re=this.normalizeInput(I[this.inputName].currentValue);this._enabled=this.enabled(re),this._validator=this._enabled?this.createValidator(re):We,this._onChange&&this._onChange()}}validate(I){return this._validator(I)}registerOnValidatorChange(I){this._onChange=I}enabled(I){return null!=I}static#e=this.\u0275fac=function(re){return new(re||F)};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,features:[i.\u0275\u0275NgOnChangesFeature]})}return F})();const mr={provide:N,useExisting:(0,i.forwardRef)(()=>gi),multi:!0};let gi=(()=>{class F extends Rn{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=I=>zi(I),this.createValidator=I=>K(I)}static#e=this.\u0275fac=function(){let I;return function(Le){return(I||(I=i.\u0275\u0275getInheritedFactory(F)))(Le||F)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(re,Le){2&re&&i.\u0275\u0275attribute("max",Le._enabled?Le.max:null)},inputs:{max:"max"},features:[i.\u0275\u0275ProvidersFeature([mr]),i.\u0275\u0275InheritDefinitionFeature]})}return F})();const Jn={provide:N,useExisting:(0,i.forwardRef)(()=>ui),multi:!0};let ui=(()=>{class F extends Rn{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=I=>zi(I),this.createValidator=I=>X(I)}static#e=this.\u0275fac=function(){let I;return function(Le){return(I||(I=i.\u0275\u0275getInheritedFactory(F)))(Le||F)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(re,Le){2&re&&i.\u0275\u0275attribute("min",Le._enabled?Le.min:null)},inputs:{min:"min"},features:[i.\u0275\u0275ProvidersFeature([Jn]),i.\u0275\u0275InheritDefinitionFeature]})}return F})();const Ai={provide:N,useExisting:(0,i.forwardRef)(()=>si),multi:!0},$i={provide:N,useExisting:(0,i.forwardRef)(()=>qn),multi:!0};let si=(()=>{class F extends Rn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=i.booleanAttribute,this.createValidator=I=>me}enabled(I){return I}static#e=this.\u0275fac=function(){let I;return function(Le){return(I||(I=i.\u0275\u0275getInheritedFactory(F)))(Le||F)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(re,Le){2&re&&i.\u0275\u0275attribute("required",Le._enabled?"":null)},inputs:{required:"required"},features:[i.\u0275\u0275ProvidersFeature([Ai]),i.\u0275\u0275InheritDefinitionFeature]})}return F})(),qn=(()=>{class F extends si{constructor(){super(...arguments),this.createValidator=I=>ae}static#e=this.\u0275fac=function(){let I;return function(Le){return(I||(I=i.\u0275\u0275getInheritedFactory(F)))(Le||F)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(re,Le){2&re&&i.\u0275\u0275attribute("required",Le._enabled?"":null)},features:[i.\u0275\u0275ProvidersFeature([$i]),i.\u0275\u0275InheritDefinitionFeature]})}return F})();const Pi={provide:N,useExisting:(0,i.forwardRef)(()=>Cn),multi:!0};let Cn=(()=>{class F extends Rn{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=i.booleanAttribute,this.createValidator=I=>te}enabled(I){return I}static#e=this.\u0275fac=function(){let I;return function(Le){return(I||(I=i.\u0275\u0275getInheritedFactory(F)))(Le||F)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[i.\u0275\u0275ProvidersFeature([Pi]),i.\u0275\u0275InheritDefinitionFeature]})}return F})();const Fo={provide:N,useExisting:(0,i.forwardRef)(()=>yr),multi:!0};let yr=(()=>{class F extends Rn{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=I=>br(I),this.createValidator=I=>pe(I)}static#e=this.\u0275fac=function(){let I;return function(Le){return(I||(I=i.\u0275\u0275getInheritedFactory(F)))(Le||F)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(re,Le){2&re&&i.\u0275\u0275attribute("minlength",Le._enabled?Le.minlength:null)},inputs:{minlength:"minlength"},features:[i.\u0275\u0275ProvidersFeature([Fo]),i.\u0275\u0275InheritDefinitionFeature]})}return F})();const Cr={provide:N,useExisting:(0,i.forwardRef)(()=>_i),multi:!0};let _i=(()=>{class F extends Rn{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=I=>br(I),this.createValidator=I=>it(I)}static#e=this.\u0275fac=function(){let I;return function(Le){return(I||(I=i.\u0275\u0275getInheritedFactory(F)))(Le||F)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(re,Le){2&re&&i.\u0275\u0275attribute("maxlength",Le._enabled?Le.maxlength:null)},inputs:{maxlength:"maxlength"},features:[i.\u0275\u0275ProvidersFeature([Cr]),i.\u0275\u0275InheritDefinitionFeature]})}return F})();const ji={provide:N,useExisting:(0,i.forwardRef)(()=>nr),multi:!0};let nr=(()=>{class F extends Rn{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=I=>I,this.createValidator=I=>be(I)}static#e=this.\u0275fac=function(){let I;return function(Le){return(I||(I=i.\u0275\u0275getInheritedFactory(F)))(Le||F)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:F,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(re,Le){2&re&&i.\u0275\u0275attribute("pattern",Le._enabled?Le.pattern:null)},inputs:{pattern:"pattern"},features:[i.\u0275\u0275ProvidersFeature([ji]),i.\u0275\u0275InheritDefinitionFeature]})}return F})(),hi=(()=>{class F{static#e=this.\u0275fac=function(re){return new(re||F)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:F});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({imports:[cr]})}return F})();class li extends Ot{constructor(V,I,re){super(pn(I),_t(re,I)),this.controls=V,this._initObservables(),this._setUpdateStrategy(I),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(V){return this.controls[this._adjustIndex(V)]}push(V,I={}){this.controls.push(V),this._registerControl(V),this.updateValueAndValidity({emitEvent:I.emitEvent}),this._onCollectionChange()}insert(V,I,re={}){this.controls.splice(V,0,I),this._registerControl(I),this.updateValueAndValidity({emitEvent:re.emitEvent})}removeAt(V,I={}){let re=this._adjustIndex(V);re<0&&(re=0),this.controls[re]&&this.controls[re]._registerOnCollectionChange(()=>{}),this.controls.splice(re,1),this.updateValueAndValidity({emitEvent:I.emitEvent})}setControl(V,I,re={}){let Le=this._adjustIndex(V);Le<0&&(Le=0),this.controls[Le]&&this.controls[Le]._registerOnCollectionChange(()=>{}),this.controls.splice(Le,1),I&&(this.controls.splice(Le,0,I),this._registerControl(I)),this.updateValueAndValidity({emitEvent:re.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(V,I={}){ht(this,0,V),V.forEach((re,Le)=>{Be(this,!1,Le),this.at(Le).setValue(re,{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I)}patchValue(V,I={}){null!=V&&(V.forEach((re,Le)=>{this.at(Le)&&this.at(Le).patchValue(re,{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I))}reset(V=[],I={}){this._forEachChild((re,Le)=>{re.reset(V[Le],{onlySelf:!0,emitEvent:I.emitEvent})}),this._updatePristine(I),this._updateTouched(I),this.updateValueAndValidity(I)}getRawValue(){return this.controls.map(V=>V.getRawValue())}clear(V={}){this.controls.length<1||(this._forEachChild(I=>I._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:V.emitEvent}))}_adjustIndex(V){return V<0?V+this.length:V}_syncPendingControls(){let V=this.controls.reduce((I,re)=>!!re._syncPendingControls()||I,!1);return V&&this.updateValueAndValidity({onlySelf:!0}),V}_forEachChild(V){this.controls.forEach((I,re)=>{V(I,re)})}_updateValue(){this.value=this.controls.filter(V=>V.enabled||this.disabled).map(V=>V.value)}_anyControls(V){return this.controls.some(I=>I.enabled&&V(I))}_setUpControls(){this._forEachChild(V=>this._registerControl(V))}_allControlsDisabled(){for(const V of this.controls)if(V.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(V){V.setParent(this),V._registerOnCollectionChange(this._onCollectionChange)}_find(V){return this.at(V)??null}}const Br=li,ir=F=>F instanceof li;function Er(F){return!!F&&(void 0!==F.asyncValidators||void 0!==F.validators||void 0!==F.updateOn)}let Di=(()=>{class F{constructor(){this.useNonNullable=!1}get nonNullable(){const I=new F;return I.useNonNullable=!0,I}group(I,re=null){const Le=this._reduceControls(I);let en={};return Er(re)?en=re:null!==re&&(en.validators=re.validator,en.asyncValidators=re.asyncValidator),new Jt(Le,en)}record(I,re=null){const Le=this._reduceControls(I);return new L(Le,re)}control(I,re,Le){let en={};return this.useNonNullable?(Er(re)?en=re:(en.validators=re,en.asyncValidators=Le),new U(I,{...en,nonNullable:!0})):new U(I,re,Le)}array(I,re,Le){const en=I.map(xn=>this._createControl(xn));return new li(en,re,Le)}_reduceControls(I){const re={};return Object.keys(I).forEach(Le=>{re[Le]=this._createControl(I[Le])}),re}_createControl(I){return I instanceof U||I instanceof Ot?I:Array.isArray(I)?this.control(I[0],I.length>1?I[1]:null,I.length>2?I[2]:null):this.control(I)}static#e=this.\u0275fac=function(re){return new(re||F)};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac,providedIn:"root"})}return F})(),Vr=(()=>{class F{static#e=this.\u0275fac=function(re){return new(re||F)};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:F,factory:function(){return(0,i.inject)(Di).nonNullable},providedIn:"root"})}return F})(),Hr=(()=>{class F extends Di{group(I,re=null){return super.group(I,re)}control(I,re,Le){return super.control(I,re,Le)}array(I,re,Le){return super.array(I,re,Le)}static#e=this.\u0275fac=function(){let I;return function(Le){return(I||(I=i.\u0275\u0275getInheritedFactory(F)))(Le||F)}}();static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac,providedIn:"root"})}return F})();const ao=new i.Version("16.2.7");let bo=(()=>{class F{static withConfig(I){return{ngModule:F,providers:[{provide:ie,useValue:I.callSetDisabledState??ze}]}}static#e=this.\u0275fac=function(re){return new(re||F)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:F});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({imports:[hi]})}return F})(),lo=(()=>{class F{static withConfig(I){return{ngModule:F,providers:[{provide:wn,useValue:I.warnOnNgModelWithFormControl??"always"},{provide:ie,useValue:I.callSetDisabledState??ze}]}}static#e=this.\u0275fac=function(re){return new(re||F)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:F});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({imports:[hi]})}return F})()},7950:(Z,l,o)=>{"use strict";o.r(l),o.d(l,{MAT_FAB_DEFAULT_OPTIONS:()=>it,MAT_FAB_DEFAULT_OPTIONS_FACTORY:()=>be,MatAnchor:()=>pe,MatButton:()=>te,MatButtonModule:()=>Ve,MatFabAnchor:()=>Qe,MatFabButton:()=>Ae,MatIconAnchor:()=>je,MatIconButton:()=>kt,MatMiniFabAnchor:()=>ot,MatMiniFabButton:()=>Ye});var i=o(3844),a=o(7786),f=o(8654),p=o(5988),d=o(9021);const h=["mat-button",""],g=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],v=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],u=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",b=["mat-fab",""],C=["mat-mini-fab",""],M='.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab:hover{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family);font-size:var(--mdc-typography-button-font-size);line-height:var(--mdc-typography-button-line-height);font-weight:var(--mdc-typography-button-font-weight);letter-spacing:var(--mdc-typography-button-letter-spacing);text-decoration:var(--mdc-typography-button-text-decoration);text-transform:var(--mdc-typography-button-text-transform);border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab,.mat-mdc-mini-fab{background-color:var(--mdc-fab-container-color);--mdc-fab-container-shape:50%;--mdc-fab-icon-size:24px}.mat-mdc-fab .mdc-fab__icon,.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-extended-fab{font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}',S=["mat-icon-button",""],H=["*"],z=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],oe=(0,d.mixinColor)((0,d.mixinDisabled)((0,d.mixinDisableRipple)(class{constructor(ye){this._elementRef=ye}})));let X=(()=>{class ye extends oe{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(ne){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,ne)}get disableRipple(){return this._disableRipple}set disableRipple(ne){this._disableRipple=(0,p.Ig)(ne),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(ne){this._disabled=(0,p.Ig)(ne),this._updateRippleDisabled()}constructor(ne,B,J,Ze){super(ne),this._platform=B,this._ngZone=J,this._animationMode=Ze,this._focusMonitor=(0,a.inject)(f.tE),this._rippleLoader=(0,a.inject)(d.MatRippleLoader),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const ct=ne.nativeElement.classList;for(const Nt of z)this._hasHostAttributes(Nt.selector)&&Nt.mdcClasses.forEach(Dt=>{ct.add(Dt)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(ne="program",B){ne?this._focusMonitor.focusVia(this._elementRef.nativeElement,ne,B):this._elementRef.nativeElement.focus(B)}_hasHostAttributes(...ne){return ne.some(B=>this._elementRef.nativeElement.hasAttribute(B))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(B){a.\u0275\u0275invalidFactory()};static#t=this.\u0275dir=a.\u0275\u0275defineDirective({type:ye,features:[a.\u0275\u0275InheritDefinitionFeature]})}return ye})(),ae=(()=>{class ye extends X{constructor(ne,B,J,Ze){super(ne,B,J,Ze),this._haltDisabledEvents=ct=>{this.disabled&&(ct.preventDefault(),ct.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}static#e=this.\u0275fac=function(B){a.\u0275\u0275invalidFactory()};static#t=this.\u0275dir=a.\u0275\u0275defineDirective({type:ye,features:[a.\u0275\u0275InheritDefinitionFeature]})}return ye})(),te=(()=>{class ye extends X{constructor(ne,B,J,Ze){super(ne,B,J,Ze)}static#e=this.\u0275fac=function(B){return new(B||ye)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(i.t4),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=a.\u0275\u0275defineComponent({type:ye,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(B,J){2&B&&(a.\u0275\u0275attribute("disabled",J.disabled||null),a.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===J._animationMode)("mat-unthemed",!J.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[a.\u0275\u0275InheritDefinitionFeature],attrs:h,ngContentSelectors:v,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(B,J){1&B&&(a.\u0275\u0275projectionDef(g),a.\u0275\u0275element(0,"span",0),a.\u0275\u0275projection(1),a.\u0275\u0275elementStart(2,"span",1),a.\u0275\u0275projection(3,1),a.\u0275\u0275elementEnd(),a.\u0275\u0275projection(4,2),a.\u0275\u0275element(5,"span",2)(6,"span",3)),2&B&&a.\u0275\u0275classProp("mdc-button__ripple",!J._isFab)("mdc-fab__ripple",J._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return ye})(),pe=(()=>{class ye extends ae{constructor(ne,B,J,Ze){super(ne,B,J,Ze)}static#e=this.\u0275fac=function(B){return new(B||ye)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(i.t4),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=a.\u0275\u0275defineComponent({type:ye,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(B,J){2&B&&(a.\u0275\u0275attribute("disabled",J.disabled||null)("tabindex",J.disabled?-1:J.tabIndex)("aria-disabled",J.disabled.toString()),a.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===J._animationMode)("mat-unthemed",!J.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[a.\u0275\u0275InheritDefinitionFeature],attrs:h,ngContentSelectors:v,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(B,J){1&B&&(a.\u0275\u0275projectionDef(g),a.\u0275\u0275element(0,"span",0),a.\u0275\u0275projection(1),a.\u0275\u0275elementStart(2,"span",1),a.\u0275\u0275projection(3,1),a.\u0275\u0275elementEnd(),a.\u0275\u0275projection(4,2),a.\u0275\u0275element(5,"span",2)(6,"span",3)),2&B&&a.\u0275\u0275classProp("mdc-button__ripple",!J._isFab)("mdc-fab__ripple",J._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',u],encapsulation:2,changeDetection:0})}return ye})();const it=new a.InjectionToken("mat-mdc-fab-default-options",{providedIn:"root",factory:be});function be(){return{color:"accent"}}const We=be();let Ae=(()=>{class ye extends X{get extended(){return this._extended}set extended(ne){this._extended=(0,p.Ig)(ne)}constructor(ne,B,J,Ze,ct){super(ne,B,J,Ze),this._options=ct,this._isFab=!0,this._options=this._options||We,this.color=this.defaultColor=this._options.color||We.color}static#e=this.\u0275fac=function(B){return new(B||ye)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(i.t4),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8),a.\u0275\u0275directiveInject(it,8))};static#t=this.\u0275cmp=a.\u0275\u0275defineComponent({type:ye,selectors:[["button","mat-fab",""]],hostVars:11,hostBindings:function(B,J){2&B&&(a.\u0275\u0275attribute("disabled",J.disabled||null),a.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===J._animationMode)("mat-unthemed",!J.color)("mat-mdc-button-base",!0)("mdc-fab--extended",J.extended)("mat-mdc-extended-fab",J.extended))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",extended:"extended"},exportAs:["matButton"],features:[a.\u0275\u0275InheritDefinitionFeature],attrs:b,ngContentSelectors:v,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(B,J){1&B&&(a.\u0275\u0275projectionDef(g),a.\u0275\u0275element(0,"span",0),a.\u0275\u0275projection(1),a.\u0275\u0275elementStart(2,"span",1),a.\u0275\u0275projection(3,1),a.\u0275\u0275elementEnd(),a.\u0275\u0275projection(4,2),a.\u0275\u0275element(5,"span",2)(6,"span",3)),2&B&&a.\u0275\u0275classProp("mdc-button__ripple",!J._isFab)("mdc-fab__ripple",J._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab:hover{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family);font-size:var(--mdc-typography-button-font-size);line-height:var(--mdc-typography-button-line-height);font-weight:var(--mdc-typography-button-font-weight);letter-spacing:var(--mdc-typography-button-letter-spacing);text-decoration:var(--mdc-typography-button-text-decoration);text-transform:var(--mdc-typography-button-text-transform);border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab,.mat-mdc-mini-fab{background-color:var(--mdc-fab-container-color);--mdc-fab-container-shape:50%;--mdc-fab-icon-size:24px}.mat-mdc-fab .mdc-fab__icon,.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-extended-fab{font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0})}return ye})(),Ye=(()=>{class ye extends X{constructor(ne,B,J,Ze,ct){super(ne,B,J,Ze),this._options=ct,this._isFab=!0,this._options=this._options||We,this.color=this.defaultColor=this._options.color||We.color}static#e=this.\u0275fac=function(B){return new(B||ye)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(i.t4),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8),a.\u0275\u0275directiveInject(it,8))};static#t=this.\u0275cmp=a.\u0275\u0275defineComponent({type:ye,selectors:[["button","mat-mini-fab",""]],hostVars:7,hostBindings:function(B,J){2&B&&(a.\u0275\u0275attribute("disabled",J.disabled||null),a.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===J._animationMode)("mat-unthemed",!J.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[a.\u0275\u0275InheritDefinitionFeature],attrs:C,ngContentSelectors:v,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(B,J){1&B&&(a.\u0275\u0275projectionDef(g),a.\u0275\u0275element(0,"span",0),a.\u0275\u0275projection(1),a.\u0275\u0275elementStart(2,"span",1),a.\u0275\u0275projection(3,1),a.\u0275\u0275elementEnd(),a.\u0275\u0275projection(4,2),a.\u0275\u0275element(5,"span",2)(6,"span",3)),2&B&&a.\u0275\u0275classProp("mdc-button__ripple",!J._isFab)("mdc-fab__ripple",J._isFab)},styles:[M],encapsulation:2,changeDetection:0})}return ye})(),Qe=(()=>{class ye extends pe{get extended(){return this._extended}set extended(ne){this._extended=(0,p.Ig)(ne)}constructor(ne,B,J,Ze,ct){super(ne,B,J,Ze),this._options=ct,this._isFab=!0,this._options=this._options||We,this.color=this.defaultColor=this._options.color||We.color}static#e=this.\u0275fac=function(B){return new(B||ye)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(i.t4),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8),a.\u0275\u0275directiveInject(it,8))};static#t=this.\u0275cmp=a.\u0275\u0275defineComponent({type:ye,selectors:[["a","mat-fab",""]],hostVars:13,hostBindings:function(B,J){2&B&&(a.\u0275\u0275attribute("disabled",J.disabled||null)("tabindex",J.disabled?-1:J.tabIndex)("aria-disabled",J.disabled.toString()),a.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===J._animationMode)("mat-unthemed",!J.color)("mat-mdc-button-base",!0)("mdc-fab--extended",J.extended)("mat-mdc-extended-fab",J.extended))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",extended:"extended"},exportAs:["matButton","matAnchor"],features:[a.\u0275\u0275InheritDefinitionFeature],attrs:b,ngContentSelectors:v,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(B,J){1&B&&(a.\u0275\u0275projectionDef(g),a.\u0275\u0275element(0,"span",0),a.\u0275\u0275projection(1),a.\u0275\u0275elementStart(2,"span",1),a.\u0275\u0275projection(3,1),a.\u0275\u0275elementEnd(),a.\u0275\u0275projection(4,2),a.\u0275\u0275element(5,"span",2)(6,"span",3)),2&B&&a.\u0275\u0275classProp("mdc-button__ripple",!J._isFab)("mdc-fab__ripple",J._isFab)},styles:[M],encapsulation:2,changeDetection:0})}return ye})(),ot=(()=>{class ye extends pe{constructor(ne,B,J,Ze,ct){super(ne,B,J,Ze),this._options=ct,this._isFab=!0,this._options=this._options||We,this.color=this.defaultColor=this._options.color||We.color}static#e=this.\u0275fac=function(B){return new(B||ye)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(i.t4),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8),a.\u0275\u0275directiveInject(it,8))};static#t=this.\u0275cmp=a.\u0275\u0275defineComponent({type:ye,selectors:[["a","mat-mini-fab",""]],hostVars:9,hostBindings:function(B,J){2&B&&(a.\u0275\u0275attribute("disabled",J.disabled||null)("tabindex",J.disabled?-1:J.tabIndex)("aria-disabled",J.disabled.toString()),a.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===J._animationMode)("mat-unthemed",!J.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[a.\u0275\u0275InheritDefinitionFeature],attrs:C,ngContentSelectors:v,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(B,J){1&B&&(a.\u0275\u0275projectionDef(g),a.\u0275\u0275element(0,"span",0),a.\u0275\u0275projection(1),a.\u0275\u0275elementStart(2,"span",1),a.\u0275\u0275projection(3,1),a.\u0275\u0275elementEnd(),a.\u0275\u0275projection(4,2),a.\u0275\u0275element(5,"span",2)(6,"span",3)),2&B&&a.\u0275\u0275classProp("mdc-button__ripple",!J._isFab)("mdc-fab__ripple",J._isFab)},styles:[M],encapsulation:2,changeDetection:0})}return ye})(),kt=(()=>{class ye extends X{constructor(ne,B,J,Ze){super(ne,B,J,Ze),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(B){return new(B||ye)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(i.t4),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=a.\u0275\u0275defineComponent({type:ye,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(B,J){2&B&&(a.\u0275\u0275attribute("disabled",J.disabled||null),a.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===J._animationMode)("mat-unthemed",!J.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[a.\u0275\u0275InheritDefinitionFeature],attrs:S,ngContentSelectors:H,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(B,J){1&B&&(a.\u0275\u0275projectionDef(),a.\u0275\u0275element(0,"span",0),a.\u0275\u0275projection(1),a.\u0275\u0275element(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',u],encapsulation:2,changeDetection:0})}return ye})(),je=(()=>{class ye extends ae{constructor(ne,B,J,Ze){super(ne,B,J,Ze)}static#e=this.\u0275fac=function(B){return new(B||ye)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(i.t4),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=a.\u0275\u0275defineComponent({type:ye,selectors:[["a","mat-icon-button",""]],hostVars:9,hostBindings:function(B,J){2&B&&(a.\u0275\u0275attribute("disabled",J.disabled||null)("tabindex",J.disabled?-1:J.tabIndex)("aria-disabled",J.disabled.toString()),a.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===J._animationMode)("mat-unthemed",!J.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[a.\u0275\u0275InheritDefinitionFeature],attrs:S,ngContentSelectors:v,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(B,J){1&B&&(a.\u0275\u0275projectionDef(g),a.\u0275\u0275element(0,"span",0),a.\u0275\u0275projection(1),a.\u0275\u0275elementStart(2,"span",1),a.\u0275\u0275projection(3,1),a.\u0275\u0275elementEnd(),a.\u0275\u0275projection(4,2),a.\u0275\u0275element(5,"span",2)(6,"span",3)),2&B&&a.\u0275\u0275classProp("mdc-button__ripple",!J._isFab)("mdc-fab__ripple",J._isFab)},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',u],encapsulation:2,changeDetection:0})}return ye})(),Ve=(()=>{class ye{static#e=this.\u0275fac=function(B){return new(B||ye)};static#t=this.\u0275mod=a.\u0275\u0275defineNgModule({type:ye});static#n=this.\u0275inj=a.\u0275\u0275defineInjector({imports:[d.MatCommonModule,d.MatRippleModule,d.MatCommonModule]})}return ye})()},3601:(Z,l,o)=>{"use strict";o.r(l),o.d(l,{MAT_CHIP:()=>de,MAT_CHIPS_DEFAULT_OPTIONS:()=>ze,MAT_CHIP_AVATAR:()=>Mt,MAT_CHIP_LISTBOX_CONTROL_VALUE_ACCESSOR:()=>Vn,MAT_CHIP_REMOVE:()=>xt,MAT_CHIP_TRAILING_ICON:()=>Xe,MatChip:()=>Re,MatChipAvatar:()=>Ht,MatChipEditInput:()=>wt,MatChipGrid:()=>bn,MatChipGridChange:()=>kn,MatChipInput:()=>nt,MatChipListbox:()=>An,MatChipListboxChange:()=>In,MatChipOption:()=>mt,MatChipRemove:()=>cn,MatChipRow:()=>At,MatChipSelectionChange:()=>xe,MatChipSet:()=>Gt,MatChipTrailingIcon:()=>vn,MatChipsModule:()=>se});var i=o(5988),a=o(7786),f=o(9462),p=o(9021),d=o(8654),h=o(9453),g=o(4991),v=o(3581),m=o(5779),u=o(19),b=o(2835),C=o(7605),M=o(4877),S=o(8832);o(6e3);let st=(()=>{class ${static#e=this.\u0275fac=function(Pe){return new(Pe||$)};static#t=this.\u0275dir=a.\u0275\u0275defineDirective({type:$})}return $})();const Kt=new a.InjectionToken("MatFormField");function Tt($,$e){1&$&&(a.\u0275\u0275elementStart(0,"span",7),a.\u0275\u0275projection(1,1),a.\u0275\u0275elementEnd())}function Ft($,$e){1&$&&(a.\u0275\u0275elementStart(0,"span",8),a.\u0275\u0275projection(1,2),a.\u0275\u0275elementEnd())}const qt=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],ln=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function pn($,$e){1&$&&(a.\u0275\u0275elementStart(0,"span",8),a.\u0275\u0275projection(1,1),a.\u0275\u0275elementStart(2,"span",9),a.\u0275\u0275namespaceSVG(),a.\u0275\u0275elementStart(3,"svg",10),a.\u0275\u0275element(4,"path",11),a.\u0275\u0275elementEnd()()())}function Dn($,$e){1&$&&(a.\u0275\u0275elementStart(0,"span",12),a.\u0275\u0275projection(1,2),a.\u0275\u0275elementEnd())}const _t='.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}';function et($,$e){1&$&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275element(1,"span",8),a.\u0275\u0275elementContainerEnd())}function Ce($,$e){1&$&&(a.\u0275\u0275elementStart(0,"span",9),a.\u0275\u0275projection(1),a.\u0275\u0275elementEnd())}function Be($,$e){1&$&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275projection(1,1),a.\u0275\u0275elementContainerEnd())}function ht($,$e){1&$&&a.\u0275\u0275projection(0,2,["*ngIf","contentEditInput; else defaultMatChipEditInput"])}function Ot($,$e){1&$&&a.\u0275\u0275element(0,"span",12)}function Jt($,$e){if(1&$&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275template(1,ht,1,0,"ng-content",10),a.\u0275\u0275template(2,Ot,1,0,"ng-template",null,11,a.\u0275\u0275templateRefExtractor),a.\u0275\u0275elementContainerEnd()),2&$){const R=a.\u0275\u0275reference(3),Pe=a.\u0275\u0275nextContext();a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",Pe.contentEditInput)("ngIfElse",R)}}function lt($,$e){1&$&&(a.\u0275\u0275elementStart(0,"span",13),a.\u0275\u0275projection(1,3),a.\u0275\u0275elementEnd())}const ue=[[["mat-chip-avatar"],["","matChipAvatar",""]],"*",[["","matChipEditInput",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],L=["mat-chip-avatar, [matChipAvatar]","*","[matChipEditInput]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],A=["*"],ie=".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}",ze=new a.InjectionToken("mat-chips-default-options"),Mt=new a.InjectionToken("MatChipAvatar"),Xe=new a.InjectionToken("MatChipTrailingIcon"),xt=new a.InjectionToken("MatChipRemove"),de=new a.InjectionToken("MatChip");class Me{}const Se=(0,p.mixinTabIndex)(Me,-1);let vt=(()=>{class $ extends Se{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(R){this._disabled=(0,i.Ig)(R)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(R,Pe){super(),this._elementRef=R,this._parentChip=Pe,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===R.nativeElement.nodeName&&R.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(R){!this.disabled&&this.isInteractive&&this._isPrimary&&(R.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(R){(R.keyCode===C.K5||R.keyCode===C.L_)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(R.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static#e=this.\u0275fac=function(Pe){return new(Pe||$)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(de))};static#t=this.\u0275dir=a.\u0275\u0275defineDirective({type:$,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(Pe,Oe){1&Pe&&a.\u0275\u0275listener("click",function(Lt){return Oe._handleClick(Lt)})("keydown",function(Lt){return Oe._handleKeydown(Lt)}),2&Pe&&(a.\u0275\u0275attribute("tabindex",Oe._getTabindex())("disabled",Oe._getDisabledAttribute())("aria-disabled",Oe.disabled),a.\u0275\u0275classProp("mdc-evolution-chip__action--primary",Oe._isPrimary)("mdc-evolution-chip__action--presentational",!Oe.isInteractive)("mdc-evolution-chip__action--trailing",!Oe._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[a.\u0275\u0275InheritDefinitionFeature]})}return $})(),Ht=(()=>{class ${static#e=this.\u0275fac=function(Pe){return new(Pe||$)};static#t=this.\u0275dir=a.\u0275\u0275defineDirective({type:$,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:["role","img",1,"mat-mdc-chip-avatar","mdc-evolution-chip__icon","mdc-evolution-chip__icon--primary"],features:[a.\u0275\u0275ProvidersFeature([{provide:Mt,useExisting:$}])]})}return $})(),vn=(()=>{class $ extends vt{constructor(){super(...arguments),this.isInteractive=!1,this._isPrimary=!1}static#e=this.\u0275fac=function(){let R;return function(Oe){return(R||(R=a.\u0275\u0275getInheritedFactory($)))(Oe||$)}}();static#t=this.\u0275dir=a.\u0275\u0275defineDirective({type:$,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:["aria-hidden","true",1,"mat-mdc-chip-trailing-icon","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],features:[a.\u0275\u0275ProvidersFeature([{provide:Xe,useExisting:$}]),a.\u0275\u0275InheritDefinitionFeature]})}return $})(),cn=(()=>{class $ extends vt{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(R){this.disabled||(R.stopPropagation(),R.preventDefault(),this._parentChip.remove())}_handleKeydown(R){(R.keyCode===C.K5||R.keyCode===C.L_)&&!this.disabled&&(R.stopPropagation(),R.preventDefault(),this._parentChip.remove())}static#e=this.\u0275fac=function(){let R;return function(Oe){return(R||(R=a.\u0275\u0275getInheritedFactory($)))(Oe||$)}}();static#t=this.\u0275dir=a.\u0275\u0275defineDirective({type:$,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(Pe,Oe){2&Pe&&a.\u0275\u0275attribute("aria-hidden",null)},features:[a.\u0275\u0275ProvidersFeature([{provide:xt,useExisting:$}]),a.\u0275\u0275InheritDefinitionFeature]})}return $})(),fn=0;const Ue=(0,p.mixinTabIndex)((0,p.mixinColor)((0,p.mixinDisableRipple)((0,p.mixinDisabled)(class{constructor($){this._elementRef=$}})),"primary"),-1);let Re=(()=>{class $ extends Ue{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(R){this._value=R}get removable(){return this._removable}set removable(R){this._removable=(0,i.Ig)(R)}get highlighted(){return this._highlighted}set highlighted(R){this._highlighted=(0,i.Ig)(R)}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(R){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,R)}constructor(R,Pe,Oe,Bt,Lt,yn,Tn,Kn){super(Pe),this._changeDetectorRef=R,this._ngZone=Oe,this._focusMonitor=Bt,this._globalRippleOptions=Tn,this._onFocus=new h.x,this._onBlur=new h.x,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+fn++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new a.EventEmitter,this.destroyed=new a.EventEmitter,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=(0,a.inject)(p.MatRippleLoader),this._document=Lt,this._animationsDisabled="NoopAnimations"===yn,null!=Kn&&(this.tabIndex=parseInt(Kn)??this.defaultTabIndex),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){const R=this._elementRef.nativeElement;this._isBasicChip=R.hasAttribute(this.basicChipAttrName)||R.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=(0,g.T)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(R){(R.keyCode===C.ZH||R.keyCode===C.yY)&&(R.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(R){return this._getActions().find(Pe=>{const Oe=Pe._elementRef.nativeElement;return Oe===R||Oe.contains(R)})}_getActions(){const R=[];return this.primaryAction&&R.push(this.primaryAction),this.removeIcon&&R.push(this.removeIcon),this.trailingIcon&&R.push(this.trailingIcon),R}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(R=>{const Pe=null!==R;Pe!==this._hasFocusInternal&&(this._hasFocusInternal=Pe,Pe?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe((0,v.q)(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}static#e=this.\u0275fac=function(Pe){return new(Pe||$)(a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(d.tE),a.\u0275\u0275directiveInject(f.DOCUMENT),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8),a.\u0275\u0275directiveInject(p.MAT_RIPPLE_GLOBAL_OPTIONS,8),a.\u0275\u0275injectAttribute("tabindex"))};static#t=this.\u0275cmp=a.\u0275\u0275defineComponent({type:$,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(Pe,Oe,Bt){if(1&Pe&&(a.\u0275\u0275contentQuery(Bt,Mt,5),a.\u0275\u0275contentQuery(Bt,Xe,5),a.\u0275\u0275contentQuery(Bt,xt,5),a.\u0275\u0275contentQuery(Bt,Mt,5),a.\u0275\u0275contentQuery(Bt,Xe,5),a.\u0275\u0275contentQuery(Bt,xt,5)),2&Pe){let Lt;a.\u0275\u0275queryRefresh(Lt=a.\u0275\u0275loadQuery())&&(Oe.leadingIcon=Lt.first),a.\u0275\u0275queryRefresh(Lt=a.\u0275\u0275loadQuery())&&(Oe.trailingIcon=Lt.first),a.\u0275\u0275queryRefresh(Lt=a.\u0275\u0275loadQuery())&&(Oe.removeIcon=Lt.first),a.\u0275\u0275queryRefresh(Lt=a.\u0275\u0275loadQuery())&&(Oe._allLeadingIcons=Lt),a.\u0275\u0275queryRefresh(Lt=a.\u0275\u0275loadQuery())&&(Oe._allTrailingIcons=Lt),a.\u0275\u0275queryRefresh(Lt=a.\u0275\u0275loadQuery())&&(Oe._allRemoveIcons=Lt)}},viewQuery:function(Pe,Oe){if(1&Pe&&a.\u0275\u0275viewQuery(vt,5),2&Pe){let Bt;a.\u0275\u0275queryRefresh(Bt=a.\u0275\u0275loadQuery())&&(Oe.primaryAction=Bt.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(Pe,Oe){1&Pe&&a.\u0275\u0275listener("keydown",function(Lt){return Oe._handleKeydown(Lt)}),2&Pe&&(a.\u0275\u0275hostProperty("id",Oe.id),a.\u0275\u0275attribute("role",Oe.role)("tabindex",Oe.role?Oe.tabIndex:null)("aria-label",Oe.ariaLabel),a.\u0275\u0275classProp("mdc-evolution-chip",!Oe._isBasicChip)("mdc-evolution-chip--disabled",Oe.disabled)("mdc-evolution-chip--with-trailing-action",Oe._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",Oe.leadingIcon)("mdc-evolution-chip--with-primary-icon",Oe.leadingIcon)("mdc-evolution-chip--with-avatar",Oe.leadingIcon)("mat-mdc-chip-with-avatar",Oe.leadingIcon)("mat-mdc-chip-highlighted",Oe.highlighted)("mat-mdc-chip-disabled",Oe.disabled)("mat-mdc-basic-chip",Oe._isBasicChip)("mat-mdc-standard-chip",!Oe._isBasicChip)("mat-mdc-chip-with-trailing-icon",Oe._hasTrailingIcon())("_mat-animation-noopable",Oe._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[a.\u0275\u0275ProvidersFeature([{provide:de,useExisting:$}]),a.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:ln,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(Pe,Oe){1&Pe&&(a.\u0275\u0275projectionDef(qt),a.\u0275\u0275element(0,"span",0),a.\u0275\u0275elementStart(1,"span",1)(2,"span",2),a.\u0275\u0275template(3,Tt,2,0,"span",3),a.\u0275\u0275elementStart(4,"span",4),a.\u0275\u0275projection(5),a.\u0275\u0275element(6,"span",5),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275template(7,Ft,2,0,"span",6)),2&Pe&&(a.\u0275\u0275advance(2),a.\u0275\u0275property("isInteractive",!1),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",Oe.leadingIcon),a.\u0275\u0275advance(4),a.\u0275\u0275property("ngIf",Oe._hasTrailingIcon()))},dependencies:[f.NgIf,vt],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return $})();class xe{constructor($e,R,Pe=!1){this.source=$e,this.selected=R,this.isUserInput=Pe}}let mt=(()=>{class $ extends Re{constructor(){super(...arguments),this._defaultOptions=(0,a.inject)(ze,{optional:!0}),this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._selectable=!0,this._selected=!1,this.basicChipAttrName="mat-basic-chip-option",this.selectionChange=new a.EventEmitter}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(R){this._selectable=(0,i.Ig)(R),this._changeDetectorRef.markForCheck()}get selected(){return this._selected}set selected(R){this._setSelectedState((0,i.Ig)(R),!1,!0)}get ariaSelected(){return this.selectable?this.selected.toString():null}ngOnInit(){super.ngOnInit(),this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(R=!1){return this._setSelectedState(!this.selected,R,!0),this.selected}_handlePrimaryActionInteraction(){this.disabled||(this.focus(),this.selectable&&this.toggleSelected(!0))}_hasLeadingGraphic(){return!!this.leadingIcon||!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(R,Pe,Oe){R!==this.selected&&(this._selected=R,Oe&&this.selectionChange.emit({source:this,isUserInput:Pe,selected:this.selected}),this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(){let R;return function(Oe){return(R||(R=a.\u0275\u0275getInheritedFactory($)))(Oe||$)}}();static#t=this.\u0275cmp=a.\u0275\u0275defineComponent({type:$,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(Pe,Oe){2&Pe&&(a.\u0275\u0275hostProperty("id",Oe.id),a.\u0275\u0275attribute("tabindex",null)("aria-label",null)("aria-description",null)("role",Oe.role),a.\u0275\u0275classProp("mdc-evolution-chip",!Oe._isBasicChip)("mdc-evolution-chip--filter",!Oe._isBasicChip)("mdc-evolution-chip--selectable",!Oe._isBasicChip)("mat-mdc-chip-selected",Oe.selected)("mat-mdc-chip-multiple",Oe._chipListMultiple)("mat-mdc-chip-disabled",Oe.disabled)("mat-mdc-chip-with-avatar",Oe.leadingIcon)("mdc-evolution-chip--disabled",Oe.disabled)("mdc-evolution-chip--selected",Oe.selected)("mdc-evolution-chip--selecting",!Oe._animationsDisabled)("mdc-evolution-chip--with-trailing-action",Oe._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",Oe.leadingIcon)("mdc-evolution-chip--with-primary-graphic",Oe._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",Oe.leadingIcon)("mat-mdc-chip-highlighted",Oe.highlighted)("mat-mdc-chip-with-trailing-icon",Oe._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",selectable:"selectable",selected:"selected"},outputs:{selectionChange:"selectionChange"},features:[a.\u0275\u0275ProvidersFeature([{provide:Re,useExisting:$},{provide:de,useExisting:$}]),a.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:ln,decls:10,vars:9,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"tabIndex","_allowFocusWhenDisabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(Pe,Oe){1&Pe&&(a.\u0275\u0275projectionDef(qt),a.\u0275\u0275element(0,"span",0),a.\u0275\u0275elementStart(1,"span",1)(2,"button",2),a.\u0275\u0275template(3,pn,5,0,"span",3),a.\u0275\u0275elementStart(4,"span",4),a.\u0275\u0275projection(5),a.\u0275\u0275element(6,"span",5),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275template(7,Dn,2,0,"span",6),a.\u0275\u0275elementStart(8,"span",7),a.\u0275\u0275text(9),a.\u0275\u0275elementEnd()),2&Pe&&(a.\u0275\u0275advance(2),a.\u0275\u0275property("tabIndex",Oe.tabIndex)("_allowFocusWhenDisabled",!0),a.\u0275\u0275attribute("aria-selected",Oe.ariaSelected)("aria-label",Oe.ariaLabel)("aria-describedby",Oe._ariaDescriptionId),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",Oe._hasLeadingGraphic()),a.\u0275\u0275advance(4),a.\u0275\u0275property("ngIf",Oe._hasTrailingIcon()),a.\u0275\u0275advance(1),a.\u0275\u0275property("id",Oe._ariaDescriptionId),a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate(Oe.ariaDescription))},dependencies:[f.NgIf,vt],styles:[_t],encapsulation:2,changeDetection:0})}return $})(),wt=(()=>{class ${constructor(R,Pe){this._elementRef=R,this._document=Pe}initialize(R){this.getNativeElement().focus(),this.setValue(R)}getNativeElement(){return this._elementRef.nativeElement}setValue(R){this.getNativeElement().textContent=R,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){const R=this._document.createRange();R.selectNodeContents(this.getNativeElement()),R.collapse(!1);const Pe=window.getSelection();Pe.removeAllRanges(),Pe.addRange(R)}static#e=this.\u0275fac=function(Pe){return new(Pe||$)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(f.DOCUMENT))};static#t=this.\u0275dir=a.\u0275\u0275defineDirective({type:$,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]})}return $})(),At=(()=>{class $ extends Re{constructor(R,Pe,Oe,Bt,Lt,yn,Tn,Kn){super(R,Pe,Oe,Bt,Lt,yn,Tn,Kn),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new a.EventEmitter,this._isEditing=!1,this.role="row",this._onBlur.pipe((0,m.R)(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(R){R.keyCode!==C.K5||this.disabled?this._isEditing?R.stopPropagation():super._handleKeydown(R):this._isEditing?(R.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(R)}_handleDoubleclick(R){!this.disabled&&this.editable&&this._startEditing(R)}_startEditing(R){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(R.target)===this.removeIcon)return;const Pe=this.value;this._isEditing=this._editStartPending=!0,this._changeDetectorRef.detectChanges(),setTimeout(()=>{this._getEditInput().initialize(Pe),this._editStartPending=!1})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}static#e=this.\u0275fac=function(Pe){return new(Pe||$)(a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(d.tE),a.\u0275\u0275directiveInject(f.DOCUMENT),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8),a.\u0275\u0275directiveInject(p.MAT_RIPPLE_GLOBAL_OPTIONS,8),a.\u0275\u0275injectAttribute("tabindex"))};static#t=this.\u0275cmp=a.\u0275\u0275defineComponent({type:$,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(Pe,Oe,Bt){if(1&Pe&&a.\u0275\u0275contentQuery(Bt,wt,5),2&Pe){let Lt;a.\u0275\u0275queryRefresh(Lt=a.\u0275\u0275loadQuery())&&(Oe.contentEditInput=Lt.first)}},viewQuery:function(Pe,Oe){if(1&Pe&&a.\u0275\u0275viewQuery(wt,5),2&Pe){let Bt;a.\u0275\u0275queryRefresh(Bt=a.\u0275\u0275loadQuery())&&(Oe.defaultEditInput=Bt.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(Pe,Oe){1&Pe&&a.\u0275\u0275listener("focus",function(Lt){return Oe._handleFocus(Lt)})("dblclick",function(Lt){return Oe._handleDoubleclick(Lt)}),2&Pe&&(a.\u0275\u0275hostProperty("id",Oe.id),a.\u0275\u0275attribute("tabindex",Oe.disabled?null:-1)("aria-label",null)("aria-description",null)("role",Oe.role),a.\u0275\u0275classProp("mat-mdc-chip-with-avatar",Oe.leadingIcon)("mat-mdc-chip-disabled",Oe.disabled)("mat-mdc-chip-editing",Oe._isEditing)("mat-mdc-chip-editable",Oe.editable)("mdc-evolution-chip--disabled",Oe.disabled)("mdc-evolution-chip--with-trailing-action",Oe._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",Oe.leadingIcon)("mdc-evolution-chip--with-primary-icon",Oe.leadingIcon)("mdc-evolution-chip--with-avatar",Oe.leadingIcon)("mat-mdc-chip-highlighted",Oe.highlighted)("mat-mdc-chip-with-trailing-icon",Oe._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",editable:"editable"},outputs:{edited:"edited"},features:[a.\u0275\u0275ProvidersFeature([{provide:Re,useExisting:$},{provide:de,useExisting:$}]),a.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:L,decls:10,vars:12,consts:[[4,"ngIf"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"tabIndex","disabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label",3,"ngSwitch"],[4,"ngSwitchCase"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing","role","gridcell",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[4,"ngIf","ngIfElse"],["defaultMatChipEditInput",""],["matChipEditInput",""],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(Pe,Oe){1&Pe&&(a.\u0275\u0275projectionDef(ue),a.\u0275\u0275template(0,et,2,0,"ng-container",0),a.\u0275\u0275elementStart(1,"span",1),a.\u0275\u0275template(2,Ce,2,0,"span",2),a.\u0275\u0275elementStart(3,"span",3),a.\u0275\u0275template(4,Be,2,0,"ng-container",4),a.\u0275\u0275template(5,Jt,4,2,"ng-container",4),a.\u0275\u0275element(6,"span",5),a.\u0275\u0275elementEnd()(),a.\u0275\u0275template(7,lt,2,0,"span",6),a.\u0275\u0275elementStart(8,"span",7),a.\u0275\u0275text(9),a.\u0275\u0275elementEnd()),2&Pe&&(a.\u0275\u0275property("ngIf",!Oe._isEditing),a.\u0275\u0275advance(1),a.\u0275\u0275property("tabIndex",Oe.tabIndex)("disabled",Oe.disabled),a.\u0275\u0275attribute("aria-label",Oe.ariaLabel)("aria-describedby",Oe._ariaDescriptionId),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",Oe.leadingIcon),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngSwitch",Oe._isEditing),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngSwitchCase",!1),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngSwitchCase",!0),a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",Oe._hasTrailingIcon()),a.\u0275\u0275advance(1),a.\u0275\u0275property("id",Oe._ariaDescriptionId),a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate(Oe.ariaDescription))},dependencies:[f.NgIf,f.NgSwitch,f.NgSwitchCase,vt,wt],styles:[_t],encapsulation:2,changeDetection:0})}return $})();class Pt{constructor($e){}}const tn=(0,p.mixinTabIndex)(Pt);let Gt=(()=>{class $ extends tn{get chipFocusChanges(){return this._getChipStream(R=>R._onFocus)}get chipDestroyedChanges(){return this._getChipStream(R=>R.destroyed)}get disabled(){return this._disabled}set disabled(R){this._disabled=(0,i.Ig)(R),this._syncChipsState()}get empty(){return!this._chips||0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(R){this._explicitRole=R}get focused(){return this._hasFocusedChip()}constructor(R,Pe,Oe){super(R),this._elementRef=R,this._changeDetectorRef=Pe,this._dir=Oe,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new h.x,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new a.QueryList}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(R=>R._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(R=>{R.disabled=this._disabled,R._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(R){this._originatesFromChip(R)&&this._keyManager.onKeydown(R)}_isValidIndex(R){return R>=0&&R<this._chips.length}_allowFocusEscape(){if(-1!==this.tabIndex){const R=this.tabIndex;this.tabIndex=-1,setTimeout(()=>this.tabIndex=R)}}_getChipStream(R){return this._chips.changes.pipe((0,u.O)(null),(0,b.w)(()=>(0,g.T)(...this._chips.map(R))))}_originatesFromChip(R){let Pe=R.target;for(;Pe&&Pe!==this._elementRef.nativeElement;){if(Pe.classList.contains("mat-mdc-chip"))return!0;Pe=Pe.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe((0,u.O)(this._chips)).subscribe(R=>{const Pe=[];R.forEach(Oe=>Oe._getActions().forEach(Bt=>Pe.push(Bt))),this._chipActions.reset(Pe),this._chipActions.notifyOnChanges()}),this._keyManager=new d.Em(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(R=>this._skipPredicate(R)),this.chipFocusChanges.pipe((0,m.R)(this._destroyed)).subscribe(({chip:R})=>{const Pe=R._getSourceAction(document.activeElement);Pe&&this._keyManager.updateActiveItem(Pe)}),this._dir?.change.pipe((0,m.R)(this._destroyed)).subscribe(R=>this._keyManager.withHorizontalOrientation(R))}_skipPredicate(R){return!R.isInteractive||R.disabled}_trackChipSetChanges(){this._chips.changes.pipe((0,u.O)(null),(0,m.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe((0,m.R)(this._destroyed)).subscribe(R=>{const Oe=this._chips.toArray().indexOf(R.chip);this._isValidIndex(Oe)&&R.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=Oe)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const R=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),Pe=this._chips.toArray()[R];Pe.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():Pe.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static#e=this.\u0275fac=function(Pe){return new(Pe||$)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(M.Is,8))};static#t=this.\u0275cmp=a.\u0275\u0275defineComponent({type:$,selectors:[["mat-chip-set"]],contentQueries:function(Pe,Oe,Bt){if(1&Pe&&a.\u0275\u0275contentQuery(Bt,Re,5),2&Pe){let Lt;a.\u0275\u0275queryRefresh(Lt=a.\u0275\u0275loadQuery())&&(Oe._chips=Lt)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(Pe,Oe){1&Pe&&a.\u0275\u0275listener("keydown",function(Lt){return Oe._handleKeydown(Lt)}),2&Pe&&a.\u0275\u0275attribute("role",Oe.role)},inputs:{disabled:"disabled",role:"role"},features:[a.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:A,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(Pe,Oe){1&Pe&&(a.\u0275\u0275projectionDef(),a.\u0275\u0275elementStart(0,"div",0),a.\u0275\u0275projection(1),a.\u0275\u0275elementEnd())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return $})();class In{constructor($e,R){this.source=$e,this.value=R}}const Vn={provide:S.NG_VALUE_ACCESSOR,useExisting:(0,a.forwardRef)(()=>An),multi:!0};let An=(()=>{class $ extends Gt{constructor(){super(...arguments),this._onTouched=()=>{},this._onChange=()=>{},this._defaultRole="listbox",this._defaultOptions=(0,a.inject)(ze,{optional:!0}),this._multiple=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.compareWith=(R,Pe)=>R===Pe,this._required=!1,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this.change=new a.EventEmitter,this._chips=void 0}get multiple(){return this._multiple}set multiple(R){this._multiple=(0,i.Ig)(R),this._syncListboxProperties()}get selected(){const R=this._chips.toArray().filter(Pe=>Pe.selected);return this.multiple?R:R[0]}get selectable(){return this._selectable}set selectable(R){this._selectable=(0,i.Ig)(R),this._syncListboxProperties()}get required(){return this._required}set required(R){this._required=(0,i.Ig)(R)}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(R){this._hideSingleSelectionIndicator=(0,i.Ig)(R),this._syncListboxProperties()}get chipSelectionChanges(){return this._getChipStream(R=>R.selectionChange)}get chipBlurChanges(){return this._getChipStream(R=>R._onBlur)}get value(){return this._value}set value(R){this.writeValue(R),this._value=R}ngAfterContentInit(){void 0!==this._pendingInitialValue&&Promise.resolve().then(()=>{this._setSelectionByValue(this._pendingInitialValue,!1),this._pendingInitialValue=void 0}),this._chips.changes.pipe((0,u.O)(null),(0,m.R)(this._destroyed)).subscribe(()=>{this._syncListboxProperties()}),this.chipBlurChanges.pipe((0,m.R)(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe((0,m.R)(this._destroyed)).subscribe(R=>{this.multiple||this._chips.forEach(Pe=>{Pe!==R.source&&Pe._setSelectedState(!1,!1,!1)}),R.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;const R=this._getFirstSelectedChip();R&&!R.disabled?R.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(R){this._chips?this._setSelectionByValue(R,!1):null!=R&&(this._pendingInitialValue=R)}registerOnChange(R){this._onChange=R}registerOnTouched(R){this._onTouched=R}setDisabledState(R){this.disabled=R}_setSelectionByValue(R,Pe=!0){this._clearSelection(),Array.isArray(R)?R.forEach(Oe=>this._selectValue(Oe,Pe)):this._selectValue(R,Pe)}_blur(){this.disabled||setTimeout(()=>{this.focused||this._markAsTouched()})}_keydown(R){R.keyCode===C.Mf&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let R=null;R=Array.isArray(this.selected)?this.selected.map(Pe=>Pe.value):this.selected?this.selected.value:void 0,this._value=R,this.change.emit(new In(this,R)),this._onChange(R),this._changeDetectorRef.markForCheck()}_clearSelection(R){this._chips.forEach(Pe=>{Pe!==R&&Pe.deselect()})}_selectValue(R,Pe){const Oe=this._chips.find(Bt=>null!=Bt.value&&this.compareWith(Bt.value,R));return Oe&&(Pe?Oe.selectViaInteraction():Oe.select()),Oe}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(R=>{R._chipListMultiple=this.multiple,R.chipListSelectable=this._selectable,R._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,R._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(R){return!R.isInteractive}static#e=this.\u0275fac=function(){let R;return function(Oe){return(R||(R=a.\u0275\u0275getInheritedFactory($)))(Oe||$)}}();static#t=this.\u0275cmp=a.\u0275\u0275defineComponent({type:$,selectors:[["mat-chip-listbox"]],contentQueries:function(Pe,Oe,Bt){if(1&Pe&&a.\u0275\u0275contentQuery(Bt,mt,5),2&Pe){let Lt;a.\u0275\u0275queryRefresh(Lt=a.\u0275\u0275loadQuery())&&(Oe._chips=Lt)}},hostAttrs:["ngSkipHydration","",1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(Pe,Oe){1&Pe&&a.\u0275\u0275listener("focus",function(){return Oe.focus()})("blur",function(){return Oe._blur()})("keydown",function(Lt){return Oe._keydown(Lt)}),2&Pe&&(a.\u0275\u0275hostProperty("tabIndex",Oe.empty?-1:Oe.tabIndex),a.\u0275\u0275attribute("role",Oe.role)("aria-describedby",Oe._ariaDescribedby||null)("aria-required",Oe.role?Oe.required:null)("aria-disabled",Oe.disabled.toString())("aria-multiselectable",Oe.multiple)("aria-orientation",Oe.ariaOrientation),a.\u0275\u0275classProp("mat-mdc-chip-list-disabled",Oe.disabled)("mat-mdc-chip-list-required",Oe.required))},inputs:{tabIndex:"tabIndex",multiple:"multiple",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",compareWith:"compareWith",required:"required",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",value:"value"},outputs:{change:"change"},features:[a.\u0275\u0275ProvidersFeature([Vn]),a.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:A,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(Pe,Oe){1&Pe&&(a.\u0275\u0275projectionDef(),a.\u0275\u0275elementStart(0,"div",0),a.\u0275\u0275projection(1),a.\u0275\u0275elementEnd())},styles:[ie],encapsulation:2,changeDetection:0})}return $})();class kn{constructor($e,R){this.source=$e,this.value=R}}class Ci extends Gt{constructor($e,R,Pe,Oe,Bt,Lt,yn){super($e,R,Pe),this._defaultErrorStateMatcher=Oe,this._parentForm=Bt,this._parentFormGroup=Lt,this.ngControl=yn,this.stateChanges=new h.x}}const Pn=(0,p.mixinErrorState)(Ci);let bn=(()=>{class $ extends Pn{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(R){this._disabled=(0,i.Ig)(R),this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||0===this._chips.length)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(R){this._placeholder=R,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(S.Validators.required)??!1}set required(R){this._required=(0,i.Ig)(R),this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(R){this._value=R}get chipBlurChanges(){return this._getChipStream(R=>R._onBlur)}constructor(R,Pe,Oe,Bt,Lt,yn,Tn){super(R,Pe,Oe,yn,Bt,Lt,Tn),this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new a.EventEmitter,this.valueChange=new a.EventEmitter,this._chips=void 0,this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterContentInit(){this.chipBlurChanges.pipe((0,m.R)(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),(0,g.T)(this.chipFocusChanges,this._chips.changes).pipe((0,m.R)(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit()}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(R){this._chipInput=R,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(R){!this.disabled&&!this._originatesFromChip(R)&&this.focus()}focus(){this.disabled||this._chipInput.focused||(!this._chips.length||this._chips.first.disabled?Promise.resolve().then(()=>this._chipInput.focus()):this._chips.length&&this._keyManager.setFirstItemActive(),this.stateChanges.next())}setDescribedByIds(R){this._ariaDescribedbyIds=R,this._chipInput?.setDescribedByIds(R)}writeValue(R){this._value=R}registerOnChange(R){this._onChange=R}registerOnTouched(R){this._onTouched=R}setDisabledState(R){this.disabled=R,this.stateChanges.next()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(R){R.keyCode===C.Mf?this._chipInput.focused&&(0,C.Vb)(R,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(R.preventDefault(),this._keyManager.activeItem?this._keyManager.setActiveItem(this._keyManager.activeItem):this._focusLastChip()):super._allowFocusEscape():this._chipInput.focused||super._handleKeydown(R),this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){const R=this._chips.length?this._chips.toArray().map(Pe=>Pe.value):[];this._value=R,this.change.emit(new kn(this,R)),this.valueChange.emit(R),this._onChange(R),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}static#e=this.\u0275fac=function(Pe){return new(Pe||$)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(M.Is,8),a.\u0275\u0275directiveInject(S.NgForm,8),a.\u0275\u0275directiveInject(S.FormGroupDirective,8),a.\u0275\u0275directiveInject(p.ErrorStateMatcher),a.\u0275\u0275directiveInject(S.NgControl,10))};static#t=this.\u0275cmp=a.\u0275\u0275defineComponent({type:$,selectors:[["mat-chip-grid"]],contentQueries:function(Pe,Oe,Bt){if(1&Pe&&a.\u0275\u0275contentQuery(Bt,At,5),2&Pe){let Lt;a.\u0275\u0275queryRefresh(Lt=a.\u0275\u0275loadQuery())&&(Oe._chips=Lt)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(Pe,Oe){1&Pe&&a.\u0275\u0275listener("focus",function(){return Oe.focus()})("blur",function(){return Oe._blur()}),2&Pe&&(a.\u0275\u0275hostProperty("tabIndex",Oe._chips&&0===Oe._chips.length?-1:Oe.tabIndex),a.\u0275\u0275attribute("role",Oe.role)("aria-disabled",Oe.disabled.toString())("aria-invalid",Oe.errorState),a.\u0275\u0275classProp("mat-mdc-chip-list-disabled",Oe.disabled)("mat-mdc-chip-list-invalid",Oe.errorState)("mat-mdc-chip-list-required",Oe.required))},inputs:{tabIndex:"tabIndex",disabled:"disabled",placeholder:"placeholder",required:"required",value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[a.\u0275\u0275ProvidersFeature([{provide:st,useExisting:$}]),a.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:A,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(Pe,Oe){1&Pe&&(a.\u0275\u0275projectionDef(),a.\u0275\u0275elementStart(0,"div",0),a.\u0275\u0275projection(1),a.\u0275\u0275elementEnd())},styles:[ie],encapsulation:2,changeDetection:0})}return $})(),le=0,nt=(()=>{class ${set chipGrid(R){R&&(this._chipGrid=R,this._chipGrid.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(R){this._addOnBlur=(0,i.Ig)(R)}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(R){this._disabled=(0,i.Ig)(R)}get empty(){return!this.inputElement.value}constructor(R,Pe,Oe){this._elementRef=R,this.focused=!1,this._addOnBlur=!1,this.chipEnd=new a.EventEmitter,this.placeholder="",this.id="mat-mdc-chip-list-input-"+le++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=Pe.separatorKeyCodes,Oe&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(R){if(R){if(R.keyCode===C.ZH&&this._focusLastChipOnBackspace)return this._chipGrid._focusLastChip(),void R.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(R)}_keyup(R){!this._focusLastChipOnBackspace&&R.keyCode===C.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,R.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipGrid.stateChanges.next()}_emitChipEnd(R){(!R||this._isSeparatorKey(R))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),R?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}setDescribedByIds(R){const Pe=this._elementRef.nativeElement;R.length?Pe.setAttribute("aria-describedby",R.join(" ")):Pe.removeAttribute("aria-describedby")}_isSeparatorKey(R){return!(0,C.Vb)(R)&&new Set(this.separatorKeyCodes).has(R.keyCode)}static#e=this.\u0275fac=function(Pe){return new(Pe||$)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(ze),a.\u0275\u0275directiveInject(Kt,8))};static#t=this.\u0275dir=a.\u0275\u0275defineDirective({type:$,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(Pe,Oe){1&Pe&&a.\u0275\u0275listener("keydown",function(Lt){return Oe._keydown(Lt)})("keyup",function(Lt){return Oe._keyup(Lt)})("blur",function(){return Oe._blur()})("focus",function(){return Oe._focus()})("input",function(){return Oe._onInput()}),2&Pe&&(a.\u0275\u0275hostProperty("id",Oe.id),a.\u0275\u0275attribute("disabled",Oe.disabled||null)("placeholder",Oe.placeholder||null)("aria-invalid",Oe._chipGrid&&Oe._chipGrid.ngControl?Oe._chipGrid.ngControl.invalid:null)("aria-required",Oe._chipGrid&&Oe._chipGrid.required||null)("required",Oe._chipGrid&&Oe._chipGrid.required||null))},inputs:{chipGrid:["matChipInputFor","chipGrid"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[a.\u0275\u0275NgOnChangesFeature]})}return $})(),se=(()=>{class ${static#e=this.\u0275fac=function(Pe){return new(Pe||$)};static#t=this.\u0275mod=a.\u0275\u0275defineNgModule({type:$});static#n=this.\u0275inj=a.\u0275\u0275defineInjector({providers:[p.ErrorStateMatcher,{provide:ze,useValue:{separatorKeyCodes:[C.K5]}}],imports:[p.MatCommonModule,f.CommonModule,p.MatRippleModule,p.MatCommonModule]})}return $})()},9021:(Z,l,o)=>{"use strict";o.r(l),o.d(l,{AnimationCurves:()=>X,AnimationDurations:()=>K,DateAdapter:()=>Ve,ErrorStateMatcher:()=>Dt,MATERIAL_SANITY_CHECKS:()=>ae,MAT_DATE_FORMATS:()=>ye,MAT_DATE_LOCALE:()=>kt,MAT_DATE_LOCALE_FACTORY:()=>je,MAT_NATIVE_DATE_FORMATS:()=>J,MAT_OPTGROUP:()=>ge,MAT_OPTION_PARENT_COMPONENT:()=>at,MAT_RIPPLE_GLOBAL_OPTIONS:()=>Ct,MatCommonModule:()=>te,MatLine:()=>Vt,MatLineModule:()=>Ge,MatNativeDateModule:()=>ct,MatOptgroup:()=>rt,MatOption:()=>ln,MatOptionModule:()=>_t,MatOptionSelectionChange:()=>Ft,MatPseudoCheckbox:()=>Qt,MatPseudoCheckboxModule:()=>Zt,MatRipple:()=>Wt,MatRippleLoader:()=>lt,MatRippleModule:()=>Kt,NativeDateAdapter:()=>B,NativeDateModule:()=>Ze,RippleRef:()=>Ee,RippleRenderer:()=>st,ShowOnDirtyErrorStateMatcher:()=>Nt,VERSION:()=>oe,_MatOptgroupBase:()=>ee,_MatOptionBase:()=>qt,_countGroupLabelsBeforeOption:()=>pn,_getOptionScrollPosition:()=>Dn,defaultRippleAnimationConfig:()=>dt,mixinColor:()=>ce,mixinDisableRipple:()=>Ae,mixinDisabled:()=>We,mixinErrorState:()=>Qe,mixinInitialized:()=>ot,mixinTabIndex:()=>Ye,setLines:()=>Fe});var i=o(7786),a=o(8654),f=o(4877),d=o(9462),h=o(3844),g=o(5988),v=o(7371),m=o(9453),u=o(19),b=o(7605);const C=["*",[["mat-option"],["ng-container"]]],M=["*","mat-option, ng-container"],S=["text"];function H(ue,L){if(1&ue&&i.\u0275\u0275element(0,"mat-pseudo-checkbox",6),2&ue){const A=i.\u0275\u0275nextContext();i.\u0275\u0275property("disabled",A.disabled)("state",A.selected?"checked":"unchecked")}}function j(ue,L){if(1&ue&&i.\u0275\u0275element(0,"mat-pseudo-checkbox",7),2&ue){const A=i.\u0275\u0275nextContext();i.\u0275\u0275property("disabled",A.disabled)}}function N(ue,L){if(1&ue&&(i.\u0275\u0275elementStart(0,"span",8),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&ue){const A=i.\u0275\u0275nextContext();i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1("(",A.group.label,")")}}const fe=[[["mat-icon"]],"*"],z=["mat-icon","*"],oe=new i.Version("16.2.6");let X=(()=>{class ue{static#e=this.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)";static#t=this.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)";static#n=this.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)";static#i=this.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}return ue})(),K=(()=>{class ue{static#e=this.COMPLEX="375ms";static#t=this.ENTERING="225ms";static#n=this.EXITING="195ms"}return ue})();const ae=new i.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function me(){return!0}});let te=(()=>{class ue{constructor(A,ie,ze){this._sanityChecks=ie,this._document=ze,this._hasDoneGlobalChecks=!1,A._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(A){return!(0,h.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[A])}static#e=this.\u0275fac=function(ie){return new(ie||ue)(i.\u0275\u0275inject(a.qm),i.\u0275\u0275inject(ae,8),i.\u0275\u0275inject(d.DOCUMENT))};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:ue});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({imports:[f.vT,f.vT]})}return ue})();function We(ue){return class extends ue{get disabled(){return this._disabled}set disabled(L){this._disabled=(0,g.Ig)(L)}constructor(...L){super(...L),this._disabled=!1}}}function ce(ue,L){return class extends ue{get color(){return this._color}set color(A){const ie=A||this.defaultColor;ie!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),ie&&this._elementRef.nativeElement.classList.add(`mat-${ie}`),this._color=ie)}constructor(...A){super(...A),this.defaultColor=L,this.color=L}}}function Ae(ue){return class extends ue{get disableRipple(){return this._disableRipple}set disableRipple(L){this._disableRipple=(0,g.Ig)(L)}constructor(...L){super(...L),this._disableRipple=!1}}}function Ye(ue,L=0){return class extends ue{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(A){this._tabIndex=null!=A?(0,g.su)(A):this.defaultTabIndex}constructor(...A){super(...A),this._tabIndex=L,this.defaultTabIndex=L}}}function Qe(ue){return class extends ue{updateErrorState(){const L=this.errorState,Mt=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Mt!==L&&(this.errorState=Mt,this.stateChanges.next())}constructor(...L){super(...L),this.errorState=!1}}}function ot(ue){return class extends ue{constructor(...L){super(...L),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new v.y(A=>{this._isInitialized?this._notifySubscriber(A):this._pendingSubscribers.push(A)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(L){L.next(),L.complete()}}}const kt=new i.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:je});function je(){return(0,i.inject)(i.LOCALE_ID)}class Ve{constructor(){this._localeChanges=new m.x,this.localeChanges=this._localeChanges}getValidDateOrNull(L){return this.isDateInstance(L)&&this.isValid(L)?L:null}deserialize(L){return null==L||this.isDateInstance(L)&&this.isValid(L)?L:this.invalid()}setLocale(L){this.locale=L,this._localeChanges.next()}compareDate(L,A){return this.getYear(L)-this.getYear(A)||this.getMonth(L)-this.getMonth(A)||this.getDate(L)-this.getDate(A)}sameDate(L,A){if(L&&A){let ie=this.isValid(L),ze=this.isValid(A);return ie&&ze?!this.compareDate(L,A):ie==ze}return L==A}clampDate(L,A,ie){return A&&this.compareDate(L,A)<0?A:ie&&this.compareDate(L,ie)>0?ie:L}}const ye=new i.InjectionToken("mat-date-formats"),we=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ne(ue,L){const A=Array(ue);for(let ie=0;ie<ue;ie++)A[ie]=L(ie);return A}let B=(()=>{class ue extends Ve{constructor(A,ie){super(),this.useUtcForDisplay=!1,super.setLocale(A)}getYear(A){return A.getFullYear()}getMonth(A){return A.getMonth()}getDate(A){return A.getDate()}getDayOfWeek(A){return A.getDay()}getMonthNames(A){const ie=new Intl.DateTimeFormat(this.locale,{month:A,timeZone:"utc"});return ne(12,ze=>this._format(ie,new Date(2017,ze,1)))}getDateNames(){const A=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ne(31,ie=>this._format(A,new Date(2017,0,ie+1)))}getDayOfWeekNames(A){const ie=new Intl.DateTimeFormat(this.locale,{weekday:A,timeZone:"utc"});return ne(7,ze=>this._format(ie,new Date(2017,0,ze+1)))}getYearName(A){const ie=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(ie,A)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(A){return this.getDate(this._createDateWithOverflow(this.getYear(A),this.getMonth(A)+1,0))}clone(A){return new Date(A.getTime())}createDate(A,ie,ze){let Mt=this._createDateWithOverflow(A,ie,ze);return Mt.getMonth(),Mt}today(){return new Date}parse(A,ie){return"number"==typeof A?new Date(A):A?new Date(Date.parse(A)):null}format(A,ie){if(!this.isValid(A))throw Error("NativeDateAdapter: Cannot format invalid date.");const ze=new Intl.DateTimeFormat(this.locale,{...ie,timeZone:"utc"});return this._format(ze,A)}addCalendarYears(A,ie){return this.addCalendarMonths(A,12*ie)}addCalendarMonths(A,ie){let ze=this._createDateWithOverflow(this.getYear(A),this.getMonth(A)+ie,this.getDate(A));return this.getMonth(ze)!=((this.getMonth(A)+ie)%12+12)%12&&(ze=this._createDateWithOverflow(this.getYear(ze),this.getMonth(ze),0)),ze}addCalendarDays(A,ie){return this._createDateWithOverflow(this.getYear(A),this.getMonth(A),this.getDate(A)+ie)}toIso8601(A){return[A.getUTCFullYear(),this._2digit(A.getUTCMonth()+1),this._2digit(A.getUTCDate())].join("-")}deserialize(A){if("string"==typeof A){if(!A)return null;if(we.test(A)){let ie=new Date(A);if(this.isValid(ie))return ie}}return super.deserialize(A)}isDateInstance(A){return A instanceof Date}isValid(A){return!isNaN(A.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(A,ie,ze){const Mt=new Date;return Mt.setFullYear(A,ie,ze),Mt.setHours(0,0,0,0),Mt}_2digit(A){return("00"+A).slice(-2)}_format(A,ie){const ze=new Date;return ze.setUTCFullYear(ie.getFullYear(),ie.getMonth(),ie.getDate()),ze.setUTCHours(ie.getHours(),ie.getMinutes(),ie.getSeconds(),ie.getMilliseconds()),A.format(ze)}static#e=this.\u0275fac=function(ie){return new(ie||ue)(i.\u0275\u0275inject(kt,8),i.\u0275\u0275inject(h.t4))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac})}return ue})();const J={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let Ze=(()=>{class ue{static#e=this.\u0275fac=function(ie){return new(ie||ue)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:ue});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({providers:[{provide:Ve,useClass:B}]})}return ue})(),ct=(()=>{class ue{static#e=this.\u0275fac=function(ie){return new(ie||ue)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:ue});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({providers:[{provide:ye,useValue:J}],imports:[Ze]})}return ue})(),Nt=(()=>{class ue{isErrorState(A,ie){return!!(A&&A.invalid&&(A.dirty||ie&&ie.submitted))}static#e=this.\u0275fac=function(ie){return new(ie||ue)};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac})}return ue})(),Dt=(()=>{class ue{isErrorState(A,ie){return!!(A&&A.invalid&&(A.touched||ie&&ie.submitted))}static#e=this.\u0275fac=function(ie){return new(ie||ue)};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})(),Vt=(()=>{class ue{static#e=this.\u0275fac=function(ie){return new(ie||ue)};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:ue,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]})}return ue})();function Fe(ue,L,A="mat"){ue.changes.pipe((0,u.O)(ue)).subscribe(({length:ie})=>{ke(L,`${A}-2-line`,!1),ke(L,`${A}-3-line`,!1),ke(L,`${A}-multi-line`,!1),2===ie||3===ie?ke(L,`${A}-${ie}-line`,!0):ie>3&&ke(L,`${A}-multi-line`,!0)})}function ke(ue,L,A){ue.nativeElement.classList.toggle(L,A)}let Ge=(()=>{class ue{static#e=this.\u0275fac=function(ie){return new(ie||ue)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:ue});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({imports:[te,te]})}return ue})();class Ee{constructor(L,A,ie,ze=!1){this._renderer=L,this.element=A,this.config=ie,this._animationForciblyDisabledThroughCss=ze,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Te=(0,h.i$)({passive:!0,capture:!0});class pt{constructor(){this._events=new Map,this._delegateEventHandler=L=>{const A=(0,h.sA)(L);A&&this._events.get(L.type)?.forEach((ie,ze)=>{(ze===A||ze.contains(A))&&ie.forEach(Mt=>Mt.handleEvent(L))})}}addHandler(L,A,ie,ze){const Mt=this._events.get(A);if(Mt){const Xe=Mt.get(ie);Xe?Xe.add(ze):Mt.set(ie,new Set([ze]))}else this._events.set(A,new Map([[ie,new Set([ze])]])),L.runOutsideAngular(()=>{document.addEventListener(A,this._delegateEventHandler,Te)})}removeHandler(L,A,ie){const ze=this._events.get(L);if(!ze)return;const Mt=ze.get(A);Mt&&(Mt.delete(ie),0===Mt.size&&ze.delete(A),0===ze.size&&(this._events.delete(L),document.removeEventListener(L,this._delegateEventHandler,Te)))}}const dt={enterDuration:225,exitDuration:150},Y=(0,h.i$)({passive:!0,capture:!0}),_e=["mousedown","touchstart"],Ie=["mouseup","mouseleave","touchend","touchcancel"];class st{static#e=this._eventManager=new pt;constructor(L,A,ie,ze){this._target=L,this._ngZone=A,this._platform=ze,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,ze.isBrowser&&(this._containerElement=(0,g.fI)(ie))}fadeInRipple(L,A,ie={}){const ze=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Mt={...dt,...ie.animation};ie.centered&&(L=ze.left+ze.width/2,A=ze.top+ze.height/2);const Xe=ie.radius||function tt(ue,L,A){const ie=Math.max(Math.abs(ue-A.left),Math.abs(ue-A.right)),ze=Math.max(Math.abs(L-A.top),Math.abs(L-A.bottom));return Math.sqrt(ie*ie+ze*ze)}(L,A,ze),xt=L-ze.left,de=A-ze.top,Me=Mt.enterDuration,Se=document.createElement("div");Se.classList.add("mat-ripple-element"),Se.style.left=xt-Xe+"px",Se.style.top=de-Xe+"px",Se.style.height=2*Xe+"px",Se.style.width=2*Xe+"px",null!=ie.color&&(Se.style.backgroundColor=ie.color),Se.style.transitionDuration=`${Me}ms`,this._containerElement.appendChild(Se);const vt=window.getComputedStyle(Se),vn=vt.transitionDuration,cn="none"===vt.transitionProperty||"0s"===vn||"0s, 0s"===vn||0===ze.width&&0===ze.height,fn=new Ee(this,Se,ie,cn);Se.style.transform="scale3d(1, 1, 1)",fn.state=0,ie.persistent||(this._mostRecentTransientRipple=fn);let Ue=null;return!cn&&(Me||Mt.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Re=()=>this._finishRippleTransition(fn),xe=()=>this._destroyRipple(fn);Se.addEventListener("transitionend",Re),Se.addEventListener("transitioncancel",xe),Ue={onTransitionEnd:Re,onTransitionCancel:xe}}),this._activeRipples.set(fn,Ue),(cn||!Me)&&this._finishRippleTransition(fn),fn}fadeOutRipple(L){if(2===L.state||3===L.state)return;const A=L.element,ie={...dt,...L.config.animation};A.style.transitionDuration=`${ie.exitDuration}ms`,A.style.opacity="0",L.state=2,(L._animationForciblyDisabledThroughCss||!ie.exitDuration)&&this._finishRippleTransition(L)}fadeOutAll(){this._getActiveRipples().forEach(L=>L.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(L=>{L.config.persistent||L.fadeOut()})}setupTriggerEvents(L){const A=(0,g.fI)(L);!this._platform.isBrowser||!A||A===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=A,_e.forEach(ie=>{st._eventManager.addHandler(this._ngZone,ie,A,this)}))}handleEvent(L){"mousedown"===L.type?this._onMousedown(L):"touchstart"===L.type?this._onTouchStart(L):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Ie.forEach(A=>{this._triggerElement.addEventListener(A,this,Y)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(L){0===L.state?this._startFadeOutTransition(L):2===L.state&&this._destroyRipple(L)}_startFadeOutTransition(L){const A=L===this._mostRecentTransientRipple,{persistent:ie}=L.config;L.state=1,!ie&&(!A||!this._isPointerDown)&&L.fadeOut()}_destroyRipple(L){const A=this._activeRipples.get(L)??null;this._activeRipples.delete(L),this._activeRipples.size||(this._containerRect=null),L===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),L.state=3,null!==A&&(L.element.removeEventListener("transitionend",A.onTransitionEnd),L.element.removeEventListener("transitioncancel",A.onTransitionCancel)),L.element.remove()}_onMousedown(L){const A=(0,a.X6)(L),ie=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!A&&!ie&&(this._isPointerDown=!0,this.fadeInRipple(L.clientX,L.clientY,this._target.rippleConfig))}_onTouchStart(L){if(!this._target.rippleDisabled&&!(0,a.yG)(L)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const A=L.changedTouches;if(A)for(let ie=0;ie<A.length;ie++)this.fadeInRipple(A[ie].clientX,A[ie].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(L=>{!L.config.persistent&&(1===L.state||L.config.terminateOnPointerUp&&0===L.state)&&L.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const L=this._triggerElement;L&&(_e.forEach(A=>st._eventManager.removeHandler(A,L,this)),this._pointerUpEventsRegistered&&Ie.forEach(A=>L.removeEventListener(A,this,Y)))}}const Ct=new i.InjectionToken("mat-ripple-global-options");let Wt=(()=>{class ue{get disabled(){return this._disabled}set disabled(A){A&&this.fadeOutAllNonPersistent(),this._disabled=A,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(A){this._trigger=A,this._setupTriggerEventsIfEnabled()}constructor(A,ie,ze,Mt,Xe){this._elementRef=A,this._animationMode=Xe,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Mt||{},this._rippleRenderer=new st(this,ie,A,ze)}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:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{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(A,ie=0,ze){return"number"==typeof A?this._rippleRenderer.fadeInRipple(A,ie,{...this.rippleConfig,...ze}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...A})}static#e=this.\u0275fac=function(ie){return new(ie||ue)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.NgZone),i.\u0275\u0275directiveInject(h.t4),i.\u0275\u0275directiveInject(Ct,8),i.\u0275\u0275directiveInject(i.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:ue,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(ie,ze){2&ie&&i.\u0275\u0275classProp("mat-ripple-unbounded",ze.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return ue})(),Kt=(()=>{class ue{static#e=this.\u0275fac=function(ie){return new(ie||ue)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:ue});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({imports:[te,te]})}return ue})(),Qt=(()=>{class ue{constructor(A){this._animationMode=A,this.state="unchecked",this.disabled=!1,this.appearance="full"}static#e=this.\u0275fac=function(ie){return new(ie||ue)(i.\u0275\u0275directiveInject(i.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=i.\u0275\u0275defineComponent({type:ue,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(ie,ze){2&ie&&i.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===ze.state)("mat-pseudo-checkbox-checked","checked"===ze.state)("mat-pseudo-checkbox-disabled",ze.disabled)("mat-pseudo-checkbox-minimal","minimal"===ze.appearance)("mat-pseudo-checkbox-full","full"===ze.appearance)("_mat-animation-noopable","NoopAnimations"===ze._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(ie,ze){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}return ue})(),Zt=(()=>{class ue{static#e=this.\u0275fac=function(ie){return new(ie||ue)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:ue});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({imports:[te]})}return ue})();const at=new i.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),yt=We(class{});let Ne=0,ee=(()=>{class ue extends yt{constructor(A){super(),this._labelId="mat-optgroup-label-"+Ne++,this._inert=A?.inertGroups??!1}static#e=this.\u0275fac=function(ie){return new(ie||ue)(i.\u0275\u0275directiveInject(at,8))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:ue,inputs:{label:"label"},features:[i.\u0275\u0275InheritDefinitionFeature]})}return ue})();const ge=new i.InjectionToken("MatOptgroup");let rt=(()=>{class ue extends ee{static#e=this.\u0275fac=function(){let A;return function(ze){return(A||(A=i.\u0275\u0275getInheritedFactory(ue)))(ze||ue)}}();static#t=this.\u0275cmp=i.\u0275\u0275defineComponent({type:ue,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(ie,ze){2&ie&&i.\u0275\u0275attribute("role",ze._inert?null:"group")("aria-disabled",ze._inert?null:ze.disabled.toString())("aria-labelledby",ze._inert?null:ze._labelId)},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[i.\u0275\u0275ProvidersFeature([{provide:ge,useExisting:ue}]),i.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:M,decls:5,vars:4,consts:[["role","presentation",1,"mat-mdc-optgroup-label",3,"id"],[1,"mdc-list-item__primary-text"]],template:function(ie,ze){1&ie&&(i.\u0275\u0275projectionDef(C),i.\u0275\u0275elementStart(0,"span",0)(1,"span",1),i.\u0275\u0275text(2),i.\u0275\u0275projection(3),i.\u0275\u0275elementEnd()(),i.\u0275\u0275projection(4,1)),2&ie&&(i.\u0275\u0275classProp("mdc-list-item--disabled",ze.disabled),i.\u0275\u0275property("id",ze._labelId),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate1("",ze.label," "))},styles:[".mat-mdc-optgroup{color:var(--mat-optgroup-label-text-color);font-family:var(--mat-optgroup-label-text-font);line-height:var(--mat-optgroup-label-text-line-height);font-size:var(--mat-optgroup-label-text-size);letter-spacing:var(--mat-optgroup-label-text-tracking);font-weight:var(--mat-optgroup-label-text-weight)}.mat-mdc-optgroup-label{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;min-height:48px}.mat-mdc-optgroup-label:focus{outline:none}[dir=rtl] .mat-mdc-optgroup-label,.mat-mdc-optgroup-label[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-optgroup-label.mdc-list-item--disabled{opacity:.38}.mat-mdc-optgroup-label .mdc-list-item__primary-text{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;white-space:normal}"],encapsulation:2,changeDetection:0})}return ue})(),Tt=0;class Ft{constructor(L,A=!1){this.source=L,this.isUserInput=A}}let qt=(()=>{class ue{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(A){this._disabled=(0,g.Ig)(A)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(A,ie,ze,Mt){this._element=A,this._changeDetectorRef=ie,this._parent=ze,this.group=Mt,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Tt++,this.onSelectionChange=new i.EventEmitter,this._stateChanges=new m.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(A=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),A&&this._emitSelectionChangeEvent())}deselect(A=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),A&&this._emitSelectionChangeEvent())}focus(A,ie){const ze=this._getHostElement();"function"==typeof ze.focus&&ze.focus(ie)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(A){(A.keyCode===b.K5||A.keyCode===b.L_)&&!(0,b.Vb)(A)&&(this._selectViaInteraction(),A.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const A=this.viewValue;A!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=A)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(A=!1){this.onSelectionChange.emit(new Ft(this,A))}static#e=this.\u0275fac=function(ie){i.\u0275\u0275invalidFactory()};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:ue,viewQuery:function(ie,ze){if(1&ie&&i.\u0275\u0275viewQuery(S,7),2&ie){let Mt;i.\u0275\u0275queryRefresh(Mt=i.\u0275\u0275loadQuery())&&(ze._text=Mt.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}})}return ue})(),ln=(()=>{class ue extends qt{constructor(A,ie,ze,Mt){super(A,ie,ze,Mt)}static#e=this.\u0275fac=function(ie){return new(ie||ue)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.ChangeDetectorRef),i.\u0275\u0275directiveInject(at,8),i.\u0275\u0275directiveInject(ge,8))};static#t=this.\u0275cmp=i.\u0275\u0275defineComponent({type:ue,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(ie,ze){1&ie&&i.\u0275\u0275listener("click",function(){return ze._selectViaInteraction()})("keydown",function(Xe){return ze._handleKeydown(Xe)}),2&ie&&(i.\u0275\u0275hostProperty("id",ze.id),i.\u0275\u0275attribute("aria-selected",ze.selected)("aria-disabled",ze.disabled.toString()),i.\u0275\u0275classProp("mdc-list-item--selected",ze.selected)("mat-mdc-option-multiple",ze.multiple)("mat-mdc-option-active",ze.active)("mdc-list-item--disabled",ze.disabled))},exportAs:["matOption"],features:[i.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:z,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(ie,ze){1&ie&&(i.\u0275\u0275projectionDef(fe),i.\u0275\u0275template(0,H,1,2,"mat-pseudo-checkbox",0),i.\u0275\u0275projection(1),i.\u0275\u0275elementStart(2,"span",1,2),i.\u0275\u0275projection(4,1),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(5,j,1,1,"mat-pseudo-checkbox",3),i.\u0275\u0275template(6,N,2,1,"span",4),i.\u0275\u0275element(7,"div",5)),2&ie&&(i.\u0275\u0275property("ngIf",ze.multiple),i.\u0275\u0275advance(5),i.\u0275\u0275property("ngIf",!ze.multiple&&ze.selected&&!ze.hideSingleSelectionIndicator),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",ze.group&&ze.group._inert),i.\u0275\u0275advance(1),i.\u0275\u0275property("matRippleTrigger",ze._getHostElement())("matRippleDisabled",ze.disabled||ze.disableRipple))},dependencies:[Wt,d.NgIf,Qt],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return ue})();function pn(ue,L,A){if(A.length){let ie=L.toArray(),ze=A.toArray(),Mt=0;for(let Xe=0;Xe<ue+1;Xe++)ie[Xe].group&&ie[Xe].group===ze[Mt]&&Mt++;return Mt}return 0}function Dn(ue,L,A,ie){return ue<A?ue:ue+L>A+ie?Math.max(0,ue-ie+L):A}let _t=(()=>{class ue{static#e=this.\u0275fac=function(ie){return new(ie||ue)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:ue});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({imports:[Kt,d.CommonModule,te,Zt]})}return ue})();const et={capture:!0},Ce=["focus","click","mouseenter","touchstart"],Be="mat-ripple-loader-uninitialized",ht="mat-ripple-loader-class-name",Ot="mat-ripple-loader-centered",Jt="mat-ripple-loader-disabled";let lt=(()=>{class ue{constructor(){this._document=(0,i.inject)(d.DOCUMENT,{optional:!0}),this._animationMode=(0,i.inject)(i.ANIMATION_MODULE_TYPE,{optional:!0}),this._globalRippleOptions=(0,i.inject)(Ct,{optional:!0}),this._platform=(0,i.inject)(h.t4),this._ngZone=(0,i.inject)(i.NgZone),this._onInteraction=A=>{if(!(A.target instanceof HTMLElement))return;const ze=A.target.closest(`[${Be}]`);ze&&this.createRipple(ze)},this._ngZone.runOutsideAngular(()=>{for(const A of Ce)this._document?.addEventListener(A,this._onInteraction,et)})}ngOnDestroy(){for(const A of Ce)this._document?.removeEventListener(A,this._onInteraction,et)}configureRipple(A,ie){A.setAttribute(Be,""),(ie.className||!A.hasAttribute(ht))&&A.setAttribute(ht,ie.className||""),ie.centered&&A.setAttribute(Ot,""),ie.disabled&&A.setAttribute(Jt,"")}getRipple(A){return A.matRipple?A.matRipple:this.createRipple(A)}setDisabled(A,ie){const ze=A.matRipple;ze?ze.disabled=ie:ie?A.setAttribute(Jt,""):A.removeAttribute(Jt)}createRipple(A){if(!this._document)return;A.querySelector(".mat-ripple")?.remove();const ie=this._document.createElement("span");ie.classList.add("mat-ripple",A.getAttribute(ht)),A.append(ie);const ze=new Wt(new i.ElementRef(ie),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return ze._isInitialized=!0,ze.trigger=A,ze.centered=A.hasAttribute(Ot),ze.disabled=A.hasAttribute(Jt),this.attachRipple(A,ze),ze}attachRipple(A,ie){A.removeAttribute(Be),A.matRipple=ie}static#e=this.\u0275fac=function(ie){return new(ie||ue)};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})()},9986:(Z,l,o)=>{"use strict";o.r(l),o.d(l,{MAT_DIALOG_DATA:()=>Fe,MAT_DIALOG_DEFAULT_OPTIONS:()=>ke,MAT_DIALOG_SCROLL_STRATEGY:()=>Ge,MAT_DIALOG_SCROLL_STRATEGY_FACTORY:()=>pt,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER:()=>Te,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>Ee,MatDialog:()=>Y,MatDialogActions:()=>Ct,MatDialogClose:()=>Ie,MatDialogConfig:()=>je,MatDialogContainer:()=>Nt,MatDialogContent:()=>tt,MatDialogModule:()=>Kt,MatDialogRef:()=>Dt,MatDialogTitle:()=>st,_MatDialogBase:()=>qe,_MatDialogContainerBase:()=>J,_closeDialogVia:()=>Vt,_defaultParams:()=>Qt,matDialogAnimations:()=>Zt});var i=o(9292),a=o(9462),f=o(7786),p=o(8654),d=o(3844),h=o(6512),g=o(7605),v=o(9453),m=o(7371),u=o(8299);function b(at){return new m.y(yt=>{(0,u.Xf)(at()).subscribe(yt)})}var C=o(9627),M=o(4877),S=o(19);function H(at,yt){}class j{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let fe=(()=>{class at extends h.en{constructor(Ne,ee,ge,rt,Tt,Ft,qt,ln){super(),this._elementRef=Ne,this._focusTrapFactory=ee,this._config=rt,this._interactivityChecker=Tt,this._ngZone=Ft,this._overlayRef=qt,this._focusMonitor=ln,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=pn=>{this._portalOutlet.hasAttached();const Dn=this._portalOutlet.attachDomPortal(pn);return this._contentAttached(),Dn},this._document=ge,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(Ne){this._portalOutlet.hasAttached();const ee=this._portalOutlet.attachComponentPortal(Ne);return this._contentAttached(),ee}attachTemplatePortal(Ne){this._portalOutlet.hasAttached();const ee=this._portalOutlet.attachTemplatePortal(Ne);return this._contentAttached(),ee}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(Ne,ee){this._interactivityChecker.isFocusable(Ne)||(Ne.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const ge=()=>{Ne.removeEventListener("blur",ge),Ne.removeEventListener("mousedown",ge),Ne.removeAttribute("tabindex")};Ne.addEventListener("blur",ge),Ne.addEventListener("mousedown",ge)})),Ne.focus(ee)}_focusByCssSelector(Ne,ee){let ge=this._elementRef.nativeElement.querySelector(Ne);ge&&this._forceFocus(ge,ee)}_trapFocus(){const Ne=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||Ne.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(ee=>{ee||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const Ne=this._config.restoreFocus;let ee=null;if("string"==typeof Ne?ee=this._document.querySelector(Ne):"boolean"==typeof Ne?ee=Ne?this._elementFocusedBeforeDialogWasOpened:null:Ne&&(ee=Ne),this._config.restoreFocus&&ee&&"function"==typeof ee.focus){const ge=(0,d.ht)(),rt=this._elementRef.nativeElement;(!ge||ge===this._document.body||ge===rt||rt.contains(ge))&&(this._focusMonitor?(this._focusMonitor.focusVia(ee,this._closeInteractionType),this._closeInteractionType=null):ee.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const Ne=this._elementRef.nativeElement,ee=(0,d.ht)();return Ne===ee||Ne.contains(ee)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,d.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static#e=this.\u0275fac=function(ee){return new(ee||at)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(p.qV),f.\u0275\u0275directiveInject(a.DOCUMENT,8),f.\u0275\u0275directiveInject(j),f.\u0275\u0275directiveInject(p.ic),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(i.Iu),f.\u0275\u0275directiveInject(p.tE))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:at,selectors:[["cdk-dialog-container"]],viewQuery:function(ee,ge){if(1&ee&&f.\u0275\u0275viewQuery(h.Pl,7),2&ee){let rt;f.\u0275\u0275queryRefresh(rt=f.\u0275\u0275loadQuery())&&(ge._portalOutlet=rt.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(ee,ge){2&ee&&f.\u0275\u0275attribute("id",ge._config.id||null)("role",ge._config.role)("aria-modal",ge._config.ariaModal)("aria-labelledby",ge._config.ariaLabel?null:ge._ariaLabelledByQueue[0])("aria-label",ge._config.ariaLabel)("aria-describedby",ge._config.ariaDescribedBy||null)},features:[f.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(ee,ge){1&ee&&f.\u0275\u0275template(0,H,0,0,"ng-template",0)},dependencies:[h.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return at})();class z{constructor(yt,Ne){this.overlayRef=yt,this.config=Ne,this.closed=new v.x,this.disableClose=Ne.disableClose,this.backdropClick=yt.backdropClick(),this.keydownEvents=yt.keydownEvents(),this.outsidePointerEvents=yt.outsidePointerEvents(),this.id=Ne.id,this.keydownEvents.subscribe(ee=>{ee.keyCode===g.hY&&!this.disableClose&&!(0,g.Vb)(ee)&&(ee.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=yt.detachments().subscribe(()=>{!1!==Ne.closeOnOverlayDetachments&&this.close()})}close(yt,Ne){if(this.containerInstance){const ee=this.closed;this.containerInstance._closeInteractionType=Ne?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),ee.next(yt),ee.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(yt="",Ne=""){return this.overlayRef.updateSize({width:yt,height:Ne}),this}addPanelClass(yt){return this.overlayRef.addPanelClass(yt),this}removePanelClass(yt){return this.overlayRef.removePanelClass(yt),this}}const oe=new f.InjectionToken("DialogScrollStrategy"),X=new f.InjectionToken("DialogData"),K=new f.InjectionToken("DefaultDialogConfig"),ae={provide:oe,deps:[i.aV],useFactory:function me(at){return()=>at.scrollStrategies.block()}};let te=0,pe=(()=>{class at{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(Ne,ee,ge,rt,Tt,Ft){this._overlay=Ne,this._injector=ee,this._defaultOptions=ge,this._parentDialog=rt,this._overlayContainer=Tt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new v.x,this._afterOpenedAtThisLevel=new v.x,this._ariaHiddenElements=new Map,this.afterAllClosed=b(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,S.O)(void 0))),this._scrollStrategy=Ft}open(Ne,ee){(ee={...this._defaultOptions||new j,...ee}).id=ee.id||"cdk-dialog-"+te++,ee.id&&this.getDialogById(ee.id);const rt=this._getOverlayConfig(ee),Tt=this._overlay.create(rt),Ft=new z(Tt,ee),qt=this._attachContainer(Tt,Ft,ee);return Ft.containerInstance=qt,this._attachDialogContent(Ne,Ft,qt,ee),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Ft),Ft.closed.subscribe(()=>this._removeOpenDialog(Ft,!0)),this.afterOpened.next(Ft),Ft}closeAll(){it(this.openDialogs,Ne=>Ne.close())}getDialogById(Ne){return this.openDialogs.find(ee=>ee.id===Ne)}ngOnDestroy(){it(this._openDialogsAtThisLevel,Ne=>{!1===Ne.config.closeOnDestroy&&this._removeOpenDialog(Ne,!1)}),it(this._openDialogsAtThisLevel,Ne=>Ne.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(Ne){const ee=new i.X_({positionStrategy:Ne.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:Ne.scrollStrategy||this._scrollStrategy(),panelClass:Ne.panelClass,hasBackdrop:Ne.hasBackdrop,direction:Ne.direction,minWidth:Ne.minWidth,minHeight:Ne.minHeight,maxWidth:Ne.maxWidth,maxHeight:Ne.maxHeight,width:Ne.width,height:Ne.height,disposeOnNavigation:Ne.closeOnNavigation});return Ne.backdropClass&&(ee.backdropClass=Ne.backdropClass),ee}_attachContainer(Ne,ee,ge){const rt=ge.injector||ge.viewContainerRef?.injector,Tt=[{provide:j,useValue:ge},{provide:z,useValue:ee},{provide:i.Iu,useValue:Ne}];let Ft;ge.container?"function"==typeof ge.container?Ft=ge.container:(Ft=ge.container.type,Tt.push(...ge.container.providers(ge))):Ft=fe;const qt=new h.C5(Ft,ge.viewContainerRef,f.Injector.create({parent:rt||this._injector,providers:Tt}),ge.componentFactoryResolver);return Ne.attach(qt).instance}_attachDialogContent(Ne,ee,ge,rt){if(Ne instanceof f.TemplateRef){const Tt=this._createInjector(rt,ee,ge,void 0);let Ft={$implicit:rt.data,dialogRef:ee};rt.templateContext&&(Ft={...Ft,..."function"==typeof rt.templateContext?rt.templateContext():rt.templateContext}),ge.attachTemplatePortal(new h.UE(Ne,null,Ft,Tt))}else{const Tt=this._createInjector(rt,ee,ge,this._injector),Ft=ge.attachComponentPortal(new h.C5(Ne,rt.viewContainerRef,Tt,rt.componentFactoryResolver));ee.componentRef=Ft,ee.componentInstance=Ft.instance}}_createInjector(Ne,ee,ge,rt){const Tt=Ne.injector||Ne.viewContainerRef?.injector,Ft=[{provide:X,useValue:Ne.data},{provide:z,useValue:ee}];return Ne.providers&&("function"==typeof Ne.providers?Ft.push(...Ne.providers(ee,Ne,ge)):Ft.push(...Ne.providers)),Ne.direction&&(!Tt||!Tt.get(M.Is,null,{optional:!0}))&&Ft.push({provide:M.Is,useValue:{value:Ne.direction,change:(0,C.of)()}}),f.Injector.create({parent:Tt||rt,providers:Ft})}_removeOpenDialog(Ne,ee){const ge=this.openDialogs.indexOf(Ne);ge>-1&&(this.openDialogs.splice(ge,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((rt,Tt)=>{rt?Tt.setAttribute("aria-hidden",rt):Tt.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),ee&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const Ne=this._overlayContainer.getContainerElement();if(Ne.parentElement){const ee=Ne.parentElement.children;for(let ge=ee.length-1;ge>-1;ge--){const rt=ee[ge];rt!==Ne&&"SCRIPT"!==rt.nodeName&&"STYLE"!==rt.nodeName&&!rt.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(rt,rt.getAttribute("aria-hidden")),rt.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const Ne=this._parentDialog;return Ne?Ne._getAfterAllClosed():this._afterAllClosedAtThisLevel}static#e=this.\u0275fac=function(ee){return new(ee||at)(f.\u0275\u0275inject(i.aV),f.\u0275\u0275inject(f.Injector),f.\u0275\u0275inject(K,8),f.\u0275\u0275inject(at,12),f.\u0275\u0275inject(i.Xj),f.\u0275\u0275inject(oe))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:at,factory:at.\u0275fac})}return at})();function it(at,yt){let Ne=at.length;for(;Ne--;)yt(at[Ne])}let be=(()=>{class at{static#e=this.\u0275fac=function(ee){return new(ee||at)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:at});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({providers:[pe,ae],imports:[i.U8,h.eL,p.rt,h.eL]})}return at})();var We=o(5988),ce=o(4991),Ae=o(1497),Ye=o(3581),Qe=o(9021),ot=o(6e3);function kt(at,yt){}class je{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const Ve="mdc-dialog--open",ye="mdc-dialog--opening",we="mdc-dialog--closing";let J=(()=>{class at extends fe{constructor(Ne,ee,ge,rt,Tt,Ft,qt,ln){super(Ne,ee,ge,rt,Tt,Ft,qt,ln),this._animationStateChanged=new f.EventEmitter}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(Ne){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:Ne})}static#e=this.\u0275fac=function(ee){return new(ee||at)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(p.qV),f.\u0275\u0275directiveInject(a.DOCUMENT,8),f.\u0275\u0275directiveInject(je),f.\u0275\u0275directiveInject(p.ic),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(i.Iu),f.\u0275\u0275directiveInject(p.tE))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:at,selectors:[["ng-component"]],features:[f.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(ee,ge){},encapsulation:2})}return at})();const Ze="--mat-dialog-transition-duration";function ct(at){return null==at?null:"number"==typeof at?at:at.endsWith("ms")?(0,We.su)(at.substring(0,at.length-2)):at.endsWith("s")?1e3*(0,We.su)(at.substring(0,at.length-1)):"0"===at?0:null}let Nt=(()=>{class at extends J{constructor(Ne,ee,ge,rt,Tt,Ft,qt,ln,pn){super(Ne,ee,ge,rt,Tt,Ft,qt,pn),this._animationMode=ln,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?ct(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?ct(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Ze,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(ye,Ve)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Ve),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Ve),this._animationsEnabled?(this._hostElement.style.setProperty(Ze,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(we)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(ye,we)}_waitForAnimationToComplete(Ne,ee){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(ee,Ne)}_requestAnimationFrame(Ne){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(Ne):Ne()})}static#e=this.\u0275fac=function(ee){return new(ee||at)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(p.qV),f.\u0275\u0275directiveInject(a.DOCUMENT,8),f.\u0275\u0275directiveInject(je),f.\u0275\u0275directiveInject(p.ic),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(i.Iu),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8),f.\u0275\u0275directiveInject(p.tE))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:at,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(ee,ge){2&ee&&(f.\u0275\u0275hostProperty("id",ge._config.id),f.\u0275\u0275attribute("aria-modal",ge._config.ariaModal)("role",ge._config.role)("aria-labelledby",ge._config.ariaLabel?null:ge._ariaLabelledByQueue[0])("aria-label",ge._config.ariaLabel)("aria-describedby",ge._config.ariaDescribedBy||null),f.\u0275\u0275classProp("_mat-animation-noopable",!ge._animationsEnabled))},features:[f.\u0275\u0275InheritDefinitionFeature],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(ee,ge){1&ee&&(f.\u0275\u0275elementStart(0,"div",0)(1,"div",1),f.\u0275\u0275template(2,kt,0,0,"ng-template",2),f.\u0275\u0275elementEnd()())},dependencies:[h.Pl],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{--mdc-dialog-container-elevation-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);--mdc-dialog-container-shadow-color:#000;--mdc-dialog-container-shape:4px;--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2})}return at})();class Dt{constructor(yt,Ne,ee){this._ref=yt,this._containerInstance=ee,this._afterOpened=new v.x,this._beforeClosed=new v.x,this._state=0,this.disableClose=Ne.disableClose,this.id=yt.id,ee._animationStateChanged.pipe((0,Ae.h)(ge=>"opened"===ge.state),(0,Ye.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),ee._animationStateChanged.pipe((0,Ae.h)(ge=>"closed"===ge.state),(0,Ye.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),yt.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,ce.T)(this.backdropClick(),this.keydownEvents().pipe((0,Ae.h)(ge=>ge.keyCode===g.hY&&!this.disableClose&&!(0,g.Vb)(ge)))).subscribe(ge=>{this.disableClose||(ge.preventDefault(),Vt(this,"keydown"===ge.type?"keyboard":"mouse"))})}close(yt){this._result=yt,this._containerInstance._animationStateChanged.pipe((0,Ae.h)(Ne=>"closing"===Ne.state),(0,Ye.q)(1)).subscribe(Ne=>{this._beforeClosed.next(yt),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),Ne.totalTime+100)}),this._state=1,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(yt){let Ne=this._ref.config.positionStrategy;return yt&&(yt.left||yt.right)?yt.left?Ne.left(yt.left):Ne.right(yt.right):Ne.centerHorizontally(),yt&&(yt.top||yt.bottom)?yt.top?Ne.top(yt.top):Ne.bottom(yt.bottom):Ne.centerVertically(),this._ref.updatePosition(),this}updateSize(yt="",Ne=""){return this._ref.updateSize(yt,Ne),this}addPanelClass(yt){return this._ref.addPanelClass(yt),this}removePanelClass(yt){return this._ref.removePanelClass(yt),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function Vt(at,yt,Ne){return at._closeInteractionType=yt,at.close(Ne)}const Fe=new f.InjectionToken("MatMdcDialogData"),ke=new f.InjectionToken("mat-mdc-dialog-default-options"),Ge=new f.InjectionToken("mat-mdc-dialog-scroll-strategy");function Ee(at){return()=>at.scrollStrategies.block()}const Te={provide:Ge,deps:[i.aV],useFactory:Ee};function pt(at){return()=>at.scrollStrategies.block()}let dt=0,qe=(()=>{class at{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const Ne=this._parentDialog;return Ne?Ne._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(Ne,ee,ge,rt,Tt,Ft,qt,ln,pn,Dn){this._overlay=Ne,this._defaultOptions=ge,this._parentDialog=rt,this._dialogRefConstructor=qt,this._dialogContainerType=ln,this._dialogDataToken=pn,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new v.x,this._afterOpenedAtThisLevel=new v.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=je,this.afterAllClosed=b(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,S.O)(void 0))),this._scrollStrategy=Ft,this._dialog=ee.get(pe)}open(Ne,ee){let ge;(ee={...this._defaultOptions||new je,...ee}).id=ee.id||`${this._idPrefix}${dt++}`,ee.scrollStrategy=ee.scrollStrategy||this._scrollStrategy();const rt=this._dialog.open(Ne,{...ee,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:ee},{provide:j,useValue:ee}]},templateContext:()=>({dialogRef:ge}),providers:(Tt,Ft,qt)=>(ge=new this._dialogRefConstructor(Tt,ee,qt),ge.updatePosition(ee?.position),[{provide:this._dialogContainerType,useValue:qt},{provide:this._dialogDataToken,useValue:Ft.data},{provide:this._dialogRefConstructor,useValue:ge}])});return ge.componentRef=rt.componentRef,ge.componentInstance=rt.componentInstance,this.openDialogs.push(ge),this.afterOpened.next(ge),ge.afterClosed().subscribe(()=>{const Tt=this.openDialogs.indexOf(ge);Tt>-1&&(this.openDialogs.splice(Tt,1),this.openDialogs.length||this._getAfterAllClosed().next())}),ge}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(Ne){return this.openDialogs.find(ee=>ee.id===Ne)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(Ne){let ee=Ne.length;for(;ee--;)Ne[ee].close()}static#e=this.\u0275fac=function(ee){f.\u0275\u0275invalidFactory()};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:at,factory:at.\u0275fac})}return at})(),Y=(()=>{class at extends qe{constructor(Ne,ee,ge,rt,Tt,Ft,qt,ln){super(Ne,ee,rt,Ft,qt,Tt,Dt,Nt,Fe,ln),this._idPrefix="mat-mdc-dialog-"}static#e=this.\u0275fac=function(ee){return new(ee||at)(f.\u0275\u0275inject(i.aV),f.\u0275\u0275inject(f.Injector),f.\u0275\u0275inject(a.Location,8),f.\u0275\u0275inject(ke,8),f.\u0275\u0275inject(Ge),f.\u0275\u0275inject(at,12),f.\u0275\u0275inject(i.Xj),f.\u0275\u0275inject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:at,factory:at.\u0275fac})}return at})(),_e=0,Ie=(()=>{class at{constructor(Ne,ee,ge){this.dialogRef=Ne,this._elementRef=ee,this._dialog=ge,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Wt(this._elementRef,this._dialog.openDialogs))}ngOnChanges(Ne){const ee=Ne._matDialogClose||Ne._matDialogCloseResult;ee&&(this.dialogResult=ee.currentValue)}_onButtonClick(Ne){Vt(this.dialogRef,0===Ne.screenX&&0===Ne.screenY?"keyboard":"mouse",this.dialogResult)}static#e=this.\u0275fac=function(ee){return new(ee||at)(f.\u0275\u0275directiveInject(Dt,8),f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(Y))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:at,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(ee,ge){1&ee&&f.\u0275\u0275listener("click",function(Tt){return ge._onButtonClick(Tt)}),2&ee&&f.\u0275\u0275attribute("aria-label",ge.ariaLabel||null)("type",ge.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[f.\u0275\u0275NgOnChangesFeature]})}return at})(),st=(()=>{class at{constructor(Ne,ee,ge){this._dialogRef=Ne,this._elementRef=ee,this._dialog=ge,this.id="mat-mdc-dialog-title-"+_e++}ngOnInit(){this._dialogRef||(this._dialogRef=Wt(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._dialogRef._containerInstance?._ariaLabelledByQueue?.push(this.id)})}ngOnDestroy(){const Ne=this._dialogRef?._containerInstance?._ariaLabelledByQueue;Ne&&Promise.resolve().then(()=>{const ee=Ne.indexOf(this.id);ee>-1&&Ne.splice(ee,1)})}static#e=this.\u0275fac=function(ee){return new(ee||at)(f.\u0275\u0275directiveInject(Dt,8),f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(Y))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:at,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(ee,ge){2&ee&&f.\u0275\u0275hostProperty("id",ge.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]})}return at})(),tt=(()=>{class at{static#e=this.\u0275fac=function(ee){return new(ee||at)};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:at,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]})}return at})(),Ct=(()=>{class at{constructor(){this.align="start"}static#e=this.\u0275fac=function(ee){return new(ee||at)};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:at,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(ee,ge){2&ee&&f.\u0275\u0275classProp("mat-mdc-dialog-actions-align-center","center"===ge.align)("mat-mdc-dialog-actions-align-end","end"===ge.align)},inputs:{align:"align"}})}return at})();function Wt(at,yt){let Ne=at.nativeElement.parentElement;for(;Ne&&!Ne.classList.contains("mat-mdc-dialog-container");)Ne=Ne.parentElement;return Ne?yt.find(ee=>ee.id===Ne.id):null}let Kt=(()=>{class at{static#e=this.\u0275fac=function(ee){return new(ee||at)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:at});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({providers:[Y,Te],imports:[be,i.U8,h.eL,Qe.MatCommonModule,Qe.MatCommonModule]})}return at})();const Qt={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},Zt={dialogContainer:(0,ot.X$)("dialogContainer",[(0,ot.SB)("void, exit",(0,ot.oB)({opacity:0,transform:"scale(0.7)"})),(0,ot.SB)("enter",(0,ot.oB)({transform:"none"})),(0,ot.eR)("* => enter",(0,ot.ru)([(0,ot.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,ot.oB)({transform:"none",opacity:1})),(0,ot.IO)("@*",(0,ot.pV)(),{optional:!0})]),Qt),(0,ot.eR)("* => void, * => exit",(0,ot.ru)([(0,ot.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,ot.oB)({opacity:0})),(0,ot.IO)("@*",(0,ot.pV)(),{optional:!0})]),Qt)])}},2836:(Z,l,o)=>{"use strict";o.r(l),o.d(l,{ICON_REGISTRY_PROVIDER:()=>Qe,ICON_REGISTRY_PROVIDER_FACTORY:()=>Ye,MAT_ICON_DEFAULT_OPTIONS:()=>ye,MAT_ICON_LOCATION:()=>we,MAT_ICON_LOCATION_FACTORY:()=>ne,MatIcon:()=>ct,MatIconModule:()=>Nt,MatIconRegistry:()=>Ae,getMatIconFailedToSanitizeLiteralError:()=>We,getMatIconFailedToSanitizeUrlError:()=>be,getMatIconNameNotFoundError:()=>pe,getMatIconNoHttpProviderError:()=>it});var i=o(7786),a=o(9021),f=o(5988),p=o(9462),d=o(9627),h=o(7371),g=o(3276),m=o(6312),u=o(9592),b=o(4104),C=o(8412),M=o(8299),S=o(2829),H=o(4049);function j(Dt){return(0,H.e)((Vt,Fe)=>{let Ee,ke=null,Ge=!1;ke=Vt.subscribe((0,S.x)(Fe,void 0,void 0,Te=>{Ee=(0,M.Xf)(Dt(Te,j(Dt)(Vt))),ke?(ke.unsubscribe(),ke=null,Ee.subscribe(Fe)):Ge=!0})),Ge&&(ke.unsubscribe(),ke=null,Ee.subscribe(Fe))})}var N=o(1927),fe=o(3949),z=o(3581),oe=o(4612),X=o(4707);const K=["*"];let me;function te(Dt){return function ae(){if(void 0===me&&(me=null,typeof window<"u")){const Dt=window;void 0!==Dt.trustedTypes&&(me=Dt.trustedTypes.createPolicy("angular#components",{createHTML:Vt=>Vt}))}return me}()?.createHTML(Dt)||Dt}function pe(Dt){return Error(`Unable to find icon with the name "${Dt}"`)}function it(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function be(Dt){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Dt}".`)}function We(Dt){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Dt}".`)}class ce{constructor(Vt,Fe,ke){this.url=Vt,this.svgText=Fe,this.options=ke}}let Ae=(()=>{class Dt{constructor(Fe,ke,Ge,Ee){this._httpClient=Fe,this._sanitizer=ke,this._errorHandler=Ee,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=Ge}addSvgIcon(Fe,ke,Ge){return this.addSvgIconInNamespace("",Fe,ke,Ge)}addSvgIconLiteral(Fe,ke,Ge){return this.addSvgIconLiteralInNamespace("",Fe,ke,Ge)}addSvgIconInNamespace(Fe,ke,Ge,Ee){return this._addSvgIconConfig(Fe,ke,new ce(Ge,null,Ee))}addSvgIconResolver(Fe){return this._resolvers.push(Fe),this}addSvgIconLiteralInNamespace(Fe,ke,Ge,Ee){const Te=this._sanitizer.sanitize(i.SecurityContext.HTML,Ge);if(!Te)throw We(Ge);const pt=te(Te);return this._addSvgIconConfig(Fe,ke,new ce("",pt,Ee))}addSvgIconSet(Fe,ke){return this.addSvgIconSetInNamespace("",Fe,ke)}addSvgIconSetLiteral(Fe,ke){return this.addSvgIconSetLiteralInNamespace("",Fe,ke)}addSvgIconSetInNamespace(Fe,ke,Ge){return this._addSvgIconSetConfig(Fe,new ce(ke,null,Ge))}addSvgIconSetLiteralInNamespace(Fe,ke,Ge){const Ee=this._sanitizer.sanitize(i.SecurityContext.HTML,ke);if(!Ee)throw We(ke);const Te=te(Ee);return this._addSvgIconSetConfig(Fe,new ce("",Te,Ge))}registerFontClassAlias(Fe,ke=Fe){return this._fontCssClassesByAlias.set(Fe,ke),this}classNameForFontAlias(Fe){return this._fontCssClassesByAlias.get(Fe)||Fe}setDefaultFontSetClass(...Fe){return this._defaultFontSetClass=Fe,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Fe){const ke=this._sanitizer.sanitize(i.SecurityContext.RESOURCE_URL,Fe);if(!ke)throw be(Fe);const Ge=this._cachedIconsByUrl.get(ke);return Ge?(0,d.of)(ot(Ge)):this._loadSvgIconFromConfig(new ce(Fe,null)).pipe((0,b.b)(Ee=>this._cachedIconsByUrl.set(ke,Ee)),(0,C.U)(Ee=>ot(Ee)))}getNamedSvgIcon(Fe,ke=""){const Ge=kt(ke,Fe);let Ee=this._svgIconConfigs.get(Ge);if(Ee)return this._getSvgFromConfig(Ee);if(Ee=this._getIconConfigFromResolvers(ke,Fe),Ee)return this._svgIconConfigs.set(Ge,Ee),this._getSvgFromConfig(Ee);const Te=this._iconSetConfigs.get(ke);return Te?this._getSvgFromIconSetConfigs(Fe,Te):function v(Dt,Vt){const Fe=(0,g.m)(Dt)?Dt:()=>Dt,ke=Ge=>Ge.error(Fe());return new h.y(Vt?Ge=>Vt.schedule(ke,0,Ge):ke)}(pe(Ge))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Fe){return Fe.svgText?(0,d.of)(ot(this._svgElementFromConfig(Fe))):this._loadSvgIconFromConfig(Fe).pipe((0,C.U)(ke=>ot(ke)))}_getSvgFromIconSetConfigs(Fe,ke){const Ge=this._extractIconWithNameFromAnySet(Fe,ke);if(Ge)return(0,d.of)(Ge);const Ee=ke.filter(Te=>!Te.svgText).map(Te=>this._loadSvgIconSetFromConfig(Te).pipe(j(pt=>{const qe=`Loading icon set URL: ${this._sanitizer.sanitize(i.SecurityContext.RESOURCE_URL,Te.url)} failed: ${pt.message}`;return this._errorHandler.handleError(new Error(qe)),(0,d.of)(null)})));return(0,m.D)(Ee).pipe((0,C.U)(()=>{const Te=this._extractIconWithNameFromAnySet(Fe,ke);if(!Te)throw pe(Fe);return Te}))}_extractIconWithNameFromAnySet(Fe,ke){for(let Ge=ke.length-1;Ge>=0;Ge--){const Ee=ke[Ge];if(Ee.svgText&&Ee.svgText.toString().indexOf(Fe)>-1){const Te=this._svgElementFromConfig(Ee),pt=this._extractSvgIconFromSet(Te,Fe,Ee.options);if(pt)return pt}}return null}_loadSvgIconFromConfig(Fe){return this._fetchIcon(Fe).pipe((0,b.b)(ke=>Fe.svgText=ke),(0,C.U)(()=>this._svgElementFromConfig(Fe)))}_loadSvgIconSetFromConfig(Fe){return Fe.svgText?(0,d.of)(null):this._fetchIcon(Fe).pipe((0,b.b)(ke=>Fe.svgText=ke))}_extractSvgIconFromSet(Fe,ke,Ge){const Ee=Fe.querySelector(`[id="${ke}"]`);if(!Ee)return null;const Te=Ee.cloneNode(!0);if(Te.removeAttribute("id"),"svg"===Te.nodeName.toLowerCase())return this._setSvgAttributes(Te,Ge);if("symbol"===Te.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Te),Ge);const pt=this._svgElementFromString(te("<svg></svg>"));return pt.appendChild(Te),this._setSvgAttributes(pt,Ge)}_svgElementFromString(Fe){const ke=this._document.createElement("DIV");ke.innerHTML=Fe;const Ge=ke.querySelector("svg");if(!Ge)throw Error("<svg> tag not found");return Ge}_toSvgElement(Fe){const ke=this._svgElementFromString(te("<svg></svg>")),Ge=Fe.attributes;for(let Ee=0;Ee<Ge.length;Ee++){const{name:Te,value:pt}=Ge[Ee];"id"!==Te&&ke.setAttribute(Te,pt)}for(let Ee=0;Ee<Fe.childNodes.length;Ee++)Fe.childNodes[Ee].nodeType===this._document.ELEMENT_NODE&&ke.appendChild(Fe.childNodes[Ee].cloneNode(!0));return ke}_setSvgAttributes(Fe,ke){return Fe.setAttribute("fit",""),Fe.setAttribute("height","100%"),Fe.setAttribute("width","100%"),Fe.setAttribute("preserveAspectRatio","xMidYMid meet"),Fe.setAttribute("focusable","false"),ke&&ke.viewBox&&Fe.setAttribute("viewBox",ke.viewBox),Fe}_fetchIcon(Fe){const{url:ke,options:Ge}=Fe,Ee=Ge?.withCredentials??!1;if(!this._httpClient)throw it();if(null==ke)throw Error(`Cannot fetch icon from URL "${ke}".`);const Te=this._sanitizer.sanitize(i.SecurityContext.RESOURCE_URL,ke);if(!Te)throw be(ke);const pt=this._inProgressUrlFetches.get(Te);if(pt)return pt;const dt=this._httpClient.get(Te,{responseType:"text",withCredentials:Ee}).pipe((0,C.U)(qe=>te(qe)),(0,N.x)(()=>this._inProgressUrlFetches.delete(Te)),(0,fe.B)());return this._inProgressUrlFetches.set(Te,dt),dt}_addSvgIconConfig(Fe,ke,Ge){return this._svgIconConfigs.set(kt(Fe,ke),Ge),this}_addSvgIconSetConfig(Fe,ke){const Ge=this._iconSetConfigs.get(Fe);return Ge?Ge.push(ke):this._iconSetConfigs.set(Fe,[ke]),this}_svgElementFromConfig(Fe){if(!Fe.svgElement){const ke=this._svgElementFromString(Fe.svgText);this._setSvgAttributes(ke,Fe.options),Fe.svgElement=ke}return Fe.svgElement}_getIconConfigFromResolvers(Fe,ke){for(let Ge=0;Ge<this._resolvers.length;Ge++){const Ee=this._resolvers[Ge](ke,Fe);if(Ee)return je(Ee)?new ce(Ee.url,null,Ee.options):new ce(Ee,null)}}static#e=this.\u0275fac=function(ke){return new(ke||Dt)(i.\u0275\u0275inject(oe.HttpClient,8),i.\u0275\u0275inject(X.DomSanitizer),i.\u0275\u0275inject(p.DOCUMENT,8),i.\u0275\u0275inject(i.ErrorHandler))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:Dt,factory:Dt.\u0275fac,providedIn:"root"})}return Dt})();function Ye(Dt,Vt,Fe,ke,Ge){return Dt||new Ae(Vt,Fe,Ge,ke)}const Qe={provide:Ae,deps:[[new i.Optional,new i.SkipSelf,Ae],[new i.Optional,oe.HttpClient],X.DomSanitizer,i.ErrorHandler,[new i.Optional,p.DOCUMENT]],useFactory:Ye};function ot(Dt){return Dt.cloneNode(!0)}function kt(Dt,Vt){return Dt+":"+Vt}function je(Dt){return!(!Dt.url||!Dt.options)}const Ve=(0,a.mixinColor)(class{constructor(Dt){this._elementRef=Dt}}),ye=new i.InjectionToken("MAT_ICON_DEFAULT_OPTIONS"),we=new i.InjectionToken("mat-icon-location",{providedIn:"root",factory:ne});function ne(){const Dt=(0,i.inject)(p.DOCUMENT),Vt=Dt?Dt.location:null;return{getPathname:()=>Vt?Vt.pathname+Vt.search:""}}const B=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],J=B.map(Dt=>`[${Dt}]`).join(", "),Ze=/^url\(['"]?#(.*?)['"]?\)$/;let ct=(()=>{class Dt extends Ve{get inline(){return this._inline}set inline(Fe){this._inline=(0,f.Ig)(Fe)}get svgIcon(){return this._svgIcon}set svgIcon(Fe){Fe!==this._svgIcon&&(Fe?this._updateSvgIcon(Fe):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Fe)}get fontSet(){return this._fontSet}set fontSet(Fe){const ke=this._cleanupFontValue(Fe);ke!==this._fontSet&&(this._fontSet=ke,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Fe){const ke=this._cleanupFontValue(Fe);ke!==this._fontIcon&&(this._fontIcon=ke,this._updateFontIconClasses())}constructor(Fe,ke,Ge,Ee,Te,pt){super(Fe),this._iconRegistry=ke,this._location=Ee,this._errorHandler=Te,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=u.w0.EMPTY,pt&&(pt.color&&(this.color=this.defaultColor=pt.color),pt.fontSet&&(this.fontSet=pt.fontSet)),Ge||Fe.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(Fe){if(!Fe)return["",""];const ke=Fe.split(":");switch(ke.length){case 1:return["",ke[0]];case 2:return ke;default:throw Error(`Invalid icon name: "${Fe}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Fe=this._elementsWithExternalReferences;if(Fe&&Fe.size){const ke=this._location.getPathname();ke!==this._previousPath&&(this._previousPath=ke,this._prependPathToReferences(ke))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Fe){this._clearSvgElement();const ke=this._location.getPathname();this._previousPath=ke,this._cacheChildrenWithExternalReferences(Fe),this._prependPathToReferences(ke),this._elementRef.nativeElement.appendChild(Fe)}_clearSvgElement(){const Fe=this._elementRef.nativeElement;let ke=Fe.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();ke--;){const Ge=Fe.childNodes[ke];(1!==Ge.nodeType||"svg"===Ge.nodeName.toLowerCase())&&Ge.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Fe=this._elementRef.nativeElement,ke=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ge=>Ge.length>0);this._previousFontSetClass.forEach(Ge=>Fe.classList.remove(Ge)),ke.forEach(Ge=>Fe.classList.add(Ge)),this._previousFontSetClass=ke,this.fontIcon!==this._previousFontIconClass&&!ke.includes("mat-ligature-font")&&(this._previousFontIconClass&&Fe.classList.remove(this._previousFontIconClass),this.fontIcon&&Fe.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Fe){return"string"==typeof Fe?Fe.trim().split(" ")[0]:Fe}_prependPathToReferences(Fe){const ke=this._elementsWithExternalReferences;ke&&ke.forEach((Ge,Ee)=>{Ge.forEach(Te=>{Ee.setAttribute(Te.name,`url('${Fe}#${Te.value}')`)})})}_cacheChildrenWithExternalReferences(Fe){const ke=Fe.querySelectorAll(J),Ge=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Ee=0;Ee<ke.length;Ee++)B.forEach(Te=>{const pt=ke[Ee],dt=pt.getAttribute(Te),qe=dt?dt.match(Ze):null;if(qe){let Y=Ge.get(pt);Y||(Y=[],Ge.set(pt,Y)),Y.push({name:Te,value:qe[1]})}})}_updateSvgIcon(Fe){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Fe){const[ke,Ge]=this._splitIconName(Fe);ke&&(this._svgNamespace=ke),Ge&&(this._svgName=Ge),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ge,ke).pipe((0,z.q)(1)).subscribe(Ee=>this._setSvgElement(Ee),Ee=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${ke}:${Ge}! ${Ee.message}`))})}}static#e=this.\u0275fac=function(ke){return new(ke||Dt)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(Ae),i.\u0275\u0275injectAttribute("aria-hidden"),i.\u0275\u0275directiveInject(we),i.\u0275\u0275directiveInject(i.ErrorHandler),i.\u0275\u0275directiveInject(ye,8))};static#t=this.\u0275cmp=i.\u0275\u0275defineComponent({type:Dt,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(ke,Ge){2&ke&&(i.\u0275\u0275attribute("data-mat-icon-type",Ge._usingFontIcon()?"font":"svg")("data-mat-icon-name",Ge._svgName||Ge.fontIcon)("data-mat-icon-namespace",Ge._svgNamespace||Ge.fontSet)("fontIcon",Ge._usingFontIcon()?Ge.fontIcon:null),i.\u0275\u0275classProp("mat-icon-inline",Ge.inline)("mat-icon-no-color","primary"!==Ge.color&&"accent"!==Ge.color&&"warn"!==Ge.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[i.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:K,decls:1,vars:0,template:function(ke,Ge){1&ke&&(i.\u0275\u0275projectionDef(),i.\u0275\u0275projection(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return Dt})(),Nt=(()=>{class Dt{static#e=this.\u0275fac=function(ke){return new(ke||Dt)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:Dt});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({imports:[a.MatCommonModule,a.MatCommonModule]})}return Dt})()},6354:(Z,l,o)=>{"use strict";o.r(l),o.d(l,{MAT_MENU_CONTENT:()=>Fe,MAT_MENU_DEFAULT_OPTIONS:()=>qe,MAT_MENU_PANEL:()=>J,MAT_MENU_SCROLL_STRATEGY:()=>st,MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>Ct,MENU_PANEL_TOP_PADDING:()=>Kt,MatMenu:()=>Ie,MatMenuContent:()=>Ge,MatMenuItem:()=>ct,MatMenuModule:()=>at,MatMenuTrigger:()=>Zt,_MatMenuBase:()=>_e,_MatMenuContentBase:()=>ke,_MatMenuTriggerBase:()=>Qt,fadeInItems:()=>Te,matMenuAnimations:()=>Ee,transformMenu:()=>pt});var i=o(7786),a=o(8654),f=o(5988),p=o(7605),d=o(9453),h=o(4991),g=o(9592),v=o(9627),m=o(4453),u=o(19),b=o(2835),C=o(3581),M=o(5779),S=o(1497),H=o(6589),j=o(9925),N=o(4049),fe=o(2829),z=o(1952),X=o(8412),me=o(5123),ae=o(8299);function te(yt,Ne){return Ne?ee=>(0,j.z)(Ne.pipe((0,C.q)(1),function oe(){return(0,N.e)((yt,Ne)=>{yt.subscribe((0,fe.x)(Ne,z.Z))})}()),ee.pipe(te(yt))):(0,me.z)((ee,ge)=>(0,ae.Xf)(yt(ee,ge)).pipe((0,C.q)(1),function K(yt){return(0,X.U)(()=>yt)}(ee)))}var pe=o(5117);function it(yt,Ne=H.z){const ee=(0,pe.H)(yt,Ne);return te(()=>ee)}var be=o(9021),We=o(9462),ce=o(6512),Ae=o(6e3),Ye=o(4877),Qe=o(9292),ot=o(3844),kt=o(9467);const je=["mat-menu-item",""];function Ve(yt,Ne){1&yt&&(i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(0,"svg",3),i.\u0275\u0275element(1,"polygon",4),i.\u0275\u0275elementEnd())}const ye=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],we=["mat-icon, [matMenuItemIcon]","*"];function ne(yt,Ne){if(1&yt){const ee=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",0),i.\u0275\u0275listener("keydown",function(rt){i.\u0275\u0275restoreView(ee);const Tt=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(Tt._handleKeydown(rt))})("click",function(){i.\u0275\u0275restoreView(ee);const rt=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(rt.closed.emit("click"))})("@transformMenu.start",function(rt){i.\u0275\u0275restoreView(ee);const Tt=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(Tt._onAnimationStart(rt))})("@transformMenu.done",function(rt){i.\u0275\u0275restoreView(ee);const Tt=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(Tt._onAnimationDone(rt))}),i.\u0275\u0275elementStart(1,"div",1),i.\u0275\u0275projection(2),i.\u0275\u0275elementEnd()()}if(2&yt){const ee=i.\u0275\u0275nextContext();i.\u0275\u0275property("id",ee.panelId)("ngClass",ee._classList)("@transformMenu",ee._panelAnimationState),i.\u0275\u0275attribute("aria-label",ee.ariaLabel||null)("aria-labelledby",ee.ariaLabelledby||null)("aria-describedby",ee.ariaDescribedby||null)}}const B=["*"],J=new i.InjectionToken("MAT_MENU_PANEL"),Ze=(0,be.mixinDisableRipple)((0,be.mixinDisabled)(class{}));let ct=(()=>{class yt extends Ze{constructor(ee,ge,rt,Tt,Ft){super(),this._elementRef=ee,this._document=ge,this._focusMonitor=rt,this._parentMenu=Tt,this._changeDetectorRef=Ft,this.role="menuitem",this._hovered=new d.x,this._focused=new d.x,this._highlighted=!1,this._triggersSubmenu=!1,Tt?.addItem?.(this)}focus(ee,ge){this._focusMonitor&&ee?this._focusMonitor.focusVia(this._getHostElement(),ee,ge):this._getHostElement().focus(ge),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?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(ee){this.disabled&&(ee.preventDefault(),ee.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const ee=this._elementRef.nativeElement.cloneNode(!0),ge=ee.querySelectorAll("mat-icon, .material-icons");for(let rt=0;rt<ge.length;rt++)ge[rt].remove();return ee.textContent?.trim()||""}_setHighlighted(ee){this._highlighted=ee,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(ee){this._triggersSubmenu=ee,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static#e=this.\u0275fac=function(ge){return new(ge||yt)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(We.DOCUMENT),i.\u0275\u0275directiveInject(a.tE),i.\u0275\u0275directiveInject(J,8),i.\u0275\u0275directiveInject(i.ChangeDetectorRef))};static#t=this.\u0275cmp=i.\u0275\u0275defineComponent({type:yt,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator"],hostVars:8,hostBindings:function(ge,rt){1&ge&&i.\u0275\u0275listener("click",function(Ft){return rt._checkDisabled(Ft)})("mouseenter",function(){return rt._handleMouseEnter()}),2&ge&&(i.\u0275\u0275attribute("role",rt.role)("tabindex",rt._getTabIndex())("aria-disabled",rt.disabled)("disabled",rt.disabled||null),i.\u0275\u0275classProp("mat-mdc-menu-item-highlighted",rt._highlighted)("mat-mdc-menu-item-submenu-trigger",rt._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[i.\u0275\u0275InheritDefinitionFeature],attrs:je,ngContentSelectors:we,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(ge,rt){1&ge&&(i.\u0275\u0275projectionDef(ye),i.\u0275\u0275projection(0),i.\u0275\u0275elementStart(1,"span",0),i.\u0275\u0275projection(2,1),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(3,"div",1),i.\u0275\u0275template(4,Ve,2,0,"svg",2)),2&ge&&(i.\u0275\u0275advance(3),i.\u0275\u0275property("matRippleDisabled",rt.disableRipple||rt.disabled)("matRippleTrigger",rt._getHostElement()),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",rt._triggersSubmenu))},dependencies:[We.NgIf,be.MatRipple],encapsulation:2,changeDetection:0})}return yt})();const Fe=new i.InjectionToken("MatMenuContent");let ke=(()=>{class yt{constructor(ee,ge,rt,Tt,Ft,qt,ln){this._template=ee,this._componentFactoryResolver=ge,this._appRef=rt,this._injector=Tt,this._viewContainerRef=Ft,this._document=qt,this._changeDetectorRef=ln,this._attached=new d.x}attach(ee={}){this._portal||(this._portal=new ce.UE(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new ce.u0(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const ge=this._template.elementRef.nativeElement;ge.parentNode.insertBefore(this._outlet.outletElement,ge),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,ee),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}static#e=this.\u0275fac=function(ge){return new(ge||yt)(i.\u0275\u0275directiveInject(i.TemplateRef),i.\u0275\u0275directiveInject(i.ComponentFactoryResolver),i.\u0275\u0275directiveInject(i.ApplicationRef),i.\u0275\u0275directiveInject(i.Injector),i.\u0275\u0275directiveInject(i.ViewContainerRef),i.\u0275\u0275directiveInject(We.DOCUMENT),i.\u0275\u0275directiveInject(i.ChangeDetectorRef))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:yt})}return yt})(),Ge=(()=>{class yt extends ke{static#e=this.\u0275fac=function(){let ee;return function(rt){return(ee||(ee=i.\u0275\u0275getInheritedFactory(yt)))(rt||yt)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:yt,selectors:[["ng-template","matMenuContent",""]],features:[i.\u0275\u0275ProvidersFeature([{provide:Fe,useExisting:yt}]),i.\u0275\u0275InheritDefinitionFeature]})}return yt})();const Ee={transformMenu:(0,Ae.X$)("transformMenu",[(0,Ae.SB)("void",(0,Ae.oB)({opacity:0,transform:"scale(0.8)"})),(0,Ae.eR)("void => enter",(0,Ae.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Ae.oB)({opacity:1,transform:"scale(1)"}))),(0,Ae.eR)("* => void",(0,Ae.jt)("100ms 25ms linear",(0,Ae.oB)({opacity:0})))]),fadeInItems:(0,Ae.X$)("fadeInItems",[(0,Ae.SB)("showing",(0,Ae.oB)({opacity:1})),(0,Ae.eR)("void => *",[(0,Ae.oB)({opacity:0}),(0,Ae.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Te=Ee.fadeInItems,pt=Ee.transformMenu;let dt=0;const qe=new i.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function Y(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let _e=(()=>{class yt{get xPosition(){return this._xPosition}set xPosition(ee){this._xPosition=ee,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(ee){this._yPosition=ee,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(ee){this._overlapTrigger=(0,f.Ig)(ee)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(ee){this._hasBackdrop=(0,f.Ig)(ee)}set panelClass(ee){const ge=this._previousPanelClass;ge&&ge.length&&ge.split(" ").forEach(rt=>{this._classList[rt]=!1}),this._previousPanelClass=ee,ee&&ee.length&&(ee.split(" ").forEach(rt=>{this._classList[rt]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(ee){this.panelClass=ee}constructor(ee,ge,rt,Tt){this._elementRef=ee,this._ngZone=ge,this._changeDetectorRef=Tt,this._directDescendantItems=new i.QueryList,this._classList={},this._panelAnimationState="void",this._animationDone=new d.x,this.closed=new i.EventEmitter,this.close=this.closed,this.panelId="mat-menu-panel-"+dt++,this.overlayPanelClass=rt.overlayPanelClass||"",this._xPosition=rt.xPosition,this._yPosition=rt.yPosition,this.backdropClass=rt.backdropClass,this._overlapTrigger=rt.overlapTrigger,this._hasBackdrop=rt.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new a.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,u.O)(this._directDescendantItems),(0,b.w)(ee=>(0,h.T)(...ee.map(ge=>ge._focused)))).subscribe(ee=>this._keyManager.updateActiveItem(ee)),this._directDescendantItems.changes.subscribe(ee=>{const ge=this._keyManager;if("enter"===this._panelAnimationState&&ge.activeItem?._hasFocus()){const rt=ee.toArray(),Tt=Math.max(0,Math.min(rt.length-1,ge.activeItemIndex||0));rt[Tt]&&!rt[Tt].disabled?ge.setActiveItem(Tt):ge.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,u.O)(this._directDescendantItems),(0,b.w)(ge=>(0,h.T)(...ge.map(rt=>rt._hovered))))}addItem(ee){}removeItem(ee){}_handleKeydown(ee){const ge=ee.keyCode,rt=this._keyManager;switch(ge){case p.hY:(0,p.Vb)(ee)||(ee.preventDefault(),this.closed.emit("keydown"));break;case p.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case p.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(ge===p.LH||ge===p.JH)&&rt.setFocusOrigin("keyboard"),void rt.onKeydown(ee)}ee.stopPropagation()}focusFirstItem(ee="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,C.q)(1)).subscribe(()=>{let ge=null;if(this._directDescendantItems.length&&(ge=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!ge||!ge.contains(document.activeElement)){const rt=this._keyManager;rt.setFocusOrigin(ee).setFirstItemActive(),!rt.activeItem&&ge&&ge.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(ee){const ge=Math.min(this._baseElevation+ee,24),rt=`${this._elevationPrefix}${ge}`,Tt=Object.keys(this._classList).find(Ft=>Ft.startsWith(this._elevationPrefix));(!Tt||Tt===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[rt]=!0,this._previousElevation=rt)}setPositionClasses(ee=this.xPosition,ge=this.yPosition){const rt=this._classList;rt["mat-menu-before"]="before"===ee,rt["mat-menu-after"]="after"===ee,rt["mat-menu-above"]="above"===ge,rt["mat-menu-below"]="below"===ge,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(ee){this._animationDone.next(ee),this._isAnimating=!1}_onAnimationStart(ee){this._isAnimating=!0,"enter"===ee.toState&&0===this._keyManager.activeItemIndex&&(ee.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,u.O)(this._allItems)).subscribe(ee=>{this._directDescendantItems.reset(ee.filter(ge=>ge._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#e=this.\u0275fac=function(ge){return new(ge||yt)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.NgZone),i.\u0275\u0275directiveInject(qe),i.\u0275\u0275directiveInject(i.ChangeDetectorRef))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:yt,contentQueries:function(ge,rt,Tt){if(1&ge&&(i.\u0275\u0275contentQuery(Tt,Fe,5),i.\u0275\u0275contentQuery(Tt,ct,5),i.\u0275\u0275contentQuery(Tt,ct,4)),2&ge){let Ft;i.\u0275\u0275queryRefresh(Ft=i.\u0275\u0275loadQuery())&&(rt.lazyContent=Ft.first),i.\u0275\u0275queryRefresh(Ft=i.\u0275\u0275loadQuery())&&(rt._allItems=Ft),i.\u0275\u0275queryRefresh(Ft=i.\u0275\u0275loadQuery())&&(rt.items=Ft)}},viewQuery:function(ge,rt){if(1&ge&&i.\u0275\u0275viewQuery(i.TemplateRef,5),2&ge){let Tt;i.\u0275\u0275queryRefresh(Tt=i.\u0275\u0275loadQuery())&&(rt.templateRef=Tt.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}})}return yt})(),Ie=(()=>{class yt extends _e{constructor(ee,ge,rt,Tt){super(ee,ge,rt,Tt),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}static#e=this.\u0275fac=function(ge){return new(ge||yt)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.NgZone),i.\u0275\u0275directiveInject(qe),i.\u0275\u0275directiveInject(i.ChangeDetectorRef))};static#t=this.\u0275cmp=i.\u0275\u0275defineComponent({type:yt,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(ge,rt){2&ge&&i.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[i.\u0275\u0275ProvidersFeature([{provide:J,useExisting:yt}]),i.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:B,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(ge,rt){1&ge&&(i.\u0275\u0275projectionDef(),i.\u0275\u0275template(0,ne,3,6,"ng-template"))},dependencies:[We.NgClass],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{--mat-menu-container-shape:4px;min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Ee.transformMenu,Ee.fadeInItems]},changeDetection:0})}return yt})();const st=new i.InjectionToken("mat-menu-scroll-strategy"),Ct={provide:st,deps:[Qe.aV],useFactory:function tt(yt){return()=>yt.scrollStrategies.reposition()}},Wt=(0,ot.i$)({passive:!0}),Kt=8;let Qt=(()=>{class yt{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(ee){this.menu=ee}get menu(){return this._menu}set menu(ee){ee!==this._menu&&(this._menu=ee,this._menuCloseSubscription.unsubscribe(),ee&&(this._menuCloseSubscription=ee.close.subscribe(ge=>{this._destroyMenu(ge),("click"===ge||"tab"===ge)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(ge)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(ee,ge,rt,Tt,Ft,qt,ln,pn,Dn){this._overlay=ee,this._element=ge,this._viewContainerRef=rt,this._menuItemInstance=qt,this._dir=ln,this._focusMonitor=pn,this._ngZone=Dn,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=g.w0.EMPTY,this._hoverSubscription=g.w0.EMPTY,this._menuCloseSubscription=g.w0.EMPTY,this._changeDetectorRef=(0,i.inject)(i.ChangeDetectorRef),this._handleTouchStart=_t=>{(0,a.yG)(_t)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new i.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new i.EventEmitter,this.onMenuClose=this.menuClosed,this._scrollStrategy=Tt,this._parentMaterialMenu=Ft instanceof _e?Ft:void 0,ge.nativeElement.addEventListener("touchstart",this._handleTouchStart,Wt)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Wt),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const ee=this.menu;if(this._menuOpen||!ee)return;const ge=this._createOverlay(ee),rt=ge.getConfig(),Tt=rt.positionStrategy;this._setPosition(ee,Tt),rt.hasBackdrop=null==ee.hasBackdrop?!this.triggersSubmenu():ee.hasBackdrop,ge.attach(this._getPortal(ee)),ee.lazyContent&&ee.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(ee),ee instanceof _e&&(ee._startAnimation(),ee._directDescendantItems.changes.pipe((0,M.R)(ee.close)).subscribe(()=>{Tt.withLockedPosition(!1).reapplyLastPosition(),Tt.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(ee,ge){this._focusMonitor&&ee?this._focusMonitor.focusVia(this._element,ee,ge):this._element.nativeElement.focus(ge)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(ee){if(!this._overlayRef||!this.menuOpen)return;const ge=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===ee||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,ge instanceof _e?(ge._resetAnimation(),ge.lazyContent?ge._animationDone.pipe((0,S.h)(rt=>"void"===rt.toState),(0,C.q)(1),(0,M.R)(ge.lazyContent._attached)).subscribe({next:()=>ge.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),ge?.lazyContent?.detach())}_initMenu(ee){ee.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,ee.direction=this.dir,this._setMenuElevation(ee),ee.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(ee){if(ee.setElevation){let ge=0,rt=ee.parentMenu;for(;rt;)ge++,rt=rt.parentMenu;ee.setElevation(ge)}}_setIsMenuOpen(ee){ee!==this._menuOpen&&(this._menuOpen=ee,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(ee),this._changeDetectorRef.markForCheck())}_createOverlay(ee){if(!this._overlayRef){const ge=this._getOverlayConfig(ee);this._subscribeToPositions(ee,ge.positionStrategy),this._overlayRef=this._overlay.create(ge),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(ee){return new Qe.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:ee.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:ee.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(ee,ge){ee.setPositionClasses&&ge.positionChanges.subscribe(rt=>{const Tt="start"===rt.connectionPair.overlayX?"after":"before",Ft="top"===rt.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>ee.setPositionClasses(Tt,Ft)):ee.setPositionClasses(Tt,Ft)})}_setPosition(ee,ge){let[rt,Tt]="before"===ee.xPosition?["end","start"]:["start","end"],[Ft,qt]="above"===ee.yPosition?["bottom","top"]:["top","bottom"],[ln,pn]=[Ft,qt],[Dn,_t]=[rt,Tt],et=0;if(this.triggersSubmenu()){if(_t=rt="before"===ee.xPosition?"start":"end",Tt=Dn="end"===rt?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Ce=this._parentMaterialMenu.items.first;this._parentInnerPadding=Ce?Ce._getHostElement().offsetTop:0}et="bottom"===Ft?this._parentInnerPadding:-this._parentInnerPadding}}else ee.overlapTrigger||(ln="top"===Ft?"bottom":"top",pn="top"===qt?"bottom":"top");ge.withPositions([{originX:rt,originY:ln,overlayX:Dn,overlayY:Ft,offsetY:et},{originX:Tt,originY:ln,overlayX:_t,overlayY:Ft,offsetY:et},{originX:rt,originY:pn,overlayX:Dn,overlayY:qt,offsetY:-et},{originX:Tt,originY:pn,overlayX:_t,overlayY:qt,offsetY:-et}])}_menuClosingActions(){const ee=this._overlayRef.backdropClick(),ge=this._overlayRef.detachments(),rt=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,v.of)(),Tt=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,S.h)(Ft=>Ft!==this._menuItemInstance),(0,S.h)(()=>this._menuOpen)):(0,v.of)();return(0,h.T)(ee,rt,Tt,ge)}_handleMousedown(ee){(0,a.X6)(ee)||(this._openedBy=0===ee.button?"mouse":void 0,this.triggersSubmenu()&&ee.preventDefault())}_handleKeydown(ee){const ge=ee.keyCode;(ge===p.K5||ge===p.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(ge===p.SV&&"ltr"===this.dir||ge===p.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(ee){this.triggersSubmenu()?(ee.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,S.h)(ee=>ee===this._menuItemInstance&&!ee.disabled),it(0,m.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof _e&&this.menu._isAnimating?this.menu._animationDone.pipe((0,C.q)(1),it(0,m.E),(0,M.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(ee){return(!this._portal||this._portal.templateRef!==ee.templateRef)&&(this._portal=new ce.UE(ee.templateRef,this._viewContainerRef)),this._portal}static#e=this.\u0275fac=function(ge){return new(ge||yt)(i.\u0275\u0275directiveInject(Qe.aV),i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.ViewContainerRef),i.\u0275\u0275directiveInject(st),i.\u0275\u0275directiveInject(J,8),i.\u0275\u0275directiveInject(ct,10),i.\u0275\u0275directiveInject(Ye.Is,8),i.\u0275\u0275directiveInject(a.tE),i.\u0275\u0275directiveInject(i.NgZone))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:yt,hostVars:3,hostBindings:function(ge,rt){1&ge&&i.\u0275\u0275listener("click",function(Ft){return rt._handleClick(Ft)})("mousedown",function(Ft){return rt._handleMousedown(Ft)})("keydown",function(Ft){return rt._handleKeydown(Ft)}),2&ge&&i.\u0275\u0275attribute("aria-haspopup",rt.menu?"menu":null)("aria-expanded",rt.menuOpen)("aria-controls",rt.menuOpen?rt.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}})}return yt})(),Zt=(()=>{class yt extends Qt{static#e=this.\u0275fac=function(){let ee;return function(rt){return(ee||(ee=i.\u0275\u0275getInheritedFactory(yt)))(rt||yt)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:yt,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[i.\u0275\u0275InheritDefinitionFeature]})}return yt})(),at=(()=>{class yt{static#e=this.\u0275fac=function(ge){return new(ge||yt)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:yt});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({providers:[Ct],imports:[We.CommonModule,be.MatRippleModule,be.MatCommonModule,Qe.U8,kt.ZD,be.MatCommonModule]})}return yt})()},1248:(Z,l,o)=>{"use strict";o.r(l),o.d(l,{MatCell:()=>Re,MatCellDef:()=>vt,MatColumnDef:()=>cn,MatFooterCell:()=>Ue,MatFooterCellDef:()=>vn,MatFooterRow:()=>tn,MatFooterRowDef:()=>wt,MatHeaderCell:()=>fn,MatHeaderCellDef:()=>Ht,MatHeaderRow:()=>Pt,MatHeaderRowDef:()=>mt,MatNoDataRow:()=>In,MatRecycleRows:()=>Me,MatRow:()=>Gt,MatRowDef:()=>At,MatTable:()=>Se,MatTableDataSource:()=>bn,MatTableModule:()=>kn,MatTextColumn:()=>Vn,_MatTableDataSource:()=>Pn});var i=o(7786),a=o(4877),f=o(5988),p=o(7371),d=o(9592),h=o(4049),g=o(2829);class m extends p.y{constructor(nt,U){super(),this.source=nt,this.subjectFactory=U,this._subject=null,this._refCount=0,this._connection=null,(0,h.A)(nt)&&(this.lift=nt.lift)}_subscribe(nt){return this.getSubject().subscribe(nt)}getSubject(){const nt=this._subject;return(!nt||nt.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:nt}=this;this._subject=this._connection=null,nt?.unsubscribe()}connect(){let nt=this._connection;if(!nt){nt=this._connection=new d.w0;const U=this.getSubject();nt.add(this.source.subscribe((0,g.x)(U,void 0,()=>{this._teardown(),U.complete()},se=>{this._teardown(),U.error(se)},()=>this._teardown()))),nt.closed&&(this._connection=null,nt=d.w0.EMPTY)}return nt}refCount(){return function v(){return(0,h.e)((le,nt)=>{let U=null;le._refCount++;const se=(0,g.x)(nt,void 0,void 0,void 0,()=>{if(!le||le._refCount<=0||0<--le._refCount)return void(U=null);const $=le._connection,$e=U;U=null,$&&(!$e||$===$e)&&$.unsubscribe(),nt.unsubscribe()});le.subscribe(se),se.closed||(U=le.connect())})}()(this)}}class u{}function b(le){return le&&"function"==typeof le.connect&&!(le instanceof m)}class M{applyChanges(nt,U,se,$,$e){nt.forEachOperation((R,Pe,Oe)=>{let Bt,Lt;if(null==R.previousIndex){const yn=se(R,Pe,Oe);Bt=U.createEmbeddedView(yn.templateRef,yn.context,yn.index),Lt=1}else null==Oe?(U.remove(Pe),Lt=3):(Bt=U.get(Pe),U.move(Bt,Oe),Lt=2);$e&&$e({context:Bt?.context,operation:Lt,record:R})})}detach(){}}class S{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(nt,U,se,$,$e){nt.forEachOperation((R,Pe,Oe)=>{let Bt,Lt;null==R.previousIndex?(Bt=this._insertView(()=>se(R,Pe,Oe),Oe,U,$(R)),Lt=Bt?1:0):null==Oe?(this._detachAndCacheView(Pe,U),Lt=3):(Bt=this._moveView(Pe,Oe,U,$(R)),Lt=2),$e&&$e({context:Bt?.context,operation:Lt,record:R})})}detach(){for(const nt of this._viewCache)nt.destroy();this._viewCache=[]}_insertView(nt,U,se,$){const $e=this._insertViewFromCache(U,se);if($e)return void($e.context.$implicit=$);const R=nt();return se.createEmbeddedView(R.templateRef,R.context,R.index)}_detachAndCacheView(nt,U){const se=U.detach(nt);this._maybeCacheView(se,U)}_moveView(nt,U,se,$){const $e=se.get(nt);return se.move($e,U),$e.context.$implicit=$,$e}_maybeCacheView(nt,U){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(nt);else{const se=U.indexOf(nt);-1===se?nt.destroy():U.remove(se)}}_insertViewFromCache(nt,U){const se=this._viewCache.pop();return se&&U.insert(se,nt),se||null}}const fe=new i.InjectionToken("_ViewRepeater");var z=o(3844),oe=o(9467),X=o(9462),K=o(9453),me=o(107),ae=o(1625),te=o(3276),it=o(9627),be=o(5779),We=o(3581);const ce=[[["caption"]],[["colgroup"],["col"]]],Ae=["caption","colgroup, col"];function Ye(le,nt){if(1&le&&(i.\u0275\u0275elementStart(0,"th",3),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&le){const U=i.\u0275\u0275nextContext();i.\u0275\u0275styleProp("text-align",U.justify),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1(" ",U.headerText," ")}}function Qe(le,nt){if(1&le&&(i.\u0275\u0275elementStart(0,"td",4),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&le){const U=nt.$implicit,se=i.\u0275\u0275nextContext();i.\u0275\u0275styleProp("text-align",se.justify),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1(" ",se.dataAccessor(U,se.name)," ")}}function ot(le){return class extends le{get sticky(){return this._sticky}set sticky(nt){const U=this._sticky;this._sticky=(0,f.Ig)(nt),this._hasStickyChanged=U!==this._sticky}hasStickyChanged(){const nt=this._hasStickyChanged;return this._hasStickyChanged=!1,nt}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...nt){super(...nt),this._sticky=!1,this._hasStickyChanged=!1}}}const kt=new i.InjectionToken("CDK_TABLE"),je=new i.InjectionToken("text-column-options");let Ve=(()=>{class le{constructor(U){this.template=U}static#e=this.\u0275fac=function(se){return new(se||le)(i.\u0275\u0275directiveInject(i.TemplateRef))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["","cdkCellDef",""]]})}return le})(),ye=(()=>{class le{constructor(U){this.template=U}static#e=this.\u0275fac=function(se){return new(se||le)(i.\u0275\u0275directiveInject(i.TemplateRef))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["","cdkHeaderCellDef",""]]})}return le})(),we=(()=>{class le{constructor(U){this.template=U}static#e=this.\u0275fac=function(se){return new(se||le)(i.\u0275\u0275directiveInject(i.TemplateRef))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["","cdkFooterCellDef",""]]})}return le})();class ne{}const B=ot(ne);let J=(()=>{class le extends B{get name(){return this._name}set name(U){this._setNameInput(U)}get stickyEnd(){return this._stickyEnd}set stickyEnd(U){const se=this._stickyEnd;this._stickyEnd=(0,f.Ig)(U),this._hasStickyChanged=se!==this._stickyEnd}constructor(U){super(),this._table=U,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(U){U&&(this._name=U,this.cssClassFriendlyName=U.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(se){return new(se||le)(i.\u0275\u0275directiveInject(kt,8))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["","cdkColumnDef",""]],contentQueries:function(se,$,$e){if(1&se&&(i.\u0275\u0275contentQuery($e,Ve,5),i.\u0275\u0275contentQuery($e,ye,5),i.\u0275\u0275contentQuery($e,we,5)),2&se){let R;i.\u0275\u0275queryRefresh(R=i.\u0275\u0275loadQuery())&&($.cell=R.first),i.\u0275\u0275queryRefresh(R=i.\u0275\u0275loadQuery())&&($.headerCell=R.first),i.\u0275\u0275queryRefresh(R=i.\u0275\u0275loadQuery())&&($.footerCell=R.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[i.\u0275\u0275ProvidersFeature([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:le}]),i.\u0275\u0275InheritDefinitionFeature]})}return le})();class Ze{constructor(nt,U){U.nativeElement.classList.add(...nt._columnCssClassName)}}let ct=(()=>{class le extends Ze{constructor(U,se){super(U,se)}static#e=this.\u0275fac=function(se){return new(se||le)(i.\u0275\u0275directiveInject(J),i.\u0275\u0275directiveInject(i.ElementRef))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[i.\u0275\u0275InheritDefinitionFeature]})}return le})(),Nt=(()=>{class le extends Ze{constructor(U,se){if(super(U,se),1===U._table?._elementRef.nativeElement.nodeType){const $=U._table._elementRef.nativeElement.getAttribute("role");se.nativeElement.setAttribute("role","grid"===$||"treegrid"===$?"gridcell":"cell")}}static#e=this.\u0275fac=function(se){return new(se||le)(i.\u0275\u0275directiveInject(J),i.\u0275\u0275directiveInject(i.ElementRef))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[i.\u0275\u0275InheritDefinitionFeature]})}return le})(),Dt=(()=>{class le extends Ze{constructor(U,se){if(super(U,se),1===U._table?._elementRef.nativeElement.nodeType){const $=U._table._elementRef.nativeElement.getAttribute("role");se.nativeElement.setAttribute("role","grid"===$||"treegrid"===$?"gridcell":"cell")}}static#e=this.\u0275fac=function(se){return new(se||le)(i.\u0275\u0275directiveInject(J),i.\u0275\u0275directiveInject(i.ElementRef))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[i.\u0275\u0275InheritDefinitionFeature]})}return le})();class Vt{constructor(){this.tasks=[],this.endTasks=[]}}const Fe=new i.InjectionToken("_COALESCED_STYLE_SCHEDULER");let ke=(()=>{class le{constructor(U){this._ngZone=U,this._currentSchedule=null,this._destroyed=new K.x}schedule(U){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(U)}scheduleEnd(U){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(U)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Vt,this._getScheduleObservable().pipe((0,be.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const U=this._currentSchedule;this._currentSchedule=new Vt;for(const se of U.tasks)se();for(const se of U.endTasks)se()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,me.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,We.q)(1))}static#e=this.\u0275fac=function(se){return new(se||le)(i.\u0275\u0275inject(i.NgZone))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:le,factory:le.\u0275fac})}return le})(),Ee=(()=>{class le{constructor(U,se){this.template=U,this._differs=se}ngOnChanges(U){if(!this._columnsDiffer){const se=U.columns&&U.columns.currentValue||[];this._columnsDiffer=this._differs.find(se).create(),this._columnsDiffer.diff(se)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(U){return this instanceof dt?U.headerCell.template:this instanceof _e?U.footerCell.template:U.cell.template}static#e=this.\u0275fac=function(se){return new(se||le)(i.\u0275\u0275directiveInject(i.TemplateRef),i.\u0275\u0275directiveInject(i.IterableDiffers))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,features:[i.\u0275\u0275NgOnChangesFeature]})}return le})();class Te extends Ee{}const pt=ot(Te);let dt=(()=>{class le extends pt{constructor(U,se,$){super(U,se),this._table=$}ngOnChanges(U){super.ngOnChanges(U)}static#e=this.\u0275fac=function(se){return new(se||le)(i.\u0275\u0275directiveInject(i.TemplateRef),i.\u0275\u0275directiveInject(i.IterableDiffers),i.\u0275\u0275directiveInject(kt,8))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[i.\u0275\u0275InheritDefinitionFeature,i.\u0275\u0275NgOnChangesFeature]})}return le})();class qe extends Ee{}const Y=ot(qe);let _e=(()=>{class le extends Y{constructor(U,se,$){super(U,se),this._table=$}ngOnChanges(U){super.ngOnChanges(U)}static#e=this.\u0275fac=function(se){return new(se||le)(i.\u0275\u0275directiveInject(i.TemplateRef),i.\u0275\u0275directiveInject(i.IterableDiffers),i.\u0275\u0275directiveInject(kt,8))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[i.\u0275\u0275InheritDefinitionFeature,i.\u0275\u0275NgOnChangesFeature]})}return le})(),Ie=(()=>{class le extends Ee{constructor(U,se,$){super(U,se),this._table=$}static#e=this.\u0275fac=function(se){return new(se||le)(i.\u0275\u0275directiveInject(i.TemplateRef),i.\u0275\u0275directiveInject(i.IterableDiffers),i.\u0275\u0275directiveInject(kt,8))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[i.\u0275\u0275InheritDefinitionFeature]})}return le})(),st=(()=>{class le{static#e=this.mostRecentCellOutlet=null;constructor(U){this._viewContainer=U,le.mostRecentCellOutlet=this}ngOnDestroy(){le.mostRecentCellOutlet===this&&(le.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(se){return new(se||le)(i.\u0275\u0275directiveInject(i.ViewContainerRef))};static#n=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["","cdkCellOutlet",""]]})}return le})(),tt=(()=>{class le{static#e=this.\u0275fac=function(se){return new(se||le)};static#t=this.\u0275cmp=i.\u0275\u0275defineComponent({type:le,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,$){1&se&&i.\u0275\u0275elementContainer(0,0)},dependencies:[st],encapsulation:2})}return le})(),Ct=(()=>{class le{static#e=this.\u0275fac=function(se){return new(se||le)};static#t=this.\u0275cmp=i.\u0275\u0275defineComponent({type:le,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,$){1&se&&i.\u0275\u0275elementContainer(0,0)},dependencies:[st],encapsulation:2})}return le})(),Wt=(()=>{class le{static#e=this.\u0275fac=function(se){return new(se||le)};static#t=this.\u0275cmp=i.\u0275\u0275defineComponent({type:le,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,$){1&se&&i.\u0275\u0275elementContainer(0,0)},dependencies:[st],encapsulation:2})}return le})(),Kt=(()=>{class le{constructor(U){this.templateRef=U,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(se){return new(se||le)(i.\u0275\u0275directiveInject(i.TemplateRef))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["ng-template","cdkNoDataRow",""]]})}return le})();const Qt=["top","bottom","left","right"];class Zt{constructor(nt,U,se,$,$e=!0,R=!0,Pe){this._isNativeHtmlTable=nt,this._stickCellCss=U,this.direction=se,this._coalescedStyleScheduler=$,this._isBrowser=$e,this._needsPositionStickyOnElement=R,this._positionListener=Pe,this._cachedCellWidths=[],this._borderCellCss={top:`${U}-border-elem-top`,bottom:`${U}-border-elem-bottom`,left:`${U}-border-elem-left`,right:`${U}-border-elem-right`}}clearStickyPositioning(nt,U){const se=[];for(const $ of nt)if($.nodeType===$.ELEMENT_NODE){se.push($);for(let $e=0;$e<$.children.length;$e++)se.push($.children[$e])}this._coalescedStyleScheduler.schedule(()=>{for(const $ of se)this._removeStickyStyle($,U)})}updateStickyColumns(nt,U,se,$=!0){if(!nt.length||!this._isBrowser||!U.some(Tn=>Tn)&&!se.some(Tn=>Tn))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const $e=nt[0],R=$e.children.length,Pe=this._getCellWidths($e,$),Oe=this._getStickyStartColumnPositions(Pe,U),Bt=this._getStickyEndColumnPositions(Pe,se),Lt=U.lastIndexOf(!0),yn=se.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const Tn="rtl"===this.direction,Kn=Tn?"right":"left",ii=Tn?"left":"right";for(const Si of nt)for(let ri=0;ri<R;ri++){const Ji=Si.children[ri];U[ri]&&this._addStickyStyle(Ji,Kn,Oe[ri],ri===Lt),se[ri]&&this._addStickyStyle(Ji,ii,Bt[ri],ri===yn)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===Lt?[]:Pe.slice(0,Lt+1).map((Si,ri)=>U[ri]?Si:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===yn?[]:Pe.slice(yn).map((Si,ri)=>se[ri+yn]?Si:null).reverse()}))})}stickRows(nt,U,se){if(!this._isBrowser)return;const $="bottom"===se?nt.slice().reverse():nt,$e="bottom"===se?U.slice().reverse():U,R=[],Pe=[],Oe=[];for(let Lt=0,yn=0;Lt<$.length;Lt++){if(!$e[Lt])continue;R[Lt]=yn;const Tn=$[Lt];Oe[Lt]=this._isNativeHtmlTable?Array.from(Tn.children):[Tn];const Kn=Tn.getBoundingClientRect().height;yn+=Kn,Pe[Lt]=Kn}const Bt=$e.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let Lt=0;Lt<$.length;Lt++){if(!$e[Lt])continue;const yn=R[Lt],Tn=Lt===Bt;for(const Kn of Oe[Lt])this._addStickyStyle(Kn,se,yn,Tn)}"top"===se?this._positionListener?.stickyHeaderRowsUpdated({sizes:Pe,offsets:R,elements:Oe}):this._positionListener?.stickyFooterRowsUpdated({sizes:Pe,offsets:R,elements:Oe})})}updateStickyFooterContainer(nt,U){if(!this._isNativeHtmlTable)return;const se=nt.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{U.some($=>!$)?this._removeStickyStyle(se,["bottom"]):this._addStickyStyle(se,"bottom",0,!1)})}_removeStickyStyle(nt,U){for(const $ of U)nt.style[$]="",nt.classList.remove(this._borderCellCss[$]);Qt.some($=>-1===U.indexOf($)&&nt.style[$])?nt.style.zIndex=this._getCalculatedZIndex(nt):(nt.style.zIndex="",this._needsPositionStickyOnElement&&(nt.style.position=""),nt.classList.remove(this._stickCellCss))}_addStickyStyle(nt,U,se,$){nt.classList.add(this._stickCellCss),$&&nt.classList.add(this._borderCellCss[U]),nt.style[U]=`${se}px`,nt.style.zIndex=this._getCalculatedZIndex(nt),this._needsPositionStickyOnElement&&(nt.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(nt){const U={top:100,bottom:10,left:1,right:1};let se=0;for(const $ of Qt)nt.style[$]&&(se+=U[$]);return se?`${se}`:""}_getCellWidths(nt,U=!0){if(!U&&this._cachedCellWidths.length)return this._cachedCellWidths;const se=[],$=nt.children;for(let $e=0;$e<$.length;$e++)se.push($[$e].getBoundingClientRect().width);return this._cachedCellWidths=se,se}_getStickyStartColumnPositions(nt,U){const se=[];let $=0;for(let $e=0;$e<nt.length;$e++)U[$e]&&(se[$e]=$,$+=nt[$e]);return se}_getStickyEndColumnPositions(nt,U){const se=[];let $=0;for(let $e=nt.length;$e>0;$e--)U[$e]&&(se[$e]=$,$+=nt[$e]);return se}}const qt=new i.InjectionToken("CDK_SPL");let pn=(()=>{class le{constructor(U,se){this.viewContainer=U,this.elementRef=se}static#e=this.\u0275fac=function(se){return new(se||le)(i.\u0275\u0275directiveInject(i.ViewContainerRef),i.\u0275\u0275directiveInject(i.ElementRef))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["","rowOutlet",""]]})}return le})(),Dn=(()=>{class le{constructor(U,se){this.viewContainer=U,this.elementRef=se}static#e=this.\u0275fac=function(se){return new(se||le)(i.\u0275\u0275directiveInject(i.ViewContainerRef),i.\u0275\u0275directiveInject(i.ElementRef))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["","headerRowOutlet",""]]})}return le})(),_t=(()=>{class le{constructor(U,se){this.viewContainer=U,this.elementRef=se}static#e=this.\u0275fac=function(se){return new(se||le)(i.\u0275\u0275directiveInject(i.ViewContainerRef),i.\u0275\u0275directiveInject(i.ElementRef))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["","footerRowOutlet",""]]})}return le})(),et=(()=>{class le{constructor(U,se){this.viewContainer=U,this.elementRef=se}static#e=this.\u0275fac=function(se){return new(se||le)(i.\u0275\u0275directiveInject(i.ViewContainerRef),i.\u0275\u0275directiveInject(i.ElementRef))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["","noDataRowOutlet",""]]})}return le})(),ht=(()=>{class le{get trackBy(){return this._trackByFn}set trackBy(U){this._trackByFn=U}get dataSource(){return this._dataSource}set dataSource(U){this._dataSource!==U&&this._switchDataSource(U)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(U){this._multiTemplateDataRows=(0,f.Ig)(U),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(U){this._fixedLayout=(0,f.Ig)(U),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(U,se,$,$e,R,Pe,Oe,Bt,Lt,yn,Tn,Kn){this._differs=U,this._changeDetectorRef=se,this._elementRef=$,this._dir=R,this._platform=Oe,this._viewRepeater=Bt,this._coalescedStyleScheduler=Lt,this._viewportRuler=yn,this._stickyPositioningListener=Tn,this._ngZone=Kn,this._onDestroy=new K.x,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new i.EventEmitter,this.viewChange=new ae.X({start:0,end:Number.MAX_VALUE}),$e||this._elementRef.nativeElement.setAttribute("role","table"),this._document=Pe,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((U,se)=>this.trackBy?this.trackBy(se.dataIndex,se.data):se),this._viewportRuler.change().pipe((0,be.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const se=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||se,this._forceRecalculateCellWidths=se,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(U=>{U.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),b(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const U=this._dataDiffer.diff(this._renderRows);if(!U)return this._updateNoDataRow(),void this.contentChanged.next();const se=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(U,se,($,$e,R)=>this._getEmbeddedViewArgs($.item,R),$=>$.item.data,$=>{1===$.operation&&$.context&&this._renderCellTemplateForItem($.record.item.rowDef,$.context)}),this._updateRowIndexContext(),U.forEachIdentityChange($=>{se.get($.currentIndex).context.$implicit=$.item.data}),this._updateNoDataRow(),this._ngZone&&i.NgZone.isInAngularZone()?this._ngZone.onStable.pipe((0,We.q)(1),(0,be.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(U){this._customColumnDefs.add(U)}removeColumnDef(U){this._customColumnDefs.delete(U)}addRowDef(U){this._customRowDefs.add(U)}removeRowDef(U){this._customRowDefs.delete(U)}addHeaderRowDef(U){this._customHeaderRowDefs.add(U),this._headerRowDefChanged=!0}removeHeaderRowDef(U){this._customHeaderRowDefs.delete(U),this._headerRowDefChanged=!0}addFooterRowDef(U){this._customFooterRowDefs.add(U),this._footerRowDefChanged=!0}removeFooterRowDef(U){this._customFooterRowDefs.delete(U),this._footerRowDefChanged=!0}setNoDataRow(U){this._customNoDataRow=U}updateStickyHeaderRowStyles(){const U=this._getRenderedRows(this._headerRowOutlet),$=this._elementRef.nativeElement.querySelector("thead");$&&($.style.display=U.length?"":"none");const $e=this._headerRowDefs.map(R=>R.sticky);this._stickyStyler.clearStickyPositioning(U,["top"]),this._stickyStyler.stickRows(U,$e,"top"),this._headerRowDefs.forEach(R=>R.resetStickyChanged())}updateStickyFooterRowStyles(){const U=this._getRenderedRows(this._footerRowOutlet),$=this._elementRef.nativeElement.querySelector("tfoot");$&&($.style.display=U.length?"":"none");const $e=this._footerRowDefs.map(R=>R.sticky);this._stickyStyler.clearStickyPositioning(U,["bottom"]),this._stickyStyler.stickRows(U,$e,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,$e),this._footerRowDefs.forEach(R=>R.resetStickyChanged())}updateStickyColumnStyles(){const U=this._getRenderedRows(this._headerRowOutlet),se=this._getRenderedRows(this._rowOutlet),$=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...U,...se,...$],["left","right"]),this._stickyColumnStylesNeedReset=!1),U.forEach(($e,R)=>{this._addStickyColumnStyles([$e],this._headerRowDefs[R])}),this._rowDefs.forEach($e=>{const R=[];for(let Pe=0;Pe<se.length;Pe++)this._renderRows[Pe].rowDef===$e&&R.push(se[Pe]);this._addStickyColumnStyles(R,$e)}),$.forEach(($e,R)=>{this._addStickyColumnStyles([$e],this._footerRowDefs[R])}),Array.from(this._columnDefsByName.values()).forEach($e=>$e.resetStickyChanged())}_getAllRenderRows(){const U=[],se=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let $=0;$<this._data.length;$++){let $e=this._data[$];const R=this._getRenderRowsForData($e,$,se.get($e));this._cachedRenderRowsMap.has($e)||this._cachedRenderRowsMap.set($e,new WeakMap);for(let Pe=0;Pe<R.length;Pe++){let Oe=R[Pe];const Bt=this._cachedRenderRowsMap.get(Oe.data);Bt.has(Oe.rowDef)?Bt.get(Oe.rowDef).push(Oe):Bt.set(Oe.rowDef,[Oe]),U.push(Oe)}}return U}_getRenderRowsForData(U,se,$){return this._getRowDefs(U,se).map(R=>{const Pe=$&&$.has(R)?$.get(R):[];if(Pe.length){const Oe=Pe.shift();return Oe.dataIndex=se,Oe}return{data:U,rowDef:R,dataIndex:se}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Ot(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(se=>{this._columnDefsByName.has(se.name),this._columnDefsByName.set(se.name,se)})}_cacheRowDefs(){this._headerRowDefs=Ot(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Ot(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Ot(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const U=this._rowDefs.filter(se=>!se.when);this._defaultRowDef=U[0]}_renderUpdatedColumns(){const U=(R,Pe)=>R||!!Pe.getColumnsDiff(),se=this._rowDefs.reduce(U,!1);se&&this._forceRenderDataRows();const $=this._headerRowDefs.reduce(U,!1);$&&this._forceRenderHeaderRows();const $e=this._footerRowDefs.reduce(U,!1);return $e&&this._forceRenderFooterRows(),se||$||$e}_switchDataSource(U){this._data=[],b(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),U||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=U}_observeRenderChanges(){if(!this.dataSource)return;let U;b(this.dataSource)?U=this.dataSource.connect(this):function pe(le){return!!le&&(le instanceof p.y||(0,te.m)(le.lift)&&(0,te.m)(le.subscribe))}(this.dataSource)?U=this.dataSource:Array.isArray(this.dataSource)&&(U=(0,it.of)(this.dataSource)),this._renderChangeSubscription=U.pipe((0,be.R)(this._onDestroy)).subscribe(se=>{this._data=se||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((U,se)=>this._renderRow(this._headerRowOutlet,U,se)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((U,se)=>this._renderRow(this._footerRowOutlet,U,se)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(U,se){const $=Array.from(se.columns||[]).map(Pe=>this._columnDefsByName.get(Pe)),$e=$.map(Pe=>Pe.sticky),R=$.map(Pe=>Pe.stickyEnd);this._stickyStyler.updateStickyColumns(U,$e,R,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(U){const se=[];for(let $=0;$<U.viewContainer.length;$++){const $e=U.viewContainer.get($);se.push($e.rootNodes[0])}return se}_getRowDefs(U,se){if(1==this._rowDefs.length)return[this._rowDefs[0]];let $=[];if(this.multiTemplateDataRows)$=this._rowDefs.filter($e=>!$e.when||$e.when(se,U));else{let $e=this._rowDefs.find(R=>R.when&&R.when(se,U))||this._defaultRowDef;$e&&$.push($e)}return $}_getEmbeddedViewArgs(U,se){return{templateRef:U.rowDef.template,context:{$implicit:U.data},index:se}}_renderRow(U,se,$,$e={}){const R=U.viewContainer.createEmbeddedView(se.template,$e,$);return this._renderCellTemplateForItem(se,$e),R}_renderCellTemplateForItem(U,se){for(let $ of this._getCellTemplates(U))st.mostRecentCellOutlet&&st.mostRecentCellOutlet._viewContainer.createEmbeddedView($,se);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const U=this._rowOutlet.viewContainer;for(let se=0,$=U.length;se<$;se++){const R=U.get(se).context;R.count=$,R.first=0===se,R.last=se===$-1,R.even=se%2==0,R.odd=!R.even,this.multiTemplateDataRows?(R.dataIndex=this._renderRows[se].dataIndex,R.renderIndex=se):R.index=this._renderRows[se].dataIndex}}_getCellTemplates(U){return U&&U.columns?Array.from(U.columns,se=>{const $=this._columnDefsByName.get(se);return U.extractCellTemplate($)}):[]}_applyNativeTableSections(){const U=this._document.createDocumentFragment(),se=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const $ of se){const $e=this._document.createElement($.tag);$e.setAttribute("role","rowgroup");for(const R of $.outlets)$e.appendChild(R.elementRef.nativeElement);U.appendChild($e)}this._elementRef.nativeElement.appendChild(U)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const U=(se,$)=>se||$.hasStickyChanged();this._headerRowDefs.reduce(U,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(U,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(U,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Zt(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,it.of)()).pipe((0,be.R)(this._onDestroy)).subscribe(se=>{this._stickyStyler.direction=se,this.updateStickyColumnStyles()})}_getOwnDefs(U){return U.filter(se=>!se._table||se._table===this)}_updateNoDataRow(){const U=this._customNoDataRow||this._noDataRow;if(!U)return;const se=0===this._rowOutlet.viewContainer.length;if(se===this._isShowingNoDataRow)return;const $=this._noDataRowOutlet.viewContainer;if(se){const $e=$.createEmbeddedView(U.templateRef),R=$e.rootNodes[0];1===$e.rootNodes.length&&R?.nodeType===this._document.ELEMENT_NODE&&(R.setAttribute("role","row"),R.classList.add(U._contentClassName))}else $.clear();this._isShowingNoDataRow=se,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(se){return new(se||le)(i.\u0275\u0275directiveInject(i.IterableDiffers),i.\u0275\u0275directiveInject(i.ChangeDetectorRef),i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275injectAttribute("role"),i.\u0275\u0275directiveInject(a.Is,8),i.\u0275\u0275directiveInject(X.DOCUMENT),i.\u0275\u0275directiveInject(z.t4),i.\u0275\u0275directiveInject(fe),i.\u0275\u0275directiveInject(Fe),i.\u0275\u0275directiveInject(oe.rL),i.\u0275\u0275directiveInject(qt,12),i.\u0275\u0275directiveInject(i.NgZone,8))};static#t=this.\u0275cmp=i.\u0275\u0275defineComponent({type:le,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(se,$,$e){if(1&se&&(i.\u0275\u0275contentQuery($e,Kt,5),i.\u0275\u0275contentQuery($e,J,5),i.\u0275\u0275contentQuery($e,Ie,5),i.\u0275\u0275contentQuery($e,dt,5),i.\u0275\u0275contentQuery($e,_e,5)),2&se){let R;i.\u0275\u0275queryRefresh(R=i.\u0275\u0275loadQuery())&&($._noDataRow=R.first),i.\u0275\u0275queryRefresh(R=i.\u0275\u0275loadQuery())&&($._contentColumnDefs=R),i.\u0275\u0275queryRefresh(R=i.\u0275\u0275loadQuery())&&($._contentRowDefs=R),i.\u0275\u0275queryRefresh(R=i.\u0275\u0275loadQuery())&&($._contentHeaderRowDefs=R),i.\u0275\u0275queryRefresh(R=i.\u0275\u0275loadQuery())&&($._contentFooterRowDefs=R)}},viewQuery:function(se,$){if(1&se&&(i.\u0275\u0275viewQuery(pn,7),i.\u0275\u0275viewQuery(Dn,7),i.\u0275\u0275viewQuery(_t,7),i.\u0275\u0275viewQuery(et,7)),2&se){let $e;i.\u0275\u0275queryRefresh($e=i.\u0275\u0275loadQuery())&&($._rowOutlet=$e.first),i.\u0275\u0275queryRefresh($e=i.\u0275\u0275loadQuery())&&($._headerRowOutlet=$e.first),i.\u0275\u0275queryRefresh($e=i.\u0275\u0275loadQuery())&&($._footerRowOutlet=$e.first),i.\u0275\u0275queryRefresh($e=i.\u0275\u0275loadQuery())&&($._noDataRowOutlet=$e.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(se,$){2&se&&i.\u0275\u0275classProp("cdk-table-fixed-layout",$.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[i.\u0275\u0275ProvidersFeature([{provide:kt,useExisting:le},{provide:fe,useClass:M},{provide:Fe,useClass:ke},{provide:qt,useValue:null}])],ngContentSelectors:Ae,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(se,$){1&se&&(i.\u0275\u0275projectionDef(ce),i.\u0275\u0275projection(0),i.\u0275\u0275projection(1,1),i.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[pn,Dn,_t,et],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return le})();function Ot(le,nt){return le.concat(Array.from(nt))}let Jt=(()=>{class le{get name(){return this._name}set name(U){this._name=U,this._syncColumnDefName()}constructor(U,se){this._table=U,this._options=se,this.justify="start",this._options=se||{}}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((U,se)=>U[se])),this._table&&(this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef))}ngOnDestroy(){this._table&&this._table.removeColumnDef(this.columnDef)}_createDefaultHeaderText(){const U=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(U):U[0].toUpperCase()+U.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}static#e=this.\u0275fac=function(se){return new(se||le)(i.\u0275\u0275directiveInject(ht,8),i.\u0275\u0275directiveInject(je,8))};static#t=this.\u0275cmp=i.\u0275\u0275defineComponent({type:le,selectors:[["cdk-text-column"]],viewQuery:function(se,$){if(1&se&&(i.\u0275\u0275viewQuery(J,7),i.\u0275\u0275viewQuery(Ve,7),i.\u0275\u0275viewQuery(ye,7)),2&se){let $e;i.\u0275\u0275queryRefresh($e=i.\u0275\u0275loadQuery())&&($.columnDef=$e.first),i.\u0275\u0275queryRefresh($e=i.\u0275\u0275loadQuery())&&($.cell=$e.first),i.\u0275\u0275queryRefresh($e=i.\u0275\u0275loadQuery())&&($.headerCell=$e.first)}},inputs:{name:"name",headerText:"headerText",dataAccessor:"dataAccessor",justify:"justify"},decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(se,$){1&se&&(i.\u0275\u0275elementContainerStart(0,0),i.\u0275\u0275template(1,Ye,2,3,"th",1),i.\u0275\u0275template(2,Qe,2,3,"td",2),i.\u0275\u0275elementContainerEnd())},dependencies:[Ve,ye,J,Dt,ct],encapsulation:2})}return le})(),ue=(()=>{class le{static#e=this.\u0275fac=function(se){return new(se||le)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:le});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({imports:[oe.Cl]})}return le})();var L=o(9021),A=o(4991),ie=o(8791),ze=o(8412);const Mt=[[["caption"]],[["colgroup"],["col"]]],Xe=["caption","colgroup, col"];function xt(le,nt){if(1&le&&(i.\u0275\u0275elementStart(0,"th",3),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&le){const U=i.\u0275\u0275nextContext();i.\u0275\u0275styleProp("text-align",U.justify),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1(" ",U.headerText," ")}}function de(le,nt){if(1&le&&(i.\u0275\u0275elementStart(0,"td",4),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&le){const U=nt.$implicit,se=i.\u0275\u0275nextContext();i.\u0275\u0275styleProp("text-align",se.justify),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1(" ",se.dataAccessor(U,se.name)," ")}}let Me=(()=>{class le{static#e=this.\u0275fac=function(se){return new(se||le)};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[i.\u0275\u0275ProvidersFeature([{provide:fe,useClass:S}])]})}return le})(),Se=(()=>{class le extends ht{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}static#e=this.\u0275fac=function(){let U;return function($){return(U||(U=i.\u0275\u0275getInheritedFactory(le)))($||le)}}();static#t=this.\u0275cmp=i.\u0275\u0275defineComponent({type:le,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(se,$){2&se&&i.\u0275\u0275classProp("mdc-table-fixed-layout",$.fixedLayout)},exportAs:["matTable"],features:[i.\u0275\u0275ProvidersFeature([{provide:ht,useExisting:le},{provide:kt,useExisting:le},{provide:Fe,useClass:ke},{provide:fe,useClass:M},{provide:qt,useValue:null}]),i.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Xe,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(se,$){1&se&&(i.\u0275\u0275projectionDef(Mt),i.\u0275\u0275projection(0),i.\u0275\u0275projection(1,1),i.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[pn,Dn,_t,et],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{--mat-table-row-item-outline-width:1px;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}return le})(),vt=(()=>{class le extends Ve{static#e=this.\u0275fac=function(){let U;return function($){return(U||(U=i.\u0275\u0275getInheritedFactory(le)))($||le)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["","matCellDef",""]],features:[i.\u0275\u0275ProvidersFeature([{provide:Ve,useExisting:le}]),i.\u0275\u0275InheritDefinitionFeature]})}return le})(),Ht=(()=>{class le extends ye{static#e=this.\u0275fac=function(){let U;return function($){return(U||(U=i.\u0275\u0275getInheritedFactory(le)))($||le)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["","matHeaderCellDef",""]],features:[i.\u0275\u0275ProvidersFeature([{provide:ye,useExisting:le}]),i.\u0275\u0275InheritDefinitionFeature]})}return le})(),vn=(()=>{class le extends we{static#e=this.\u0275fac=function(){let U;return function($){return(U||(U=i.\u0275\u0275getInheritedFactory(le)))($||le)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["","matFooterCellDef",""]],features:[i.\u0275\u0275ProvidersFeature([{provide:we,useExisting:le}]),i.\u0275\u0275InheritDefinitionFeature]})}return le})(),cn=(()=>{class le extends J{get name(){return this._name}set name(U){this._setNameInput(U)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static#e=this.\u0275fac=function(){let U;return function($){return(U||(U=i.\u0275\u0275getInheritedFactory(le)))($||le)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[i.\u0275\u0275ProvidersFeature([{provide:J,useExisting:le},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:le}]),i.\u0275\u0275InheritDefinitionFeature]})}return le})(),fn=(()=>{class le extends ct{static#e=this.\u0275fac=function(){let U;return function($){return(U||(U=i.\u0275\u0275getInheritedFactory(le)))($||le)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[i.\u0275\u0275InheritDefinitionFeature]})}return le})(),Ue=(()=>{class le extends Nt{static#e=this.\u0275fac=function(){let U;return function($){return(U||(U=i.\u0275\u0275getInheritedFactory(le)))($||le)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[i.\u0275\u0275InheritDefinitionFeature]})}return le})(),Re=(()=>{class le extends Dt{static#e=this.\u0275fac=function(){let U;return function($){return(U||(U=i.\u0275\u0275getInheritedFactory(le)))($||le)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[i.\u0275\u0275InheritDefinitionFeature]})}return le})(),mt=(()=>{class le extends dt{static#e=this.\u0275fac=function(){let U;return function($){return(U||(U=i.\u0275\u0275getInheritedFactory(le)))($||le)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[i.\u0275\u0275ProvidersFeature([{provide:dt,useExisting:le}]),i.\u0275\u0275InheritDefinitionFeature]})}return le})(),wt=(()=>{class le extends _e{static#e=this.\u0275fac=function(){let U;return function($){return(U||(U=i.\u0275\u0275getInheritedFactory(le)))($||le)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[i.\u0275\u0275ProvidersFeature([{provide:_e,useExisting:le}]),i.\u0275\u0275InheritDefinitionFeature]})}return le})(),At=(()=>{class le extends Ie{static#e=this.\u0275fac=function(){let U;return function($){return(U||(U=i.\u0275\u0275getInheritedFactory(le)))($||le)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[i.\u0275\u0275ProvidersFeature([{provide:Ie,useExisting:le}]),i.\u0275\u0275InheritDefinitionFeature]})}return le})(),Pt=(()=>{class le extends tt{static#e=this.\u0275fac=function(){let U;return function($){return(U||(U=i.\u0275\u0275getInheritedFactory(le)))($||le)}}();static#t=this.\u0275cmp=i.\u0275\u0275defineComponent({type:le,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[i.\u0275\u0275ProvidersFeature([{provide:tt,useExisting:le}]),i.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,$){1&se&&i.\u0275\u0275elementContainer(0,0)},dependencies:[st],encapsulation:2})}return le})(),tn=(()=>{class le extends Ct{static#e=this.\u0275fac=function(){let U;return function($){return(U||(U=i.\u0275\u0275getInheritedFactory(le)))($||le)}}();static#t=this.\u0275cmp=i.\u0275\u0275defineComponent({type:le,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],features:[i.\u0275\u0275ProvidersFeature([{provide:Ct,useExisting:le}]),i.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,$){1&se&&i.\u0275\u0275elementContainer(0,0)},dependencies:[st],encapsulation:2})}return le})(),Gt=(()=>{class le extends Wt{static#e=this.\u0275fac=function(){let U;return function($){return(U||(U=i.\u0275\u0275getInheritedFactory(le)))($||le)}}();static#t=this.\u0275cmp=i.\u0275\u0275defineComponent({type:le,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[i.\u0275\u0275ProvidersFeature([{provide:Wt,useExisting:le}]),i.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,$){1&se&&i.\u0275\u0275elementContainer(0,0)},dependencies:[st],encapsulation:2})}return le})(),In=(()=>{class le extends Kt{constructor(){super(...arguments),this._contentClassName="mat-mdc-no-data-row"}static#e=this.\u0275fac=function(){let U;return function($){return(U||(U=i.\u0275\u0275getInheritedFactory(le)))($||le)}}();static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:le,selectors:[["ng-template","matNoDataRow",""]],features:[i.\u0275\u0275ProvidersFeature([{provide:Kt,useExisting:le}]),i.\u0275\u0275InheritDefinitionFeature]})}return le})(),Vn=(()=>{class le extends Jt{static#e=this.\u0275fac=function(){let U;return function($){return(U||(U=i.\u0275\u0275getInheritedFactory(le)))($||le)}}();static#t=this.\u0275cmp=i.\u0275\u0275defineComponent({type:le,selectors:[["mat-text-column"]],features:[i.\u0275\u0275InheritDefinitionFeature],decls:3,vars:0,consts:[["matColumnDef",""],["mat-header-cell","",3,"text-align",4,"matHeaderCellDef"],["mat-cell","",3,"text-align",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""]],template:function(se,$){1&se&&(i.\u0275\u0275elementContainerStart(0,0),i.\u0275\u0275template(1,xt,2,3,"th",1),i.\u0275\u0275template(2,de,2,3,"td",2),i.\u0275\u0275elementContainerEnd())},dependencies:[Ht,cn,vt,fn,Re],encapsulation:2})}return le})(),kn=(()=>{class le{static#e=this.\u0275fac=function(se){return new(se||le)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:le});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({imports:[L.MatCommonModule,ue,L.MatCommonModule]})}return le})();class Pn extends u{get data(){return this._data.value}set data(nt){nt=Array.isArray(nt)?nt:[],this._data.next(nt),this._renderChangesSubscription||this._filterData(nt)}get filter(){return this._filter.value}set filter(nt){this._filter.next(nt),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(nt){this._sort=nt,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(nt){this._paginator=nt,this._updateChangeSubscription()}constructor(nt=[]){super(),this._renderData=new ae.X([]),this._filter=new ae.X(""),this._internalPageChanges=new K.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(U,se)=>{const $=U[se];if((0,f.t6)($)){const $e=Number($);return $e<9007199254740991?$e:$}return $},this.sortData=(U,se)=>{const $=se.active,$e=se.direction;return $&&""!=$e?U.sort((R,Pe)=>{let Oe=this.sortingDataAccessor(R,$),Bt=this.sortingDataAccessor(Pe,$);const Lt=typeof Oe,yn=typeof Bt;Lt!==yn&&("number"===Lt&&(Oe+=""),"number"===yn&&(Bt+=""));let Tn=0;return null!=Oe&&null!=Bt?Oe>Bt?Tn=1:Oe<Bt&&(Tn=-1):null!=Oe?Tn=1:null!=Bt&&(Tn=-1),Tn*("asc"==$e?1:-1)}):U},this.filterPredicate=(U,se)=>{const $=Object.keys(U).reduce((R,Pe)=>R+U[Pe]+"\u25ec","").toLowerCase(),$e=se.trim().toLowerCase();return-1!=$.indexOf($e)},this._data=new ae.X(nt),this._updateChangeSubscription()}_updateChangeSubscription(){const nt=this._sort?(0,A.T)(this._sort.sortChange,this._sort.initialized):(0,it.of)(null),U=this._paginator?(0,A.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,it.of)(null),$=(0,ie.a)([this._data,this._filter]).pipe((0,ze.U)(([Pe])=>this._filterData(Pe))),$e=(0,ie.a)([$,nt]).pipe((0,ze.U)(([Pe])=>this._orderData(Pe))),R=(0,ie.a)([$e,U]).pipe((0,ze.U)(([Pe])=>this._pageData(Pe)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=R.subscribe(Pe=>this._renderData.next(Pe))}_filterData(nt){return this.filteredData=null==this.filter||""===this.filter?nt:nt.filter(U=>this.filterPredicate(U,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(nt){return this.sort?this.sortData(nt.slice(),this.sort):nt}_pageData(nt){if(!this.paginator)return nt;const U=this.paginator.pageIndex*this.paginator.pageSize;return nt.slice(U,U+this.paginator.pageSize)}_updatePaginator(nt){Promise.resolve().then(()=>{const U=this.paginator;if(U&&(U.length=nt,U.pageIndex>0)){const se=Math.ceil(U.length/U.pageSize)-1||0,$=Math.min(U.pageIndex,se);$!==U.pageIndex&&(U.pageIndex=$,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}class bn extends Pn{}},7361:(Z,l,o)=>{"use strict";o.r(l),o.d(l,{MAT_TAB:()=>qe,MAT_TABS_CONFIG:()=>Dn,MAT_TAB_CONTENT:()=>Te,MAT_TAB_GROUP:()=>Ne,MAT_TAB_LABEL:()=>dt,MatInkBar:()=>st,MatPaginatedTabHeader:()=>qt,MatTab:()=>ge,MatTabBody:()=>Ee,MatTabBodyPortal:()=>ke,MatTabChangeEvent:()=>ht,MatTabContent:()=>pt,MatTabGroup:()=>Be,MatTabHeader:()=>pn,MatTabLabel:()=>Y,MatTabLabelWrapper:()=>at,MatTabLink:()=>ie,MatTabNav:()=>A,MatTabNavPanel:()=>ze,MatTabsModule:()=>Mt,_MAT_INK_BAR_POSITIONER:()=>Wt,_MAT_INK_BAR_POSITIONER_FACTORY:()=>Ct,_MatTabBase:()=>ee,_MatTabBodyBase:()=>Ge,_MatTabGroupBase:()=>Ce,_MatTabHeaderBase:()=>ln,_MatTabLabelWrapperBase:()=>Qt,_MatTabLinkBase:()=>ue,_MatTabNavBase:()=>Jt,matTabsAnimations:()=>Fe});var i=o(9462),a=o(7786),f=o(9021),p=o(6512),d=o(8267),h=o(8654),g=o(4877),v=o(9592),m=o(9453),u=o(6058),b=o(9627),C=o(4991),M=o(8025),S=o(7371),H=o(5117),j=o(1625),N=o(19),fe=o(4263),z=o(5779),oe=o(3581),X=o(2835),K=o(1800),me=o(1497),ae=o(6e3),te=o(5988),pe=o(9467),it=o(3844),be=o(7605);function We(Xe,xt){}const ce=function(Xe){return{animationDuration:Xe}},Ae=function(Xe,xt){return{value:Xe,params:xt}};function Ye(Xe,xt){1&Xe&&a.\u0275\u0275projection(0)}const Qe=["*"],ot=["tabListContainer"],kt=["tabList"],je=["tabListInner"],Ve=["nextPaginator"],ye=["previousPaginator"],we=["tabBodyWrapper"],ne=["tabHeader"];function B(Xe,xt){}function J(Xe,xt){if(1&Xe&&a.\u0275\u0275template(0,B,0,0,"ng-template",14),2&Xe){const de=a.\u0275\u0275nextContext().$implicit;a.\u0275\u0275property("cdkPortalOutlet",de.templateLabel)}}function Ze(Xe,xt){if(1&Xe&&a.\u0275\u0275text(0),2&Xe){const de=a.\u0275\u0275nextContext().$implicit;a.\u0275\u0275textInterpolate(de.textLabel)}}function ct(Xe,xt){if(1&Xe){const de=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"div",6,7),a.\u0275\u0275listener("click",function(){const Se=a.\u0275\u0275restoreView(de),vt=Se.$implicit,Ht=Se.index,vn=a.\u0275\u0275nextContext(),cn=a.\u0275\u0275reference(1);return a.\u0275\u0275resetView(vn._handleClick(vt,cn,Ht))})("cdkFocusChange",function(Se){const Ht=a.\u0275\u0275restoreView(de).index,vn=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(vn._tabFocusChanged(Se,Ht))}),a.\u0275\u0275element(2,"span",8)(3,"div",9),a.\u0275\u0275elementStart(4,"span",10)(5,"span",11),a.\u0275\u0275template(6,J,1,1,"ng-template",12),a.\u0275\u0275template(7,Ze,1,1,"ng-template",null,13,a.\u0275\u0275templateRefExtractor),a.\u0275\u0275elementEnd()()()}if(2&Xe){const de=xt.$implicit,Me=xt.index,Se=a.\u0275\u0275reference(1),vt=a.\u0275\u0275reference(8),Ht=a.\u0275\u0275nextContext();a.\u0275\u0275classProp("mdc-tab--active",Ht.selectedIndex===Me),a.\u0275\u0275property("id",Ht._getTabLabelId(Me))("ngClass",de.labelClass)("disabled",de.disabled)("fitInkBarToContent",Ht.fitInkBarToContent),a.\u0275\u0275attribute("tabIndex",Ht._getTabIndex(Me))("aria-posinset",Me+1)("aria-setsize",Ht._tabs.length)("aria-controls",Ht._getTabContentId(Me))("aria-selected",Ht.selectedIndex===Me)("aria-label",de.ariaLabel||null)("aria-labelledby",!de.ariaLabel&&de.ariaLabelledby?de.ariaLabelledby:null),a.\u0275\u0275advance(3),a.\u0275\u0275property("matRippleTrigger",Se)("matRippleDisabled",de.disabled||Ht.disableRipple),a.\u0275\u0275advance(3),a.\u0275\u0275property("ngIf",de.templateLabel)("ngIfElse",vt)}}function Nt(Xe,xt){if(1&Xe){const de=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"mat-tab-body",15),a.\u0275\u0275listener("_onCentered",function(){a.\u0275\u0275restoreView(de);const Se=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(Se._removeTabBodyWrapperHeight())})("_onCentering",function(Se){a.\u0275\u0275restoreView(de);const vt=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(vt._setTabBodyWrapperHeight(Se))}),a.\u0275\u0275elementEnd()}if(2&Xe){const de=xt.$implicit,Me=xt.index,Se=a.\u0275\u0275nextContext();a.\u0275\u0275classProp("mat-mdc-tab-body-active",Se.selectedIndex===Me),a.\u0275\u0275property("id",Se._getTabContentId(Me))("ngClass",de.bodyClass)("content",de.content)("position",de.position)("origin",de.origin)("animationDuration",Se.animationDuration)("preserveContent",Se.preserveContent),a.\u0275\u0275attribute("tabindex",null!=Se.contentTabIndex&&Se.selectedIndex===Me?Se.contentTabIndex:null)("aria-labelledby",Se._getTabLabelId(Me))("aria-hidden",Se.selectedIndex!==Me)}}const Dt=["mat-tab-nav-bar",""],Vt=["mat-tab-link",""],Fe={translateTab:(0,ae.X$)("translateTab",[(0,ae.SB)("center, void, left-origin-center, right-origin-center",(0,ae.oB)({transform:"none"})),(0,ae.SB)("left",(0,ae.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,ae.SB)("right",(0,ae.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,ae.eR)("* => left, * => right, left => center, right => center",(0,ae.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,ae.eR)("void => left-origin-center",[(0,ae.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,ae.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,ae.eR)("void => right-origin-center",[(0,ae.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,ae.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let ke=(()=>{class Xe extends p.Pl{constructor(de,Me,Se,vt){super(de,Me,vt),this._host=Se,this._centeringSub=v.w0.EMPTY,this._leavingSub=v.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,N.O)(this._host._isCenterPosition(this._host._position))).subscribe(de=>{de&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static#e=this.\u0275fac=function(Me){return new(Me||Xe)(a.\u0275\u0275directiveInject(a.ComponentFactoryResolver),a.\u0275\u0275directiveInject(a.ViewContainerRef),a.\u0275\u0275directiveInject((0,a.forwardRef)(()=>Ee)),a.\u0275\u0275directiveInject(i.DOCUMENT))};static#t=this.\u0275dir=a.\u0275\u0275defineDirective({type:Xe,selectors:[["","matTabBodyHost",""]],features:[a.\u0275\u0275InheritDefinitionFeature]})}return Xe})(),Ge=(()=>{class Xe{set position(de){this._positionIndex=de,this._computePositionAnimationState()}constructor(de,Me,Se){this._elementRef=de,this._dir=Me,this._dirChangeSubscription=v.w0.EMPTY,this._translateTabComplete=new m.x,this._onCentering=new a.EventEmitter,this._beforeCentering=new a.EventEmitter,this._afterLeavingCenter=new a.EventEmitter,this._onCentered=new a.EventEmitter(!0),this.animationDuration="500ms",this.preserveContent=!1,Me&&(this._dirChangeSubscription=Me.change.subscribe(vt=>{this._computePositionAnimationState(vt),Se.markForCheck()})),this._translateTabComplete.pipe((0,fe.x)((vt,Ht)=>vt.fromState===Ht.fromState&&vt.toState===Ht.toState)).subscribe(vt=>{this._isCenterPosition(vt.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(vt.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(de){const Me=this._isCenterPosition(de.toState);this._beforeCentering.emit(Me),Me&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(de){return"center"==de||"left-origin-center"==de||"right-origin-center"==de}_computePositionAnimationState(de=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==de?"left":"right":this._positionIndex>0?"ltr"==de?"right":"left":"center"}_computePositionFromOrigin(de){const Me=this._getLayoutDirection();return"ltr"==Me&&de<=0||"rtl"==Me&&de>0?"left-origin-center":"right-origin-center"}static#e=this.\u0275fac=function(Me){return new(Me||Xe)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(g.Is,8),a.\u0275\u0275directiveInject(a.ChangeDetectorRef))};static#t=this.\u0275dir=a.\u0275\u0275defineDirective({type:Xe,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}})}return Xe})(),Ee=(()=>{class Xe extends Ge{constructor(de,Me,Se){super(de,Me,Se)}static#e=this.\u0275fac=function(Me){return new(Me||Xe)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(g.Is,8),a.\u0275\u0275directiveInject(a.ChangeDetectorRef))};static#t=this.\u0275cmp=a.\u0275\u0275defineComponent({type:Xe,selectors:[["mat-tab-body"]],viewQuery:function(Me,Se){if(1&Me&&a.\u0275\u0275viewQuery(p.Pl,5),2&Me){let vt;a.\u0275\u0275queryRefresh(vt=a.\u0275\u0275loadQuery())&&(Se._portalHost=vt.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[a.\u0275\u0275InheritDefinitionFeature],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(Me,Se){1&Me&&(a.\u0275\u0275elementStart(0,"div",0,1),a.\u0275\u0275listener("@translateTab.start",function(Ht){return Se._onTranslateTabStarted(Ht)})("@translateTab.done",function(Ht){return Se._translateTabComplete.next(Ht)}),a.\u0275\u0275template(2,We,0,0,"ng-template",2),a.\u0275\u0275elementEnd()),2&Me&&a.\u0275\u0275property("@translateTab",a.\u0275\u0275pureFunction2(3,Ae,Se._position,a.\u0275\u0275pureFunction1(1,ce,Se.animationDuration)))},dependencies:[ke],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[Fe.translateTab]}})}return Xe})();const Te=new a.InjectionToken("MatTabContent");let pt=(()=>{class Xe{constructor(de){this.template=de}static#e=this.\u0275fac=function(Me){return new(Me||Xe)(a.\u0275\u0275directiveInject(a.TemplateRef))};static#t=this.\u0275dir=a.\u0275\u0275defineDirective({type:Xe,selectors:[["","matTabContent",""]],features:[a.\u0275\u0275ProvidersFeature([{provide:Te,useExisting:Xe}])]})}return Xe})();const dt=new a.InjectionToken("MatTabLabel"),qe=new a.InjectionToken("MAT_TAB");let Y=(()=>{class Xe extends p.ig{constructor(de,Me,Se){super(de,Me),this._closestTab=Se}static#e=this.\u0275fac=function(Me){return new(Me||Xe)(a.\u0275\u0275directiveInject(a.TemplateRef),a.\u0275\u0275directiveInject(a.ViewContainerRef),a.\u0275\u0275directiveInject(qe,8))};static#t=this.\u0275dir=a.\u0275\u0275defineDirective({type:Xe,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[a.\u0275\u0275ProvidersFeature([{provide:dt,useExisting:Xe}]),a.\u0275\u0275InheritDefinitionFeature]})}return Xe})();const _e="mdc-tab-indicator--active",Ie="mdc-tab-indicator--no-transition";class st{constructor(xt){this._items=xt}hide(){this._items.forEach(xt=>xt.deactivateInkBar())}alignToElement(xt){const de=this._items.find(Se=>Se.elementRef.nativeElement===xt),Me=this._currentItem;if(de!==Me&&(Me?.deactivateInkBar(),de)){const Se=Me?.elementRef.nativeElement.getBoundingClientRect?.();de.activateInkBar(Se),this._currentItem=de}}}function tt(Xe){return class extends Xe{constructor(...xt){super(...xt),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(xt){const de=(0,te.Ig)(xt);this._fitToContent!==de&&(this._fitToContent=de,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(xt){const de=this.elementRef.nativeElement;if(!xt||!de.getBoundingClientRect||!this._inkBarContentElement)return void de.classList.add(_e);const Me=de.getBoundingClientRect(),Se=xt.width/Me.width,vt=xt.left-Me.left;de.classList.add(Ie),this._inkBarContentElement.style.setProperty("transform",`translateX(${vt}px) scaleX(${Se})`),de.getBoundingClientRect(),de.classList.remove(Ie),de.classList.add(_e),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(_e)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const xt=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=xt.createElement("span"),this._inkBarContentElement=xt.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}function Ct(){return xt=>({left:xt?(xt.offsetLeft||0)+"px":"0",width:xt?(xt.offsetWidth||0)+"px":"0"})}const Wt=new a.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:Ct}),Kt=(0,f.mixinDisabled)(class{});let Qt=(()=>{class Xe extends Kt{constructor(de){super(),this.elementRef=de}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static#e=this.\u0275fac=function(Me){return new(Me||Xe)(a.\u0275\u0275directiveInject(a.ElementRef))};static#t=this.\u0275dir=a.\u0275\u0275defineDirective({type:Xe,features:[a.\u0275\u0275InheritDefinitionFeature]})}return Xe})();const Zt=tt(Qt);let at=(()=>{class Xe extends Zt{static#e=this.\u0275fac=function(){let de;return function(Se){return(de||(de=a.\u0275\u0275getInheritedFactory(Xe)))(Se||Xe)}}();static#t=this.\u0275dir=a.\u0275\u0275defineDirective({type:Xe,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(Me,Se){2&Me&&(a.\u0275\u0275attribute("aria-disabled",!!Se.disabled),a.\u0275\u0275classProp("mat-mdc-tab-disabled",Se.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[a.\u0275\u0275InheritDefinitionFeature]})}return Xe})();const yt=(0,f.mixinDisabled)(class{}),Ne=new a.InjectionToken("MAT_TAB_GROUP");let ee=(()=>{class Xe extends yt{get content(){return this._contentPortal}constructor(de,Me){super(),this._viewContainerRef=de,this._closestTabGroup=Me,this.textLabel="",this._contentPortal=null,this._stateChanges=new m.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(de){(de.hasOwnProperty("textLabel")||de.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new p.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(de){de&&de._closestTab===this&&(this._templateLabel=de)}static#e=this.\u0275fac=function(Me){return new(Me||Xe)(a.\u0275\u0275directiveInject(a.ViewContainerRef),a.\u0275\u0275directiveInject(Ne,8))};static#t=this.\u0275dir=a.\u0275\u0275defineDirective({type:Xe,viewQuery:function(Me,Se){if(1&Me&&a.\u0275\u0275viewQuery(a.TemplateRef,7),2&Me){let vt;a.\u0275\u0275queryRefresh(vt=a.\u0275\u0275loadQuery())&&(Se._implicitContent=vt.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[a.\u0275\u0275InheritDefinitionFeature,a.\u0275\u0275NgOnChangesFeature]})}return Xe})(),ge=(()=>{class Xe extends ee{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(de){this._setTemplateLabelInput(de)}static#e=this.\u0275fac=function(){let de;return function(Se){return(de||(de=a.\u0275\u0275getInheritedFactory(Xe)))(Se||Xe)}}();static#t=this.\u0275cmp=a.\u0275\u0275defineComponent({type:Xe,selectors:[["mat-tab"]],contentQueries:function(Me,Se,vt){if(1&Me&&(a.\u0275\u0275contentQuery(vt,pt,7,a.TemplateRef),a.\u0275\u0275contentQuery(vt,Y,5)),2&Me){let Ht;a.\u0275\u0275queryRefresh(Ht=a.\u0275\u0275loadQuery())&&(Se._explicitContent=Ht.first),a.\u0275\u0275queryRefresh(Ht=a.\u0275\u0275loadQuery())&&(Se.templateLabel=Ht.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[a.\u0275\u0275ProvidersFeature([{provide:qe,useExisting:Xe}]),a.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Qe,decls:1,vars:0,template:function(Me,Se){1&Me&&(a.\u0275\u0275projectionDef(),a.\u0275\u0275template(0,Ye,1,0,"ng-template"))},encapsulation:2})}return Xe})();const rt=(0,it.i$)({passive:!0});let qt=(()=>{class Xe{get disablePagination(){return this._disablePagination}set disablePagination(de){this._disablePagination=(0,te.Ig)(de)}get selectedIndex(){return this._selectedIndex}set selectedIndex(de){de=(0,te.su)(de),this._selectedIndex!=de&&(this._selectedIndexChanged=!0,this._selectedIndex=de,this._keyManager&&this._keyManager.updateActiveItem(de))}constructor(de,Me,Se,vt,Ht,vn,cn){this._elementRef=de,this._changeDetectorRef=Me,this._viewportRuler=Se,this._dir=vt,this._ngZone=Ht,this._platform=vn,this._animationMode=cn,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new m.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new m.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new a.EventEmitter,this.indexFocused=new a.EventEmitter,Ht.runOutsideAngular(()=>{(0,u.R)(de.nativeElement,"mouseleave").pipe((0,z.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,u.R)(this._previousPaginator.nativeElement,"touchstart",rt).pipe((0,z.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,u.R)(this._nextPaginator.nativeElement,"touchstart",rt).pipe((0,z.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const de=this._dir?this._dir.change:(0,b.of)("ltr"),Me=this._viewportRuler.change(150),Se=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new h.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,oe.q)(1)).subscribe(Se),(0,C.T)(de,Me,this._items.changes,this._itemsResized()).pipe((0,z.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),Se()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(vt=>{this.indexFocused.emit(vt),this._setTabFocus(vt)})}_itemsResized(){return"function"!=typeof ResizeObserver?M.E:this._items.changes.pipe((0,N.O)(this._items),(0,X.w)(de=>new S.y(Me=>this._ngZone.runOutsideAngular(()=>{const Se=new ResizeObserver(vt=>Me.next(vt));return de.forEach(vt=>Se.observe(vt.elementRef.nativeElement)),()=>{Se.disconnect()}}))),(0,K.T)(1),(0,me.h)(de=>de.some(Me=>Me.contentRect.width>0&&Me.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._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(de){if(!(0,be.Vb)(de))switch(de.keyCode){case be.K5:case be.L_:if(this.focusIndex!==this.selectedIndex){const Me=this._items.get(this.focusIndex);Me&&!Me.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(de))}break;default:this._keyManager.onKeydown(de)}}_onContentChanges(){const de=this._elementRef.nativeElement.textContent;de!==this._currentTextContent&&(this._currentTextContent=de||"",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(de){!this._isValidIndex(de)||this.focusIndex===de||!this._keyManager||this._keyManager.setActiveItem(de)}_isValidIndex(de){return!this._items||!!this._items.toArray()[de]}_setTabFocus(de){if(this._showPaginationControls&&this._scrollToLabel(de),this._items&&this._items.length){this._items.toArray()[de].focus();const Me=this._tabListContainer.nativeElement;Me.scrollLeft="ltr"==this._getLayoutDirection()?0:Me.scrollWidth-Me.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const de=this.scrollDistance,Me="ltr"===this._getLayoutDirection()?-de:de;this._tabList.nativeElement.style.transform=`translateX(${Math.round(Me)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(de){this._scrollTo(de)}_scrollHeader(de){return this._scrollTo(this._scrollDistance+("before"==de?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(de){this._stopInterval(),this._scrollHeader(de)}_scrollToLabel(de){if(this.disablePagination)return;const Me=this._items?this._items.toArray()[de]:null;if(!Me)return;const Se=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:vt,offsetWidth:Ht}=Me.elementRef.nativeElement;let vn,cn;"ltr"==this._getLayoutDirection()?(vn=vt,cn=vn+Ht):(cn=this._tabListInner.nativeElement.offsetWidth-vt,vn=cn-Ht);const fn=this.scrollDistance,Ue=this.scrollDistance+Se;vn<fn?this.scrollDistance-=fn-vn:cn>Ue&&(this.scrollDistance+=Math.min(cn-Ue,vn-fn))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const de=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;de||(this.scrollDistance=0),de!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=de}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const de=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,Me=de?de.elementRef.nativeElement:null;Me?this._inkBar.alignToElement(Me):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(de,Me){Me&&null!=Me.button&&0!==Me.button||(this._stopInterval(),(0,H.H)(650,100).pipe((0,z.R)((0,C.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Se,distance:vt}=this._scrollHeader(de);(0===vt||vt>=Se)&&this._stopInterval()}))}_scrollTo(de){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const Me=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(Me,de)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:Me,distance:this._scrollDistance}}static#e=this.\u0275fac=function(Me){return new(Me||Xe)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(pe.rL),a.\u0275\u0275directiveInject(g.Is,8),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(it.t4),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=a.\u0275\u0275defineDirective({type:Xe,inputs:{disablePagination:"disablePagination"}})}return Xe})(),ln=(()=>{class Xe extends qt{get disableRipple(){return this._disableRipple}set disableRipple(de){this._disableRipple=(0,te.Ig)(de)}constructor(de,Me,Se,vt,Ht,vn,cn){super(de,Me,Se,vt,Ht,vn,cn),this._disableRipple=!1}_itemSelected(de){de.preventDefault()}static#e=this.\u0275fac=function(Me){return new(Me||Xe)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(pe.rL),a.\u0275\u0275directiveInject(g.Is,8),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(it.t4),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=a.\u0275\u0275defineDirective({type:Xe,inputs:{disableRipple:"disableRipple"},features:[a.\u0275\u0275InheritDefinitionFeature]})}return Xe})(),pn=(()=>{class Xe extends ln{constructor(de,Me,Se,vt,Ht,vn,cn){super(de,Me,Se,vt,Ht,vn,cn)}ngAfterContentInit(){this._inkBar=new st(this._items),super.ngAfterContentInit()}static#e=this.\u0275fac=function(Me){return new(Me||Xe)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(pe.rL),a.\u0275\u0275directiveInject(g.Is,8),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(it.t4),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=a.\u0275\u0275defineComponent({type:Xe,selectors:[["mat-tab-header"]],contentQueries:function(Me,Se,vt){if(1&Me&&a.\u0275\u0275contentQuery(vt,at,4),2&Me){let Ht;a.\u0275\u0275queryRefresh(Ht=a.\u0275\u0275loadQuery())&&(Se._items=Ht)}},viewQuery:function(Me,Se){if(1&Me&&(a.\u0275\u0275viewQuery(ot,7),a.\u0275\u0275viewQuery(kt,7),a.\u0275\u0275viewQuery(je,7),a.\u0275\u0275viewQuery(Ve,5),a.\u0275\u0275viewQuery(ye,5)),2&Me){let vt;a.\u0275\u0275queryRefresh(vt=a.\u0275\u0275loadQuery())&&(Se._tabListContainer=vt.first),a.\u0275\u0275queryRefresh(vt=a.\u0275\u0275loadQuery())&&(Se._tabList=vt.first),a.\u0275\u0275queryRefresh(vt=a.\u0275\u0275loadQuery())&&(Se._tabListInner=vt.first),a.\u0275\u0275queryRefresh(vt=a.\u0275\u0275loadQuery())&&(Se._nextPaginator=vt.first),a.\u0275\u0275queryRefresh(vt=a.\u0275\u0275loadQuery())&&(Se._previousPaginator=vt.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(Me,Se){2&Me&&a.\u0275\u0275classProp("mat-mdc-tab-header-pagination-controls-enabled",Se._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Se._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[a.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Qe,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(Me,Se){1&Me&&(a.\u0275\u0275projectionDef(),a.\u0275\u0275elementStart(0,"button",0,1),a.\u0275\u0275listener("click",function(){return Se._handlePaginatorClick("before")})("mousedown",function(Ht){return Se._handlePaginatorPress("before",Ht)})("touchend",function(){return Se._stopInterval()}),a.\u0275\u0275element(2,"div",2),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(3,"div",3,4),a.\u0275\u0275listener("keydown",function(Ht){return Se._handleKeydown(Ht)}),a.\u0275\u0275elementStart(5,"div",5,6),a.\u0275\u0275listener("cdkObserveContent",function(){return Se._onContentChanges()}),a.\u0275\u0275elementStart(7,"div",7,8),a.\u0275\u0275projection(9),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(10,"button",9,10),a.\u0275\u0275listener("mousedown",function(Ht){return Se._handlePaginatorPress("after",Ht)})("click",function(){return Se._handlePaginatorClick("after")})("touchend",function(){return Se._stopInterval()}),a.\u0275\u0275element(12,"div",2),a.\u0275\u0275elementEnd()),2&Me&&(a.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",Se._disableScrollBefore),a.\u0275\u0275property("matRippleDisabled",Se._disableScrollBefore||Se.disableRipple)("disabled",Se._disableScrollBefore||null),a.\u0275\u0275advance(3),a.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Se._animationMode),a.\u0275\u0275advance(7),a.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",Se._disableScrollAfter),a.\u0275\u0275property("matRippleDisabled",Se._disableScrollAfter||Se.disableRipple)("disabled",Se._disableScrollAfter||null))},dependencies:[f.MatRipple,d.wD],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}return Xe})();const Dn=new a.InjectionToken("MAT_TABS_CONFIG");let _t=0;const et=(0,f.mixinColor)((0,f.mixinDisableRipple)(class{constructor(Xe){this._elementRef=Xe}}),"primary");let Ce=(()=>{class Xe extends et{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(de){this._dynamicHeight=(0,te.Ig)(de)}get selectedIndex(){return this._selectedIndex}set selectedIndex(de){this._indexToSelect=(0,te.su)(de,null)}get animationDuration(){return this._animationDuration}set animationDuration(de){this._animationDuration=/^\d+$/.test(de+"")?de+"ms":de}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(de){this._contentTabIndex=(0,te.su)(de,null)}get disablePagination(){return this._disablePagination}set disablePagination(de){this._disablePagination=(0,te.Ig)(de)}get preserveContent(){return this._preserveContent}set preserveContent(de){this._preserveContent=(0,te.Ig)(de)}get backgroundColor(){return this._backgroundColor}set backgroundColor(de){const Me=this._elementRef.nativeElement.classList;Me.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),de&&Me.add("mat-tabs-with-background",`mat-background-${de}`),this._backgroundColor=de}constructor(de,Me,Se,vt){super(de),this._changeDetectorRef=Me,this._animationMode=vt,this._tabs=new a.QueryList,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=v.w0.EMPTY,this._tabLabelSubscription=v.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new a.EventEmitter,this.focusChange=new a.EventEmitter,this.animationDone=new a.EventEmitter,this.selectedTabChange=new a.EventEmitter(!0),this._groupId=_t++,this.animationDuration=Se&&Se.animationDuration?Se.animationDuration:"500ms",this.disablePagination=!(!Se||null==Se.disablePagination)&&Se.disablePagination,this.dynamicHeight=!(!Se||null==Se.dynamicHeight)&&Se.dynamicHeight,this.contentTabIndex=Se?.contentTabIndex??null,this.preserveContent=!!Se?.preserveContent}ngAfterContentChecked(){const de=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=de){const Me=null==this._selectedIndex;if(!Me){this.selectedTabChange.emit(this._createChangeEvent(de));const Se=this._tabBodyWrapper.nativeElement;Se.style.minHeight=Se.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Se,vt)=>Se.isActive=vt===de),Me||(this.selectedIndexChange.emit(de),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((Me,Se)=>{Me.position=Se-de,null!=this._selectedIndex&&0==Me.position&&!Me.origin&&(Me.origin=de-this._selectedIndex)}),this._selectedIndex!==de&&(this._selectedIndex=de,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const de=this._clampTabIndex(this._indexToSelect);if(de===this._selectedIndex){const Me=this._tabs.toArray();let Se;for(let vt=0;vt<Me.length;vt++)if(Me[vt].isActive){this._indexToSelect=this._selectedIndex=vt,this._lastFocusedTabIndex=null,Se=Me[vt];break}!Se&&Me[de]&&Promise.resolve().then(()=>{Me[de].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(de))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,N.O)(this._allTabs)).subscribe(de=>{this._tabs.reset(de.filter(Me=>Me._closestTabGroup===this||!Me._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(de){const Me=this._tabHeader;Me&&(Me.focusIndex=de)}_focusChanged(de){this._lastFocusedTabIndex=de,this.focusChange.emit(this._createChangeEvent(de))}_createChangeEvent(de){const Me=new ht;return Me.index=de,this._tabs&&this._tabs.length&&(Me.tab=this._tabs.toArray()[de]),Me}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,C.T)(...this._tabs.map(de=>de._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(de){return Math.min(this._tabs.length-1,Math.max(de||0,0))}_getTabLabelId(de){return`mat-tab-label-${this._groupId}-${de}`}_getTabContentId(de){return`mat-tab-content-${this._groupId}-${de}`}_setTabBodyWrapperHeight(de){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const Me=this._tabBodyWrapper.nativeElement;Me.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(Me.style.height=de+"px")}_removeTabBodyWrapperHeight(){const de=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=de.clientHeight,de.style.height="",this.animationDone.emit()}_handleClick(de,Me,Se){Me.focusIndex=Se,de.disabled||(this.selectedIndex=Se)}_getTabIndex(de){return de===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(de,Me){de&&"mouse"!==de&&"touch"!==de&&(this._tabHeader.focusIndex=Me)}static#e=this.\u0275fac=function(Me){return new(Me||Xe)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(Dn,8),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=a.\u0275\u0275defineDirective({type:Xe,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[a.\u0275\u0275InheritDefinitionFeature]})}return Xe})(),Be=(()=>{class Xe extends Ce{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(de){this._fitInkBarToContent=(0,te.Ig)(de),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(de){this._stretchTabs=(0,te.Ig)(de)}constructor(de,Me,Se,vt){super(de,Me,Se,vt),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!Se||null==Se.fitInkBarToContent)&&Se.fitInkBarToContent,this.stretchTabs=!Se||null==Se.stretchTabs||Se.stretchTabs}static#e=this.\u0275fac=function(Me){return new(Me||Xe)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(Dn,8),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=a.\u0275\u0275defineComponent({type:Xe,selectors:[["mat-tab-group"]],contentQueries:function(Me,Se,vt){if(1&Me&&a.\u0275\u0275contentQuery(vt,ge,5),2&Me){let Ht;a.\u0275\u0275queryRefresh(Ht=a.\u0275\u0275loadQuery())&&(Se._allTabs=Ht)}},viewQuery:function(Me,Se){if(1&Me&&(a.\u0275\u0275viewQuery(we,5),a.\u0275\u0275viewQuery(ne,5)),2&Me){let vt;a.\u0275\u0275queryRefresh(vt=a.\u0275\u0275loadQuery())&&(Se._tabBodyWrapper=vt.first),a.\u0275\u0275queryRefresh(vt=a.\u0275\u0275loadQuery())&&(Se._tabHeader=vt.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-tab-group"],hostVars:8,hostBindings:function(Me,Se){2&Me&&(a.\u0275\u0275styleProp("--mat-tab-animation-duration",Se.animationDuration),a.\u0275\u0275classProp("mat-mdc-tab-group-dynamic-height",Se.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===Se.headerPosition)("mat-mdc-tab-group-stretch-tabs",Se.stretchTabs))},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[a.\u0275\u0275ProvidersFeature([{provide:Ne,useExisting:Xe}]),a.\u0275\u0275InheritDefinitionFeature],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(Me,Se){1&Me&&(a.\u0275\u0275elementStart(0,"mat-tab-header",0,1),a.\u0275\u0275listener("indexFocused",function(Ht){return Se._focusChanged(Ht)})("selectFocusedIndex",function(Ht){return Se.selectedIndex=Ht}),a.\u0275\u0275template(2,ct,9,17,"div",2),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(3,"div",3,4),a.\u0275\u0275template(5,Nt,1,12,"mat-tab-body",5),a.\u0275\u0275elementEnd()),2&Me&&(a.\u0275\u0275property("selectedIndex",Se.selectedIndex||0)("disableRipple",Se.disableRipple)("disablePagination",Se.disablePagination),a.\u0275\u0275advance(2),a.\u0275\u0275property("ngForOf",Se._tabs),a.\u0275\u0275advance(1),a.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Se._animationMode),a.\u0275\u0275advance(2),a.\u0275\u0275property("ngForOf",Se._tabs))},dependencies:[i.NgClass,i.NgForOf,i.NgIf,p.Pl,f.MatRipple,h.kH,Ee,at,pn],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return Xe})();class ht{}let Ot=0,Jt=(()=>{class Xe extends qt{get backgroundColor(){return this._backgroundColor}set backgroundColor(de){const Me=this._elementRef.nativeElement.classList;Me.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),de&&Me.add("mat-tabs-with-background",`mat-background-${de}`),this._backgroundColor=de}get disableRipple(){return this._disableRipple}set disableRipple(de){this._disableRipple=(0,te.Ig)(de)}constructor(de,Me,Se,vt,Ht,vn,cn){super(de,vt,Ht,Me,Se,vn,cn),this._disableRipple=!1,this.color="primary"}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,N.O)(null),(0,z.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const de=this._items.toArray();for(let Me=0;Me<de.length;Me++)if(de[Me].active)return this.selectedIndex=Me,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=de[Me].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}static#e=this.\u0275fac=function(Me){return new(Me||Xe)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(g.Is,8),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(pe.rL),a.\u0275\u0275directiveInject(it.t4),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=a.\u0275\u0275defineDirective({type:Xe,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[a.\u0275\u0275InheritDefinitionFeature]})}return Xe})();const lt=(0,f.mixinTabIndex)((0,f.mixinDisableRipple)((0,f.mixinDisabled)(class{})));let ue=(()=>{class Xe extends lt{get active(){return this._isActive}set active(de){const Me=(0,te.Ig)(de);Me!==this._isActive&&(this._isActive=Me,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(de,Me,Se,vt,Ht,vn){super(),this._tabNavBar=de,this.elementRef=Me,this._focusMonitor=Ht,this._isActive=!1,this.id="mat-tab-link-"+Ot++,this.rippleConfig=Se||{},this.tabIndex=parseInt(vt)||0,"NoopAnimations"===vn&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(de){!this.disabled||de.keyCode!==be.L_&&de.keyCode!==be.K5?this._tabNavBar.tabPanel&&de.keyCode===be.L_&&this.elementRef.nativeElement.click():de.preventDefault()}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex}static#e=this.\u0275fac=function(Me){return new(Me||Xe)(a.\u0275\u0275directiveInject(Jt),a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(f.MAT_RIPPLE_GLOBAL_OPTIONS,8),a.\u0275\u0275injectAttribute("tabindex"),a.\u0275\u0275directiveInject(h.tE),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=a.\u0275\u0275defineDirective({type:Xe,inputs:{active:"active",id:"id"},features:[a.\u0275\u0275InheritDefinitionFeature]})}return Xe})();const L=tt(ue);let A=(()=>{class Xe extends Jt{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(de){this._fitInkBarToContent.next((0,te.Ig)(de)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(de){this._stretchTabs=(0,te.Ig)(de)}get animationDuration(){return this._animationDuration}set animationDuration(de){this._animationDuration=/^\d+$/.test(de+"")?de+"ms":de}constructor(de,Me,Se,vt,Ht,vn,cn,fn){super(de,Me,Se,vt,Ht,vn,cn),this._fitInkBarToContent=new j.X(!1),this._stretchTabs=!0,this.disablePagination=!(!fn||null==fn.disablePagination)&&fn.disablePagination,this.fitInkBarToContent=!(!fn||null==fn.fitInkBarToContent)&&fn.fitInkBarToContent,this.stretchTabs=!fn||null==fn.stretchTabs||fn.stretchTabs}ngAfterContentInit(){this._inkBar=new st(this._items),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}static#e=this.\u0275fac=function(Me){return new(Me||Xe)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(g.Is,8),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(pe.rL),a.\u0275\u0275directiveInject(it.t4),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8),a.\u0275\u0275directiveInject(Dn,8))};static#t=this.\u0275cmp=a.\u0275\u0275defineComponent({type:Xe,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(Me,Se,vt){if(1&Me&&a.\u0275\u0275contentQuery(vt,ie,5),2&Me){let Ht;a.\u0275\u0275queryRefresh(Ht=a.\u0275\u0275loadQuery())&&(Se._items=Ht)}},viewQuery:function(Me,Se){if(1&Me&&(a.\u0275\u0275viewQuery(ot,7),a.\u0275\u0275viewQuery(kt,7),a.\u0275\u0275viewQuery(je,7),a.\u0275\u0275viewQuery(Ve,5),a.\u0275\u0275viewQuery(ye,5)),2&Me){let vt;a.\u0275\u0275queryRefresh(vt=a.\u0275\u0275loadQuery())&&(Se._tabListContainer=vt.first),a.\u0275\u0275queryRefresh(vt=a.\u0275\u0275loadQuery())&&(Se._tabList=vt.first),a.\u0275\u0275queryRefresh(vt=a.\u0275\u0275loadQuery())&&(Se._tabListInner=vt.first),a.\u0275\u0275queryRefresh(vt=a.\u0275\u0275loadQuery())&&(Se._nextPaginator=vt.first),a.\u0275\u0275queryRefresh(vt=a.\u0275\u0275loadQuery())&&(Se._previousPaginator=vt.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:17,hostBindings:function(Me,Se){2&Me&&(a.\u0275\u0275attribute("role",Se._getRole()),a.\u0275\u0275styleProp("--mat-tab-animation-duration",Se.animationDuration),a.\u0275\u0275classProp("mat-mdc-tab-header-pagination-controls-enabled",Se._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Se._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",Se.stretchTabs)("mat-primary","warn"!==Se.color&&"accent"!==Se.color)("mat-accent","accent"===Se.color)("mat-warn","warn"===Se.color)("_mat-animation-noopable","NoopAnimations"===Se._animationMode))},inputs:{color:"color",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"],animationDuration:"animationDuration"},exportAs:["matTabNavBar","matTabNav"],features:[a.\u0275\u0275InheritDefinitionFeature],attrs:Dt,ngContentSelectors:Qe,decls:13,vars:8,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(Me,Se){1&Me&&(a.\u0275\u0275projectionDef(),a.\u0275\u0275elementStart(0,"button",0,1),a.\u0275\u0275listener("click",function(){return Se._handlePaginatorClick("before")})("mousedown",function(Ht){return Se._handlePaginatorPress("before",Ht)})("touchend",function(){return Se._stopInterval()}),a.\u0275\u0275element(2,"div",2),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(3,"div",3,4),a.\u0275\u0275listener("keydown",function(Ht){return Se._handleKeydown(Ht)}),a.\u0275\u0275elementStart(5,"div",5,6),a.\u0275\u0275listener("cdkObserveContent",function(){return Se._onContentChanges()}),a.\u0275\u0275elementStart(7,"div",7,8),a.\u0275\u0275projection(9),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(10,"button",9,10),a.\u0275\u0275listener("mousedown",function(Ht){return Se._handlePaginatorPress("after",Ht)})("click",function(){return Se._handlePaginatorClick("after")})("touchend",function(){return Se._stopInterval()}),a.\u0275\u0275element(12,"div",2),a.\u0275\u0275elementEnd()),2&Me&&(a.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",Se._disableScrollBefore),a.\u0275\u0275property("matRippleDisabled",Se._disableScrollBefore||Se.disableRipple)("disabled",Se._disableScrollBefore||null),a.\u0275\u0275advance(10),a.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",Se._disableScrollAfter),a.\u0275\u0275property("matRippleDisabled",Se._disableScrollAfter||Se.disableRipple)("disabled",Se._disableScrollAfter||null))},dependencies:[f.MatRipple,d.wD],styles:[".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2})}return Xe})(),ie=(()=>{class Xe extends L{constructor(de,Me,Se,vt,Ht,vn){super(de,Me,Se,vt,Ht,vn),this._destroyed=new m.x,de._fitInkBarToContent.pipe((0,z.R)(this._destroyed)).subscribe(cn=>{this.fitInkBarToContent=cn})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy()}static#e=this.\u0275fac=function(Me){return new(Me||Xe)(a.\u0275\u0275directiveInject(A),a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(f.MAT_RIPPLE_GLOBAL_OPTIONS,8),a.\u0275\u0275injectAttribute("tabindex"),a.\u0275\u0275directiveInject(h.tE),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=a.\u0275\u0275defineComponent({type:Xe,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(Me,Se){1&Me&&a.\u0275\u0275listener("focus",function(){return Se._handleFocus()})("keydown",function(Ht){return Se._handleKeydown(Ht)}),2&Me&&(a.\u0275\u0275attribute("aria-controls",Se._getAriaControls())("aria-current",Se._getAriaCurrent())("aria-disabled",Se.disabled)("aria-selected",Se._getAriaSelected())("id",Se.id)("tabIndex",Se._getTabIndex())("role",Se._getRole()),a.\u0275\u0275classProp("mat-mdc-tab-disabled",Se.disabled)("mdc-tab--active",Se.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[a.\u0275\u0275InheritDefinitionFeature],attrs:Vt,ngContentSelectors:Qe,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(Me,Se){1&Me&&(a.\u0275\u0275projectionDef(),a.\u0275\u0275element(0,"span",0)(1,"div",1),a.\u0275\u0275elementStart(2,"span",2)(3,"span",3),a.\u0275\u0275projection(4),a.\u0275\u0275elementEnd()()),2&Me&&(a.\u0275\u0275advance(1),a.\u0275\u0275property("matRippleTrigger",Se.elementRef.nativeElement)("matRippleDisabled",Se.rippleDisabled))},dependencies:[f.MatRipple],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0})}return Xe})(),ze=(()=>{class Xe{constructor(){this.id="mat-tab-nav-panel-"+Ot++}static#e=this.\u0275fac=function(Me){return new(Me||Xe)};static#t=this.\u0275cmp=a.\u0275\u0275defineComponent({type:Xe,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(Me,Se){2&Me&&a.\u0275\u0275attribute("aria-labelledby",Se._activeTabId)("id",Se.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:Qe,decls:1,vars:0,template:function(Me,Se){1&Me&&(a.\u0275\u0275projectionDef(),a.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0})}return Xe})(),Mt=(()=>{class Xe{static#e=this.\u0275fac=function(Me){return new(Me||Xe)};static#t=this.\u0275mod=a.\u0275\u0275defineNgModule({type:Xe});static#n=this.\u0275inj=a.\u0275\u0275defineInjector({imports:[i.CommonModule,f.MatCommonModule,p.eL,f.MatRippleModule,d.Q8,h.rt,f.MatCommonModule]})}return Xe})()},1481:(Z,l,o)=>{"use strict";o.r(l),o.d(l,{MAT_TOOLTIP_DEFAULT_OPTIONS:()=>me,MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY:()=>K,MAT_TOOLTIP_SCROLL_STRATEGY:()=>z,MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY:()=>oe,MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>X,MatTooltip:()=>Qe,MatTooltipModule:()=>Ve,SCROLL_THROTTLE_MS:()=>N,TOOLTIP_PANEL_CLASS:()=>ae,TooltipComponent:()=>kt,_MatTooltipBase:()=>Ye,_TooltipComponentBase:()=>ot,getMatTooltipInvalidPositionError:()=>fe,matTooltipAnimations:()=>je});var i=o(5779),a=o(3581),f=o(5988),p=o(7605),d=o(7786),h=o(9462),g=o(3844),v=o(8654),m=o(4877),u=o(9292),b=o(9467),C=o(6512),M=o(9453),S=o(6e3),H=o(9021);const j=["tooltip"],N=20;function fe(ye){return Error(`Tooltip position "${ye}" is invalid.`)}const z=new d.InjectionToken("mat-tooltip-scroll-strategy");function oe(ye){return()=>ye.scrollStrategies.reposition({scrollThrottle:N})}const X={provide:z,deps:[u.aV],useFactory:oe};function K(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}const me=new d.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:K}),ae="mat-mdc-tooltip-panel",te="tooltip-panel",pe=(0,g.i$)({passive:!0});let Ye=(()=>{class ye{get position(){return this._position}set position(ne){ne!==this._position&&(this._position=ne,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(ne){this._positionAtOrigin=(0,f.Ig)(ne),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(ne){this._disabled=(0,f.Ig)(ne),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(ne){this._showDelay=(0,f.su)(ne)}get hideDelay(){return this._hideDelay}set hideDelay(ne){this._hideDelay=(0,f.su)(ne),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(ne){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=ne?String(ne).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(ne){this._tooltipClass=ne,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(ne,B,J,Ze,ct,Nt,Dt,Vt,Fe,ke,Ge,Ee){this._overlay=ne,this._elementRef=B,this._scrollDispatcher=J,this._viewContainerRef=Ze,this._ngZone=ct,this._platform=Nt,this._ariaDescriber=Dt,this._focusMonitor=Vt,this._dir=ke,this._defaultOptions=Ge,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new M.x,this._scrollStrategy=Fe,this._document=Ee,Ge&&(this._showDelay=Ge.showDelay,this._hideDelay=Ge.hideDelay,Ge.position&&(this.position=Ge.position),Ge.positionAtOrigin&&(this.positionAtOrigin=Ge.positionAtOrigin),Ge.touchGestures&&(this.touchGestures=Ge.touchGestures)),ke.change.pipe((0,i.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,i.R)(this._destroyed)).subscribe(ne=>{ne?"keyboard"===ne&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const ne=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([B,J])=>{ne.removeEventListener(B,J,pe)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(ne,this.message,"tooltip"),this._focusMonitor.stopMonitoring(ne)}show(ne=this.showDelay,B){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const J=this._createOverlay(B);this._detach(),this._portal=this._portal||new C.C5(this._tooltipComponent,this._viewContainerRef);const Ze=this._tooltipInstance=J.attach(this._portal).instance;Ze._triggerElement=this._elementRef.nativeElement,Ze._mouseLeaveHideDelay=this._hideDelay,Ze.afterHidden().pipe((0,i.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),Ze.show(ne)}hide(ne=this.hideDelay){const B=this._tooltipInstance;B&&(B.isVisible()?B.hide(ne):(B._cancelPendingAnimations(),this._detach()))}toggle(ne){this._isTooltipVisible()?this.hide():this.show(void 0,ne)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(ne){if(this._overlayRef){const Ze=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!ne)&&Ze._origin instanceof d.ElementRef)return this._overlayRef;this._detach()}const B=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),J=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&ne||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(B);return J.positionChanges.pipe((0,i.R)(this._destroyed)).subscribe(Ze=>{this._updateCurrentPositionClass(Ze.connectionPair),this._tooltipInstance&&Ze.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:J,panelClass:`${this._cssClassPrefix}-${te}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,i.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,i.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,i.R)(this._destroyed)).subscribe(Ze=>{this._isTooltipVisible()&&Ze.keyCode===p.hY&&!(0,p.Vb)(Ze)&&(Ze.preventDefault(),Ze.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(ne){const B=ne.getConfig().positionStrategy,J=this._getOrigin(),Ze=this._getOverlayPosition();B.withPositions([this._addOffset({...J.main,...Ze.main}),this._addOffset({...J.fallback,...Ze.fallback})])}_addOffset(ne){return ne}_getOrigin(){const ne=!this._dir||"ltr"==this._dir.value,B=this.position;let J;"above"==B||"below"==B?J={originX:"center",originY:"above"==B?"top":"bottom"}:"before"==B||"left"==B&&ne||"right"==B&&!ne?J={originX:"start",originY:"center"}:("after"==B||"right"==B&&ne||"left"==B&&!ne)&&(J={originX:"end",originY:"center"});const{x:Ze,y:ct}=this._invertPosition(J.originX,J.originY);return{main:J,fallback:{originX:Ze,originY:ct}}}_getOverlayPosition(){const ne=!this._dir||"ltr"==this._dir.value,B=this.position;let J;"above"==B?J={overlayX:"center",overlayY:"bottom"}:"below"==B?J={overlayX:"center",overlayY:"top"}:"before"==B||"left"==B&&ne||"right"==B&&!ne?J={overlayX:"end",overlayY:"center"}:("after"==B||"right"==B&&ne||"left"==B&&!ne)&&(J={overlayX:"start",overlayY:"center"});const{x:Ze,y:ct}=this._invertPosition(J.overlayX,J.overlayY);return{main:J,fallback:{overlayX:Ze,overlayY:ct}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,a.q)(1),(0,i.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(ne){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=ne,this._tooltipInstance._markForCheck())}_invertPosition(ne,B){return"above"===this.position||"below"===this.position?"top"===B?B="bottom":"bottom"===B&&(B="top"):"end"===ne?ne="start":"start"===ne&&(ne="end"),{x:ne,y:B}}_updateCurrentPositionClass(ne){const{overlayY:B,originX:J,originY:Ze}=ne;let ct;if(ct="center"===B?this._dir&&"rtl"===this._dir.value?"end"===J?"left":"right":"start"===J?"left":"right":"bottom"===B&&"top"===Ze?"above":"below",ct!==this._currentPosition){const Nt=this._overlayRef;if(Nt){const Dt=`${this._cssClassPrefix}-${te}-`;Nt.removePanelClass(Dt+this._currentPosition),Nt.addPanelClass(Dt+ct)}this._currentPosition=ct}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",ne=>{let B;this._setupPointerExitEventsIfNeeded(),void 0!==ne.x&&void 0!==ne.y&&(B=ne),this.show(void 0,B)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",ne=>{const B=ne.targetTouches?.[0],J=B?{x:B.clientX,y:B.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,J),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const ne=[];if(this._platformSupportsMouseEvents())ne.push(["mouseleave",B=>{const J=B.relatedTarget;(!J||!this._overlayRef?.overlayElement.contains(J))&&this.hide()}],["wheel",B=>this._wheelListener(B)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const B=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};ne.push(["touchend",B],["touchcancel",B])}this._addListeners(ne),this._passiveListeners.push(...ne)}_addListeners(ne){ne.forEach(([B,J])=>{this._elementRef.nativeElement.addEventListener(B,J,pe)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(ne){if(this._isTooltipVisible()){const B=this._document.elementFromPoint(ne.clientX,ne.clientY),J=this._elementRef.nativeElement;B!==J&&!J.contains(B)&&this.hide()}}_disableNativeGesturesIfNecessary(){const ne=this.touchGestures;if("off"!==ne){const B=this._elementRef.nativeElement,J=B.style;("on"===ne||"INPUT"!==B.nodeName&&"TEXTAREA"!==B.nodeName)&&(J.userSelect=J.msUserSelect=J.webkitUserSelect=J.MozUserSelect="none"),("on"===ne||!B.draggable)&&(J.webkitUserDrag="none"),J.touchAction="none",J.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(B){d.\u0275\u0275invalidFactory()};static#t=this.\u0275dir=d.\u0275\u0275defineDirective({type:ye,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}})}return ye})(),Qe=(()=>{class ye extends Ye{constructor(ne,B,J,Ze,ct,Nt,Dt,Vt,Fe,ke,Ge,Ee){super(ne,B,J,Ze,ct,Nt,Dt,Vt,Fe,ke,Ge,Ee),this._tooltipComponent=kt,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(ne){const J=!this._dir||"ltr"==this._dir.value;return"top"===ne.originY?ne.offsetY=-8:"bottom"===ne.originY?ne.offsetY=8:"start"===ne.originX?ne.offsetX=J?-8:8:"end"===ne.originX&&(ne.offsetX=J?8:-8),ne}static#e=this.\u0275fac=function(B){return new(B||ye)(d.\u0275\u0275directiveInject(u.aV),d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(b.mF),d.\u0275\u0275directiveInject(d.ViewContainerRef),d.\u0275\u0275directiveInject(d.NgZone),d.\u0275\u0275directiveInject(g.t4),d.\u0275\u0275directiveInject(v.$s),d.\u0275\u0275directiveInject(v.tE),d.\u0275\u0275directiveInject(z),d.\u0275\u0275directiveInject(m.Is,8),d.\u0275\u0275directiveInject(me,8),d.\u0275\u0275directiveInject(h.DOCUMENT))};static#t=this.\u0275dir=d.\u0275\u0275defineDirective({type:ye,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(B,J){2&B&&d.\u0275\u0275classProp("mat-mdc-tooltip-disabled",J.disabled)},exportAs:["matTooltip"],features:[d.\u0275\u0275InheritDefinitionFeature]})}return ye})(),ot=(()=>{class ye{constructor(ne,B){this._changeDetectorRef=ne,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new M.x,this._animationsDisabled="NoopAnimations"===B}show(ne){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},ne)}hide(ne){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},ne)}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:ne}){(!ne||!this._triggerElement.contains(ne))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:ne}){(ne===this._showAnimation||ne===this._hideAnimation)&&this._finalizeAnimation(ne===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(ne){ne?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(ne){const B=this._tooltip.nativeElement,J=this._showAnimation,Ze=this._hideAnimation;if(B.classList.remove(ne?Ze:J),B.classList.add(ne?J:Ze),this._isVisible=ne,ne&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const ct=getComputedStyle(B);("0s"===ct.getPropertyValue("animation-duration")||"none"===ct.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}ne&&this._onShow(),this._animationsDisabled&&(B.classList.add("_mat-animation-noopable"),this._finalizeAnimation(ne))}static#e=this.\u0275fac=function(B){return new(B||ye)(d.\u0275\u0275directiveInject(d.ChangeDetectorRef),d.\u0275\u0275directiveInject(d.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=d.\u0275\u0275defineDirective({type:ye})}return ye})(),kt=(()=>{class ye extends ot{constructor(ne,B,J){super(ne,J),this._elementRef=B,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const ne=this._elementRef.nativeElement.getBoundingClientRect();return ne.height>24&&ne.width>=200}static#e=this.\u0275fac=function(B){return new(B||ye)(d.\u0275\u0275directiveInject(d.ChangeDetectorRef),d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(d.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=d.\u0275\u0275defineComponent({type:ye,selectors:[["mat-tooltip-component"]],viewQuery:function(B,J){if(1&B&&d.\u0275\u0275viewQuery(j,7),2&B){let Ze;d.\u0275\u0275queryRefresh(Ze=d.\u0275\u0275loadQuery())&&(J._tooltip=Ze.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(B,J){1&B&&d.\u0275\u0275listener("mouseleave",function(ct){return J._handleMouseLeave(ct)}),2&B&&d.\u0275\u0275styleProp("zoom",J.isVisible()?1:null)},features:[d.\u0275\u0275InheritDefinitionFeature],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(B,J){1&B&&(d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275listener("animationend",function(ct){return J._handleAnimationEnd(ct)}),d.\u0275\u0275elementStart(2,"div",2),d.\u0275\u0275text(3),d.\u0275\u0275elementEnd()()),2&B&&(d.\u0275\u0275classProp("mdc-tooltip--multiline",J._isMultiline),d.\u0275\u0275property("ngClass",J.tooltipClass),d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(J.message))},dependencies:[h.NgClass],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip{--mdc-plain-tooltip-container-shape:4px;--mdc-plain-tooltip-supporting-text-line-height:16px}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return ye})();const je={tooltipState:(0,S.X$)("state",[(0,S.SB)("initial, void, hidden",(0,S.oB)({opacity:0,transform:"scale(0.8)"})),(0,S.SB)("visible",(0,S.oB)({transform:"scale(1)"})),(0,S.eR)("* => visible",(0,S.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,S.eR)("* => hidden",(0,S.jt)("75ms cubic-bezier(0.4, 0, 1, 1)"))])};let Ve=(()=>{class ye{static#e=this.\u0275fac=function(B){return new(B||ye)};static#t=this.\u0275mod=d.\u0275\u0275defineNgModule({type:ye});static#n=this.\u0275inj=d.\u0275\u0275defineInjector({providers:[X],imports:[v.rt,h.CommonModule,u.U8,H.MatCommonModule,H.MatCommonModule,b.ZD]})}return ye})()},8465:(Z,l,o)=>{"use strict";o.r(l),o.d(l,{ANIMATION_MODULE_TYPE:()=>i.ANIMATION_MODULE_TYPE,BrowserAnimationsModule:()=>co,NoopAnimationsModule:()=>Hl,provideAnimations:()=>xs,provideNoopAnimations:()=>Ms,\u0275AnimationRenderer:()=>F,\u0275AnimationRendererFactory:()=>bo,\u0275BrowserAnimationBuilder:()=>ir,\u0275BrowserAnimationFactory:()=>Er,\u0275InjectableAnimationEngine:()=>re});var i=o(7786),a=o(4707),f=o(6e3);function d(q){return new i.\u0275RuntimeError(3e3,!1)}function J(q){switch(q.length){case 0:return new f.ZN;case 1:return q[0];default:return new f.ZE(q)}}function Ze(q,y,w=new Map,O=new Map){const W=[],he=[];let He=-1,Ke=null;if(y.forEach(gt=>{const bt=gt.get("offset"),$t=bt==He,Ut=$t&&Ke||new Map;gt.forEach((Mn,gn)=>{let sn=gn,hn=Mn;if("offset"!==gn)switch(sn=q.normalizePropertyName(sn,W),hn){case f.k1:hn=w.get(gn);break;case f.l3:hn=O.get(gn);break;default:hn=q.normalizeStyleValue(gn,sn,hn,W)}Ut.set(sn,hn)}),$t||he.push(Ut),Ke=Ut,He=bt}),W.length)throw function We(q){return new i.\u0275RuntimeError(3502,!1)}();return he}function ct(q,y,w,O){switch(y){case"start":q.onStart(()=>O(w&&Nt(w,"start",q)));break;case"done":q.onDone(()=>O(w&&Nt(w,"done",q)));break;case"destroy":q.onDestroy(()=>O(w&&Nt(w,"destroy",q)))}}function Nt(q,y,w){const he=Dt(q.element,q.triggerName,q.fromState,q.toState,y||q.phaseName,w.totalTime??q.totalTime,!!w.disabled),He=q._data;return null!=He&&(he._data=He),he}function Dt(q,y,w,O,W="",he=0,He){return{element:q,triggerName:y,fromState:w,toState:O,phaseName:W,totalTime:he,disabled:!!He}}function Vt(q,y,w){let O=q.get(y);return O||q.set(y,O=w),O}function Fe(q){const y=q.indexOf(":");return[q.substring(1,y),q.slice(y+1)]}const ke=(()=>typeof document>"u"?null:document.documentElement)();function Ge(q){const y=q.parentNode||q.host||null;return y===ke?null:y}let Te=null,pt=!1;function _e(q,y){for(;y;){if(y===q)return!0;y=Ge(y)}return!1}function Ie(q,y,w){if(w)return Array.from(q.querySelectorAll(y));const O=q.querySelector(y);return O?[O]:[]}let tt=(()=>{class q{validateStyleProperty(w){return function dt(q){Te||(Te=function Y(){return typeof document<"u"?document.body:null}()||{},pt=!!Te.style&&"WebkitAppearance"in Te.style);let y=!0;return Te.style&&!function Ee(q){return"ebkit"==q.substring(1,6)}(q)&&(y=q in Te.style,!y&&pt&&(y="Webkit"+q.charAt(0).toUpperCase()+q.slice(1)in Te.style)),y}(w)}matchesElement(w,O){return!1}containsElement(w,O){return _e(w,O)}getParentElement(w){return Ge(w)}query(w,O,W){return Ie(w,O,W)}computeStyle(w,O,W){return W||""}animate(w,O,W,he,He,Ke=[],gt){return new f.ZN(W,he)}static#e=this.\u0275fac=function(O){return new(O||q)};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:q,factory:q.\u0275fac})}return q})(),Ct=(()=>{class q{static#e=this.NOOP=new tt}return q})();const Wt=1e3,Zt="ng-enter",at="ng-leave",yt="ng-trigger",Ne=".ng-trigger",ee="ng-animating",ge=".ng-animating";function rt(q){if("number"==typeof q)return q;const y=q.match(/^(-?[\.\d]+)(m?s)/);return!y||y.length<2?0:Tt(parseFloat(y[1]),y[2])}function Tt(q,y){return"s"===y?q*Wt:q}function Ft(q,y,w){return q.hasOwnProperty("duration")?q:function qt(q,y,w){let W,he=0,He="";if("string"==typeof q){const Ke=q.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Ke)return y.push(d()),{duration:0,delay:0,easing:""};W=Tt(parseFloat(Ke[1]),Ke[2]);const gt=Ke[3];null!=gt&&(he=Tt(parseFloat(gt),Ke[4]));const bt=Ke[5];bt&&(He=bt)}else W=q;if(!w){let Ke=!1,gt=y.length;W<0&&(y.push(function h(){return new i.\u0275RuntimeError(3100,!1)}()),Ke=!0),he<0&&(y.push(function g(){return new i.\u0275RuntimeError(3101,!1)}()),Ke=!0),Ke&&y.splice(gt,0,d())}return{duration:W,delay:he,easing:He}}(q,y,w)}function ln(q,y={}){return Object.keys(q).forEach(w=>{y[w]=q[w]}),y}function pn(q){const y=new Map;return Object.keys(q).forEach(w=>{y.set(w,q[w])}),y}function et(q,y=new Map,w){if(w)for(let[O,W]of w)y.set(O,W);for(let[O,W]of q)y.set(O,W);return y}function Ce(q,y,w){y.forEach((O,W)=>{const he=ie(W);w&&!w.has(W)&&w.set(W,q.style[he]),q.style[he]=O})}function Be(q,y){y.forEach((w,O)=>{const W=ie(O);q.style[W]=""})}function ht(q){return Array.isArray(q)?1==q.length?q[0]:(0,f.vP)(q):q}const Jt=new RegExp("{{\\s*(.+?)\\s*}}","g");function lt(q){let y=[];if("string"==typeof q){let w;for(;w=Jt.exec(q);)y.push(w[1]);Jt.lastIndex=0}return y}function ue(q,y,w){const O=q.toString(),W=O.replace(Jt,(he,He)=>{let Ke=y[He];return null==Ke&&(w.push(function m(q){return new i.\u0275RuntimeError(3003,!1)}()),Ke=""),Ke.toString()});return W==O?q:W}function L(q){const y=[];let w=q.next();for(;!w.done;)y.push(w.value),w=q.next();return y}const A=/-+([a-z0-9])/g;function ie(q){return q.replace(A,(...y)=>y[1].toUpperCase())}function xt(q,y,w){switch(y.type){case 7:return q.visitTrigger(y,w);case 0:return q.visitState(y,w);case 1:return q.visitTransition(y,w);case 2:return q.visitSequence(y,w);case 3:return q.visitGroup(y,w);case 4:return q.visitAnimate(y,w);case 5:return q.visitKeyframes(y,w);case 6:return q.visitStyle(y,w);case 8:return q.visitReference(y,w);case 9:return q.visitAnimateChild(y,w);case 10:return q.visitAnimateRef(y,w);case 11:return q.visitQuery(y,w);case 12:return q.visitStagger(y,w);default:throw function u(q){return new i.\u0275RuntimeError(3004,!1)}()}}function de(q,y){return window.getComputedStyle(q)[y]}const fn="*";function Ue(q,y){const w=[];return"string"==typeof q?q.split(/\s*,\s*/).forEach(O=>function Re(q,y,w){if(":"==q[0]){const gt=function xe(q,y){switch(q){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(w,O)=>parseFloat(O)>parseFloat(w);case":decrement":return(w,O)=>parseFloat(O)<parseFloat(w);default:return y.push(function te(q){return new i.\u0275RuntimeError(3016,!1)}()),"* => *"}}(q,w);if("function"==typeof gt)return void y.push(gt);q=gt}const O=q.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==O||O.length<4)return w.push(function ae(q){return new i.\u0275RuntimeError(3015,!1)}()),y;const W=O[1],he=O[2],He=O[3];y.push(At(W,He));"<"==he[0]&&!(W==fn&&He==fn)&&y.push(At(He,W))}(O,w,y)):w.push(q),w}const mt=new Set(["true","1"]),wt=new Set(["false","0"]);function At(q,y){const w=mt.has(q)||wt.has(q),O=mt.has(y)||wt.has(y);return(W,he)=>{let He=q==fn||q==W,Ke=y==fn||y==he;return!He&&w&&"boolean"==typeof W&&(He=W?mt.has(q):wt.has(q)),!Ke&&O&&"boolean"==typeof he&&(Ke=he?mt.has(y):wt.has(y)),He&&Ke}}const tn=new RegExp("s*:selfs*,?","g");function Gt(q,y,w,O){return new Vn(q).build(y,w,O)}class Vn{constructor(y){this._driver=y}build(y,w,O){const W=new Ci(w);return this._resetContextStyleTimingState(W),xt(this,ht(y),W)}_resetContextStyleTimingState(y){y.currentQuerySelector="",y.collectedStyles=new Map,y.collectedStyles.set("",new Map),y.currentTime=0}visitTrigger(y,w){let O=w.queryCount=0,W=w.depCount=0;const he=[],He=[];return"@"==y.name.charAt(0)&&w.errors.push(function C(){return new i.\u0275RuntimeError(3006,!1)}()),y.definitions.forEach(Ke=>{if(this._resetContextStyleTimingState(w),0==Ke.type){const gt=Ke,bt=gt.name;bt.toString().split(/\s*,\s*/).forEach($t=>{gt.name=$t,he.push(this.visitState(gt,w))}),gt.name=bt}else if(1==Ke.type){const gt=this.visitTransition(Ke,w);O+=gt.queryCount,W+=gt.depCount,He.push(gt)}else w.errors.push(function M(){return new i.\u0275RuntimeError(3007,!1)}())}),{type:7,name:y.name,states:he,transitions:He,queryCount:O,depCount:W,options:null}}visitState(y,w){const O=this.visitStyle(y.styles,w),W=y.options&&y.options.params||null;if(O.containsDynamicStyles){const he=new Set,He=W||{};O.styles.forEach(Ke=>{Ke instanceof Map&&Ke.forEach(gt=>{lt(gt).forEach(bt=>{He.hasOwnProperty(bt)||he.add(bt)})})}),he.size&&(L(he.values()),w.errors.push(function S(q,y){return new i.\u0275RuntimeError(3008,!1)}()))}return{type:0,name:y.name,style:O,options:W?{params:W}:null}}visitTransition(y,w){w.queryCount=0,w.depCount=0;const O=xt(this,ht(y.animation),w);return{type:1,matchers:Ue(y.expr,w.errors),animation:O,queryCount:w.queryCount,depCount:w.depCount,options:le(y.options)}}visitSequence(y,w){return{type:2,steps:y.steps.map(O=>xt(this,O,w)),options:le(y.options)}}visitGroup(y,w){const O=w.currentTime;let W=0;const he=y.steps.map(He=>{w.currentTime=O;const Ke=xt(this,He,w);return W=Math.max(W,w.currentTime),Ke});return w.currentTime=W,{type:3,steps:he,options:le(y.options)}}visitAnimate(y,w){const O=function bn(q,y){if(q.hasOwnProperty("duration"))return q;if("number"==typeof q)return nt(Ft(q,y).duration,0,"");const w=q;if(w.split(/\s+/).some(he=>"{"==he.charAt(0)&&"{"==he.charAt(1))){const he=nt(0,0,"");return he.dynamic=!0,he.strValue=w,he}const W=Ft(w,y);return nt(W.duration,W.delay,W.easing)}(y.timings,w.errors);w.currentAnimateTimings=O;let W,he=y.styles?y.styles:(0,f.oB)({});if(5==he.type)W=this.visitKeyframes(he,w);else{let He=y.styles,Ke=!1;if(!He){Ke=!0;const bt={};O.easing&&(bt.easing=O.easing),He=(0,f.oB)(bt)}w.currentTime+=O.duration+O.delay;const gt=this.visitStyle(He,w);gt.isEmptyStep=Ke,W=gt}return w.currentAnimateTimings=null,{type:4,timings:O,style:W,options:null}}visitStyle(y,w){const O=this._makeStyleAst(y,w);return this._validateStyleAst(O,w),O}_makeStyleAst(y,w){const O=[],W=Array.isArray(y.styles)?y.styles:[y.styles];for(let Ke of W)"string"==typeof Ke?Ke===f.l3?O.push(Ke):w.errors.push(new i.\u0275RuntimeError(3002,!1)):O.push(pn(Ke));let he=!1,He=null;return O.forEach(Ke=>{if(Ke instanceof Map&&(Ke.has("easing")&&(He=Ke.get("easing"),Ke.delete("easing")),!he))for(let gt of Ke.values())if(gt.toString().indexOf("{{")>=0){he=!0;break}}),{type:6,styles:O,easing:He,offset:y.offset,containsDynamicStyles:he,options:null}}_validateStyleAst(y,w){const O=w.currentAnimateTimings;let W=w.currentTime,he=w.currentTime;O&&he>0&&(he-=O.duration+O.delay),y.styles.forEach(He=>{"string"!=typeof He&&He.forEach((Ke,gt)=>{const bt=w.collectedStyles.get(w.currentQuerySelector),$t=bt.get(gt);let Ut=!0;$t&&(he!=W&&he>=$t.startTime&&W<=$t.endTime&&(w.errors.push(function N(q,y,w,O,W){return new i.\u0275RuntimeError(3010,!1)}()),Ut=!1),he=$t.startTime),Ut&&bt.set(gt,{startTime:he,endTime:W}),w.options&&function Ot(q,y,w){const O=y.params||{},W=lt(q);W.length&&W.forEach(he=>{O.hasOwnProperty(he)||w.push(function v(q){return new i.\u0275RuntimeError(3001,!1)}())})}(Ke,w.options,w.errors)})})}visitKeyframes(y,w){const O={type:5,styles:[],options:null};if(!w.currentAnimateTimings)return w.errors.push(function fe(){return new i.\u0275RuntimeError(3011,!1)}()),O;let he=0;const He=[];let Ke=!1,gt=!1,bt=0;const $t=y.steps.map(ci=>{const ni=this._makeStyleAst(ci,w);let vi=null!=ni.offset?ni.offset:function Pn(q){if("string"==typeof q)return null;let y=null;if(Array.isArray(q))q.forEach(w=>{if(w instanceof Map&&w.has("offset")){const O=w;y=parseFloat(O.get("offset")),O.delete("offset")}});else if(q instanceof Map&&q.has("offset")){const w=q;y=parseFloat(w.get("offset")),w.delete("offset")}return y}(ni.styles),bi=0;return null!=vi&&(he++,bi=ni.offset=vi),gt=gt||bi<0||bi>1,Ke=Ke||bi<bt,bt=bi,He.push(bi),ni});gt&&w.errors.push(function z(){return new i.\u0275RuntimeError(3012,!1)}()),Ke&&w.errors.push(function oe(){return new i.\u0275RuntimeError(3200,!1)}());const Ut=y.steps.length;let Mn=0;he>0&&he<Ut?w.errors.push(function X(){return new i.\u0275RuntimeError(3202,!1)}()):0==he&&(Mn=1/(Ut-1));const gn=Ut-1,sn=w.currentTime,hn=w.currentAnimateTimings,Un=hn.duration;return $t.forEach((ci,ni)=>{const vi=Mn>0?ni==gn?1:Mn*ni:He[ni],bi=vi*Un;w.currentTime=sn+hn.delay+bi,hn.duration=bi,this._validateStyleAst(ci,w),ci.offset=vi,O.styles.push(ci)}),O}visitReference(y,w){return{type:8,animation:xt(this,ht(y.animation),w),options:le(y.options)}}visitAnimateChild(y,w){return w.depCount++,{type:9,options:le(y.options)}}visitAnimateRef(y,w){return{type:10,animation:this.visitReference(y.animation,w),options:le(y.options)}}visitQuery(y,w){const O=w.currentQuerySelector,W=y.options||{};w.queryCount++,w.currentQuery=y;const[he,He]=function An(q){const y=!!q.split(/\s*,\s*/).find(w=>":self"==w);return y&&(q=q.replace(tn,"")),q=q.replace(/@\*/g,Ne).replace(/@\w+/g,w=>Ne+"-"+w.slice(1)).replace(/:animating/g,ge),[q,y]}(y.selector);w.currentQuerySelector=O.length?O+" "+he:he,Vt(w.collectedStyles,w.currentQuerySelector,new Map);const Ke=xt(this,ht(y.animation),w);return w.currentQuery=null,w.currentQuerySelector=O,{type:11,selector:he,limit:W.limit||0,optional:!!W.optional,includeSelf:He,animation:Ke,originalSelector:y.selector,options:le(y.options)}}visitStagger(y,w){w.currentQuery||w.errors.push(function K(){return new i.\u0275RuntimeError(3013,!1)}());const O="full"===y.timings?{duration:0,delay:0,easing:"full"}:Ft(y.timings,w.errors,!0);return{type:12,animation:xt(this,ht(y.animation),w),timings:O,options:null}}}class Ci{constructor(y){this.errors=y,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function le(q){return q?(q=ln(q)).params&&(q.params=function kn(q){return q?ln(q):null}(q.params)):q={},q}function nt(q,y,w){return{duration:q,delay:y,easing:w}}function U(q,y,w,O,W,he,He=null,Ke=!1){return{type:1,element:q,keyframes:y,preStyleProps:w,postStyleProps:O,duration:W,delay:he,totalTime:W+he,easing:He,subTimeline:Ke}}class se{constructor(){this._map=new Map}get(y){return this._map.get(y)||[]}append(y,w){let O=this._map.get(y);O||this._map.set(y,O=[]),O.push(...w)}has(y){return this._map.has(y)}clear(){this._map.clear()}}const R=new RegExp(":enter","g"),Oe=new RegExp(":leave","g");function Bt(q,y,w,O,W,he=new Map,He=new Map,Ke,gt,bt=[]){return(new Lt).buildKeyframes(q,y,w,O,W,he,He,Ke,gt,bt)}class Lt{buildKeyframes(y,w,O,W,he,He,Ke,gt,bt,$t=[]){bt=bt||new se;const Ut=new Tn(y,w,bt,W,he,$t,[]);Ut.options=gt;const Mn=gt.delay?rt(gt.delay):0;Ut.currentTimeline.delayNextStep(Mn),Ut.currentTimeline.setStyles([He],null,Ut.errors,gt),xt(this,O,Ut);const gn=Ut.timelines.filter(sn=>sn.containsAnimation());if(gn.length&&Ke.size){let sn;for(let hn=gn.length-1;hn>=0;hn--){const Un=gn[hn];if(Un.element===w){sn=Un;break}}sn&&!sn.allowOnlyTimelineStyles()&&sn.setStyles([Ke],null,Ut.errors,gt)}return gn.length?gn.map(sn=>sn.buildKeyframes()):[U(w,[],[],[],0,Mn,"",!1)]}visitTrigger(y,w){}visitState(y,w){}visitTransition(y,w){}visitAnimateChild(y,w){const O=w.subInstructions.get(w.element);if(O){const W=w.createSubContext(y.options),he=w.currentTimeline.currentTime,He=this._visitSubInstructions(O,W,W.options);he!=He&&w.transformIntoNewTimeline(He)}w.previousNode=y}visitAnimateRef(y,w){const O=w.createSubContext(y.options);O.transformIntoNewTimeline(),this._applyAnimationRefDelays([y.options,y.animation.options],w,O),this.visitReference(y.animation,O),w.transformIntoNewTimeline(O.currentTimeline.currentTime),w.previousNode=y}_applyAnimationRefDelays(y,w,O){for(const W of y){const he=W?.delay;if(he){const He="number"==typeof he?he:rt(ue(he,W?.params??{},w.errors));O.delayNextStep(He)}}}_visitSubInstructions(y,w,O){let he=w.currentTimeline.currentTime;const He=null!=O.duration?rt(O.duration):null,Ke=null!=O.delay?rt(O.delay):null;return 0!==He&&y.forEach(gt=>{const bt=w.appendInstructionToTimeline(gt,He,Ke);he=Math.max(he,bt.duration+bt.delay)}),he}visitReference(y,w){w.updateOptions(y.options,!0),xt(this,y.animation,w),w.previousNode=y}visitSequence(y,w){const O=w.subContextCount;let W=w;const he=y.options;if(he&&(he.params||he.delay)&&(W=w.createSubContext(he),W.transformIntoNewTimeline(),null!=he.delay)){6==W.previousNode.type&&(W.currentTimeline.snapshotCurrentStyles(),W.previousNode=yn);const He=rt(he.delay);W.delayNextStep(He)}y.steps.length&&(y.steps.forEach(He=>xt(this,He,W)),W.currentTimeline.applyStylesToKeyframe(),W.subContextCount>O&&W.transformIntoNewTimeline()),w.previousNode=y}visitGroup(y,w){const O=[];let W=w.currentTimeline.currentTime;const he=y.options&&y.options.delay?rt(y.options.delay):0;y.steps.forEach(He=>{const Ke=w.createSubContext(y.options);he&&Ke.delayNextStep(he),xt(this,He,Ke),W=Math.max(W,Ke.currentTimeline.currentTime),O.push(Ke.currentTimeline)}),O.forEach(He=>w.currentTimeline.mergeTimelineCollectedStyles(He)),w.transformIntoNewTimeline(W),w.previousNode=y}_visitTiming(y,w){if(y.dynamic){const O=y.strValue;return Ft(w.params?ue(O,w.params,w.errors):O,w.errors)}return{duration:y.duration,delay:y.delay,easing:y.easing}}visitAnimate(y,w){const O=w.currentAnimateTimings=this._visitTiming(y.timings,w),W=w.currentTimeline;O.delay&&(w.incrementTime(O.delay),W.snapshotCurrentStyles());const he=y.style;5==he.type?this.visitKeyframes(he,w):(w.incrementTime(O.duration),this.visitStyle(he,w),W.applyStylesToKeyframe()),w.currentAnimateTimings=null,w.previousNode=y}visitStyle(y,w){const O=w.currentTimeline,W=w.currentAnimateTimings;!W&&O.hasCurrentStyleProperties()&&O.forwardFrame();const he=W&&W.easing||y.easing;y.isEmptyStep?O.applyEmptyStep(he):O.setStyles(y.styles,he,w.errors,w.options),w.previousNode=y}visitKeyframes(y,w){const O=w.currentAnimateTimings,W=w.currentTimeline.duration,he=O.duration,Ke=w.createSubContext().currentTimeline;Ke.easing=O.easing,y.styles.forEach(gt=>{Ke.forwardTime((gt.offset||0)*he),Ke.setStyles(gt.styles,gt.easing,w.errors,w.options),Ke.applyStylesToKeyframe()}),w.currentTimeline.mergeTimelineCollectedStyles(Ke),w.transformIntoNewTimeline(W+he),w.previousNode=y}visitQuery(y,w){const O=w.currentTimeline.currentTime,W=y.options||{},he=W.delay?rt(W.delay):0;he&&(6===w.previousNode.type||0==O&&w.currentTimeline.hasCurrentStyleProperties())&&(w.currentTimeline.snapshotCurrentStyles(),w.previousNode=yn);let He=O;const Ke=w.invokeQuery(y.selector,y.originalSelector,y.limit,y.includeSelf,!!W.optional,w.errors);w.currentQueryTotal=Ke.length;let gt=null;Ke.forEach((bt,$t)=>{w.currentQueryIndex=$t;const Ut=w.createSubContext(y.options,bt);he&&Ut.delayNextStep(he),bt===w.element&&(gt=Ut.currentTimeline),xt(this,y.animation,Ut),Ut.currentTimeline.applyStylesToKeyframe(),He=Math.max(He,Ut.currentTimeline.currentTime)}),w.currentQueryIndex=0,w.currentQueryTotal=0,w.transformIntoNewTimeline(He),gt&&(w.currentTimeline.mergeTimelineCollectedStyles(gt),w.currentTimeline.snapshotCurrentStyles()),w.previousNode=y}visitStagger(y,w){const O=w.parentContext,W=w.currentTimeline,he=y.timings,He=Math.abs(he.duration),Ke=He*(w.currentQueryTotal-1);let gt=He*w.currentQueryIndex;switch(he.duration<0?"reverse":he.easing){case"reverse":gt=Ke-gt;break;case"full":gt=O.currentStaggerTime}const $t=w.currentTimeline;gt&&$t.delayNextStep(gt);const Ut=$t.currentTime;xt(this,y.animation,w),w.previousNode=y,O.currentStaggerTime=W.currentTime-Ut+(W.startTime-O.currentTimeline.startTime)}}const yn={};class Tn{constructor(y,w,O,W,he,He,Ke,gt){this._driver=y,this.element=w,this.subInstructions=O,this._enterClassName=W,this._leaveClassName=he,this.errors=He,this.timelines=Ke,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=yn,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=gt||new Kn(this._driver,w,0),Ke.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(y,w){if(!y)return;const O=y;let W=this.options;null!=O.duration&&(W.duration=rt(O.duration)),null!=O.delay&&(W.delay=rt(O.delay));const he=O.params;if(he){let He=W.params;He||(He=this.options.params={}),Object.keys(he).forEach(Ke=>{(!w||!He.hasOwnProperty(Ke))&&(He[Ke]=ue(he[Ke],He,this.errors))})}}_copyOptions(){const y={};if(this.options){const w=this.options.params;if(w){const O=y.params={};Object.keys(w).forEach(W=>{O[W]=w[W]})}}return y}createSubContext(y=null,w,O){const W=w||this.element,he=new Tn(this._driver,W,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(W,O||0));return he.previousNode=this.previousNode,he.currentAnimateTimings=this.currentAnimateTimings,he.options=this._copyOptions(),he.updateOptions(y),he.currentQueryIndex=this.currentQueryIndex,he.currentQueryTotal=this.currentQueryTotal,he.parentContext=this,this.subContextCount++,he}transformIntoNewTimeline(y){return this.previousNode=yn,this.currentTimeline=this.currentTimeline.fork(this.element,y),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(y,w,O){const W={duration:w??y.duration,delay:this.currentTimeline.currentTime+(O??0)+y.delay,easing:""},he=new ii(this._driver,y.element,y.keyframes,y.preStyleProps,y.postStyleProps,W,y.stretchStartingKeyframe);return this.timelines.push(he),W}incrementTime(y){this.currentTimeline.forwardTime(this.currentTimeline.duration+y)}delayNextStep(y){y>0&&this.currentTimeline.delayNextStep(y)}invokeQuery(y,w,O,W,he,He){let Ke=[];if(W&&Ke.push(this.element),y.length>0){y=(y=y.replace(R,"."+this._enterClassName)).replace(Oe,"."+this._leaveClassName);let bt=this._driver.query(this.element,y,1!=O);0!==O&&(bt=O<0?bt.slice(bt.length+O,bt.length):bt.slice(0,O)),Ke.push(...bt)}return!he&&0==Ke.length&&He.push(function me(q){return new i.\u0275RuntimeError(3014,!1)}()),Ke}}class Kn{constructor(y,w,O,W){this._driver=y,this.element=w,this.startTime=O,this._elementTimelineStylesLookup=W,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(w),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(w,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(y){const w=1===this._keyframes.size&&this._pendingStyles.size;this.duration||w?(this.forwardTime(this.currentTime+y),w&&this.snapshotCurrentStyles()):this.startTime+=y}fork(y,w){return this.applyStylesToKeyframe(),new Kn(this._driver,y,w||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+=1,this._loadKeyframe()}forwardTime(y){this.applyStylesToKeyframe(),this.duration=y,this._loadKeyframe()}_updateStyle(y,w){this._localTimelineStyles.set(y,w),this._globalTimelineStyles.set(y,w),this._styleSummary.set(y,{time:this.currentTime,value:w})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(y){y&&this._previousKeyframe.set("easing",y);for(let[w,O]of this._globalTimelineStyles)this._backFill.set(w,O||f.l3),this._currentKeyframe.set(w,f.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(y,w,O,W){w&&this._previousKeyframe.set("easing",w);const he=W&&W.params||{},He=function ri(q,y){const w=new Map;let O;return q.forEach(W=>{if("*"===W){O=O||y.keys();for(let he of O)w.set(he,f.l3)}else et(W,w)}),w}(y,this._globalTimelineStyles);for(let[Ke,gt]of He){const bt=ue(gt,he,O);this._pendingStyles.set(Ke,bt),this._localTimelineStyles.has(Ke)||this._backFill.set(Ke,this._globalTimelineStyles.get(Ke)??f.l3),this._updateStyle(Ke,bt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((y,w)=>{this._currentKeyframe.set(w,y)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((y,w)=>{this._currentKeyframe.has(w)||this._currentKeyframe.set(w,y)}))}snapshotCurrentStyles(){for(let[y,w]of this._localTimelineStyles)this._pendingStyles.set(y,w),this._updateStyle(y,w)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const y=[];for(let w in this._currentKeyframe)y.push(w);return y}mergeTimelineCollectedStyles(y){y._styleSummary.forEach((w,O)=>{const W=this._styleSummary.get(O);(!W||w.time>W.time)&&this._updateStyle(O,w.value)})}buildKeyframes(){this.applyStylesToKeyframe();const y=new Set,w=new Set,O=1===this._keyframes.size&&0===this.duration;let W=[];this._keyframes.forEach((Ke,gt)=>{const bt=et(Ke,new Map,this._backFill);bt.forEach(($t,Ut)=>{$t===f.k1?y.add(Ut):$t===f.l3&&w.add(Ut)}),O||bt.set("offset",gt/this.duration),W.push(bt)});const he=y.size?L(y.values()):[],He=w.size?L(w.values()):[];if(O){const Ke=W[0],gt=new Map(Ke);Ke.set("offset",0),gt.set("offset",1),W=[Ke,gt]}return U(this.element,W,he,He,this.duration,this.startTime,this.easing,!1)}}class ii extends Kn{constructor(y,w,O,W,he,He,Ke=!1){super(y,w,He.delay),this.keyframes=O,this.preStyleProps=W,this.postStyleProps=he,this._stretchStartingKeyframe=Ke,this.timings={duration:He.duration,delay:He.delay,easing:He.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let y=this.keyframes,{delay:w,duration:O,easing:W}=this.timings;if(this._stretchStartingKeyframe&&w){const he=[],He=O+w,Ke=w/He,gt=et(y[0]);gt.set("offset",0),he.push(gt);const bt=et(y[0]);bt.set("offset",Si(Ke)),he.push(bt);const $t=y.length-1;for(let Ut=1;Ut<=$t;Ut++){let Mn=et(y[Ut]);const gn=Mn.get("offset");Mn.set("offset",Si((w+gn*O)/He)),he.push(Mn)}O=He,w=0,W="",y=he}return U(this.element,y,this.preStyleProps,this.postStyleProps,O,w,W,!0)}}function Si(q,y=3){const w=Math.pow(10,y-1);return Math.round(q*w)/w}class Tr{}const cr=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"]);class Lr extends Tr{normalizePropertyName(y,w){return ie(y)}normalizeStyleValue(y,w,O,W){let he="";const He=O.toString().trim();if(cr.has(w)&&0!==O&&"0"!==O)if("number"==typeof O)he="px";else{const Ke=O.match(/^[+-]?[\d\.]+([a-z]*)$/);Ke&&0==Ke[1].length&&W.push(function b(q,y){return new i.\u0275RuntimeError(3005,!1)}())}return He+he}}function qi(q,y,w,O,W,he,He,Ke,gt,bt,$t,Ut,Mn){return{type:0,element:q,triggerName:y,isRemovalTransition:W,fromState:w,fromStyles:he,toState:O,toStyles:He,timelines:Ke,queriedElements:gt,preStyleProps:bt,postStyleProps:$t,totalTime:Ut,errors:Mn}}const dr={};class ur{constructor(y,w,O){this._triggerName=y,this.ast=w,this._stateStyles=O}match(y,w,O,W){return function Zn(q,y,w,O,W){return q.some(he=>he(y,w,O,W))}(this.ast.matchers,y,w,O,W)}buildStyles(y,w,O){let W=this._stateStyles.get("*");return void 0!==y&&(W=this._stateStyles.get(y?.toString())||W),W?W.buildStyles(w,O):new Map}build(y,w,O,W,he,He,Ke,gt,bt,$t){const Ut=[],Mn=this.ast.options&&this.ast.options.params||dr,sn=this.buildStyles(O,Ke&&Ke.params||dr,Ut),hn=gt&&gt.params||dr,Un=this.buildStyles(W,hn,Ut),ci=new Set,ni=new Map,vi=new Map,bi="void"===W,Ur={params:Xn(hn,Mn),delay:this.ast.options?.delay},rr=$t?[]:Bt(y,w,this.ast.animation,he,He,sn,Un,Ur,bt,Ut);let yi=0;if(rr.forEach(Fi=>{yi=Math.max(Fi.duration+Fi.delay,yi)}),Ut.length)return qi(w,this._triggerName,O,W,bi,sn,Un,[],[],ni,vi,yi,Ut);rr.forEach(Fi=>{const or=Fi.element,ko=Vt(ni,or,new Set);Fi.preStyleProps.forEach(Dr=>ko.add(Dr));const zr=Vt(vi,or,new Set);Fi.postStyleProps.forEach(Dr=>zr.add(Dr)),or!==w&&ci.add(or)});const Ri=L(ci.values());return qi(w,this._triggerName,O,W,bi,sn,Un,rr,Ri,ni,vi,yi)}}function Xn(q,y){const w=ln(y);for(const O in q)q.hasOwnProperty(O)&&null!=q[O]&&(w[O]=q[O]);return w}class er{constructor(y,w,O){this.styles=y,this.defaultParams=w,this.normalizer=O}buildStyles(y,w){const O=new Map,W=ln(this.defaultParams);return Object.keys(y).forEach(he=>{const He=y[he];null!==He&&(W[he]=He)}),this.styles.styles.forEach(he=>{"string"!=typeof he&&he.forEach((He,Ke)=>{He&&(He=ue(He,W,w));const gt=this.normalizer.normalizePropertyName(Ke,w);He=this.normalizer.normalizeStyleValue(Ke,gt,He,w),O.set(Ke,He)})}),O}}class Sr{constructor(y,w,O){this.name=y,this.ast=w,this._normalizer=O,this.transitionFactories=[],this.states=new Map,w.states.forEach(W=>{this.states.set(W.name,new er(W.style,W.options&&W.options.params||{},O))}),hr(this.states,"true","1"),hr(this.states,"false","0"),w.transitions.forEach(W=>{this.transitionFactories.push(new ur(y,W,this.states))}),this.fallbackTransition=function tr(q,y,w){return new ur(q,{type:1,animation:{type:2,steps:[],options:null},matchers:[(He,Ke)=>!0],options:null,queryCount:0,depCount:0},y)}(y,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(y,w,O,W){return this.transitionFactories.find(He=>He.match(y,w,O,W))||null}matchStyles(y,w,O){return this.fallbackTransition.buildStyles(y,w,O)}}function hr(q,y,w){q.has(y)?q.has(w)||q.set(w,q.get(y)):q.has(w)&&q.set(y,q.get(w))}const fr=new se;class Or{constructor(y,w,O){this.bodyNode=y,this._driver=w,this._normalizer=O,this._animations=new Map,this._playersById=new Map,this.players=[]}register(y,w){const O=[],he=Gt(this._driver,w,O,[]);if(O.length)throw function ce(q){return new i.\u0275RuntimeError(3503,!1)}();this._animations.set(y,he)}_buildPlayer(y,w,O){const W=y.element,he=Ze(this._normalizer,y.keyframes,w,O);return this._driver.animate(W,he,y.duration,y.delay,y.easing,[],!0)}create(y,w,O={}){const W=[],he=this._animations.get(y);let He;const Ke=new Map;if(he?(He=Bt(this._driver,w,he,Zt,at,new Map,new Map,O,fr,W),He.forEach($t=>{const Ut=Vt(Ke,$t.element,new Map);$t.postStyleProps.forEach(Mn=>Ut.set(Mn,null))})):(W.push(function Ae(){return new i.\u0275RuntimeError(3300,!1)}()),He=[]),W.length)throw function Ye(q){return new i.\u0275RuntimeError(3504,!1)}();Ke.forEach(($t,Ut)=>{$t.forEach((Mn,gn)=>{$t.set(gn,this._driver.computeStyle(Ut,gn,f.l3))})});const bt=J(He.map($t=>{const Ut=Ke.get($t.element);return this._buildPlayer($t,new Map,Ut)}));return this._playersById.set(y,bt),bt.onDestroy(()=>this.destroy(y)),this.players.push(bt),bt}destroy(y){const w=this._getPlayer(y);w.destroy(),this._playersById.delete(y);const O=this.players.indexOf(w);O>=0&&this.players.splice(O,1)}_getPlayer(y){const w=this._playersById.get(y);if(!w)throw function Qe(q){return new i.\u0275RuntimeError(3301,!1)}();return w}listen(y,w,O,W){const he=Dt(w,"","","");return ct(this._getPlayer(y),O,he,W),()=>{}}command(y,w,O,W){if("register"==O)return void this.register(y,W[0]);if("create"==O)return void this.create(y,w,W[0]||{});const he=this._getPlayer(y);switch(O){case"play":he.play();break;case"pause":he.pause();break;case"reset":he.reset();break;case"restart":he.restart();break;case"finish":he.finish();break;case"init":he.init();break;case"setPosition":he.setPosition(parseFloat(W[0]));break;case"destroy":this.destroy(y)}}}const Bn="ng-animate-queued",dn="ng-animate-disabled",oi=[],Ui={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Hn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Qn="__ng_removed";class Ni{get params(){return this.options.params}constructor(y,w=""){this.namespaceId=w;const O=y&&y.hasOwnProperty("value");if(this.value=function gi(q){return q??null}(O?y.value:y),O){const he=ln(y);delete he.value,this.options=he}else this.options={};this.options.params||(this.options.params={})}absorbOptions(y){const w=y.params;if(w){const O=this.options.params;Object.keys(w).forEach(W=>{null==O[W]&&(O[W]=w[W])})}}}const rn="void",Li=new Ni(rn);class br{constructor(y,w,O){this.id=y,this.hostElement=w,this._engine=O,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+y,qn(w,this._hostClassName)}listen(y,w,O,W){if(!this._triggers.has(w))throw function ot(q,y){return new i.\u0275RuntimeError(3302,!1)}();if(null==O||0==O.length)throw function kt(q){return new i.\u0275RuntimeError(3303,!1)}();if(!function ui(q){return"start"==q||"done"==q}(O))throw function je(q,y){return new i.\u0275RuntimeError(3400,!1)}();const he=Vt(this._elementListeners,y,[]),He={name:w,phase:O,callback:W};he.push(He);const Ke=Vt(this._engine.statesByElement,y,new Map);return Ke.has(w)||(qn(y,yt),qn(y,yt+"-"+w),Ke.set(w,Li)),()=>{this._engine.afterFlush(()=>{const gt=he.indexOf(He);gt>=0&&he.splice(gt,1),this._triggers.has(w)||Ke.delete(w)})}}register(y,w){return!this._triggers.has(y)&&(this._triggers.set(y,w),!0)}_getTrigger(y){const w=this._triggers.get(y);if(!w)throw function Ve(q){return new i.\u0275RuntimeError(3401,!1)}();return w}trigger(y,w,O,W=!0){const he=this._getTrigger(w),He=new Rn(this.id,w,y);let Ke=this._engine.statesByElement.get(y);Ke||(qn(y,yt),qn(y,yt+"-"+w),this._engine.statesByElement.set(y,Ke=new Map));let gt=Ke.get(w);const bt=new Ni(O,this.id);if(!(O&&O.hasOwnProperty("value"))&&gt&&bt.absorbOptions(gt.options),Ke.set(w,bt),gt||(gt=Li),bt.value!==rn&&gt.value===bt.value){if(!function Cr(q,y){const w=Object.keys(q),O=Object.keys(y);if(w.length!=O.length)return!1;for(let W=0;W<w.length;W++){const he=w[W];if(!y.hasOwnProperty(he)||q[he]!==y[he])return!1}return!0}(gt.params,bt.params)){const hn=[],Un=he.matchStyles(gt.value,gt.params,hn),ci=he.matchStyles(bt.value,bt.params,hn);hn.length?this._engine.reportError(hn):this._engine.afterFlush(()=>{Be(y,Un),Ce(y,ci)})}return}const Mn=Vt(this._engine.playersByElement,y,[]);Mn.forEach(hn=>{hn.namespaceId==this.id&&hn.triggerName==w&&hn.queued&&hn.destroy()});let gn=he.matchTransition(gt.value,bt.value,y,bt.params),sn=!1;if(!gn){if(!W)return;gn=he.fallbackTransition,sn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:y,triggerName:w,transition:gn,fromState:gt,toState:bt,player:He,isFallbackTransition:sn}),sn||(qn(y,Bn),He.onStart(()=>{Pi(y,Bn)})),He.onDone(()=>{let hn=this.players.indexOf(He);hn>=0&&this.players.splice(hn,1);const Un=this._engine.playersByElement.get(y);if(Un){let ci=Un.indexOf(He);ci>=0&&Un.splice(ci,1)}}),this.players.push(He),Mn.push(He),He}deregister(y){this._triggers.delete(y),this._engine.statesByElement.forEach(w=>w.delete(y)),this._elementListeners.forEach((w,O)=>{this._elementListeners.set(O,w.filter(W=>W.name!=y))})}clearElementCache(y){this._engine.statesByElement.delete(y),this._elementListeners.delete(y);const w=this._engine.playersByElement.get(y);w&&(w.forEach(O=>O.destroy()),this._engine.playersByElement.delete(y))}_signalRemovalForInnerTriggers(y,w){const O=this._engine.driver.query(y,Ne,!0);O.forEach(W=>{if(W[Qn])return;const he=this._engine.fetchNamespacesByElement(W);he.size?he.forEach(He=>He.triggerLeaveAnimation(W,w,!1,!0)):this.clearElementCache(W)}),this._engine.afterFlushAnimationsDone(()=>O.forEach(W=>this.clearElementCache(W)))}triggerLeaveAnimation(y,w,O,W){const he=this._engine.statesByElement.get(y),He=new Map;if(he){const Ke=[];if(he.forEach((gt,bt)=>{if(He.set(bt,gt.value),this._triggers.has(bt)){const $t=this.trigger(y,bt,rn,W);$t&&Ke.push($t)}}),Ke.length)return this._engine.markElementAsRemoved(this.id,y,!0,w,He),O&&J(Ke).onDone(()=>this._engine.processLeaveNode(y)),!0}return!1}prepareLeaveAnimationListeners(y){const w=this._elementListeners.get(y),O=this._engine.statesByElement.get(y);if(w&&O){const W=new Set;w.forEach(he=>{const He=he.name;if(W.has(He))return;W.add(He);const gt=this._triggers.get(He).fallbackTransition,bt=O.get(He)||Li,$t=new Ni(rn),Ut=new Rn(this.id,He,y);this._engine.totalQueuedPlayers++,this._queue.push({element:y,triggerName:He,transition:gt,fromState:bt,toState:$t,player:Ut,isFallbackTransition:!0})})}}removeNode(y,w){const O=this._engine;if(y.childElementCount&&this._signalRemovalForInnerTriggers(y,w),this.triggerLeaveAnimation(y,w,!0))return;let W=!1;if(O.totalAnimations){const he=O.players.length?O.playersByQueriedElement.get(y):[];if(he&&he.length)W=!0;else{let He=y;for(;He=He.parentNode;)if(O.statesByElement.get(He)){W=!0;break}}}if(this.prepareLeaveAnimationListeners(y),W)O.markElementAsRemoved(this.id,y,!1,w);else{const he=y[Qn];(!he||he===Ui)&&(O.afterFlush(()=>this.clearElementCache(y)),O.destroyInnerAnimations(y),O._onRemovalComplete(y,w))}}insertNode(y,w){qn(y,this._hostClassName)}drainQueuedTransitions(y){const w=[];return this._queue.forEach(O=>{const W=O.player;if(W.destroyed)return;const he=O.element,He=this._elementListeners.get(he);He&&He.forEach(Ke=>{if(Ke.name==O.triggerName){const gt=Dt(he,O.triggerName,O.fromState.value,O.toState.value);gt._data=y,ct(O.player,Ke.phase,gt,Ke.callback)}}),W.markedForDestroy?this._engine.afterFlush(()=>{W.destroy()}):w.push(O)}),this._queue=[],w.sort((O,W)=>{const he=O.transition.ast.depCount,He=W.transition.ast.depCount;return 0==he||0==He?he-He:this._engine.driver.containsElement(O.element,W.element)?1:-1})}destroy(y){this.players.forEach(w=>w.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,y)}}class zi{_onRemovalComplete(y,w){this.onRemovalComplete(y,w)}constructor(y,w,O){this.bodyNode=y,this.driver=w,this._normalizer=O,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(W,he)=>{}}get queuedPlayers(){const y=[];return this._namespaceList.forEach(w=>{w.players.forEach(O=>{O.queued&&y.push(O)})}),y}createNamespace(y,w){const O=new br(y,w,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,w)?this._balanceNamespaceList(O,w):(this.newHostElements.set(w,O),this.collectEnterElement(w)),this._namespaceLookup[y]=O}_balanceNamespaceList(y,w){const O=this._namespaceList,W=this.namespacesByHostElement;if(O.length-1>=0){let He=!1,Ke=this.driver.getParentElement(w);for(;Ke;){const gt=W.get(Ke);if(gt){const bt=O.indexOf(gt);O.splice(bt+1,0,y),He=!0;break}Ke=this.driver.getParentElement(Ke)}He||O.unshift(y)}else O.push(y);return W.set(w,y),y}register(y,w){let O=this._namespaceLookup[y];return O||(O=this.createNamespace(y,w)),O}registerTrigger(y,w,O){let W=this._namespaceLookup[y];W&&W.register(w,O)&&this.totalAnimations++}destroy(y,w){y&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const O=this._fetchNamespace(y);this.namespacesByHostElement.delete(O.hostElement);const W=this._namespaceList.indexOf(O);W>=0&&this._namespaceList.splice(W,1),O.destroy(w),delete this._namespaceLookup[y]}))}_fetchNamespace(y){return this._namespaceLookup[y]}fetchNamespacesByElement(y){const w=new Set,O=this.statesByElement.get(y);if(O)for(let W of O.values())if(W.namespaceId){const he=this._fetchNamespace(W.namespaceId);he&&w.add(he)}return w}trigger(y,w,O,W){if(Jn(w)){const he=this._fetchNamespace(y);if(he)return he.trigger(w,O,W),!0}return!1}insertNode(y,w,O,W){if(!Jn(w))return;const he=w[Qn];if(he&&he.setForRemoval){he.setForRemoval=!1,he.setForMove=!0;const He=this.collectedLeaveElements.indexOf(w);He>=0&&this.collectedLeaveElements.splice(He,1)}if(y){const He=this._fetchNamespace(y);He&&He.insertNode(w,O)}W&&this.collectEnterElement(w)}collectEnterElement(y){this.collectedEnterElements.push(y)}markElementAsDisabled(y,w){w?this.disabledNodes.has(y)||(this.disabledNodes.add(y),qn(y,dn)):this.disabledNodes.has(y)&&(this.disabledNodes.delete(y),Pi(y,dn))}removeNode(y,w,O){if(Jn(w)){const W=y?this._fetchNamespace(y):null;W?W.removeNode(w,O):this.markElementAsRemoved(y,w,!1,O);const he=this.namespacesByHostElement.get(w);he&&he.id!==y&&he.removeNode(w,O)}else this._onRemovalComplete(w,O)}markElementAsRemoved(y,w,O,W,he){this.collectedLeaveElements.push(w),w[Qn]={namespaceId:y,setForRemoval:W,hasAnimation:O,removedBeforeQueried:!1,previousTriggersValues:he}}listen(y,w,O,W,he){return Jn(w)?this._fetchNamespace(y).listen(w,O,W,he):()=>{}}_buildInstruction(y,w,O,W,he){return y.transition.build(this.driver,y.element,y.fromState.value,y.toState.value,O,W,y.fromState.options,y.toState.options,w,he)}destroyInnerAnimations(y){let w=this.driver.query(y,Ne,!0);w.forEach(O=>this.destroyActiveAnimationsForElement(O)),0!=this.playersByQueriedElement.size&&(w=this.driver.query(y,ge,!0),w.forEach(O=>this.finishActiveQueriedAnimationOnElement(O)))}destroyActiveAnimationsForElement(y){const w=this.playersByElement.get(y);w&&w.forEach(O=>{O.queued?O.markedForDestroy=!0:O.destroy()})}finishActiveQueriedAnimationOnElement(y){const w=this.playersByQueriedElement.get(y);w&&w.forEach(O=>O.finish())}whenRenderingDone(){return new Promise(y=>{if(this.players.length)return J(this.players).onDone(()=>y());y()})}processLeaveNode(y){const w=y[Qn];if(w&&w.setForRemoval){if(y[Qn]=Ui,w.namespaceId){this.destroyInnerAnimations(y);const O=this._fetchNamespace(w.namespaceId);O&&O.clearElementCache(y)}this._onRemovalComplete(y,w.setForRemoval)}y.classList?.contains(dn)&&this.markElementAsDisabled(y,!1),this.driver.query(y,".ng-animate-disabled",!0).forEach(O=>{this.markElementAsDisabled(O,!1)})}flush(y=-1){let w=[];if(this.newHostElements.size&&(this.newHostElements.forEach((O,W)=>this._balanceNamespaceList(O,W)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let O=0;O<this.collectedEnterElements.length;O++)qn(this.collectedEnterElements[O],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const O=[];try{w=this._flushAnimations(O,y)}finally{for(let W=0;W<O.length;W++)O[W]()}}else for(let O=0;O<this.collectedLeaveElements.length;O++)this.processLeaveNode(this.collectedLeaveElements[O]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(O=>O()),this._flushFns=[],this._whenQuietFns.length){const O=this._whenQuietFns;this._whenQuietFns=[],w.length?J(w).onDone(()=>{O.forEach(W=>W())}):O.forEach(W=>W())}}reportError(y){throw function ye(q){return new i.\u0275RuntimeError(3402,!1)}()}_flushAnimations(y,w){const O=new se,W=[],he=new Map,He=[],Ke=new Map,gt=new Map,bt=new Map,$t=new Set;this.disabledNodes.forEach(nn=>{$t.add(nn);const an=this.driver.query(nn,".ng-animate-queued",!0);for(let un=0;un<an.length;un++)$t.add(an[un])});const Ut=this.bodyNode,Mn=Array.from(this.statesByElement.keys()),gn=si(Mn,this.collectedEnterElements),sn=new Map;let hn=0;gn.forEach((nn,an)=>{const un=Zt+hn++;sn.set(an,un),nn.forEach(Fn=>qn(Fn,un))});const Un=[],ci=new Set,ni=new Set;for(let nn=0;nn<this.collectedLeaveElements.length;nn++){const an=this.collectedLeaveElements[nn],un=an[Qn];un&&un.setForRemoval&&(Un.push(an),ci.add(an),un.hasAnimation?this.driver.query(an,".ng-star-inserted",!0).forEach(Fn=>ci.add(Fn)):ni.add(an))}const vi=new Map,bi=si(Mn,Array.from(ci));bi.forEach((nn,an)=>{const un=at+hn++;vi.set(an,un),nn.forEach(Fn=>qn(Fn,un))}),y.push(()=>{gn.forEach((nn,an)=>{const un=sn.get(an);nn.forEach(Fn=>Pi(Fn,un))}),bi.forEach((nn,an)=>{const un=vi.get(an);nn.forEach(Fn=>Pi(Fn,un))}),Un.forEach(nn=>{this.processLeaveNode(nn)})});const Ur=[],rr=[];for(let nn=this._namespaceList.length-1;nn>=0;nn--)this._namespaceList[nn].drainQueuedTransitions(w).forEach(un=>{const Fn=un.player,fi=un.element;if(Ur.push(Fn),this.collectedEnterElements.length){const k=fi[Qn];if(k&&k.setForMove){if(k.previousTriggersValues&&k.previousTriggersValues.has(un.triggerName)){const ve=k.previousTriggersValues.get(un.triggerName),ft=this.statesByElement.get(un.element);if(ft&&ft.has(un.triggerName)){const Et=ft.get(un.triggerName);Et.value=ve,ft.set(un.triggerName,Et)}}return void Fn.destroy()}}const pr=!Ut||!this.driver.containsElement(Ut,fi),wi=vi.get(fi),wr=sn.get(fi),D=this._buildInstruction(un,O,wr,wi,pr);if(D.errors&&D.errors.length)return void rr.push(D);if(pr)return Fn.onStart(()=>Be(fi,D.fromStyles)),Fn.onDestroy(()=>Ce(fi,D.toStyles)),void W.push(Fn);if(un.isFallbackTransition)return Fn.onStart(()=>Be(fi,D.fromStyles)),Fn.onDestroy(()=>Ce(fi,D.toStyles)),void W.push(Fn);const G=[];D.timelines.forEach(k=>{k.stretchStartingKeyframe=!0,this.disabledNodes.has(k.element)||G.push(k)}),D.timelines=G,O.append(fi,D.timelines),He.push({instruction:D,player:Fn,element:fi}),D.queriedElements.forEach(k=>Vt(Ke,k,[]).push(Fn)),D.preStyleProps.forEach((k,ve)=>{if(k.size){let ft=gt.get(ve);ft||gt.set(ve,ft=new Set),k.forEach((Et,Xt)=>ft.add(Xt))}}),D.postStyleProps.forEach((k,ve)=>{let ft=bt.get(ve);ft||bt.set(ve,ft=new Set),k.forEach((Et,Xt)=>ft.add(Xt))})});if(rr.length){const nn=[];rr.forEach(an=>{nn.push(function ne(q,y){return new i.\u0275RuntimeError(3505,!1)}())}),Ur.forEach(an=>an.destroy()),this.reportError(nn)}const yi=new Map,Ri=new Map;He.forEach(nn=>{const an=nn.element;O.has(an)&&(Ri.set(an,an),this._beforeAnimationBuild(nn.player.namespaceId,nn.instruction,yi))}),W.forEach(nn=>{const an=nn.element;this._getPreviousPlayers(an,!1,nn.namespaceId,nn.triggerName,null).forEach(Fn=>{Vt(yi,an,[]).push(Fn),Fn.destroy()})});const Fi=Un.filter(nn=>_i(nn,gt,bt)),or=new Map;$i(or,this.driver,ni,bt,f.l3).forEach(nn=>{_i(nn,gt,bt)&&Fi.push(nn)});const zr=new Map;gn.forEach((nn,an)=>{$i(zr,this.driver,new Set(nn),gt,f.k1)}),Fi.forEach(nn=>{const an=or.get(nn),un=zr.get(nn);or.set(nn,new Map([...an?.entries()??[],...un?.entries()??[]]))});const Dr=[],uo=[],Is={};He.forEach(nn=>{const{element:an,player:un,instruction:Fn}=nn;if(O.has(an)){if($t.has(an))return un.onDestroy(()=>Ce(an,Fn.toStyles)),un.disabled=!0,un.overrideTotalTime(Fn.totalTime),void W.push(un);let fi=Is;if(Ri.size>1){let wi=an;const wr=[];for(;wi=wi.parentNode;){const D=Ri.get(wi);if(D){fi=D;break}wr.push(wi)}wr.forEach(D=>Ri.set(D,fi))}const pr=this._buildAnimation(un.namespaceId,Fn,yi,he,zr,or);if(un.setRealPlayer(pr),fi===Is)Dr.push(un);else{const wi=this.playersByElement.get(fi);wi&&wi.length&&(un.parentPlayer=J(wi)),W.push(un)}}else Be(an,Fn.fromStyles),un.onDestroy(()=>Ce(an,Fn.toStyles)),uo.push(un),$t.has(an)&&W.push(un)}),uo.forEach(nn=>{const an=he.get(nn.element);if(an&&an.length){const un=J(an);nn.setRealPlayer(un)}}),W.forEach(nn=>{nn.parentPlayer?nn.syncPlayerEvents(nn.parentPlayer):nn.destroy()});for(let nn=0;nn<Un.length;nn++){const an=Un[nn],un=an[Qn];if(Pi(an,at),un&&un.hasAnimation)continue;let Fn=[];if(Ke.size){let pr=Ke.get(an);pr&&pr.length&&Fn.push(...pr);let wi=this.driver.query(an,ge,!0);for(let wr=0;wr<wi.length;wr++){let D=Ke.get(wi[wr]);D&&D.length&&Fn.push(...D)}}const fi=Fn.filter(pr=>!pr.destroyed);fi.length?Cn(this,an,fi):this.processLeaveNode(an)}return Un.length=0,Dr.forEach(nn=>{this.players.push(nn),nn.onDone(()=>{nn.destroy();const an=this.players.indexOf(nn);this.players.splice(an,1)}),nn.play()}),Dr}afterFlush(y){this._flushFns.push(y)}afterFlushAnimationsDone(y){this._whenQuietFns.push(y)}_getPreviousPlayers(y,w,O,W,he){let He=[];if(w){const Ke=this.playersByQueriedElement.get(y);Ke&&(He=Ke)}else{const Ke=this.playersByElement.get(y);if(Ke){const gt=!he||he==rn;Ke.forEach(bt=>{bt.queued||!gt&&bt.triggerName!=W||He.push(bt)})}}return(O||W)&&(He=He.filter(Ke=>!(O&&O!=Ke.namespaceId||W&&W!=Ke.triggerName))),He}_beforeAnimationBuild(y,w,O){const he=w.element,He=w.isRemovalTransition?void 0:y,Ke=w.isRemovalTransition?void 0:w.triggerName;for(const gt of w.timelines){const bt=gt.element,$t=bt!==he,Ut=Vt(O,bt,[]);this._getPreviousPlayers(bt,$t,He,Ke,w.toState).forEach(gn=>{const sn=gn.getRealPlayer();sn.beforeDestroy&&sn.beforeDestroy(),gn.destroy(),Ut.push(gn)})}Be(he,w.fromStyles)}_buildAnimation(y,w,O,W,he,He){const Ke=w.triggerName,gt=w.element,bt=[],$t=new Set,Ut=new Set,Mn=w.timelines.map(sn=>{const hn=sn.element;$t.add(hn);const Un=hn[Qn];if(Un&&Un.removedBeforeQueried)return new f.ZN(sn.duration,sn.delay);const ci=hn!==gt,ni=function Fo(q){const y=[];return yr(q,y),y}((O.get(hn)||oi).map(yi=>yi.getRealPlayer())).filter(yi=>!!yi.element&&yi.element===hn),vi=he.get(hn),bi=He.get(hn),Ur=Ze(this._normalizer,sn.keyframes,vi,bi),rr=this._buildPlayer(sn,Ur,ni);if(sn.subTimeline&&W&&Ut.add(hn),ci){const yi=new Rn(y,Ke,hn);yi.setRealPlayer(rr),bt.push(yi)}return rr});bt.forEach(sn=>{Vt(this.playersByQueriedElement,sn.element,[]).push(sn),sn.onDone(()=>function mr(q,y,w){let O=q.get(y);if(O){if(O.length){const W=O.indexOf(w);O.splice(W,1)}0==O.length&&q.delete(y)}return O}(this.playersByQueriedElement,sn.element,sn))}),$t.forEach(sn=>qn(sn,ee));const gn=J(Mn);return gn.onDestroy(()=>{$t.forEach(sn=>Pi(sn,ee)),Ce(gt,w.toStyles)}),Ut.forEach(sn=>{Vt(W,sn,[]).push(gn)}),gn}_buildPlayer(y,w,O){return w.length>0?this.driver.animate(y.element,w,y.duration,y.delay,y.easing,O):new f.ZN(y.duration,y.delay)}}class Rn{constructor(y,w,O){this.namespaceId=y,this.triggerName=w,this.element=O,this._player=new f.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(y){this._containsRealPlayer||(this._player=y,this._queuedCallbacks.forEach((w,O)=>{w.forEach(W=>ct(y,O,void 0,W))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(y.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(y){this.totalTime=y}syncPlayerEvents(y){const w=this._player;w.triggerCallback&&y.onStart(()=>w.triggerCallback("start")),y.onDone(()=>this.finish()),y.onDestroy(()=>this.destroy())}_queueEvent(y,w){Vt(this._queuedCallbacks,y,[]).push(w)}onDone(y){this.queued&&this._queueEvent("done",y),this._player.onDone(y)}onStart(y){this.queued&&this._queueEvent("start",y),this._player.onStart(y)}onDestroy(y){this.queued&&this._queueEvent("destroy",y),this._player.onDestroy(y)}init(){this._player.init()}hasStarted(){return!this.queued&&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(y){this.queued||this._player.setPosition(y)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(y){const w=this._player;w.triggerCallback&&w.triggerCallback(y)}}function Jn(q){return q&&1===q.nodeType}function Ai(q,y){const w=q.style.display;return q.style.display=y??"none",w}function $i(q,y,w,O,W){const he=[];w.forEach(gt=>he.push(Ai(gt)));const He=[];O.forEach((gt,bt)=>{const $t=new Map;gt.forEach(Ut=>{const Mn=y.computeStyle(bt,Ut,W);$t.set(Ut,Mn),(!Mn||0==Mn.length)&&(bt[Qn]=Hn,He.push(bt))}),q.set(bt,$t)});let Ke=0;return w.forEach(gt=>Ai(gt,he[Ke++])),He}function si(q,y){const w=new Map;if(q.forEach(Ke=>w.set(Ke,[])),0==y.length)return w;const W=new Set(y),he=new Map;function He(Ke){if(!Ke)return 1;let gt=he.get(Ke);if(gt)return gt;const bt=Ke.parentNode;return gt=w.has(bt)?bt:W.has(bt)?1:He(bt),he.set(Ke,gt),gt}return y.forEach(Ke=>{const gt=He(Ke);1!==gt&&w.get(gt).push(Ke)}),w}function qn(q,y){q.classList?.add(y)}function Pi(q,y){q.classList?.remove(y)}function Cn(q,y,w){J(w).onDone(()=>q.processLeaveNode(y))}function yr(q,y){for(let w=0;w<q.length;w++){const O=q[w];O instanceof f.ZE?yr(O.players,y):y.push(O)}}function _i(q,y,w){const O=w.get(q);if(!O)return!1;let W=y.get(q);return W?O.forEach(he=>W.add(he)):y.set(q,O),w.delete(q),!0}class ji{constructor(y,w,O){this.bodyNode=y,this._driver=w,this._normalizer=O,this._triggerCache={},this.onRemovalComplete=(W,he)=>{},this._transitionEngine=new zi(y,w,O),this._timelineEngine=new Or(y,w,O),this._transitionEngine.onRemovalComplete=(W,he)=>this.onRemovalComplete(W,he)}registerTrigger(y,w,O,W,he){const He=y+"-"+W;let Ke=this._triggerCache[He];if(!Ke){const gt=[],$t=Gt(this._driver,he,gt,[]);if(gt.length)throw function be(q,y){return new i.\u0275RuntimeError(3404,!1)}();Ke=function ti(q,y,w){return new Sr(q,y,w)}(W,$t,this._normalizer),this._triggerCache[He]=Ke}this._transitionEngine.registerTrigger(w,W,Ke)}register(y,w){this._transitionEngine.register(y,w)}destroy(y,w){this._transitionEngine.destroy(y,w)}onInsert(y,w,O,W){this._transitionEngine.insertNode(y,w,O,W)}onRemove(y,w,O){this._transitionEngine.removeNode(y,w,O)}disableAnimations(y,w){this._transitionEngine.markElementAsDisabled(y,w)}process(y,w,O,W){if("@"==O.charAt(0)){const[he,He]=Fe(O);this._timelineEngine.command(he,w,He,W)}else this._transitionEngine.trigger(y,w,O,W)}listen(y,w,O,W,he){if("@"==O.charAt(0)){const[He,Ke]=Fe(O);return this._timelineEngine.listen(He,w,Ke,he)}return this._transitionEngine.listen(y,w,O,W,he)}flush(y=-1){this._transitionEngine.flush(y)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(y){this._transitionEngine.afterFlushAnimationsDone(y)}}let jr=(()=>{class q{static#e=this.initialStylesByElement=new WeakMap;constructor(w,O,W){this._element=w,this._startStyles=O,this._endStyles=W,this._state=0;let he=q.initialStylesByElement.get(w);he||q.initialStylesByElement.set(w,he=new Map),this._initialStyles=he}start(){this._state<1&&(this._startStyles&&Ce(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ce(this._element,this._initialStyles),this._endStyles&&(Ce(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(q.initialStylesByElement.delete(this._element),this._startStyles&&(Be(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Be(this._element,this._endStyles),this._endStyles=null),Ce(this._element,this._initialStyles),this._state=3)}}return q})();function ai(q){let y=null;return q.forEach((w,O)=>{(function ws(q){return"display"===q||"position"===q})(O)&&(y=y||new Map,y.set(O,w))}),y}class hi{constructor(y,w,O,W){this.element=y,this.keyframes=w,this.options=O,this._specialStyles=W,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=O.duration,this._delay=O.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(y=>y()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const y=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,y,this.options),this._finalKeyframe=y.length?y[y.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(y){const w=[];return y.forEach(O=>{w.push(Object.fromEntries(O))}),w}_triggerWebAnimation(y,w,O){return y.animate(this._convertKeyframesToObject(w),O)}onStart(y){this._originalOnStartFns.push(y),this._onStartFns.push(y)}onDone(y){this._originalOnDoneFns.push(y),this._onDoneFns.push(y)}onDestroy(y){this._onDestroyFns.push(y)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(y=>y()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),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&&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(y=>y()),this._onDestroyFns=[])}setPosition(y){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=y*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const y=new Map;this.hasStarted()&&this._finalKeyframe.forEach((O,W)=>{"offset"!==W&&y.set(W,this._finished?O:de(this.element,W))}),this.currentSnapshot=y}triggerCallback(y){const w="start"===y?this._onStartFns:this._onDoneFns;w.forEach(O=>O()),w.length=0}}class li{validateStyleProperty(y){return!0}validateAnimatableStyleProperty(y){return!0}matchesElement(y,w){return!1}containsElement(y,w){return _e(y,w)}getParentElement(y){return Ge(y)}query(y,w,O){return Ie(y,w,O)}computeStyle(y,w,O){return window.getComputedStyle(y)[w]}animate(y,w,O,W,he,He=[]){const gt={duration:O,delay:W,fill:0==W?"both":"forwards"};he&&(gt.easing=he);const bt=new Map,$t=He.filter(gn=>gn instanceof hi);(function Mt(q,y){return 0===q||0===y})(O,W)&&$t.forEach(gn=>{gn.currentSnapshot.forEach((sn,hn)=>bt.set(hn,sn))});let Ut=function Dn(q){return q.length?q[0]instanceof Map?q:q.map(y=>pn(y)):[]}(w).map(gn=>et(gn));Ut=function Xe(q,y,w){if(w.size&&y.length){let O=y[0],W=[];if(w.forEach((he,He)=>{O.has(He)||W.push(He),O.set(He,he)}),W.length)for(let he=1;he<y.length;he++){let He=y[he];W.forEach(Ke=>He.set(Ke,de(q,Ke)))}}return y}(y,Ut,bt);const Mn=function nr(q,y){let w=null,O=null;return Array.isArray(y)&&y.length?(w=ai(y[0]),y.length>1&&(O=ai(y[y.length-1]))):y instanceof Map&&(w=ai(y)),w||O?new jr(q,w,O):null}(y,Ut);return new hi(y,Ut,gt,Mn)}}var Br=o(9462);let ir=(()=>{class q extends f._j{constructor(w,O){super(),this._nextAnimationId=0,this._renderer=w.createRenderer(O.body,{id:"0",encapsulation:i.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(w){const O=this._nextAnimationId.toString();this._nextAnimationId++;const W=Array.isArray(w)?(0,f.vP)(w):w;return Vr(this._renderer,null,O,"register",[W]),new Er(O,this._renderer)}static#e=this.\u0275fac=function(O){return new(O||q)(i.\u0275\u0275inject(i.RendererFactory2),i.\u0275\u0275inject(Br.DOCUMENT))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:q,factory:q.\u0275fac})}return q})();class Er extends f.LC{constructor(y,w){super(),this._id=y,this._renderer=w}create(y,w){return new Di(this._id,y,w||{},this._renderer)}}class Di{constructor(y,w,O,W){this.id=y,this.element=w,this._renderer=W,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",O)}_listen(y,w){return this._renderer.listen(this.element,`@@${this.id}:${y}`,w)}_command(y,...w){return Vr(this._renderer,this.element,this.id,y,w)}onDone(y){this._listen("done",y)}onStart(y){this._listen("start",y)}onDestroy(y){this._listen("destroy",y)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(y){this._command("setPosition",y)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Vr(q,y,w,O,W){return q.setProperty(y,`@@${w}:${O}`,W)}const ao="@.disabled";let bo=(()=>{class q{constructor(w,O,W){this.delegate=w,this.engine=O,this._zone=W,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,O.onRemovalComplete=(he,He)=>{const Ke=He?.parentNode(he);Ke&&He.removeChild(Ke,he)}}createRenderer(w,O){const he=this.delegate.createRenderer(w,O);if(!(w&&O&&O.data&&O.data.animation)){let $t=this._rendererCache.get(he);return $t||($t=new lo("",he,this.engine,()=>this._rendererCache.delete(he)),this._rendererCache.set(he,$t)),$t}const He=O.id,Ke=O.id+"-"+this._currentId;this._currentId++,this.engine.register(Ke,w);const gt=$t=>{Array.isArray($t)?$t.forEach(gt):this.engine.registerTrigger(He,Ke,w,$t.name,$t)};return O.data.animation.forEach(gt),new F(this,Ke,he,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(w,O,W){w>=0&&w<this._microtaskId?this._zone.run(()=>O(W)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(he=>{const[He,Ke]=he;He(Ke)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([O,W]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}static#e=this.\u0275fac=function(O){return new(O||q)(i.\u0275\u0275inject(i.RendererFactory2),i.\u0275\u0275inject(ji),i.\u0275\u0275inject(i.NgZone))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:q,factory:q.\u0275fac})}return q})();class lo{constructor(y,w,O,W){this.namespaceId=y,this.delegate=w,this.engine=O,this._onDestroy=W}get data(){return this.delegate.data}destroyNode(y){this.delegate.destroyNode?.(y)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(y,w){return this.delegate.createElement(y,w)}createComment(y){return this.delegate.createComment(y)}createText(y){return this.delegate.createText(y)}appendChild(y,w){this.delegate.appendChild(y,w),this.engine.onInsert(this.namespaceId,w,y,!1)}insertBefore(y,w,O,W=!0){this.delegate.insertBefore(y,w,O),this.engine.onInsert(this.namespaceId,w,y,W)}removeChild(y,w,O){this.engine.onRemove(this.namespaceId,w,this.delegate)}selectRootElement(y,w){return this.delegate.selectRootElement(y,w)}parentNode(y){return this.delegate.parentNode(y)}nextSibling(y){return this.delegate.nextSibling(y)}setAttribute(y,w,O,W){this.delegate.setAttribute(y,w,O,W)}removeAttribute(y,w,O){this.delegate.removeAttribute(y,w,O)}addClass(y,w){this.delegate.addClass(y,w)}removeClass(y,w){this.delegate.removeClass(y,w)}setStyle(y,w,O,W){this.delegate.setStyle(y,w,O,W)}removeStyle(y,w,O){this.delegate.removeStyle(y,w,O)}setProperty(y,w,O){"@"==w.charAt(0)&&w==ao?this.disableAnimations(y,!!O):this.delegate.setProperty(y,w,O)}setValue(y,w){this.delegate.setValue(y,w)}listen(y,w,O){return this.delegate.listen(y,w,O)}disableAnimations(y,w){this.engine.disableAnimations(y,w)}}class F extends lo{constructor(y,w,O,W,he){super(w,O,W,he),this.factory=y,this.namespaceId=w}setProperty(y,w,O){"@"==w.charAt(0)?"."==w.charAt(1)&&w==ao?this.disableAnimations(y,O=void 0===O||!!O):this.engine.process(this.namespaceId,y,w.slice(1),O):this.delegate.setProperty(y,w,O)}listen(y,w,O){if("@"==w.charAt(0)){const W=function V(q){switch(q){case"body":return document.body;case"document":return document;case"window":return window;default:return q}}(y);let he=w.slice(1),He="";return"@"!=he.charAt(0)&&([he,He]=function I(q){const y=q.indexOf(".");return[q.substring(0,y),q.slice(y+1)]}(he)),this.engine.listen(this.namespaceId,W,he,He,Ke=>{this.factory.scheduleListenerCallback(Ke._data||-1,O,Ke)})}return this.delegate.listen(y,w,O)}}let re=(()=>{class q extends ji{constructor(w,O,W,he){super(w.body,O,W)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(O){return new(O||q)(i.\u0275\u0275inject(Br.DOCUMENT),i.\u0275\u0275inject(Ct),i.\u0275\u0275inject(Tr),i.\u0275\u0275inject(i.ApplicationRef))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:q,factory:q.\u0275fac})}return q})();const xn=[{provide:f._j,useClass:ir},{provide:Tr,useFactory:function Le(){return new Lr}},{provide:ji,useClass:re},{provide:i.RendererFactory2,useFactory:function en(q,y,w){return new bo(q,y,w)},deps:[a.\u0275DomRendererFactory2,ji,i.NgZone]}],Bi=[{provide:Ct,useFactory:()=>new li},{provide:i.ANIMATION_MODULE_TYPE,useValue:"BrowserAnimations"},...xn],Ar=[{provide:Ct,useClass:tt},{provide:i.ANIMATION_MODULE_TYPE,useValue:"NoopAnimations"},...xn];let co=(()=>{class q{static withConfig(w){return{ngModule:q,providers:w.disableAnimations?Ar:Bi}}static#e=this.\u0275fac=function(O){return new(O||q)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:q});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({providers:Bi,imports:[a.BrowserModule]})}return q})();function xs(){return[...Bi]}let Hl=(()=>{class q{static#e=this.\u0275fac=function(O){return new(O||q)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:q});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({providers:Ar,imports:[a.BrowserModule]})}return q})();function Ms(){return[...Ar]}},4707:(Z,l,o)=>{"use strict";o.r(l),o.d(l,{BrowserModule:()=>Te,By:()=>at,DomSanitizer:()=>qt,EVENT_MANAGER_PLUGINS:()=>C,EventManager:()=>M,HAMMER_GESTURE_CONFIG:()=>ee,HAMMER_LOADER:()=>ge,HammerGestureConfig:()=>rt,HammerModule:()=>Ft,Meta:()=>dt,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>me,Title:()=>_e,TransferState:()=>Jt,VERSION:()=>ht,bootstrapApplication:()=>ne,createApplication:()=>B,disableDebugTools:()=>Zt,enableDebugTools:()=>Qt,makeStateKey:()=>Ot,platformBrowser:()=>Fe,provideClientHydration:()=>Be,provideProtractorTestingSupport:()=>Ze,withNoDomReuse:()=>_t,withNoHttpTransferCache:()=>et,\u0275BrowserDomAdapter:()=>d,\u0275BrowserGetTestability:()=>u,\u0275DomEventsPlugin:()=>kt,\u0275DomRendererFactory2:()=>it,\u0275DomSanitizerImpl:()=>pn,\u0275HammerGesturesPlugin:()=>Tt,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>Vt,\u0275KeyEventsPlugin:()=>we,\u0275SharedStylesHost:()=>j,\u0275getDOM:()=>a.\u0275getDOM,\u0275initDomAdapter:()=>ct});var i=o(7786),a=o(9462),f=o(4612);class p extends a.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class d extends p{static makeCurrent(){(0,a.\u0275setRootDomAdapter)(new d)}onAndCancel(ue,L,A){return ue.addEventListener(L,A),()=>{ue.removeEventListener(L,A)}}dispatchEvent(ue,L){ue.dispatchEvent(L)}remove(ue){ue.parentNode&&ue.parentNode.removeChild(ue)}createElement(ue,L){return(L=L||this.getDefaultDocument()).createElement(ue)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ue){return ue.nodeType===Node.ELEMENT_NODE}isShadowRoot(ue){return ue instanceof DocumentFragment}getGlobalEventTarget(ue,L){return"window"===L?window:"document"===L?ue:"body"===L?ue.body:null}getBaseHref(ue){const L=function g(){return h=h||document.querySelector("base"),h?h.getAttribute("href"):null}();return null==L?null:function m(lt){v=v||document.createElement("a"),v.setAttribute("href",lt);const ue=v.pathname;return"/"===ue.charAt(0)?ue:`/${ue}`}(L)}resetBaseElement(){h=null}getUserAgent(){return window.navigator.userAgent}getCookie(ue){return(0,a.\u0275parseCookieValue)(document.cookie,ue)}}let v,h=null;class u{addToWindow(ue){i.\u0275global.getAngularTestability=(A,ie=!0)=>{const ze=ue.findTestabilityInTree(A,ie);if(null==ze)throw new i.\u0275RuntimeError(5103,!1);return ze},i.\u0275global.getAllAngularTestabilities=()=>ue.getAllTestabilities(),i.\u0275global.getAllAngularRootElements=()=>ue.getAllRootElements(),i.\u0275global.frameworkStabilizers||(i.\u0275global.frameworkStabilizers=[]),i.\u0275global.frameworkStabilizers.push(A=>{const ie=i.\u0275global.getAllAngularTestabilities();let ze=ie.length,Mt=!1;const Xe=function(xt){Mt=Mt||xt,ze--,0==ze&&A(Mt)};ie.forEach(xt=>{xt.whenStable(Xe)})})}findTestabilityInTree(ue,L,A){return null==L?null:ue.getTestability(L)??(A?(0,a.\u0275getDOM)().isShadowRoot(L)?this.findTestabilityInTree(ue,L.host,!0):this.findTestabilityInTree(ue,L.parentElement,!0):null)}}let b=(()=>{class lt{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(A){return new(A||lt)};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:lt,factory:lt.\u0275fac})}return lt})();const C=new i.InjectionToken("EventManagerPlugins");let M=(()=>{class lt{constructor(L,A){this._zone=A,this._eventNameToPlugin=new Map,L.forEach(ie=>{ie.manager=this}),this._plugins=L.slice().reverse()}addEventListener(L,A,ie){return this._findPluginFor(A).addEventListener(L,A,ie)}getZone(){return this._zone}_findPluginFor(L){let A=this._eventNameToPlugin.get(L);if(A)return A;if(A=this._plugins.find(ze=>ze.supports(L)),!A)throw new i.\u0275RuntimeError(5101,!1);return this._eventNameToPlugin.set(L,A),A}static#e=this.\u0275fac=function(A){return new(A||lt)(i.\u0275\u0275inject(C),i.\u0275\u0275inject(i.NgZone))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:lt,factory:lt.\u0275fac})}return lt})();class S{constructor(ue){this._doc=ue}}const H="ng-app-id";let j=(()=>{class lt{constructor(L,A,ie,ze={}){this.doc=L,this.appId=A,this.nonce=ie,this.platformId=ze,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,a.isPlatformServer)(ze),this.resetHostNodes()}addStyles(L){for(const A of L)1===this.changeUsageCount(A,1)&&this.onStyleAdded(A)}removeStyles(L){for(const A of L)this.changeUsageCount(A,-1)<=0&&this.onStyleRemoved(A)}ngOnDestroy(){const L=this.styleNodesInDOM;L&&(L.forEach(A=>A.remove()),L.clear());for(const A of this.getAllStyles())this.onStyleRemoved(A);this.resetHostNodes()}addHost(L){this.hostNodes.add(L);for(const A of this.getAllStyles())this.addStyleToHost(L,A)}removeHost(L){this.hostNodes.delete(L)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(L){for(const A of this.hostNodes)this.addStyleToHost(A,L)}onStyleRemoved(L){const A=this.styleRef;A.get(L)?.elements?.forEach(ie=>ie.remove()),A.delete(L)}collectServerRenderedStyles(){const L=this.doc.head?.querySelectorAll(`style[${H}="${this.appId}"]`);if(L?.length){const A=new Map;return L.forEach(ie=>{null!=ie.textContent&&A.set(ie.textContent,ie)}),A}return null}changeUsageCount(L,A){const ie=this.styleRef;if(ie.has(L)){const ze=ie.get(L);return ze.usage+=A,ze.usage}return ie.set(L,{usage:A,elements:[]}),A}getStyleElement(L,A){const ie=this.styleNodesInDOM,ze=ie?.get(A);if(ze?.parentNode===L)return ie.delete(A),ze.removeAttribute(H),ze;{const Mt=this.doc.createElement("style");return this.nonce&&Mt.setAttribute("nonce",this.nonce),Mt.textContent=A,this.platformIsServer&&Mt.setAttribute(H,this.appId),Mt}}addStyleToHost(L,A){const ie=this.getStyleElement(L,A);L.appendChild(ie);const ze=this.styleRef,Mt=ze.get(A)?.elements;Mt?Mt.push(ie):ze.set(A,{elements:[ie],usage:1})}resetHostNodes(){const L=this.hostNodes;L.clear(),L.add(this.doc.head)}static#e=this.\u0275fac=function(A){return new(A||lt)(i.\u0275\u0275inject(a.DOCUMENT),i.\u0275\u0275inject(i.APP_ID),i.\u0275\u0275inject(i.CSP_NONCE,8),i.\u0275\u0275inject(i.PLATFORM_ID))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:lt,factory:lt.\u0275fac})}return lt})();const N={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/MathML/"},fe=/%COMP%/g,z="%COMP%",oe=`_nghost-${z}`,X=`_ngcontent-${z}`,me=new i.InjectionToken("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function pe(lt,ue){return ue.map(L=>L.replace(fe,lt))}let it=(()=>{class lt{constructor(L,A,ie,ze,Mt,Xe,xt,de=null){this.eventManager=L,this.sharedStylesHost=A,this.appId=ie,this.removeStylesOnCompDestroy=ze,this.doc=Mt,this.platformId=Xe,this.ngZone=xt,this.nonce=de,this.rendererByCompId=new Map,this.platformIsServer=(0,a.isPlatformServer)(Xe),this.defaultRenderer=new be(L,Mt,xt,this.platformIsServer)}createRenderer(L,A){if(!L||!A)return this.defaultRenderer;this.platformIsServer&&A.encapsulation===i.ViewEncapsulation.ShadowDom&&(A={...A,encapsulation:i.ViewEncapsulation.Emulated});const ie=this.getOrCreateRenderer(L,A);return ie instanceof ot?ie.applyToHost(L):ie instanceof Qe&&ie.applyStyles(),ie}getOrCreateRenderer(L,A){const ie=this.rendererByCompId;let ze=ie.get(A.id);if(!ze){const Mt=this.doc,Xe=this.ngZone,xt=this.eventManager,de=this.sharedStylesHost,Me=this.removeStylesOnCompDestroy,Se=this.platformIsServer;switch(A.encapsulation){case i.ViewEncapsulation.Emulated:ze=new ot(xt,de,A,this.appId,Me,Mt,Xe,Se);break;case i.ViewEncapsulation.ShadowDom:return new Ye(xt,de,L,A,Mt,Xe,this.nonce,Se);default:ze=new Qe(xt,de,A,Me,Mt,Xe,Se)}ie.set(A.id,ze)}return ze}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(A){return new(A||lt)(i.\u0275\u0275inject(M),i.\u0275\u0275inject(j),i.\u0275\u0275inject(i.APP_ID),i.\u0275\u0275inject(me),i.\u0275\u0275inject(a.DOCUMENT),i.\u0275\u0275inject(i.PLATFORM_ID),i.\u0275\u0275inject(i.NgZone),i.\u0275\u0275inject(i.CSP_NONCE))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:lt,factory:lt.\u0275fac})}return lt})();class be{constructor(ue,L,A,ie){this.eventManager=ue,this.doc=L,this.ngZone=A,this.platformIsServer=ie,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(ue,L){return L?this.doc.createElementNS(N[L]||L,ue):this.doc.createElement(ue)}createComment(ue){return this.doc.createComment(ue)}createText(ue){return this.doc.createTextNode(ue)}appendChild(ue,L){(Ae(ue)?ue.content:ue).appendChild(L)}insertBefore(ue,L,A){ue&&(Ae(ue)?ue.content:ue).insertBefore(L,A)}removeChild(ue,L){ue&&ue.removeChild(L)}selectRootElement(ue,L){let A="string"==typeof ue?this.doc.querySelector(ue):ue;if(!A)throw new i.\u0275RuntimeError(-5104,!1);return L||(A.textContent=""),A}parentNode(ue){return ue.parentNode}nextSibling(ue){return ue.nextSibling}setAttribute(ue,L,A,ie){if(ie){L=ie+":"+L;const ze=N[ie];ze?ue.setAttributeNS(ze,L,A):ue.setAttribute(L,A)}else ue.setAttribute(L,A)}removeAttribute(ue,L,A){if(A){const ie=N[A];ie?ue.removeAttributeNS(ie,L):ue.removeAttribute(`${A}:${L}`)}else ue.removeAttribute(L)}addClass(ue,L){ue.classList.add(L)}removeClass(ue,L){ue.classList.remove(L)}setStyle(ue,L,A,ie){ie&(i.RendererStyleFlags2.DashCase|i.RendererStyleFlags2.Important)?ue.style.setProperty(L,A,ie&i.RendererStyleFlags2.Important?"important":""):ue.style[L]=A}removeStyle(ue,L,A){A&i.RendererStyleFlags2.DashCase?ue.style.removeProperty(L):ue.style[L]=""}setProperty(ue,L,A){ue[L]=A}setValue(ue,L){ue.nodeValue=L}listen(ue,L,A){if("string"==typeof ue&&!(ue=(0,a.\u0275getDOM)().getGlobalEventTarget(this.doc,ue)))throw new Error(`Unsupported event target ${ue} for event ${L}`);return this.eventManager.addEventListener(ue,L,this.decoratePreventDefault(A))}decoratePreventDefault(ue){return L=>{if("__ngUnwrap__"===L)return ue;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>ue(L)):ue(L))&&L.preventDefault()}}}function Ae(lt){return"TEMPLATE"===lt.tagName&&void 0!==lt.content}class Ye extends be{constructor(ue,L,A,ie,ze,Mt,Xe,xt){super(ue,ze,Mt,xt),this.sharedStylesHost=L,this.hostEl=A,this.shadowRoot=A.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const de=pe(ie.id,ie.styles);for(const Me of de){const Se=document.createElement("style");Xe&&Se.setAttribute("nonce",Xe),Se.textContent=Me,this.shadowRoot.appendChild(Se)}}nodeOrShadowRoot(ue){return ue===this.hostEl?this.shadowRoot:ue}appendChild(ue,L){return super.appendChild(this.nodeOrShadowRoot(ue),L)}insertBefore(ue,L,A){return super.insertBefore(this.nodeOrShadowRoot(ue),L,A)}removeChild(ue,L){return super.removeChild(this.nodeOrShadowRoot(ue),L)}parentNode(ue){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ue)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Qe extends be{constructor(ue,L,A,ie,ze,Mt,Xe,xt){super(ue,ze,Mt,Xe),this.sharedStylesHost=L,this.removeStylesOnCompDestroy=ie,this.styles=xt?pe(xt,A.styles):A.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ot extends Qe{constructor(ue,L,A,ie,ze,Mt,Xe,xt){const de=ie+"-"+A.id;super(ue,L,A,ze,Mt,Xe,xt,de),this.contentAttr=function ae(lt){return X.replace(fe,lt)}(de),this.hostAttr=function te(lt){return oe.replace(fe,lt)}(de)}applyToHost(ue){this.applyStyles(),this.setAttribute(ue,this.hostAttr,"")}createElement(ue,L){const A=super.createElement(ue,L);return super.setAttribute(A,this.contentAttr,""),A}}let kt=(()=>{class lt extends S{constructor(L){super(L)}supports(L){return!0}addEventListener(L,A,ie){return L.addEventListener(A,ie,!1),()=>this.removeEventListener(L,A,ie)}removeEventListener(L,A,ie){return L.removeEventListener(A,ie)}static#e=this.\u0275fac=function(A){return new(A||lt)(i.\u0275\u0275inject(a.DOCUMENT))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:lt,factory:lt.\u0275fac})}return lt})();const je=["alt","control","meta","shift"],Ve={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ye={alt:lt=>lt.altKey,control:lt=>lt.ctrlKey,meta:lt=>lt.metaKey,shift:lt=>lt.shiftKey};let we=(()=>{class lt extends S{constructor(L){super(L)}supports(L){return null!=lt.parseEventName(L)}addEventListener(L,A,ie){const ze=lt.parseEventName(A),Mt=lt.eventCallback(ze.fullKey,ie,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,a.\u0275getDOM)().onAndCancel(L,ze.domEventName,Mt))}static parseEventName(L){const A=L.toLowerCase().split("."),ie=A.shift();if(0===A.length||"keydown"!==ie&&"keyup"!==ie)return null;const ze=lt._normalizeKey(A.pop());let Mt="",Xe=A.indexOf("code");if(Xe>-1&&(A.splice(Xe,1),Mt="code."),je.forEach(de=>{const Me=A.indexOf(de);Me>-1&&(A.splice(Me,1),Mt+=de+".")}),Mt+=ze,0!=A.length||0===ze.length)return null;const xt={};return xt.domEventName=ie,xt.fullKey=Mt,xt}static matchEventFullKeyCode(L,A){let ie=Ve[L.key]||L.key,ze="";return A.indexOf("code.")>-1&&(ie=L.code,ze="code."),!(null==ie||!ie)&&(ie=ie.toLowerCase()," "===ie?ie="space":"."===ie&&(ie="dot"),je.forEach(Mt=>{Mt!==ie&&(0,ye[Mt])(L)&&(ze+=Mt+".")}),ze+=ie,ze===A)}static eventCallback(L,A,ie){return ze=>{lt.matchEventFullKeyCode(ze,L)&&ie.runGuarded(()=>A(ze))}}static _normalizeKey(L){return"esc"===L?"escape":L}static#e=this.\u0275fac=function(A){return new(A||lt)(i.\u0275\u0275inject(a.DOCUMENT))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:lt,factory:lt.\u0275fac})}return lt})();function ne(lt,ue){return(0,i.\u0275internalCreateApplication)({rootComponent:lt,...J(ue)})}function B(lt){return(0,i.\u0275internalCreateApplication)(J(lt))}function J(lt){return{appProviders:[...Ee,...lt?.providers??[]],platformProviders:Vt}}function Ze(){return[...Ge]}function ct(){d.makeCurrent()}const Vt=[{provide:i.PLATFORM_ID,useValue:a.\u0275PLATFORM_BROWSER_ID},{provide:i.PLATFORM_INITIALIZER,useValue:ct,multi:!0},{provide:a.DOCUMENT,useFactory:function Dt(){return(0,i.\u0275setDocument)(document),document},deps:[]}],Fe=(0,i.createPlatformFactory)(i.platformCore,"browser",Vt),ke=new i.InjectionToken(""),Ge=[{provide:i.\u0275TESTABILITY_GETTER,useClass:u,deps:[]},{provide:i.\u0275TESTABILITY,useClass:i.Testability,deps:[i.NgZone,i.TestabilityRegistry,i.\u0275TESTABILITY_GETTER]},{provide:i.Testability,useClass:i.Testability,deps:[i.NgZone,i.TestabilityRegistry,i.\u0275TESTABILITY_GETTER]}],Ee=[{provide:i.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:i.ErrorHandler,useFactory:function Nt(){return new i.ErrorHandler},deps:[]},{provide:C,useClass:kt,multi:!0,deps:[a.DOCUMENT,i.NgZone,i.PLATFORM_ID]},{provide:C,useClass:we,multi:!0,deps:[a.DOCUMENT]},it,j,M,{provide:i.RendererFactory2,useExisting:it},{provide:a.XhrFactory,useClass:b,deps:[]},[]];let Te=(()=>{class lt{constructor(L){}static withServerTransition(L){return{ngModule:lt,providers:[{provide:i.APP_ID,useValue:L.appId}]}}static#e=this.\u0275fac=function(A){return new(A||lt)(i.\u0275\u0275inject(ke,12))};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:lt});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({providers:[...Ee,...Ge],imports:[a.CommonModule,i.ApplicationModule]})}return lt})(),dt=(()=>{class lt{constructor(L){this._doc=L,this._dom=(0,a.\u0275getDOM)()}addTag(L,A=!1){return L?this._getOrCreateElement(L,A):null}addTags(L,A=!1){return L?L.reduce((ie,ze)=>(ze&&ie.push(this._getOrCreateElement(ze,A)),ie),[]):[]}getTag(L){return L&&this._doc.querySelector(`meta[${L}]`)||null}getTags(L){if(!L)return[];const A=this._doc.querySelectorAll(`meta[${L}]`);return A?[].slice.call(A):[]}updateTag(L,A){if(!L)return null;A=A||this._parseSelector(L);const ie=this.getTag(A);return ie?this._setMetaElementAttributes(L,ie):this._getOrCreateElement(L,!0)}removeTag(L){this.removeTagElement(this.getTag(L))}removeTagElement(L){L&&this._dom.remove(L)}_getOrCreateElement(L,A=!1){if(!A){const Mt=this._parseSelector(L),Xe=this.getTags(Mt).filter(xt=>this._containsAttributes(L,xt))[0];if(void 0!==Xe)return Xe}const ie=this._dom.createElement("meta");return this._setMetaElementAttributes(L,ie),this._doc.getElementsByTagName("head")[0].appendChild(ie),ie}_setMetaElementAttributes(L,A){return Object.keys(L).forEach(ie=>A.setAttribute(this._getMetaKeyMap(ie),L[ie])),A}_parseSelector(L){const A=L.name?"name":"property";return`${A}="${L[A]}"`}_containsAttributes(L,A){return Object.keys(L).every(ie=>A.getAttribute(this._getMetaKeyMap(ie))===L[ie])}_getMetaKeyMap(L){return qe[L]||L}static#e=this.\u0275fac=function(A){return new(A||lt)(i.\u0275\u0275inject(a.DOCUMENT))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:lt,factory:function(A){let ie=null;return ie=A?new A:function pt(){return new dt((0,i.\u0275\u0275inject)(a.DOCUMENT))}(),ie},providedIn:"root"})}return lt})();const qe={httpEquiv:"http-equiv"};let _e=(()=>{class lt{constructor(L){this._doc=L}getTitle(){return this._doc.title}setTitle(L){this._doc.title=L||""}static#e=this.\u0275fac=function(A){return new(A||lt)(i.\u0275\u0275inject(a.DOCUMENT))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:lt,factory:function(A){let ie=null;return ie=A?new A:function Y(){return new _e((0,i.\u0275\u0275inject)(a.DOCUMENT))}(),ie},providedIn:"root"})}return lt})();function Ie(lt,ue){(typeof COMPILED>"u"||!COMPILED)&&((i.\u0275global.ng=i.\u0275global.ng||{})[lt]=ue)}const st=typeof window<"u"&&window||{};class tt{constructor(ue,L){this.msPerTick=ue,this.numTicks=L}}class Ct{constructor(ue){this.appRef=ue.injector.get(i.ApplicationRef)}timeChangeDetection(ue){const L=ue&&ue.record,A="Change Detection",ie=null!=st.console.profile;L&&ie&&st.console.profile(A);const ze=Wt();let Mt=0;for(;Mt<5||Wt()-ze<500;)this.appRef.tick(),Mt++;const Xe=Wt();L&&ie&&st.console.profileEnd(A);const xt=(Xe-ze)/Mt;return st.console.log(`ran ${Mt} change detection cycles`),st.console.log(`${xt.toFixed(2)} ms per check`),new tt(xt,Mt)}}function Wt(){return st.performance&&st.performance.now?st.performance.now():(new Date).getTime()}const Kt="profiler";function Qt(lt){return Ie(Kt,new Ct(lt)),lt}function Zt(){Ie(Kt,null)}class at{static all(){return()=>!0}static css(ue){return L=>null!=L.nativeElement&&function yt(lt,ue){return!!(0,a.\u0275getDOM)().isElementNode(lt)&&(lt.matches&&lt.matches(ue)||lt.msMatchesSelector&&lt.msMatchesSelector(ue)||lt.webkitMatchesSelector&&lt.webkitMatchesSelector(ue))}(L.nativeElement,ue)}static directive(ue){return L=>-1!==L.providerTokens.indexOf(ue)}}const Ne={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},ee=new i.InjectionToken("HammerGestureConfig"),ge=new i.InjectionToken("HammerLoader");let rt=(()=>{class lt{constructor(){this.events=[],this.overrides={}}buildHammer(L){const A=new Hammer(L,this.options);A.get("pinch").set({enable:!0}),A.get("rotate").set({enable:!0});for(const ie in this.overrides)A.get(ie).set(this.overrides[ie]);return A}static#e=this.\u0275fac=function(A){return new(A||lt)};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:lt,factory:lt.\u0275fac})}return lt})(),Tt=(()=>{class lt extends S{constructor(L,A,ie,ze){super(L),this._config=A,this.console=ie,this.loader=ze,this._loaderPromise=null}supports(L){return!(!Ne.hasOwnProperty(L.toLowerCase())&&!this.isCustomEvent(L)||!window.Hammer&&!this.loader)}addEventListener(L,A,ie){const ze=this.manager.getZone();if(A=A.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||ze.runOutsideAngular(()=>this.loader());let Mt=!1,Xe=()=>{Mt=!0};return ze.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?Mt||(Xe=this.addEventListener(L,A,ie)):Xe=()=>{}}).catch(()=>{Xe=()=>{}})),()=>{Xe()}}return ze.runOutsideAngular(()=>{const Mt=this._config.buildHammer(L),Xe=function(xt){ze.runGuarded(function(){ie(xt)})};return Mt.on(A,Xe),()=>{Mt.off(A,Xe),"function"==typeof Mt.destroy&&Mt.destroy()}})}isCustomEvent(L){return this._config.events.indexOf(L)>-1}static#e=this.\u0275fac=function(A){return new(A||lt)(i.\u0275\u0275inject(a.DOCUMENT),i.\u0275\u0275inject(ee),i.\u0275\u0275inject(i.\u0275Console),i.\u0275\u0275inject(ge,8))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:lt,factory:lt.\u0275fac})}return lt})(),Ft=(()=>{class lt{static#e=this.\u0275fac=function(A){return new(A||lt)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:lt});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({providers:[{provide:C,useClass:Tt,multi:!0,deps:[a.DOCUMENT,ee,i.\u0275Console,[new i.Optional,ge]]},{provide:ee,useClass:rt,deps:[]}]})}return lt})(),qt=(()=>{class lt{static#e=this.\u0275fac=function(A){return new(A||lt)};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:lt,factory:function(A){let ie=null;return ie=A?new(A||lt):i.\u0275\u0275inject(pn),ie},providedIn:"root"})}return lt})(),pn=(()=>{class lt extends qt{constructor(L){super(),this._doc=L}sanitize(L,A){if(null==A)return null;switch(L){case i.SecurityContext.NONE:return A;case i.SecurityContext.HTML:return(0,i.\u0275allowSanitizationBypassAndThrow)(A,"HTML")?(0,i.\u0275unwrapSafeValue)(A):(0,i.\u0275_sanitizeHtml)(this._doc,String(A)).toString();case i.SecurityContext.STYLE:return(0,i.\u0275allowSanitizationBypassAndThrow)(A,"Style")?(0,i.\u0275unwrapSafeValue)(A):A;case i.SecurityContext.SCRIPT:if((0,i.\u0275allowSanitizationBypassAndThrow)(A,"Script"))return(0,i.\u0275unwrapSafeValue)(A);throw new i.\u0275RuntimeError(5200,!1);case i.SecurityContext.URL:return(0,i.\u0275allowSanitizationBypassAndThrow)(A,"URL")?(0,i.\u0275unwrapSafeValue)(A):(0,i.\u0275_sanitizeUrl)(String(A));case i.SecurityContext.RESOURCE_URL:if((0,i.\u0275allowSanitizationBypassAndThrow)(A,"ResourceURL"))return(0,i.\u0275unwrapSafeValue)(A);throw new i.\u0275RuntimeError(5201,!1);default:throw new i.\u0275RuntimeError(5202,!1)}}bypassSecurityTrustHtml(L){return(0,i.\u0275bypassSanitizationTrustHtml)(L)}bypassSecurityTrustStyle(L){return(0,i.\u0275bypassSanitizationTrustStyle)(L)}bypassSecurityTrustScript(L){return(0,i.\u0275bypassSanitizationTrustScript)(L)}bypassSecurityTrustUrl(L){return(0,i.\u0275bypassSanitizationTrustUrl)(L)}bypassSecurityTrustResourceUrl(L){return(0,i.\u0275bypassSanitizationTrustResourceUrl)(L)}static#e=this.\u0275fac=function(A){return new(A||lt)(i.\u0275\u0275inject(a.DOCUMENT))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:lt,factory:function(A){let ie=null;return ie=A?new A:function ln(lt){return new pn(lt.get(a.DOCUMENT))}(i.\u0275\u0275inject(i.Injector)),ie},providedIn:"root"})}return lt})();function Dn(lt,ue=[]){return{\u0275kind:lt,\u0275providers:ue}}function _t(){return Dn(0)}function et(){return Dn(1)}function Be(...lt){const ue=[],L=new Set;for(const{\u0275providers:A,\u0275kind:ie}of lt)L.add(ie),A.length&&ue.push(A);return(0,i.makeEnvironmentProviders)([[],L.has(0)?[]:(0,i.\u0275withDomHydration)(),L.has(1)?[]:(0,f.\u0275withHttpTransferCache)(),ue])}const ht=new i.Version("16.2.7"),Ot=i.makeStateKey,Jt=i.TransferState},9309:(Z,l,o)=>{"use strict";o.r(l),o.d(l,{MONACO_PATH:()=>b,MonacoDiffEditorComponent:()=>H,MonacoEditorComponent:()=>S,MonacoEditorLoaderDirective:()=>M,MonacoEditorLoaderService:()=>C,MonacoEditorModule:()=>j});var i=o(7786),a=o(5779),f=o(1497),p=o(3581),d=o(1625),h=o(9453),g=o(8832);const v=["editor"],m=["diffEditor"],b="MONACO_PATH";let C=(()=>{class N{constructor(z,oe){this.ngZone=z,this.monacoPathConfig=oe,this.isMonacoLoaded$=new d.X(!1),this._monacoPath="assets/monaco-editor/min/vs",window.monacoEditorAlreadyInitialized?z.run(()=>this.isMonacoLoaded$.next(!0)):(window.monacoEditorAlreadyInitialized=!0,this.monacoPathConfig&&(this.monacoPath=this.monacoPathConfig),this.loadMonaco())}set monacoPath(z){z&&(this._monacoPath=z)}loadMonaco(){const z=()=>{let me=this._monacoPath;window.amdRequire=window.require;const ae=!!this.nodeRequire,te=me.includes("http");ae&&(window.require=this.nodeRequire,te||(me=window.require("path").resolve(window.__dirname,this._monacoPath))),window.amdRequire.config({paths:{vs:me}}),window.amdRequire(["vs/editor/editor.main"],()=>{this.ngZone.run(()=>this.isMonacoLoaded$.next(!0))},pe=>console.error("Error loading monaco-editor: ",pe))};if(window.amdRequire)return z();window.require&&(this.addElectronFixScripts(),this.nodeRequire=window.require);const K=document.createElement("script");K.type="text/javascript",K.src=`${this._monacoPath}/loader.js`,K.addEventListener("load",z),document.body.appendChild(K)}addElectronFixScripts(){const z=document.createElement("script"),oe=document.createTextNode("self.module = undefined;"),X=document.createTextNode("self.process.browser = true;");z.appendChild(oe),z.appendChild(X),document.body.appendChild(z)}}return N.\u0275fac=function(z){return new(z||N)(i.\u0275\u0275inject(i.NgZone),i.\u0275\u0275inject(b,8))},N.\u0275prov=i.\u0275\u0275defineInjectable({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),M=(()=>{class N{constructor(z,oe,X){this.templateRef=z,this.viewContainer=oe,this.monacoEditorLoaderService=X,this.isMonacoLoaded$=this.monacoEditorLoaderService.isMonacoLoaded$.asObservable(),this.destroyed$=new h.x}ngOnInit(){this.isMonacoLoaded$.pipe((0,a.R)(this.destroyed$)).subscribe(z=>{if(!z)return this.viewContainer.clear();this.viewContainer.createEmbeddedView(this.templateRef)})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}}return N.\u0275fac=function(z){return new(z||N)(i.\u0275\u0275directiveInject(i.TemplateRef),i.\u0275\u0275directiveInject(i.ViewContainerRef),i.\u0275\u0275directiveInject(C))},N.\u0275dir=i.\u0275\u0275defineDirective({type:N,selectors:[["","ngxLoadMonacoEditor",""]]}),N})(),S=(()=>{class N{constructor(z){this.monacoLoader=z,this.init=new i.EventEmitter,this.onTouched=()=>{},this.onErrorStatusChange=()=>{},this.propagateChange=()=>{}}get model(){return this.editor&&this.editor.getModel()}get modelMarkers(){return this.model&&monaco.editor.getModelMarkers({resource:this.model.uri})}ngOnInit(){this.monacoLoader.isMonacoLoaded$.pipe((0,f.h)(z=>z),(0,p.q)(1)).subscribe(()=>{this.initEditor()})}ngOnChanges(z){if(this.editor&&z.options&&!z.options.firstChange){const{language:oe,theme:X,...K}=z.options.currentValue,{language:me,theme:ae}=z.options.previousValue;me!==oe&&monaco.editor.setModelLanguage(this.editor.getModel(),this.options&&this.options.language?this.options.language:"text"),ae!==X&&monaco.editor.setTheme(X),this.editor.updateOptions(K)}if(this.editor&&z.uri){const oe=z.uri.currentValue,X=z.uri.previousValue;if(X&&!oe||!X&&oe||oe&&X&&oe.path!==X.path){const K=this.editor.getValue();let me;this.modelUriInstance&&this.modelUriInstance.dispose(),oe&&(me=monaco.editor.getModels().find(ae=>ae.uri.path===oe.path)),this.modelUriInstance=me||monaco.editor.createModel(K,this.options.language||"text",this.uri),this.editor.setModel(this.modelUriInstance)}}}writeValue(z){this.value=z,this.editor&&z?this.editor.setValue(z):this.editor&&this.editor.setValue("")}registerOnChange(z){this.propagateChange=z}registerOnTouched(z){this.onTouched=z}validate(){return this.parsedError?{monaco:{value:this.parsedError.split("|")}}:null}registerOnValidatorChange(z){this.onErrorStatusChange=z}initEditor(){const z={value:[this.value].join("\n"),language:"text",automaticLayout:!0,scrollBeyondLastLine:!1,theme:"vc"};this.editor=monaco.editor.create(this.editorContent.nativeElement,this.options?{...z,...this.options}:z),this.registerEditorListeners(),this.init.emit(this.editor)}registerEditorListeners(){this.editor.onDidChangeModelContent(()=>{this.propagateChange(this.editor.getValue())}),this.editor.onDidChangeModelDecorations(()=>{const z=this.modelMarkers.map(({message:X})=>X).join("|");this.parsedError!==z&&(this.parsedError=z,this.onErrorStatusChange())}),this.editor.onDidBlurEditorText(()=>{this.onTouched()})}ngOnDestroy(){this.editor&&this.editor.dispose()}}return N.\u0275fac=function(z){return new(z||N)(i.\u0275\u0275directiveInject(C))},N.\u0275cmp=i.\u0275\u0275defineComponent({type:N,selectors:[["ngx-monaco-editor"]],viewQuery:function(z,oe){if(1&z&&i.\u0275\u0275viewQuery(v,7),2&z){let X;i.\u0275\u0275queryRefresh(X=i.\u0275\u0275loadQuery())&&(oe.editorContent=X.first)}},inputs:{options:"options",uri:"uri"},outputs:{init:"init"},features:[i.\u0275\u0275ProvidersFeature([{provide:g.NG_VALUE_ACCESSOR,useExisting:(0,i.forwardRef)(()=>N),multi:!0},{provide:g.NG_VALIDATORS,useExisting:(0,i.forwardRef)(()=>N),multi:!0}]),i.\u0275\u0275NgOnChangesFeature],decls:4,vars:0,consts:[["fxFlex","",1,"editor-container"],["container",""],[1,"monaco-editor"],["editor",""]],template:function(z,oe){1&z&&(i.\u0275\u0275elementStart(0,"div",0,1),i.\u0275\u0275element(2,"div",2,3),i.\u0275\u0275elementEnd())},styles:[".monaco-editor[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0}.editor-container[_ngcontent-%COMP%]{overflow:hidden;position:relative;display:table;width:100%;height:100%;min-width:0}"],changeDetection:0}),N})(),H=(()=>{class N{constructor(z){this.monacoLoader=z,this.init=new i.EventEmitter}ngOnInit(){this.container=this.editorContent.nativeElement,this.monacoLoader.isMonacoLoaded$.pipe((0,f.h)(z=>z),(0,p.q)(1)).subscribe(()=>{this.initMonaco()})}ngOnChanges(z){if(this.editor&&(z.code&&!z.code.firstChange||z.modified&&!z.modified.firstChange)){const oe=monaco.editor.createModel(this.modified),X=monaco.editor.createModel(this.original);this.editor.setModel({original:X,modified:oe})}this.editor&&z.options&&!z.options.firstChange&&(z.options.previousValue.theme!==z.options.currentValue.theme&&monaco.editor.setTheme(z.options.currentValue.theme),this.editor.updateOptions(z.options.currentValue))}initMonaco(){let z={readOnly:!0,automaticLayout:!0,theme:"vc"};this.options&&(z=Object.assign({},z,this.options)),this.editor=monaco.editor.createDiffEditor(this.container,z);const oe=monaco.editor.createModel(this.original),X=monaco.editor.createModel(this.modified);this.editor.setModel({original:oe,modified:X}),this.editor.layout(),this.init.emit(this.editor)}ngOnDestroy(){this.editor&&this.editor.dispose()}}return N.\u0275fac=function(z){return new(z||N)(i.\u0275\u0275directiveInject(C))},N.\u0275cmp=i.\u0275\u0275defineComponent({type:N,selectors:[["ngx-monaco-diff-editor"]],viewQuery:function(z,oe){if(1&z&&i.\u0275\u0275viewQuery(m,7),2&z){let X;i.\u0275\u0275queryRefresh(X=i.\u0275\u0275loadQuery())&&(oe.editorContent=X.first)}},inputs:{original:"original",modified:"modified",options:"options"},outputs:{init:"init"},features:[i.\u0275\u0275NgOnChangesFeature],decls:4,vars:0,consts:[["fxFlex","",1,"editor-container"],["container",""],[1,"monaco-editor"],["diffEditor",""]],template:function(z,oe){1&z&&(i.\u0275\u0275elementStart(0,"div",0,1),i.\u0275\u0275element(2,"div",2,3),i.\u0275\u0275elementEnd())},styles:[".monaco-editor[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0}.editor-container[_ngcontent-%COMP%]{overflow:hidden;position:relative;display:table;width:100%;height:100%;min-width:0}"],changeDetection:0}),N})(),j=(()=>{class N{}return N.\u0275fac=function(z){return new(z||N)},N.\u0275mod=i.\u0275\u0275defineNgModule({type:N}),N.\u0275inj=i.\u0275\u0275defineInjector({imports:[[]]}),N})()},534:(Z,l,o)=>{"use strict";o.r(l),o.d(l,{ANGULAR_SPLIT_DEFAULT_OPTIONS:()=>ae,AngularSplitModule:()=>it,SplitAreaDirective:()=>pe,SplitComponent:()=>te});var i=o(7786),a=o(9462),f=o(7371),p=o(9453),d=o(2067);const h=["gutterEls"];function g(be,We){if(1&be){const ce=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",2,3),i.\u0275\u0275listener("keydown",function(Ye){i.\u0275\u0275restoreView(ce);const Qe=i.\u0275\u0275nextContext().index,ot=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(ot.startKeyboardDrag(Ye,2*Qe+1,Qe+1))})("mousedown",function(Ye){i.\u0275\u0275restoreView(ce);const Qe=i.\u0275\u0275nextContext().index,ot=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(ot.startMouseDrag(Ye,2*Qe+1,Qe+1))})("touchstart",function(Ye){i.\u0275\u0275restoreView(ce);const Qe=i.\u0275\u0275nextContext().index,ot=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(ot.startMouseDrag(Ye,2*Qe+1,Qe+1))})("mouseup",function(Ye){i.\u0275\u0275restoreView(ce);const Qe=i.\u0275\u0275nextContext().index,ot=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(ot.clickGutter(Ye,Qe+1))})("touchend",function(Ye){i.\u0275\u0275restoreView(ce);const Qe=i.\u0275\u0275nextContext().index,ot=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(ot.clickGutter(Ye,Qe+1))}),i.\u0275\u0275element(2,"div",4),i.\u0275\u0275elementEnd()}if(2&be){const ce=i.\u0275\u0275nextContext(),Ae=ce.index,Ye=ce.$implicit,Qe=i.\u0275\u0275nextContext();i.\u0275\u0275styleProp("flex-basis",Qe.gutterSize,"px")("order",2*Ae+1),i.\u0275\u0275attribute("aria-label",Qe.gutterAriaLabel)("aria-orientation",Qe.direction)("aria-valuemin",Ye.minSize)("aria-valuemax",Ye.maxSize)("aria-valuenow",Ye.size)("aria-valuetext",Qe.getAriaAreaSizeText(Ye.size))}}function v(be,We){1&be&&i.\u0275\u0275template(0,g,3,10,"div",1),2&be&&i.\u0275\u0275property("ngIf",!1===We.last)}const m=["*"];function u(be){if(void 0!==be.changedTouches&&be.changedTouches.length>0)return{x:be.changedTouches[0].clientX,y:be.changedTouches[0].clientY};if(void 0!==be.clientX&&void 0!==be.clientY)return{x:be.clientX,y:be.clientY};if(void 0!==be.currentTarget){const We=be.currentTarget;return{x:We.offsetLeft,y:We.offsetTop}}return null}function b(be,We,ce){return Math.abs(be.x-We.x)<=ce&&Math.abs(be.y-We.y)<=ce}function M(be,We){const ce=be.nativeElement.getBoundingClientRect();return"horizontal"===We?ce.width:ce.height}function S(be){return"boolean"==typeof be?be:"false"!==be}function H(be,We){return null==be?We:(be=Number(be),!isNaN(be)&&be>=0?be:We)}function j(be,We){if("percent"===be){const ce=We.reduce((Ye,Qe)=>"*"!==Qe?Ye+Qe:Ye,0),Ae=We.filter(Ye=>"*"===Ye);return!(Ae.length>1)&&(1===Ae.length||ce>99.9)&&ce<100.1}if("pixel"===be)return 1===We.filter(ce=>"*"===ce).length}function N(be){return"*"===be.size?null:!0===be.component.lockSize?be.size:null===be.component.minSize?null:be.component.minSize>be.size?be.size:be.component.minSize}function fe(be){return"*"===be.size?null:!0===be.component.lockSize?be.size:null===be.component.maxSize?null:be.component.maxSize<be.size?be.size:be.component.maxSize}function z(be,We,ce,Ae){return We.reduce((Ye,Qe)=>{const ot=function oe(be,We,ce,Ae){return 0===ce?{areaSnapshot:We,pixelAbsorb:0,percentAfterAbsorption:We.sizePercentAtStart,pixelRemain:0}:0===We.sizePixelAtStart&&ce<0?{areaSnapshot:We,pixelAbsorb:0,percentAfterAbsorption:0,pixelRemain:ce}:"percent"===be?function X(be,We,ce){const Ye=(be.sizePixelAtStart+We)/ce*100;if(We>0){if(null!==be.area.maxSize&&Ye>be.area.maxSize){const Qe=be.area.maxSize/100*ce;return{areaSnapshot:be,pixelAbsorb:Qe,percentAfterAbsorption:be.area.maxSize,pixelRemain:be.sizePixelAtStart+We-Qe}}return{areaSnapshot:be,pixelAbsorb:We,percentAfterAbsorption:Ye>100?100:Ye,pixelRemain:0}}if(We<0){if(null!==be.area.minSize&&Ye<be.area.minSize){const Qe=be.area.minSize/100*ce;return{areaSnapshot:be,pixelAbsorb:Qe,percentAfterAbsorption:be.area.minSize,pixelRemain:be.sizePixelAtStart+We-Qe}}return Ye<0?{areaSnapshot:be,pixelAbsorb:-be.sizePixelAtStart,percentAfterAbsorption:0,pixelRemain:We+be.sizePixelAtStart}:{areaSnapshot:be,pixelAbsorb:We,percentAfterAbsorption:Ye,pixelRemain:0}}}(We,ce,Ae):"pixel"===be?function K(be,We,ce){const Ae=be.sizePixelAtStart+We;return We>0?null!==be.area.maxSize&&Ae>be.area.maxSize?{areaSnapshot:be,pixelAbsorb:be.area.maxSize-be.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:Ae-be.area.maxSize}:{areaSnapshot:be,pixelAbsorb:We,percentAfterAbsorption:-1,pixelRemain:0}:We<0?null!==be.area.minSize&&Ae<be.area.minSize?{areaSnapshot:be,pixelAbsorb:be.area.minSize+We-Ae,percentAfterAbsorption:-1,pixelRemain:Ae-be.area.minSize}:Ae<0?{areaSnapshot:be,pixelAbsorb:-be.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:We+be.sizePixelAtStart}:{areaSnapshot:be,pixelAbsorb:We,percentAfterAbsorption:-1,pixelRemain:0}:void 0}(We,ce):void 0}(be,Qe,Ye.remain,Ae);return Ye.list.push(ot),Ye.remain=ot.pixelRemain,Ye},{remain:ce,list:[]})}function me(be,We){"*"!==We.areaSnapshot.area.size&&("percent"===be?We.areaSnapshot.area.size=We.percentAfterAbsorption:"pixel"===be&&(We.areaSnapshot.area.size=We.areaSnapshot.sizePixelAtStart+We.pixelAbsorb))}const ae=new i.InjectionToken("angular-split-global-config");let te=(()=>{class be{set direction(ce){this._direction="vertical"===ce?"vertical":"horizontal",this.renderer.addClass(this.elRef.nativeElement,`as-${this._direction}`),this.renderer.removeClass(this.elRef.nativeElement,"as-"+("vertical"===this._direction?"horizontal":"vertical")),this.build(!1,!1)}get direction(){return this._direction}set unit(ce){this._unit="pixel"===ce?"pixel":"percent",this.renderer.addClass(this.elRef.nativeElement,`as-${this._unit}`),this.renderer.removeClass(this.elRef.nativeElement,"as-"+("pixel"===this._unit?"percent":"pixel")),this.build(!1,!0)}get unit(){return this._unit}set gutterSize(ce){this._gutterSize=H(ce,11),this.build(!1,!1)}get gutterSize(){return this._gutterSize}set gutterStep(ce){this._gutterStep=H(ce,1)}get gutterStep(){return this._gutterStep}set restrictMove(ce){this._restrictMove=S(ce)}get restrictMove(){return this._restrictMove}set useTransition(ce){this._useTransition=S(ce),this._useTransition?this.renderer.addClass(this.elRef.nativeElement,"as-transition"):this.renderer.removeClass(this.elRef.nativeElement,"as-transition")}get useTransition(){return this._useTransition}set disabled(ce){this._disabled=S(ce),this._disabled?this.renderer.addClass(this.elRef.nativeElement,"as-disabled"):this.renderer.removeClass(this.elRef.nativeElement,"as-disabled")}get disabled(){return this._disabled}set dir(ce){this._dir="rtl"===ce?"rtl":"ltr",this.renderer.setAttribute(this.elRef.nativeElement,"dir",this._dir)}get dir(){return this._dir}set gutterDblClickDuration(ce){this._gutterDblClickDuration=H(ce,0)}get gutterDblClickDuration(){return this._gutterDblClickDuration}get transitionEnd(){return new f.y(ce=>this.transitionEndSubscriber=ce).pipe((0,d.b)(20))}constructor(ce,Ae,Ye,Qe,ot){this.ngZone=ce,this.elRef=Ae,this.cdRef=Ye,this.renderer=Qe,this.gutterClickDeltaPx=2,this._config={direction:"horizontal",unit:"percent",gutterSize:11,gutterStep:1,restrictMove:!1,useTransition:!1,disabled:!1,dir:"ltr",gutterDblClickDuration:0},this.dragStart=new i.EventEmitter(!1),this.dragEnd=new i.EventEmitter(!1),this.gutterClick=new i.EventEmitter(!1),this.gutterDblClick=new i.EventEmitter(!1),this.dragProgressSubject=new p.x,this.dragProgress$=this.dragProgressSubject.asObservable(),this.isDragging=!1,this.isWaitingClear=!1,this.isWaitingInitialMove=!1,this.dragListeners=[],this.snapshot=null,this.startPoint=null,this.endPoint=null,this.displayedAreas=[],this.hiddenAreas=[],this._clickTimeout=null,this.direction=this._direction,this._config=ot?Object.assign(this._config,ot):this._config,Object.keys(this._config).forEach(kt=>{this[kt]=this._config[kt]})}ngAfterViewInit(){this.ngZone.runOutsideAngular(()=>{setTimeout(()=>this.renderer.addClass(this.elRef.nativeElement,"as-init"))})}getNbGutters(){return 0===this.displayedAreas.length?0:this.displayedAreas.length-1}addArea(ce){const Ae={component:ce,order:0,size:0,minSize:null,maxSize:null,sizeBeforeCollapse:null,gutterBeforeCollapse:0};!0===ce.visible?(this.displayedAreas.push(Ae),this.build(!0,!0)):this.hiddenAreas.push(Ae)}removeArea(ce){if(this.displayedAreas.some(Ae=>Ae.component===ce)){const Ae=this.displayedAreas.find(Ye=>Ye.component===ce);this.displayedAreas.splice(this.displayedAreas.indexOf(Ae),1),this.build(!0,!0)}else if(this.hiddenAreas.some(Ae=>Ae.component===ce)){const Ae=this.hiddenAreas.find(Ye=>Ye.component===ce);this.hiddenAreas.splice(this.hiddenAreas.indexOf(Ae),1)}}updateArea(ce,Ae,Ye){!0===ce.visible&&this.build(Ae,Ye)}showArea(ce){const Ae=this.hiddenAreas.find(Qe=>Qe.component===ce);if(void 0===Ae)return;const Ye=this.hiddenAreas.splice(this.hiddenAreas.indexOf(Ae),1);this.displayedAreas.push(...Ye),this.build(!0,!0)}hideArea(ce){const Ae=this.displayedAreas.find(Qe=>Qe.component===ce);if(void 0===Ae)return;const Ye=this.displayedAreas.splice(this.displayedAreas.indexOf(Ae),1);Ye.forEach(Qe=>{Qe.order=0,Qe.size=0}),this.hiddenAreas.push(...Ye),this.build(!0,!0)}getVisibleAreaSizes(){return this.displayedAreas.map(ce=>ce.size)}setVisibleAreaSizes(ce){if(ce.length!==this.displayedAreas.length)return!1;const Ae=ce.map(Qe=>H(Qe,"*"));return!1!==j(this.unit,Ae)&&(this.displayedAreas.forEach((Qe,ot)=>Qe.component._size=Ae[ot]),this.build(!1,!0),!0)}build(ce,Ae){if(this.stopDragging(),!0===ce&&(this.displayedAreas.every(Ye=>null!==Ye.component.order)&&this.displayedAreas.sort((Ye,Qe)=>Ye.component.order-Qe.component.order),this.displayedAreas.forEach((Ye,Qe)=>{Ye.order=2*Qe,Ye.component.setStyleOrder(Ye.order)})),!0===Ae){const Ye=j(this.unit,this.displayedAreas.map(Qe=>Qe.component.size));switch(this.unit){case"percent":{const Qe=100/this.displayedAreas.length;this.displayedAreas.forEach(ot=>{ot.size=Ye?ot.component.size:Qe,ot.minSize=N(ot),ot.maxSize=fe(ot)});break}case"pixel":if(Ye)this.displayedAreas.forEach(Qe=>{Qe.size=Qe.component.size,Qe.minSize=N(Qe),Qe.maxSize=fe(Qe)});else{const Qe=this.displayedAreas.filter(ot=>"*"===ot.component.size);if(0===Qe.length&&this.displayedAreas.length>0)this.displayedAreas.forEach((ot,kt)=>{ot.size=0===kt?"*":ot.component.size,ot.minSize=0===kt?null:N(ot),ot.maxSize=0===kt?null:fe(ot)});else if(Qe.length>1){let ot=!1;this.displayedAreas.forEach(kt=>{"*"===kt.component.size?!1===ot?(kt.size="*",kt.minSize=null,kt.maxSize=null,ot=!0):(kt.size=100,kt.minSize=null,kt.maxSize=null):(kt.size=kt.component.size,kt.minSize=N(kt),kt.maxSize=fe(kt))})}}}}this.refreshStyleSizes(),this.cdRef.markForCheck()}refreshStyleSizes(){if("percent"===this.unit)if(1===this.displayedAreas.length)this.displayedAreas[0].component.setStyleFlex(0,0,"100%",!1,!1);else{const ce=this.getNbGutters()*this.gutterSize;this.displayedAreas.forEach(Ae=>{"*"===Ae.size?Ae.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):Ae.component.setStyleFlex(0,0,`calc( ${Ae.size}% - ${Ae.size/100*ce}px )`,null!==Ae.minSize&&Ae.minSize===Ae.size,null!==Ae.maxSize&&Ae.maxSize===Ae.size)})}else"pixel"===this.unit&&this.displayedAreas.forEach(ce=>{"*"===ce.size?ce.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):1===this.displayedAreas.length?ce.component.setStyleFlex(0,0,"100%",!1,!1):ce.component.setStyleFlex(0,0,`${ce.size}px`,null!==ce.minSize&&ce.minSize===ce.size,null!==ce.maxSize&&ce.maxSize===ce.size)})}clickGutter(ce,Ae){const Ye=u(ce);this.startPoint&&b(this.startPoint,Ye,this.gutterClickDeltaPx)&&(!this.isDragging||this.isWaitingInitialMove)&&(null!==this._clickTimeout?(window.clearTimeout(this._clickTimeout),this._clickTimeout=null,this.notify("dblclick",Ae),this.stopDragging()):this._clickTimeout=window.setTimeout(()=>{this._clickTimeout=null,this.notify("click",Ae),this.stopDragging()},this.gutterDblClickDuration))}startKeyboardDrag(ce,Ae,Ye){if(!0===this.disabled||!0===this.isWaitingClear)return;const Qe=function C(be,We){if("horizontal"===We)switch(be.key){case"ArrowLeft":case"ArrowRight":case"PageUp":case"PageDown":break;default:return null}if("vertical"===We)switch(be.key){case"ArrowUp":case"ArrowDown":case"PageUp":case"PageDown":break;default:return null}const ce=be.currentTarget,Ae="PageUp"===be.key||"PageDown"===be.key?500:50;let Ye=ce.offsetLeft,Qe=ce.offsetTop;switch(be.key){case"ArrowLeft":Ye-=Ae;break;case"ArrowRight":Ye+=Ae;break;case"ArrowUp":Qe-=Ae;break;case"ArrowDown":Qe+=Ae;break;case"PageUp":"vertical"===We?Qe-=Ae:Ye+=Ae;break;case"PageDown":"vertical"===We?Qe+=Ae:Ye-=Ae;break;default:return null}return{x:Ye,y:Qe}}(ce,this.direction);null!==Qe&&(this.endPoint=Qe,this.startPoint=u(ce),ce.preventDefault(),ce.stopPropagation(),this.setupForDragEvent(Ae,Ye),this.startDragging(),this.drag(),this.stopDragging())}startMouseDrag(ce,Ae,Ye){ce.preventDefault(),ce.stopPropagation(),this.startPoint=u(ce),null!==this.startPoint&&!0!==this.disabled&&!0!==this.isWaitingClear&&(this.setupForDragEvent(Ae,Ye),this.dragListeners.push(this.renderer.listen("document","mouseup",this.stopDragging.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchend",this.stopDragging.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchcancel",this.stopDragging.bind(this))),this.ngZone.runOutsideAngular(()=>{this.dragListeners.push(this.renderer.listen("document","mousemove",this.mouseDragEvent.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchmove",this.mouseDragEvent.bind(this)))}),this.startDragging())}setupForDragEvent(ce,Ae){if(this.snapshot={gutterNum:Ae,lastSteppedOffset:0,allAreasSizePixel:M(this.elRef,this.direction)-this.getNbGutters()*this.gutterSize,allInvolvedAreasSizePercent:100,areasBeforeGutter:[],areasAfterGutter:[]},this.displayedAreas.forEach(Ye=>{const Qe={area:Ye,sizePixelAtStart:M(Ye.component.elRef,this.direction),sizePercentAtStart:"percent"===this.unit?Ye.size:-1};Ye.order<ce?!0===this.restrictMove?this.snapshot.areasBeforeGutter=[Qe]:this.snapshot.areasBeforeGutter.unshift(Qe):Ye.order>ce&&(!0===this.restrictMove?0===this.snapshot.areasAfterGutter.length&&(this.snapshot.areasAfterGutter=[Qe]):this.snapshot.areasAfterGutter.push(Qe))}),this.restrictMove&&"percent"===this.unit){const Ye=this.snapshot.areasBeforeGutter[0],Qe=this.snapshot.areasAfterGutter[0];if("*"===Ye.area.size||"*"===Qe.area.size){const ot=this.displayedAreas.reduce((kt,je)=>Ye.area!==je&&Qe.area!==je?kt+je.size:kt,0);this.snapshot.allInvolvedAreasSizePercent=100-ot}else this.snapshot.allInvolvedAreasSizePercent=[...this.snapshot.areasBeforeGutter,...this.snapshot.areasAfterGutter].reduce((ot,kt)=>ot+kt.sizePercentAtStart,0)}}startDragging(){this.displayedAreas.forEach(ce=>ce.component.lockEvents()),this.isDragging=!0,this.isWaitingInitialMove=!0}mouseDragEvent(ce){ce.preventDefault(),ce.stopPropagation();const Ae=u(ce);null!==this._clickTimeout&&!b(this.startPoint,Ae,this.gutterClickDeltaPx)&&(window.clearTimeout(this._clickTimeout),this._clickTimeout=null),!1!==this.isDragging&&(this.endPoint=u(ce),null!==this.endPoint&&this.drag())}drag(){if(this.isWaitingInitialMove){if(this.startPoint.x===this.endPoint.x&&this.startPoint.y===this.endPoint.y)return;this.ngZone.run(()=>{this.isWaitingInitialMove=!1,this.renderer.addClass(this.elRef.nativeElement,"as-dragging"),this.renderer.addClass(this.gutterEls.toArray()[this.snapshot.gutterNum-1].nativeElement,"as-dragged"),this.notify("start",this.snapshot.gutterNum)})}let ce="horizontal"===this.direction?this.startPoint.x-this.endPoint.x:this.startPoint.y-this.endPoint.y;"rtl"===this.dir&&"horizontal"===this.direction&&(ce=-ce);const Ae=Math.round(ce/this.gutterStep)*this.gutterStep;if(Ae===this.snapshot.lastSteppedOffset)return;this.snapshot.lastSteppedOffset=Ae;let Ye=z(this.unit,this.snapshot.areasBeforeGutter,-Ae,this.snapshot.allAreasSizePixel),Qe=z(this.unit,this.snapshot.areasAfterGutter,Ae,this.snapshot.allAreasSizePixel);if(0!==Ye.remain&&0!==Qe.remain?Math.abs(Ye.remain)===Math.abs(Qe.remain)||(Math.abs(Ye.remain)>Math.abs(Qe.remain)?Qe=z(this.unit,this.snapshot.areasAfterGutter,Ae+Ye.remain,this.snapshot.allAreasSizePixel):Ye=z(this.unit,this.snapshot.areasBeforeGutter,-(Ae-Qe.remain),this.snapshot.allAreasSizePixel)):0!==Ye.remain?Qe=z(this.unit,this.snapshot.areasAfterGutter,Ae+Ye.remain,this.snapshot.allAreasSizePixel):0!==Qe.remain&&(Ye=z(this.unit,this.snapshot.areasBeforeGutter,-(Ae-Qe.remain),this.snapshot.allAreasSizePixel)),"percent"===this.unit){const ot=[...Ye.list,...Qe.list],je=ot.find(Ve=>"*"==Ve.percentAfterAbsorption)??ot.find(Ve=>0!==Ve.percentAfterAbsorption&&Ve.percentAfterAbsorption!==Ve.areaSnapshot.area.minSize&&Ve.percentAfterAbsorption!==Ve.areaSnapshot.area.maxSize);je&&(je.percentAfterAbsorption=this.snapshot.allInvolvedAreasSizePercent-ot.filter(Ve=>Ve!==je).reduce((Ve,ye)=>Ve+ye.percentAfterAbsorption,0))}Ye.list.forEach(ot=>me(this.unit,ot)),Qe.list.forEach(ot=>me(this.unit,ot)),this.refreshStyleSizes(),this.notify("progress",this.snapshot.gutterNum)}stopDragging(ce){if(ce&&(ce.preventDefault(),ce.stopPropagation()),!1!==this.isDragging){for(this.displayedAreas.forEach(Ae=>Ae.component.unlockEvents());this.dragListeners.length>0;){const Ae=this.dragListeners.pop();Ae&&Ae()}this.isDragging=!1,!1===this.isWaitingInitialMove&&this.notify("end",this.snapshot.gutterNum),this.renderer.removeClass(this.elRef.nativeElement,"as-dragging"),this.renderer.removeClass(this.gutterEls.toArray()[this.snapshot.gutterNum-1].nativeElement,"as-dragged"),this.snapshot=null,this.isWaitingClear=!0,this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.startPoint=null,this.endPoint=null,this.isWaitingClear=!1})})}}notify(ce,Ae){const Ye=this.getVisibleAreaSizes();"start"===ce?this.dragStart.emit({gutterNum:Ae,sizes:Ye}):"end"===ce?this.dragEnd.emit({gutterNum:Ae,sizes:Ye}):"click"===ce?this.gutterClick.emit({gutterNum:Ae,sizes:Ye}):"dblclick"===ce?this.gutterDblClick.emit({gutterNum:Ae,sizes:Ye}):"transitionEnd"===ce?this.transitionEndSubscriber&&this.ngZone.run(()=>this.transitionEndSubscriber.next(Ye)):"progress"===ce&&this.dragProgressSubject.next({gutterNum:Ae,sizes:Ye})}ngOnDestroy(){this.stopDragging()}collapseArea(ce,Ae,Ye){const Qe=this.displayedAreas.find(je=>je.component===ce);if(void 0===Qe)return;const ot="right"===Ye?1:-1;Qe.sizeBeforeCollapse||(Qe.sizeBeforeCollapse=Qe.size,Qe.gutterBeforeCollapse=ot),Qe.size=Ae;const kt=this.gutterEls.find(je=>je.nativeElement.style.order===`${Qe.order+ot}`);kt&&this.renderer.addClass(kt.nativeElement,"as-split-gutter-collapsed"),this.updateArea(ce,!1,!1)}expandArea(ce){const Ae=this.displayedAreas.find(Qe=>Qe.component===ce);if(void 0===Ae||!Ae.sizeBeforeCollapse)return;Ae.size=Ae.sizeBeforeCollapse,Ae.sizeBeforeCollapse=null;const Ye=this.gutterEls.find(Qe=>Qe.nativeElement.style.order===`${Ae.order+Ae.gutterBeforeCollapse}`);Ye&&this.renderer.removeClass(Ye.nativeElement,"as-split-gutter-collapsed"),this.updateArea(ce,!1,!1)}getAriaAreaSizeText(ce){return"*"===ce?null:ce.toFixed(0)+" "+this.unit}static#e=this.\u0275fac=function(Ae){return new(Ae||be)(i.\u0275\u0275directiveInject(i.NgZone),i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.ChangeDetectorRef),i.\u0275\u0275directiveInject(i.Renderer2),i.\u0275\u0275directiveInject(ae,8))};static#t=this.\u0275cmp=i.\u0275\u0275defineComponent({type:be,selectors:[["as-split"]],viewQuery:function(Ae,Ye){if(1&Ae&&i.\u0275\u0275viewQuery(h,5),2&Ae){let Qe;i.\u0275\u0275queryRefresh(Qe=i.\u0275\u0275loadQuery())&&(Ye.gutterEls=Qe)}},inputs:{direction:"direction",unit:"unit",gutterSize:"gutterSize",gutterStep:"gutterStep",restrictMove:"restrictMove",useTransition:"useTransition",disabled:"disabled",dir:"dir",gutterDblClickDuration:"gutterDblClickDuration",gutterClickDeltaPx:"gutterClickDeltaPx",gutterAriaLabel:"gutterAriaLabel"},outputs:{transitionEnd:"transitionEnd",dragStart:"dragStart",dragEnd:"dragEnd",gutterClick:"gutterClick",gutterDblClick:"gutterDblClick"},exportAs:["asSplit"],ngContentSelectors:m,decls:2,vars:1,consts:[["ngFor","",3,"ngForOf"],["role","separator","tabindex","0","class","as-split-gutter",3,"flex-basis","order","keydown","mousedown","touchstart","mouseup","touchend",4,"ngIf"],["role","separator","tabindex","0",1,"as-split-gutter",3,"keydown","mousedown","touchstart","mouseup","touchend"],["gutterEls",""],[1,"as-split-gutter-icon"]],template:function(Ae,Ye){1&Ae&&(i.\u0275\u0275projectionDef(),i.\u0275\u0275projection(0),i.\u0275\u0275template(1,v,1,1,"ng-template",0)),2&Ae&&(i.\u0275\u0275advance(1),i.\u0275\u0275property("ngForOf",Ye.displayedAreas))},dependencies:[a.NgForOf,a.NgIf],styles:["[_nghost-%COMP%]{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;overflow:hidden;width:100%;height:100%}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{border:none;flex-grow:0;flex-shrink:0;background-color:#eee;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] > .as-split-gutter.as-split-gutter-collapsed[_ngcontent-%COMP%]{flex-basis:1px!important;pointer-events:none}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{width:100%;height:100%;background-position:center center;background-repeat:no-repeat}[_nghost-%COMP%] >.as-split-area{flex-grow:0;flex-shrink:0;overflow-x:hidden;overflow-y:auto}[_nghost-%COMP%] >.as-split-area.as-hidden{flex:0 1 0px!important;overflow-x:hidden;overflow-y:hidden}[_nghost-%COMP%] >.as-split-area .iframe-fix{position:absolute;top:0;left:0;width:100%;height:100%}.as-horizontal[_nghost-%COMP%]{flex-direction:row}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:row;cursor:col-resize;height:100%}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.as-horizontal[_nghost-%COMP%] >.as-split-area{height:100%}.as-vertical[_nghost-%COMP%]{flex-direction:column}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:column;cursor:row-resize;width:100%}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC)}.as-vertical[_nghost-%COMP%] >.as-split-area{width:100%}.as-vertical[_nghost-%COMP%] >.as-split-area.as-hidden{max-width:0}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{cursor:default}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) > .as-split-gutter[_ngcontent-%COMP%], .as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) >.as-split-area{transition:flex-basis .3s}"],changeDetection:0})}return be})(),pe=(()=>{class be{set order(ce){this._order=H(ce,null),this.split.updateArea(this,!0,!1)}get order(){return this._order}set size(ce){this._size=H(ce,"*"),this.split.updateArea(this,!1,!0)}get size(){return this._size}set minSize(ce){this._minSize=H(ce,null),this.split.updateArea(this,!1,!0)}get minSize(){return this._minSize}set maxSize(ce){this._maxSize=H(ce,null),this.split.updateArea(this,!1,!0)}get maxSize(){return this._maxSize}set lockSize(ce){this._lockSize=S(ce),this.split.updateArea(this,!1,!0)}get lockSize(){return this._lockSize}set visible(ce){this._visible=S(ce),this._visible?(this.split.showArea(this),this.renderer.removeClass(this.elRef.nativeElement,"as-hidden")):(this.split.hideArea(this),this.renderer.addClass(this.elRef.nativeElement,"as-hidden"))}get visible(){return this._visible}constructor(ce,Ae,Ye,Qe){this.ngZone=ce,this.elRef=Ae,this.renderer=Ye,this.split=Qe,this._order=null,this._size="*",this._minSize=null,this._maxSize=null,this._lockSize=!1,this._visible=!0,this.lockListeners=[],this.renderer.addClass(this.elRef.nativeElement,"as-split-area")}ngOnInit(){this.split.addArea(this),this.ngZone.runOutsideAngular(()=>{this.transitionListener=this.renderer.listen(this.elRef.nativeElement,"transitionend",Ae=>{"flex-basis"===Ae.propertyName&&this.split.notify("transitionEnd",-1)})});const ce=this.renderer.createElement("div");this.renderer.addClass(ce,"iframe-fix"),this.dragStartSubscription=this.split.dragStart.subscribe(()=>{this.renderer.setStyle(this.elRef.nativeElement,"position","relative"),this.renderer.appendChild(this.elRef.nativeElement,ce)}),this.dragEndSubscription=this.split.dragEnd.subscribe(()=>{this.renderer.removeStyle(this.elRef.nativeElement,"position"),this.renderer.removeChild(this.elRef.nativeElement,ce)})}setStyleOrder(ce){this.renderer.setStyle(this.elRef.nativeElement,"order",ce)}setStyleFlex(ce,Ae,Ye,Qe,ot){this.renderer.setStyle(this.elRef.nativeElement,"flex-grow",ce),this.renderer.setStyle(this.elRef.nativeElement,"flex-shrink",Ae),this.renderer.setStyle(this.elRef.nativeElement,"flex-basis",Ye),!0===Qe?this.renderer.addClass(this.elRef.nativeElement,"as-min"):this.renderer.removeClass(this.elRef.nativeElement,"as-min"),!0===ot?this.renderer.addClass(this.elRef.nativeElement,"as-max"):this.renderer.removeClass(this.elRef.nativeElement,"as-max")}lockEvents(){this.ngZone.runOutsideAngular(()=>{this.lockListeners.push(this.renderer.listen(this.elRef.nativeElement,"selectstart",()=>!1)),this.lockListeners.push(this.renderer.listen(this.elRef.nativeElement,"dragstart",()=>!1))})}unlockEvents(){for(;this.lockListeners.length>0;){const ce=this.lockListeners.pop();ce&&ce()}}ngOnDestroy(){this.unlockEvents(),this.transitionListener&&this.transitionListener(),this.dragStartSubscription?.unsubscribe(),this.dragEndSubscription?.unsubscribe(),this.split.removeArea(this)}collapse(ce=0,Ae="right"){this.split.collapseArea(this,ce,Ae)}expand(){this.split.expandArea(this)}static#e=this.\u0275fac=function(Ae){return new(Ae||be)(i.\u0275\u0275directiveInject(i.NgZone),i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.Renderer2),i.\u0275\u0275directiveInject(te))};static#t=this.\u0275dir=i.\u0275\u0275defineDirective({type:be,selectors:[["as-split-area"],["","as-split-area",""]],inputs:{order:"order",size:"size",minSize:"minSize",maxSize:"maxSize",lockSize:"lockSize",visible:"visible"},exportAs:["asSplitArea"]})}return be})(),it=(()=>{class be{static#e=this.\u0275fac=function(Ae){return new(Ae||be)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:be});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({imports:[a.CommonModule]})}return be})()},6086:(Z,l,o)=>{"use strict";o.r(l),o.d(l,{NgxJsonViewerComponent:()=>m,NgxJsonViewerModule:()=>u});var i=o(7786),a=o(9462);function f(b,C){1&b&&i.\u0275\u0275element(0,"div",9)}function p(b,C){if(1&b&&(i.\u0275\u0275elementStart(0,"span",10),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&b){const M=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate(M.description)}}function d(b,C){if(1&b&&(i.\u0275\u0275elementStart(0,"section",11),i.\u0275\u0275element(1,"ngx-json-viewer",12),i.\u0275\u0275elementEnd()),2&b){const M=i.\u0275\u0275nextContext().$implicit,S=i.\u0275\u0275nextContext();i.\u0275\u0275advance(1),i.\u0275\u0275property("json",M.value)("expanded",S.expanded)("depth",S.depth)("_currentDepth",S._currentDepth+1)}}const h=function(b){return["segment",b]},g=function(b,C){return{"segment-main":!0,expandable:b,expanded:C}};function v(b,C){if(1&b){const M=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"section",2)(1,"section",3),i.\u0275\u0275listener("click",function(){const j=i.\u0275\u0275restoreView(M).$implicit,N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.toggle(j))}),i.\u0275\u0275template(2,f,1,0,"div",4),i.\u0275\u0275elementStart(3,"span",5),i.\u0275\u0275text(4),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(5,"span",6),i.\u0275\u0275text(6,": "),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(7,p,2,1,"span",7),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(8,d,2,4,"section",8),i.\u0275\u0275elementEnd()}if(2&b){const M=C.$implicit,S=i.\u0275\u0275nextContext();i.\u0275\u0275property("ngClass",i.\u0275\u0275pureFunction1(6,h,"segment-type-"+M.type)),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngClass",i.\u0275\u0275pureFunction2(8,g,S.isExpandable(M),M.expanded)),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",S.isExpandable(M)),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(M.key),i.\u0275\u0275advance(3),i.\u0275\u0275property("ngIf",!M.expanded||!S.isExpandable(M)),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",M.expanded&&S.isExpandable(M))}}let m=(()=>{class b{constructor(){this.expanded=!0,this.depth=-1,this._currentDepth=0,this.segments=[]}ngOnChanges(){this.segments=[],this.json=this.decycle(this.json),"object"==typeof this.json?Object.keys(this.json).forEach(M=>{this.segments.push(this.parseKeyValue(M,this.json[M]))}):this.segments.push(this.parseKeyValue(`(${typeof this.json})`,this.json))}isExpandable(M){return"object"===M.type||"array"===M.type}toggle(M){this.isExpandable(M)&&(M.expanded=!M.expanded)}parseKeyValue(M,S){const H={key:M,value:S,type:void 0,description:""+S,expanded:this.isExpanded()};switch(typeof H.value){case"number":H.type="number";break;case"boolean":H.type="boolean";break;case"function":H.type="function";break;case"string":H.type="string",H.description='"'+H.value+'"';break;case"undefined":H.type="undefined",H.description="undefined";break;case"object":null===H.value?(H.type="null",H.description="null"):Array.isArray(H.value)?(H.type="array",H.description="Array["+H.value.length+"] "+JSON.stringify(H.value)):H.value instanceof Date?H.type="date":(H.type="object",H.description="Object "+JSON.stringify(H.value))}return H}isExpanded(){return this.expanded&&!(this.depth>-1&&this._currentDepth>=this.depth)}decycle(M){const S=new WeakMap;return function H(j,N){let fe,z;return"object"!=typeof j||null===j||j instanceof Boolean||j instanceof Date||j instanceof Number||j instanceof RegExp||j instanceof String?j:(fe=S.get(j),void 0!==fe?{$ref:fe}:(S.set(j,N),Array.isArray(j)?(z=[],j.forEach(function(oe,X){z[X]=H(oe,N+"["+X+"]")})):(z={},Object.keys(j).forEach(function(oe){z[oe]=H(j[oe],N+"["+JSON.stringify(oe)+"]")})),z))}(M,"$")}}return b.\u0275fac=function(M){return new(M||b)},b.\u0275cmp=i.\u0275\u0275defineComponent({type:b,selectors:[["ngx-json-viewer"]],inputs:{json:"json",expanded:"expanded",depth:"depth",_currentDepth:"_currentDepth"},features:[i.\u0275\u0275NgOnChangesFeature],decls:2,vars:1,consts:[[1,"ngx-json-viewer"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[3,"ngClass","click"],["class","toggler",4,"ngIf"],[1,"segment-key"],[1,"segment-separator"],["class","segment-value",4,"ngIf"],["class","children",4,"ngIf"],[1,"toggler"],[1,"segment-value"],[1,"children"],[3,"json","expanded","depth","_currentDepth"]],template:function(M,S){1&M&&(i.\u0275\u0275elementStart(0,"section",0),i.\u0275\u0275template(1,v,9,11,"section",1),i.\u0275\u0275elementEnd()),2&M&&(i.\u0275\u0275advance(1),i.\u0275\u0275property("ngForOf",S.segments))},dependencies:[a.NgClass,a.NgForOf,a.NgIf,b],styles:['@charset "UTF-8";.ngx-json-viewer[_ngcontent-%COMP%]{font-family:var(--ngx-json-font-family, monospace);font-size:var(--ngx-json-font-size, 1em);width:100%;height:100%;overflow:hidden;position:relative}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%]{padding:2px;margin:1px 1px 1px 12px}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%]{word-wrap:break-word}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]{position:absolute;margin-left:-14px;margin-top:3px;font-size:.8em;line-height:1.2em;vertical-align:middle;color:var(--ngx-json-toggler, #787878)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]:after{display:inline-block;content:"\\25ba";transition:transform .1s ease-in}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-key[_ngcontent-%COMP%]{color:var(--ngx-json-key, #4E187C)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-separator[_ngcontent-%COMP%]{color:var(--ngx-json-separator, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-value, #000)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .children[_ngcontent-%COMP%]{margin-left:12px}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-string[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-string, #FF6B6B)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-number[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-number, #009688)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-boolean[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-boolean, #B938A4)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-date[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-date, #05668D)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-array, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-object, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-function[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-function, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-null, #fff)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-undefined, #fff)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:var(--ngx-json-null-bg, red)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-key[_ngcontent-%COMP%]{color:var(--ngx-json-undefined-key, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:var(--ngx-json-undefined-key, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%]{white-space:nowrap}.ngx-json-viewer[_ngcontent-%COMP%] .expanded[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]:after{transform:rotate(90deg)}.ngx-json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]{cursor:pointer}']}),b})(),u=(()=>{class b{}return b.\u0275fac=function(M){return new(M||b)},b.\u0275mod=i.\u0275\u0275defineNgModule({type:b}),b.\u0275inj=i.\u0275\u0275defineInjector({imports:[a.CommonModule]}),b})()},5776:(Z,l,o)=>{"use strict";o.r(l),o.d(l,{BasePortalHost:()=>X,ComponentPortal:()=>oe,DefaultGlobalConfig:()=>Ye,DefaultNoAnimationsGlobalConfig:()=>Ve,DefaultNoComponentGlobalConfig:()=>ae,Overlay:()=>We,OverlayContainer:()=>it,OverlayRef:()=>be,TOAST_CONFIG:()=>te,Toast:()=>Ae,ToastContainerDirective:()=>z,ToastNoAnimation:()=>je,ToastNoAnimationModule:()=>ye,ToastPackage:()=>me,ToastRef:()=>K,ToastrComponentlessModule:()=>kt,ToastrModule:()=>ot,ToastrService:()=>ce,provideToastr:()=>Qe});var i=o(7786),a=o(6e3),f=o(9462),p=o(9453),d=o(4707);const h=["toast-component",""];function g(we,ne){if(1&we){const B=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"button",5),i.\u0275\u0275listener("click",function(){i.\u0275\u0275restoreView(B);const Ze=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(Ze.remove())}),i.\u0275\u0275elementStart(1,"span",6),i.\u0275\u0275text(2,"\xd7"),i.\u0275\u0275elementEnd()()}}function v(we,ne){if(1&we&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275text(1),i.\u0275\u0275elementContainerEnd()),2&we){const B=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1("[",B.duplicatesCount+1,"]")}}function m(we,ne){if(1&we&&(i.\u0275\u0275elementStart(0,"div"),i.\u0275\u0275text(1),i.\u0275\u0275template(2,v,2,1,"ng-container",4),i.\u0275\u0275elementEnd()),2&we){const B=i.\u0275\u0275nextContext();i.\u0275\u0275classMap(B.options.titleClass),i.\u0275\u0275attribute("aria-label",B.title),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1(" ",B.title," "),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",B.duplicatesCount)}}function u(we,ne){if(1&we&&i.\u0275\u0275element(0,"div",7),2&we){const B=i.\u0275\u0275nextContext();i.\u0275\u0275classMap(B.options.messageClass),i.\u0275\u0275property("innerHTML",B.message,i.\u0275\u0275sanitizeHtml)}}function b(we,ne){if(1&we&&(i.\u0275\u0275elementStart(0,"div",8),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&we){const B=i.\u0275\u0275nextContext();i.\u0275\u0275classMap(B.options.messageClass),i.\u0275\u0275attribute("aria-label",B.message),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1(" ",B.message," ")}}function C(we,ne){if(1&we&&(i.\u0275\u0275elementStart(0,"div"),i.\u0275\u0275element(1,"div",9),i.\u0275\u0275elementEnd()),2&we){const B=i.\u0275\u0275nextContext();i.\u0275\u0275advance(1),i.\u0275\u0275styleProp("width",B.width+"%")}}function M(we,ne){if(1&we){const B=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"button",5),i.\u0275\u0275listener("click",function(){i.\u0275\u0275restoreView(B);const Ze=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(Ze.remove())}),i.\u0275\u0275elementStart(1,"span",6),i.\u0275\u0275text(2,"\xd7"),i.\u0275\u0275elementEnd()()}}function S(we,ne){if(1&we&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275text(1),i.\u0275\u0275elementContainerEnd()),2&we){const B=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1("[",B.duplicatesCount+1,"]")}}function H(we,ne){if(1&we&&(i.\u0275\u0275elementStart(0,"div"),i.\u0275\u0275text(1),i.\u0275\u0275template(2,S,2,1,"ng-container",4),i.\u0275\u0275elementEnd()),2&we){const B=i.\u0275\u0275nextContext();i.\u0275\u0275classMap(B.options.titleClass),i.\u0275\u0275attribute("aria-label",B.title),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1(" ",B.title," "),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",B.duplicatesCount)}}function j(we,ne){if(1&we&&i.\u0275\u0275element(0,"div",7),2&we){const B=i.\u0275\u0275nextContext();i.\u0275\u0275classMap(B.options.messageClass),i.\u0275\u0275property("innerHTML",B.message,i.\u0275\u0275sanitizeHtml)}}function N(we,ne){if(1&we&&(i.\u0275\u0275elementStart(0,"div",8),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&we){const B=i.\u0275\u0275nextContext();i.\u0275\u0275classMap(B.options.messageClass),i.\u0275\u0275attribute("aria-label",B.message),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1(" ",B.message," ")}}function fe(we,ne){if(1&we&&(i.\u0275\u0275elementStart(0,"div"),i.\u0275\u0275element(1,"div",9),i.\u0275\u0275elementEnd()),2&we){const B=i.\u0275\u0275nextContext();i.\u0275\u0275advance(1),i.\u0275\u0275styleProp("width",B.width+"%")}}let z=(()=>{class we{el;constructor(B){this.el=B}getContainerElement(){return this.el.nativeElement}static \u0275fac=function(J){return new(J||we)(i.\u0275\u0275directiveInject(i.ElementRef))};static \u0275dir=i.\u0275\u0275defineDirective({type:we,selectors:[["","toastContainer",""]],exportAs:["toastContainer"],standalone:!0})}return we})();class oe{_attachedHost;component;viewContainerRef;injector;constructor(ne,B){this.component=ne,this.injector=B}attach(ne,B){return this._attachedHost=ne,ne.attach(this,B)}detach(){const ne=this._attachedHost;if(ne)return this._attachedHost=void 0,ne.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(ne){this._attachedHost=ne}}class X{_attachedPortal;_disposeFn;attach(ne,B){return this._attachedPortal=ne,this.attachComponentPortal(ne,B)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(ne){this._disposeFn=ne}}class K{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new p.x;_activate=new p.x;_manualClose=new p.x;_resetTimeout=new p.x;_countDuplicate=new p.x;constructor(ne){this._overlayRef=ne}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(ne,B){ne&&this._resetTimeout.next(),B&&this._countDuplicate.next(++this.duplicatesCount)}}class me{toastId;config;message;title;toastType;toastRef;_onTap=new p.x;_onAction=new p.x;constructor(ne,B,J,Ze,ct,Nt){this.toastId=ne,this.config=B,this.message=J,this.title=Ze,this.toastType=ct,this.toastRef=Nt,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(ne){this._onAction.next(ne)}onAction(){return this._onAction.asObservable()}}const ae={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},te=new i.InjectionToken("ToastConfig");class pe extends X{_hostDomElement;_componentFactoryResolver;_appRef;constructor(ne,B,J){super(),this._hostDomElement=ne,this._componentFactoryResolver=B,this._appRef=J}attachComponentPortal(ne,B){const J=this._componentFactoryResolver.resolveComponentFactory(ne.component);let Ze;return Ze=J.create(ne.injector),this._appRef.attachView(Ze.hostView),this.setDisposeFn(()=>{this._appRef.detachView(Ze.hostView),Ze.destroy()}),B?this._hostDomElement.insertBefore(this._getComponentRootNode(Ze),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(Ze)),Ze}_getComponentRootNode(ne){return ne.hostView.rootNodes[0]}}let it=(()=>{class we{_document=(0,i.inject)(f.DOCUMENT);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const B=this._document.createElement("div");B.classList.add("overlay-container"),B.setAttribute("aria-live","polite"),this._document.body.appendChild(B),this._containerElement=B}static \u0275fac=function(J){return new(J||we)};static \u0275prov=i.\u0275\u0275defineInjectable({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})();class be{_portalHost;constructor(ne){this._portalHost=ne}attach(ne,B=!0){return this._portalHost.attach(ne,B)}detach(){return this._portalHost.detach()}}let We=(()=>{class we{_overlayContainer=(0,i.inject)(it);_componentFactoryResolver=(0,i.inject)(i.ComponentFactoryResolver);_appRef=(0,i.inject)(i.ApplicationRef);_document=(0,i.inject)(f.DOCUMENT);_paneElements=new Map;create(B,J){return this._createOverlayRef(this.getPaneElement(B,J))}getPaneElement(B="",J){return this._paneElements.get(J)||this._paneElements.set(J,{}),this._paneElements.get(J)[B]||(this._paneElements.get(J)[B]=this._createPaneElement(B,J)),this._paneElements.get(J)[B]}_createPaneElement(B,J){const Ze=this._document.createElement("div");return Ze.id="toast-container",Ze.classList.add(B),Ze.classList.add("toast-container"),J?J.getContainerElement().appendChild(Ze):this._overlayContainer.getContainerElement().appendChild(Ze),Ze}_createPortalHost(B){return new pe(B,this._componentFactoryResolver,this._appRef)}_createOverlayRef(B){return new be(this._createPortalHost(B))}static \u0275fac=function(J){return new(J||we)};static \u0275prov=i.\u0275\u0275defineInjectable({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})(),ce=(()=>{class we{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(B,J,Ze,ct,Nt){this.overlay=J,this._injector=Ze,this.sanitizer=ct,this.ngZone=Nt,this.toastrConfig={...B.default,...B.config},B.config.iconClasses&&(this.toastrConfig.iconClasses={...B.default.iconClasses,...B.config.iconClasses})}show(B,J,Ze={},ct=""){return this._preBuildNotification(ct,B,J,this.applyConfig(Ze))}success(B,J,Ze={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",B,J,this.applyConfig(Ze))}error(B,J,Ze={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",B,J,this.applyConfig(Ze))}info(B,J,Ze={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",B,J,this.applyConfig(Ze))}warning(B,J,Ze={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",B,J,this.applyConfig(Ze))}clear(B){for(const J of this.toasts)if(void 0!==B){if(J.toastId===B)return void J.toastRef.manualClose()}else J.toastRef.manualClose()}remove(B){const J=this._findToast(B);if(!J||(J.activeToast.toastRef.close(),this.toasts.splice(J.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const Ze=this.toasts[this.currentlyActive].toastRef;Ze.isInactive()||(this.currentlyActive=this.currentlyActive+1,Ze.activate())}return!0}findDuplicate(B="",J="",Ze,ct){const{includeTitleDuplicates:Nt}=this.toastrConfig;for(const Dt of this.toasts)if((!Nt||Nt&&Dt.title===B)&&Dt.message===J)return Dt.toastRef.onDuplicate(Ze,ct),Dt;return null}applyConfig(B={}){return{...this.toastrConfig,...B}}_findToast(B){for(let J=0;J<this.toasts.length;J++)if(this.toasts[J].toastId===B)return{index:J,activeToast:this.toasts[J]};return null}_preBuildNotification(B,J,Ze,ct){return ct.onActivateTick?this.ngZone.run(()=>this._buildNotification(B,J,Ze,ct)):this._buildNotification(B,J,Ze,ct)}_buildNotification(B,J,Ze,ct){if(!ct.toastComponent)throw new Error("toastComponent required");const Nt=this.findDuplicate(Ze,J,this.toastrConfig.resetTimeoutOnDuplicate&&ct.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&Ze||J)&&this.toastrConfig.preventDuplicates&&null!==Nt)return Nt;this.previousToastMessage=J;let Dt=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(Dt=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const Vt=this.overlay.create(ct.positionClass,this.overlayContainer);this.index=this.index+1;let Fe=J;J&&ct.enableHtml&&(Fe=this.sanitizer.sanitize(i.SecurityContext.HTML,J));const ke=new K(Vt),Ge=new me(this.index,ct,Fe,Ze,B,ke),Te=i.Injector.create({providers:[{provide:me,useValue:Ge}],parent:this._injector}),pt=new oe(ct.toastComponent,Te),dt=Vt.attach(pt,ct.newestOnTop);ke.componentInstance=dt.instance;const qe={toastId:this.index,title:Ze||"",message:J||"",toastRef:ke,onShown:ke.afterActivate(),onHidden:ke.afterClosed(),onTap:Ge.onTap(),onAction:Ge.onAction(),portal:dt};return Dt||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{qe.toastRef.activate()})),this.toasts.push(qe),qe}static \u0275fac=function(J){return new(J||we)(i.\u0275\u0275inject(te),i.\u0275\u0275inject(We),i.\u0275\u0275inject(i.Injector),i.\u0275\u0275inject(d.DomSanitizer),i.\u0275\u0275inject(i.NgZone))};static \u0275prov=i.\u0275\u0275defineInjectable({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})(),Ae=(()=>{class we{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=-1;toastClasses="";state;get displayStyle(){if("inactive"===this.state.value)return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(B,J,Ze){this.toastrService=B,this.toastPackage=J,this.ngZone=Ze,this.message=J.message,this.title=J.title,this.options=J.config,this.originalTimeout=J.config.timeOut,this.toastClasses=`${J.toastType} ${J.config.toastClass}`,this.sub=J.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=J.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=J.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=J.toastRef.countDuplicate().subscribe(ct=>{this.duplicatesCount=ct}),this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}}}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...this.state,value:"active"},!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const B=(new Date).getTime();this.width=(this.hideTime-B)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state={...this.state,value:"active"},this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state={...this.state,value:"removed"},this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&"extendedTimeOut"!==this.options.disableTimeOut&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(B,J){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(B),J)):this.timeout=setTimeout(()=>B(),J)}outsideInterval(B,J){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(B),J)):this.intervalId=setInterval(()=>B(),J)}runInsideAngular(B){this.ngZone?this.ngZone.run(()=>B()):B()}static \u0275fac=function(J){return new(J||we)(i.\u0275\u0275directiveInject(ce),i.\u0275\u0275directiveInject(me),i.\u0275\u0275directiveInject(i.NgZone))};static \u0275cmp=i.\u0275\u0275defineComponent({type:we,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(J,Ze){1&J&&i.\u0275\u0275listener("click",function(){return Ze.tapToast()})("mouseenter",function(){return Ze.stickAround()})("mouseleave",function(){return Ze.delayedHideToast()}),2&J&&(i.\u0275\u0275syntheticHostProperty("@flyInOut",Ze.state),i.\u0275\u0275classMap(Ze.toastClasses),i.\u0275\u0275styleProp("display",Ze.displayStyle))},standalone:!0,features:[i.\u0275\u0275StandaloneFeature],attrs:h,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(J,Ze){1&J&&(i.\u0275\u0275template(0,g,3,0,"button",0),i.\u0275\u0275template(1,m,3,5,"div",1),i.\u0275\u0275template(2,u,1,3,"div",2),i.\u0275\u0275template(3,b,2,4,"div",3),i.\u0275\u0275template(4,C,2,2,"div",4)),2&J&&(i.\u0275\u0275property("ngIf",Ze.options.closeButton),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",Ze.title),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",Ze.message&&Ze.options.enableHtml),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",Ze.message&&!Ze.options.enableHtml),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",Ze.options.progressBar))},dependencies:[f.NgIf],encapsulation:2,data:{animation:[(0,a.X$)("flyInOut",[(0,a.SB)("inactive",(0,a.oB)({opacity:0})),(0,a.SB)("active",(0,a.oB)({opacity:1})),(0,a.SB)("removed",(0,a.oB)({opacity:0})),(0,a.eR)("inactive => active",(0,a.jt)("{{ easeTime }}ms {{ easing }}")),(0,a.eR)("active => removed",(0,a.jt)("{{ easeTime }}ms {{ easing }}"))])]}})}return we})();const Ye={...ae,toastComponent:Ae},Qe=(we={})=>(0,i.makeEnvironmentProviders)([{provide:te,useValue:{default:Ye,config:we}}]);let ot=(()=>{class we{static forRoot(B={}){return{ngModule:we,providers:[Qe(B)]}}static \u0275fac=function(J){return new(J||we)};static \u0275mod=i.\u0275\u0275defineNgModule({type:we});static \u0275inj=i.\u0275\u0275defineInjector({})}return we})(),kt=(()=>{class we{static forRoot(B={}){return{ngModule:ot,providers:[{provide:te,useValue:{default:ae,config:B}}]}}static \u0275fac=function(J){return new(J||we)};static \u0275mod=i.\u0275\u0275defineNgModule({type:we});static \u0275inj=i.\u0275\u0275defineInjector({})}return we})(),je=(()=>{class we{toastrService;toastPackage;appRef;message;title;options;duplicatesCount;originalTimeout;width=-1;toastClasses="";get displayStyle(){if("inactive"===this.state)return"none"}state="inactive";timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(B,J,Ze){this.toastrService=B,this.toastPackage=J,this.appRef=Ze,this.message=J.message,this.title=J.title,this.options=J.config,this.originalTimeout=J.config.timeOut,this.toastClasses=`${J.toastType} ${J.config.toastClass}`,this.sub=J.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=J.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=J.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=J.toastRef.countDuplicate().subscribe(ct=>{this.duplicatesCount=ct})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state="active",!(!0===this.options.disableTimeOut||"timeOut"===this.options.disableTimeOut)&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const B=(new Date).getTime();this.width=(this.hideTime-B)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=(new Date).getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){"removed"!==this.state&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){"removed"!==this.state&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}static \u0275fac=function(J){return new(J||we)(i.\u0275\u0275directiveInject(ce),i.\u0275\u0275directiveInject(me),i.\u0275\u0275directiveInject(i.ApplicationRef))};static \u0275cmp=i.\u0275\u0275defineComponent({type:we,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(J,Ze){1&J&&i.\u0275\u0275listener("click",function(){return Ze.tapToast()})("mouseenter",function(){return Ze.stickAround()})("mouseleave",function(){return Ze.delayedHideToast()}),2&J&&(i.\u0275\u0275classMap(Ze.toastClasses),i.\u0275\u0275styleProp("display",Ze.displayStyle))},standalone:!0,features:[i.\u0275\u0275StandaloneFeature],attrs:h,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(J,Ze){1&J&&(i.\u0275\u0275template(0,M,3,0,"button",0),i.\u0275\u0275template(1,H,3,5,"div",1),i.\u0275\u0275template(2,j,1,3,"div",2),i.\u0275\u0275template(3,N,2,4,"div",3),i.\u0275\u0275template(4,fe,2,2,"div",4)),2&J&&(i.\u0275\u0275property("ngIf",Ze.options.closeButton),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",Ze.title),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",Ze.message&&Ze.options.enableHtml),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",Ze.message&&!Ze.options.enableHtml),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",Ze.options.progressBar))},dependencies:[f.NgIf],encapsulation:2})}return we})();const Ve={...ae,toastComponent:je};let ye=(()=>{class we{static forRoot(B={}){return{ngModule:we,providers:[{provide:te,useValue:{default:Ve,config:B}}]}}static \u0275fac=function(J){return new(J||we)};static \u0275mod=i.\u0275\u0275defineNgModule({type:we});static \u0275inj=i.\u0275\u0275defineInjector({})}return we})()},4147:Z=>{"use strict";Z.exports=JSON.parse('{"name":"@sdkgen/playground","version":"0.0.0","description":"","main":"index.js","types":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/sdkgen/sdkgen.git"},"publishConfig":{"access":"public"},"scripts":{"eslint:fix":"eslint --fix \'src/**/*.{t,j}s\'","eslint:check":"eslint \'src/**/*.{t,j}s\'","ng":"ng","start":"ng serve","build":"ng build","build:stats":"ng build --stats-json","analyze":"webpack-bundle-analyzer dist/stats.json","watch":"ng build --watch --configuration development"},"dependencies":{},"devDependencies":{"@angular-devkit/build-angular":"~16.2.3","@angular/animations":"~16.2.6","@angular/cdk":"~16.2.5","@angular/cli":"~16.2.3","@angular/common":"~16.2.6","@angular/compiler":"~16.2.6","@angular/compiler-cli":"~16.2.6","@angular/core":"~16.2.6","@angular/forms":"~16.2.6","@angular/material":"~16.2.5","@angular/platform-browser":"~16.2.6","@angular/platform-browser-dynamic":"~16.2.6","@angular/router":"~16.2.6","@cubos/eslint-config":"^2.2.0","@materia-ui/ngx-monaco-editor":"^6.0.0","@sdkgen/browser-runtime":"*","@sdkgen/csharp-generator":"*","@sdkgen/dart-generator":"*","@sdkgen/fsharp-generator":"*","@sdkgen/kotlin-generator":"*","@sdkgen/parser":"*","@sdkgen/swift-generator":"*","@sdkgen/typescript-generator":"*","@types/file-saver":"^2.0.5","@types/node":"^20.6.5","angular-split":"^16.2.1","file-saver":"^2.0.5","json":"^11.0.0","monaco-editor":"^0.43.0","ngx-json-viewer":"^3.2.1","ngx-toastr":"^17.0.2","rxjs":"~7.8.1","tslib":"^2.6.2","typescript":"~5.1.3","webpack-bundle-analyzer":"^4.9.1","zone.js":"~0.13.3"}}')}},Z=>{Z(Z.s=2130)}]);