@sdkgen/playground 0.0.0-dev.20240110180718 → 0.0.0-dev.20240110190142
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],{3661:(Ke,De,y)=>{"use strict";y.d(De,{m:()=>pe});var f=y(7481),o=y(1322),ve=y(9462),be=y(6086),de=y(7950),ne=y(1238);function ue(le,Se){1&le&&(o.ynx(0),o._uU(1,"info_outline"),o.BQk())}function me(le,Se){1&le&&(o.ynx(0),o._uU(1,"error"),o.BQk())}function fe(le,Se){1&le&&(o.ynx(0),o._uU(1,"public"),o.BQk())}function Q(le,Se){1&le&&(o.ynx(0),o._uU(1,"warning"),o.BQk())}function Y(le,Se){1&le&&(o.ynx(0),o._uU(1,"bug_report"),o.BQk())}function J(le,Se){if(1&le&&o._UZ(0,"ngx-json-viewer",6),2&le){const G=o.oxw().$implicit;o.Q6J("json",G.details)("expanded",!1)}}function re(le,Se){if(1&le&&(o.TgZ(0,"li",2)(1,"mat-icon",3),o.YNc(2,ue,2,0,"ng-container",4)(3,me,2,0,"ng-container",4)(4,fe,2,0,"ng-container",4)(5,Q,2,0,"ng-container",4)(6,Y,2,0,"ng-container",4),o.qZA(),o.TgZ(7,"span"),o._uU(8),o.qZA(),o.YNc(9,J,1,2,"ngx-json-viewer",5),o.qZA()),2&le){const G=Se.$implicit,Z=o.oxw();o.Q6J("ngClass",G.type),o.xp6(1),o.Q6J("ngSwitch",G.type)("ngClass",G.type),o.xp6(1),o.Q6J("ngSwitchCase",Z.itemTypes.INFO),o.xp6(1),o.Q6J("ngSwitchCase",Z.itemTypes.ERROR),o.xp6(1),o.Q6J("ngSwitchCase",Z.itemTypes.NETWORK),o.xp6(1),o.Q6J("ngSwitchCase",Z.itemTypes.WARN),o.xp6(1),o.Q6J("ngSwitchCase",Z.itemTypes.DEBUG),o.xp6(2),o.Oqu(G.message),o.xp6(1),o.Q6J("ngIf",G.details)}}let pe=(()=>{class le{constructor(){this.itemTypes=f.p,this.items=[]}static#e=this.\u0275fac=function(Z){return new(Z||le)};static#t=this.\u0275cmp=o.Xpm({type:le,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,ae){1&Z&&(o.TgZ(0,"header")(1,"strong"),o._uU(2,"CONSOLE"),o.qZA(),o._UZ(3,"s"),o.TgZ(4,"button",0),o.NdJ("click",function(){return ae.items.splice(0,ae.items.length)}),o.TgZ(5,"mat-icon"),o._uU(6,"delete"),o.qZA()()(),o.TgZ(7,"ul"),o.YNc(8,re,10,10,"li",1),o.qZA()),2&Z&&(o.xp6(8),o.Q6J("ngForOf",ae.items))},dependencies:[ve.mk,ve.sg,ve.O5,ve.RF,ve.n9,be.Y,de.RK,ne.Hw],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 le})()},7481:(Ke,De,y)=>{"use strict";y.d(De,{p:()=>f});var f=function(o){return o.INFO="info",o.ERROR="error",o.WARN="warn",o.DEBUG="debug",o.NETWORK="network",o}(f||{})},3855:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{G:()=>SdkgenService});var _home_runner_work_sdkgen_sdkgen_packages_playground_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(5861),_sdkgen_browser_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2973),_sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1890),rxjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1625),_angular_core__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(1322);let SdkgenService=(()=>{class SdkgenService{constructor(){this.state$=new rxjs__WEBPACK_IMPORTED_MODULE_2__.X(null)}buildJsonObject(Ke,De=new Set){const y=f=>{switch(f.constructor){case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Qs:return"";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.mN:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.kM:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__._P:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.zE:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Bn:return 0;case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.KW:return"0.00";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.xW:return(new Date).toJSON().substring(0,10);case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Gf:return(new Date).toJSON().substring(0,23);case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Wi:return Math.random()>.5;case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.RE:return null;case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Xj:return"000.000.001-91";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Ro:return"00.000.001/0001-91";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Tp:return"joao@acme.com";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Oo:return"https://www.google.com/";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.ZU:return"00000000-0000-0000-0000-000000000000";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.iE:return new Array(32).fill(0).map(()=>"0123456789abcdef"[Math.floor(16*Math.random())]).join("");case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.dp:return"<h1>Hello world!</h1>";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.lw:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.OR:return"0a=";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.BD:return"<xml></xml>";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.cs:return{};case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.JQ:return De.has(f.name)?{}:this.buildJsonObject(f.fields,new Set([...De,f.name]));case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.H1:return null;case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.d:return y(f.type);case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.ts:return[y(f.base),y(f.base),y(f.base)];case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.PK:return f.values[0].value;default:return null}};return Ke.reduce((f,o)=>(f[o.name]=y(o.type),f),{})}getTypeScriptCode(Ke,De){return`await client.${Ke}(${JSON.stringify(De,null,2)});\n`}buildKotlinString(Ke,De=0){const y=f=>{switch(f.constructor){case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Qs:return'""';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.mN:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.kM:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__._P:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.zE:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Bn:return 0;case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.KW:return'BigDecimal("0.00")';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.xW:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Gf:return"Calendar.getInstance()";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Wi:return Math.random()>.5?"true":"false";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.RE:return"null";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Xj:return'"000.000.001-91"';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Ro:return'"00.000.001/0001-91"';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Tp:return'"joao@acme.com"';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Oo:return'"https://www.google.com/"';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.ZU:return'"00000000-0000-0000-0000-000000000000"';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.iE:return`"${new Array(32).fill(0).map(()=>"0123456789abcdef"[Math.floor(16*Math.random())]).join("")}"`;case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.dp:return'"<h1>Hello world!</h1>"';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.lw:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.OR:return'"0a="';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.BD:return'"<xml></xml>"';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.cs:return"json {}";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.JQ:return`${f.name}(\n${this.buildKotlinString(f.fields,De+1)}\n${" ".repeat(De+1)})`;case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.H1:return"null";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.d:return y(f.type);case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.ts:De++;const o=y(f.base);return De--,`arrayOf(\n${" ".repeat(De+2)}${o},\n${" ".repeat(De+2)}${o}\n${" ".repeat(De+1)})`;case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.PK:return`"${f.values[0].value}"`;default:return"<>()"}};return Ke.map(f=>`${" ".repeat(De+1)}${y(f.type)}`).join(",\n")}getKotlinCode(Ke,De){return 0===De.length?`client.${Ke}().await();`:`client.${Ke}(\n${this.buildKotlinString(De)}\n).await();`}getDartCode(Ke,De){return'print("todo");'}getSwiftCode(Ke,De){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===_sdkgen_browser_runtime__WEBPACK_IMPORTED_MODULE_0__.zG?"data = null;":""}\n\n constructor(message${base===_sdkgen_browser_runtime__WEBPACK_IMPORTED_MODULE_0__.zG?", data":""}) {\n super(message${base===_sdkgen_browser_runtime__WEBPACK_IMPORTED_MODULE_0__.zG?", data":""});\n this.message = message;\n ${base===_sdkgen_browser_runtime__WEBPACK_IMPORTED_MODULE_0__.zG?"this.data = data;":""}\n this.toString = () => this.type + ": " + this.message;\n }\n }\n )`)(base)}return"string"==typeof cur?acc[cur]=errorClass(cur,_sdkgen_browser_runtime__WEBPACK_IMPORTED_MODULE_0__.Nn):acc[cur[0]]=errorClass(cur[0],_sdkgen_browser_runtime__WEBPACK_IMPORTED_MODULE_0__.zG),acc},{}),clientInstance=new _sdkgen_browser_runtime__WEBPACK_IMPORTED_MODULE_0__.RJ(url,ast,errorFns);return new Proxy(clientInstance,{get:(Ke,De)=>["baseUrl","extra","successHook","errorHook","makeRequest"].includes(De.toString())?clientInstance[De.toString()]:function(){var y=(0,_home_runner_work_sdkgen_sdkgen_packages_playground_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__.Z)(function*(f){return clientInstance.makeRequest(De.toString(),f)});return function(f){return y.apply(this,arguments)}}()})}static#_=this.\u0275fac=function Ke(De){return new(De||SdkgenService)};static#_2=this.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_4__.Yz7({token:SdkgenService,factory:SdkgenService.\u0275fac,providedIn:"root"})}return SdkgenService})()},2311:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>SimpleCallComponent});var _home_runner_work_sdkgen_sdkgen_packages_playground_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(5861),_angular_forms__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8832),_console_console_types__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7481),_utils_code_execution__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(9086),_angular_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(1322),_sdkgen_service__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(3855),_materia_ui_ngx_monaco_editor__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(9309),ngx_json_viewer__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(6086),angular_split__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(534),_angular_material_button__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(7950),_angular_material_icon__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(1238),_angular_material_tabs__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(7361),_console_console_component__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(3661);let SimpleCallComponent=(()=>{class SimpleCallComponent{constructor(Ke){this.sdkgen=Ke,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 _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NI(0),this.consoleItems=[]}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(Ke=>{Ke&&(this.generateFunctionCode(Ke.astRoot,this.fn),this.client=this.sdkgen.getSdkgenClient(Ke.url,Ke.astJson))})}ngOnDestroy(){this.state$?.unsubscribe()}run(){var _this=this;return(0,_home_runner_work_sdkgen_sdkgen_packages_playground_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_4__.Z)(function*(){try{_this.busy=!0;{const events=_this.consoleItems;eval(_utils_code_execution__WEBPACK_IMPORTED_MODULE_5__.Y)}if(_this.extras&&_this.extras!==_this.initialExtras){const Ke=JSON.parse(_this.extras),De=Object.keys(Ke);for(const y of De)_this.client?.extra.set(y,Ke[y])}const exec=_this.client[_this.fn](JSON.parse(_this.code));_this.response={result:yield exec}}catch(Ke){_this.consoleItems.push({type:_console_console_types__WEBPACK_IMPORTED_MODULE_0__.p.ERROR,message:Ke.toString()}),delete Ke.toString,_this.response={error:{type:Ke.type,message:Ke.message,data:Ke.data}}}finally{eval(_utils_code_execution__WEBPACK_IMPORTED_MODULE_5__.W),_this.selected.setValue(2),_this.busy=!1}})()}generateFunctionCode(Ke,De){const y=Ke.operations.find(f=>f.name===De)?.args;y&&(this.code=JSON.stringify(this.sdkgen.buildJsonObject(y),null,2))}static#_=this.\u0275fac=function Ke(De){return new(De||SimpleCallComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_6__.Y36(_sdkgen_service__WEBPACK_IMPORTED_MODULE_1__.G))};static#_2=this.\u0275cmp=_angular_core__WEBPACK_IMPORTED_MODULE_6__.Xpm({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 Ke(De,y){1&De&&(_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(0,"as-split",0)(1,"as-split-area")(2,"mat-tab-group",1),_angular_core__WEBPACK_IMPORTED_MODULE_6__.NdJ("selectedIndexChange",function(o){return y.selected.setValue(o)}),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(3,"mat-tab",2)(4,"button",3),_angular_core__WEBPACK_IMPORTED_MODULE_6__.NdJ("click",function(){return y.run()}),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(5,"mat-icon"),_angular_core__WEBPACK_IMPORTED_MODULE_6__._uU(6,"play_arrow"),_angular_core__WEBPACK_IMPORTED_MODULE_6__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(7,"ngx-monaco-editor",4),_angular_core__WEBPACK_IMPORTED_MODULE_6__.NdJ("ngModelChange",function(o){return y.code=o}),_angular_core__WEBPACK_IMPORTED_MODULE_6__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(8,"mat-tab",5)(9,"ngx-monaco-editor",4),_angular_core__WEBPACK_IMPORTED_MODULE_6__.NdJ("ngModelChange",function(o){return y.extras=o}),_angular_core__WEBPACK_IMPORTED_MODULE_6__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(10,"mat-tab",6),_angular_core__WEBPACK_IMPORTED_MODULE_6__._UZ(11,"ngx-json-viewer",7),_angular_core__WEBPACK_IMPORTED_MODULE_6__.qZA()()(),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(12,"as-split-area",8),_angular_core__WEBPACK_IMPORTED_MODULE_6__._UZ(13,"app-console",9),_angular_core__WEBPACK_IMPORTED_MODULE_6__.qZA()()),2&De&&(_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("selectedIndex",y.selected.value),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("disabled",y.busy),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("options",y.editorOptions)("ngModel",y.code),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("options",y.editorOptions)("ngModel",y.extras),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("disabled",!y.response),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("json",y.response),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("size",30),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("items",y.consoleItems))},dependencies:[_angular_forms__WEBPACK_IMPORTED_MODULE_3__.JJ,_angular_forms__WEBPACK_IMPORTED_MODULE_3__.On,_materia_ui_ngx_monaco_editor__WEBPACK_IMPORTED_MODULE_7__.T2,ngx_json_viewer__WEBPACK_IMPORTED_MODULE_8__.Y,angular_split__WEBPACK_IMPORTED_MODULE_9__.Mq,angular_split__WEBPACK_IMPORTED_MODULE_9__.zE,_angular_material_button__WEBPACK_IMPORTED_MODULE_10__.cs,_angular_material_icon__WEBPACK_IMPORTED_MODULE_11__.Hw,_angular_material_tabs__WEBPACK_IMPORTED_MODULE_12__.uX,_angular_material_tabs__WEBPACK_IMPORTED_MODULE_12__.SP,_console_console_component__WEBPACK_IMPORTED_MODULE_2__.m],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})()},3101:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{I:()=>TabEditorComponent});var _home_runner_work_sdkgen_sdkgen_packages_playground_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(5861),_sdkgen_typescript_generator__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3866),_console_console_types__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(7481),_utils_code_execution__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(9086),_angular_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(1322),_sdkgen_service__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(3855),_angular_forms__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(8832),_materia_ui_ngx_monaco_editor__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(9309),angular_split__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(534),_angular_material_button__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(7950),_angular_material_icon__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(1238),_console_console_component__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(3661);let TabEditorComponent=(()=>{class TabEditorComponent{constructor(Ke){this.sdkgen=Ke,this.code="",this.busy=!1,this.editorOptions={theme:"vs-dark",language:"typescript"},this.consoleItems=[{type:_console_console_types__WEBPACK_IMPORTED_MODULE_1__.p.INFO,message:"Bem-vindo! A sa\xedda dos seus testes aparecer\xe1 aqui :)"}]}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(Ke=>{if(!Ke)return;const De=`${this.patchBrowserClientSource((0,_sdkgen_typescript_generator__WEBPACK_IMPORTED_MODULE_0__.E2)(Ke.astRoot))}\n\ndeclare const client: sdkgen.ApiClient;\n\n`;this.client=this.sdkgen.getSdkgenClient(Ke.url,Ke.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 y=monaco.editor.getModels().find(o=>o.uri.toString().endsWith("client.d.ts"));y?y.setValue(De):monaco.editor.createModel(De,"typescript",monaco.Uri.parse("ts:filename/client.d.ts"));const[f]=Ke.astRoot.operations;this.code=this.sdkgen.getTypeScriptCode(f.name,this.sdkgen.buildJsonObject(f.args))})}ngOnDestroy(){this.state$?.unsubscribe()}patchBrowserClientSource(Ke){return`declare namespace sdkgen {\n${Ke.substring(95,Ke.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(0,_home_runner_work_sdkgen_sdkgen_packages_playground_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_4__.Z)(function*(){try{_this.busy=!0,yield eval(`\n (async (client, events) => {\n ${_utils_code_execution__WEBPACK_IMPORTED_MODULE_5__.Y}\n ${_this.code}\n })\n `)(_this.client,_this.consoleItems).finally(()=>eval(_utils_code_execution__WEBPACK_IMPORTED_MODULE_5__.W))}catch(Ke){_this.consoleItems.push({type:_console_console_types__WEBPACK_IMPORTED_MODULE_1__.p.ERROR,message:Ke.toString()})}_this.busy=!1})()}static#_=this.\u0275fac=function Ke(De){return new(De||TabEditorComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_6__.Y36(_sdkgen_service__WEBPACK_IMPORTED_MODULE_2__.G))};static#_2=this.\u0275cmp=_angular_core__WEBPACK_IMPORTED_MODULE_6__.Xpm({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 Ke(De,y){1&De&&(_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(0,"button",0),_angular_core__WEBPACK_IMPORTED_MODULE_6__.NdJ("click",function(){return y.run()}),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(1,"mat-icon"),_angular_core__WEBPACK_IMPORTED_MODULE_6__._uU(2,"play_arrow"),_angular_core__WEBPACK_IMPORTED_MODULE_6__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(3,"as-split",1)(4,"as-split-area",2)(5,"ngx-monaco-editor",3),_angular_core__WEBPACK_IMPORTED_MODULE_6__.NdJ("ngModelChange",function(o){return y.code=o}),_angular_core__WEBPACK_IMPORTED_MODULE_6__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(6,"as-split-area",4),_angular_core__WEBPACK_IMPORTED_MODULE_6__._UZ(7,"app-console",5),_angular_core__WEBPACK_IMPORTED_MODULE_6__.qZA()()),2&De&&(_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("disabled",y.busy),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("options",y.editorOptions)("ngModel",y.code),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("size",30),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("items",y.consoleItems))},dependencies:[_angular_forms__WEBPACK_IMPORTED_MODULE_7__.JJ,_angular_forms__WEBPACK_IMPORTED_MODULE_7__.On,_materia_ui_ngx_monaco_editor__WEBPACK_IMPORTED_MODULE_8__.T2,angular_split__WEBPACK_IMPORTED_MODULE_9__.Mq,angular_split__WEBPACK_IMPORTED_MODULE_9__.zE,_angular_material_button__WEBPACK_IMPORTED_MODULE_10__.cs,_angular_material_icon__WEBPACK_IMPORTED_MODULE_11__.Hw,_console_console_component__WEBPACK_IMPORTED_MODULE_3__.m],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})()},9086:(Ke,De,y)=>{"use strict";y.d(De,{W:()=>o,Y:()=>f});const f='\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',o="\n XMLHttpRequest.prototype.open = window.___originalXmlHttpRequestOpen;\n for (const method of window.__originalConsole) {\n console[method.name] = method;\n }\n"},9670:(Ke,De,y)=>{"use strict";var f=y(4707),o=y(1322),ve=y(9272),be=y(8832),de=y(7950),ne=y(5988),ue=y(9462),me=y(9021),fe=y(8654),Q=y(9453),Y=y(4991),J=y(3581),re=y(5779),pe=y(19),le=y(2835),Se=y(7605),G=y(4877),Z=y(6e3);function Ln(l,a){1&l&&(o.TgZ(0,"span",7),o.Hsn(1,1),o.qZA())}function Yn(l,a){1&l&&(o.TgZ(0,"span",8),o.Hsn(1,2),o.qZA())}const Kn=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],qe=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],zt=["*"],Kt=new o.OlP("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[Se.K5]})}),ln=new o.OlP("MatChipAvatar"),St=new o.OlP("MatChipTrailingIcon"),Ci=new o.OlP("MatChipRemove"),Be=new o.OlP("MatChip");class V{}const Ee=(0,me.sb)(V,-1);let Je=(()=>{class l extends Ee{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(i){this._disabled=(0,ne.Ig)(i)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(i,s){super(),this._elementRef=i,this._parentChip=s,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===i.nativeElement.nodeName&&i.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(i){!this.disabled&&this.isInteractive&&this._isPrimary&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(i){(i.keyCode===Se.K5||i.keyCode===Se.L_)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(Be))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(s,u){1&s&&o.NdJ("click",function(b){return u._handleClick(b)})("keydown",function(b){return u._handleKeydown(b)}),2&s&&(o.uIk("tabindex",u._getTabindex())("disabled",u._getDisabledAttribute())("aria-disabled",u.disabled),o.ekj("mdc-evolution-chip__action--primary",u._isPrimary)("mdc-evolution-chip__action--presentational",!u.isInteractive)("mdc-evolution-chip__action--trailing",!u._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[o.qOj]})}return l})(),jt=0;const Wt=(0,me.sb)((0,me.pj)((0,me.Kr)((0,me.Id)(class{constructor(l){this._elementRef=l}})),"primary"),-1);let Pt=(()=>{class l extends Wt{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(i){this._value=i}get removable(){return this._removable}set removable(i){this._removable=(0,ne.Ig)(i)}get highlighted(){return this._highlighted}set highlighted(i){this._highlighted=(0,ne.Ig)(i)}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(i){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,i)}constructor(i,s,u,p,b,B,oe,Ce){super(s),this._changeDetectorRef=i,this._ngZone=u,this._focusMonitor=p,this._globalRippleOptions=oe,this._onFocus=new Q.x,this._onBlur=new Q.x,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+jt++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new o.vpe,this.destroyed=new o.vpe,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=(0,o.f3M)(me.Fq),this._document=b,this._animationsDisabled="NoopAnimations"===B,null!=Ce&&(this.tabIndex=parseInt(Ce)??this.defaultTabIndex),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){const i=this._elementRef.nativeElement;this._isBasicChip=i.hasAttribute(this.basicChipAttrName)||i.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,Y.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._rippleLoader?.destroyRipple(this._elementRef.nativeElement),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(i){(i.keyCode===Se.ZH||i.keyCode===Se.yY)&&(i.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(i){return this._getActions().find(s=>{const u=s._elementRef.nativeElement;return u===i||u.contains(i)})}_getActions(){const i=[];return this.primaryAction&&i.push(this.primaryAction),this.removeIcon&&i.push(this.removeIcon),this.trailingIcon&&i.push(this.trailingIcon),i}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(i=>{const s=null!==i;s!==this._hasFocusInternal&&(this._hasFocusInternal=s,s?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe((0,J.q)(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(fe.tE),o.Y36(ue.K0),o.Y36(o.QbO,8),o.Y36(me.Y2,8),o.$8M("tabindex"))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(s,u,p){if(1&s&&(o.Suo(p,ln,5),o.Suo(p,St,5),o.Suo(p,Ci,5),o.Suo(p,ln,5),o.Suo(p,St,5),o.Suo(p,Ci,5)),2&s){let b;o.iGM(b=o.CRH())&&(u.leadingIcon=b.first),o.iGM(b=o.CRH())&&(u.trailingIcon=b.first),o.iGM(b=o.CRH())&&(u.removeIcon=b.first),o.iGM(b=o.CRH())&&(u._allLeadingIcons=b),o.iGM(b=o.CRH())&&(u._allTrailingIcons=b),o.iGM(b=o.CRH())&&(u._allRemoveIcons=b)}},viewQuery:function(s,u){if(1&s&&o.Gf(Je,5),2&s){let p;o.iGM(p=o.CRH())&&(u.primaryAction=p.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(s,u){1&s&&o.NdJ("keydown",function(b){return u._handleKeydown(b)}),2&s&&(o.Ikx("id",u.id),o.uIk("role",u.role)("tabindex",u.role?u.tabIndex:null)("aria-label",u.ariaLabel),o.ekj("mdc-evolution-chip",!u._isBasicChip)("mdc-evolution-chip--disabled",u.disabled)("mdc-evolution-chip--with-trailing-action",u._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",u.leadingIcon)("mdc-evolution-chip--with-primary-icon",u.leadingIcon)("mdc-evolution-chip--with-avatar",u.leadingIcon)("mat-mdc-chip-with-avatar",u.leadingIcon)("mat-mdc-chip-highlighted",u.highlighted)("mat-mdc-chip-disabled",u.disabled)("mat-mdc-basic-chip",u._isBasicChip)("mat-mdc-standard-chip",!u._isBasicChip)("mat-mdc-chip-with-trailing-icon",u._hasTrailingIcon())("_mat-animation-noopable",u._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:[o._Bn([{provide:Be,useExisting:l}]),o.qOj],ngContentSelectors:qe,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"],[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"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(s,u){1&s&&(o.F$t(Kn),o._UZ(0,"span",0),o.TgZ(1,"span",1)(2,"span",2),o.YNc(3,Ln,2,0,"span",3),o.TgZ(4,"span",4),o.Hsn(5),o._UZ(6,"span",5),o.qZA()()(),o.YNc(7,Yn,2,0,"span",6)),2&s&&(o.xp6(2),o.Q6J("isInteractive",!1),o.xp6(1),o.um2(3,u.leadingIcon?3:-1),o.xp6(4),o.um2(7,u._hasTrailingIcon()?7:-1))},dependencies:[Je],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)}.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 l})();class xe{constructor(a){}}const $e=(0,me.sb)(xe);let et=(()=>{class l extends $e{get chipFocusChanges(){return this._getChipStream(i=>i._onFocus)}get chipDestroyedChanges(){return this._getChipStream(i=>i.destroyed)}get disabled(){return this._disabled}set disabled(i){this._disabled=(0,ne.Ig)(i),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(i){this._explicitRole=i}get focused(){return this._hasFocusedChip()}constructor(i,s,u){super(i),this._elementRef=i,this._changeDetectorRef=s,this._dir=u,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new Q.x,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new o.n_E}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(i=>i._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(i=>{i.disabled=this._disabled,i._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(i){this._originatesFromChip(i)&&this._keyManager.onKeydown(i)}_isValidIndex(i){return i>=0&&i<this._chips.length}_allowFocusEscape(){if(-1!==this.tabIndex){const i=this.tabIndex;this.tabIndex=-1,setTimeout(()=>this.tabIndex=i)}}_getChipStream(i){return this._chips.changes.pipe((0,pe.O)(null),(0,le.w)(()=>(0,Y.T)(...this._chips.map(i))))}_originatesFromChip(i){let s=i.target;for(;s&&s!==this._elementRef.nativeElement;){if(s.classList.contains("mat-mdc-chip"))return!0;s=s.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe((0,pe.O)(this._chips)).subscribe(i=>{const s=[];i.forEach(u=>u._getActions().forEach(p=>s.push(p))),this._chipActions.reset(s),this._chipActions.notifyOnChanges()}),this._keyManager=new fe.Em(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(i=>this._skipPredicate(i)),this.chipFocusChanges.pipe((0,re.R)(this._destroyed)).subscribe(({chip:i})=>{const s=i._getSourceAction(document.activeElement);s&&this._keyManager.updateActiveItem(s)}),this._dir?.change.pipe((0,re.R)(this._destroyed)).subscribe(i=>this._keyManager.withHorizontalOrientation(i))}_skipPredicate(i){return!i.isInteractive||i.disabled}_trackChipSetChanges(){this._chips.changes.pipe((0,pe.O)(null),(0,re.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe((0,re.R)(this._destroyed)).subscribe(i=>{const u=this._chips.toArray().indexOf(i.chip);this._isValidIndex(u)&&i.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=u)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const i=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),s=this._chips.toArray()[i];s.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():s.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(G.Is,8))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["mat-chip-set"]],contentQueries:function(s,u,p){if(1&s&&o.Suo(p,Pt,5),2&s){let b;o.iGM(b=o.CRH())&&(u._chips=b)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(s,u){1&s&&o.NdJ("keydown",function(b){return u._handleKeydown(b)}),2&s&&o.uIk("role",u.role)},inputs:{disabled:"disabled",role:"role"},features:[o.qOj],ngContentSelectors:zt,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(s,u){1&s&&(o.F$t(),o.TgZ(0,"div",0),o.Hsn(1),o.qZA())},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 l})(),_n=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({providers:[me.rD,{provide:Kt,useValue:{separatorKeyCodes:[Se.K5]}}],imports:[me.BQ,me.si,me.BQ]})}return l})();var dn=y(9467),Tn=y(3844),pi=y(1497),vn=y(6512),gi=y(9592);const So=(0,Tn.Mq)();class so{constructor(a,i){this._viewportRuler=a,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=i}attach(){}enable(){if(this._canBeEnabled()){const a=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=a.style.left||"",this._previousHTMLStyles.top=a.style.top||"",a.style.left=(0,ne.HM)(-this._previousScrollPosition.left),a.style.top=(0,ne.HM)(-this._previousScrollPosition.top),a.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const a=this._document.documentElement,s=a.style,u=this._document.body.style,p=s.scrollBehavior||"",b=u.scrollBehavior||"";this._isEnabled=!1,s.left=this._previousHTMLStyles.left,s.top=this._previousHTMLStyles.top,a.classList.remove("cdk-global-scrollblock"),So&&(s.scrollBehavior=u.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),So&&(s.scrollBehavior=p,u.scrollBehavior=b)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const i=this._document.body,s=this._viewportRuler.getViewportSize();return i.scrollHeight>s.height||i.scrollWidth>s.width}}class zi{constructor(a,i,s,u){this._scrollDispatcher=a,this._ngZone=i,this._viewportRuler=s,this._config=u,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(a){this._overlayRef=a}enable(){if(this._scrollSubscription)return;const a=this._scrollDispatcher.scrolled(0).pipe((0,pi.h)(i=>!i||!this._overlayRef.overlayElement.contains(i.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=a.subscribe(()=>{const i=this._viewportRuler.getViewportScrollPosition().top;Math.abs(i-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=a.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class li{enable(){}disable(){}attach(){}}function Ao(l,a){return a.some(i=>l.bottom<i.top||l.top>i.bottom||l.right<i.left||l.left>i.right)}function Br(l,a){return a.some(i=>l.top<i.top||l.bottom>i.bottom||l.left<i.left||l.right>i.right)}class ca{constructor(a,i,s,u){this._scrollDispatcher=a,this._viewportRuler=i,this._ngZone=s,this._config=u,this._scrollSubscription=null}attach(a){this._overlayRef=a}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 i=this._overlayRef.overlayElement.getBoundingClientRect(),{width:s,height:u}=this._viewportRuler.getViewportSize();Ao(i,[{width:s,height:u,bottom:u,right:s,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 mc=(()=>{class l{constructor(i,s,u,p){this._scrollDispatcher=i,this._viewportRuler=s,this._ngZone=u,this.noop=()=>new li,this.close=b=>new zi(this._scrollDispatcher,this._ngZone,this._viewportRuler,b),this.block=()=>new so(this._viewportRuler,this._document),this.reposition=b=>new ca(this._scrollDispatcher,this._viewportRuler,this._ngZone,b),this._document=p}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(dn.mF),o.LFG(dn.rL),o.LFG(o.R0b),o.LFG(ue.K0))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();class Io{constructor(a){if(this.scrollStrategy=new li,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,a){const i=Object.keys(a);for(const s of i)void 0!==a[s]&&(this[s]=a[s])}}}class ao{constructor(a,i){this.connectionPair=a,this.scrollableViewProperties=i}}let $r=(()=>{class l{constructor(i){this._attachedOverlays=[],this._document=i}ngOnDestroy(){this.detach()}add(i){this.remove(i),this._attachedOverlays.push(i)}remove(i){const s=this._attachedOverlays.indexOf(i);s>-1&&this._attachedOverlays.splice(s,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(ue.K0))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),bn=(()=>{class l extends $r{constructor(i,s){super(i),this._ngZone=s,this._keydownListener=u=>{const p=this._attachedOverlays;for(let b=p.length-1;b>-1;b--)if(p[b]._keydownEvents.observers.length>0){const B=p[b]._keydownEvents;this._ngZone?this._ngZone.run(()=>B.next(u)):B.next(u);break}}}add(i){super.add(i),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(s){return new(s||l)(o.LFG(ue.K0),o.LFG(o.R0b,8))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),pr=(()=>{class l extends $r{constructor(i,s,u){super(i),this._platform=s,this._ngZone=u,this._cursorStyleIsSet=!1,this._pointerDownListener=p=>{this._pointerDownEventTarget=(0,Tn.sA)(p)},this._clickListener=p=>{const b=(0,Tn.sA)(p),B="click"===p.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:b;this._pointerDownEventTarget=null;const oe=this._attachedOverlays.slice();for(let Ce=oe.length-1;Ce>-1;Ce--){const Ue=oe[Ce];if(Ue._outsidePointerEvents.observers.length<1||!Ue.hasAttached())continue;if(Ue.overlayElement.contains(b)||Ue.overlayElement.contains(B))break;const Qe=Ue._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Qe.next(p)):Qe.next(p)}}}add(i){if(super.add(i),!this._isAttached){const s=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(s)):this._addEventListeners(s),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=s.style.cursor,s.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const i=this._document.body;i.removeEventListener("pointerdown",this._pointerDownListener,!0),i.removeEventListener("click",this._clickListener,!0),i.removeEventListener("auxclick",this._clickListener,!0),i.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(i.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(i){i.addEventListener("pointerdown",this._pointerDownListener,!0),i.addEventListener("click",this._clickListener,!0),i.addEventListener("auxclick",this._clickListener,!0),i.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(ue.K0),o.LFG(Tn.t4),o.LFG(o.R0b,8))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),Gi=(()=>{class l{constructor(i,s){this._platform=s,this._document=i}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const i="cdk-overlay-container";if(this._platform.isBrowser||(0,Tn.Oy)()){const u=this._document.querySelectorAll(`.${i}[platform="server"], .${i}[platform="test"]`);for(let p=0;p<u.length;p++)u[p].remove()}const s=this._document.createElement("div");s.classList.add(i),(0,Tn.Oy)()?s.setAttribute("platform","test"):this._platform.isBrowser||s.setAttribute("platform","server"),this._document.body.appendChild(s),this._containerElement=s}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(ue.K0),o.LFG(Tn.t4))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();class co{constructor(a,i,s,u,p,b,B,oe,Ce,Ue=!1){this._portalOutlet=a,this._host=i,this._pane=s,this._config=u,this._ngZone=p,this._keyboardDispatcher=b,this._document=B,this._location=oe,this._outsideClickDispatcher=Ce,this._animationsDisabled=Ue,this._backdropElement=null,this._backdropClick=new Q.x,this._attachments=new Q.x,this._detachments=new Q.x,this._locationChanges=gi.w0.EMPTY,this._backdropClickHandler=Qe=>this._backdropClick.next(Qe),this._backdropTransitionendHandler=Qe=>{this._disposeBackdrop(Qe.target)},this._keydownEvents=new Q.x,this._outsidePointerEvents=new Q.x,u.scrollStrategy&&(this._scrollStrategy=u.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=u.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(a){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const i=this._portalOutlet.attach(a);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,J.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 i?.onDestroy&&i.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),i}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const a=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),a}dispose(){const a=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,a&&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(a){a!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=a,this.hasAttached()&&(a.attach(this),this.updatePosition()))}updateSize(a){this._config={...this._config,...a},this._updateElementSize()}setDirection(a){this._config={...this._config,direction:a},this._updateElementDirection()}addPanelClass(a){this._pane&&this._toggleClasses(this._pane,a,!0)}removePanelClass(a){this._pane&&this._toggleClasses(this._pane,a,!1)}getDirection(){const a=this._config.direction;return a?"string"==typeof a?a:a.value:"ltr"}updateScrollStrategy(a){a!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=a,this.hasAttached()&&(a.attach(this),a.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const a=this._pane.style;a.width=(0,ne.HM)(this._config.width),a.height=(0,ne.HM)(this._config.height),a.minWidth=(0,ne.HM)(this._config.minWidth),a.minHeight=(0,ne.HM)(this._config.minHeight),a.maxWidth=(0,ne.HM)(this._config.maxWidth),a.maxHeight=(0,ne.HM)(this._config.maxHeight)}_togglePointerEvents(a){this._pane.style.pointerEvents=a?"":"none"}_attachBackdrop(){const a="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(a)})}):this._backdropElement.classList.add(a)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const a=this._backdropElement;if(a){if(this._animationsDisabled)return void this._disposeBackdrop(a);a.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{a.addEventListener("transitionend",this._backdropTransitionendHandler)}),a.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(a)},500))}}_toggleClasses(a,i,s){const u=(0,ne.Eq)(i||[]).filter(p=>!!p);u.length&&(s?a.classList.add(...u):a.classList.remove(...u))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const a=this._ngZone.onStable.pipe((0,re.R)((0,Y.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()),a.unsubscribe())})})}_disposeScrollStrategy(){const a=this._scrollStrategy;a&&(a.disable(),a.detach&&a.detach())}_disposeBackdrop(a){a&&(a.removeEventListener("click",this._backdropClickHandler),a.removeEventListener("transitionend",this._backdropTransitionendHandler),a.remove(),this._backdropElement===a&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const gr="cdk-overlay-connected-position-bounding-box",ua=/([A-Za-z%]+)$/;class Vr{get positions(){return this._preferredPositions}constructor(a,i,s,u,p){this._viewportRuler=i,this._document=s,this._platform=u,this._overlayContainer=p,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 Q.x,this._resizeSubscription=gi.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(a)}attach(a){this._validatePositions(),a.hostElement.classList.add(gr),this._overlayRef=a,this._boundingBox=a.hostElement,this._pane=a.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 a=this._originRect,i=this._overlayRect,s=this._viewportRect,u=this._containerRect,p=[];let b;for(let B of this._preferredPositions){let oe=this._getOriginPoint(a,u,B),Ce=this._getOverlayPoint(oe,i,B),Ue=this._getOverlayFit(Ce,i,s,B);if(Ue.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(B,oe);this._canFitWithFlexibleDimensions(Ue,Ce,s)?p.push({position:B,origin:oe,overlayRect:i,boundingBoxRect:this._calculateBoundingBoxRect(oe,B)}):(!b||b.overlayFit.visibleArea<Ue.visibleArea)&&(b={overlayFit:Ue,overlayPoint:Ce,originPoint:oe,position:B,overlayRect:i})}if(p.length){let B=null,oe=-1;for(const Ce of p){const Ue=Ce.boundingBoxRect.width*Ce.boundingBoxRect.height*(Ce.position.weight||1);Ue>oe&&(oe=Ue,B=Ce)}return this._isPushed=!1,void this._applyPosition(B.position,B.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(b.position,b.originPoint);this._applyPosition(b.position,b.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&si(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(gr),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const a=this._lastPosition;if(a){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const i=this._getOriginPoint(this._originRect,this._containerRect,a);this._applyPosition(a,i)}else this.apply()}withScrollableContainers(a){return this._scrollables=a,this}withPositions(a){return this._preferredPositions=a,-1===a.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(a){return this._viewportMargin=a,this}withFlexibleDimensions(a=!0){return this._hasFlexibleDimensions=a,this}withGrowAfterOpen(a=!0){return this._growAfterOpen=a,this}withPush(a=!0){return this._canPush=a,this}withLockedPosition(a=!0){return this._positionLocked=a,this}setOrigin(a){return this._origin=a,this}withDefaultOffsetX(a){return this._offsetX=a,this}withDefaultOffsetY(a){return this._offsetY=a,this}withTransformOriginOn(a){return this._transformOriginSelector=a,this}_getOriginPoint(a,i,s){let u,p;if("center"==s.originX)u=a.left+a.width/2;else{const b=this._isRtl()?a.right:a.left,B=this._isRtl()?a.left:a.right;u="start"==s.originX?b:B}return i.left<0&&(u-=i.left),p="center"==s.originY?a.top+a.height/2:"top"==s.originY?a.top:a.bottom,i.top<0&&(p-=i.top),{x:u,y:p}}_getOverlayPoint(a,i,s){let u,p;return u="center"==s.overlayX?-i.width/2:"start"===s.overlayX?this._isRtl()?-i.width:0:this._isRtl()?0:-i.width,p="center"==s.overlayY?-i.height/2:"top"==s.overlayY?0:-i.height,{x:a.x+u,y:a.y+p}}_getOverlayFit(a,i,s,u){const p=Vi(i);let{x:b,y:B}=a,oe=this._getOffset(u,"x"),Ce=this._getOffset(u,"y");oe&&(b+=oe),Ce&&(B+=Ce);let pt=0-B,yt=B+p.height-s.height,Et=this._subtractOverflows(p.width,0-b,b+p.width-s.width),Ot=this._subtractOverflows(p.height,pt,yt),rn=Et*Ot;return{visibleArea:rn,isCompletelyWithinViewport:p.width*p.height===rn,fitsInViewportVertically:Ot===p.height,fitsInViewportHorizontally:Et==p.width}}_canFitWithFlexibleDimensions(a,i,s){if(this._hasFlexibleDimensions){const u=s.bottom-i.y,p=s.right-i.x,b=Oo(this._overlayRef.getConfig().minHeight),B=Oo(this._overlayRef.getConfig().minWidth);return(a.fitsInViewportVertically||null!=b&&b<=u)&&(a.fitsInViewportHorizontally||null!=B&&B<=p)}return!1}_pushOverlayOnScreen(a,i,s){if(this._previousPushAmount&&this._positionLocked)return{x:a.x+this._previousPushAmount.x,y:a.y+this._previousPushAmount.y};const u=Vi(i),p=this._viewportRect,b=Math.max(a.x+u.width-p.width,0),B=Math.max(a.y+u.height-p.height,0),oe=Math.max(p.top-s.top-a.y,0),Ce=Math.max(p.left-s.left-a.x,0);let Ue=0,Qe=0;return Ue=u.width<=p.width?Ce||-b:a.x<this._viewportMargin?p.left-s.left-a.x:0,Qe=u.height<=p.height?oe||-B:a.y<this._viewportMargin?p.top-s.top-a.y:0,this._previousPushAmount={x:Ue,y:Qe},{x:a.x+Ue,y:a.y+Qe}}_applyPosition(a,i){if(this._setTransformOrigin(a),this._setOverlayElementStyles(i,a),this._setBoundingBoxStyles(i,a),a.panelClass&&this._addPanelClasses(a.panelClass),this._lastPosition=a,this._positionChanges.observers.length){const s=this._getScrollVisibility(),u=new ao(a,s);this._positionChanges.next(u)}this._isInitialRender=!1}_setTransformOrigin(a){if(!this._transformOriginSelector)return;const i=this._boundingBox.querySelectorAll(this._transformOriginSelector);let s,u=a.overlayY;s="center"===a.overlayX?"center":this._isRtl()?"start"===a.overlayX?"right":"left":"start"===a.overlayX?"left":"right";for(let p=0;p<i.length;p++)i[p].style.transformOrigin=`${s} ${u}`}_calculateBoundingBoxRect(a,i){const s=this._viewportRect,u=this._isRtl();let p,b,B,Ue,Qe,pt;if("top"===i.overlayY)b=a.y,p=s.height-b+this._viewportMargin;else if("bottom"===i.overlayY)B=s.height-a.y+2*this._viewportMargin,p=s.height-B+this._viewportMargin;else{const yt=Math.min(s.bottom-a.y+s.top,a.y),Et=this._lastBoundingBoxSize.height;p=2*yt,b=a.y-yt,p>Et&&!this._isInitialRender&&!this._growAfterOpen&&(b=a.y-Et/2)}if("end"===i.overlayX&&!u||"start"===i.overlayX&&u)pt=s.width-a.x+this._viewportMargin,Ue=a.x-this._viewportMargin;else if("start"===i.overlayX&&!u||"end"===i.overlayX&&u)Qe=a.x,Ue=s.right-a.x;else{const yt=Math.min(s.right-a.x+s.left,a.x),Et=this._lastBoundingBoxSize.width;Ue=2*yt,Qe=a.x-yt,Ue>Et&&!this._isInitialRender&&!this._growAfterOpen&&(Qe=a.x-Et/2)}return{top:b,left:Qe,bottom:B,right:pt,width:Ue,height:p}}_setBoundingBoxStyles(a,i){const s=this._calculateBoundingBoxRect(a,i);!this._isInitialRender&&!this._growAfterOpen&&(s.height=Math.min(s.height,this._lastBoundingBoxSize.height),s.width=Math.min(s.width,this._lastBoundingBoxSize.width));const u={};if(this._hasExactPosition())u.top=u.left="0",u.bottom=u.right=u.maxHeight=u.maxWidth="",u.width=u.height="100%";else{const p=this._overlayRef.getConfig().maxHeight,b=this._overlayRef.getConfig().maxWidth;u.height=(0,ne.HM)(s.height),u.top=(0,ne.HM)(s.top),u.bottom=(0,ne.HM)(s.bottom),u.width=(0,ne.HM)(s.width),u.left=(0,ne.HM)(s.left),u.right=(0,ne.HM)(s.right),u.alignItems="center"===i.overlayX?"center":"end"===i.overlayX?"flex-end":"flex-start",u.justifyContent="center"===i.overlayY?"center":"bottom"===i.overlayY?"flex-end":"flex-start",p&&(u.maxHeight=(0,ne.HM)(p)),b&&(u.maxWidth=(0,ne.HM)(b))}this._lastBoundingBoxSize=s,si(this._boundingBox.style,u)}_resetBoundingBoxStyles(){si(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){si(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(a,i){const s={},u=this._hasExactPosition(),p=this._hasFlexibleDimensions,b=this._overlayRef.getConfig();if(u){const Ue=this._viewportRuler.getViewportScrollPosition();si(s,this._getExactOverlayY(i,a,Ue)),si(s,this._getExactOverlayX(i,a,Ue))}else s.position="static";let B="",oe=this._getOffset(i,"x"),Ce=this._getOffset(i,"y");oe&&(B+=`translateX(${oe}px) `),Ce&&(B+=`translateY(${Ce}px)`),s.transform=B.trim(),b.maxHeight&&(u?s.maxHeight=(0,ne.HM)(b.maxHeight):p&&(s.maxHeight="")),b.maxWidth&&(u?s.maxWidth=(0,ne.HM)(b.maxWidth):p&&(s.maxWidth="")),si(this._pane.style,s)}_getExactOverlayY(a,i,s){let u={top:"",bottom:""},p=this._getOverlayPoint(i,this._overlayRect,a);return this._isPushed&&(p=this._pushOverlayOnScreen(p,this._overlayRect,s)),"bottom"===a.overlayY?u.bottom=this._document.documentElement.clientHeight-(p.y+this._overlayRect.height)+"px":u.top=(0,ne.HM)(p.y),u}_getExactOverlayX(a,i,s){let b,u={left:"",right:""},p=this._getOverlayPoint(i,this._overlayRect,a);return this._isPushed&&(p=this._pushOverlayOnScreen(p,this._overlayRect,s)),b=this._isRtl()?"end"===a.overlayX?"left":"right":"end"===a.overlayX?"right":"left","right"===b?u.right=this._document.documentElement.clientWidth-(p.x+this._overlayRect.width)+"px":u.left=(0,ne.HM)(p.x),u}_getScrollVisibility(){const a=this._getOriginRect(),i=this._pane.getBoundingClientRect(),s=this._scrollables.map(u=>u.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Br(a,s),isOriginOutsideView:Ao(a,s),isOverlayClipped:Br(i,s),isOverlayOutsideView:Ao(i,s)}}_subtractOverflows(a,...i){return i.reduce((s,u)=>s-Math.max(u,0),a)}_getNarrowedViewportRect(){const a=this._document.documentElement.clientWidth,i=this._document.documentElement.clientHeight,s=this._viewportRuler.getViewportScrollPosition();return{top:s.top+this._viewportMargin,left:s.left+this._viewportMargin,right:s.left+a-this._viewportMargin,bottom:s.top+i-this._viewportMargin,width:a-2*this._viewportMargin,height:i-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(a,i){return"x"===i?null==a.offsetX?this._offsetX:a.offsetX:null==a.offsetY?this._offsetY:a.offsetY}_validatePositions(){}_addPanelClasses(a){this._pane&&(0,ne.Eq)(a).forEach(i=>{""!==i&&-1===this._appliedPanelClasses.indexOf(i)&&(this._appliedPanelClasses.push(i),this._pane.classList.add(i))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(a=>{this._pane.classList.remove(a)}),this._appliedPanelClasses=[])}_getOriginRect(){const a=this._origin;if(a instanceof o.SBq)return a.nativeElement.getBoundingClientRect();if(a instanceof Element)return a.getBoundingClientRect();const i=a.width||0,s=a.height||0;return{top:a.y,bottom:a.y+s,left:a.x,right:a.x+i,height:s,width:i}}}function si(l,a){for(let i in a)a.hasOwnProperty(i)&&(l[i]=a[i]);return l}function Oo(l){if("number"!=typeof l&&null!=l){const[a,i]=l.split(ua);return i&&"px"!==i?null:parseFloat(a)}return l||null}function Vi(l){return{top:Math.floor(l.top),right:Math.floor(l.right),bottom:Math.floor(l.bottom),left:Math.floor(l.left),width:Math.floor(l.width),height:Math.floor(l.height)}}const Jo="cdk-global-overlay-wrapper";class vo{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(a){const i=a.getConfig();this._overlayRef=a,this._width&&!i.width&&a.updateSize({width:this._width}),this._height&&!i.height&&a.updateSize({height:this._height}),a.hostElement.classList.add(Jo),this._isDisposed=!1}top(a=""){return this._bottomOffset="",this._topOffset=a,this._alignItems="flex-start",this}left(a=""){return this._xOffset=a,this._xPosition="left",this}bottom(a=""){return this._topOffset="",this._bottomOffset=a,this._alignItems="flex-end",this}right(a=""){return this._xOffset=a,this._xPosition="right",this}start(a=""){return this._xOffset=a,this._xPosition="start",this}end(a=""){return this._xOffset=a,this._xPosition="end",this}width(a=""){return this._overlayRef?this._overlayRef.updateSize({width:a}):this._width=a,this}height(a=""){return this._overlayRef?this._overlayRef.updateSize({height:a}):this._height=a,this}centerHorizontally(a=""){return this.left(a),this._xPosition="center",this}centerVertically(a=""){return this.top(a),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const a=this._overlayRef.overlayElement.style,i=this._overlayRef.hostElement.style,s=this._overlayRef.getConfig(),{width:u,height:p,maxWidth:b,maxHeight:B}=s,oe=!("100%"!==u&&"100vw"!==u||b&&"100%"!==b&&"100vw"!==b),Ce=!("100%"!==p&&"100vh"!==p||B&&"100%"!==B&&"100vh"!==B),Ue=this._xPosition,Qe=this._xOffset,pt="rtl"===this._overlayRef.getConfig().direction;let yt="",Et="",Ot="";oe?Ot="flex-start":"center"===Ue?(Ot="center",pt?Et=Qe:yt=Qe):pt?"left"===Ue||"end"===Ue?(Ot="flex-end",yt=Qe):("right"===Ue||"start"===Ue)&&(Ot="flex-start",Et=Qe):"left"===Ue||"start"===Ue?(Ot="flex-start",yt=Qe):("right"===Ue||"end"===Ue)&&(Ot="flex-end",Et=Qe),a.position=this._cssPosition,a.marginLeft=oe?"0":yt,a.marginTop=Ce?"0":this._topOffset,a.marginBottom=this._bottomOffset,a.marginRight=oe?"0":Et,i.justifyContent=Ot,i.alignItems=Ce?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const a=this._overlayRef.overlayElement.style,i=this._overlayRef.hostElement,s=i.style;i.classList.remove(Jo),s.justifyContent=s.alignItems=a.marginTop=a.marginBottom=a.marginLeft=a.marginRight=a.position="",this._overlayRef=null,this._isDisposed=!0}}let ha=(()=>{class l{constructor(i,s,u,p){this._viewportRuler=i,this._document=s,this._platform=u,this._overlayContainer=p}global(){return new vo}flexibleConnectedTo(i){return new Vr(i,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(dn.rL),o.LFG(ue.K0),o.LFG(Tn.t4),o.LFG(Gi))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),fa=0,zn=(()=>{class l{constructor(i,s,u,p,b,B,oe,Ce,Ue,Qe,pt,yt){this.scrollStrategies=i,this._overlayContainer=s,this._componentFactoryResolver=u,this._positionBuilder=p,this._keyboardDispatcher=b,this._injector=B,this._ngZone=oe,this._document=Ce,this._directionality=Ue,this._location=Qe,this._outsideClickDispatcher=pt,this._animationsModuleType=yt}create(i){const s=this._createHostElement(),u=this._createPaneElement(s),p=this._createPortalOutlet(u),b=new Io(i);return b.direction=b.direction||this._directionality.value,new co(p,s,u,b,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(i){const s=this._document.createElement("div");return s.id="cdk-overlay-"+fa++,s.classList.add("cdk-overlay-pane"),i.appendChild(s),s}_createHostElement(){const i=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(i),i}_createPortalOutlet(i){return this._appRef||(this._appRef=this._injector.get(o.z2F)),new vn.u0(i,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(mc),o.LFG(Gi),o.LFG(o._Vd),o.LFG(ha),o.LFG(bn),o.LFG(o.zs3),o.LFG(o.R0b),o.LFG(ue.K0),o.LFG(G.Is),o.LFG(ue.Ye),o.LFG(pr),o.LFG(o.QbO,8))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();const gs={provide:new o.OlP("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const l=(0,o.f3M)(zn);return()=>l.scrollStrategies.reposition()}}),deps:[zn],useFactory:function ps(l){return()=>l.scrollStrategies.reposition()}};let Zn=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({providers:[zn,gs],imports:[G.vT,vn.eL,dn.Cl,dn.Cl]})}return l})();var _r=y(7371),ga=y(8299);function _s(l){return new _r.y(a=>{(0,ga.Xf)(l()).subscribe(a)})}var Qo=y(9627);function pc(l,a){}class yo{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 Xo=(()=>{class l extends vn.en{constructor(i,s,u,p,b,B,oe,Ce){super(),this._elementRef=i,this._focusTrapFactory=s,this._config=p,this._interactivityChecker=b,this._ngZone=B,this._overlayRef=oe,this._focusMonitor=Ce,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=Ue=>{this._portalOutlet.hasAttached();const Qe=this._portalOutlet.attachDomPortal(Ue);return this._contentAttached(),Qe},this._document=u,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(i){this._portalOutlet.hasAttached();const s=this._portalOutlet.attachComponentPortal(i);return this._contentAttached(),s}attachTemplatePortal(i){this._portalOutlet.hasAttached();const s=this._portalOutlet.attachTemplatePortal(i);return this._contentAttached(),s}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(i,s){this._interactivityChecker.isFocusable(i)||(i.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const u=()=>{i.removeEventListener("blur",u),i.removeEventListener("mousedown",u),i.removeAttribute("tabindex")};i.addEventListener("blur",u),i.addEventListener("mousedown",u)})),i.focus(s)}_focusByCssSelector(i,s){let u=this._elementRef.nativeElement.querySelector(i);u&&this._forceFocus(u,s)}_trapFocus(){const i=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||i.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(s=>{s||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 i=this._config.restoreFocus;let s=null;if("string"==typeof i?s=this._document.querySelector(i):"boolean"==typeof i?s=i?this._elementFocusedBeforeDialogWasOpened:null:i&&(s=i),this._config.restoreFocus&&s&&"function"==typeof s.focus){const u=(0,Tn.ht)(),p=this._elementRef.nativeElement;(!u||u===this._document.body||u===p||p.contains(u))&&(this._focusMonitor?(this._focusMonitor.focusVia(s,this._closeInteractionType),this._closeInteractionType=null):s.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const i=this._elementRef.nativeElement,s=(0,Tn.ht)();return i===s||i.contains(s)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,Tn.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(fe.qV),o.Y36(ue.K0,8),o.Y36(yo),o.Y36(fe.ic),o.Y36(o.R0b),o.Y36(co),o.Y36(fe.tE))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["cdk-dialog-container"]],viewQuery:function(s,u){if(1&s&&o.Gf(vn.Pl,7),2&s){let p;o.iGM(p=o.CRH())&&(u._portalOutlet=p.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(s,u){2&s&&o.uIk("id",u._config.id||null)("role",u._config.role)("aria-modal",u._config.ariaModal)("aria-labelledby",u._config.ariaLabel?null:u._ariaLabelledByQueue[0])("aria-label",u._config.ariaLabel)("aria-describedby",u._config.ariaDescribedBy||null)},standalone:!0,features:[o.qOj,o.jDz],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(s,u){1&s&&o.YNc(0,pc,0,0,"ng-template",0)},dependencies:[vn.eL,vn.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return l})();class Hr{constructor(a,i){this.overlayRef=a,this.config=i,this.closed=new Q.x,this.disableClose=i.disableClose,this.backdropClick=a.backdropClick(),this.keydownEvents=a.keydownEvents(),this.outsidePointerEvents=a.outsidePointerEvents(),this.id=i.id,this.keydownEvents.subscribe(s=>{s.keyCode===Se.hY&&!this.disableClose&&!(0,Se.Vb)(s)&&(s.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=a.detachments().subscribe(()=>{!1!==i.closeOnOverlayDetachments&&this.close()})}close(a,i){if(this.containerInstance){const s=this.closed;this.containerInstance._closeInteractionType=i?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),s.next(a),s.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(a="",i=""){return this.overlayRef.updateSize({width:a,height:i}),this}addPanelClass(a){return this.overlayRef.addPanelClass(a),this}removePanelClass(a){return this.overlayRef.removePanelClass(a),this}}const jr=new o.OlP("DialogScrollStrategy",{providedIn:"root",factory:()=>{const l=(0,o.f3M)(zn);return()=>l.scrollStrategies.block()}}),bs=new o.OlP("DialogData"),_a=new o.OlP("DefaultDialogConfig");let vs=0,ys=(()=>{class l{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(i,s,u,p,b,B){this._overlay=i,this._injector=s,this._defaultOptions=u,this._parentDialog=p,this._overlayContainer=b,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Q.x,this._afterOpenedAtThisLevel=new Q.x,this._ariaHiddenElements=new Map,this.afterAllClosed=_s(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,pe.O)(void 0))),this._scrollStrategy=B}open(i,s){(s={...this._defaultOptions||new yo,...s}).id=s.id||"cdk-dialog-"+vs++,s.id&&this.getDialogById(s.id);const p=this._getOverlayConfig(s),b=this._overlay.create(p),B=new Hr(b,s),oe=this._attachContainer(b,B,s);return B.containerInstance=oe,this._attachDialogContent(i,B,oe,s),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(B),B.closed.subscribe(()=>this._removeOpenDialog(B,!0)),this.afterOpened.next(B),B}closeAll(){an(this.openDialogs,i=>i.close())}getDialogById(i){return this.openDialogs.find(s=>s.id===i)}ngOnDestroy(){an(this._openDialogsAtThisLevel,i=>{!1===i.config.closeOnDestroy&&this._removeOpenDialog(i,!1)}),an(this._openDialogsAtThisLevel,i=>i.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(i){const s=new Io({positionStrategy:i.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:i.scrollStrategy||this._scrollStrategy(),panelClass:i.panelClass,hasBackdrop:i.hasBackdrop,direction:i.direction,minWidth:i.minWidth,minHeight:i.minHeight,maxWidth:i.maxWidth,maxHeight:i.maxHeight,width:i.width,height:i.height,disposeOnNavigation:i.closeOnNavigation});return i.backdropClass&&(s.backdropClass=i.backdropClass),s}_attachContainer(i,s,u){const p=u.injector||u.viewContainerRef?.injector,b=[{provide:yo,useValue:u},{provide:Hr,useValue:s},{provide:co,useValue:i}];let B;u.container?"function"==typeof u.container?B=u.container:(B=u.container.type,b.push(...u.container.providers(u))):B=Xo;const oe=new vn.C5(B,u.viewContainerRef,o.zs3.create({parent:p||this._injector,providers:b}),u.componentFactoryResolver);return i.attach(oe).instance}_attachDialogContent(i,s,u,p){if(i instanceof o.Rgc){const b=this._createInjector(p,s,u,void 0);let B={$implicit:p.data,dialogRef:s};p.templateContext&&(B={...B,..."function"==typeof p.templateContext?p.templateContext():p.templateContext}),u.attachTemplatePortal(new vn.UE(i,null,B,b))}else{const b=this._createInjector(p,s,u,this._injector),B=u.attachComponentPortal(new vn.C5(i,p.viewContainerRef,b,p.componentFactoryResolver));s.componentRef=B,s.componentInstance=B.instance}}_createInjector(i,s,u,p){const b=i.injector||i.viewContainerRef?.injector,B=[{provide:bs,useValue:i.data},{provide:Hr,useValue:s}];return i.providers&&("function"==typeof i.providers?B.push(...i.providers(s,i,u)):B.push(...i.providers)),i.direction&&(!b||!b.get(G.Is,null,{optional:!0}))&&B.push({provide:G.Is,useValue:{value:i.direction,change:(0,Qo.of)()}}),o.zs3.create({parent:b||p,providers:B})}_removeOpenDialog(i,s){const u=this.openDialogs.indexOf(i);u>-1&&(this.openDialogs.splice(u,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((p,b)=>{p?b.setAttribute("aria-hidden",p):b.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),s&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const i=this._overlayContainer.getContainerElement();if(i.parentElement){const s=i.parentElement.children;for(let u=s.length-1;u>-1;u--){const p=s[u];p!==i&&"SCRIPT"!==p.nodeName&&"STYLE"!==p.nodeName&&!p.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(p,p.getAttribute("aria-hidden")),p.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const i=this._parentDialog;return i?i._getAfterAllClosed():this._afterAllClosedAtThisLevel}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(zn),o.LFG(o.zs3),o.LFG(_a,8),o.LFG(l,12),o.LFG(Gi),o.LFG(jr))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();function an(l,a){let i=l.length;for(;i--;)a(l[i])}let Xn=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({providers:[ys],imports:[Zn,vn.eL,fe.rt,Xo,vn.eL]})}return l})();function ei(l,a){}class Yi{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 ti="mdc-dialog--open",ws="mdc-dialog--opening",va="mdc-dialog--closing";let Cs=(()=>{class l extends Xo{constructor(i,s,u,p,b,B,oe,Ce,Ue){super(i,s,u,p,b,B,oe,Ue),this._animationMode=Ce,this._animationStateChanged=new o.vpe,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?ft(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?ft(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()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty($n,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(ws,ti)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(ti),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(ti),this._animationsEnabled?(this._hostElement.style.setProperty($n,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(va)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(ws,va)}_waitForAnimationToComplete(i,s){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(s,i)}_requestAnimationFrame(i){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(i):i()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(i){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:i})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(i){const s=super.attachComponentPortal(i);return s.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),s}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(fe.qV),o.Y36(ue.K0,8),o.Y36(Yi),o.Y36(fe.ic),o.Y36(o.R0b),o.Y36(co),o.Y36(o.QbO,8),o.Y36(fe.tE))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(s,u){2&s&&(o.Ikx("id",u._config.id),o.uIk("aria-modal",u._config.ariaModal)("role",u._config.role)("aria-labelledby",u._config.ariaLabel?null:u._ariaLabelledByQueue[0])("aria-label",u._config.ariaLabel)("aria-describedby",u._config.ariaDescribedBy||null),o.ekj("_mat-animation-noopable",!u._animationsEnabled))},standalone:!0,features:[o.qOj,o.jDz],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(s,u){1&s&&(o.TgZ(0,"div",0)(1,"div",1),o.YNc(2,ei,0,0,"ng-template",2),o.qZA()())},dependencies:[vn.eL,vn.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{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--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 l})();const $n="--mat-dialog-transition-duration";function ft(l){return null==l?null:"number"==typeof l?l:l.endsWith("ms")?(0,ne.su)(l.substring(0,l.length-2)):l.endsWith("s")?1e3*(0,ne.su)(l.substring(0,l.length-1)):"0"===l?0:null}class $t{constructor(a,i,s){this._ref=a,this._containerInstance=s,this._afterOpened=new Q.x,this._beforeClosed=new Q.x,this._state=0,this.disableClose=i.disableClose,this.id=a.id,s._animationStateChanged.pipe((0,pi.h)(u=>"opened"===u.state),(0,J.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),s._animationStateChanged.pipe((0,pi.h)(u=>"closed"===u.state),(0,J.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),a.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,Y.T)(this.backdropClick(),this.keydownEvents().pipe((0,pi.h)(u=>u.keyCode===Se.hY&&!this.disableClose&&!(0,Se.Vb)(u)))).subscribe(u=>{this.disableClose||(u.preventDefault(),D(this,"keydown"===u.type?"keyboard":"mouse"))})}close(a){this._result=a,this._containerInstance._animationStateChanged.pipe((0,pi.h)(i=>"closing"===i.state),(0,J.q)(1)).subscribe(i=>{this._beforeClosed.next(a),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),i.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(a){let i=this._ref.config.positionStrategy;return a&&(a.left||a.right)?a.left?i.left(a.left):i.right(a.right):i.centerHorizontally(),a&&(a.top||a.bottom)?a.top?i.top(a.top):i.bottom(a.bottom):i.centerVertically(),this._ref.updatePosition(),this}updateSize(a="",i=""){return this._ref.updateSize(a,i),this}addPanelClass(a){return this._ref.addPanelClass(a),this}removePanelClass(a){return this._ref.removePanelClass(a),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function D(l,a,i){return l._closeInteractionType=a,l.close(i)}const S=new o.OlP("MatMdcDialogData"),v=new o.OlP("mat-mdc-dialog-default-options"),j=new o.OlP("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const l=(0,o.f3M)(zn);return()=>l.scrollStrategies.block()}});let Gt=0,Hn=(()=>{class l{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const i=this._parentDialog;return i?i._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(i,s,u,p,b,B,oe,Ce){this._overlay=i,this._defaultOptions=p,this._scrollStrategy=b,this._parentDialog=B,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Q.x,this._afterOpenedAtThisLevel=new Q.x,this.dialogConfigClass=Yi,this.afterAllClosed=_s(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,pe.O)(void 0))),this._dialog=s.get(ys),this._dialogRefConstructor=$t,this._dialogContainerType=Cs,this._dialogDataToken=S}open(i,s){let u;(s={...this._defaultOptions||new Yi,...s}).id=s.id||"mat-mdc-dialog-"+Gt++,s.scrollStrategy=s.scrollStrategy||this._scrollStrategy();const p=this._dialog.open(i,{...s,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:s},{provide:yo,useValue:s}]},templateContext:()=>({dialogRef:u}),providers:(b,B,oe)=>(u=new this._dialogRefConstructor(b,s,oe),u.updatePosition(s?.position),[{provide:this._dialogContainerType,useValue:oe},{provide:this._dialogDataToken,useValue:B.data},{provide:this._dialogRefConstructor,useValue:u}])});return u.componentRef=p.componentRef,u.componentInstance=p.componentInstance,this.openDialogs.push(u),this.afterOpened.next(u),u.afterClosed().subscribe(()=>{const b=this.openDialogs.indexOf(u);b>-1&&(this.openDialogs.splice(b,1),this.openDialogs.length||this._getAfterAllClosed().next())}),u}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(i){return this.openDialogs.find(s=>s.id===i)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(i){let s=i.length;for(;s--;)i[s].close()}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(zn),o.LFG(o.zs3),o.LFG(ue.Ye,8),o.LFG(v,8),o.LFG(j),o.LFG(l,12),o.LFG(Gi),o.LFG(o.QbO,8))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),Zt=0,lo=(()=>{class l{constructor(i,s,u){this.dialogRef=i,this._elementRef=s,this._dialog=u,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=br(this._elementRef,this._dialog.openDialogs))}ngOnChanges(i){const s=i._matDialogClose||i._matDialogCloseResult;s&&(this.dialogResult=s.currentValue)}_onButtonClick(i){D(this.dialogRef,0===i.screenX&&0===i.screenY?"keyboard":"mouse",this.dialogResult)}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36($t,8),o.Y36(o.SBq),o.Y36(Hn))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(s,u){1&s&&o.NdJ("click",function(b){return u._onButtonClick(b)}),2&s&&o.uIk("aria-label",u.ariaLabel||null)("type",u.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[o.TTD]})}return l})(),bc=(()=>{class l{constructor(i,s,u){this._dialogRef=i,this._elementRef=s,this._dialog=u,this.id="mat-mdc-dialog-title-"+Zt++}ngOnInit(){this._dialogRef||(this._dialogRef=br(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._dialogRef._containerInstance?._ariaLabelledByQueue?.push(this.id)})}ngOnDestroy(){const i=this._dialogRef?._containerInstance?._ariaLabelledByQueue;i&&Promise.resolve().then(()=>{const s=i.indexOf(this.id);s>-1&&i.splice(s,1)})}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36($t,8),o.Y36(o.SBq),o.Y36(Hn))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(s,u){2&s&&o.Ikx("id",u.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0})}return l})();function br(l,a){let i=l.nativeElement.parentElement;for(;i&&!i.classList.contains("mat-mdc-dialog-container");)i=i.parentElement;return i?a.find(s=>s.id===i.id):null}let xo=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({providers:[Hn],imports:[Xn,Zn,vn.eL,me.BQ,Cs,me.BQ]})}return l})();var Ti=y(1238),Gr=y(4453),Co=y(6589),qt=y(9925),Es=y(4049),vr=y(2829),Ki=y(1952),Yr=y(8412),yr=y(5123);function di(l,a){return a?i=>(0,qt.z)(a.pipe((0,J.q)(1),function Wr(){return(0,Es.e)((l,a)=>{l.subscribe((0,vr.x)(a,Ki.Z))})}()),i.pipe(di(l))):(0,yr.z)((i,s)=>(0,ga.Xf)(l(i,s)).pipe((0,J.q)(1),function Jn(l){return(0,Yr.U)(()=>l)}(i)))}var ui=y(5117);function ya(l,a=Co.z){const i=(0,ui.H)(l,a);return di(()=>i)}const wr=["mat-menu-item",""];function wa(l,a){1&l&&(o.O4$(),o.TgZ(0,"svg",3),o._UZ(1,"polygon",4),o.qZA())}const uo=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],yc=["mat-icon, [matMenuItemIcon]","*"];function Ul(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"div",0),o.NdJ("keydown",function(u){o.CHM(i);const p=o.oxw();return o.KtG(p._handleKeydown(u))})("click",function(){o.CHM(i);const u=o.oxw();return o.KtG(u.closed.emit("click"))})("@transformMenu.start",function(u){o.CHM(i);const p=o.oxw();return o.KtG(p._onAnimationStart(u))})("@transformMenu.done",function(u){o.CHM(i);const p=o.oxw();return o.KtG(p._onAnimationDone(u))}),o.TgZ(1,"div",1),o.Hsn(2),o.qZA()()}if(2&l){const i=o.oxw();o.Q6J("id",i.panelId)("ngClass",i._classList)("@transformMenu",i._panelAnimationState),o.uIk("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby||null)("aria-describedby",i.ariaDescribedby||null)}}const Bu=["*"],Kr=new o.OlP("MAT_MENU_PANEL");let Zr=(()=>{class l{constructor(i,s,u,p,b){this._elementRef=i,this._document=s,this._focusMonitor=u,this._parentMenu=p,this._changeDetectorRef=b,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new Q.x,this._focused=new Q.x,this._highlighted=!1,this._triggersSubmenu=!1,p?.addItem?.(this)}focus(i,s){this._focusMonitor&&i?this._focusMonitor.focusVia(this._getHostElement(),i,s):this._getHostElement().focus(s),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(i){this.disabled&&(i.preventDefault(),i.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const i=this._elementRef.nativeElement.cloneNode(!0),s=i.querySelectorAll("mat-icon, .material-icons");for(let u=0;u<s.length;u++)s[u].remove();return i.textContent?.trim()||""}_setHighlighted(i){this._highlighted=i,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(i){this._triggersSubmenu=i,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(ue.K0),o.Y36(fe.tE),o.Y36(Kr,8),o.Y36(o.sBO))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator"],hostVars:8,hostBindings:function(s,u){1&s&&o.NdJ("click",function(b){return u._checkDisabled(b)})("mouseenter",function(){return u._handleMouseEnter()}),2&s&&(o.uIk("role",u.role)("tabindex",u._getTabIndex())("aria-disabled",u.disabled)("disabled",u.disabled||null),o.ekj("mat-mdc-menu-item-highlighted",u._highlighted)("mat-mdc-menu-item-submenu-trigger",u._triggersSubmenu))},inputs:{role:"role",disabled:["disabled","disabled",o.VuI],disableRipple:["disableRipple","disableRipple",o.VuI]},exportAs:["matMenuItem"],features:[o.Xq5],attrs:wr,ngContentSelectors:yc,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"],["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(s,u){1&s&&(o.F$t(uo),o.Hsn(0),o.TgZ(1,"span",0),o.Hsn(2,1),o.qZA(),o._UZ(3,"div",1),o.YNc(4,wa,2,0,":svg:svg",2)),2&s&&(o.xp6(3),o.Q6J("matRippleDisabled",u.disableRipple||u.disabled)("matRippleTrigger",u._getHostElement()),o.xp6(1),o.um2(4,u._triggersSubmenu?4:-1))},dependencies:[me.wG],encapsulation:2,changeDetection:0})}return l})();const sm=new o.OlP("MatMenuContent"),wc={transformMenu:(0,Z.X$)("transformMenu",[(0,Z.SB)("void",(0,Z.oB)({opacity:0,transform:"scale(0.8)"})),(0,Z.eR)("void => enter",(0,Z.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Z.oB)({opacity:1,transform:"scale(1)"}))),(0,Z.eR)("* => void",(0,Z.jt)("100ms 25ms linear",(0,Z.oB)({opacity:0})))]),fadeInItems:(0,Z.X$)("fadeInItems",[(0,Z.SB)("showing",(0,Z.oB)({opacity:1})),(0,Z.eR)("void => *",[(0,Z.oB)({opacity:0}),(0,Z.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let am=0;const cm=new o.OlP("mat-menu-default-options",{providedIn:"root",factory:function xa(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Ca=(()=>{class l{get xPosition(){return this._xPosition}set xPosition(i){this._xPosition=i,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(i){this._yPosition=i,this.setPositionClasses()}set panelClass(i){const s=this._previousPanelClass;s&&s.length&&s.split(" ").forEach(u=>{this._classList[u]=!1}),this._previousPanelClass=i,i&&i.length&&(i.split(" ").forEach(u=>{this._classList[u]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(i){this.panelClass=i}constructor(i,s,u,p){this._elementRef=i,this._ngZone=s,this._changeDetectorRef=p,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new o.n_E,this._classList={},this._panelAnimationState="void",this._animationDone=new Q.x,this.closed=new o.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+am++,this.overlayPanelClass=u.overlayPanelClass||"",this._xPosition=u.xPosition,this._yPosition=u.yPosition,this.backdropClass=u.backdropClass,this.overlapTrigger=u.overlapTrigger,this.hasBackdrop=u.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new fe.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,pe.O)(this._directDescendantItems),(0,le.w)(i=>(0,Y.T)(...i.map(s=>s._focused)))).subscribe(i=>this._keyManager.updateActiveItem(i)),this._directDescendantItems.changes.subscribe(i=>{const s=this._keyManager;if("enter"===this._panelAnimationState&&s.activeItem?._hasFocus()){const u=i.toArray(),p=Math.max(0,Math.min(u.length-1,s.activeItemIndex||0));u[p]&&!u[p].disabled?s.setActiveItem(p):s.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,pe.O)(this._directDescendantItems),(0,le.w)(s=>(0,Y.T)(...s.map(u=>u._hovered))))}addItem(i){}removeItem(i){}_handleKeydown(i){const s=i.keyCode,u=this._keyManager;switch(s){case Se.hY:(0,Se.Vb)(i)||(i.preventDefault(),this.closed.emit("keydown"));break;case Se.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case Se.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(s===Se.LH||s===Se.JH)&&u.setFocusOrigin("keyboard"),void u.onKeydown(i)}i.stopPropagation()}focusFirstItem(i="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,J.q)(1)).subscribe(()=>{let s=null;if(this._directDescendantItems.length&&(s=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!s||!s.contains(document.activeElement)){const u=this._keyManager;u.setFocusOrigin(i).setFirstItemActive(),!u.activeItem&&s&&s.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(i){const s=Math.min(this._baseElevation+i,24),u=`${this._elevationPrefix}${s}`,p=Object.keys(this._classList).find(b=>b.startsWith(this._elevationPrefix));(!p||p===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[u]=!0,this._previousElevation=u)}setPositionClasses(i=this.xPosition,s=this.yPosition){const u=this._classList;u["mat-menu-before"]="before"===i,u["mat-menu-after"]="after"===i,u["mat-menu-above"]="above"===s,u["mat-menu-below"]="below"===s,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(i){this._animationDone.next(i),this._isAnimating=!1}_onAnimationStart(i){this._isAnimating=!0,"enter"===i.toState&&0===this._keyManager.activeItemIndex&&(i.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,pe.O)(this._allItems)).subscribe(i=>{this._directDescendantItems.reset(i.filter(s=>s._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(cm),o.Y36(o.sBO))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["mat-menu"]],contentQueries:function(s,u,p){if(1&s&&(o.Suo(p,sm,5),o.Suo(p,Zr,5),o.Suo(p,Zr,4)),2&s){let b;o.iGM(b=o.CRH())&&(u.lazyContent=b.first),o.iGM(b=o.CRH())&&(u._allItems=b),o.iGM(b=o.CRH())&&(u.items=b)}},viewQuery:function(s,u){if(1&s&&o.Gf(o.Rgc,5),2&s){let p;o.iGM(p=o.CRH())&&(u.templateRef=p.first)}},hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(s,u){2&s&&o.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:["overlapTrigger","overlapTrigger",o.VuI],hasBackdrop:["hasBackdrop","hasBackdrop",i=>null==i?null:(0,o.VuI)(i)],panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[o._Bn([{provide:Kr,useExisting:l}]),o.Xq5],ngContentSelectors:Bu,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(s,u){1&s&&(o.F$t(),o.YNc(0,Ul,3,6,"ng-template"))},dependencies:[ue.mk],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{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:[wc.transformMenu,wc.fadeInItems]},changeDetection:0})}return l})();const _=new o.OlP("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const l=(0,o.f3M)(zn);return()=>l.scrollStrategies.reposition()}}),w={provide:_,deps:[zn],useFactory:function L(l){return()=>l.scrollStrategies.reposition()}},A=(0,Tn.i$)({passive:!0});let We=(()=>{class l{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(i){this.menu=i}get menu(){return this._menu}set menu(i){i!==this._menu&&(this._menu=i,this._menuCloseSubscription.unsubscribe(),i&&(this._menuCloseSubscription=i.close.subscribe(s=>{this._destroyMenu(s),("click"===s||"tab"===s)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(s)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(i,s,u,p,b,B,oe,Ce,Ue){this._overlay=i,this._element=s,this._viewContainerRef=u,this._menuItemInstance=B,this._dir=oe,this._focusMonitor=Ce,this._ngZone=Ue,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=gi.w0.EMPTY,this._hoverSubscription=gi.w0.EMPTY,this._menuCloseSubscription=gi.w0.EMPTY,this._changeDetectorRef=(0,o.f3M)(o.sBO),this._handleTouchStart=Qe=>{(0,fe.yG)(Qe)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new o.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new o.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=p,this._parentMaterialMenu=b instanceof Ca?b:void 0,s.nativeElement.addEventListener("touchstart",this._handleTouchStart,A)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,A),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 i=this.menu;if(this._menuOpen||!i)return;const s=this._createOverlay(i),u=s.getConfig(),p=u.positionStrategy;this._setPosition(i,p),u.hasBackdrop=null==i.hasBackdrop?!this.triggersSubmenu():i.hasBackdrop,s.attach(this._getPortal(i)),i.lazyContent&&i.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(i),i instanceof Ca&&(i._startAnimation(),i._directDescendantItems.changes.pipe((0,re.R)(i.close)).subscribe(()=>{p.withLockedPosition(!1).reapplyLastPosition(),p.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(i,s){this._focusMonitor&&i?this._focusMonitor.focusVia(this._element,i,s):this._element.nativeElement.focus(s)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(i){if(!this._overlayRef||!this.menuOpen)return;const s=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===i||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,s instanceof Ca?(s._resetAnimation(),s.lazyContent?s._animationDone.pipe((0,pi.h)(u=>"void"===u.toState),(0,J.q)(1),(0,re.R)(s.lazyContent._attached)).subscribe({next:()=>s.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),s?.lazyContent?.detach())}_initMenu(i){i.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,i.direction=this.dir,this._setMenuElevation(i),i.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(i){if(i.setElevation){let s=0,u=i.parentMenu;for(;u;)s++,u=u.parentMenu;i.setElevation(s)}}_setIsMenuOpen(i){i!==this._menuOpen&&(this._menuOpen=i,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(i),this._changeDetectorRef.markForCheck())}_createOverlay(i){if(!this._overlayRef){const s=this._getOverlayConfig(i);this._subscribeToPositions(i,s.positionStrategy),this._overlayRef=this._overlay.create(s),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(i){return new Io({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:i.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:i.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(i,s){i.setPositionClasses&&s.positionChanges.subscribe(u=>{const p="start"===u.connectionPair.overlayX?"after":"before",b="top"===u.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>i.setPositionClasses(p,b)):i.setPositionClasses(p,b)})}_setPosition(i,s){let[u,p]="before"===i.xPosition?["end","start"]:["start","end"],[b,B]="above"===i.yPosition?["bottom","top"]:["top","bottom"],[oe,Ce]=[b,B],[Ue,Qe]=[u,p],pt=0;if(this.triggersSubmenu()){if(Qe=u="before"===i.xPosition?"start":"end",p=Ue="end"===u?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const yt=this._parentMaterialMenu.items.first;this._parentInnerPadding=yt?yt._getHostElement().offsetTop:0}pt="bottom"===b?this._parentInnerPadding:-this._parentInnerPadding}}else i.overlapTrigger||(oe="top"===b?"bottom":"top",Ce="top"===B?"bottom":"top");s.withPositions([{originX:u,originY:oe,overlayX:Ue,overlayY:b,offsetY:pt},{originX:p,originY:oe,overlayX:Qe,overlayY:b,offsetY:pt},{originX:u,originY:Ce,overlayX:Ue,overlayY:B,offsetY:-pt},{originX:p,originY:Ce,overlayX:Qe,overlayY:B,offsetY:-pt}])}_menuClosingActions(){const i=this._overlayRef.backdropClick(),s=this._overlayRef.detachments(),u=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Qo.of)(),p=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,pi.h)(b=>b!==this._menuItemInstance),(0,pi.h)(()=>this._menuOpen)):(0,Qo.of)();return(0,Y.T)(i,u,p,s)}_handleMousedown(i){(0,fe.X6)(i)||(this._openedBy=0===i.button?"mouse":void 0,this.triggersSubmenu()&&i.preventDefault())}_handleKeydown(i){const s=i.keyCode;(s===Se.K5||s===Se.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(s===Se.SV&&"ltr"===this.dir||s===Se.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(i){this.triggersSubmenu()?(i.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,pi.h)(i=>i===this._menuItemInstance&&!i.disabled),ya(0,Gr.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Ca&&this.menu._isAnimating?this.menu._animationDone.pipe((0,J.q)(1),ya(0,Gr.E),(0,re.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(i){return(!this._portal||this._portal.templateRef!==i.templateRef)&&(this._portal=new vn.UE(i.templateRef,this._viewContainerRef)),this._portal}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(zn),o.Y36(o.SBq),o.Y36(o.s_b),o.Y36(_),o.Y36(Kr,8),o.Y36(Zr,10),o.Y36(G.Is,8),o.Y36(fe.tE),o.Y36(o.R0b))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(s,u){1&s&&o.NdJ("click",function(b){return u._handleClick(b)})("mousedown",function(b){return u._handleMousedown(b)})("keydown",function(b){return u._handleKeydown(b)}),2&s&&o.uIk("aria-haspopup",u.menu?"menu":null)("aria-expanded",u.menuOpen)("aria-controls",u.menuOpen?u.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"},exportAs:["matMenuTrigger"]})}return l})(),ot=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({providers:[w],imports:[ue.ez,me.si,me.BQ,Zn,dn.ZD,me.BQ]})}return l})();class Dn extends _r.y{constructor(a,i){super(),this.source=a,this.subjectFactory=i,this._subject=null,this._refCount=0,this._connection=null,(0,Es.A)(a)&&(this.lift=a.lift)}_subscribe(a){return this.getSubject().subscribe(a)}getSubject(){const a=this._subject;return(!a||a.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:a}=this;this._subject=this._connection=null,a?.unsubscribe()}connect(){let a=this._connection;if(!a){a=this._connection=new gi.w0;const i=this.getSubject();a.add(this.source.subscribe((0,vr.x)(i,void 0,()=>{this._teardown(),i.complete()},s=>{this._teardown(),i.error(s)},()=>this._teardown()))),a.closed&&(this._connection=null,a=gi.w0.EMPTY)}return a}refCount(){return function Tt(){return(0,Es.e)((l,a)=>{let i=null;l._refCount++;const s=(0,vr.x)(a,void 0,void 0,void 0,()=>{if(!l||l._refCount<=0||0<--l._refCount)return void(i=null);const u=l._connection,p=i;i=null,u&&(!p||u===p)&&u.unsubscribe(),a.unsubscribe()});l.subscribe(s),s.closed||(i=l.connect())})}()(this)}}function En(l){return l&&"function"==typeof l.connect&&!(l instanceof Dn)}class jn{applyChanges(a,i,s,u,p){a.forEachOperation((b,B,oe)=>{let Ce,Ue;if(null==b.previousIndex){const Qe=s(b,B,oe);Ce=i.createEmbeddedView(Qe.templateRef,Qe.context,Qe.index),Ue=1}else null==oe?(i.remove(B),Ue=3):(Ce=i.get(B),i.move(Ce,oe),Ue=2);p&&p({context:Ce?.context,operation:Ue,record:b})})}detach(){}}const Hi=new o.OlP("_ViewRepeater");var Ro=y(107),_i=y(1625),ho=y(3276);const Ms=[[["caption"]],[["colgroup"],["col"]]],lm=["caption","colgroup, col"];function Da(l){return class extends l{get sticky(){return this._sticky}set sticky(a){const i=this._sticky;this._sticky=(0,ne.Ig)(a),this._hasStickyChanged=i!==this._sticky}hasStickyChanged(){const a=this._hasStickyChanged;return this._hasStickyChanged=!1,a}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...a){super(...a),this._sticky=!1,this._hasStickyChanged=!1}}}const Po=new o.OlP("CDK_TABLE");let Ts=(()=>{class l{constructor(i){this.template=i}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.Rgc))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","cdkCellDef",""]]})}return l})(),Fo=(()=>{class l{constructor(i){this.template=i}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.Rgc))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","cdkHeaderCellDef",""]]})}return l})(),tr=(()=>{class l{constructor(i){this.template=i}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.Rgc))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","cdkFooterCellDef",""]]})}return l})();class Zi{}const dm=Da(Zi);let Eo=(()=>{class l extends dm{get name(){return this._name}set name(i){this._setNameInput(i)}get stickyEnd(){return this._stickyEnd}set stickyEnd(i){i!==this._stickyEnd&&(this._stickyEnd=i,this._hasStickyChanged=!0)}constructor(i){super(),this._table=i,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(i){i&&(this._name=i,this.cssClassFriendlyName=i.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(Po,8))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","cdkColumnDef",""]],contentQueries:function(s,u,p){if(1&s&&(o.Suo(p,Ts,5),o.Suo(p,Fo,5),o.Suo(p,tr,5)),2&s){let b;o.iGM(b=o.CRH())&&(u.cell=b.first),o.iGM(b=o.CRH())&&(u.headerCell=b.first),o.iGM(b=o.CRH())&&(u.footerCell=b.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:["stickyEnd","stickyEnd",o.VuI]},features:[o._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:l}]),o.Xq5,o.qOj]})}return l})();class Gl{constructor(a,i){i.nativeElement.classList.add(...a._columnCssClassName)}}let fo=(()=>{class l extends Gl{constructor(i,s){super(i,s)}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(Eo),o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[o.qOj]})}return l})(),Yl=(()=>{class l extends Gl{constructor(i,s){if(super(i,s),1===i._table?._elementRef.nativeElement.nodeType){const u=i._table._elementRef.nativeElement.getAttribute("role");s.nativeElement.setAttribute("role","grid"===u||"treegrid"===u?"gridcell":"cell")}}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(Eo),o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[o.qOj]})}return l})();class Kl{constructor(){this.tasks=[],this.endTasks=[]}}const xc=new o.OlP("_COALESCED_STYLE_SCHEDULER");let Cc=(()=>{class l{constructor(i){this._ngZone=i,this._currentSchedule=null,this._destroyed=new Q.x}schedule(i){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(i)}scheduleEnd(i){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(i)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Kl,this._getScheduleObservable().pipe((0,re.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const i=this._currentSchedule;this._currentSchedule=new Kl;for(const s of i.tasks)s();for(const s of i.endTasks)s()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,Ro.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,J.q)(1))}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(o.R0b))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac})}return l})(),Ss=(()=>{class l{constructor(i,s){this.template=i,this._differs=s}ngOnChanges(i){if(!this._columnsDiffer){const s=i.columns&&i.columns.currentValue||[];this._columnsDiffer=this._differs.find(s).create(),this._columnsDiffer.diff(s)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(i){return this instanceof As?i.headerCell.template:this instanceof Ea?i.footerCell.template:i.cell.template}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.Rgc),o.Y36(o.ZZ4))};static#t=this.\u0275dir=o.lG2({type:l,features:[o.TTD]})}return l})();class Zl extends Ss{}const tn=Da(Zl);let As=(()=>{class l extends tn{constructor(i,s,u){super(i,s),this._table=u}ngOnChanges(i){super.ngOnChanges(i)}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.Rgc),o.Y36(o.ZZ4),o.Y36(Po,8))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[o.qOj,o.TTD]})}return l})();class X_ extends Ss{}const um=Da(X_);let Ea=(()=>{class l extends um{constructor(i,s,u){super(i,s),this._table=u}ngOnChanges(i){super.ngOnChanges(i)}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.Rgc),o.Y36(o.ZZ4),o.Y36(Po,8))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[o.qOj,o.TTD]})}return l})(),Ec=(()=>{class l extends Ss{constructor(i,s,u){super(i,s),this._table=u}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.Rgc),o.Y36(o.ZZ4),o.Y36(Po,8))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[o.qOj]})}return l})(),No=(()=>{class l{static#e=this.mostRecentCellOutlet=null;constructor(i){this._viewContainer=i,l.mostRecentCellOutlet=this}ngOnDestroy(){l.mostRecentCellOutlet===this&&(l.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.s_b))};static#n=this.\u0275dir=o.lG2({type:l,selectors:[["","cdkCellOutlet",""]]})}return l})(),xr=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(s,u){1&s&&o.GkF(0,0)},dependencies:[No],encapsulation:2})}return l})(),Jl=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(s,u){1&s&&o.GkF(0,0)},dependencies:[No],encapsulation:2})}return l})(),Mc=(()=>{class l{constructor(i){this.templateRef=i,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.Rgc))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["ng-template","cdkNoDataRow",""]]})}return l})();const $u=["top","bottom","left","right"];class hm{constructor(a,i,s,u,p=!0,b=!0,B){this._isNativeHtmlTable=a,this._stickCellCss=i,this.direction=s,this._coalescedStyleScheduler=u,this._isBrowser=p,this._needsPositionStickyOnElement=b,this._positionListener=B,this._cachedCellWidths=[],this._borderCellCss={top:`${i}-border-elem-top`,bottom:`${i}-border-elem-bottom`,left:`${i}-border-elem-left`,right:`${i}-border-elem-right`}}clearStickyPositioning(a,i){const s=[];for(const u of a)if(u.nodeType===u.ELEMENT_NODE){s.push(u);for(let p=0;p<u.children.length;p++)s.push(u.children[p])}this._coalescedStyleScheduler.schedule(()=>{for(const u of s)this._removeStickyStyle(u,i)})}updateStickyColumns(a,i,s,u=!0){if(!a.length||!this._isBrowser||!i.some(pt=>pt)&&!s.some(pt=>pt))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const p=a[0],b=p.children.length,B=this._getCellWidths(p,u),oe=this._getStickyStartColumnPositions(B,i),Ce=this._getStickyEndColumnPositions(B,s),Ue=i.lastIndexOf(!0),Qe=s.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const pt="rtl"===this.direction,yt=pt?"right":"left",Et=pt?"left":"right";for(const Ot of a)for(let rn=0;rn<b;rn++){const qn=Ot.children[rn];i[rn]&&this._addStickyStyle(qn,yt,oe[rn],rn===Ue),s[rn]&&this._addStickyStyle(qn,Et,Ce[rn],rn===Qe)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===Ue?[]:B.slice(0,Ue+1).map((Ot,rn)=>i[rn]?Ot:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Qe?[]:B.slice(Qe).map((Ot,rn)=>s[rn+Qe]?Ot:null).reverse()}))})}stickRows(a,i,s){if(!this._isBrowser)return;const u="bottom"===s?a.slice().reverse():a,p="bottom"===s?i.slice().reverse():i,b=[],B=[],oe=[];for(let Ue=0,Qe=0;Ue<u.length;Ue++){if(!p[Ue])continue;b[Ue]=Qe;const pt=u[Ue];oe[Ue]=this._isNativeHtmlTable?Array.from(pt.children):[pt];const yt=pt.getBoundingClientRect().height;Qe+=yt,B[Ue]=yt}const Ce=p.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let Ue=0;Ue<u.length;Ue++){if(!p[Ue])continue;const Qe=b[Ue],pt=Ue===Ce;for(const yt of oe[Ue])this._addStickyStyle(yt,s,Qe,pt)}"top"===s?this._positionListener?.stickyHeaderRowsUpdated({sizes:B,offsets:b,elements:oe}):this._positionListener?.stickyFooterRowsUpdated({sizes:B,offsets:b,elements:oe})})}updateStickyFooterContainer(a,i){if(!this._isNativeHtmlTable)return;const s=a.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{i.some(u=>!u)?this._removeStickyStyle(s,["bottom"]):this._addStickyStyle(s,"bottom",0,!1)})}_removeStickyStyle(a,i){for(const u of i)a.style[u]="",a.classList.remove(this._borderCellCss[u]);$u.some(u=>-1===i.indexOf(u)&&a.style[u])?a.style.zIndex=this._getCalculatedZIndex(a):(a.style.zIndex="",this._needsPositionStickyOnElement&&(a.style.position=""),a.classList.remove(this._stickCellCss))}_addStickyStyle(a,i,s,u){a.classList.add(this._stickCellCss),u&&a.classList.add(this._borderCellCss[i]),a.style[i]=`${s}px`,a.style.zIndex=this._getCalculatedZIndex(a),this._needsPositionStickyOnElement&&(a.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(a){const i={top:100,bottom:10,left:1,right:1};let s=0;for(const u of $u)a.style[u]&&(s+=i[u]);return s?`${s}`:""}_getCellWidths(a,i=!0){if(!i&&this._cachedCellWidths.length)return this._cachedCellWidths;const s=[],u=a.children;for(let p=0;p<u.length;p++)s.push(u[p].getBoundingClientRect().width);return this._cachedCellWidths=s,s}_getStickyStartColumnPositions(a,i){const s=[];let u=0;for(let p=0;p<a.length;p++)i[p]&&(s[p]=u,u+=a[p]);return s}_getStickyEndColumnPositions(a,i){const s=[];let u=0;for(let p=a.length;p>0;p--)i[p]&&(s[p]=u,u+=a[p]);return s}}const Ma=new o.OlP("CDK_SPL");let Sc=(()=>{class l{constructor(i,s){this.viewContainer=i,this.elementRef=s}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.s_b),o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","rowOutlet",""]]})}return l})(),Xl=(()=>{class l{constructor(i,s){this.viewContainer=i,this.elementRef=s}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.s_b),o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","headerRowOutlet",""]]})}return l})(),Ta=(()=>{class l{constructor(i,s){this.viewContainer=i,this.elementRef=s}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.s_b),o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","footerRowOutlet",""]]})}return l})(),bi=(()=>{class l{constructor(i,s){this.viewContainer=i,this.elementRef=s}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.s_b),o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","noDataRowOutlet",""]]})}return l})(),qi=(()=>{class l{get trackBy(){return this._trackByFn}set trackBy(i){this._trackByFn=i}get dataSource(){return this._dataSource}set dataSource(i){this._dataSource!==i&&this._switchDataSource(i)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(i){this._multiTemplateDataRows=i,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(i){this._fixedLayout=i,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(i,s,u,p,b,B,oe,Ce,Ue,Qe,pt,yt){this._differs=i,this._changeDetectorRef=s,this._elementRef=u,this._dir=b,this._platform=oe,this._viewRepeater=Ce,this._coalescedStyleScheduler=Ue,this._viewportRuler=Qe,this._stickyPositioningListener=pt,this._ngZone=yt,this._onDestroy=new Q.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 o.vpe,this.viewChange=new _i.X({start:0,end:Number.MAX_VALUE}),p||this._elementRef.nativeElement.setAttribute("role","table"),this._document=B,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((i,s)=>this.trackBy?this.trackBy(s.dataIndex,s.data):s),this._viewportRuler.change().pipe((0,re.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const s=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||s,this._forceRecalculateCellWidths=s,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(i=>{i.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),En(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const i=this._dataDiffer.diff(this._renderRows);if(!i)return this._updateNoDataRow(),void this.contentChanged.next();const s=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(i,s,(u,p,b)=>this._getEmbeddedViewArgs(u.item,b),u=>u.item.data,u=>{1===u.operation&&u.context&&this._renderCellTemplateForItem(u.record.item.rowDef,u.context)}),this._updateRowIndexContext(),i.forEachIdentityChange(u=>{s.get(u.currentIndex).context.$implicit=u.item.data}),this._updateNoDataRow(),this._ngZone&&o.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,J.q)(1),(0,re.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(i){this._customColumnDefs.add(i)}removeColumnDef(i){this._customColumnDefs.delete(i)}addRowDef(i){this._customRowDefs.add(i)}removeRowDef(i){this._customRowDefs.delete(i)}addHeaderRowDef(i){this._customHeaderRowDefs.add(i),this._headerRowDefChanged=!0}removeHeaderRowDef(i){this._customHeaderRowDefs.delete(i),this._headerRowDefChanged=!0}addFooterRowDef(i){this._customFooterRowDefs.add(i),this._footerRowDefChanged=!0}removeFooterRowDef(i){this._customFooterRowDefs.delete(i),this._footerRowDefChanged=!0}setNoDataRow(i){this._customNoDataRow=i}updateStickyHeaderRowStyles(){const i=this._getRenderedRows(this._headerRowOutlet),u=this._elementRef.nativeElement.querySelector("thead");u&&(u.style.display=i.length?"":"none");const p=this._headerRowDefs.map(b=>b.sticky);this._stickyStyler.clearStickyPositioning(i,["top"]),this._stickyStyler.stickRows(i,p,"top"),this._headerRowDefs.forEach(b=>b.resetStickyChanged())}updateStickyFooterRowStyles(){const i=this._getRenderedRows(this._footerRowOutlet),u=this._elementRef.nativeElement.querySelector("tfoot");u&&(u.style.display=i.length?"":"none");const p=this._footerRowDefs.map(b=>b.sticky);this._stickyStyler.clearStickyPositioning(i,["bottom"]),this._stickyStyler.stickRows(i,p,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,p),this._footerRowDefs.forEach(b=>b.resetStickyChanged())}updateStickyColumnStyles(){const i=this._getRenderedRows(this._headerRowOutlet),s=this._getRenderedRows(this._rowOutlet),u=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...i,...s,...u],["left","right"]),this._stickyColumnStylesNeedReset=!1),i.forEach((p,b)=>{this._addStickyColumnStyles([p],this._headerRowDefs[b])}),this._rowDefs.forEach(p=>{const b=[];for(let B=0;B<s.length;B++)this._renderRows[B].rowDef===p&&b.push(s[B]);this._addStickyColumnStyles(b,p)}),u.forEach((p,b)=>{this._addStickyColumnStyles([p],this._footerRowDefs[b])}),Array.from(this._columnDefsByName.values()).forEach(p=>p.resetStickyChanged())}_getAllRenderRows(){const i=[],s=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let u=0;u<this._data.length;u++){let p=this._data[u];const b=this._getRenderRowsForData(p,u,s.get(p));this._cachedRenderRowsMap.has(p)||this._cachedRenderRowsMap.set(p,new WeakMap);for(let B=0;B<b.length;B++){let oe=b[B];const Ce=this._cachedRenderRowsMap.get(oe.data);Ce.has(oe.rowDef)?Ce.get(oe.rowDef).push(oe):Ce.set(oe.rowDef,[oe]),i.push(oe)}}return i}_getRenderRowsForData(i,s,u){return this._getRowDefs(i,s).map(b=>{const B=u&&u.has(b)?u.get(b):[];if(B.length){const oe=B.shift();return oe.dataIndex=s,oe}return{data:i,rowDef:b,dataIndex:s}})}_cacheColumnDefs(){this._columnDefsByName.clear(),mo(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(s=>{this._columnDefsByName.has(s.name),this._columnDefsByName.set(s.name,s)})}_cacheRowDefs(){this._headerRowDefs=mo(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=mo(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=mo(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const i=this._rowDefs.filter(s=>!s.when);this._defaultRowDef=i[0]}_renderUpdatedColumns(){const i=(b,B)=>b||!!B.getColumnsDiff(),s=this._rowDefs.reduce(i,!1);s&&this._forceRenderDataRows();const u=this._headerRowDefs.reduce(i,!1);u&&this._forceRenderHeaderRows();const p=this._footerRowDefs.reduce(i,!1);return p&&this._forceRenderFooterRows(),s||u||p}_switchDataSource(i){this._data=[],En(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),i||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=i}_observeRenderChanges(){if(!this.dataSource)return;let i;En(this.dataSource)?i=this.dataSource.connect(this):function er(l){return!!l&&(l instanceof _r.y||(0,ho.m)(l.lift)&&(0,ho.m)(l.subscribe))}(this.dataSource)?i=this.dataSource:Array.isArray(this.dataSource)&&(i=(0,Qo.of)(this.dataSource)),this._renderChangeSubscription=i.pipe((0,re.R)(this._onDestroy)).subscribe(s=>{this._data=s||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((i,s)=>this._renderRow(this._headerRowOutlet,i,s)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((i,s)=>this._renderRow(this._footerRowOutlet,i,s)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(i,s){const u=Array.from(s.columns||[]).map(B=>this._columnDefsByName.get(B)),p=u.map(B=>B.sticky),b=u.map(B=>B.stickyEnd);this._stickyStyler.updateStickyColumns(i,p,b,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(i){const s=[];for(let u=0;u<i.viewContainer.length;u++){const p=i.viewContainer.get(u);s.push(p.rootNodes[0])}return s}_getRowDefs(i,s){if(1==this._rowDefs.length)return[this._rowDefs[0]];let u=[];if(this.multiTemplateDataRows)u=this._rowDefs.filter(p=>!p.when||p.when(s,i));else{let p=this._rowDefs.find(b=>b.when&&b.when(s,i))||this._defaultRowDef;p&&u.push(p)}return u}_getEmbeddedViewArgs(i,s){return{templateRef:i.rowDef.template,context:{$implicit:i.data},index:s}}_renderRow(i,s,u,p={}){const b=i.viewContainer.createEmbeddedView(s.template,p,u);return this._renderCellTemplateForItem(s,p),b}_renderCellTemplateForItem(i,s){for(let u of this._getCellTemplates(i))No.mostRecentCellOutlet&&No.mostRecentCellOutlet._viewContainer.createEmbeddedView(u,s);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const i=this._rowOutlet.viewContainer;for(let s=0,u=i.length;s<u;s++){const b=i.get(s).context;b.count=u,b.first=0===s,b.last=s===u-1,b.even=s%2==0,b.odd=!b.even,this.multiTemplateDataRows?(b.dataIndex=this._renderRows[s].dataIndex,b.renderIndex=s):b.index=this._renderRows[s].dataIndex}}_getCellTemplates(i){return i&&i.columns?Array.from(i.columns,s=>{const u=this._columnDefsByName.get(s);return i.extractCellTemplate(u)}):[]}_applyNativeTableSections(){const i=this._document.createDocumentFragment(),s=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const u of s){const p=this._document.createElement(u.tag);p.setAttribute("role","rowgroup");for(const b of u.outlets)p.appendChild(b.elementRef.nativeElement);i.appendChild(p)}this._elementRef.nativeElement.appendChild(i)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const i=(s,u)=>s||u.hasStickyChanged();this._headerRowDefs.reduce(i,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(i,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(i,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new hm(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,Qo.of)()).pipe((0,re.R)(this._onDestroy)).subscribe(s=>{this._stickyStyler.direction=s,this.updateStickyColumnStyles()})}_getOwnDefs(i){return i.filter(s=>!s._table||s._table===this)}_updateNoDataRow(){const i=this._customNoDataRow||this._noDataRow;if(!i)return;const s=0===this._rowOutlet.viewContainer.length;if(s===this._isShowingNoDataRow)return;const u=this._noDataRowOutlet.viewContainer;if(s){const p=u.createEmbeddedView(i.templateRef),b=p.rootNodes[0];1===p.rootNodes.length&&b?.nodeType===this._document.ELEMENT_NODE&&(b.setAttribute("role","row"),b.classList.add(i._contentClassName))}else u.clear();this._isShowingNoDataRow=s,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.ZZ4),o.Y36(o.sBO),o.Y36(o.SBq),o.$8M("role"),o.Y36(G.Is,8),o.Y36(ue.K0),o.Y36(Tn.t4),o.Y36(Hi),o.Y36(xc),o.Y36(dn.rL),o.Y36(Ma,12),o.Y36(o.R0b,8))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(s,u,p){if(1&s&&(o.Suo(p,Mc,5),o.Suo(p,Eo,5),o.Suo(p,Ec,5),o.Suo(p,As,5),o.Suo(p,Ea,5)),2&s){let b;o.iGM(b=o.CRH())&&(u._noDataRow=b.first),o.iGM(b=o.CRH())&&(u._contentColumnDefs=b),o.iGM(b=o.CRH())&&(u._contentRowDefs=b),o.iGM(b=o.CRH())&&(u._contentHeaderRowDefs=b),o.iGM(b=o.CRH())&&(u._contentFooterRowDefs=b)}},viewQuery:function(s,u){if(1&s&&(o.Gf(Sc,7),o.Gf(Xl,7),o.Gf(Ta,7),o.Gf(bi,7)),2&s){let p;o.iGM(p=o.CRH())&&(u._rowOutlet=p.first),o.iGM(p=o.CRH())&&(u._headerRowOutlet=p.first),o.iGM(p=o.CRH())&&(u._footerRowOutlet=p.first),o.iGM(p=o.CRH())&&(u._noDataRowOutlet=p.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(s,u){2&s&&o.ekj("cdk-table-fixed-layout",u.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:["multiTemplateDataRows","multiTemplateDataRows",o.VuI],fixedLayout:["fixedLayout","fixedLayout",o.VuI]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[o._Bn([{provide:Po,useExisting:l},{provide:Hi,useClass:jn},{provide:xc,useClass:Cc},{provide:Ma,useValue:null}]),o.Xq5],ngContentSelectors:lm,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(s,u){1&s&&(o.F$t(Ms),o.Hsn(0),o.Hsn(1,1),o.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[Sc,Xl,Ta,bi],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return l})();function mo(l,a){return l.concat(Array.from(a))}let bm=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({imports:[dn.Cl]})}return l})();const vm=[[["caption"]],[["colgroup"],["col"]]],ed=["caption","colgroup, col"];let id=(()=>{class l extends qi{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=(()=>{let i;return function(u){return(i||(i=o.n5z(l)))(u||l)}})();static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(s,u){2&s&&o.ekj("mdc-table-fixed-layout",u.fixedLayout)},exportAs:["matTable"],features:[o._Bn([{provide:qi,useExisting:l},{provide:Po,useExisting:l},{provide:xc,useClass:Cc},{provide:Hi,useClass:jn},{provide:Ma,useValue:null}]),o.qOj],ngContentSelectors:ed,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(s,u){1&s&&(o.F$t(vm),o.Hsn(0),o.Hsn(1,1),o.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[Sc,Xl,Ta,bi],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{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 l})(),Sa=(()=>{class l extends Ts{static#e=this.\u0275fac=(()=>{let i;return function(u){return(i||(i=o.n5z(l)))(u||l)}})();static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","matCellDef",""]],features:[o._Bn([{provide:Ts,useExisting:l}]),o.qOj]})}return l})(),Is=(()=>{class l extends Fo{static#e=this.\u0275fac=(()=>{let i;return function(u){return(i||(i=o.n5z(l)))(u||l)}})();static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","matHeaderCellDef",""]],features:[o._Bn([{provide:Fo,useExisting:l}]),o.qOj]})}return l})(),Aa=(()=>{class l extends Eo{get name(){return this._name}set name(i){this._setNameInput(i)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static#e=this.\u0275fac=(()=>{let i;return function(u){return(i||(i=o.n5z(l)))(u||l)}})();static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[o._Bn([{provide:Eo,useExisting:l},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:l}]),o.qOj]})}return l})(),Ia=(()=>{class l extends fo{static#e=this.\u0275fac=(()=>{let i;return function(u){return(i||(i=o.n5z(l)))(u||l)}})();static#t=this.\u0275dir=o.lG2({type:l,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[o.qOj]})}return l})(),Os=(()=>{class l extends Yl{static#e=this.\u0275fac=(()=>{let i;return function(u){return(i||(i=o.n5z(l)))(u||l)}})();static#t=this.\u0275dir=o.lG2({type:l,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[o.qOj]})}return l})(),vi=(()=>{class l extends As{static#e=this.\u0275fac=(()=>{let i;return function(u){return(i||(i=o.n5z(l)))(u||l)}})();static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[o._Bn([{provide:As,useExisting:l}]),o.qOj]})}return l})(),Nn=(()=>{class l extends Ec{static#e=this.\u0275fac=(()=>{let i;return function(u){return(i||(i=o.n5z(l)))(u||l)}})();static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[o._Bn([{provide:Ec,useExisting:l}]),o.qOj]})}return l})(),Ac=(()=>{class l extends xr{static#e=this.\u0275fac=(()=>{let i;return function(u){return(i||(i=o.n5z(l)))(u||l)}})();static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[o._Bn([{provide:xr,useExisting:l}]),o.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(s,u){1&s&&o.GkF(0,0)},dependencies:[No],encapsulation:2})}return l})(),od=(()=>{class l extends Jl{static#e=this.\u0275fac=(()=>{let i;return function(u){return(i||(i=o.n5z(l)))(u||l)}})();static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[o._Bn([{provide:Jl,useExisting:l}]),o.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(s,u){1&s&&o.GkF(0,0)},dependencies:[No],encapsulation:2})}return l})(),Ic=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({imports:[me.BQ,bm,me.BQ]})}return l})();var Lo=y(7361);const Oc=["tooltip"],rd=new o.OlP("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const l=(0,o.f3M)(zn);return()=>l.scrollStrategies.reposition({scrollThrottle:20})}}),Cm={provide:rd,deps:[zn],useFactory:function Gu(l){return()=>l.scrollStrategies.reposition({scrollThrottle:20})}},ka=new o.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function ks(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),kc="tooltip-panel",Wu=(0,Tn.i$)({passive:!0});let Jr=(()=>{class l{get position(){return this._position}set position(i){i!==this._position&&(this._position=i,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(i){this._positionAtOrigin=(0,ne.Ig)(i),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(i){this._disabled=(0,ne.Ig)(i),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(i){this._showDelay=(0,ne.su)(i)}get hideDelay(){return this._hideDelay}set hideDelay(i){this._hideDelay=(0,ne.su)(i),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(i){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=i?String(i).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(i){this._tooltipClass=i,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(i,s,u,p,b,B,oe,Ce,Ue,Qe,pt,yt){this._overlay=i,this._elementRef=s,this._scrollDispatcher=u,this._viewContainerRef=p,this._ngZone=b,this._platform=B,this._ariaDescriber=oe,this._focusMonitor=Ce,this._dir=Qe,this._defaultOptions=pt,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=Mm,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Q.x,this._scrollStrategy=Ue,this._document=yt,pt&&(this._showDelay=pt.showDelay,this._hideDelay=pt.hideDelay,pt.position&&(this.position=pt.position),pt.positionAtOrigin&&(this.positionAtOrigin=pt.positionAtOrigin),pt.touchGestures&&(this.touchGestures=pt.touchGestures)),Qe.change.pipe((0,re.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,re.R)(this._destroyed)).subscribe(i=>{i?"keyboard"===i&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const i=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([s,u])=>{i.removeEventListener(s,u,Wu)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(i,this.message,"tooltip"),this._focusMonitor.stopMonitoring(i)}show(i=this.showDelay,s){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const u=this._createOverlay(s);this._detach(),this._portal=this._portal||new vn.C5(this._tooltipComponent,this._viewContainerRef);const p=this._tooltipInstance=u.attach(this._portal).instance;p._triggerElement=this._elementRef.nativeElement,p._mouseLeaveHideDelay=this._hideDelay,p.afterHidden().pipe((0,re.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),p.show(i)}hide(i=this.hideDelay){const s=this._tooltipInstance;s&&(s.isVisible()?s.hide(i):(s._cancelPendingAnimations(),this._detach()))}toggle(i){this._isTooltipVisible()?this.hide():this.show(void 0,i)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(i){if(this._overlayRef){const p=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!i)&&p._origin instanceof o.SBq)return this._overlayRef;this._detach()}const s=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),u=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&i||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(s);return u.positionChanges.pipe((0,re.R)(this._destroyed)).subscribe(p=>{this._updateCurrentPositionClass(p.connectionPair),this._tooltipInstance&&p.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:u,panelClass:`${this._cssClassPrefix}-${kc}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,re.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,re.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,re.R)(this._destroyed)).subscribe(p=>{this._isTooltipVisible()&&p.keyCode===Se.hY&&!(0,Se.Vb)(p)&&(p.preventDefault(),p.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(i){const s=i.getConfig().positionStrategy,u=this._getOrigin(),p=this._getOverlayPosition();s.withPositions([this._addOffset({...u.main,...p.main}),this._addOffset({...u.fallback,...p.fallback})])}_addOffset(i){const u=!this._dir||"ltr"==this._dir.value;return"top"===i.originY?i.offsetY=-8:"bottom"===i.originY?i.offsetY=8:"start"===i.originX?i.offsetX=u?-8:8:"end"===i.originX&&(i.offsetX=u?8:-8),i}_getOrigin(){const i=!this._dir||"ltr"==this._dir.value,s=this.position;let u;"above"==s||"below"==s?u={originX:"center",originY:"above"==s?"top":"bottom"}:"before"==s||"left"==s&&i||"right"==s&&!i?u={originX:"start",originY:"center"}:("after"==s||"right"==s&&i||"left"==s&&!i)&&(u={originX:"end",originY:"center"});const{x:p,y:b}=this._invertPosition(u.originX,u.originY);return{main:u,fallback:{originX:p,originY:b}}}_getOverlayPosition(){const i=!this._dir||"ltr"==this._dir.value,s=this.position;let u;"above"==s?u={overlayX:"center",overlayY:"bottom"}:"below"==s?u={overlayX:"center",overlayY:"top"}:"before"==s||"left"==s&&i||"right"==s&&!i?u={overlayX:"end",overlayY:"center"}:("after"==s||"right"==s&&i||"left"==s&&!i)&&(u={overlayX:"start",overlayY:"center"});const{x:p,y:b}=this._invertPosition(u.overlayX,u.overlayY);return{main:u,fallback:{overlayX:p,overlayY:b}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,J.q)(1),(0,re.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(i){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=i,this._tooltipInstance._markForCheck())}_invertPosition(i,s){return"above"===this.position||"below"===this.position?"top"===s?s="bottom":"bottom"===s&&(s="top"):"end"===i?i="start":"start"===i&&(i="end"),{x:i,y:s}}_updateCurrentPositionClass(i){const{overlayY:s,originX:u,originY:p}=i;let b;if(b="center"===s?this._dir&&"rtl"===this._dir.value?"end"===u?"left":"right":"start"===u?"left":"right":"bottom"===s&&"top"===p?"above":"below",b!==this._currentPosition){const B=this._overlayRef;if(B){const oe=`${this._cssClassPrefix}-${kc}-`;B.removePanelClass(oe+this._currentPosition),B.addPanelClass(oe+b)}this._currentPosition=b}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",i=>{let s;this._setupPointerExitEventsIfNeeded(),void 0!==i.x&&void 0!==i.y&&(s=i),this.show(void 0,s)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",i=>{const s=i.targetTouches?.[0],u=s?{x:s.clientX,y:s.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,u),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const i=[];if(this._platformSupportsMouseEvents())i.push(["mouseleave",s=>{const u=s.relatedTarget;(!u||!this._overlayRef?.overlayElement.contains(u))&&this.hide()}],["wheel",s=>this._wheelListener(s)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const s=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};i.push(["touchend",s],["touchcancel",s])}this._addListeners(i),this._passiveListeners.push(...i)}_addListeners(i){i.forEach(([s,u])=>{this._elementRef.nativeElement.addEventListener(s,u,Wu)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(i){if(this._isTooltipVisible()){const s=this._document.elementFromPoint(i.clientX,i.clientY),u=this._elementRef.nativeElement;s!==u&&!u.contains(s)&&this.hide()}}_disableNativeGesturesIfNecessary(){const i=this.touchGestures;if("off"!==i){const s=this._elementRef.nativeElement,u=s.style;("on"===i||"INPUT"!==s.nodeName&&"TEXTAREA"!==s.nodeName)&&(u.userSelect=u.msUserSelect=u.webkitUserSelect=u.MozUserSelect="none"),("on"===i||!s.draggable)&&(u.webkitUserDrag="none"),u.touchAction="none",u.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(zn),o.Y36(o.SBq),o.Y36(dn.mF),o.Y36(o.s_b),o.Y36(o.R0b),o.Y36(Tn.t4),o.Y36(fe.$s),o.Y36(fe.tE),o.Y36(rd),o.Y36(G.Is),o.Y36(ka,8),o.Y36(ue.K0))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(s,u){2&s&&o.ekj("mat-mdc-tooltip-disabled",u.disabled)},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"]},exportAs:["matTooltip"]})}return l})(),Mm=(()=>{class l{constructor(i,s,u){this._changeDetectorRef=i,this._elementRef=s,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new Q.x,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===u}show(i){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},i)}hide(i){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},i)}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:i}){(!i||!this._triggerElement.contains(i))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const i=this._elementRef.nativeElement.getBoundingClientRect();return i.height>24&&i.width>=200}_handleAnimationEnd({animationName:i}){(i===this._showAnimation||i===this._hideAnimation)&&this._finalizeAnimation(i===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(i){i?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(i){const s=this._tooltip.nativeElement,u=this._showAnimation,p=this._hideAnimation;if(s.classList.remove(i?p:u),s.classList.add(i?u:p),this._isVisible=i,i&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const b=getComputedStyle(s);("0s"===b.getPropertyValue("animation-duration")||"none"===b.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}i&&this._onShow(),this._animationsDisabled&&(s.classList.add("_mat-animation-noopable"),this._finalizeAnimation(i))}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.QbO,8))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["mat-tooltip-component"]],viewQuery:function(s,u){if(1&s&&o.Gf(Oc,7),2&s){let p;o.iGM(p=o.CRH())&&(u._tooltip=p.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(s,u){1&s&&o.NdJ("mouseleave",function(b){return u._handleMouseLeave(b)}),2&s&&o.Udp("zoom",u.isVisible()?1:null)},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(s,u){1&s&&(o.TgZ(0,"div",0,1),o.NdJ("animationend",function(b){return u._handleAnimationEnd(b)}),o.TgZ(2,"div",2),o._uU(3),o.qZA()()),2&s&&(o.ekj("mdc-tooltip--multiline",u._isMultiline),o.Q6J("ngClass",u.tooltipClass),o.xp6(3),o.Oqu(u.message))},dependencies:[ue.mk],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-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.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 l})(),ad=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({providers:[Cm],imports:[fe.rt,ue.ez,Zn,me.BQ,me.BQ,dn.ZD]})}return l})();function Tm(l){return new o.vHH(3e3,!1)}function Xr(l){switch(l.length){case 0:return new Z.ZN;case 1:return l[0];default:return new Z.ZE(l)}}function oh(l,a,i=new Map,s=new Map){const u=[],p=[];let b=-1,B=null;if(a.forEach(oe=>{const Ce=oe.get("offset"),Ue=Ce==b,Qe=Ue&&B||new Map;oe.forEach((pt,yt)=>{let Et=yt,Ot=pt;if("offset"!==yt)switch(Et=l.normalizePropertyName(Et,u),Ot){case Z.k1:Ot=i.get(yt);break;case Z.l3:Ot=s.get(yt);break;default:Ot=l.normalizeStyleValue(yt,Et,Ot,u)}Qe.set(Et,Ot)}),Ue||p.push(Qe),B=Qe,b=Ce}),u.length)throw function hi(l){return new o.vHH(3502,!1)}();return p}function rh(l,a,i,s){switch(a){case"start":l.onStart(()=>s(i&&sh(i,"start",l)));break;case"done":l.onDone(()=>s(i&&sh(i,"done",l)));break;case"destroy":l.onDestroy(()=>s(i&&sh(i,"destroy",l)))}}function sh(l,a,i){const p=ah(l.element,l.triggerName,l.fromState,l.toState,a||l.phaseName,i.totalTime??l.totalTime,!!i.disabled),b=l._data;return null!=b&&(p._data=b),p}function ah(l,a,i,s,u="",p=0,b){return{element:l,triggerName:a,fromState:i,toState:s,phaseName:u,totalTime:p,disabled:!!b}}function po(l,a,i){let s=l.get(a);return s||l.set(a,s=i),s}function Fm(l){const a=l.indexOf(":");return[l.substring(1,a),l.slice(a+1)]}const ab=(()=>typeof document>"u"?null:document.documentElement)();function Er(l){const a=l.parentNode||l.host||null;return a===ab?null:a}let es=null,ci=!1;function Ni(l,a){for(;a;){if(a===l)return!0;a=Er(a)}return!1}function ts(l,a,i){if(i)return Array.from(l.querySelectorAll(a));const s=l.querySelector(a);return s?[s]:[]}let $s=(()=>{class l{validateStyleProperty(i){return function Lm(l){es||(es=function Bm(){return typeof document<"u"?document.body:null}()||{},ci=!!es.style&&"WebkitAppearance"in es.style);let a=!0;return es.style&&!function Nm(l){return"ebkit"==l.substring(1,6)}(l)&&(a=l in es.style,!a&&ci&&(a="Webkit"+l.charAt(0).toUpperCase()+l.slice(1)in es.style)),a}(i)}matchesElement(i,s){return!1}containsElement(i,s){return Ni(i,s)}getParentElement(i){return Er(i)}query(i,s,u){return ts(i,s,u)}computeStyle(i,s,u){return u||""}animate(i,s,u,p,b,B=[],oe){return new Z.ZN(u,p)}static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac})}return l})(),ns=(()=>{class l{static#e=this.NOOP=new $s}return l})();class Ra{}const ch=1e3,Pa="ng-enter",ir="ng-leave",md="ng-trigger",Fa=".ng-trigger",lh="ng-animating",pd=".ng-animating";function or(l){if("number"==typeof l)return l;const a=l.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:gd(parseFloat(a[1]),a[2])}function gd(l,a){return"s"===a?l*ch:l}function Bc(l,a,i){return l.hasOwnProperty("duration")?l:function Hm(l,a,i){let u,p=0,b="";if("string"==typeof l){const B=l.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===B)return a.push(Tm()),{duration:0,delay:0,easing:""};u=gd(parseFloat(B[1]),B[2]);const oe=B[3];null!=oe&&(p=gd(parseFloat(oe),B[4]));const Ce=B[5];Ce&&(b=Ce)}else u=l;if(!i){let B=!1,oe=a.length;u<0&&(a.push(function Yu(){return new o.vHH(3100,!1)}()),B=!0),p<0&&(a.push(function Ku(){return new o.vHH(3101,!1)}()),B=!0),B&&a.splice(oe,0,Tm())}return{duration:u,delay:p,easing:b}}(l,a,i)}function is(l,a={}){return Object.keys(l).forEach(i=>{a[i]=l[i]}),a}function Na(l){const a=new Map;return Object.keys(l).forEach(i=>{a.set(i,l[i])}),a}function Mr(l,a=new Map,i){if(i)for(let[s,u]of i)a.set(s,u);for(let[s,u]of l)a.set(s,u);return a}function Qi(l,a,i){a.forEach((s,u)=>{const p=rs(u);i&&!i.has(u)&&i.set(u,l.style[p]),l.style[p]=s})}function os(l,a){a.forEach((i,s)=>{const u=rs(s);l.style[u]=""})}function Vs(l){return Array.isArray(l)?1==l.length?l[0]:(0,Z.vP)(l):l}const Hs=new RegExp("{{\\s*(.+?)\\s*}}","g");function bd(l){let a=[];if("string"==typeof l){let i;for(;i=Hs.exec(l);)a.push(i[1]);Hs.lastIndex=0}return a}function Ba(l,a,i){const s=l.toString(),u=s.replace(Hs,(p,b)=>{let B=a[b];return null==B&&(i.push(function Bo(l){return new o.vHH(3003,!1)}()),B=""),B.toString()});return u==s?l:u}function $c(l){const a=[];let i=l.next();for(;!i.done;)a.push(i.value),i=l.next();return a}const js=/-+([a-z0-9])/g;function rs(l){return l.replace(js,(...a)=>a[1].toUpperCase())}function Xi(l,a,i){switch(a.type){case 7:return l.visitTrigger(a,i);case 0:return l.visitState(a,i);case 1:return l.visitTransition(a,i);case 2:return l.visitSequence(a,i);case 3:return l.visitGroup(a,i);case 4:return l.visitAnimate(a,i);case 5:return l.visitKeyframes(a,i);case 6:return l.visitStyle(a,i);case 8:return l.visitReference(a,i);case 9:return l.visitAnimateChild(a,i);case 10:return l.visitAnimateRef(a,i);case 11:return l.visitQuery(a,i);case 12:return l.visitStagger(a,i);default:throw function Am(l){return new o.vHH(3004,!1)}()}}function Um(l,a){return window.getComputedStyle(l)[a]}const zm=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 uh extends Ra{normalizePropertyName(a,i){return rs(a)}normalizeStyleValue(a,i,s,u){let p="";const b=s.toString().trim();if(zm.has(i)&&0!==s&&"0"!==s)if("number"==typeof s)p="px";else{const B=s.match(/^[+-]?[\d\.]+([a-z]*)$/);B&&0==B[1].length&&u.push(function Pc(l,a){return new o.vHH(3005,!1)}())}return b+p}}const Vc="*";function mh(l,a){const i=[];return"string"==typeof l?l.split(/\s*,\s*/).forEach(s=>function ph(l,a,i){if(":"==l[0]){const oe=function Hc(l,a){switch(l){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(i,s)=>parseFloat(s)>parseFloat(i);case":decrement":return(i,s)=>parseFloat(s)<parseFloat(i);default:return a.push(function eh(l){return new o.vHH(3016,!1)}()),"* => *"}}(l,i);if("function"==typeof oe)return void a.push(oe);l=oe}const s=l.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==s||s.length<4)return i.push(function Om(l){return new o.vHH(3015,!1)}()),a;const u=s[1],p=s[2],b=s[3];a.push(gh(u,b));"<"==p[0]&&!(u==Vc&&b==Vc)&&a.push(gh(b,u))}(s,i,a)):i.push(l),i}const yd=new Set(["true","1"]),Us=new Set(["false","0"]);function gh(l,a){const i=yd.has(l)||Us.has(l),s=yd.has(a)||Us.has(a);return(u,p)=>{let b=l==Vc||l==u,B=a==Vc||a==p;return!b&&i&&"boolean"==typeof u&&(b=u?yd.has(l):Us.has(l)),!B&&s&&"boolean"==typeof p&&(B=p?yd.has(a):Us.has(a)),b&&B}}const _h=new RegExp("s*:selfs*,?","g");function Uc(l,a,i,s){return new Wm(l).build(a,i,s)}class Wm{constructor(a){this._driver=a}build(a,i,s){const u=new Ym(i);return this._resetContextStyleTimingState(u),Xi(this,Vs(a),u)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles=new Map,a.collectedStyles.set("",new Map),a.currentTime=0}visitTrigger(a,i){let s=i.queryCount=0,u=i.depCount=0;const p=[],b=[];return"@"==a.name.charAt(0)&&i.errors.push(function ld(){return new o.vHH(3006,!1)}()),a.definitions.forEach(B=>{if(this._resetContextStyleTimingState(i),0==B.type){const oe=B,Ce=oe.name;Ce.toString().split(/\s*,\s*/).forEach(Ue=>{oe.name=Ue,p.push(this.visitState(oe,i))}),oe.name=Ce}else if(1==B.type){const oe=this.visitTransition(B,i);s+=oe.queryCount,u+=oe.depCount,b.push(oe)}else i.errors.push(function Zu(){return new o.vHH(3007,!1)}())}),{type:7,name:a.name,states:p,transitions:b,queryCount:s,depCount:u,options:null}}visitState(a,i){const s=this.visitStyle(a.styles,i),u=a.options&&a.options.params||null;if(s.containsDynamicStyles){const p=new Set,b=u||{};s.styles.forEach(B=>{B instanceof Map&&B.forEach(oe=>{bd(oe).forEach(Ce=>{b.hasOwnProperty(Ce)||p.add(Ce)})})}),p.size&&($c(p.values()),i.errors.push(function Fc(l,a){return new o.vHH(3008,!1)}()))}return{type:0,name:a.name,style:s,options:u?{params:u}:null}}visitTransition(a,i){i.queryCount=0,i.depCount=0;const s=Xi(this,Vs(a.animation),i);return{type:1,matchers:mh(a.expr,i.errors),animation:s,queryCount:i.queryCount,depCount:i.depCount,options:Si(a.options)}}visitSequence(a,i){return{type:2,steps:a.steps.map(s=>Xi(this,s,i)),options:Si(a.options)}}visitGroup(a,i){const s=i.currentTime;let u=0;const p=a.steps.map(b=>{i.currentTime=s;const B=Xi(this,b,i);return u=Math.max(u,i.currentTime),B});return i.currentTime=u,{type:3,steps:p,options:Si(a.options)}}visitAnimate(a,i){const s=function Gc(l,a){if(l.hasOwnProperty("duration"))return l;if("number"==typeof l)return Sr(Bc(l,a).duration,0,"");const i=l;if(i.split(/\s+/).some(p=>"{"==p.charAt(0)&&"{"==p.charAt(1))){const p=Sr(0,0,"");return p.dynamic=!0,p.strValue=i,p}const u=Bc(i,a);return Sr(u.duration,u.delay,u.easing)}(a.timings,i.errors);i.currentAnimateTimings=s;let u,p=a.styles?a.styles:(0,Z.oB)({});if(5==p.type)u=this.visitKeyframes(p,i);else{let b=a.styles,B=!1;if(!b){B=!0;const Ce={};s.easing&&(Ce.easing=s.easing),b=(0,Z.oB)(Ce)}i.currentTime+=s.duration+s.delay;const oe=this.visitStyle(b,i);oe.isEmptyStep=B,u=oe}return i.currentAnimateTimings=null,{type:4,timings:s,style:u,options:null}}visitStyle(a,i){const s=this._makeStyleAst(a,i);return this._validateStyleAst(s,i),s}_makeStyleAst(a,i){const s=[],u=Array.isArray(a.styles)?a.styles:[a.styles];for(let B of u)"string"==typeof B?B===Z.l3?s.push(B):i.errors.push(new o.vHH(3002,!1)):s.push(Na(B));let p=!1,b=null;return s.forEach(B=>{if(B instanceof Map&&(B.has("easing")&&(b=B.get("easing"),B.delete("easing")),!p))for(let oe of B.values())if(oe.toString().indexOf("{{")>=0){p=!0;break}}),{type:6,styles:s,easing:b,offset:a.offset,containsDynamicStyles:p,options:null}}_validateStyleAst(a,i){const s=i.currentAnimateTimings;let u=i.currentTime,p=i.currentTime;s&&p>0&&(p-=s.duration+s.delay),a.styles.forEach(b=>{"string"!=typeof b&&b.forEach((B,oe)=>{const Ce=i.collectedStyles.get(i.currentQuerySelector),Ue=Ce.get(oe);let Qe=!0;Ue&&(p!=u&&p>=Ue.startTime&&u<=Ue.endTime&&(i.errors.push(function qu(l,a,i,s,u){return new o.vHH(3010,!1)}()),Qe=!1),p=Ue.startTime),Qe&&Ce.set(oe,{startTime:p,endTime:u}),i.options&&function _d(l,a,i){const s=a.params||{},u=bd(l);u.length&&u.forEach(p=>{s.hasOwnProperty(p)||i.push(function Sm(l){return new o.vHH(3001,!1)}())})}(B,i.options,i.errors)})})}visitKeyframes(a,i){const s={type:5,styles:[],options:null};if(!i.currentAnimateTimings)return i.errors.push(function Ju(){return new o.vHH(3011,!1)}()),s;let p=0;const b=[];let B=!1,oe=!1,Ce=0;const Ue=a.steps.map(qn=>{const Di=this._makeStyleAst(qn,i);let Li=null!=Di.offset?Di.offset:function xd(l){if("string"==typeof l)return null;let a=null;if(Array.isArray(l))l.forEach(i=>{if(i instanceof Map&&i.has("offset")){const s=i;a=parseFloat(s.get("offset")),s.delete("offset")}});else if(l instanceof Map&&l.has("offset")){const i=l;a=parseFloat(i.get("offset")),i.delete("offset")}return a}(Di.styles),ni=0;return null!=Li&&(p++,ni=Di.offset=Li),oe=oe||ni<0||ni>1,B=B||ni<Ce,Ce=ni,b.push(ni),Di});oe&&i.errors.push(function Qu(){return new o.vHH(3012,!1)}()),B&&i.errors.push(function Xu(){return new o.vHH(3200,!1)}());const Qe=a.steps.length;let pt=0;p>0&&p<Qe?i.errors.push(function Im(){return new o.vHH(3202,!1)}()):0==p&&(pt=1/(Qe-1));const yt=Qe-1,Et=i.currentTime,Ot=i.currentAnimateTimings,rn=Ot.duration;return Ue.forEach((qn,Di)=>{const Li=pt>0?Di==yt?1:pt*Di:b[Di],ni=Li*rn;i.currentTime=Et+Ot.delay+ni,Ot.duration=ni,this._validateStyleAst(qn,i),qn.offset=Li,s.styles.push(qn)}),s}visitReference(a,i){return{type:8,animation:Xi(this,Vs(a.animation),i),options:Si(a.options)}}visitAnimateChild(a,i){return i.depCount++,{type:9,options:Si(a.options)}}visitAnimateRef(a,i){return{type:10,animation:this.visitReference(a.animation,i),options:Si(a.options)}}visitQuery(a,i){const s=i.currentQuerySelector,u=a.options||{};i.queryCount++,i.currentQuery=a;const[p,b]=function wd(l){const a=!!l.split(/\s*,\s*/).find(i=>":self"==i);return a&&(l=l.replace(_h,"")),l=l.replace(/@\*/g,Fa).replace(/@\w+/g,i=>Fa+"-"+i.slice(1)).replace(/:animating/g,pd),[l,a]}(a.selector);i.currentQuerySelector=s.length?s+" "+p:p,po(i.collectedStyles,i.currentQuerySelector,new Map);const B=Xi(this,Vs(a.animation),i);return i.currentQuery=null,i.currentQuerySelector=s,{type:11,selector:p,limit:u.limit||0,optional:!!u.optional,includeSelf:b,animation:B,originalSelector:a.selector,options:Si(a.options)}}visitStagger(a,i){i.currentQuery||i.errors.push(function Nc(){return new o.vHH(3013,!1)}());const s="full"===a.timings?{duration:0,delay:0,easing:"full"}:Bc(a.timings,i.errors,!0);return{type:12,animation:Xi(this,Vs(a.animation),i),timings:s,options:null}}}class Ym{constructor(a){this.errors=a,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 Si(l){return l?(l=is(l)).params&&(l.params=function zc(l){return l?is(l):null}(l.params)):l={},l}function Sr(l,a,i){return{duration:l,delay:a,easing:i}}function Va(l,a,i,s,u,p,b=null,B=!1){return{type:1,element:l,keyframes:a,preStyleProps:i,postStyleProps:s,duration:u,delay:p,totalTime:u+p,easing:b,subTimeline:B}}class Wc{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,i){let s=this._map.get(a);s||this._map.set(a,s=[]),s.push(...i)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const zs=new RegExp(":enter","g"),qm=new RegExp(":leave","g");function Cd(l,a,i,s,u,p=new Map,b=new Map,B,oe,Ce=[]){return(new Dd).buildKeyframes(l,a,i,s,u,p,b,B,oe,Ce)}class Dd{buildKeyframes(a,i,s,u,p,b,B,oe,Ce,Ue=[]){Ce=Ce||new Wc;const Qe=new Ha(a,i,Ce,u,p,Ue,[]);Qe.options=oe;const pt=oe.delay?or(oe.delay):0;Qe.currentTimeline.delayNextStep(pt),Qe.currentTimeline.setStyles([b],null,Qe.errors,oe),Xi(this,s,Qe);const yt=Qe.timelines.filter(Et=>Et.containsAnimation());if(yt.length&&B.size){let Et;for(let Ot=yt.length-1;Ot>=0;Ot--){const rn=yt[Ot];if(rn.element===i){Et=rn;break}}Et&&!Et.allowOnlyTimelineStyles()&&Et.setStyles([B],null,Qe.errors,oe)}return yt.length?yt.map(Et=>Et.buildKeyframes()):[Va(i,[],[],[],0,pt,"",!1)]}visitTrigger(a,i){}visitState(a,i){}visitTransition(a,i){}visitAnimateChild(a,i){const s=i.subInstructions.get(i.element);if(s){const u=i.createSubContext(a.options),p=i.currentTimeline.currentTime,b=this._visitSubInstructions(s,u,u.options);p!=b&&i.transformIntoNewTimeline(b)}i.previousNode=a}visitAnimateRef(a,i){const s=i.createSubContext(a.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([a.options,a.animation.options],i,s),this.visitReference(a.animation,s),i.transformIntoNewTimeline(s.currentTimeline.currentTime),i.previousNode=a}_applyAnimationRefDelays(a,i,s){for(const u of a){const p=u?.delay;if(p){const b="number"==typeof p?p:or(Ba(p,u?.params??{},i.errors));s.delayNextStep(b)}}}_visitSubInstructions(a,i,s){let p=i.currentTimeline.currentTime;const b=null!=s.duration?or(s.duration):null,B=null!=s.delay?or(s.delay):null;return 0!==b&&a.forEach(oe=>{const Ce=i.appendInstructionToTimeline(oe,b,B);p=Math.max(p,Ce.duration+Ce.delay)}),p}visitReference(a,i){i.updateOptions(a.options,!0),Xi(this,a.animation,i),i.previousNode=a}visitSequence(a,i){const s=i.subContextCount;let u=i;const p=a.options;if(p&&(p.params||p.delay)&&(u=i.createSubContext(p),u.transformIntoNewTimeline(),null!=p.delay)){6==u.previousNode.type&&(u.currentTimeline.snapshotCurrentStyles(),u.previousNode=Yc);const b=or(p.delay);u.delayNextStep(b)}a.steps.length&&(a.steps.forEach(b=>Xi(this,b,u)),u.currentTimeline.applyStylesToKeyframe(),u.subContextCount>s&&u.transformIntoNewTimeline()),i.previousNode=a}visitGroup(a,i){const s=[];let u=i.currentTimeline.currentTime;const p=a.options&&a.options.delay?or(a.options.delay):0;a.steps.forEach(b=>{const B=i.createSubContext(a.options);p&&B.delayNextStep(p),Xi(this,b,B),u=Math.max(u,B.currentTimeline.currentTime),s.push(B.currentTimeline)}),s.forEach(b=>i.currentTimeline.mergeTimelineCollectedStyles(b)),i.transformIntoNewTimeline(u),i.previousNode=a}_visitTiming(a,i){if(a.dynamic){const s=a.strValue;return Bc(i.params?Ba(s,i.params,i.errors):s,i.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,i){const s=i.currentAnimateTimings=this._visitTiming(a.timings,i),u=i.currentTimeline;s.delay&&(i.incrementTime(s.delay),u.snapshotCurrentStyles());const p=a.style;5==p.type?this.visitKeyframes(p,i):(i.incrementTime(s.duration),this.visitStyle(p,i),u.applyStylesToKeyframe()),i.currentAnimateTimings=null,i.previousNode=a}visitStyle(a,i){const s=i.currentTimeline,u=i.currentAnimateTimings;!u&&s.hasCurrentStyleProperties()&&s.forwardFrame();const p=u&&u.easing||a.easing;a.isEmptyStep?s.applyEmptyStep(p):s.setStyles(a.styles,p,i.errors,i.options),i.previousNode=a}visitKeyframes(a,i){const s=i.currentAnimateTimings,u=i.currentTimeline.duration,p=s.duration,B=i.createSubContext().currentTimeline;B.easing=s.easing,a.styles.forEach(oe=>{B.forwardTime((oe.offset||0)*p),B.setStyles(oe.styles,oe.easing,i.errors,i.options),B.applyStylesToKeyframe()}),i.currentTimeline.mergeTimelineCollectedStyles(B),i.transformIntoNewTimeline(u+p),i.previousNode=a}visitQuery(a,i){const s=i.currentTimeline.currentTime,u=a.options||{},p=u.delay?or(u.delay):0;p&&(6===i.previousNode.type||0==s&&i.currentTimeline.hasCurrentStyleProperties())&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Yc);let b=s;const B=i.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!u.optional,i.errors);i.currentQueryTotal=B.length;let oe=null;B.forEach((Ce,Ue)=>{i.currentQueryIndex=Ue;const Qe=i.createSubContext(a.options,Ce);p&&Qe.delayNextStep(p),Ce===i.element&&(oe=Qe.currentTimeline),Xi(this,a.animation,Qe),Qe.currentTimeline.applyStylesToKeyframe(),b=Math.max(b,Qe.currentTimeline.currentTime)}),i.currentQueryIndex=0,i.currentQueryTotal=0,i.transformIntoNewTimeline(b),oe&&(i.currentTimeline.mergeTimelineCollectedStyles(oe),i.currentTimeline.snapshotCurrentStyles()),i.previousNode=a}visitStagger(a,i){const s=i.parentContext,u=i.currentTimeline,p=a.timings,b=Math.abs(p.duration),B=b*(i.currentQueryTotal-1);let oe=b*i.currentQueryIndex;switch(p.duration<0?"reverse":p.easing){case"reverse":oe=B-oe;break;case"full":oe=s.currentStaggerTime}const Ue=i.currentTimeline;oe&&Ue.delayNextStep(oe);const Qe=Ue.currentTime;Xi(this,a.animation,i),i.previousNode=a,s.currentStaggerTime=u.currentTime-Qe+(u.startTime-s.currentTimeline.startTime)}}const Yc={};class Ha{constructor(a,i,s,u,p,b,B,oe){this._driver=a,this.element=i,this.subInstructions=s,this._enterClassName=u,this._leaveClassName=p,this.errors=b,this.timelines=B,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Yc,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=oe||new ja(this._driver,i,0),B.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,i){if(!a)return;const s=a;let u=this.options;null!=s.duration&&(u.duration=or(s.duration)),null!=s.delay&&(u.delay=or(s.delay));const p=s.params;if(p){let b=u.params;b||(b=this.options.params={}),Object.keys(p).forEach(B=>{(!i||!b.hasOwnProperty(B))&&(b[B]=Ba(p[B],b,this.errors))})}}_copyOptions(){const a={};if(this.options){const i=this.options.params;if(i){const s=a.params={};Object.keys(i).forEach(u=>{s[u]=i[u]})}}return a}createSubContext(a=null,i,s){const u=i||this.element,p=new Ha(this._driver,u,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(u,s||0));return p.previousNode=this.previousNode,p.currentAnimateTimings=this.currentAnimateTimings,p.options=this._copyOptions(),p.updateOptions(a),p.currentQueryIndex=this.currentQueryIndex,p.currentQueryTotal=this.currentQueryTotal,p.parentContext=this,this.subContextCount++,p}transformIntoNewTimeline(a){return this.previousNode=Yc,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,i,s){const u={duration:i??a.duration,delay:this.currentTimeline.currentTime+(s??0)+a.delay,easing:""},p=new Jm(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,u,a.stretchStartingKeyframe);return this.timelines.push(p),u}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,i,s,u,p,b){let B=[];if(u&&B.push(this.element),a.length>0){a=(a=a.replace(zs,"."+this._enterClassName)).replace(qm,"."+this._leaveClassName);let Ce=this._driver.query(this.element,a,1!=s);0!==s&&(Ce=s<0?Ce.slice(Ce.length+s,Ce.length):Ce.slice(0,s)),B.push(...Ce)}return!p&&0==B.length&&b.push(function Qr(l){return new o.vHH(3014,!1)}()),B}}class ja{constructor(a,i,s,u){this._driver=a,this.element=i,this.startTime=s,this._elementTimelineStylesLookup=u,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(i),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(i,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(a){const i=1===this._keyframes.size&&this._pendingStyles.size;this.duration||i?(this.forwardTime(this.currentTime+a),i&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,i){return this.applyStylesToKeyframe(),new ja(this._driver,a,i||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(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,i){this._localTimelineStyles.set(a,i),this._globalTimelineStyles.set(a,i),this._styleSummary.set(a,{time:this.currentTime,value:i})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&this._previousKeyframe.set("easing",a);for(let[i,s]of this._globalTimelineStyles)this._backFill.set(i,s||Z.l3),this._currentKeyframe.set(i,Z.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,i,s,u){i&&this._previousKeyframe.set("easing",i);const p=u&&u.params||{},b=function yh(l,a){const i=new Map;let s;return l.forEach(u=>{if("*"===u){s=s||a.keys();for(let p of s)i.set(p,Z.l3)}else Mr(u,i)}),i}(a,this._globalTimelineStyles);for(let[B,oe]of b){const Ce=Ba(oe,p,s);this._pendingStyles.set(B,Ce),this._localTimelineStyles.has(B)||this._backFill.set(B,this._globalTimelineStyles.get(B)??Z.l3),this._updateStyle(B,Ce)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((a,i)=>{this._currentKeyframe.set(i,a)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((a,i)=>{this._currentKeyframe.has(i)||this._currentKeyframe.set(i,a)}))}snapshotCurrentStyles(){for(let[a,i]of this._localTimelineStyles)this._pendingStyles.set(a,i),this._updateStyle(a,i)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let i in this._currentKeyframe)a.push(i);return a}mergeTimelineCollectedStyles(a){a._styleSummary.forEach((i,s)=>{const u=this._styleSummary.get(s);(!u||i.time>u.time)&&this._updateStyle(s,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,i=new Set,s=1===this._keyframes.size&&0===this.duration;let u=[];this._keyframes.forEach((B,oe)=>{const Ce=Mr(B,new Map,this._backFill);Ce.forEach((Ue,Qe)=>{Ue===Z.k1?a.add(Qe):Ue===Z.l3&&i.add(Qe)}),s||Ce.set("offset",oe/this.duration),u.push(Ce)});const p=a.size?$c(a.values()):[],b=i.size?$c(i.values()):[];if(s){const B=u[0],oe=new Map(B);B.set("offset",0),oe.set("offset",1),u=[B,oe]}return Va(this.element,u,p,b,this.duration,this.startTime,this.easing,!1)}}class Jm extends ja{constructor(a,i,s,u,p,b,B=!1){super(a,i,b.delay),this.keyframes=s,this.preStyleProps=u,this.postStyleProps=p,this._stretchStartingKeyframe=B,this.timings={duration:b.duration,delay:b.delay,easing:b.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:i,duration:s,easing:u}=this.timings;if(this._stretchStartingKeyframe&&i){const p=[],b=s+i,B=i/b,oe=Mr(a[0]);oe.set("offset",0),p.push(oe);const Ce=Mr(a[0]);Ce.set("offset",vh(B)),p.push(Ce);const Ue=a.length-1;for(let Qe=1;Qe<=Ue;Qe++){let pt=Mr(a[Qe]);const yt=pt.get("offset");pt.set("offset",vh((i+yt*s)/b)),p.push(pt)}s=b,i=0,u="",a=p}return Va(this.element,a,this.preStyleProps,this.postStyleProps,s,i,u,!0)}}function vh(l,a=3){const i=Math.pow(10,a-1);return Math.round(l*i)/i}function wh(l,a,i,s,u,p,b,B,oe,Ce,Ue,Qe,pt){return{type:0,element:l,triggerName:a,isRemovalTransition:u,fromState:i,fromStyles:p,toState:s,toStyles:b,timelines:B,queriedElements:oe,preStyleProps:Ce,postStyleProps:Ue,totalTime:Qe,errors:pt}}const Kc={};class xh{constructor(a,i,s){this._triggerName=a,this.ast=i,this._stateStyles=s}match(a,i,s,u){return function fb(l,a,i,s,u){return l.some(p=>p(a,i,s,u))}(this.ast.matchers,a,i,s,u)}buildStyles(a,i,s){let u=this._stateStyles.get("*");return void 0!==a&&(u=this._stateStyles.get(a?.toString())||u),u?u.buildStyles(i,s):new Map}build(a,i,s,u,p,b,B,oe,Ce,Ue){const Qe=[],pt=this.ast.options&&this.ast.options.params||Kc,Et=this.buildStyles(s,B&&B.params||Kc,Qe),Ot=oe&&oe.params||Kc,rn=this.buildStyles(u,Ot,Qe),qn=new Set,Di=new Map,Li=new Map,ni="void"===u,ia={params:Ch(Ot,pt),delay:this.ast.options?.delay},Bi=Ue?[]:Cd(a,i,this.ast.animation,p,b,Et,rn,ia,Ce,Qe);let fi=0;if(Bi.forEach(zo=>{fi=Math.max(zo.duration+zo.delay,fi)}),Qe.length)return wh(i,this._triggerName,s,u,ni,Et,rn,[],[],Di,Li,fi,Qe);Bi.forEach(zo=>{const ur=zo.element,uf=po(Di,ur,new Set);zo.preStyleProps.forEach(hr=>uf.add(hr));const oc=po(Li,ur,new Set);zo.postStyleProps.forEach(hr=>oc.add(hr)),ur!==i&&qn.add(ur)});const dr=$c(qn.values());return wh(i,this._triggerName,s,u,ni,Et,rn,Bi,dr,Di,Li,fi)}}function Ch(l,a){const i=is(a);for(const s in l)l.hasOwnProperty(s)&&null!=l[s]&&(i[s]=l[s]);return i}class Dh{constructor(a,i,s){this.styles=a,this.defaultParams=i,this.normalizer=s}buildStyles(a,i){const s=new Map,u=is(this.defaultParams);return Object.keys(a).forEach(p=>{const b=a[p];null!==b&&(u[p]=b)}),this.styles.styles.forEach(p=>{"string"!=typeof p&&p.forEach((b,B)=>{b&&(b=Ba(b,u,i));const oe=this.normalizer.normalizePropertyName(B,i);b=this.normalizer.normalizeStyleValue(B,oe,b,i),s.set(B,b)})}),s}}class Ed{constructor(a,i,s){this.name=a,this.ast=i,this._normalizer=s,this.transitionFactories=[],this.states=new Map,i.states.forEach(u=>{this.states.set(u.name,new Dh(u.style,u.options&&u.options.params||{},s))}),Ua(this.states,"true","1"),Ua(this.states,"false","0"),i.transitions.forEach(u=>{this.transitionFactories.push(new xh(a,u,this.states))}),this.fallbackTransition=function ss(l,a,i){return new xh(l,{type:1,animation:{type:2,steps:[],options:null},matchers:[(b,B)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,i,s,u){return this.transitionFactories.find(b=>b.match(a,i,s,u))||null}matchStyles(a,i,s){return this.fallbackTransition.buildStyles(a,i,s)}}function Ua(l,a,i){l.has(a)?l.has(i)||l.set(i,l.get(a)):l.has(i)&&l.set(a,l.get(i))}const Eh=new Wc;class za{constructor(a,i,s){this.bodyNode=a,this._driver=i,this._normalizer=s,this._animations=new Map,this._playersById=new Map,this.players=[]}register(a,i){const s=[],p=Uc(this._driver,i,s,[]);if(s.length)throw function km(l){return new o.vHH(3503,!1)}();this._animations.set(a,p)}_buildPlayer(a,i,s){const u=a.element,p=oh(this._normalizer,a.keyframes,i,s);return this._driver.animate(u,p,a.duration,a.delay,a.easing,[],!0)}create(a,i,s={}){const u=[],p=this._animations.get(a);let b;const B=new Map;if(p?(b=Cd(this._driver,i,p,Pa,ir,new Map,new Map,s,Eh,u),b.forEach(Ue=>{const Qe=po(B,Ue.element,new Map);Ue.postStyleProps.forEach(pt=>Qe.set(pt,null))})):(u.push(function nh(){return new o.vHH(3300,!1)}()),b=[]),u.length)throw function ud(l){return new o.vHH(3504,!1)}();B.forEach((Ue,Qe)=>{Ue.forEach((pt,yt)=>{Ue.set(yt,this._driver.computeStyle(Qe,yt,Z.l3))})});const Ce=Xr(b.map(Ue=>{const Qe=B.get(Ue.element);return this._buildPlayer(Ue,new Map,Qe)}));return this._playersById.set(a,Ce),Ce.onDestroy(()=>this.destroy(a)),this.players.push(Ce),Ce}destroy(a){const i=this._getPlayer(a);i.destroy(),this._playersById.delete(a);const s=this.players.indexOf(i);s>=0&&this.players.splice(s,1)}_getPlayer(a){const i=this._playersById.get(a);if(!i)throw function Rm(l){return new o.vHH(3301,!1)}();return i}listen(a,i,s,u){const p=ah(i,"","","");return rh(this._getPlayer(a),s,p,u),()=>{}}command(a,i,s,u){if("register"==s)return void this.register(a,u[0]);if("create"==s)return void this.create(a,i,u[0]||{});const p=this._getPlayer(a);switch(s){case"play":p.play();break;case"pause":p.pause();break;case"reset":p.reset();break;case"restart":p.restart();break;case"finish":p.finish();break;case"init":p.init();break;case"setPosition":p.setPosition(parseFloat(u[0]));break;case"destroy":this.destroy(a)}}}const Mh="ng-animate-queued",Ga="ng-animate-disabled",ep=[],Md={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Td={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},$o="__ng_removed";class Sd{get params(){return this.options.params}constructor(a,i=""){this.namespaceId=i;const s=a&&a.hasOwnProperty("value");if(this.value=function Gs(l){return l??null}(s?a.value:a),s){const p=is(a);delete p.value,this.options=p}else this.options={};this.options.params||(this.options.params={})}absorbOptions(a){const i=a.params;if(i){const s=this.options.params;Object.keys(i).forEach(u=>{null==s[u]&&(s[u]=i[u])})}}}const Wa="void",Ad=new Sd(Wa);class tp{constructor(a,i,s){this.id=a,this.hostElement=i,this._engine=s,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,Ii(i,this._hostClassName)}listen(a,i,s,u){if(!this._triggers.has(i))throw function ih(l,a){return new o.vHH(3302,!1)}();if(null==s||0==s.length)throw function hd(l){return new o.vHH(3303,!1)}();if(!function Ir(l){return"start"==l||"done"==l}(s))throw function Fs(l,a){return new o.vHH(3400,!1)}();const p=po(this._elementListeners,a,[]),b={name:i,phase:s,callback:u};p.push(b);const B=po(this._engine.statesByElement,a,new Map);return B.has(i)||(Ii(a,md),Ii(a,md+"-"+i),B.set(i,Ad)),()=>{this._engine.afterFlush(()=>{const oe=p.indexOf(b);oe>=0&&p.splice(oe,1),this._triggers.has(i)||B.delete(i)})}}register(a,i){return!this._triggers.has(a)&&(this._triggers.set(a,i),!0)}_getTrigger(a){const i=this._triggers.get(a);if(!i)throw function Ns(l){return new o.vHH(3401,!1)}();return i}trigger(a,i,s,u=!0){const p=this._getTrigger(i),b=new Id(this.id,i,a);let B=this._engine.statesByElement.get(a);B||(Ii(a,md),Ii(a,md+"-"+i),this._engine.statesByElement.set(a,B=new Map));let oe=B.get(i);const Ce=new Sd(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&oe&&Ce.absorbOptions(oe.options),B.set(i,Ce),oe||(oe=Ad),Ce.value!==Wa&&oe.value===Ce.value){if(!function Oh(l,a){const i=Object.keys(l),s=Object.keys(a);if(i.length!=s.length)return!1;for(let u=0;u<i.length;u++){const p=i[u];if(!a.hasOwnProperty(p)||l[p]!==a[p])return!1}return!0}(oe.params,Ce.params)){const Ot=[],rn=p.matchStyles(oe.value,oe.params,Ot),qn=p.matchStyles(Ce.value,Ce.params,Ot);Ot.length?this._engine.reportError(Ot):this._engine.afterFlush(()=>{os(a,rn),Qi(a,qn)})}return}const pt=po(this._engine.playersByElement,a,[]);pt.forEach(Ot=>{Ot.namespaceId==this.id&&Ot.triggerName==i&&Ot.queued&&Ot.destroy()});let yt=p.matchTransition(oe.value,Ce.value,a,Ce.params),Et=!1;if(!yt){if(!u)return;yt=p.fallbackTransition,Et=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:i,transition:yt,fromState:oe,toState:Ce,player:b,isFallbackTransition:Et}),Et||(Ii(a,Mh),b.onStart(()=>{Ya(a,Mh)})),b.onDone(()=>{let Ot=this.players.indexOf(b);Ot>=0&&this.players.splice(Ot,1);const rn=this._engine.playersByElement.get(a);if(rn){let qn=rn.indexOf(b);qn>=0&&rn.splice(qn,1)}}),this.players.push(b),pt.push(b),b}deregister(a){this._triggers.delete(a),this._engine.statesByElement.forEach(i=>i.delete(a)),this._elementListeners.forEach((i,s)=>{this._elementListeners.set(s,i.filter(u=>u.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const i=this._engine.playersByElement.get(a);i&&(i.forEach(s=>s.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,i){const s=this._engine.driver.query(a,Fa,!0);s.forEach(u=>{if(u[$o])return;const p=this._engine.fetchNamespacesByElement(u);p.size?p.forEach(b=>b.triggerLeaveAnimation(u,i,!1,!0)):this.clearElementCache(u)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(u=>this.clearElementCache(u)))}triggerLeaveAnimation(a,i,s,u){const p=this._engine.statesByElement.get(a),b=new Map;if(p){const B=[];if(p.forEach((oe,Ce)=>{if(b.set(Ce,oe.value),this._triggers.has(Ce)){const Ue=this.trigger(a,Ce,Wa,u);Ue&&B.push(Ue)}}),B.length)return this._engine.markElementAsRemoved(this.id,a,!0,i,b),s&&Xr(B).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const i=this._elementListeners.get(a),s=this._engine.statesByElement.get(a);if(i&&s){const u=new Set;i.forEach(p=>{const b=p.name;if(u.has(b))return;u.add(b);const oe=this._triggers.get(b).fallbackTransition,Ce=s.get(b)||Ad,Ue=new Sd(Wa),Qe=new Id(this.id,b,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:b,transition:oe,fromState:Ce,toState:Ue,player:Qe,isFallbackTransition:!0})})}}removeNode(a,i){const s=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,i),this.triggerLeaveAnimation(a,i,!0))return;let u=!1;if(s.totalAnimations){const p=s.players.length?s.playersByQueriedElement.get(a):[];if(p&&p.length)u=!0;else{let b=a;for(;b=b.parentNode;)if(s.statesByElement.get(b)){u=!0;break}}}if(this.prepareLeaveAnimationListeners(a),u)s.markElementAsRemoved(this.id,a,!1,i);else{const p=a[$o];(!p||p===Md)&&(s.afterFlush(()=>this.clearElementCache(a)),s.destroyInnerAnimations(a),s._onRemovalComplete(a,i))}}insertNode(a,i){Ii(a,this._hostClassName)}drainQueuedTransitions(a){const i=[];return this._queue.forEach(s=>{const u=s.player;if(u.destroyed)return;const p=s.element,b=this._elementListeners.get(p);b&&b.forEach(B=>{if(B.name==s.triggerName){const oe=ah(p,s.triggerName,s.fromState.value,s.toState.value);oe._data=a,rh(s.player,B.phase,oe,B.callback)}}),u.markedForDestroy?this._engine.afterFlush(()=>{u.destroy()}):i.push(s)}),this._queue=[],i.sort((s,u)=>{const p=s.transition.ast.depCount,b=u.transition.ast.depCount;return 0==p||0==b?p-b:this._engine.driver.containsElement(s.element,u.element)?1:-1})}destroy(a){this.players.forEach(i=>i.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}}class np{_onRemovalComplete(a,i){this.onRemovalComplete(a,i)}constructor(a,i,s){this.bodyNode=a,this.driver=i,this._normalizer=s,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=(u,p)=>{}}get queuedPlayers(){const a=[];return this._namespaceList.forEach(i=>{i.players.forEach(s=>{s.queued&&a.push(s)})}),a}createNamespace(a,i){const s=new tp(a,i,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,i)?this._balanceNamespaceList(s,i):(this.newHostElements.set(i,s),this.collectEnterElement(i)),this._namespaceLookup[a]=s}_balanceNamespaceList(a,i){const s=this._namespaceList,u=this.namespacesByHostElement;if(s.length-1>=0){let b=!1,B=this.driver.getParentElement(i);for(;B;){const oe=u.get(B);if(oe){const Ce=s.indexOf(oe);s.splice(Ce+1,0,a),b=!0;break}B=this.driver.getParentElement(B)}b||s.unshift(a)}else s.push(a);return u.set(i,a),a}register(a,i){let s=this._namespaceLookup[a];return s||(s=this.createNamespace(a,i)),s}registerTrigger(a,i,s){let u=this._namespaceLookup[a];u&&u.register(i,s)&&this.totalAnimations++}destroy(a,i){a&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const s=this._fetchNamespace(a);this.namespacesByHostElement.delete(s.hostElement);const u=this._namespaceList.indexOf(s);u>=0&&this._namespaceList.splice(u,1),s.destroy(i),delete this._namespaceLookup[a]}))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const i=new Set,s=this.statesByElement.get(a);if(s)for(let u of s.values())if(u.namespaceId){const p=this._fetchNamespace(u.namespaceId);p&&i.add(p)}return i}trigger(a,i,s,u){if(Ai(i)){const p=this._fetchNamespace(a);if(p)return p.trigger(i,s,u),!0}return!1}insertNode(a,i,s,u){if(!Ai(i))return;const p=i[$o];if(p&&p.setForRemoval){p.setForRemoval=!1,p.setForMove=!0;const b=this.collectedLeaveElements.indexOf(i);b>=0&&this.collectedLeaveElements.splice(b,1)}if(a){const b=this._fetchNamespace(a);b&&b.insertNode(i,s)}u&&this.collectEnterElement(i)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,i){i?this.disabledNodes.has(a)||(this.disabledNodes.add(a),Ii(a,Ga)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),Ya(a,Ga))}removeNode(a,i,s){if(Ai(i)){const u=a?this._fetchNamespace(a):null;u?u.removeNode(i,s):this.markElementAsRemoved(a,i,!1,s);const p=this.namespacesByHostElement.get(i);p&&p.id!==a&&p.removeNode(i,s)}else this._onRemovalComplete(i,s)}markElementAsRemoved(a,i,s,u,p){this.collectedLeaveElements.push(i),i[$o]={namespaceId:a,setForRemoval:u,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:p}}listen(a,i,s,u,p){return Ai(i)?this._fetchNamespace(a).listen(i,s,u,p):()=>{}}_buildInstruction(a,i,s,u,p){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,s,u,a.fromState.options,a.toState.options,i,p)}destroyInnerAnimations(a){let i=this.driver.query(a,Fa,!0);i.forEach(s=>this.destroyActiveAnimationsForElement(s)),0!=this.playersByQueriedElement.size&&(i=this.driver.query(a,pd,!0),i.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(a){const i=this.playersByElement.get(a);i&&i.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(a){const i=this.playersByQueriedElement.get(a);i&&i.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return Xr(this.players).onDone(()=>a());a()})}processLeaveNode(a){const i=a[$o];if(i&&i.setForRemoval){if(a[$o]=Md,i.namespaceId){this.destroyInnerAnimations(a);const s=this._fetchNamespace(i.namespaceId);s&&s.clearElementCache(a)}this._onRemovalComplete(a,i.setForRemoval)}a.classList?.contains(Ga)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(a=-1){let i=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,u)=>this._balanceNamespaceList(s,u)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;s<this.collectedEnterElements.length;s++)Ii(this.collectedEnterElements[s],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const s=[];try{i=this._flushAnimations(s,a)}finally{for(let u=0;u<s.length;u++)s[u]()}}else for(let s=0;s<this.collectedLeaveElements.length;s++)this.processLeaveNode(this.collectedLeaveElements[s]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(s=>s()),this._flushFns=[],this._whenQuietFns.length){const s=this._whenQuietFns;this._whenQuietFns=[],i.length?Xr(i).onDone(()=>{s.forEach(u=>u())}):s.forEach(u=>u())}}reportError(a){throw function Ls(l){return new o.vHH(3402,!1)}()}_flushAnimations(a,i){const s=new Wc,u=[],p=new Map,b=[],B=new Map,oe=new Map,Ce=new Map,Ue=new Set;this.disabledNodes.forEach(Vt=>{Ue.add(Vt);const Yt=this.driver.query(Vt,".ng-animate-queued",!0);for(let en=0;en<Yt.length;en++)Ue.add(Yt[en])});const Qe=this.bodyNode,pt=Array.from(this.statesByElement.keys()),yt=rr(pt,this.collectedEnterElements),Et=new Map;let Ot=0;yt.forEach((Vt,Yt)=>{const en=Pa+Ot++;Et.set(Yt,en),Vt.forEach(Sn=>Ii(Sn,en))});const rn=[],qn=new Set,Di=new Set;for(let Vt=0;Vt<this.collectedLeaveElements.length;Vt++){const Yt=this.collectedLeaveElements[Vt],en=Yt[$o];en&&en.setForRemoval&&(rn.push(Yt),qn.add(Yt),en.hasAnimation?this.driver.query(Yt,".ng-star-inserted",!0).forEach(Sn=>qn.add(Sn)):Di.add(Yt))}const Li=new Map,ni=rr(pt,Array.from(qn));ni.forEach((Vt,Yt)=>{const en=ir+Ot++;Li.set(Yt,en),Vt.forEach(Sn=>Ii(Sn,en))}),a.push(()=>{yt.forEach((Vt,Yt)=>{const en=Et.get(Yt);Vt.forEach(Sn=>Ya(Sn,en))}),ni.forEach((Vt,Yt)=>{const en=Li.get(Yt);Vt.forEach(Sn=>Ya(Sn,en))}),rn.forEach(Vt=>{this.processLeaveNode(Vt)})});const ia=[],Bi=[];for(let Vt=this._namespaceList.length-1;Vt>=0;Vt--)this._namespaceList[Vt].drainQueuedTransitions(i).forEach(en=>{const Sn=en.player,ii=en.element;if(ia.push(Sn),this.collectedEnterElements.length){const Pi=ii[$o];if(Pi&&Pi.setForMove){if(Pi.previousTriggersValues&&Pi.previousTriggersValues.has(en.triggerName)){const us=Pi.previousTriggersValues.get(en.triggerName),io=this.statesByElement.get(en.element);if(io&&io.has(en.triggerName)){const rc=io.get(en.triggerName);rc.value=us,io.set(en.triggerName,rc)}}return void Sn.destroy()}}const Go=!Qe||!this.driver.containsElement(Qe,ii),no=Li.get(ii),Wo=Et.get(ii),Wn=this._buildInstruction(en,s,Wo,no,Go);if(Wn.errors&&Wn.errors.length)return void Bi.push(Wn);if(Go)return Sn.onStart(()=>os(ii,Wn.fromStyles)),Sn.onDestroy(()=>Qi(ii,Wn.toStyles)),void u.push(Sn);if(en.isFallbackTransition)return Sn.onStart(()=>os(ii,Wn.fromStyles)),Sn.onDestroy(()=>Qi(ii,Wn.toStyles)),void u.push(Sn);const hf=[];Wn.timelines.forEach(Pi=>{Pi.stretchStartingKeyframe=!0,this.disabledNodes.has(Pi.element)||hf.push(Pi)}),Wn.timelines=hf,s.append(ii,Wn.timelines),b.push({instruction:Wn,player:Sn,element:ii}),Wn.queriedElements.forEach(Pi=>po(B,Pi,[]).push(Sn)),Wn.preStyleProps.forEach((Pi,us)=>{if(Pi.size){let io=oe.get(us);io||oe.set(us,io=new Set),Pi.forEach((rc,fl)=>io.add(fl))}}),Wn.postStyleProps.forEach((Pi,us)=>{let io=Ce.get(us);io||Ce.set(us,io=new Set),Pi.forEach((rc,fl)=>io.add(fl))})});if(Bi.length){const Vt=[];Bi.forEach(Yt=>{Vt.push(function fd(l,a){return new o.vHH(3505,!1)}())}),ia.forEach(Yt=>Yt.destroy()),this.reportError(Vt)}const fi=new Map,dr=new Map;b.forEach(Vt=>{const Yt=Vt.element;s.has(Yt)&&(dr.set(Yt,Yt),this._beforeAnimationBuild(Vt.player.namespaceId,Vt.instruction,fi))}),u.forEach(Vt=>{const Yt=Vt.element;this._getPreviousPlayers(Yt,!1,Vt.namespaceId,Vt.triggerName,null).forEach(Sn=>{po(fi,Yt,[]).push(Sn),Sn.destroy()})});const zo=rn.filter(Vt=>ip(Vt,oe,Ce)),ur=new Map;Od(ur,this.driver,Di,Ce,Z.l3).forEach(Vt=>{ip(Vt,oe,Ce)&&zo.push(Vt)});const oc=new Map;yt.forEach((Vt,Yt)=>{Od(oc,this.driver,new Set(Vt),oe,Z.k1)}),zo.forEach(Vt=>{const Yt=ur.get(Vt),en=oc.get(Vt);ur.set(Vt,new Map([...Yt?.entries()??[],...en?.entries()??[]]))});const hr=[],cg=[],lg={};b.forEach(Vt=>{const{element:Yt,player:en,instruction:Sn}=Vt;if(s.has(Yt)){if(Ue.has(Yt))return en.onDestroy(()=>Qi(Yt,Sn.toStyles)),en.disabled=!0,en.overrideTotalTime(Sn.totalTime),void u.push(en);let ii=lg;if(dr.size>1){let no=Yt;const Wo=[];for(;no=no.parentNode;){const Wn=dr.get(no);if(Wn){ii=Wn;break}Wo.push(no)}Wo.forEach(Wn=>dr.set(Wn,ii))}const Go=this._buildAnimation(en.namespaceId,Sn,fi,p,oc,ur);if(en.setRealPlayer(Go),ii===lg)hr.push(en);else{const no=this.playersByElement.get(ii);no&&no.length&&(en.parentPlayer=Xr(no)),u.push(en)}}else os(Yt,Sn.fromStyles),en.onDestroy(()=>Qi(Yt,Sn.toStyles)),cg.push(en),Ue.has(Yt)&&u.push(en)}),cg.forEach(Vt=>{const Yt=p.get(Vt.element);if(Yt&&Yt.length){const en=Xr(Yt);Vt.setRealPlayer(en)}}),u.forEach(Vt=>{Vt.parentPlayer?Vt.syncPlayerEvents(Vt.parentPlayer):Vt.destroy()});for(let Vt=0;Vt<rn.length;Vt++){const Yt=rn[Vt],en=Yt[$o];if(Ya(Yt,ir),en&&en.hasAnimation)continue;let Sn=[];if(B.size){let Go=B.get(Yt);Go&&Go.length&&Sn.push(...Go);let no=this.driver.query(Yt,pd,!0);for(let Wo=0;Wo<no.length;Wo++){let Wn=B.get(no[Wo]);Wn&&Wn.length&&Sn.push(...Wn)}}const ii=Sn.filter(Go=>!Go.destroyed);ii.length?qc(this,Yt,ii):this.processLeaveNode(Yt)}return rn.length=0,hr.forEach(Vt=>{this.players.push(Vt),Vt.onDone(()=>{Vt.destroy();const Yt=this.players.indexOf(Vt);this.players.splice(Yt,1)}),Vt.play()}),hr}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,i,s,u,p){let b=[];if(i){const B=this.playersByQueriedElement.get(a);B&&(b=B)}else{const B=this.playersByElement.get(a);if(B){const oe=!p||p==Wa;B.forEach(Ce=>{Ce.queued||!oe&&Ce.triggerName!=u||b.push(Ce)})}}return(s||u)&&(b=b.filter(B=>!(s&&s!=B.namespaceId||u&&u!=B.triggerName))),b}_beforeAnimationBuild(a,i,s){const p=i.element,b=i.isRemovalTransition?void 0:a,B=i.isRemovalTransition?void 0:i.triggerName;for(const oe of i.timelines){const Ce=oe.element,Ue=Ce!==p,Qe=po(s,Ce,[]);this._getPreviousPlayers(Ce,Ue,b,B,i.toState).forEach(yt=>{const Et=yt.getRealPlayer();Et.beforeDestroy&&Et.beforeDestroy(),yt.destroy(),Qe.push(yt)})}os(p,i.fromStyles)}_buildAnimation(a,i,s,u,p,b){const B=i.triggerName,oe=i.element,Ce=[],Ue=new Set,Qe=new Set,pt=i.timelines.map(Et=>{const Ot=Et.element;Ue.add(Ot);const rn=Ot[$o];if(rn&&rn.removedBeforeQueried)return new Z.ZN(Et.duration,Et.delay);const qn=Ot!==oe,Di=function Ah(l){const a=[];return Ih(l,a),a}((s.get(Ot)||ep).map(fi=>fi.getRealPlayer())).filter(fi=>!!fi.element&&fi.element===Ot),Li=p.get(Ot),ni=b.get(Ot),ia=oh(this._normalizer,Et.keyframes,Li,ni),Bi=this._buildPlayer(Et,ia,Di);if(Et.subTimeline&&u&&Qe.add(Ot),qn){const fi=new Id(a,B,Ot);fi.setRealPlayer(Bi),Ce.push(fi)}return Bi});Ce.forEach(Et=>{po(this.playersByQueriedElement,Et.element,[]).push(Et),Et.onDone(()=>function Sh(l,a,i){let s=l.get(a);if(s){if(s.length){const u=s.indexOf(i);s.splice(u,1)}0==s.length&&l.delete(a)}return s}(this.playersByQueriedElement,Et.element,Et))}),Ue.forEach(Et=>Ii(Et,lh));const yt=Xr(pt);return yt.onDestroy(()=>{Ue.forEach(Et=>Ya(Et,lh)),Qi(oe,i.toStyles)}),Qe.forEach(Et=>{po(u,Et,[]).push(yt)}),yt}_buildPlayer(a,i,s){return i.length>0?this.driver.animate(a.element,i,a.duration,a.delay,a.easing,s):new Z.ZN(a.duration,a.delay)}}class Id{constructor(a,i,s){this.namespaceId=a,this.triggerName=i,this.element=s,this._player=new Z.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(a){this._containsRealPlayer||(this._player=a,this._queuedCallbacks.forEach((i,s)=>{i.forEach(u=>rh(a,s,void 0,u))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const i=this._player;i.triggerCallback&&a.onStart(()=>i.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,i){po(this._queuedCallbacks,a,[]).push(i)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}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(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const i=this._player;i.triggerCallback&&i.triggerCallback(a)}}function Ai(l){return l&&1===l.nodeType}function Zc(l,a){const i=l.style.display;return l.style.display=a??"none",i}function Od(l,a,i,s,u){const p=[];i.forEach(oe=>p.push(Zc(oe)));const b=[];s.forEach((oe,Ce)=>{const Ue=new Map;oe.forEach(Qe=>{const pt=a.computeStyle(Ce,Qe,u);Ue.set(Qe,pt),(!pt||0==pt.length)&&(Ce[$o]=Td,b.push(Ce))}),l.set(Ce,Ue)});let B=0;return i.forEach(oe=>Zc(oe,p[B++])),b}function rr(l,a){const i=new Map;if(l.forEach(B=>i.set(B,[])),0==a.length)return i;const u=new Set(a),p=new Map;function b(B){if(!B)return 1;let oe=p.get(B);if(oe)return oe;const Ce=B.parentNode;return oe=i.has(Ce)?Ce:u.has(Ce)?1:b(Ce),p.set(B,oe),oe}return a.forEach(B=>{const oe=b(B);1!==oe&&i.get(oe).push(B)}),i}function Ii(l,a){l.classList?.add(a)}function Ya(l,a){l.classList?.remove(a)}function qc(l,a,i){Xr(i).onDone(()=>l.processLeaveNode(a))}function Ih(l,a){for(let i=0;i<l.length;i++){const s=l[i];s instanceof Z.ZE?Ih(s.players,a):a.push(s)}}function ip(l,a,i){const s=i.get(l);if(!s)return!1;let u=a.get(l);return u?s.forEach(p=>u.add(p)):a.set(l,s),i.delete(l),!0}class Ws{constructor(a,i,s){this._driver=i,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(u,p)=>{},this._transitionEngine=new np(a.body,i,s),this._timelineEngine=new za(a.body,i,s),this._transitionEngine.onRemovalComplete=(u,p)=>this.onRemovalComplete(u,p)}registerTrigger(a,i,s,u,p){const b=a+"-"+u;let B=this._triggerCache[b];if(!B){const oe=[],Ue=Uc(this._driver,p,oe,[]);if(oe.length)throw function Ps(l,a){return new o.vHH(3404,!1)}();B=function go(l,a,i){return new Ed(l,a,i)}(u,Ue,this._normalizer),this._triggerCache[b]=B}this._transitionEngine.registerTrigger(i,u,B)}register(a,i){this._transitionEngine.register(a,i)}destroy(a,i){this._transitionEngine.destroy(a,i)}onInsert(a,i,s,u){this._transitionEngine.insertNode(a,i,s,u)}onRemove(a,i,s){this._transitionEngine.removeNode(a,i,s)}disableAnimations(a,i){this._transitionEngine.markElementAsDisabled(a,i)}process(a,i,s,u){if("@"==s.charAt(0)){const[p,b]=Fm(s);this._timelineEngine.command(p,i,b,u)}else this._transitionEngine.trigger(a,i,s,u)}listen(a,i,s,u,p){if("@"==s.charAt(0)){const[b,B]=Fm(s);return this._timelineEngine.listen(b,i,B,p)}return this._transitionEngine.listen(a,i,s,u,p)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(a){this._transitionEngine.afterFlushAnimationsDone(a)}}let op=(()=>{class l{static#e=this.initialStylesByElement=new WeakMap;constructor(i,s,u){this._element=i,this._startStyles=s,this._endStyles=u,this._state=0;let p=l.initialStylesByElement.get(i);p||l.initialStylesByElement.set(i,p=new Map),this._initialStyles=p}start(){this._state<1&&(this._startStyles&&Qi(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Qi(this._element,this._initialStyles),this._endStyles&&(Qi(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(l.initialStylesByElement.delete(this._element),this._startStyles&&(os(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(os(this._element,this._endStyles),this._endStyles=null),Qi(this._element,this._initialStyles),this._state=3)}}return l})();function kd(l){let a=null;return l.forEach((i,s)=>{(function Rd(l){return"display"===l||"position"===l})(s)&&(a=a||new Map,a.set(s,i))}),a}class rp{constructor(a,i,s,u){this.element=a,this.keyframes=i,this.options=s,this._specialStyles=u,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=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:new Map;const i=()=>this._onFinish();this.domPlayer.addEventListener("finish",i),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",i)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(a){const i=[];return a.forEach(s=>{i.push(Object.fromEntries(s))}),i}_triggerWebAnimation(a,i,s){return a.animate(this._convertKeyframesToObject(i),s)}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),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(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,u)=>{"offset"!==u&&a.set(u,this._finished?s:Um(this.element,u))}),this.currentSnapshot=a}triggerCallback(a){const i="start"===a?this._onStartFns:this._onDoneFns;i.forEach(s=>s()),i.length=0}}class sp{validateStyleProperty(a){return!0}validateAnimatableStyleProperty(a){return!0}matchesElement(a,i){return!1}containsElement(a,i){return Ni(a,i)}getParentElement(a){return Er(a)}query(a,i,s){return ts(a,i,s)}computeStyle(a,i,s){return window.getComputedStyle(a)[i]}animate(a,i,s,u,p,b=[]){const oe={duration:s,delay:u,fill:0==u?"both":"forwards"};p&&(oe.easing=p);const Ce=new Map,Ue=b.filter(yt=>yt instanceof rp);(function db(l,a){return 0===l||0===a})(s,u)&&Ue.forEach(yt=>{yt.currentSnapshot.forEach((Et,Ot)=>Ce.set(Ot,Et))});let Qe=function jm(l){return l.length?l[0]instanceof Map?l:l.map(a=>Na(a)):[]}(i).map(yt=>Mr(yt));Qe=function dh(l,a,i){if(i.size&&a.length){let s=a[0],u=[];if(i.forEach((p,b)=>{s.has(b)||u.push(b),s.set(b,p)}),u.length)for(let p=1;p<a.length;p++){let b=a[p];u.forEach(B=>b.set(B,Um(l,B)))}}return a}(a,Qe,Ce);const pt=function mb(l,a){let i=null,s=null;return Array.isArray(a)&&a.length?(i=kd(a[0]),a.length>1&&(s=kd(a[a.length-1]))):a instanceof Map&&(i=kd(a)),i||s?new op(l,i,s):null}(a,Qe);return new rp(a,Qe,oe,pt)}}const ap="@.disabled";class cp{constructor(a,i,s,u){this.namespaceId=a,this.delegate=i,this.engine=s,this._onDestroy=u,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(a){this.delegate.destroyNode?.(a)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(a,i){return this.delegate.createElement(a,i)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,i){this.delegate.appendChild(a,i),this.engine.onInsert(this.namespaceId,i,a,!1)}insertBefore(a,i,s,u=!0){this.delegate.insertBefore(a,i,s),this.engine.onInsert(this.namespaceId,i,a,u)}removeChild(a,i,s){this.engine.onRemove(this.namespaceId,i,this.delegate)}selectRootElement(a,i){return this.delegate.selectRootElement(a,i)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,i,s,u){this.delegate.setAttribute(a,i,s,u)}removeAttribute(a,i,s){this.delegate.removeAttribute(a,i,s)}addClass(a,i){this.delegate.addClass(a,i)}removeClass(a,i){this.delegate.removeClass(a,i)}setStyle(a,i,s,u){this.delegate.setStyle(a,i,s,u)}removeStyle(a,i,s){this.delegate.removeStyle(a,i,s)}setProperty(a,i,s){"@"==i.charAt(0)&&i==ap?this.disableAnimations(a,!!s):this.delegate.setProperty(a,i,s)}setValue(a,i){this.delegate.setValue(a,i)}listen(a,i,s){return this.delegate.listen(a,i,s)}disableAnimations(a,i){this.engine.disableAnimations(a,i)}}class pb extends cp{constructor(a,i,s,u,p){super(i,s,u,p),this.factory=a,this.namespaceId=i}setProperty(a,i,s){"@"==i.charAt(0)?"."==i.charAt(1)&&i==ap?this.disableAnimations(a,s=void 0===s||!!s):this.engine.process(this.namespaceId,a,i.slice(1),s):this.delegate.setProperty(a,i,s)}listen(a,i,s){if("@"==i.charAt(0)){const u=function lp(l){switch(l){case"body":return document.body;case"document":return document;case"window":return window;default:return l}}(a);let p=i.slice(1),b="";return"@"!=p.charAt(0)&&([p,b]=function Jc(l){const a=l.indexOf(".");return[l.substring(0,a),l.slice(a+1)]}(p)),this.engine.listen(this.namespaceId,u,p,b,B=>{this.factory.scheduleListenerCallback(B._data||-1,s,B)})}return this.delegate.listen(a,i,s)}}class Qc{constructor(a,i,s){this.delegate=a,this.engine=i,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,i.onRemovalComplete=(u,p)=>{const b=p?.parentNode(u);b&&p.removeChild(b,u)}}createRenderer(a,i){const u=this.delegate.createRenderer(a,i);if(!a||!i?.data?.animation){const Ce=this._rendererCache;let Ue=Ce.get(u);return Ue||(Ue=new cp("",u,this.engine,()=>Ce.delete(u)),Ce.set(u,Ue)),Ue}const p=i.id,b=i.id+"-"+this._currentId;this._currentId++,this.engine.register(b,a);const B=Ce=>{Array.isArray(Ce)?Ce.forEach(B):this.engine.registerTrigger(p,b,a,Ce.name,Ce)};return i.data.animation.forEach(B),new pb(this,b,u,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(a,i,s){if(a>=0&&a<this._microtaskId)return void this._zone.run(()=>i(s));const u=this._animationCallbacksBuffer;0==u.length&&queueMicrotask(()=>{this._zone.run(()=>{u.forEach(p=>{const[b,B]=p;b(B)}),this._animationCallbacksBuffer=[]})}),u.push([i,s])}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()}}const Ys=[{provide:Ra,useFactory:function Rh(){return new uh}},{provide:Ws,useClass:(()=>{class l extends Ws{constructor(i,s,u,p){super(i,s,u)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(ue.K0),o.LFG(ns),o.LFG(Ra),o.LFG(o.z2F))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac})}return l})()},{provide:o.FYo,useFactory:function Ph(l,a,i){return new Qc(l,a,i)},deps:[f.se,Ws,o.R0b]}],Nd=[{provide:ns,useFactory:()=>new sp},{provide:o.QbO,useValue:"BrowserAnimations"},...Ys],Ld=[{provide:ns,useClass:$s},{provide:o.QbO,useValue:"NoopAnimations"},...Ys];let Fh=(()=>{class l{static withConfig(i){return{ngModule:l,providers:i.disableAnimations?Ld:Nd}}static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({providers:Nd,imports:[f.b2]})}return l})();var Xc=y(9309),Hd=y(534),dp=y(6086);const jd=["toast-component",""];function Ud(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"button",5),o.NdJ("click",function(){o.CHM(i);const u=o.oxw();return o.KtG(u.remove())}),o.TgZ(1,"span",6),o._uU(2,"\xd7"),o.qZA()()}}function up(l,a){if(1&l&&(o.ynx(0),o._uU(1),o.BQk()),2&l){const i=o.oxw(2);o.xp6(1),o.hij("[",i.duplicatesCount+1,"]")}}function hp(l,a){if(1&l&&(o.TgZ(0,"div"),o._uU(1),o.YNc(2,up,2,1,"ng-container",4),o.qZA()),2&l){const i=o.oxw();o.Tol(i.options.titleClass),o.uIk("aria-label",i.title),o.xp6(1),o.hij(" ",i.title," "),o.xp6(1),o.Q6J("ngIf",i.duplicatesCount)}}function fp(l,a){if(1&l&&o._UZ(0,"div",7),2&l){const i=o.oxw();o.Tol(i.options.messageClass),o.Q6J("innerHTML",i.message,o.oJD)}}function Nh(l,a){if(1&l&&(o.TgZ(0,"div",8),o._uU(1),o.qZA()),2&l){const i=o.oxw();o.Tol(i.options.messageClass),o.uIk("aria-label",i.message),o.xp6(1),o.hij(" ",i.message," ")}}function mp(l,a){if(1&l&&(o.TgZ(0,"div"),o._UZ(1,"div",9),o.qZA()),2&l){const i=o.oxw();o.xp6(1),o.Udp("width",i.width+"%")}}class Bh{_attachedHost;component;viewContainerRef;injector;constructor(a,i){this.component=a,this.injector=i}attach(a,i){return this._attachedHost=a,a.attach(this,i)}detach(){const a=this._attachedHost;if(a)return this._attachedHost=void 0,a.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(a){this._attachedHost=a}}class $h{_attachedPortal;_disposeFn;attach(a,i){return this._attachedPortal=a,this.attachComponentPortal(a,i)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(a){this._disposeFn=a}}class gp{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new Q.x;_activate=new Q.x;_manualClose=new Q.x;_resetTimeout=new Q.x;_countDuplicate=new Q.x;constructor(a){this._overlayRef=a}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(a,i){a&&this._resetTimeout.next(),i&&this._countDuplicate.next(++this.duplicatesCount)}}class Ka{toastId;config;message;title;toastType;toastRef;_onTap=new Q.x;_onAction=new Q.x;constructor(a,i,s,u,p,b){this.toastId=a,this.config=i,this.message=s,this.title=u,this.toastType=p,this.toastRef=b,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(a){this._onAction.next(a)}onAction(){return this._onAction.asObservable()}}const Wd=new o.OlP("ToastConfig");class _p extends $h{_hostDomElement;_componentFactoryResolver;_appRef;constructor(a,i,s){super(),this._hostDomElement=a,this._componentFactoryResolver=i,this._appRef=s}attachComponentPortal(a,i){const s=this._componentFactoryResolver.resolveComponentFactory(a.component);let u;return u=s.create(a.injector),this._appRef.attachView(u.hostView),this.setDisposeFn(()=>{this._appRef.detachView(u.hostView),u.destroy()}),i?this._hostDomElement.insertBefore(this._getComponentRootNode(u),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(u)),u}_getComponentRootNode(a){return a.hostView.rootNodes[0]}}let Hh=(()=>{class l{_document=(0,o.f3M)(ue.K0);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const i=this._document.createElement("div");i.classList.add("overlay-container"),i.setAttribute("aria-live","polite"),this._document.body.appendChild(i),this._containerElement=i}static \u0275fac=function(s){return new(s||l)};static \u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();class bp{_portalHost;constructor(a){this._portalHost=a}attach(a,i=!0){return this._portalHost.attach(a,i)}detach(){return this._portalHost.detach()}}let vp=(()=>{class l{_overlayContainer=(0,o.f3M)(Hh);_componentFactoryResolver=(0,o.f3M)(o._Vd);_appRef=(0,o.f3M)(o.z2F);_document=(0,o.f3M)(ue.K0);_paneElements=new Map;create(i,s){return this._createOverlayRef(this.getPaneElement(i,s))}getPaneElement(i="",s){return this._paneElements.get(s)||this._paneElements.set(s,{}),this._paneElements.get(s)[i]||(this._paneElements.get(s)[i]=this._createPaneElement(i,s)),this._paneElements.get(s)[i]}_createPaneElement(i,s){const u=this._document.createElement("div");return u.id="toast-container",u.classList.add(i),u.classList.add("toast-container"),s?s.getContainerElement().appendChild(u):this._overlayContainer.getContainerElement().appendChild(u),u}_createPortalHost(i){return new _p(i,this._componentFactoryResolver,this._appRef)}_createOverlayRef(i){return new bp(this._createPortalHost(i))}static \u0275fac=function(s){return new(s||l)};static \u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),Za=(()=>{class l{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(i,s,u,p,b){this.overlay=s,this._injector=u,this.sanitizer=p,this.ngZone=b,this.toastrConfig={...i.default,...i.config},i.config.iconClasses&&(this.toastrConfig.iconClasses={...i.default.iconClasses,...i.config.iconClasses})}show(i,s,u={},p=""){return this._preBuildNotification(p,i,s,this.applyConfig(u))}success(i,s,u={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",i,s,this.applyConfig(u))}error(i,s,u={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",i,s,this.applyConfig(u))}info(i,s,u={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",i,s,this.applyConfig(u))}warning(i,s,u={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",i,s,this.applyConfig(u))}clear(i){for(const s of this.toasts)if(void 0!==i){if(s.toastId===i)return void s.toastRef.manualClose()}else s.toastRef.manualClose()}remove(i){const s=this._findToast(i);if(!s||(s.activeToast.toastRef.close(),this.toasts.splice(s.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 u=this.toasts[this.currentlyActive].toastRef;u.isInactive()||(this.currentlyActive=this.currentlyActive+1,u.activate())}return!0}findDuplicate(i="",s="",u,p){const{includeTitleDuplicates:b}=this.toastrConfig;for(const B of this.toasts)if((!b||b&&B.title===i)&&B.message===s)return B.toastRef.onDuplicate(u,p),B;return null}applyConfig(i={}){return{...this.toastrConfig,...i}}_findToast(i){for(let s=0;s<this.toasts.length;s++)if(this.toasts[s].toastId===i)return{index:s,activeToast:this.toasts[s]};return null}_preBuildNotification(i,s,u,p){return p.onActivateTick?this.ngZone.run(()=>this._buildNotification(i,s,u,p)):this._buildNotification(i,s,u,p)}_buildNotification(i,s,u,p){if(!p.toastComponent)throw new Error("toastComponent required");const b=this.findDuplicate(u,s,this.toastrConfig.resetTimeoutOnDuplicate&&p.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&u||s)&&this.toastrConfig.preventDuplicates&&null!==b)return b;this.previousToastMessage=s;let B=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(B=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const oe=this.overlay.create(p.positionClass,this.overlayContainer);this.index=this.index+1;let Ce=s;s&&p.enableHtml&&(Ce=this.sanitizer.sanitize(o.q3G.HTML,s));const Ue=new gp(oe),Qe=new Ka(this.index,p,Ce,u,i,Ue),yt=o.zs3.create({providers:[{provide:Ka,useValue:Qe}],parent:this._injector}),Et=new Bh(p.toastComponent,yt),Ot=oe.attach(Et,p.newestOnTop);Ue.componentInstance=Ot.instance;const rn={toastId:this.index,title:u||"",message:s||"",toastRef:Ue,onShown:Ue.afterActivate(),onHidden:Ue.afterClosed(),onTap:Qe.onTap(),onAction:Qe.onAction(),portal:Ot};return B||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{rn.toastRef.activate()})),this.toasts.push(rn),rn}static \u0275fac=function(s){return new(s||l)(o.LFG(Wd),o.LFG(vp),o.LFG(o.zs3),o.LFG(f.H7),o.LFG(o.R0b))};static \u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();const yp={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",toastComponent:(()=>{class l{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(i,s,u){this.toastrService=i,this.toastPackage=s,this.ngZone=u,this.message=s.message,this.title=s.title,this.options=s.config,this.originalTimeout=s.config.timeOut,this.toastClasses=`${s.toastType} ${s.config.toastClass}`,this.sub=s.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=s.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=s.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=s.toastRef.countDuplicate().subscribe(p=>{this.duplicatesCount=p}),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 i=(new Date).getTime();this.width=(this.hideTime-i)/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(i,s){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(i),s)):this.timeout=setTimeout(()=>i(),s)}outsideInterval(i,s){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(i),s)):this.intervalId=setInterval(()=>i(),s)}runInsideAngular(i){this.ngZone?this.ngZone.run(()=>i()):i()}static \u0275fac=function(s){return new(s||l)(o.Y36(Za),o.Y36(Ka),o.Y36(o.R0b))};static \u0275cmp=o.Xpm({type:l,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(s,u){1&s&&o.NdJ("click",function(){return u.tapToast()})("mouseenter",function(){return u.stickAround()})("mouseleave",function(){return u.delayedHideToast()}),2&s&&(o.d8E("@flyInOut",u.state),o.Tol(u.toastClasses),o.Udp("display",u.displayStyle))},standalone:!0,features:[o.jDz],attrs:jd,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(s,u){1&s&&o.YNc(0,Ud,3,0,"button",0)(1,hp,3,5,"div",1)(2,fp,1,3,"div",2)(3,Nh,2,4,"div",3)(4,mp,2,2,"div",4),2&s&&(o.Q6J("ngIf",u.options.closeButton),o.xp6(1),o.Q6J("ngIf",u.title),o.xp6(1),o.Q6J("ngIf",u.message&&u.options.enableHtml),o.xp6(1),o.Q6J("ngIf",u.message&&!u.options.enableHtml),o.xp6(1),o.Q6J("ngIf",u.options.progressBar))},dependencies:[ue.O5],encapsulation:2,data:{animation:[(0,Z.X$)("flyInOut",[(0,Z.SB)("inactive",(0,Z.oB)({opacity:0})),(0,Z.SB)("active",(0,Z.oB)({opacity:1})),(0,Z.SB)("removed",(0,Z.oB)({opacity:0})),(0,Z.eR)("inactive => active",(0,Z.jt)("{{ easeTime }}ms {{ easing }}")),(0,Z.eR)("active => removed",(0,Z.jt)("{{ easeTime }}ms {{ easing }}"))])]}})}return l})()},qa=(l={})=>(0,o.MR2)([{provide:Wd,useValue:{default:yp,config:l}}]);let wp=(()=>{class l{static forRoot(i={}){return{ngModule:l,providers:[qa(i)]}}static \u0275fac=function(s){return new(s||l)};static \u0275mod=o.oAB({type:l});static \u0275inj=o.cJS({})}return l})();var M=y(1890);const tl=["abstract","as","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","else","enum","event","explicit","extern","false","finally","fixed","float","for","foreach","goto","if","implicit","in","int","interface","internal","is","lock","long","namespace","new","null","object","operator","out","override","params","private","protected","public","readonly","ref","return","sbyte","sealed","short","sizeof","stackalloc","static","string","struct","switch","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","using","static","virtual","void","volatile","while"],Uh=[M.Qs,M.dp,M.Xj,M.Ro,M.lw,M.Tp,M.Oo,M.ZU,M.iE,M.OR,M.BD,M.JQ,M.ts],Yd=[M.zE,M.xW,M.Gf,M._P,M.mN,M.Bn,M.KW,M.kM];function eo(l){return tl.includes(l)?`@${l}`:l}function sr(l){return l[0].toUpperCase()+l.slice(1)}function _o(l){switch(l.constructor){case M.Qs:return"string";case M.mN:return"int";case M.kM:return"uint";case M._P:return"double";case M.zE:return"BigInteger";case M.xW:case M.Gf:return"DateTime";case M.Wi:return"bool";case M.lw:return"byte[]";case M.Bn:case M.KW:return"decimal";case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.Oo:case M.ZU:case M.iE:case M.OR:case M.BD:return"string";case M.RE:return"void";case M.cs:return"JsonElement";case M.H1:return`${_o(l.base)}?`;case M.ts:return`List<${_o(l.base)}>`;case M.JQ:case M.PK:return l.name;case M.d:return _o(l.type);default:throw new Error(`BUG: generateTypeName with ${l.constructor.name}`)}}function Ks(l,a,i,s,u=1,p=!0){switch(l.constructor){case M.mN:return`\n if (${a}.ValueKind != JsonValueKind.Number || !${a}.TryGetInt32(out ${s}))\n {\n throw new FatalException($"'{${i}}' must be an integer");\n }\n `.replace(/\n {16}/gu,"\n").trim();case M.kM:return`\n if (${a}.ValueKind != JsonValueKind.Number || !${a}.TryGetUInt32(out ${s}))\n {\n throw new FatalException($"'{${i}}' must be an unsigned integer.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case M.KW:case M.Bn:return`\n if (${a}.ValueKind != JsonValueKind.Number || !${a}.TryGetDecimal(out ${s}) || ${s} % 1 != 0)\n {\n throw new FatalException($"'{${i}}' must be an integer amount of cents.");\n }\n ${s} /= 100;\n `.replace(/\n {16}/gu,"\n").trim();case M._P:return`\n if (${a}.ValueKind != JsonValueKind.Number || !${a}.TryGetDouble(out ${s}))\n {\n throw new FatalException($"'{${i}}' must be a floating-point number.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case M.zE:return`\n if (${a}.ValueKind != JsonValueKind.String || !BigInteger.TryParse(${a}.GetString(), out ${s}))\n {\n throw new FatalException($"'{${i}}' must be an arbitrarily large integer in a string.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case M.Qs:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a string.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.dp:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a valid HTML string.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.Xj:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a valid CPF string.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.Ro:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a valid CNPJ string.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.Tp:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a valid email.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.Oo:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a valid URL string.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.ZU:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a valid UUID.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.iE:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a valid hex string.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.OR:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a base64 string.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.BD:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a XML string.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.Wi:return`\n if (${a}.ValueKind != JsonValueKind.True && ${a}.ValueKind != JsonValueKind.False)\n {\n throw new FatalException($"'{${i}}' must be either true or false.");\n }\n ${s} = ${a}.GetBoolean();\n `.replace(/\n {16}/gu,"\n").trim();case M.lw:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a string.");\n }\n try\n {\n ${s} = Convert.FromBase64String(${a}.GetString());\n }\n catch (FormatException)\n {\n throw new FatalException($"'{${i}}' must be a base64 string.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case M.d:return Ks(l.type,a,i,s,u);case M.H1:if(Yd.includes(l.base.constructor)){const b=`${s.replace(/[^0-9a-zA-Z]/gu,"")}Tmp`;return`\n if (${a}.ValueKind == JsonValueKind.Null || ${a}.ValueKind == JsonValueKind.Undefined)\n {\n ${s} = null;\n }\n else\n {\n ${_o(l.base)} ${b};\n ${Ks(l.base,a,i,b,u,!1).replace(/\n/gu,"\n ")}\n ${s} = ${b};\n }\n `.replace(/\n {20}/gu,"\n").trim()}return`\n if (${a}.ValueKind == JsonValueKind.Null || ${a}.ValueKind == JsonValueKind.Undefined)\n {\n ${s} = null;\n }\n else\n {\n ${Ks(l.base,a,i,s,u,!1).replace(/\n/gu,"\n ")}\n }\n `.replace(/\n {20}/gu,"\n").trim();case M.PK:case M.JQ:return`${s} = Decode${l.name}(${a}, ${i});`;case M.cs:return p?`\n if (${a}.ValueKind == JsonValueKind.Null || ${a}.ValueKind == JsonValueKind.Undefined)\n {\n throw new FatalException($"'{${i}}' can't be null.");\n }\n ${s} = ${a};\n `.replace(/\n {16}/gu,"\n").trim():`${s} = ${a};`;case M.Gf:return`\n if (${a}.ValueKind != JsonValueKind.String || !(DateTime.TryParseExact(${a}.GetString(), "yyyy-MM-ddTHH:mm:ss.FFFFFFF", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${s}) || DateTime.TryParseExact(${a}.GetString(), "yyyy-MM-ddTHH:mm:ss.FFFFFFF'Z'", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${s})))\n {\n throw new FatalException($"'{${i}}' must be a datetime.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case M.xW:return`\n if (${a}.ValueKind != JsonValueKind.String || !(DateTime.TryParseExact(${a}.GetString(), "yyyy-MM-dd", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${s})))\n {\n throw new FatalException($"'{${i}}' must be a date.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case M.ts:return`\n if (${a}.ValueKind != JsonValueKind.Array)\n {\n throw new FatalException($"'{${i}}' must be a date.");\n }\n ${s} = new ${_o(l)}();\n for (var i${u} = 0; i${u} < ${a}.GetArrayLength(); ++i${u})\n {\n ${_o(l.base)} element${u};\n ${Ks(l.base,`${a}[i${u}]`,`$"{${i}}[{i${u}}]"`,`element${u}`,u+1).replace(/\n/gu,"\n ")}\n ${s}.Add(element${u});\n }\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: decodeType with ${l.constructor.name}`)}}function Ja(l,a,i,s=1){switch(l.constructor){case M.Qs:return`resultWriter_.WriteStringValue(${a});`;case M._P:case M.kM:case M.mN:return`resultWriter_.WriteNumberValue(${a});`;case M.KW:case M.Bn:return`resultWriter_.WriteNumberValue(Math.Round(${a} * 100));`;case M.zE:return`resultWriter_.WriteStringValue(${a}.ToString());`;case M.Wi:return`resultWriter_.WriteBooleanValue(${a});`;case M.lw:return`resultWriter_.WriteStringValue(Convert.ToBase64String(${a}));`;case M.Gf:return`resultWriter_.WriteStringValue(${a}.ToString("yyyy-MM-ddTHH:mm:ss.FFFFFF'Z'"));`;case M.xW:return`resultWriter_.WriteStringValue(${a}.ToString("yyyy-MM-dd"));`;case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.Oo:case M.ZU:case M.OR:case M.iE:case M.BD:return`resultWriter_.WriteStringValue(${a});`;case M.H1:{let u=l.base;for(;u instanceof M.d;)u=u.type;return`\n if (${a} == null)\n {\n resultWriter_.WriteNullValue();\n }\n else\n {\n ${Ja(u,Uh.includes(u.constructor)?a:`${a}.Value`,i,s).replace(/\n/gu,"\n ")}\n }`.replace(/\n {16}/gu,"\n").trim()}case M.d:return Ja(l.type,a,i,s);case M.PK:case M.JQ:return`Encode${l.name}(${a}, resultWriter_, ${i});`;case M.cs:return`${a}.WriteTo(resultWriter_);`;case M.ts:return`\n resultWriter_.WriteStartArray();\n for (var i${s} = 0; i${s} < ${a}.Count; ++i${s})\n {\n ${Ja(l.base,`${a}[i${s}]`,`$"{${i}}[{i${s}}]"`,s+1).replace(/\n/gu,"\n ")}\n }\n resultWriter_.WriteEndArray();\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: encodeType with ${l.constructor.name}`)}}function Ep(l){return`\n public class ${l.name}\n {${l.fields.map(a=>`\n public ${_o(a.type)} ${sr(a.name)};`).join("")}\n public ${l.name}(${l.fields.map(a=>`${_o(a.type)} ${eo(a.name)}`).join(", ")})\n {${l.fields.map(a=>`\n ${sr(a.name)} = ${eo(a.name)};`).join("")}\n }\n }\n\n ${l.name} Decode${l.name}(JsonElement json_, string path_)\n {\n if (json_.ValueKind != JsonValueKind.Object)\n {\n throw new FatalException($"'{path_}' must be an object.");\n }\n${l.fields.map(a=>` JsonElement ${a.name}Json_;\n if (!json_.TryGetProperty(${JSON.stringify(a.name)}, out ${a.name}Json_))\n {\n ${a.type instanceof M.H1?`${a.name}Json_ = new JsonElement();`:`throw new FatalException($"'{path_}.${a.name}' must be set to a value of type ${a.type.name}.");`}\n }\n ${_o(a.type)} ${eo(a.name)};\n ${Ks(a.type,`${a.name}Json_`,`$"{path_}.${a.name}"`,eo(a.name)).replace(/\n/gu,"\n ")}`).join("\n")}\n return new ${l.name}(${l.fields.map(a=>eo(a.name)).join(", ")});\n }\n\n void Encode${l.name}(${l.name} obj_, Utf8JsonWriter resultWriter_, string path_)\n {\n resultWriter_.WriteStartObject();\n ${l.fields.map(a=>`resultWriter_.WritePropertyName(${JSON.stringify(a.name)});\n ${Ja(a.type,`obj_.${sr(a.name)}`,`$"{path_}.${a.name}"`).replace(/\n/gu,"\n ")}`).join("\n ")}\n resultWriter_.WriteEndObject();\n }\n`}function Mp(l){return`\n public enum ${l.name}\n {${l.values.map(({value:a})=>`\n ${sr(a)}`).join(",\n ")}\n }\n\n ${l.name} Decode${l.name}(JsonElement json_, string path_)\n {\n if (json_.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{path_}' must be a string.");\n }\n var value = json_.GetString();${l.values.map(({value:a})=>`\n if (value == "${a}")\n {\n return ${l.name}.${sr(a)};\n }`).join("")}\n throw new FatalException($"'{path_}' must be one of: (${l.values.map(({value:a})=>`'${a}'`).join(", ")}).");\n }\n\n void Encode${l.name}(${l.name} obj_, Utf8JsonWriter resultWriter_, string path_)\n {${l.values.map(({value:a})=>`\n if (obj_ == ${l.name}.${sr(a)})\n {\n resultWriter_.WriteStringValue("${a}");\n }`).join("")}\n }\n`}function ki(l){return["abstract","as","assert","async","await","bool","break","case","catch","class","const","continue","covariant","default","deferred","do","double","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","int","interface","is","library","mixin","new","null","on","operator","part","rethrow","return","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","while","with","yield"].includes(l)?`$${l}`:l}function nl(l){return`enum ${l.name} {\n ${l.values.map(a=>a.value).join(",\n ")}\n}\n`}function Vo(l){switch(l.constructor){case M.Qs:return"String";case M.mN:case M.kM:return"int";case M._P:return"double";case M.zE:return"BigInt";case M.xW:case M.Gf:return"DateTime";case M.Wi:return"bool";case M.lw:return"Uint8List";case M.Bn:return"int";case M.KW:return"Decimal";case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.Oo:case M.ZU:case M.iE:case M.OR:case M.BD:return"String";case M.RE:return"void";case M.cs:return"dynamic";case M.H1:return`${Vo(l.base)}?`;case M.ts:return`List<${Vo(l.base)}>`;case M.JQ:case M.PK:return l.name;case M.d:return Vo(l.type);default:throw new Error(`BUG: generateTypeName with ${l.constructor.name}`)}}function Tp(l){if(l.dataType instanceof M.RE)return`class ${l.name} extends SdkgenError {\n ${l.name}(super.msg, super.request);\n}\n`;const a=Vo(l.dataType);return`class ${l.name} extends SdkgenErrorWithData<${a}> {\n ${l.name}(super.msg, super.request, super.data);\n}\n`}function il(l,a){return a instanceof M.H1?`${l} == null ? null : ${il(l,a.base)}`:a instanceof M.ts?`(${l} as List).map((e) => ${il("e",a.base)}).toList()`:a instanceof M.RE?l:a instanceof M._P?`(${l} as num).toDouble()`:a instanceof M.Bn?`${l} as int`:`${l} as ${Vo(a)}`}function Yh(l){return`class ${l.name} {\n ${l.fields.map(a=>`final ${Vo(a.type)} ${ki(a.name)};`).join("\n ")}\n\n${function Kd(l){let a=` ${l.name}({\n`;for(const i of l.fields)a+=i.type instanceof M.H1?" ":" required ",a+=`this.${ki(i.name)},\n`;return a+=" });\n",a}(l)}\n${function Gh(l){let a=" @override\n bool operator ==(other){\n";return a+=" if (identical(this, other)) return true;\n",a+=` return ${[`other is ${l.name}`,...l.fields.map(i=>`${ki(i.name)} == other.${ki(i.name)}`)].join(" && ")};\n`,a+=" }\n",a}(l)}\n${function as(l){return` @override\n int get hashCode => Object.hashAllUnordered([${l.fields.map(a=>ki(a.name)).join(", ")}]);\n`}(l)}\n${function Wh(l){return` @override\n String toString() {\n return '${l.name} { ${l.fields.map(a=>`${a.name}: $${ki(a.name).startsWith("$")?`{${ki(a.name)}}`:ki(a.name)}`).join(", ")} }';\n }\n`}(l)}}\n`}const _b=["abstract","as","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","else","enum","event","explicit","extern","false","finally","fixed","float","for","foreach","goto","if","implicit","in","int","interface","internal","is","lock","long","namespace","new","null","object","operator","out","override","params","private","protected","public","readonly","ref","return","sbyte","sealed","short","sizeof","stackalloc","static","string","struct","switch","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","using","static","virtual","void","volatile","while","type","end","id"],Ap=[M.zE,M.xW,M.Gf,M._P,M.mN,M.Bn,M.kM,M.ts];function Ho(l){return _b.includes(l)?`${l}'`:l}function Mo(l){return l[0].toUpperCase()+l.slice(1)}function Or(l){switch(l.constructor){case M.Qs:return"string";case M.mN:return"int";case M.kM:return"uint";case M._P:return"double";case M.zE:return"bigint";case M.xW:case M.Gf:return"DateTime";case M.Wi:return"bool";case M.lw:return"byte[]";case M.Bn:return"decimal";case M.ZU:return"Guid";case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.Oo:case M.iE:case M.OR:case M.BD:return"string";case M.RE:return"void";case M.cs:return"JsonElement";case M.H1:return`${Or(l.base)} option`;case M.ts:return`${Or(l.base)} list`;case M.JQ:case M.PK:return l.name;case M.d:return Or(l.type);default:throw new Error(`BUG: generateTypeName with ${l.constructor.name}`)}}function ar(l,a,i,s,u=1,p=!0){switch(l.constructor){case M.mN:return`\n decodeInt32 ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.kM:return`\n decodeUInt32 ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.Bn:return`\n (decodeMoney ${a} ${i}) / 100m\n `.replace(/\n {16}/gu,"\n").trim();case M._P:return`\n decodeFloat ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.zE:return`\n decodeBigInt ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.Qs:return`\n decodeString ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.dp:return`\n decodeHtml ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.Xj:return`\n decodeCpf ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.Ro:return`\n decodeCnpj ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.Tp:return`\n decodeEmail ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.Oo:return`\n decodeUrl ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.ZU:return`\n decodeUuid ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.iE:return`\n decodeHex ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.OR:return`\n decodeBase64 ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.BD:return`\n decodeXml ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.Wi:return`\n decodeBool ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.lw:return`\n decodeBytes ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.d:return ar(l.type,a,i,s,u);case M.H1:return Ap.includes(l.base.constructor)?`match ${a}.ValueKind with\n | JsonValueKind.Null | JsonValueKind.Undefined -> None\n | _ ->\n (${ar(l.base,a,i,s,u,!1).replace(/\n/gu,"\n ")}) |> Some\n `.replace(/\n {16}/gu,"\n").trim():l.base instanceof M.H1||l.base instanceof M.ts?`\n (>.>) decodeOptional ${ar(l.base,a,i,s,u,!1)}\n `.replace(/\n {16}/gu,"\n").trim():`\n decodeOptional ${ar(l.base,a,i,s,u,!1)}\n `.replace(/\n {16}/gu,"\n").trim();case M.PK:case M.JQ:return`Decode${l.name} ${a} ${i}`;case M.cs:return p?`\n ${a}\n `.replace(/\n {16}/gu,"\n").trim():`${s} <- ${a}`;case M.Gf:return`\n decodeDateTime ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.xW:return`\n decodeDate ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.ts:return`\n match ${a}.ValueKind with\n | JsonValueKind.Array ->\n let mutable list_ = List.empty\n for i1 in 0 .. (${a}.GetArrayLength() - 1) do\n let item = ${a}.[i1]\n let partialResult =\n ${ar(l.base,`${a}.[i1]`,`${i.slice(0,-1)}.{i1}"`,s,u,!1).replace(/\n/gu,"\n ")}\n list_ <- list_ |> List.append [ partialResult ]\n list_\n | _ -> raise (FatalException(${i.slice(0,-1)} must be an array."))\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: decodeType with ${l.constructor.name}`)}}function Zs(l,a,i,s=1,u=!0){switch(l.constructor){case M.Qs:return`resultWriter_.WriteStringValue(${a})`;case M._P:case M.kM:case M.mN:return`resultWriter_.WriteNumberValue(${a})`;case M.Bn:return`resultWriter_.WriteNumberValue(int (Math.Round(${a} * 100m)))`;case M.zE:return`resultWriter_.WriteStringValue(${a}.ToString())`;case M.Wi:return`resultWriter_.WriteBooleanValue(${a})`;case M.lw:return`resultWriter_.WriteStringValue(Convert.ToBase64String(${a}))`;case M.Gf:return`resultWriter_.WriteStringValue(${a}.ToString("yyyy-MM-ddTHH:mm:ss.FFFFFF'Z'"))`;case M.xW:return`resultWriter_.WriteStringValue(${a}.ToString("yyyy-MM-dd"))`;case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.Oo:case M.ZU:case M.OR:case M.iE:case M.BD:return`resultWriter_.WriteStringValue(${a})`;case M.H1:{let p=l.base;for(;p instanceof M.d;)p=p.type;return`\n if (${a}.IsNone) then\n resultWriter_.WriteNullValue()\n else\n ${Zs(p,`${a}.Value`,i,s,u)}\n `.replace(/\n {14}/gu,"\n").trim()}case M.d:return Zs(l.type,a,i,s,u);case M.PK:case M.JQ:return`Encode${l.name} ${a} resultWriter_ ${i}`;case M.cs:return`${a}.WriteTo(resultWriter_)`;case M.ts:return`\n resultWriter_.WriteStartArray()\n for i${s} in 0..${a}.Length - 1 do\n ${Zs(l.base,`${a}.[i${s}]`,`${i}`,s+1).replace(/\n/gu,"\n ")}\n resultWriter_.WriteEndArray()\n `.replace(/\n {14}/gu,"\n").trim();default:throw new Error(`BUG: encodeType with ${l.constructor.name}`)}}function ol(l){return`\ntype ${l.name} = {\n ${l.fields.map(a=>`${Mo(a.name)}: ${Or(a.type)}`).join(";\n ")}\n} with\n static member Create (${l.fields.map(a=>`${Ho(a.name)}: ${Or(a.type)}`).join(", ")}): ${l.name} =\n { ${l.fields.map(a=>`${Mo(a.name)} = ${Ho(a.name)}`).join("; ")} }\n\nlet Decode${l.name} (json_: JsonElement) (path_: string): ${l.name} =\n if (json_.ValueKind <> JsonValueKind.Object) then raise (FatalException($"'{path_}' must be an object."))\n ${l.fields.map(a=>`\n let ${a.name}Json_ = decodeJsonElementStrict ${JSON.stringify(a.name)} json_ $"{path_}.${a.name}"\n let ${Ho(a.name)} =\n ${ar(a.type,`${a.name}Json_`,`$"{path_}.${a.name}"`,Ho(a.name)).replace(/\n/gu,"\n ")}\n `).join("")}\n { ${l.fields.map(a=>`${Mo(a.name)} = ${Ho(a.name)}`).join("; ")} }\n\nlet Encode${l.name} (obj_: ${l.name}) (resultWriter_: Utf8JsonWriter) (path_: string) =\n resultWriter_.WriteStartObject()\n ${l.fields.map(a=>`\n resultWriter_.WritePropertyName(${JSON.stringify(a.name)})\n ${Zs(a.type,`obj_.${Mo(a.name)}`,`$"{path_}.${a.name}"`).replace(/\n/gu,"\n ")}`).join("\n")}\n resultWriter_.WriteEndObject()`}function Qa(l){return`\ntype ${l.name} =\n ${l.values.map(({value:a})=>`| ${Mo(a)}`).join("\n ")}\n\nlet Decode${l.name} (json_: JsonElement) (path_: string): ${l.name} =\n if (json_.ValueKind <> JsonValueKind.String) then raise (FatalException($"'{path_}' must be a string."))\n match json_.GetString() with\n ${l.values.map(({value:a})=>`| "${a}" -> ${l.name}.${Mo(a)}`).join("\n ")}\n | _ -> raise (FatalException($"'{path_}' must be one of: (${l.values.map(({value:a})=>`'${a}'`).join(", ")})."))\n\nlet Encode${l.name} (obj_: ${l.name}) (resultWriter_: Utf8JsonWriter) (path_: string) =\n match obj_ with\n ${l.values.map(({value:a})=>`| ${l.name}.${Mo(a)} -> resultWriter_.WriteStringValue("${a}")`).join("\n ")}\n\n`}function jo(l){switch(l.constructor){case M.mN:case M.kM:case M.Bn:return"Int";case M._P:return"Double";case M.zE:return"BigInt";case M.xW:case M.Gf:return"Calendar";case M.Wi:return"Boolean";case M.lw:return"ByteArray";case M.Qs:case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.Oo:case M.ZU:case M.iE:case M.OR:case M.BD:return"String";case M.RE:return"Unit";case M.cs:return"@RawValue JsonElement";case M.H1:return`${jo(l.base)}?`;case M.ts:return`ArrayList<${jo(l.base)}>`;case M.JQ:case M.PK:return l.name;case M.d:return jo(l.type);default:throw new Error(`BUG: generateKotlinTypeName with ${l.constructor.name}`)}}function to(l){return["in","out","as","break","class","continue","do","else","false","for","fun","if","in","interface","is","null","object","package","return","super","this","throw","true","try","typealias","val","var","when","while","by","catch","constructor","delegate","dynamic","field","file","finally","get","import","init","param","property","receiver","set","setparam","where","actual","abstract","annotation","companion","const","crossinline","data","enum","expect","external","final","infix","inline","inner","internal","lateinit","noinline","open","operator","out","override","private","protected","public","reified","sealed","suspend","tailrec","vararg","Double","Float","Long","Int","Short","Byte"].includes(l)?`_${l}`:l}function qd(l,a){switch(l.constructor){case M.Qs:case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.Oo:case M.ZU:case M.iE:case M.OR:case M.BD:case M.mN:case M.kM:case M.Bn:case M._P:case M.Wi:return`addProperty("${a}", ${to(a)})`;case M.H1:return qd(l.base,a);case M.xW:return`addProperty("${a}", ${to(a)}?.let { DateAdapter.sdf.format(it.time)}) `;case M.Gf:return`addProperty("${a}", ${to(a)}?.let { DateTimeAdapter.sdf.format(it.time)})`;case M.ts:case M.JQ:case M.PK:case M.d:case M.cs:return`add("${a}", gson.toJsonTree(${to(a)}))`;case M.RE:return"";case M.lw:return`addProperty("${a}", Base64.encodeToString(${to(a)}, Base64.NO_WRAP))`;default:throw new Error(`BUG: No result found for generateJsonRepresentation with ${l.constructor.name}`)}}function Jd(l){let a="@Parcelize \n";return a+=` enum class ${l.name} : Parcelable { ${l.values.map(i=>to(i.value)).join(", ")} }\n`,a}function cs(l,a){let i="";switch(a&&a!==to(a)&&(i+=` @SerializedName("${a}")\n`),l.constructor){case M.xW:i+=" @JsonAdapter(DateAdapter::class)\n";break;case M.Gf:i+=" @JsonAdapter(DateTimeAdapter::class)\n";break;case M.ts:case M.H1:i+=cs(l.base)}return i}function Ip(l){let a="@Parcelize\n";return a+=` data class ${l.name}(\n${l.fields.map(i=>{let s=cs(i.type,i.name);return s+=` var ${to(i.name)}: ${jo(i.type)}${i.type.constructor===M.H1?" = null":""}`,s}).join(",\n")}\n ) : Parcelable\n`,a}function Qd(l){return`class ${l.name}(message: String) : Error(message)\n`}function Zh(l,a){let i='@file:Suppress("UNNECESSARY_SAFE_CALL")\n\nimport android.os.Parcelable\nimport kotlinx.parcelize.Parcelize\nimport android.content.Context\nimport android.util.Base64\nimport com.google.gson.*\nimport com.google.gson.reflect.TypeToken\nimport com.google.gson.annotations.JsonAdapter\nimport com.google.gson.annotations.SerializedName\nimport io.sdkgen.runtime.SdkgenHttpClient\nimport kotlinx.coroutines.*\nimport kotlinx.coroutines.Dispatchers.IO\nimport kotlinx.parcelize.RawValue\nimport java.util.*\nimport okhttp3.Interceptor\n\ninline fun <reified T> Gson.fromJson(json: String) =\n fromJson<T>(json, object : TypeToken<T>() {}.type)\n\ninline fun <reified T> Gson.fromJson(json: JsonElement) =\n fromJson<T>(json, object : TypeToken<T>() {}.type)\n\n@Suppress("DeferredIsResult", "unused")\nclass ApiClient(\n baseUrl: String,\n val applicationContext: Context,\n defaultTimeoutMillis: Long = 10000L,\n fingerprint: String? = null,\n httpInterceptor: Interceptor? = null,\n httpNetworkInterceptor: Interceptor? = null\n) : SdkgenHttpClient(baseUrl, applicationContext, defaultTimeoutMillis, fingerprint, httpInterceptor, httpNetworkInterceptor) {\n\n private val gson = GsonBuilder()\n .registerTypeAdapter(object : TypeToken<ByteArray>() {}.type, ByteArrayDeserializer())\n .create()\n\n';for(const p of l.enumTypes)i+=` ${Jd(p)}`,i+="\n";i+=" open class Error(val message: String? = null)\n",i+=" data class Response<T>(val error: Error?, val data: T?, val stats: CallStats?)\n\n";for(const p of l.structTypes)i+=` ${Ip(p)}\n`;const s=[],u=new M.IE("Connection",new M.RE);s.push(u.name),i+=` ${Qd(u)}`;for(const p of l.errors)i+=` ${Qd(p)}`,s.push(p.name);return s.length>0&&(i+=`\n enum class ErrorType {\n ${s.join(",\n ")};\n\n fun type(): Class<out ApiClient.Error> {\n return when (this) {\n ${s.map(p=>`${p} -> ApiClient.${p}::class.java`).join("\n ")}\n else -> ApiClient.Error::class.java\n }\n }\n }\n\n`),i+=" private val sdkgenIOScope = CoroutineScope(IO + SupervisorJob())\n\n",i+=l.operations.filter(p=>p.annotations.every(b=>!(b instanceof M.e1))).map(p=>{let b="";const B=[];B.push("timeoutMillis: Long? = null"),a&&B.push(`callback: ((response: Response<${jo(p.returnType)}>) -> Unit)? = null`);const oe=p.args.map(Ce=>`${to(Ce.name)}: ${jo(Ce.type)}`).concat(B);return b+=` fun ${to(p.name)}(\n ${oe.join(",\n ")}\n ): Deferred<Response<out ${jo(p.returnType)}>> = sdkgenIOScope.async {\n`,p.args.length>0?(b+=" val bodyArgs = JsonObject().apply {\n",b+=p.args.map(Ce=>` ${qd(Ce.type,Ce.name)}`).join("\n"),b+="\n }\n"):b+=" val bodyArgs: JsonObject? = null",b+="\n",b+=` val call = makeRequest("${p.name}", bodyArgs, timeoutMillis)\n`,b+=` val response: Response<${jo(p.returnType)}> = handleCallResponse(call)\n`,a&&(b+=" withContext(Dispatchers.Main) { callback?.invoke(response) } \n"),b+=" return@async response\n",b+=" }\n",b}).join("\n"),i+='\n private inline fun <reified T> handleCallResponse(callResponse: InternalResponse): Response<T> {\n try {\n val data = if (callResponse.result?.get("result") != null)\n gson.fromJson<T>(callResponse.result?.get("result")!!)\n else null\n\n val error = if (callResponse.error != null) {\n val errorType = try {\n ErrorType.valueOf(callResponse.error?.get("type")?.asString ?: "")\n } catch (e: Exception) {\n ErrorType.Fatal\n }\n\n gson.fromJson(callResponse.error, errorType.type())\n } else null\n\n return Response(error, data, callResponse.stats)\n } catch(e: Exception) {\n return Response(Fatal(applicationContext.getString(io.sdkgen.runtime.R.string.sdkgen_error_serialization)), null, callResponse.stats)\n }\n }\n',i+="}\n",i}function Uo(l){switch(l.constructor){case M.mN:return"Int";case M.kM:return"UInt";case M.Bn:return"Int64";case M._P:return"Double";case M.zE:return"Decimal";case M.xW:case M.Gf:return"Date";case M.Wi:return"Bool";case M.lw:return"Data";case M.Qs:case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.ZU:case M.iE:case M.Oo:case M.OR:case M.BD:return"String";case M.RE:return"Void";case M.cs:return"AnyCodable";case M.H1:return`${Uo(l.base)}?`;case M.ts:return`[${Uo(l.base)}]`;case M.JQ:case M.PK:return`API.${l.name}`;case M.d:return Uo(l.type);default:throw new Error(`BUG: generateSwiftTypeName with ${l.constructor.name}`)}}function Ri(l){return["associatedtype","deinit","extension","inout","let","in","as","break","class","continue","protocol","Protocol","rethrows","throws","static","do","else","false","for","guard","func","if","internal","struct","subscript","repeat","is","nil","Any","associativity","convenience","import","return","super","self","Self","throw","true","try","typealias","switch","case","default","defer","fallthrough","optional","var","while","catch","dynamic","didSet","Set","fileprivate","lazy","get","init","required","right","param","property","receiver","set","left","where","final","infix","indirect","open","operator","override","private","postfix","public","mutating","none","nonmutating","precedence","prefix","Type","unowned","weak","willSet"].includes(l)?`_${l}`:l}function qs(l,a){switch(l.constructor){case M.Qs:case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.Oo:case M.ZU:case M.iE:case M.OR:case M.BD:case M.mN:case M.kM:case M.Bn:case M._P:case M.Wi:return`${a}`;case M.H1:return`${a} == nil ? nil : ${qs(l.base,`${a}!`)}`;case M.xW:return`SdkgenHelper.encodeDate(date: ${a})`;case M.Gf:return`SdkgenHelper.encodeDateTime(date: ${a})`;case M.PK:return`${a}.rawValue`;case M.d:return`${qs(l.type,`${a}`)}`;case M.JQ:return`${a}.toJSON()`;case M.ts:return`${a}.map({ return ${qs(l.base,"$0")} })`;case M.cs:return`try? ${a}.toJson()`;case M.RE:return"nil";case M.lw:return`${a}.base64EncodedString()`;default:throw new Error(`BUG: No result found for generateJsonRepresentation with ${l.constructor.name}`)}}function qh(l){let a=` public enum ${l.name}: String, Codable {\n`;return a+=l.values.map(i=>` case ${Ri(i.value)} = "${i.value}"`).join("\n"),a+="\n }\n",a}function Op(l){return` public struct ${l.name}: Codable {\n${l.fields.map(a=>` var ${Ri(a.name)}: ${Uo(a.type)}`).join("\n")}\n\n${function Xd(l){let a=" init(";return a+=l.fields.map(i=>`${Ri(i.name)}: ${Uo(i.type)}`).join(", "),a+=") {\n",a+=l.fields.map(i=>` self.${Ri(i.name)} = ${Ri(i.name)}`).join("\n"),a+="\n }\n",a}(l)}\n${function Js(l){let a=" func toJSON() -> [String: Any] {\n";return a+=" var json = [String: Any]()\n",a+=l.fields.map(i=>` json["${Ri(i.name)}"] = ${qs(i.type,i.name)}`).join("\n"),a+="\n return json",a+="\n }\n",a}(l)}\n }\n`}function Rp(l){const a=l.args.map(i=>`${Ri(i.name)}: ${Uo(i.type)}`).concat(["timeoutSeconds: Double?",`callback: ((_ result: ${l.returnType instanceof M.RE?"API.Result<API.NoReply>":`API.Result<${Uo(l.returnType)}>`}) -> Void)?`]);return` func ${Ri(l.name)}(${a.join(", ")})`}function Xa(l,a){let i="import Foundation\nimport SdkgenRuntime\n";i+=a?"import RxSwift\nimport RxCocoa\n\n":"\n",i+="protocol APICallsProtocol {\n",i+=l.operations.filter(p=>p.annotations.every(b=>!(b instanceof M.e1))).map(p=>`${Rp(p)}`).join("\n"),i+="\n}\n\n",i+='class API: SdkgenResponse {\n\n static var calls = Calls(baseUrl: "")\n static var baseUrl: String? {\n didSet {\n self.calls = Calls(baseUrl: baseUrl ?? "")\n }\n }\n \n override init() {\n super.init()\n }\n\n';for(const p of l.enumTypes)i+=qh(p),i+="\n";for(const p of l.structTypes)i+=Op(p),i+="\n";const s=[],u=new M.IE("Connection",new M.RE);s.push(u.name);for(const p of l.errors)s.push(p.name);return s.length>0&&(i+=function rl(l){let a=" public enum ErrorType: String, Codable {\n";return a+=l.map(i=>` case ${Ri(i)} = "${i}"`).join("\n"),a+="\n }\n",a}(s),i+="\n"),i+=" public class Failure: Error {\n var message: String?\n var code: Int?\n var type: ErrorType?\n \n init(message: String?, code: Int?, type: String?) {\n self.message = message\n self.code = code\n if let typeString = type {\n self.type = ErrorType(rawValue: typeString) ?? nil\n }\n }\n }\n",i+="\n",i+=" public enum Result<T> {\n case success(T)\n case failure(Failure)\n }\n\n",i+=" public class Calls: SdkgenHttpClient, APICallsProtocol {\n\n override init(baseUrl: String) {\n super.init(baseUrl: baseUrl)\n }\n\n",i+=l.operations.filter(p=>p.annotations.every(b=>!(b instanceof M.e1))).map(p=>{let b="";return b+=` ${Rp(p)} {\n`,p.args.length>0?(b+=" var jsonArgs = [String: Any]()\n",b+=p.args.map(B=>` jsonArgs["${Ri(B.name)}"] = ${qs(B.type,Ri(B.name))}`).join("\n")):b+=" let jsonArgs = [String: Any]()",b+="\n\n",b+=` makeRequest("${p.name}", jsonArgs, timeoutSeconds, completion: { (value: ${p.returnType instanceof M.RE?"API.NoReply":Uo(p.returnType)}) in\n`,b+=" callback?(API.Result.success(value))\n",b+=" }, onError: { error in\n",b+=" callback?(API.Result.failure(API.Failure(message: error.message, code: error.code, type: error.type)))\n",b+=" })",b+="\n }\n",b}).join("\n"),i+=" }\n",i+="}\n",a&&(i+="\n",i+="extension API: ReactiveCompatible {}\n\n",i+="extension Reactive where Base: API {\n",i+=l.operations.filter(p=>p.annotations.every(b=>!(b instanceof M.e1))).map(p=>`${function Pp(l){const a=l.args.map(s=>`${Ri(s.name)}: ${Uo(s.type)}`).concat(["timeoutSeconds: Double? = nil"]);let i=` static func ${Ri(l.name)}(${a.join(", ")}) -> ${l.returnType instanceof M.RE?"Observable<API.Result<API.NoReply>>":`Observable<API.Result<${Uo(l.returnType)}>>`} {\n`;return i+=" return Observable.create { observer -> Disposable in\n",i+=` API.calls.${Ri(l.name)}(${l.args.map(s=>`${Ri(s.name)}: ${Ri(s.name)}`).concat(["timeoutSeconds: timeoutSeconds"]).join(", ")}) { result in \n`,i+=" observer.on(.next(result))\n",i+=" observer.on(.completed)\n",i+=" }\n",i+=" return Disposables.create()\n",i+=" }\n",i+=" }\n",i}(p)}`).join("\n"),i+="}\n"),i}var Qs=y(3866),Jh=y(5046),Xs=y(3855),Qh=y(2311),kr=y(5861);let Np=(()=>{class l{constructor(){this.version="0.0.0"}static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["app-dialog-about"]],decls:21,vars:2,consts:[["mat-dialog-title",""],["role","list"],[3,"disableRipple"],["mat-icon-button","","mat-dialog-close","","tabindex","-1"],[1,"links"],["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(s,u){1&s&&(o.TgZ(0,"header")(1,"h1",0),o._uU(2,"sdkgen Playground"),o.qZA(),o.TgZ(3,"mat-chip-set",1)(4,"mat-chip",2),o._uU(5),o.qZA()(),o._UZ(6,"s"),o.TgZ(7,"button",3)(8,"mat-icon"),o._uU(9,"close"),o.qZA()()(),o.TgZ(10,"p"),o._uU(11,"Ferramenta para explorar e invocar APIs feitas com sdkgen."),o.qZA(),o.TgZ(12,"p"),o._uU(13,"Feito com \u2764\ufe0f no Brasil \u{1f1e7}\u{1f1f7}"),o.qZA(),o.TgZ(14,"div",4)(15,"a",5),o._uU(16,"Documenta\xe7\xe3o"),o.qZA(),o.TgZ(17,"a",6),o._uU(18,"C\xf3digo-fonte"),o.qZA(),o.TgZ(19,"a",7),o._uU(20," Reportar um problema "),o.qZA()()),2&s&&(o.xp6(4),o.Q6J("disableRipple",!0),o.xp6(1),o.Oqu(u.version))},dependencies:[de.zs,de.RK,Pt,et,lo,bc,Ti.Hw],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}.links[_ngcontent-%COMP%]{display:flex;flex-direction:row}"]})}return l})();function Lp(l,a){1&l&&(o.ynx(0),o.TgZ(1,"mat-icon",6),o._uU(2,"loop"),o.qZA(),o.BQk())}function Bp(l,a){1&l&&(o.ynx(0),o.TgZ(1,"mat-icon"),o._uU(2,"arrow_forward"),o.qZA(),o.BQk())}let $p=(()=>{class l{constructor(i,s,u){this.sdkgen=i,this.toastr=s,this.dialog=u,this.loading=!1,this.url=new be.NI("")}ngOnInit(){fetch("/ast.json").then(i=>{i.ok&&(this.url.setValue(`${window.location.protocol}//${window.location.host}`),this.loadUrl())}).catch(()=>{})}loadUrl(i){var s=this;return(0,kr.Z)(function*(){i?.preventDefault();try{s.loading=!0,/^https?:\/\//.test(s.url.value)||s.url.setValue(`https://${s.url.value}`);const u=new URL(s.url.value);u.pathname+=(u.pathname.endsWith("/")?"":"/")+"ast.json";const p=u.toString();console.debug("astUrl",p);const b=yield fetch(p).then(function(){var B=(0,kr.Z)(function*(oe){return oe.ok?oe.json():oe});return function(oe){return B.apply(this,arguments)}}());if(b instanceof Response)throw b instanceof Error?b:new Error(b.statusText);if(!b.errors||!b.functionTable||!b.typeTable)throw new Error("Invalid AST");for(;typeof monaco>"u";)console.log("monaco"),yield new Promise(B=>setTimeout(B,250));console.debug("astJson",b),s.sdkgen.state$.next({astJson:b,astRoot:(0,M.Bp)(b),url:s.url.value})}catch(u){s.toastr.error(u instanceof Error?u.message:JSON.stringify(u),"Erro ao carregar AST",{positionClass:"toast-bottom-right"})}finally{s.loading=!1}})()}openAbout(){this.dialog.open(Np)}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(Xs.G),o.Y36(Za),o.Y36(Hn))};static#t=this.\u0275cmp=o.Xpm({type:l,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(s,u){1&s&&(o._UZ(0,"img",0),o.TgZ(1,"form",1),o.NdJ("submit",function(b){return u.loadUrl(b)}),o._UZ(2,"input",2),o.TgZ(3,"button",3),o.YNc(4,Lp,3,0,"ng-container",4)(5,Bp,3,0,"ng-container",4),o.qZA()(),o.TgZ(6,"button",5),o.NdJ("click",function(){return u.openAbout()}),o.TgZ(7,"mat-icon"),o._uU(8,"info"),o.qZA()()),2&s&&(o.xp6(2),o.Q6J("formControl",u.url)("readonly",u.loading),o.xp6(1),o.Q6J("disabled",u.loading)("ngSwitch",u.loading),o.xp6(1),o.Q6J("ngSwitchCase",!0),o.xp6(1),o.Q6J("ngSwitchCase",!1))},dependencies:[ue.RF,ue.n9,be._Y,be.Fj,be.JJ,be.JL,be.F,be.oH,Ti.Hw,me.wG],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 l})();var cr=y(3101);const ls={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?."},Vp={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}']};function sl(l){switch(l.constructor){case M.Qs:return"StringPrimitiveType";case M.mN:return"IntPrimitiveType";case M.kM:return"UIntPrimitiveType";case M._P:return"FloatPrimitiveType";case M.zE:return"BigIntPrimitiveType";case M.Bn:return"MoneyPrimitiveType";case M.KW:return"DecimalPrimitiveType";case M.xW:return"DatePrimitiveType";case M.Gf:return"DateTimePrimitiveType";case M.Wi:return"BoolPrimitiveType";case M.RE:return"VoidPrimitiveType";case M.Xj:return"CpfPrimitiveType";case M.Ro:return"CnpjPrimitiveType";case M.Tp:return"EmailPrimitiveType";case M.Oo:return"UrlPrimitiveType";case M.ZU:return"UuidPrimitiveType";case M.iE:return"HexPrimitiveType";case M.dp:return"HtmlPrimitiveType";case M.lw:return"BytesPrimitiveType";case M.OR:return"Base64PrimitiveType";case M.BD:return"XmlPrimitiveType";case M.cs:return"JsonPrimitiveType";case M.H1:return"OptionalType";case M.PK:return"EnumType";case M.ts:return"ArrayType";case M.JQ:return"StructType";default:return l.constructor.name}}function al(l){const a=[];switch(l.constructor){case M.Qs:case M.mN:case M.kM:case M._P:case M.zE:case M.Bn:case M.KW:case M.xW:case M.Gf:case M.Wi:case M.RE:case M.Xj:case M.Ro:case M.Tp:case M.Oo:case M.ZU:case M.iE:case M.dp:case M.lw:case M.OR:case M.BD:case M.cs:a.push("Primitivo");break;case M.H1:a.push("Opcional"),a.push(...al(l.base));break;case M.d:a.push(...al(l.type));break;case M.ts:a.push("Array"),a.push(...al(l.base));break;case M.PK:a.push("Enum");break;default:console.error("No labels for",sl(l))}return a}function ea(l){switch(l.constructor){case M.Qs:case M.mN:case M.kM:case M._P:case M.zE:case M.Bn:case M.KW:case M.xW:case M.Gf:case M.Wi:case M.RE:case M.Xj:case M.Ro:case M.Tp:case M.Oo:case M.ZU:case M.iE:case M.dp:case M.lw:case M.OR:case M.BD:case M.cs:return{longDescription:ls[sl(l)],shortDescription:ls[sl(l)],examples:Vp[sl(l)]};case M.H1:{const u=ea(l.base);return{...u,longDescription:u.longDescription,shortDescription:`(opcional) ${u.shortDescription}`,examples:["null",...u.examples??[]]}}case M.d:return ea(l.type);case M.ts:{const u=ea(l.base);return{...u,longDescription:u.longDescription,shortDescription:`(array) ${u.shortDescription}`,examples:["[]",...u.examples?.map(p=>`[${p}]`)??[]]}}case M.PK:const a=l,i=a.values.slice(0,3),s=i.map(u=>u.struct?`${u.value}: ${JSON.stringify((new Xs.G).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) ${i.map(u=>`${u.value}${u.struct?"(\u2026)":""}`).join(", ")}${i.length>3?"\u2026":""}`,examples:s,isEnum:!0,isStruct:!0,structFields:a.values.map(u=>({name:u.value,type:u.struct,description:u.annotations.find(p=>p instanceof M.x3)?.text,secret:!1}))};case M.JQ:return{longDescription:"",shortDescription:`(objeto complexo) ${l.fields.slice(0,3).map(u=>u.name).join(", ")}\u2026`,isStruct:!0,structFields:l.fields.map(u=>({name:u.name,description:u.annotations.find(p=>p instanceof M.x3)?.text,type:u.type,secret:u.secret})),examples:[JSON.stringify((new Xs.G).buildJsonObject(l.fields),null,2)]};default:return{longDescription:"BUG: Unknown Type",shortDescription:"BUG: Unknown Type",examples:[]}}}function Hp(l,a){1&l&&(o.TgZ(0,"button",6)(1,"mat-icon"),o._uU(2,"arrow_back"),o.qZA()())}function jp(l,a){if(1&l&&(o.TgZ(0,"mat-chip",7),o._uU(1),o.qZA()),2&l){const i=a.$implicit;o.Q6J("disableRipple",!0),o.xp6(1),o.Oqu(i)}}function Xh(l,a){1&l&&(o.TgZ(0,"button",8)(1,"mat-icon"),o._uU(2,"close"),o.qZA()())}function Up(l,a){1&l&&(o.TgZ(0,"th",20),o._uU(1,"Nome"),o.qZA())}function zp(l,a){if(1&l&&(o.TgZ(0,"td",21),o._uU(1),o.qZA()),2&l){const i=a.$implicit;o.xp6(1),o.Oqu(i.name)}}function Gp(l,a){1&l&&(o.TgZ(0,"th",20),o._uU(1,"Tipo"),o.qZA())}function Wp(l,a){1&l&&(o.TgZ(0,"span"),o._uU(1,"-"),o.qZA())}function cl(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"u",25),o.NdJ("click",function(){o.CHM(i);const u=o.oxw().$implicit,p=o.oxw(2);return o.KtG(p.showDocumentation(u.type))}),o._uU(1),o.qZA()}if(2&l){const i=o.oxw().$implicit,s=o.oxw(2);o.Q6J("matTooltip",s.getTooltip(i.type)),o.xp6(1),o.Oqu(i.type.name)}}function lr(l,a){1&l&&(o.TgZ(0,"td",22),o.YNc(1,Wp,2,0,"span",23)(2,cl,2,2,"u",24),o.qZA()),2&l&&(o.Q6J("ngSwitch",a.$implicit.type),o.xp6(1),o.Q6J("ngSwitchCase",null))}function ec(l,a){1&l&&(o.TgZ(0,"th",20),o._uU(1,"Descri\xe7\xe3o"),o.qZA())}function ef(l,a){if(1&l&&(o.TgZ(0,"td",26),o._uU(1),o.qZA()),2&l){const i=a.$implicit;o.xp6(1),o.Oqu(i.description||"-")}}function tf(l,a){1&l&&o._UZ(0,"tr",27)}function nf(l,a){1&l&&o._UZ(0,"tr",28)}const bb=()=>[];function vb(l,a){if(1&l&&(o.TgZ(0,"section")(1,"div",9)(2,"table",10),o.ynx(3,11),o.YNc(4,Up,2,0,"th",12)(5,zp,2,1,"td",13),o.BQk(),o.ynx(6,14),o.YNc(7,Gp,2,0,"th",12)(8,lr,3,2,"td",15),o.BQk(),o.ynx(9,16),o.YNc(10,ec,2,0,"th",12)(11,ef,2,1,"td",17),o.BQk(),o.YNc(12,tf,1,0,"tr",18)(13,nf,1,0,"tr",19),o.qZA()()()),2&l){const i=o.oxw();let s;o.xp6(2),o.Q6J("dataSource",null!==(s=null==i.typeDoc?null:i.typeDoc.structFields)&&void 0!==s?s:o.DdM(3,bb)),o.xp6(10),o.Q6J("matHeaderRowDef",i.argumentsTableColumns),o.xp6(1),o.Q6J("matRowDefColumns",i.argumentsTableColumns)}}function yb(l,a){if(1&l&&(o.TgZ(0,"li")(1,"code",1),o._uU(2),o.qZA()()),2&l){const i=a.$implicit;o.xp6(2),o.Oqu(i)}}function eu(l,a){if(1&l&&(o.TgZ(0,"section")(1,"h3"),o._uU(2,"Exemplos"),o.qZA(),o.TgZ(3,"ul"),o.YNc(4,yb,3,1,"li",29),o.qZA()()),2&l){const i=o.oxw();o.xp6(4),o.Q6J("ngForOf",null==i.typeDoc?null:i.typeDoc.examples)}}let tu=(()=>{class l{constructor(i,s,u){this.dialogRef=i,this.data=s,this.dialog=u,this.labels=[],this.argumentsTableColumns=["name","type","description"]}ngOnInit(){this.labels=al(this.data.type),this.typeDoc=ea(this.data.type)}getTooltip(i){return ea(i).shortDescription}showDocumentation(i){this.dialog.open(l,{position:{right:"0"},data:{type:i,subdialog:!0},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36($t),o.Y36(S),o.Y36(Hn))};static#t=this.\u0275cmp=o.Xpm({type:l,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(s,u){1&s&&(o.TgZ(0,"h1"),o.YNc(1,Hp,3,0,"button",0),o.TgZ(2,"span",1),o._uU(3),o.qZA(),o.TgZ(4,"mat-chip-set",2),o.YNc(5,jp,2,2,"mat-chip",3),o.qZA(),o.YNc(6,Xh,3,0,"button",4),o.qZA(),o.TgZ(7,"p"),o._uU(8),o.qZA(),o.YNc(9,vb,14,4,"section",5)(10,eu,5,1,"section",5)),2&s&&(o.xp6(1),o.Q6J("ngIf",u.data.subdialog),o.xp6(2),o.Oqu(u.data.type.name),o.xp6(2),o.Q6J("ngForOf",u.labels),o.xp6(1),o.Q6J("ngIf",!u.data.subdialog),o.xp6(2),o.Oqu(null==u.typeDoc?null:u.typeDoc.longDescription),o.xp6(1),o.Q6J("ngIf",(null==u.typeDoc?null:u.typeDoc.isStruct)&&(null==u.typeDoc?null:u.typeDoc.structFields)),o.xp6(1),o.Q6J("ngIf",null==u.typeDoc||null==u.typeDoc.examples?null:u.typeDoc.examples.length))},dependencies:[ue.sg,ue.O5,ue.RF,ue.n9,ue.ED,de.RK,Pt,et,lo,Ti.Hw,id,Is,vi,Aa,Sa,Nn,Ia,Os,Ac,od,Jr],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 l})();var wb=y(4515);let xb=(()=>{class l{constructor(i){this.observer=i}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(s){return new(s||l)(o.LFG(wb.Yg))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),rf=(()=>{class l{transform(i,s){if(!i)return[];if(!s)return i;const u=s.toLocaleLowerCase();return i.filter(p=>JSON.stringify(p).toLocaleLowerCase().includes(u))}static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275pipe=o.Yjl({name:"appFilter",type:l,pure:!0})}return l})();function Yp(l,a){if(1&l&&(o.TgZ(0,"span",8),o._uU(1),o.qZA()),2&l){const i=o.oxw().$implicit;o.xp6(1),o.Oqu(i.description)}}const Kp=l=>({active:l});function Zp(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"li",5),o.NdJ("click",function(){const p=o.CHM(i).$implicit,b=o.oxw();return o.KtG(b.selectedFunction=p)}),o.TgZ(1,"span",6),o._uU(2),o.qZA(),o.YNc(3,Yp,2,1,"span",7),o.qZA()}if(2&l){const i=a.$implicit,s=o.oxw();o.Q6J("ngClass",o.VKq(3,Kp,(null==s.selectedFunction?null:s.selectedFunction.name)===i.name)),o.xp6(2),o.Oqu(i.name),o.xp6(1),o.Q6J("ngIf",i.description)}}function qp(l,a){1&l&&o._UZ(0,"span")}function sf(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"span"),o._UZ(1,"br"),o._uU(2,"\xa0\xa0"),o.TgZ(3,"span",37),o._uU(4),o.qZA(),o.TgZ(5,"span",14),o._uU(6,":"),o.qZA(),o._uU(7,"\xa0"),o.TgZ(8,"u",15),o.NdJ("click",function(){const p=o.CHM(i).$implicit,b=o.oxw(2);return o.KtG(b.showDocumentation(p.rawType))}),o._uU(9),o.qZA(),o.YNc(10,qp,1,0,"span",38),o.qZA()}if(2&l){const i=a.$implicit,s=a.index;o.oxw();const u=o.MAs(18),p=o.MAs(20),b=o.oxw();o.xp6(4),o.Oqu(i.name),o.xp6(4),o.Q6J("matTooltip",b.getTooltip(i.rawType)),o.xp6(1),o.Oqu(i.type),o.xp6(1),o.Q6J("ngIf",s!=b.selectedFunction.args.length-1)("ngIfThen",u)("ngIfElse",p)}}function ll(l,a){1&l&&o._uU(0,",")}function af(l,a){1&l&&o._UZ(0,"br")}function nu(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"u",29),o.NdJ("click",function(){o.CHM(i);const u=o.oxw().$implicit,p=o.oxw(3);return o.KtG(p.showDocumentation(u.dataType))}),o._uU(1),o.qZA()}if(2&l){const i=o.oxw().$implicit,s=o.oxw(3);o.Q6J("matTooltip",s.getTooltip(i.dataType)),o.xp6(1),o.hij("(",i.dataType.name,")")}}function Jp(l,a){if(1&l&&(o.TgZ(0,"mat-chip",42)(1,"span",28),o._uU(2),o.qZA(),o._UZ(3,"i"),o.TgZ(4,"span",28),o._uU(5),o.YNc(6,nu,2,2,"u",43),o.qZA()()),2&l){const i=a.$implicit;o.Q6J("disableRipple",!0),o.xp6(2),o.Oqu(i.name),o.xp6(3),o.hij("",i.type," "),o.xp6(1),o.Q6J("ngIf",i.dataType&&"void"!==i.dataType.name)}}function ds(l,a){if(1&l&&(o.TgZ(0,"section",39)(1,"mat-chip-set",40),o.YNc(2,Jp,7,4,"mat-chip",41),o.qZA()()),2&l){const i=o.oxw(2);o.xp6(2),o.Q6J("ngForOf",i.selectedFunction.labels)}}function cf(l,a){if(1&l&&(o.TgZ(0,"p"),o._uU(1),o.qZA()),2&l){const i=o.oxw(2);o.xp6(1),o.Oqu(i.selectedFunction.description)}}function Qp(l,a){1&l&&(o.TgZ(0,"p",44),o._uU(1,"N\xe3o h\xe1 descri\xe7\xe3o para esta fun\xe7\xe3o."),o.qZA())}function lf(l,a){1&l&&(o.TgZ(0,"p",44),o._uU(1,"Esta fun\xe7\xe3o n\xe3o possui argumentos."),o.qZA())}function df(l,a){1&l&&(o.TgZ(0,"th",54),o._uU(1,"Nome"),o.qZA())}function Xp(l,a){if(1&l&&(o.TgZ(0,"td",55),o._uU(1),o.qZA()),2&l){const i=a.$implicit;o.xp6(1),o.Oqu(i.name)}}function eg(l,a){1&l&&(o.TgZ(0,"th",54),o._uU(1,"Tipo"),o.qZA())}function tg(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"td",55)(1,"u",29),o.NdJ("click",function(){const p=o.CHM(i).$implicit,b=o.oxw(3);return o.KtG(b.showDocumentation(p.rawType))}),o._uU(2),o.qZA()()}if(2&l){const i=a.$implicit,s=o.oxw(3);o.xp6(1),o.Q6J("matTooltip",s.getTooltip(i.rawType)),o.xp6(1),o.Oqu(i.type)}}function ng(l,a){1&l&&(o.TgZ(0,"th",54),o._uU(1,"Descri\xe7\xe3o"),o.qZA())}function ig(l,a){if(1&l&&(o.TgZ(0,"td",56),o._uU(1),o.qZA()),2&l){const i=a.$implicit;o.xp6(1),o.Oqu(i.description||"-")}}function Cb(l,a){1&l&&o._UZ(0,"tr",57)}function Db(l,a){1&l&&o._UZ(0,"tr",58)}function tc(l,a){if(1&l&&(o.TgZ(0,"table",45),o.ynx(1,46),o.YNc(2,df,2,0,"th",47)(3,Xp,2,1,"td",48),o.BQk(),o.ynx(4,49),o.YNc(5,eg,2,0,"th",47)(6,tg,3,2,"td",48),o.BQk(),o.ynx(7,50),o.YNc(8,ng,2,0,"th",47)(9,ig,2,1,"td",51),o.BQk(),o.YNc(10,Cb,1,0,"tr",52)(11,Db,1,0,"tr",53),o.qZA()),2&l){const i=o.oxw(2);o.Q6J("dataSource",i.selectedFunction.args),o.xp6(10),o.Q6J("matHeaderRowDef",i.argumentsTableColumns),o.xp6(1),o.Q6J("matRowDefColumns",i.argumentsTableColumns)}}function og(l,a){1&l&&(o.TgZ(0,"span",59),o._uU(1,"Dart"),o.qZA())}function Eb(l,a){1&l&&(o.TgZ(0,"span",59),o._uU(1,"Swift"),o.qZA())}const Mb=()=>({theme:"vs-dark",language:"javascript"}),dl=()=>({theme:"vs-dark",language:"kotlin"}),rg=()=>({theme:"vs-dark",language:"dart"}),iu=()=>({theme:"vs-dark",language:"swift"});function ou(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"article")(1,"header")(2,"h1",9)(3,"span",10)(4,"span",11),o._uU(5,"fn"),o.qZA(),o._uU(6,"\xa0"),o.TgZ(7,"span",12),o._uU(8),o.qZA(),o._uU(9,"("),o.YNc(10,sf,11,6,"span",13),o._uU(11,")"),o.TgZ(12,"span",14),o._uU(13,":"),o.qZA(),o._uU(14,"\xa0"),o.TgZ(15,"u",15),o.NdJ("click",function(){o.CHM(i);const u=o.oxw();return o.KtG(u.showDocumentation(u.selectedFunction.returns.rawType))}),o._uU(16),o.qZA()(),o.YNc(17,ll,1,0,"ng-template",null,16,o.W1O)(19,af,1,0,"ng-template",null,17,o.W1O),o._UZ(21,"s"),o.TgZ(22,"button",18),o.NdJ("click",function(){o.CHM(i);const u=o.oxw();return o.KtG(u.addSimpleCallTab())}),o.TgZ(23,"mat-icon"),o._uU(24,"play_arrow"),o.qZA(),o._uU(25,"\xa0EXECUTAR "),o.qZA()()(),o.YNc(26,ds,3,1,"section",19),o.TgZ(27,"section",9)(28,"h2",20),o._uU(29,"Descri\xe7\xe3o"),o.qZA(),o.TgZ(30,"div",21),o.YNc(31,cf,2,1,"p",22)(32,Qp,2,0,"p",23),o.qZA(),o.TgZ(33,"h2",24),o._uU(34,"Par\xe2metros"),o.qZA(),o.TgZ(35,"div",21),o.YNc(36,lf,2,0,"p",23),o.TgZ(37,"div",25),o.YNc(38,tc,12,3,"table",26),o.qZA()(),o.TgZ(39,"h2",27),o._uU(40,"Retorno"),o.qZA(),o.TgZ(41,"div")(42,"p",28)(43,"u",29),o.NdJ("click",function(){o.CHM(i);const u=o.oxw();return o.KtG(u.showDocumentation(u.selectedFunction.returns.rawType))}),o._uU(44),o.qZA()()(),o.TgZ(45,"h2",30),o._uU(46,"Exemplo de Requisi\xe7\xe3o"),o.qZA(),o.TgZ(47,"mat-tab-group",31)(48,"mat-tab",32),o._UZ(49,"ngx-monaco-editor",33),o.qZA(),o.TgZ(50,"mat-tab",34),o._UZ(51,"ngx-monaco-editor",33),o.qZA(),o.TgZ(52,"mat-tab",35),o.YNc(53,og,2,0,"ng-template",36),o._UZ(54,"ngx-monaco-editor",33),o.qZA(),o.TgZ(55,"mat-tab",35),o.YNc(56,Eb,2,0,"ng-template",36),o._UZ(57,"ngx-monaco-editor",33),o.qZA()()()()}if(2&l){const i=o.oxw();o.xp6(8),o.Oqu(i.selectedFunction.name),o.xp6(2),o.Q6J("ngForOf",i.selectedFunction.args),o.xp6(5),o.Q6J("matTooltip",i.getTooltip(i.selectedFunction.returns.rawType)),o.xp6(1),o.Oqu(i.selectedFunction.returns.type),o.xp6(10),o.Q6J("ngIf",i.selectedFunction.labels.length>0),o.xp6(4),o.Q6J("ngSwitch",!!i.selectedFunction.description),o.xp6(1),o.Q6J("ngSwitchCase",!0),o.xp6(1),o.Q6J("ngSwitchCase",!1),o.xp6(3),o.Q6J("ngSwitch",i.selectedFunction.args.length),o.xp6(1),o.Q6J("ngSwitchCase",0),o.xp6(7),o.Q6J("matTooltip",i.getTooltip(i.selectedFunction.returns.rawType)),o.xp6(1),o.Oqu(i.selectedFunction.returns.type),o.xp6(5),o.Q6J("options",o.DdM(20,Mb))("ngModel",i.selectedFunction.examples.typeScript),o.xp6(2),o.Q6J("options",o.DdM(21,dl))("ngModel",i.selectedFunction.examples.kotlin),o.xp6(3),o.Q6J("options",o.DdM(22,rg))("ngModel",i.selectedFunction.examples.dart),o.xp6(3),o.Q6J("options",o.DdM(23,iu))("ngModel",i.selectedFunction.examples.swift)}}const ta=()=>({standalone:!0});let ru=(()=>{class l{constructor(i,s,u){this.sdkgen=i,this.dialog=s,this.responsive=u,this.isBelowMd=!1,this.runFunction=new o.vpe,this.searchText="",this.argumentsTableColumns=["name","type","description"],this.editorOptions={theme:"vs-dark",language:"javascript"}}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(i=>{i&&(this.selectedFunction=void 0,this.fnTable=i.astRoot.operations.sort((s,u)=>s.name.localeCompare(u.name)).map(s=>{const u=i.astJson.annotations[`fn.${s.name}`],p=this.sdkgen.buildJsonObject(s.args);return u?.find(b=>"hidden"===b.type)?null:{name:s.name,description:u?.find(b=>"description"===b.type)?.value,args:s.args.map(({name:b,type:B})=>{const oe=[...i.astJson.annotations[`type.${B.name}.${b}`]??[],...i.astJson.annotations[`fn.${s.name}.${b}`]??[]];return{name:b,description:oe.find(Ce=>"description"===Ce.type)?.value,type:B.name,rawType:B}}),argsStr:s.args.map(b=>`${b.name}: ${b.type.name}`).join(", "),argsFields:s.args,returns:{type:s.returnType.name,rawType:s.returnType},labels:u?.filter(b=>["rest","throws"].includes(b.type)).map(b=>"rest"===b.type?{name:"REST",type:`${b.value.method} ${b.value.path}`}:"throws"===b.type?{name:"THROWS",type:b.value,dataType:i.astRoot.errors.find(B=>B.name===b.value)?.dataType}:{name:"?",type:"?"})??[],throws:u?.find(b=>"throws"===b.type)?.value,examples:{typeScript:this.sdkgen.getTypeScriptCode(s.name,p),kotlin:this.sdkgen.getKotlinCode(s.name,s.args),dart:this.sdkgen.getDartCode(s.name,p),swift:this.sdkgen.getSwiftCode(s.name,p)}}}).filter(s=>!!s))})}ngOnDestroy(){this.state$?.unsubscribe(),this.responsive$?.unsubscribe()}ngAfterViewInit(){this.responsive$=this.responsive.isBelowMd().subscribe(i=>{this.isBelowMd=i.matches})}addSimpleCallTab(){this.runFunction.emit(this.selectedFunction?.name)}getTooltip(i){return ea(i).shortDescription}showDocumentation(i){this.dialog.open(tu,{position:{right:"0",top:"0",bottom:"0"},data:{type:i},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(Xs.G),o.Y36(Hn),o.Y36(xb))};static#t=this.\u0275cmp=o.Xpm({type:l,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(s,u){1&s&&(o.TgZ(0,"as-split",0)(1,"as-split-area",1)(2,"aside")(3,"nav")(4,"form")(5,"input",2),o.NdJ("ngModelChange",function(b){return u.searchText=b}),o.qZA()(),o.TgZ(6,"ul"),o.YNc(7,Zp,4,5,"li",3),o.ALo(8,"appFilter"),o.qZA()()()(),o.TgZ(9,"as-split-area"),o.YNc(10,ou,58,24,"article",4),o.qZA()()),2&s&&(o.Q6J("direction",u.isBelowMd?"vertical":"horizontal"),o.xp6(1),o.Q6J("size",u.isBelowMd?130:350),o.xp6(4),o.Q6J("ngModel",u.searchText)("ngModelOptions",o.DdM(9,ta)),o.xp6(2),o.Q6J("ngForOf",o.xi3(8,6,u.fnTable,u.searchText)),o.xp6(3),o.Q6J("ngIf",u.selectedFunction))},dependencies:[ue.mk,ue.sg,ue.O5,ue.RF,ue.n9,ue.ED,be._Y,be.Fj,be.JJ,be.JL,be.On,be.F,Xc.T2,Hd.Mq,Hd.zE,de.lW,Pt,et,Ti.Hw,me.wG,id,Is,vi,Aa,Sa,Nn,Ia,Os,Ac,od,Lo.uD,Lo.uX,Lo.SP,Jr,rf],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 l})();function su(l,a){1&l&&(o.ynx(0),o._uU(1,"Editor Avan\xe7ado"),o.BQk())}function nc(l,a){if(1&l&&(o.ynx(0),o.TgZ(1,"span",21),o._uU(2),o.qZA(),o.BQk()),2&l){const i=o.oxw(2).$implicit;o.xp6(2),o.hij("\u25b6\xa0",i.function,"")}}function ul(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"span",18),o.YNc(1,su,2,0,"ng-container",19)(2,nc,3,1,"ng-container",19),o.qZA(),o.TgZ(3,"button",20),o.NdJ("click",function(){o.CHM(i);const u=o.oxw().$implicit,p=o.oxw(2);return o.KtG(p.closeTab(u))}),o.TgZ(4,"mat-icon"),o._uU(5,"close"),o.qZA()()}if(2&l){const i=o.oxw().$implicit;o.Q6J("ngSwitch",i.type),o.xp6(1),o.Q6J("ngSwitchCase","advanced"),o.xp6(1),o.Q6J("ngSwitchCase","simple")}}function na(l,a){1&l&&(o.ynx(0),o._UZ(1,"app-tab-editor"),o.BQk())}function au(l,a){if(1&l&&(o.ynx(0),o._UZ(1,"app-simple-call",22),o.BQk()),2&l){const i=o.oxw().$implicit;o.xp6(1),o.Q6J("fn",i.function)}}function cu(l,a){if(1&l&&(o.TgZ(0,"mat-tab"),o.YNc(1,ul,6,3,"ng-template",16),o.ynx(2,18),o.YNc(3,na,2,0,"ng-container",19)(4,au,2,1,"ng-container",19),o.BQk(),o.qZA()),2&l){const i=a.$implicit;o.xp6(2),o.Q6J("ngSwitch",i.type),o.xp6(1),o.Q6J("ngSwitchCase","advanced"),o.xp6(1),o.Q6J("ngSwitchCase","simple")}}function hl(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"button",23),o.NdJ("click",function(){o.CHM(i);const u=o.oxw(2);return o.KtG(u.addAdvancedTab())}),o.TgZ(1,"mat-icon"),o._uU(2,"add_circle"),o.qZA()()}}function Tb(l,a){if(1&l&&(o.TgZ(0,"button",24)(1,"mat-icon"),o._uU(2,"download"),o.qZA()()),2&l){o.oxw(2);const i=o.MAs(5);o.Q6J("matMenuTriggerFor",i)}}function lu(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"mat-tab-group",11),o.NdJ("selectedIndexChange",function(u){o.CHM(i);const p=o.oxw();return o.KtG(p.selected.setValue(u))}),o.TgZ(1,"mat-tab",12)(2,"app-tab-home",13),o.NdJ("runFunction",function(u){o.CHM(i);const p=o.oxw();return o.KtG(p.addSimpleTab(u))}),o.qZA()(),o.YNc(3,cu,5,3,"mat-tab",14),o.TgZ(4,"mat-tab",15),o.YNc(5,hl,3,0,"ng-template",16),o.qZA(),o.TgZ(6,"mat-tab",17),o.YNc(7,Tb,3,1,"ng-template",16),o.qZA()()}if(2&l){const i=o.oxw();o.Q6J("selectedIndex",i.selected.value),o.xp6(3),o.Q6J("ngForOf",i.tabs)}}let ic=(()=>{class l{constructor(i,s,u){this.sdkgen=i,this.domSanitizer=s,this.matIconRegistry=u,this.selected=new be.NI(0),this.tabs=[{id:0,type:"advanced"}],this.tabIndex=1;for(const p of["typescript","dot-net","kotlin","swift","dart"])this.matIconRegistry.addSvgIcon(p,this.domSanitizer.bypassSecurityTrustResourceUrl(`assets/${p}.svg`))}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(i=>{this.state=i??void 0})}ngOnDestroy(){this.state$?.unsubscribe()}addSimpleTab(i){this.tabs.push({id:this.tabIndex++,function:i,type:"simple"}),this.selected.setValue(this.tabs.length)}addAdvancedTab(){this.tabs.push({id:this.tabIndex++,type:"advanced"}),this.selected.setValue(this.tabs.length)}closeTab(i){this.tabs.splice(this.tabs.indexOf(i),1),this.selected.setValue(0)}downloadTarget(i){if(!this.state)return;let s,u;switch(i){case"typescript_nodeserver":s=(0,Qs.gd)(this.state.astRoot),u="node-server.ts";break;case"typescript_nodeclient":s=(0,Qs.iD)(this.state.astRoot),u="node-client.ts";break;case"typescript_web":s=(0,Qs.E2)(this.state.astRoot),u="web-client.ts";break;case"typescript_interfaces":s=(0,Qs.PI)(this.state.astRoot),u="interfaces.ts";break;case"flutter":s=function Sp(l){let a="";a+="// ignore_for_file: constant_identifier_names\n",(0,M.nd)(l,M.lw)&&(a+="import 'dart:typed_data';\n"),(0,M.nd)(l,M.KW)&&(a+="import 'package:decimal/decimal.dart';\n"),a+="import 'package:http/http.dart' as http;\nimport 'package:sdkgen_runtime/types.dart';\nimport 'package:sdkgen_runtime/http_client.dart';\n";for(const i of l.enumTypes)a+=nl(i),a+="\n";for(const i of l.structTypes)a+=Yh(i),a+="\n";for(const i of l.errors)a+=Tp(i),a+="\n";a+=`class ApiClient extends SdkgenHttpClient {\n ApiClient(String baseUrl, [http.Client? client]) : super(baseUrl, client, _typeTable, _fnTable, _errTable);\n${l.operations.filter(i=>i.annotations.every(s=>!(s instanceof M.e1))).map(i=>`\n ${i.returnType instanceof M.RE?"Future<void> ":`Future<${Vo(i.returnType)}> `}${i.name}(${0===i.args.length?"":`{${i.args.map(s=>`${s.type instanceof M.H1?"":"required "}${Vo(s.type)} ${ki(s.name)}`).join(", ")}}`}) async { ${i.returnType instanceof M.RE?"":"final result = "}await makeRequest('${i.name}', {${i.args.map(s=>`'${s.name}': ${ki(s.name)}`).join(", ")}});${i.returnType instanceof M.RE?"":` return ${il("result",i.returnType)};`}}`).join("")}\n}\n\n`,a+="var _typeTable = {\n";for(const i of l.structTypes){a+=` '${i.name}': StructTypeDescription(\n`,a+=` ${i.name},\n`,a+=" {\n";for(const s of i.fields)a+=` '${s.name}': '${s.type.name}',\n`;a+=" },\n",a+=` (Map fields) => ${i.name}(\n`;for(const s of i.fields)a+=` ${ki(s.name)}: ${il(`fields['${s.name}']`,s.type)},\n`;a+=" ),\n",a+=` (${i.name} obj) => ({\n`;for(const s of i.fields)a+=` '${s.name}': obj.${ki(s.name)},\n`;a+=" }),\n",a+=" ),\n"}for(const i of l.enumTypes)a+=` '${i.name}': EnumTypeDescription(${i.name}, ${i.name}.values, [\n ${i.values.map(s=>`'${s.value}'`).join(",\n ")}\n ]),\n`;a+="};\n\n",a+="var _fnTable = {\n";for(const i of l.operations){a+=` '${i.name}': FunctionDescription('${i.returnType.name}', {\n`;for(const s of i.args)a+=` '${s.name}': '${s.type.name}',\n`;a+=" }),\n"}a+="};\n\n",a+="var _errTable = {\n";for(const i of l.errors)a+=` '${i.name}': SdkgenErrorDescription('${i.dataType.name}', (msg, req, data) => ${i.name}(msg, req${i.dataType instanceof M.RE?"":", data"})),\n`;return a+="};\n",a}(this.state.astRoot),u="flutter-client.dart";break;case"csharp_server":s=function zh(l){let a="using System;\nusing System.Collections.Generic;\nusing System.Globalization;\nusing System.Numerics;\nusing System.Text.Json;\nusing System.Threading.Tasks;\nusing static Sdkgen.Runtime;\nusing static Sdkgen.Context;\nusing static Sdkgen.Helpers;\n\nnamespace SdkgenGenerated\n{\n public abstract class Api : BaseApi\n {";for(const i of l.operations){const s=i.returnType instanceof M.RE?"":`<${_o(i.returnType)}>`;a+=`\n public virtual Task${s} ${sr(i.name)}(${["Context ctx",...i.args.map(u=>`${_o(u.type)} ${eo(u.name)}`)].join(", ")})\n {\n return Task.FromException${s}(new FatalException("Function '${i.name}' not implemented."));\n }\n`}a+="\n public async Task ExecuteFunction(Context context_, Utf8JsonWriter resultWriter_)\n {\n switch (context_.Name)\n {";for(const i of l.operations){a+=`\n case ${JSON.stringify(i.name)}:\n {`;for(const s of i.args)a+=`\n JsonElement ${s.name}Json_;\n if (!context_.Args.TryGetValue(${JSON.stringify(s.name)}, out ${s.name}Json_))\n {\n ${s.type instanceof M.H1?`${s.name}Json_ = new JsonElement();`:`throw new FatalException("'${i.name}().args.${s.name}' must be set to a value of type ${s.type.name}.");`}\n }\n ${_o(s.type)} ${eo(s.name)};\n ${Ks(s.type,`${s.name}Json_`,`"${i.name}().args.${s.name}"`,eo(s.name)).replace(/\n/gu,"\n ")}`;a+=i.returnType instanceof M.RE?`\n await ${sr(i.name)}(${["context_",...i.args.map(s=>eo(s.name))].join(", ")});\n resultWriter_.WriteNullValue();`:`\n var result_ = await ${sr(i.name)}(${["context_",...i.args.map(s=>eo(s.name))].join(", ")});\n ${Ja(i.returnType,"result_",`"${i.name}().ret"`).replace(/\n/gu,"\n ")}`,a+="\n return;\n }"}a+="\n default:\n {\n throw new FatalException($\"Unknown function '{context_.Name}'.\");\n }\n }\n }\n";for(const i of l.structTypes)a+=Ep(i);for(const i of l.enumTypes)a+=Mp(i);a+=`\n public string GetAstJson() => @"${JSON.stringify((0,M.w2)(l),null,4).replace(/"/gu,'""').replace(/\n/gu,"\n ")}";\n }\n`;for(const i of l.errors)a+=`\n public class ${i.name}Exception : SdkgenException\n {\n public ${i.name}Exception(string message, Exception? inner = null) : base("${i.name}", message, inner) { }\n }\n`;return a+="\n}\n",a}(this.state.astRoot),u="csharp-server.cs";break;case"fsharp_server":s=function Kh(l){let a="module rec SdkgenGenerated\nopen Sdkgen.Runtime\nopen Sdkgen.Helpers\nopen Sdkgen.Context\nopen System.Threading.Tasks\nopen System.Text.Json\nopen System\nopen System.Globalization\n#if NET5_0\n// To use tasks as computation expression in .NET 5 install https://www.nuget.org/packages/TaskBuilder.fs/\nopen FSharp.Control.Tasks.V2.ContextInsensitive\n#endif\n";for(const i of l.errors)a+=`\ntype ${i.name}Exception =\n inherit SdkgenException\n\n new(message: string) = {\n inherit SdkgenException("${i.name}", message, null)\n }\n\n new(message: string, inner: Exception) = {\n inherit SdkgenException("${i.name}", message, inner)\n }\n`;for(const i of l.enumTypes)a+=`\n${Qa(i)}\n`;for(const i of l.structTypes)a+=`\n${ol(i)}\n`;a+="\ntype Api() =";for(const i of l.operations){const s=i.returnType instanceof M.RE?"":`<${Or(i.returnType)}>`,u=i.args.length>0?`{| ${i.args.map(p=>`${p.name}: ${Or(p.type)};`).join("")} |} ->`:"";a+=`\n member val ${Mo(i.name)}: Context -> ${u} Task${s} =\n fun _ -> (raise (FatalException("Function '${i.name}' not implemented.")))\n with get, set\n `}a+="\n interface BaseApi with\n member __.ExecuteFunction(context_: Context, resultWriter_: Utf8JsonWriter) : Task =\n task {\n match context_.Name with";for(const i of l.operations){a+=`\n | ${JSON.stringify(i.name)} ->`;for(const s of i.args)a+=`\n let ${s.name}Json_ =\n match context_.Args.TryGetValue(${JSON.stringify(s.name)}) with\n | true, v -> v\n | _ -> raise (FatalException("'${i.name}().args.${s.name}' must be set to a value of type ${s.type.name}."))\n\n let ${Ho(s.name)} =\n ${ar(s.type,`${s.name}Json_`,`"${i.name}().args.${s.name}"`,Ho(s.name)).replace(/\n/gu,"\n ")}`;a+=i.returnType instanceof M.RE?`\n\n do! (__.${Mo(i.name)} context_ ${i.args.length>0?"{|":""} ${i.args.map(s=>`${s.name} = ${Ho(s.name)}`).join("; ")} ${i.args.length>0?"|}":""})\n `:`\n\n let! result_ = (__.${Mo(i.name)} context_ ${i.args.length>0?"{|":""} ${i.args.map(s=>`${s.name} = ${Ho(s.name)}`).join("; ")} ${i.args.length>0?"|}":""})\n ${Zs(i.returnType,"result_",`"${i.name}().ret"`,1,!1).replace(/\n/gu,"\n ")}`}return a+="\n\n | _ -> raise (FatalException($\"Unknown function '{context_.Name}'.\"))\n } :> Task",a+=`\n member __.GetAstJson() = """${JSON.stringify((0,M.w2)(l),null,4).replace(/\n/gu,"\n ")}""";`,a}(this.state.astRoot),u="fsharp-server.fs";break;case"kotlin_android":s=Zh(this.state.astRoot,!0),u="android-client.kt";break;case"kotlin_android_without_callbacks":s=Zh(this.state.astRoot,!1),u="android-client-no-callbacks.kt";break;case"swift_ios":s=Xa(this.state.astRoot,!1),u="ios-client.swift";break;case"rxswift_ios":s=Xa(this.state.astRoot,!0),u="ios-client-rx.swift"}(0,Jh.saveAs)(new Blob([s],{type:"application/octet-stream"}),u)}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(Xs.G),o.Y36(f.H7),o.Y36(Ti.jv))};static#t=this.\u0275cmp=o.Xpm({type:l,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(s,u){1&s&&(o._UZ(0,"ngx-monaco-editor",0)(1,"app-tab-nav"),o.YNc(2,lu,8,2,"mat-tab-group",1),o.ALo(3,"async"),o.TgZ(4,"mat-menu",null,2),o._UZ(6,"div",3),o.TgZ(7,"button",4),o._uU(8,"Cliente"),o.qZA(),o.TgZ(9,"button",5),o.NdJ("click",function(){return u.downloadTarget("typescript_nodeclient")}),o._UZ(10,"mat-icon",6),o._uU(11,"Node.js"),o.qZA(),o.TgZ(12,"button",5),o.NdJ("click",function(){return u.downloadTarget("typescript_web")}),o._UZ(13,"mat-icon",6),o._uU(14,"Web"),o.qZA(),o.TgZ(15,"button",5),o.NdJ("click",function(){return u.downloadTarget("flutter")}),o._UZ(16,"mat-icon",7),o._uU(17,"Flutter"),o.qZA(),o.TgZ(18,"button",5),o.NdJ("click",function(){return u.downloadTarget("kotlin_android")}),o._UZ(19,"mat-icon",8),o._uU(20,"Android"),o.qZA(),o.TgZ(21,"button",5),o.NdJ("click",function(){return u.downloadTarget("kotlin_android_without_callbacks")}),o._UZ(22,"mat-icon",8),o._uU(23,"Android (sem callbacks)"),o.qZA(),o.TgZ(24,"button",5),o.NdJ("click",function(){return u.downloadTarget("swift_ios")}),o._UZ(25,"mat-icon",9),o._uU(26,"iOS"),o.qZA(),o.TgZ(27,"button",5),o.NdJ("click",function(){return u.downloadTarget("rxswift_ios")}),o._UZ(28,"mat-icon",9),o._uU(29,"iOS (Rx)"),o.qZA(),o.TgZ(30,"button",4),o._uU(31,"Servidor"),o.qZA(),o.TgZ(32,"button",5),o.NdJ("click",function(){return u.downloadTarget("typescript_nodeserver")}),o._UZ(33,"mat-icon",6),o._uU(34,"Node.js"),o.qZA(),o.TgZ(35,"button",5),o.NdJ("click",function(){return u.downloadTarget("csharp_server")}),o._UZ(36,"mat-icon",10),o._uU(37,"C#"),o.qZA(),o.TgZ(38,"button",5),o.NdJ("click",function(){return u.downloadTarget("fsharp_server")}),o._UZ(39,"mat-icon",10),o._uU(40,"F#"),o.qZA(),o.TgZ(41,"button",4),o._uU(42,"Outros"),o.qZA(),o.TgZ(43,"button",5),o.NdJ("click",function(){return u.downloadTarget("typescript_interfaces")}),o._UZ(44,"mat-icon",6),o._uU(45,"Interfaces"),o.qZA()()),2&s&&(o.xp6(2),o.Q6J("ngIf",o.lcZ(3,1,u.sdkgen.state$)))},dependencies:[ue.sg,ue.O5,ue.RF,ue.n9,Xc.T2,de.RK,Ti.Hw,Ca,Zr,We,Lo.uD,Lo.uX,Lo.SP,Jr,Qh.Z,$p,cr.I,ru,ue.Ov],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 l})(),sg=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l,bootstrap:[ic]});static#n=this.\u0275inj=o.cJS({providers:[{provide:Xc.F_,useValue:"assets/vs"}],imports:[f.b2,be.u5,be.UX,Xc.nm,Fh,dp.s,wp.forRoot(),Hd.fX,ve.JF,de.ot,_n,xo,Ti.Ps,ot,me.si,Ic,Lo.Nh,ad]})}return l})();(0,o.G48)(),f.q6().bootstrapModule(sg).catch(l=>console.error(l))},1505:function(Ke,De,y){var f;!function(o){"use strict";var J,ve=1e9,be={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},de=!0,ne="[DecimalError] ",ue=ne+"Invalid argument: ",me=ne+"Exponent out of range: ",fe=Math.floor,Q=Math.pow,Y=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,re=1e7,pe=7,le=9007199254740991,Se=fe(le/pe),G={};function Z(X,z){var N,I,E,k,O,$,te,_e,Ve=X.constructor,He=Ve.precision;if(!X.s||!z.s)return z.s||(z=new Ve(X)),de?ze(z,He):z;if(_e=z.d,O=X.e,E=z.e,te=(te=X.d).slice(),k=O-E){for(k<0?(I=te,k=-k,$=_e.length):(I=_e,E=O,$=te.length),k>($=(O=Math.ceil(He/pe))>$?O+1:$+1)&&(k=$,I.length=1),I.reverse();k--;)I.push(0);I.reverse()}for(($=te.length)-(k=_e.length)<0&&(k=$,I=_e,_e=te,te=I),N=0;k;)N=(te[--k]=te[k]+_e[k]+N)/re|0,te[k]%=re;for(N&&(te.unshift(N),++E),$=te.length;0==te[--$];)te.pop();return z.d=te,z.e=E,de?ze(z,He):z}function ae(X,z,N){if(X!==~~X||X<z||X>N)throw Error(ue+X)}function ce(X){var z,N,I,E=X.length-1,k="",O=X[0];if(E>0){for(k+=O,z=1;z<E;z++)(N=pe-(I=X[z]+"").length)&&(k+=Ne(N)),k+=I;(N=pe-(I=(O=X[z])+"").length)&&(k+=Ne(N))}else if(0===O)return"0";for(;O%10==0;)O/=10;return k+O}G.absoluteValue=G.abs=function(){var X=new this.constructor(this);return X.s&&(X.s=1),X},G.comparedTo=G.cmp=function(X){var z,N,I,E,k=this;if(X=new k.constructor(X),k.s!==X.s)return k.s||-X.s;if(k.e!==X.e)return k.e>X.e^k.s<0?1:-1;for(z=0,N=(I=k.d.length)<(E=X.d.length)?I:E;z<N;++z)if(k.d[z]!==X.d[z])return k.d[z]>X.d[z]^k.s<0?1:-1;return I===E?0:I>E^k.s<0?1:-1},G.decimalPlaces=G.dp=function(){var X=this,z=X.d.length-1,N=(z-X.e)*pe;if(z=X.d[z])for(;z%10==0;z/=10)N--;return N<0?0:N},G.dividedBy=G.div=function(X){return Ie(this,new this.constructor(X))},G.dividedToIntegerBy=G.idiv=function(X){var N=this.constructor;return ze(Ie(this,new N(X),0,1),N.precision)},G.equals=G.eq=function(X){return!this.cmp(X)},G.exponent=function(){return Fe(this)},G.greaterThan=G.gt=function(X){return this.cmp(X)>0},G.greaterThanOrEqualTo=G.gte=function(X){return this.cmp(X)>=0},G.isInteger=G.isint=function(){return this.e>this.d.length-2},G.isNegative=G.isneg=function(){return this.s<0},G.isPositive=G.ispos=function(){return this.s>0},G.isZero=function(){return 0===this.s},G.lessThan=G.lt=function(X){return this.cmp(X)<0},G.lessThanOrEqualTo=G.lte=function(X){return this.cmp(X)<1},G.logarithm=G.log=function(X){var z,N=this,I=N.constructor,E=I.precision,k=E+5;if(void 0===X)X=new I(10);else if((X=new I(X)).s<1||X.eq(J))throw Error(ne+"NaN");if(N.s<1)throw Error(ne+(N.s?"NaN":"-Infinity"));return N.eq(J)?new I(0):(de=!1,z=Ie(we(N,k),we(X,k),k),de=!0,ze(z,E))},G.minus=G.sub=function(X){var z=this;return X=new z.constructor(X),z.s==X.s?at(z,X):Z(z,(X.s=-X.s,X))},G.modulo=G.mod=function(X){var z,N=this,I=N.constructor,E=I.precision;if(!(X=new I(X)).s)throw Error(ne+"NaN");return N.s?(de=!1,z=Ie(N,X,0,1).times(X),de=!0,N.minus(z)):ze(new I(N),E)},G.naturalExponential=G.exp=function(){return ke(this)},G.naturalLogarithm=G.ln=function(){return we(this)},G.negated=G.neg=function(){var X=new this.constructor(this);return X.s=-X.s||0,X},G.plus=G.add=function(X){var z=this;return X=new z.constructor(X),z.s==X.s?Z(z,X):at(z,(X.s=-X.s,X))},G.precision=G.sd=function(X){var z,N,I,E=this;if(void 0!==X&&X!==!!X&&1!==X&&0!==X)throw Error(ue+X);if(z=Fe(E)+1,N=(I=E.d.length-1)*pe+1,I=E.d[I]){for(;I%10==0;I/=10)N--;for(I=E.d[0];I>=10;I/=10)N++}return X&&z>N?z:N},G.squareRoot=G.sqrt=function(){var X,z,N,I,E,k,O,$=this,te=$.constructor;if($.s<1){if(!$.s)return new te(0);throw Error(ne+"NaN")}for(X=Fe($),de=!1,0==(E=Math.sqrt(+$))||E==1/0?(((z=ce($.d)).length+X)%2==0&&(z+="0"),E=Math.sqrt(z),X=fe((X+1)/2)-(X<0||X%2),I=new te(z=E==1/0?"5e"+X:(z=E.toExponential()).slice(0,z.indexOf("e")+1)+X)):I=new te(E.toString()),E=O=(N=te.precision)+3;;)if(I=(k=I).plus(Ie($,k,O+2)).times(.5),ce(k.d).slice(0,O)===(z=ce(I.d)).slice(0,O)){if(z=z.slice(O-3,O+1),E==O&&"4999"==z){if(ze(k,N+1,0),k.times(k).eq($)){I=k;break}}else if("9999"!=z)break;O+=4}return de=!0,ze(I,N)},G.times=G.mul=function(X){var z,N,I,E,k,O,$,te,_e,Ve=this,He=Ve.constructor,xt=Ve.d,dt=(X=new He(X)).d;if(!Ve.s||!X.s)return new He(0);for(X.s*=Ve.s,N=Ve.e+X.e,(te=xt.length)<(_e=dt.length)&&(k=xt,xt=dt,dt=k,O=te,te=_e,_e=O),k=[],I=O=te+_e;I--;)k.push(0);for(I=_e;--I>=0;){for(z=0,E=te+I;E>I;)$=k[E]+dt[I]*xt[E-I-1]+z,k[E--]=$%re|0,z=$/re|0;k[E]=(k[E]+z)%re|0}for(;!k[--O];)k.pop();return z?++N:k.shift(),X.d=k,X.e=N,de?ze(X,He.precision):X},G.toDecimalPlaces=G.todp=function(X,z){var N=this,I=N.constructor;return N=new I(N),void 0===X?N:(ae(X,0,ve),void 0===z?z=I.rounding:ae(z,0,8),ze(N,X+Fe(N)+1,z))},G.toExponential=function(X,z){var N,I=this,E=I.constructor;return void 0===X?N=wt(I,!0):(ae(X,0,ve),void 0===z?z=E.rounding:ae(z,0,8),N=wt(I=ze(new E(I),X+1,z),!0,X+1)),N},G.toFixed=function(X,z){var N,I,E=this,k=E.constructor;return void 0===X?wt(E):(ae(X,0,ve),void 0===z?z=k.rounding:ae(z,0,8),N=wt((I=ze(new k(E),X+Fe(E)+1,z)).abs(),!1,X+Fe(I)+1),E.isneg()&&!E.isZero()?"-"+N:N)},G.toInteger=G.toint=function(){var X=this,z=X.constructor;return ze(new z(X),Fe(X)+1,z.rounding)},G.toNumber=function(){return+this},G.toPower=G.pow=function(X){var z,N,I,E,k,$=this,te=$.constructor,Ve=+(X=new te(X));if(!X.s)return new te(J);if(!($=new te($)).s){if(X.s<1)throw Error(ne+"Infinity");return $}if($.eq(J))return $;if(I=te.precision,X.eq(J))return ze($,I);if(k=$.s,(z=X.e)>=(N=X.d.length-1)){if((N=Ve<0?-Ve:Ve)<=le){for(E=new te(J),z=Math.ceil(I/pe+4),de=!1;N%2&&Jt((E=E.times($)).d,z),0!==(N=fe(N/2));)Jt(($=$.times($)).d,z);return de=!0,X.s<0?new te(J).div(E):ze(E,I)}}else if(k<0)throw Error(ne+"NaN");return k=k<0&&1&X.d[Math.max(z,N)]?-1:1,$.s=1,de=!1,E=X.times(we($,I+12)),de=!0,(E=ke(E)).s=k,E},G.toPrecision=function(X,z){var N,I,E=this,k=E.constructor;return void 0===X?I=wt(E,(N=Fe(E))<=k.toExpNeg||N>=k.toExpPos):(ae(X,1,ve),void 0===z?z=k.rounding:ae(z,0,8),I=wt(E=ze(new k(E),X,z),X<=(N=Fe(E))||N<=k.toExpNeg,X)),I},G.toSignificantDigits=G.tosd=function(X,z){var I=this.constructor;return void 0===X?(X=I.precision,z=I.rounding):(ae(X,1,ve),void 0===z?z=I.rounding:ae(z,0,8)),ze(new I(this),X,z)},G.toString=G.valueOf=G.val=G.toJSON=function(){var X=this,z=Fe(X),N=X.constructor;return wt(X,z<=N.toExpNeg||z>=N.toExpPos)};var Ie=function(){function X(I,E){var k,O=0,$=I.length;for(I=I.slice();$--;)I[$]=(k=I[$]*E+O)%re|0,O=k/re|0;return O&&I.unshift(O),I}function z(I,E,k,O){var $,te;if(k!=O)te=k>O?1:-1;else for($=te=0;$<k;$++)if(I[$]!=E[$]){te=I[$]>E[$]?1:-1;break}return te}function N(I,E,k){for(var O=0;k--;)I[k]-=O,I[k]=(O=I[k]<E[k]?1:0)*re+I[k]-E[k];for(;!I[0]&&I.length>1;)I.shift()}return function(I,E,k,O){var $,te,_e,Ve,He,xt,dt,Mt,Le,Ze,U,K,Oe,Ge,rt,Ct,vt,Nt,ut=I.constructor,Lt=I.s==E.s?1:-1,_t=I.d,on=E.d;if(!I.s)return new ut(I);if(!E.s)throw Error(ne+"Division by zero");for(te=I.e-E.e,vt=on.length,rt=_t.length,Mt=(dt=new ut(Lt)).d=[],_e=0;on[_e]==(_t[_e]||0);)++_e;if(on[_e]>(_t[_e]||0)&&--te,(K=null==k?k=ut.precision:O?k+(Fe(I)-Fe(E))+1:k)<0)return new ut(0);if(K=K/pe+2|0,_e=0,1==vt)for(Ve=0,on=on[0],K++;(_e<rt||Ve)&&K--;_e++)Mt[_e]=(Oe=Ve*re+(_t[_e]||0))/on|0,Ve=Oe%on|0;else{for((Ve=re/(on[0]+1)|0)>1&&(on=X(on,Ve),_t=X(_t,Ve),vt=on.length,rt=_t.length),Ge=vt,Ze=(Le=_t.slice(0,vt)).length;Ze<vt;)Le[Ze++]=0;(Nt=on.slice()).unshift(0),Ct=on[0],on[1]>=re/2&&++Ct;do{Ve=0,($=z(on,Le,vt,Ze))<0?(U=Le[0],vt!=Ze&&(U=U*re+(Le[1]||0)),(Ve=U/Ct|0)>1?(Ve>=re&&(Ve=re-1),1==($=z(He=X(on,Ve),Le,xt=He.length,Ze=Le.length))&&(Ve--,N(He,vt<xt?Nt:on,xt))):(0==Ve&&($=Ve=1),He=on.slice()),(xt=He.length)<Ze&&He.unshift(0),N(Le,He,Ze),-1==$&&($=z(on,Le,vt,Ze=Le.length))<1&&(Ve++,N(Le,vt<Ze?Nt:on,Ze)),Ze=Le.length):0===$&&(Ve++,Le=[0]),Mt[_e++]=Ve,$&&Le[0]?Le[Ze++]=_t[Ge]||0:(Le=[_t[Ge]],Ze=1)}while((Ge++<rt||void 0!==Le[0])&&K--)}return Mt[0]||Mt.shift(),dt.e=te,ze(dt,O?k+Fe(dt)+1:k)}}();function ke(X,z){var N,E,k,O,$,te=0,_e=0,Ve=X.constructor,He=Ve.precision;if(Fe(X)>16)throw Error(me+Fe(X));if(!X.s)return new Ve(J);for(null==z?(de=!1,$=He):$=z,O=new Ve(.03125);X.abs().gte(.1);)X=X.times(O),_e+=5;for($+=Math.log(Q(2,_e))/Math.LN10*2+5|0,N=E=k=new Ve(J),Ve.precision=$;;){if(E=ze(E.times(X),$),N=N.times(++te),ce((O=k.plus(Ie(E,N,$))).d).slice(0,$)===ce(k.d).slice(0,$)){for(;_e--;)k=ze(k.times(k),$);return Ve.precision=He,null==z?(de=!0,ze(k,He)):k}k=O}}function Fe(X){for(var z=X.e*pe,N=X.d[0];N>=10;N/=10)z++;return z}function je(X,z,N){if(z>X.LN10.sd())throw de=!0,N&&(X.precision=N),Error(ne+"LN10 precision limit exceeded");return ze(new X(X.LN10),z)}function Ne(X){for(var z="";X--;)z+="0";return z}function we(X,z){var N,I,E,k,O,$,te,_e,Ve,He=1,dt=X,Mt=dt.d,Le=dt.constructor,Ze=Le.precision;if(dt.s<1)throw Error(ne+(dt.s?"NaN":"-Infinity"));if(dt.eq(J))return new Le(0);if(null==z?(de=!1,_e=Ze):_e=z,dt.eq(10))return null==z&&(de=!0),je(Le,_e);if(Le.precision=_e+=10,I=(N=ce(Mt)).charAt(0),k=Fe(dt),!(Math.abs(k)<15e14))return te=je(Le,_e+2,Ze).times(k+""),dt=we(new Le(I+"."+N.slice(1)),_e-10).plus(te),Le.precision=Ze,null==z?(de=!0,ze(dt,Ze)):dt;for(;I<7&&1!=I||1==I&&N.charAt(1)>3;)I=(N=ce((dt=dt.times(X)).d)).charAt(0),He++;for(k=Fe(dt),I>1?(dt=new Le("0."+N),k++):dt=new Le(I+"."+N.slice(1)),$=O=dt=Ie(dt.minus(J),dt.plus(J),_e),Ve=ze(dt.times(dt),_e),E=3;;){if(O=ze(O.times(Ve),_e),ce((te=$.plus(Ie(O,new Le(E),_e))).d).slice(0,_e)===ce($.d).slice(0,_e))return $=$.times(2),0!==k&&($=$.plus(je(Le,_e+2,Ze).times(k+""))),$=Ie($,new Le(He),_e),Le.precision=Ze,null==z?(de=!0,ze($,Ze)):$;$=te,E+=2}}function Me(X,z){var N,I,E;for((N=z.indexOf("."))>-1&&(z=z.replace(".","")),(I=z.search(/e/i))>0?(N<0&&(N=I),N+=+z.slice(I+1),z=z.substring(0,I)):N<0&&(N=z.length),I=0;48===z.charCodeAt(I);)++I;for(E=z.length;48===z.charCodeAt(E-1);)--E;if(z=z.slice(I,E)){if(E-=I,X.e=fe((N=N-I-1)/pe),X.d=[],I=(N+1)%pe,N<0&&(I+=pe),I<E){for(I&&X.d.push(+z.slice(0,I)),E-=pe;I<E;)X.d.push(+z.slice(I,I+=pe));z=z.slice(I),I=pe-z.length}else I-=E;for(;I--;)z+="0";if(X.d.push(+z),de&&(X.e>Se||X.e<-Se))throw Error(me+N)}else X.s=0,X.e=0,X.d=[0];return X}function ze(X,z,N){var I,E,k,O,$,te,_e,Ve,He=X.d;for(O=1,k=He[0];k>=10;k/=10)O++;if((I=z-O)<0)I+=pe,E=z,_e=He[Ve=0];else{if((Ve=Math.ceil((I+1)/pe))>=(k=He.length))return X;for(_e=k=He[Ve],O=1;k>=10;k/=10)O++;E=(I%=pe)-pe+O}if(void 0!==N&&($=_e/(k=Q(10,O-E-1))%10|0,te=z<0||void 0!==He[Ve+1]||_e%k,te=N<4?($||te)&&(0==N||N==(X.s<0?3:2)):$>5||5==$&&(4==N||te||6==N&&(I>0?E>0?_e/Q(10,O-E):0:He[Ve-1])%10&1||N==(X.s<0?8:7))),z<1||!He[0])return te?(k=Fe(X),He.length=1,He[0]=Q(10,(pe-(z=z-k-1)%pe)%pe),X.e=fe(-z/pe)||0):(He.length=1,He[0]=X.e=X.s=0),X;if(0==I?(He.length=Ve,k=1,Ve--):(He.length=Ve+1,k=Q(10,pe-I),He[Ve]=E>0?(_e/Q(10,O-E)%Q(10,E)|0)*k:0),te)for(;;){if(0==Ve){(He[0]+=k)==re&&(He[0]=1,++X.e);break}if(He[Ve]+=k,He[Ve]!=re)break;He[Ve--]=0,k=1}for(I=He.length;0===He[--I];)He.pop();if(de&&(X.e>Se||X.e<-Se))throw Error(me+Fe(X));return X}function at(X,z){var N,I,E,k,O,$,te,_e,Ve,He,xt=X.constructor,dt=xt.precision;if(!X.s||!z.s)return z.s?z.s=-z.s:z=new xt(X),de?ze(z,dt):z;if(He=z.d,I=z.e,_e=X.e,te=(te=X.d).slice(),O=_e-I){for((Ve=O<0)?(N=te,O=-O,$=He.length):(N=He,I=_e,$=te.length),O>(E=Math.max(Math.ceil(dt/pe),$)+2)&&(O=E,N.length=1),N.reverse(),E=O;E--;)N.push(0);N.reverse()}else{for((Ve=(E=te.length)<($=He.length))&&($=E),E=0;E<$;E++)if(te[E]!=He[E]){Ve=te[E]<He[E];break}O=0}for(Ve&&(N=te,te=He,He=N,z.s=-z.s),E=He.length-($=te.length);E>0;--E)te[$++]=0;for(E=He.length;E>O;){if(te[--E]<He[E]){for(k=E;k&&0===te[--k];)te[k]=re-1;--te[k],te[E]+=re}te[E]-=He[E]}for(;0===te[--$];)te.pop();for(;0===te[0];te.shift())--I;return te[0]?(z.d=te,z.e=I,de?ze(z,dt):z):new xt(0)}function wt(X,z,N){var I,E=Fe(X),k=ce(X.d),O=k.length;return z?(N&&(I=N-O)>0?k=k.charAt(0)+"."+k.slice(1)+Ne(I):O>1&&(k=k.charAt(0)+"."+k.slice(1)),k=k+(E<0?"e":"e+")+E):E<0?(k="0."+Ne(-E-1)+k,N&&(I=N-O)>0&&(k+=Ne(I))):E>=O?(k+=Ne(E+1-O),N&&(I=N-E-1)>0&&(k=k+"."+Ne(I))):((I=E+1)<O&&(k=k.slice(0,I)+"."+k.slice(I)),N&&(I=N-O)>0&&(E+1===O&&(k+="."),k+=Ne(I))),X.s<0?"-"+k:k}function Jt(X,z){if(X.length>z)return X.length=z,!0}function tt(X){if(!X||"object"!=typeof X)throw Error(ne+"Object expected");var z,N,I,E=["precision",1,ve,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(z=0;z<E.length;z+=3)if(void 0!==(I=X[N=E[z]])){if(!(fe(I)===I&&I>=E[z+1]&&I<=E[z+2]))throw Error(ue+N+": "+I);this[N]=I}if(void 0!==(I=X[N="LN10"])){if(I!=Math.LN10)throw Error(ue+N+": "+I);this[N]=new this(I)}return this}(be=function nn(X){var z,N,I;function E(k){var O=this;if(!(O instanceof E))return new E(k);if(O.constructor=E,k instanceof E)return O.s=k.s,O.e=k.e,void(O.d=(k=k.d)?k.slice():k);if("number"==typeof k){if(0*k!=0)throw Error(ue+k);if(k>0)O.s=1;else{if(!(k<0))return O.s=0,O.e=0,void(O.d=[0]);k=-k,O.s=-1}return k===~~k&&k<1e7?(O.e=0,void(O.d=[k])):Me(O,k.toString())}if("string"!=typeof k)throw Error(ue+k);if(45===k.charCodeAt(0)?(k=k.slice(1),O.s=-1):O.s=1,!Y.test(k))throw Error(ue+k);Me(O,k)}if(E.prototype=G,E.ROUND_UP=0,E.ROUND_DOWN=1,E.ROUND_CEIL=2,E.ROUND_FLOOR=3,E.ROUND_HALF_UP=4,E.ROUND_HALF_DOWN=5,E.ROUND_HALF_EVEN=6,E.ROUND_HALF_CEIL=7,E.ROUND_HALF_FLOOR=8,E.clone=nn,E.config=E.set=tt,void 0===X&&(X={}),X)for(I=["precision","rounding","toExpNeg","toExpPos","LN10"],z=0;z<I.length;)X.hasOwnProperty(N=I[z++])||(X[N]=this[N]);return E.config(X),E}(be)).default=be.Decimal=be,J=new be(1),void 0!==(f=function(){return be}.call(De,y,De,Ke))&&(Ke.exports=f)}()},5046:function(Ke,De){var y,o;void 0!==(o="function"==typeof(y=function(){"use strict";function be(Q,Y,J){var re=new XMLHttpRequest;re.open("GET",Q),re.responseType="blob",re.onload=function(){fe(re.response,Y,J)},re.onerror=function(){console.error("could not download file")},re.send()}function de(Q){var Y=new XMLHttpRequest;Y.open("HEAD",Q,!1);try{Y.send()}catch{}return 200<=Y.status&&299>=Y.status}function ne(Q){try{Q.dispatchEvent(new MouseEvent("click"))}catch{var Y=document.createEvent("MouseEvents");Y.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),Q.dispatchEvent(Y)}}var ue="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,me=ue.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),fe=ue.saveAs||("object"!=typeof window||window!==ue?function(){}:"download"in HTMLAnchorElement.prototype&&!me?function(Q,Y,J){var re=ue.URL||ue.webkitURL,pe=document.createElement("a");pe.download=Y=Y||Q.name||"download",pe.rel="noopener","string"==typeof Q?(pe.href=Q,pe.origin===location.origin?ne(pe):de(pe.href)?be(Q,Y,J):ne(pe,pe.target="_blank")):(pe.href=re.createObjectURL(Q),setTimeout(function(){re.revokeObjectURL(pe.href)},4e4),setTimeout(function(){ne(pe)},0))}:"msSaveOrOpenBlob"in navigator?function(Q,Y,J){if(Y=Y||Q.name||"download","string"!=typeof Q)navigator.msSaveOrOpenBlob(function ve(Q,Y){return typeof Y>"u"?Y={autoBom:!1}:"object"!=typeof Y&&(console.warn("Deprecated: Expected third argument to be a object"),Y={autoBom:!Y}),Y.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(Q.type)?new Blob(["\ufeff",Q],{type:Q.type}):Q}(Q,J),Y);else if(de(Q))be(Q,Y,J);else{var re=document.createElement("a");re.href=Q,re.target="_blank",setTimeout(function(){ne(re)})}}:function(Q,Y,J,re){if((re=re||open("","_blank"))&&(re.document.title=re.document.body.innerText="downloading..."),"string"==typeof Q)return be(Q,Y,J);var pe="application/octet-stream"===Q.type,le=/constructor/i.test(ue.HTMLElement)||ue.safari,Se=/CriOS\/[\d]+/.test(navigator.userAgent);if((Se||pe&&le||me)&&typeof FileReader<"u"){var G=new FileReader;G.onloadend=function(){var ce=G.result;ce=Se?ce:ce.replace(/^data:[^;]*;/,"data:attachment/file;"),re?re.location.href=ce:location=ce,re=null},G.readAsDataURL(Q)}else{var Z=ue.URL||ue.webkitURL,ae=Z.createObjectURL(Q);re?re.location=ae:location.href=ae,re=null,setTimeout(function(){Z.revokeObjectURL(ae)},4e4)}});ue.saveAs=fe.saveAs=fe,Ke.exports=fe})?y.apply(De,[]):y)&&(Ke.exports=o)},1625:(Ke,De,y)=>{"use strict";y.d(De,{X:()=>o});var f=y(9453);class o extends f.x{constructor(be){super(),this._value=be}get value(){return this.getValue()}_subscribe(be){const de=super._subscribe(be);return!de.closed&&be.next(this._value),de}getValue(){const{hasError:be,thrownError:de,_value:ne}=this;if(be)throw de;return this._throwIfClosed(),ne}next(be){super.next(this._value=be)}}},7371:(Ke,De,y)=>{"use strict";y.d(De,{y:()=>Q});var f=y(9224),o=y(9592),ve=y(7878),be=y(2390);var ue=y(6786),me=y(3276),fe=y(1685);let Q=(()=>{class pe{constructor(Se){Se&&(this._subscribe=Se)}lift(Se){const G=new pe;return G.source=this,G.operator=Se,G}subscribe(Se,G,Z){const ae=function re(pe){return pe&&pe instanceof f.Lv||function J(pe){return pe&&(0,me.m)(pe.next)&&(0,me.m)(pe.error)&&(0,me.m)(pe.complete)}(pe)&&(0,o.Nn)(pe)}(Se)?Se:new f.Hp(Se,G,Z);return(0,fe.x)(()=>{const{operator:ce,source:Ie}=this;ae.add(ce?ce.call(ae,Ie):Ie?this._subscribe(ae):this._trySubscribe(ae))}),ae}_trySubscribe(Se){try{return this._subscribe(Se)}catch(G){Se.error(G)}}forEach(Se,G){return new(G=Y(G))((Z,ae)=>{const ce=new f.Hp({next:Ie=>{try{Se(Ie)}catch(ke){ae(ke),ce.unsubscribe()}},error:ae,complete:Z});this.subscribe(ce)})}_subscribe(Se){var G;return null===(G=this.source)||void 0===G?void 0:G.subscribe(Se)}[ve.L](){return this}pipe(...Se){return function ne(pe){return 0===pe.length?be.y:1===pe.length?pe[0]:function(Se){return pe.reduce((G,Z)=>Z(G),Se)}}(Se)(this)}toPromise(Se){return new(Se=Y(Se))((G,Z)=>{let ae;this.subscribe(ce=>ae=ce,ce=>Z(ce),()=>G(ae))})}}return pe.create=le=>new pe(le),pe})();function Y(pe){var le;return null!==(le=pe??ue.config.Promise)&&void 0!==le?le:Promise}},9453:(Ke,De,y)=>{"use strict";y.d(De,{x:()=>ue});var f=y(7371),o=y(9592);const be=(0,y(3374).d)(fe=>function(){fe(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var de=y(7352),ne=y(1685);let ue=(()=>{class fe extends f.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(Y){const J=new me(this,this);return J.operator=Y,J}_throwIfClosed(){if(this.closed)throw new be}next(Y){(0,ne.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const J of this.currentObservers)J.next(Y)}})}error(Y){(0,ne.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=Y;const{observers:J}=this;for(;J.length;)J.shift().error(Y)}})}complete(){(0,ne.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:Y}=this;for(;Y.length;)Y.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var Y;return(null===(Y=this.observers)||void 0===Y?void 0:Y.length)>0}_trySubscribe(Y){return this._throwIfClosed(),super._trySubscribe(Y)}_subscribe(Y){return this._throwIfClosed(),this._checkFinalizedStatuses(Y),this._innerSubscribe(Y)}_innerSubscribe(Y){const{hasError:J,isStopped:re,observers:pe}=this;return J||re?o.Lc:(this.currentObservers=null,pe.push(Y),new o.w0(()=>{this.currentObservers=null,(0,de.P)(pe,Y)}))}_checkFinalizedStatuses(Y){const{hasError:J,thrownError:re,isStopped:pe}=this;J?Y.error(re):pe&&Y.complete()}asObservable(){const Y=new f.y;return Y.source=this,Y}}return fe.create=(Q,Y)=>new me(Q,Y),fe})();class me extends ue{constructor(Q,Y){super(),this.destination=Q,this.source=Y}next(Q){var Y,J;null===(J=null===(Y=this.destination)||void 0===Y?void 0:Y.next)||void 0===J||J.call(Y,Q)}error(Q){var Y,J;null===(J=null===(Y=this.destination)||void 0===Y?void 0:Y.error)||void 0===J||J.call(Y,Q)}complete(){var Q,Y;null===(Y=null===(Q=this.destination)||void 0===Q?void 0:Q.complete)||void 0===Y||Y.call(Q)}_subscribe(Q){var Y,J;return null!==(J=null===(Y=this.source)||void 0===Y?void 0:Y.subscribe(Q))&&void 0!==J?J:o.Lc}}},9224:(Ke,De,y)=>{"use strict";y.d(De,{Hp:()=>Se,Lv:()=>J});var f=y(3276),o=y(9592),ve=y(6786),be=y(5625),de=y(1952);const ne=fe("C",void 0,void 0);function fe(Ie,ke,Fe){return{kind:Ie,value:ke,error:Fe}}var Q=y(1296),Y=y(1685);class J extends o.w0{constructor(ke){super(),this.isStopped=!1,ke?(this.destination=ke,(0,o.Nn)(ke)&&ke.add(this)):this.destination=ce}static create(ke,Fe,je){return new Se(ke,Fe,je)}next(ke){this.isStopped?ae(function me(Ie){return fe("N",Ie,void 0)}(ke),this):this._next(ke)}error(ke){this.isStopped?ae(function ue(Ie){return fe("E",void 0,Ie)}(ke),this):(this.isStopped=!0,this._error(ke))}complete(){this.isStopped?ae(ne,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ke){this.destination.next(ke)}_error(ke){try{this.destination.error(ke)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const re=Function.prototype.bind;function pe(Ie,ke){return re.call(Ie,ke)}class le{constructor(ke){this.partialObserver=ke}next(ke){const{partialObserver:Fe}=this;if(Fe.next)try{Fe.next(ke)}catch(je){G(je)}}error(ke){const{partialObserver:Fe}=this;if(Fe.error)try{Fe.error(ke)}catch(je){G(je)}else G(ke)}complete(){const{partialObserver:ke}=this;if(ke.complete)try{ke.complete()}catch(Fe){G(Fe)}}}class Se extends J{constructor(ke,Fe,je){let Ne;if(super(),(0,f.m)(ke)||!ke)Ne={next:ke??void 0,error:Fe??void 0,complete:je??void 0};else{let we;this&&ve.config.useDeprecatedNextContext?(we=Object.create(ke),we.unsubscribe=()=>this.unsubscribe(),Ne={next:ke.next&&pe(ke.next,we),error:ke.error&&pe(ke.error,we),complete:ke.complete&&pe(ke.complete,we)}):Ne=ke}this.destination=new le(Ne)}}function G(Ie){ve.config.useDeprecatedSynchronousErrorHandling?(0,Y.O)(Ie):(0,be.h)(Ie)}function ae(Ie,ke){const{onStoppedNotification:Fe}=ve.config;Fe&&Q.z.setTimeout(()=>Fe(Ie,ke))}const ce={closed:!0,next:de.Z,error:function Z(Ie){throw Ie},complete:de.Z}},9592:(Ke,De,y)=>{"use strict";y.d(De,{Lc:()=>ne,w0:()=>de,Nn:()=>ue});var f=y(3276);const ve=(0,y(3374).d)(fe=>function(Y){fe(this),this.message=Y?`${Y.length} errors occurred during unsubscription:\n${Y.map((J,re)=>`${re+1}) ${J.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=Y});var be=y(7352);class de{constructor(Q){this.initialTeardown=Q,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let Q;if(!this.closed){this.closed=!0;const{_parentage:Y}=this;if(Y)if(this._parentage=null,Array.isArray(Y))for(const pe of Y)pe.remove(this);else Y.remove(this);const{initialTeardown:J}=this;if((0,f.m)(J))try{J()}catch(pe){Q=pe instanceof ve?pe.errors:[pe]}const{_finalizers:re}=this;if(re){this._finalizers=null;for(const pe of re)try{me(pe)}catch(le){Q=Q??[],le instanceof ve?Q=[...Q,...le.errors]:Q.push(le)}}if(Q)throw new ve(Q)}}add(Q){var Y;if(Q&&Q!==this)if(this.closed)me(Q);else{if(Q instanceof de){if(Q.closed||Q._hasParent(this))return;Q._addParent(this)}(this._finalizers=null!==(Y=this._finalizers)&&void 0!==Y?Y:[]).push(Q)}}_hasParent(Q){const{_parentage:Y}=this;return Y===Q||Array.isArray(Y)&&Y.includes(Q)}_addParent(Q){const{_parentage:Y}=this;this._parentage=Array.isArray(Y)?(Y.push(Q),Y):Y?[Y,Q]:Q}_removeParent(Q){const{_parentage:Y}=this;Y===Q?this._parentage=null:Array.isArray(Y)&&(0,be.P)(Y,Q)}remove(Q){const{_finalizers:Y}=this;Y&&(0,be.P)(Y,Q),Q instanceof de&&Q._removeParent(this)}}de.EMPTY=(()=>{const fe=new de;return fe.closed=!0,fe})();const ne=de.EMPTY;function ue(fe){return fe instanceof de||fe&&"closed"in fe&&(0,f.m)(fe.remove)&&(0,f.m)(fe.add)&&(0,f.m)(fe.unsubscribe)}function me(fe){(0,f.m)(fe)?fe():fe.unsubscribe()}},6786:(Ke,De,y)=>{"use strict";y.d(De,{config:()=>f});const f={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9925:(Ke,De,y)=>{"use strict";y.d(De,{z:()=>de});var f=y(5326),ve=y(177),be=y(107);function de(...ne){return function o(){return(0,f.J)(1)}()((0,be.D)(ne,(0,ve.yG)(ne)))}},8025:(Ke,De,y)=>{"use strict";y.d(De,{E:()=>o});const o=new(y(7371).y)(de=>de.complete())},6312:(Ke,De,y)=>{"use strict";y.d(De,{D:()=>me});var f=y(7371),o=y(1003),ve=y(8299),be=y(177),de=y(2829),ne=y(4574),ue=y(5017);function me(...fe){const Q=(0,be.jO)(fe),{args:Y,keys:J}=(0,o.D)(fe),re=new f.y(pe=>{const{length:le}=Y;if(!le)return void pe.complete();const Se=new Array(le);let G=le,Z=le;for(let ae=0;ae<le;ae++){let ce=!1;(0,ve.Xf)(Y[ae]).subscribe((0,de.x)(pe,Ie=>{ce||(ce=!0,Z--),Se[ae]=Ie},()=>G--,void 0,()=>{(!G||!ce)&&(Z||pe.next(J?(0,ue.n)(J,Se):Se),pe.complete())}))}});return Q?re.pipe((0,ne.Z)(Q)):re}},107:(Ke,De,y)=>{"use strict";y.d(De,{D:()=>je});var f=y(8299),o=y(8382),ve=y(4049),be=y(2829);function de(Ne,we=0){return(0,ve.e)((Me,ze)=>{Me.subscribe((0,be.x)(ze,at=>(0,o.f)(ze,Ne,()=>ze.next(at),we),()=>(0,o.f)(ze,Ne,()=>ze.complete(),we),at=>(0,o.f)(ze,Ne,()=>ze.error(at),we)))})}function ne(Ne,we=0){return(0,ve.e)((Me,ze)=>{ze.add(Ne.schedule(()=>Me.subscribe(ze),we))})}var fe=y(7371),Y=y(8279),J=y(3276);function pe(Ne,we){if(!Ne)throw new Error("Iterable cannot be null");return new fe.y(Me=>{(0,o.f)(Me,we,()=>{const ze=Ne[Symbol.asyncIterator]();(0,o.f)(Me,we,()=>{ze.next().then(at=>{at.done?Me.complete():Me.next(at.value)})},0,!0)})})}var le=y(8620),Se=y(2753),G=y(4936),Z=y(5074),ae=y(5e3),ce=y(1380),Ie=y(3130);function je(Ne,we){return we?function Fe(Ne,we){if(null!=Ne){if((0,le.c)(Ne))return function ue(Ne,we){return(0,f.Xf)(Ne).pipe(ne(we),de(we))}(Ne,we);if((0,G.z)(Ne))return function Q(Ne,we){return new fe.y(Me=>{let ze=0;return we.schedule(function(){ze===Ne.length?Me.complete():(Me.next(Ne[ze++]),Me.closed||this.schedule())})})}(Ne,we);if((0,Se.t)(Ne))return function me(Ne,we){return(0,f.Xf)(Ne).pipe(ne(we),de(we))}(Ne,we);if((0,ae.D)(Ne))return pe(Ne,we);if((0,Z.T)(Ne))return function re(Ne,we){return new fe.y(Me=>{let ze;return(0,o.f)(Me,we,()=>{ze=Ne[Y.h](),(0,o.f)(Me,we,()=>{let at,wt;try{({value:at,done:wt}=ze.next())}catch(Jt){return void Me.error(Jt)}wt?Me.complete():Me.next(at)},0,!0)}),()=>(0,J.m)(ze?.return)&&ze.return()})}(Ne,we);if((0,Ie.L)(Ne))return function ke(Ne,we){return pe((0,Ie.Q)(Ne),we)}(Ne,we)}throw(0,ce.z)(Ne)}(Ne,we):(0,f.Xf)(Ne)}},6058:(Ke,De,y)=>{"use strict";y.d(De,{R:()=>Q});var f=y(8299),o=y(7371),ve=y(5123),be=y(4936),de=y(3276),ne=y(4574);const ue=["addListener","removeListener"],me=["addEventListener","removeEventListener"],fe=["on","off"];function Q(le,Se,G,Z){if((0,de.m)(G)&&(Z=G,G=void 0),Z)return Q(le,Se,G).pipe((0,ne.Z)(Z));const[ae,ce]=function pe(le){return(0,de.m)(le.addEventListener)&&(0,de.m)(le.removeEventListener)}(le)?me.map(Ie=>ke=>le[Ie](Se,ke,G)):function J(le){return(0,de.m)(le.addListener)&&(0,de.m)(le.removeListener)}(le)?ue.map(Y(le,Se)):function re(le){return(0,de.m)(le.on)&&(0,de.m)(le.off)}(le)?fe.map(Y(le,Se)):[];if(!ae&&(0,be.z)(le))return(0,ve.z)(Ie=>Q(Ie,Se,G))((0,f.Xf)(le));if(!ae)throw new TypeError("Invalid event target");return new o.y(Ie=>{const ke=(...Fe)=>Ie.next(1<Fe.length?Fe:Fe[0]);return ae(ke),()=>ce(ke)})}function Y(le,Se){return G=>Z=>le[G](Se,Z)}},8299:(Ke,De,y)=>{"use strict";y.d(De,{Xf:()=>re});var f=y(2970),o=y(4936),ve=y(2753),be=y(7371),de=y(8620),ne=y(5e3),ue=y(1380),me=y(5074),fe=y(3130),Q=y(3276),Y=y(5625),J=y(7878);function re(Ie){if(Ie instanceof be.y)return Ie;if(null!=Ie){if((0,de.c)(Ie))return function pe(Ie){return new be.y(ke=>{const Fe=Ie[J.L]();if((0,Q.m)(Fe.subscribe))return Fe.subscribe(ke);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Ie);if((0,o.z)(Ie))return function le(Ie){return new be.y(ke=>{for(let Fe=0;Fe<Ie.length&&!ke.closed;Fe++)ke.next(Ie[Fe]);ke.complete()})}(Ie);if((0,ve.t)(Ie))return function Se(Ie){return new be.y(ke=>{Ie.then(Fe=>{ke.closed||(ke.next(Fe),ke.complete())},Fe=>ke.error(Fe)).then(null,Y.h)})}(Ie);if((0,ne.D)(Ie))return Z(Ie);if((0,me.T)(Ie))return function G(Ie){return new be.y(ke=>{for(const Fe of Ie)if(ke.next(Fe),ke.closed)return;ke.complete()})}(Ie);if((0,fe.L)(Ie))return function ae(Ie){return Z((0,fe.Q)(Ie))}(Ie)}throw(0,ue.z)(Ie)}function Z(Ie){return new be.y(ke=>{(function ce(Ie,ke){var Fe,je,Ne,we;return(0,f.mG)(this,void 0,void 0,function*(){try{for(Fe=(0,f.KL)(Ie);!(je=yield Fe.next()).done;)if(ke.next(je.value),ke.closed)return}catch(Me){Ne={error:Me}}finally{try{je&&!je.done&&(we=Fe.return)&&(yield we.call(Fe))}finally{if(Ne)throw Ne.error}}ke.complete()})})(Ie,ke).catch(Fe=>ke.error(Fe))})}},4991:(Ke,De,y)=>{"use strict";y.d(De,{T:()=>ne});var f=y(5326),o=y(8299),ve=y(8025),be=y(177),de=y(107);function ne(...ue){const me=(0,be.yG)(ue),fe=(0,be._6)(ue,1/0),Q=ue;return Q.length?1===Q.length?(0,o.Xf)(Q[0]):(0,f.J)(fe)((0,de.D)(Q,me)):ve.E}},9627:(Ke,De,y)=>{"use strict";y.d(De,{of:()=>ve});var f=y(177),o=y(107);function ve(...be){const de=(0,f.yG)(be);return(0,o.D)(be,de)}},5117:(Ke,De,y)=>{"use strict";y.d(De,{H:()=>de});var f=y(7371),o=y(6589),ve=y(3946);function de(ne=0,ue,me=o.P){let fe=-1;return null!=ue&&((0,ve.K)(ue)?me=ue:fe=ue),new f.y(Q=>{let Y=function be(ne){return ne instanceof Date&&!isNaN(ne)}(ne)?+ne-me.now():ne;Y<0&&(Y=0);let J=0;return me.schedule(function(){Q.closed||(Q.next(J++),0<=fe?this.schedule(void 0,fe):Q.complete())},Y)})}},2829:(Ke,De,y)=>{"use strict";y.d(De,{x:()=>o});var f=y(9224);function o(be,de,ne,ue,me){return new ve(be,de,ne,ue,me)}class ve extends f.Lv{constructor(de,ne,ue,me,fe,Q){super(de),this.onFinalize=fe,this.shouldUnsubscribe=Q,this._next=ne?function(Y){try{ne(Y)}catch(J){de.error(J)}}:super._next,this._error=me?function(Y){try{me(Y)}catch(J){de.error(J)}finally{this.unsubscribe()}}:super._error,this._complete=ue?function(){try{ue()}catch(Y){de.error(Y)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var de;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:ne}=this;super.unsubscribe(),!ne&&(null===(de=this.onFinalize)||void 0===de||de.call(this))}}}},2067:(Ke,De,y)=>{"use strict";y.d(De,{b:()=>be});var f=y(6589),o=y(4049),ve=y(2829);function be(de,ne=f.z){return(0,o.e)((ue,me)=>{let fe=null,Q=null,Y=null;const J=()=>{if(fe){fe.unsubscribe(),fe=null;const pe=Q;Q=null,me.next(pe)}};function re(){const pe=Y+de,le=ne.now();if(le<pe)return fe=this.schedule(void 0,pe-le),void me.add(fe);J()}ue.subscribe((0,ve.x)(me,pe=>{Q=pe,Y=ne.now(),fe||(fe=ne.schedule(re,de),me.add(fe))},()=>{J(),me.complete()},void 0,()=>{Q=fe=null}))})}},4263:(Ke,De,y)=>{"use strict";y.d(De,{x:()=>be});var f=y(2390),o=y(4049),ve=y(2829);function be(ne,ue=f.y){return ne=ne??de,(0,o.e)((me,fe)=>{let Q,Y=!0;me.subscribe((0,ve.x)(fe,J=>{const re=ue(J);(Y||!ne(Q,re))&&(Y=!1,Q=re,fe.next(J))}))})}function de(ne,ue){return ne===ue}},1497:(Ke,De,y)=>{"use strict";y.d(De,{h:()=>ve});var f=y(4049),o=y(2829);function ve(be,de){return(0,f.e)((ne,ue)=>{let me=0;ne.subscribe((0,o.x)(ue,fe=>be.call(de,fe,me++)&&ue.next(fe)))})}},1927:(Ke,De,y)=>{"use strict";y.d(De,{x:()=>o});var f=y(4049);function o(ve){return(0,f.e)((be,de)=>{try{be.subscribe(de)}finally{de.add(ve)}})}},8412:(Ke,De,y)=>{"use strict";y.d(De,{U:()=>ve});var f=y(4049),o=y(2829);function ve(be,de){return(0,f.e)((ne,ue)=>{let me=0;ne.subscribe((0,o.x)(ue,fe=>{ue.next(be.call(de,fe,me++))}))})}},5326:(Ke,De,y)=>{"use strict";y.d(De,{J:()=>ve});var f=y(5123),o=y(2390);function ve(be=1/0){return(0,f.z)(o.y,be)}},5123:(Ke,De,y)=>{"use strict";y.d(De,{z:()=>me});var f=y(8412),o=y(8299),ve=y(4049),be=y(8382),de=y(2829),ue=y(3276);function me(fe,Q,Y=1/0){return(0,ue.m)(Q)?me((J,re)=>(0,f.U)((pe,le)=>Q(J,pe,re,le))((0,o.Xf)(fe(J,re))),Y):("number"==typeof Q&&(Y=Q),(0,ve.e)((J,re)=>function ne(fe,Q,Y,J,re,pe,le,Se){const G=[];let Z=0,ae=0,ce=!1;const Ie=()=>{ce&&!G.length&&!Z&&Q.complete()},ke=je=>Z<J?Fe(je):G.push(je),Fe=je=>{pe&&Q.next(je),Z++;let Ne=!1;(0,o.Xf)(Y(je,ae++)).subscribe((0,de.x)(Q,we=>{re?.(we),pe?ke(we):Q.next(we)},()=>{Ne=!0},void 0,()=>{if(Ne)try{for(Z--;G.length&&Z<J;){const we=G.shift();le?(0,be.f)(Q,le,()=>Fe(we)):Fe(we)}Ie()}catch(we){Q.error(we)}}))};return fe.subscribe((0,de.x)(Q,ke,()=>{ce=!0,Ie()})),()=>{Se?.()}}(J,re,fe,Y)))}},1800:(Ke,De,y)=>{"use strict";y.d(De,{T:()=>o});var f=y(1497);function o(ve){return(0,f.h)((be,de)=>ve<=de)}},19:(Ke,De,y)=>{"use strict";y.d(De,{O:()=>be});var f=y(9925),o=y(177),ve=y(4049);function be(...de){const ne=(0,o.yG)(de);return(0,ve.e)((ue,me)=>{(ne?(0,f.z)(de,ue,ne):(0,f.z)(de,ue)).subscribe(me)})}},2835:(Ke,De,y)=>{"use strict";y.d(De,{w:()=>be});var f=y(8299),o=y(4049),ve=y(2829);function be(de,ne){return(0,o.e)((ue,me)=>{let fe=null,Q=0,Y=!1;const J=()=>Y&&!fe&&me.complete();ue.subscribe((0,ve.x)(me,re=>{fe?.unsubscribe();let pe=0;const le=Q++;(0,f.Xf)(de(re,le)).subscribe(fe=(0,ve.x)(me,Se=>me.next(ne?ne(re,Se,le,pe++):Se),()=>{fe=null,J()}))},()=>{Y=!0,J()}))})}},3581:(Ke,De,y)=>{"use strict";y.d(De,{q:()=>be});var f=y(8025),o=y(4049),ve=y(2829);function be(de){return de<=0?()=>f.E:(0,o.e)((ne,ue)=>{let me=0;ne.subscribe((0,ve.x)(ue,fe=>{++me<=de&&(ue.next(fe),de<=me&&ue.complete())}))})}},5779:(Ke,De,y)=>{"use strict";y.d(De,{R:()=>de});var f=y(4049),o=y(2829),ve=y(8299),be=y(1952);function de(ne){return(0,f.e)((ue,me)=>{(0,ve.Xf)(ne).subscribe((0,o.x)(me,()=>me.complete(),be.Z)),!me.closed&&ue.subscribe(me)})}},4104:(Ke,De,y)=>{"use strict";y.d(De,{b:()=>de});var f=y(3276),o=y(4049),ve=y(2829),be=y(2390);function de(ne,ue,me){const fe=(0,f.m)(ne)||ue||me?{next:ne,error:ue,complete:me}:ne;return fe?(0,o.e)((Q,Y)=>{var J;null===(J=fe.subscribe)||void 0===J||J.call(fe);let re=!0;Q.subscribe((0,ve.x)(Y,pe=>{var le;null===(le=fe.next)||void 0===le||le.call(fe,pe),Y.next(pe)},()=>{var pe;re=!1,null===(pe=fe.complete)||void 0===pe||pe.call(fe),Y.complete()},pe=>{var le;re=!1,null===(le=fe.error)||void 0===le||le.call(fe,pe),Y.error(pe)},()=>{var pe,le;re&&(null===(pe=fe.unsubscribe)||void 0===pe||pe.call(fe)),null===(le=fe.finalize)||void 0===le||le.call(fe)}))}):be.y}},2290:(Ke,De,y)=>{"use strict";y.d(De,{o:()=>de});var f=y(9592);class o extends f.w0{constructor(ue,me){super()}schedule(ue,me=0){return this}}const ve={setInterval(ne,ue,...me){const{delegate:fe}=ve;return fe?.setInterval?fe.setInterval(ne,ue,...me):setInterval(ne,ue,...me)},clearInterval(ne){const{delegate:ue}=ve;return(ue?.clearInterval||clearInterval)(ne)},delegate:void 0};var be=y(7352);class de extends o{constructor(ue,me){super(ue,me),this.scheduler=ue,this.work=me,this.pending=!1}schedule(ue,me=0){var fe;if(this.closed)return this;this.state=ue;const Q=this.id,Y=this.scheduler;return null!=Q&&(this.id=this.recycleAsyncId(Y,Q,me)),this.pending=!0,this.delay=me,this.id=null!==(fe=this.id)&&void 0!==fe?fe:this.requestAsyncId(Y,this.id,me),this}requestAsyncId(ue,me,fe=0){return ve.setInterval(ue.flush.bind(ue,this),fe)}recycleAsyncId(ue,me,fe=0){if(null!=fe&&this.delay===fe&&!1===this.pending)return me;null!=me&&ve.clearInterval(me)}execute(ue,me){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const fe=this._execute(ue,me);if(fe)return fe;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(ue,me){let Q,fe=!1;try{this.work(ue)}catch(Y){fe=!0,Q=Y||new Error("Scheduled action threw falsy error")}if(fe)return this.unsubscribe(),Q}unsubscribe(){if(!this.closed){const{id:ue,scheduler:me}=this,{actions:fe}=me;this.work=this.state=this.scheduler=null,this.pending=!1,(0,be.P)(fe,this),null!=ue&&(this.id=this.recycleAsyncId(me,ue,null)),this.delay=null,super.unsubscribe()}}}},5349:(Ke,De,y)=>{"use strict";y.d(De,{v:()=>ve});const f={now:()=>(f.delegate||Date).now(),delegate:void 0};class o{constructor(de,ne=o.now){this.schedulerActionCtor=de,this.now=ne}schedule(de,ne=0,ue){return new this.schedulerActionCtor(this,de).schedule(ue,ne)}}o.now=f.now;class ve extends o{constructor(de,ne=o.now){super(de,ne),this.actions=[],this._active=!1}flush(de){const{actions:ne}=this;if(this._active)return void ne.push(de);let ue;this._active=!0;do{if(ue=de.execute(de.state,de.delay))break}while(de=ne.shift());if(this._active=!1,ue){for(;de=ne.shift();)de.unsubscribe();throw ue}}}},4453:(Ke,De,y)=>{"use strict";y.d(De,{E:()=>pe});var f=y(2290);let ve,o=1;const be={};function de(Se){return Se in be&&(delete be[Se],!0)}const ne={setImmediate(Se){const G=o++;return be[G]=!0,ve||(ve=Promise.resolve()),ve.then(()=>de(G)&&Se()),G},clearImmediate(Se){de(Se)}},{setImmediate:me,clearImmediate:fe}=ne,Q={setImmediate(...Se){const{delegate:G}=Q;return(G?.setImmediate||me)(...Se)},clearImmediate(Se){const{delegate:G}=Q;return(G?.clearImmediate||fe)(Se)},delegate:void 0};var J=y(5349);const pe=new class re extends J.v{flush(G){this._active=!0;const Z=this._scheduled;this._scheduled=void 0;const{actions:ae}=this;let ce;G=G||ae.shift();do{if(ce=G.execute(G.state,G.delay))break}while((G=ae[0])&&G.id===Z&&ae.shift());if(this._active=!1,ce){for(;(G=ae[0])&&G.id===Z&&ae.shift();)G.unsubscribe();throw ce}}}(class Y extends f.o{constructor(G,Z){super(G,Z),this.scheduler=G,this.work=Z}requestAsyncId(G,Z,ae=0){return null!==ae&&ae>0?super.requestAsyncId(G,Z,ae):(G.actions.push(this),G._scheduled||(G._scheduled=Q.setImmediate(G.flush.bind(G,void 0))))}recycleAsyncId(G,Z,ae=0){var ce;if(null!=ae?ae>0:this.delay>0)return super.recycleAsyncId(G,Z,ae);const{actions:Ie}=G;null!=Z&&(null===(ce=Ie[Ie.length-1])||void 0===ce?void 0:ce.id)!==Z&&(Q.clearImmediate(Z),G._scheduled===Z&&(G._scheduled=void 0))}})},6589:(Ke,De,y)=>{"use strict";y.d(De,{P:()=>be,z:()=>ve});var f=y(2290);const ve=new(y(5349).v)(f.o),be=ve},1296:(Ke,De,y)=>{"use strict";y.d(De,{z:()=>f});const f={setTimeout(o,ve,...be){const{delegate:de}=f;return de?.setTimeout?de.setTimeout(o,ve,...be):setTimeout(o,ve,...be)},clearTimeout(o){const{delegate:ve}=f;return(ve?.clearTimeout||clearTimeout)(o)},delegate:void 0}},8279:(Ke,De,y)=>{"use strict";y.d(De,{h:()=>o});const o=function f(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},7878:(Ke,De,y)=>{"use strict";y.d(De,{L:()=>f});const f="function"==typeof Symbol&&Symbol.observable||"@@observable"},177:(Ke,De,y)=>{"use strict";y.d(De,{_6:()=>ne,jO:()=>be,yG:()=>de});var f=y(3276),o=y(3946);function ve(ue){return ue[ue.length-1]}function be(ue){return(0,f.m)(ve(ue))?ue.pop():void 0}function de(ue){return(0,o.K)(ve(ue))?ue.pop():void 0}function ne(ue,me){return"number"==typeof ve(ue)?ue.pop():me}},1003:(Ke,De,y)=>{"use strict";y.d(De,{D:()=>de});const{isArray:f}=Array,{getPrototypeOf:o,prototype:ve,keys:be}=Object;function de(ue){if(1===ue.length){const me=ue[0];if(f(me))return{args:me,keys:null};if(function ne(ue){return ue&&"object"==typeof ue&&o(ue)===ve}(me)){const fe=be(me);return{args:fe.map(Q=>me[Q]),keys:fe}}}return{args:ue,keys:null}}},7352:(Ke,De,y)=>{"use strict";function f(o,ve){if(o){const be=o.indexOf(ve);0<=be&&o.splice(be,1)}}y.d(De,{P:()=>f})},3374:(Ke,De,y)=>{"use strict";function f(o){const be=o(de=>{Error.call(de),de.stack=(new Error).stack});return be.prototype=Object.create(Error.prototype),be.prototype.constructor=be,be}y.d(De,{d:()=>f})},5017:(Ke,De,y)=>{"use strict";function f(o,ve){return o.reduce((be,de,ne)=>(be[de]=ve[ne],be),{})}y.d(De,{n:()=>f})},1685:(Ke,De,y)=>{"use strict";y.d(De,{O:()=>be,x:()=>ve});var f=y(6786);let o=null;function ve(de){if(f.config.useDeprecatedSynchronousErrorHandling){const ne=!o;if(ne&&(o={errorThrown:!1,error:null}),de(),ne){const{errorThrown:ue,error:me}=o;if(o=null,ue)throw me}}else de()}function be(de){f.config.useDeprecatedSynchronousErrorHandling&&o&&(o.errorThrown=!0,o.error=de)}},8382:(Ke,De,y)=>{"use strict";function f(o,ve,be,de=0,ne=!1){const ue=ve.schedule(function(){be(),ne?o.add(this.schedule(null,de)):this.unsubscribe()},de);if(o.add(ue),!ne)return ue}y.d(De,{f:()=>f})},2390:(Ke,De,y)=>{"use strict";function f(o){return o}y.d(De,{y:()=>f})},4936:(Ke,De,y)=>{"use strict";y.d(De,{z:()=>f});const f=o=>o&&"number"==typeof o.length&&"function"!=typeof o},5e3:(Ke,De,y)=>{"use strict";y.d(De,{D:()=>o});var f=y(3276);function o(ve){return Symbol.asyncIterator&&(0,f.m)(ve?.[Symbol.asyncIterator])}},3276:(Ke,De,y)=>{"use strict";function f(o){return"function"==typeof o}y.d(De,{m:()=>f})},8620:(Ke,De,y)=>{"use strict";y.d(De,{c:()=>ve});var f=y(7878),o=y(3276);function ve(be){return(0,o.m)(be[f.L])}},5074:(Ke,De,y)=>{"use strict";y.d(De,{T:()=>ve});var f=y(8279),o=y(3276);function ve(be){return(0,o.m)(be?.[f.h])}},2753:(Ke,De,y)=>{"use strict";y.d(De,{t:()=>o});var f=y(3276);function o(ve){return(0,f.m)(ve?.then)}},3130:(Ke,De,y)=>{"use strict";y.d(De,{L:()=>be,Q:()=>ve});var f=y(2970),o=y(3276);function ve(de){return(0,f.FC)(this,arguments,function*(){const ue=de.getReader();try{for(;;){const{value:me,done:fe}=yield(0,f.qq)(ue.read());if(fe)return yield(0,f.qq)(void 0);yield yield(0,f.qq)(me)}}finally{ue.releaseLock()}})}function be(de){return(0,o.m)(de?.getReader)}},3946:(Ke,De,y)=>{"use strict";y.d(De,{K:()=>o});var f=y(3276);function o(ve){return ve&&(0,f.m)(ve.schedule)}},4049:(Ke,De,y)=>{"use strict";y.d(De,{A:()=>o,e:()=>ve});var f=y(3276);function o(be){return(0,f.m)(be?.lift)}function ve(be){return de=>{if(o(de))return de.lift(function(ne){try{return be(ne,this)}catch(ue){this.error(ue)}});throw new TypeError("Unable to lift unknown Observable type")}}},4574:(Ke,De,y)=>{"use strict";y.d(De,{Z:()=>be});var f=y(8412);const{isArray:o}=Array;function be(de){return(0,f.U)(ne=>function ve(de,ne){return o(ne)?de(...ne):de(ne)}(de,ne))}},1952:(Ke,De,y)=>{"use strict";function f(){}y.d(De,{Z:()=>f})},5625:(Ke,De,y)=>{"use strict";y.d(De,{h:()=>ve});var f=y(6786),o=y(1296);function ve(be){o.z.setTimeout(()=>{const{onUnhandledError:de}=f.config;if(!de)throw be;de(be)})}},1380:(Ke,De,y)=>{"use strict";function f(o){return new TypeError(`You provided ${null!==o&&"object"==typeof o?"an invalid object":`'${o}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}y.d(De,{z:()=>f})},2973:(Ke,De,y)=>{"use strict";y.d(De,{Nn:()=>f,zG:()=>o,RJ:()=>Se});class f extends Error{get type(){return this.constructor.name}toJSON(){return{message:this.message,type:this.type}}}class o extends f{constructor(Z,ae){super(Z),this.data=ae}toJSON(){return{data:this.data,message:this.message,type:this.type}}}var ve=y(5861),be=y(1505),de=y.n(be);const ne=["string","email","phone","html","xml"],ue=["json","bool","url","int","uint","float","money","hex","uuid","base64","void",...ne];class me extends Error{constructor(Z,ae,ce){let Ie;try{Ie=JSON.stringify(ce)}catch{Ie=String(ce)}super(`Invalid type at '${Z}', expected ${String(ae)}, got ${Ie}`)}}function fe(G,Z,ae){if("json"===Z)return null==ae?null:JSON.parse(JSON.stringify(ae));if("bool"===Z){if("boolean"!=typeof ae)throw new me(G,Z,ae);return ae}if(ne.indexOf(Z)>=0){if("string"!=typeof ae)throw new me(G,Z,ae);return ae}if("hex"===Z){if("string"!=typeof ae||!/^(?:[A-Fa-f0-9]{2})*$/u.test(ae))throw new me(G,Z,ae);return ae.toLowerCase()}if("uuid"===Z){if("string"!=typeof ae||!/^[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$/u.test(ae))throw new me(G,Z,ae);return ae.toLowerCase()}if("base64"===Z){let ce=!0;try{atob(ae)}catch{ce=!1}if("string"!=typeof ae||!ce)throw new me(G,Z,ae);return ae}if("int"===Z){if("number"!=typeof ae||(0|ae)!==ae)throw new me(G,Z,ae);return ae}if("uint"===Z){if("number"!=typeof ae||(0|ae)!==ae||ae<0)throw new me(G,Z,ae);return ae}if("float"===Z){if("number"!=typeof ae)throw new me(G,Z,ae);return ae}if("money"===Z){if("number"!=typeof ae||!Number.isInteger(ae))throw new me(G,Z,ae);return ae}if("url"===Z){let ce;if("string"==typeof ae)try{ce=new URL(ae)}catch{}if(!ce)throw new me(G,Z,ae);return ce.toString()}if("void"===Z)return null;throw new Error(`Unknown type '${Z}' at '${G}'`)}function Q(G,Z,ae,ce){if("string"==typeof ae&&!ae.endsWith("?")&&"void"!==ae&&null==ce)throw new Error(`Invalid type at '${Z}', cannot be null`);if(Array.isArray(ae)){for(const Ie of ae){if(Ie===ce)return ce;if(Array.isArray(ce)&&2===ce.length&&Ie===ce[0])return ce[0];if(Array.isArray(Ie)&&2===Ie.length){if(Ie[0]===ce)return[ce,Q(G,`${Z}.${Ie[0]}`,Ie[1],{})];if(Array.isArray(ce)&&2===ce.length&&Ie[0]===ce[0])return[ce[0],Q(G,`${Z}.${Ie[0]}`,Ie[1],ce[1])]}}throw new me(Z,ae,ce)}if("object"==typeof ae){if("object"!=typeof ce)throw new me(Z,ae,ce);const Ie={};for(const ke of Object.keys(ae))Ie[ke]=Q(G,`${Z}.${ke}`,ae[ke],ce[ke]);return Ie}if(ae.endsWith("?"))return null==ce?null:Q(G,Z,ae.slice(0,ae.length-1),ce);if(ae.endsWith("[]")){if(!Array.isArray(ce))throw new me(Z,ae,ce);return ce.map((Ie,ke)=>Q(G,`${Z}[${ke}]`,ae.slice(0,ae.length-2),Ie))}if(ue.indexOf(ae)>=0)return fe(Z,ae,ce);if("bytes"===ae){if(!(ce instanceof ArrayBuffer))throw new me(Z,ae,ce);return btoa(String.fromCharCode(...new Uint8Array(ce)))}if("bigint"===ae){if("bigint"!=typeof ce)throw new me(Z,ae,ce);return ce.toString()}if("cpf"===ae){if("string"!=typeof ce)throw new me(Z,ae,ce);return ce}if("cnpj"===ae){if("string"!=typeof ce)throw new me(Z,ae,ce);return ce}if("date"===ae){if((!(ce instanceof Date)||isNaN(ce.getTime()))&&("string"!=typeof ce||!/^[0-9]{4}-[01][0-9]-[0123][0-9]$/u.test(ce)))throw new me(Z,ae,ce);const Ie=ce instanceof Date?ce:new Date(ce);return`${Ie.getFullYear().toString().padStart(4,"0")}-${(Ie.getMonth()+1).toString().padStart(2,"0")}-${Ie.getDate().toString().padStart(2,"0")}`}if("datetime"===ae){if((!(ce instanceof Date)||isNaN(ce.getTime()))&&("string"!=typeof ce||!/^[0-9]{4}-[01][0-9]-[0123][0-9]T[012][0-9]:[0123456][0-9]:[0123456][0-9](?:\.[0-9]{1,6})?(?:Z|[+-][012][0-9]:[0123456][0-9])?$/u.test(ce)))throw new me(Z,ae,ce);return("string"==typeof ce?new Date(ce):ce).toISOString().replace("Z","")}if("decimal"===ae){if(!("number"==typeof ce||"string"==typeof ce&&/^-?[0-9]+(?:\.[0-9]+)?$/u.test(ce)||ce instanceof de()))throw new me(Z,ae,ce);return new(de())(ce).toString()}{const Ie=G[ae];if(Ie)return Q(G,Z,Ie,ce);throw new Error(`Unknown type '${ae}' at '${Z}'`)}}function Y(G,Z,ae,ce){if("string"==typeof ae&&!ae.endsWith("?")&&"void"!==ae&&null==ce)throw new Error(`Invalid type at '${Z}', cannot be null`);if(Array.isArray(ae)){for(const Ie of ae){if(Ie===ce)return ce;if(Array.isArray(ce)&&2===ce.length&&Ie===ce[0])return ce[0];if(Array.isArray(Ie)&&2===Ie.length){if(Ie[0]===ce)return[ce,Y(G,`${Z}.${Ie[0]}`,Ie[1],{})];if(Array.isArray(ce)&&2===ce.length&&Ie[0]===ce[0])return[ce[0],Y(G,`${Z}.${Ie[0]}`,Ie[1],ce[1])]}}throw new me(Z,ae,ce)}if("object"==typeof ae){if("object"!=typeof ce)throw new me(Z,ae,ce);const Ie={};for(const ke of Object.keys(ae))Ie[ke]=Y(G,`${Z}.${ke}`,ae[ke],ce[ke]);return Ie}if(ae.endsWith("?"))return null==ce?null:Y(G,Z,ae.slice(0,ae.length-1),ce);if(ae.endsWith("[]")){if(!Array.isArray(ce))throw new me(Z,ae,ce);return ce.map((Ie,ke)=>Y(G,`${Z}[${ke}]`,ae.slice(0,ae.length-2),Ie))}if(ue.indexOf(ae)>=0)return fe(Z,ae,ce);if("bytes"!==ae){if("bigint"===ae){if("number"!=typeof ce&&("string"!=typeof ce||!/^-?[0-9]+$/u.test(ce)))throw new me(Z,ae,ce);return BigInt(ce)}if("cpf"===ae){if("string"!=typeof ce)throw new me(Z,ae,ce);return ce}if("cnpj"===ae){if("string"!=typeof ce)throw new me(Z,ae,ce);return ce}if("date"===ae){if("string"!=typeof ce||!/^[0-9]{4}-[01][0-9]-[0123][0-9]$/u.test(ce))throw new me(Z,ae,ce);const Ie=parseInt(ce.split("-")[2],10),ke=parseInt(ce.split("-")[1],10)-1,Fe=parseInt(ce.split("-")[0],10),je=new Date(Fe,ke,Ie);if(je.getFullYear()!==Fe||je.getMonth()!==ke||je.getDate()!==Ie)throw new me(Z,ae,ce);return je}if("datetime"===ae){if("string"!=typeof ce||!/^[0-9]{4}-[01][0-9]-[0123][0-9]T[012][0-9]:[0123456][0-9]:[0123456][0-9](?:\.[0-9]{1,6})?Z?$/u.test(ce))throw new me(Z,ae,ce);return new Date(`${ce.endsWith("Z")?ce:ce.concat("Z")}`)}if("decimal"===ae){if("number"!=typeof ce&&("string"!=typeof ce||!/^-?[0-9]+(?:\.[0-9]+)?$/u.test(ce)))throw new me(Z,ae,ce);return new(de())(ce)}{const Ie=G[ae];if(Ie)return Y(G,Z,Ie,ce);throw new Error(`Unknown type '${ae}' at '${Z}'`)}}if("string"!=typeof ce)throw new me(Z,`${ae} (base 64)`,ce);try{return Uint8Array.from(atob(ce),Ie=>Ie.charCodeAt(0))}catch{throw new me(Z,`${ae} (base 64)`,ce)}}function J(G){let Z="";for(let ae=0;ae<2*G;++ae)Z+="0123456789abcdef"[Math.floor(16*Math.random())];return Z}const re=J(20);function pe(){try{let G=localStorage.getItem("deviceId");return G||(G=re,localStorage.setItem("deviceId",G)),G}catch{return re}}function le(G,Z){return Z in G}class Se{constructor(Z,ae,ce){this.baseUrl=Z,this.astJson=ae,this.errClasses=ce,this.extra=new Map,this.successHook=()=>{},this.errorHook=()=>{}}makeRequest(Z,ae){var ce=this;return(0,ve.Z)(function*(){const Ie=ce.astJson.functionTable[Z];if(!Ie)throw new Error(`Unknown function ${Z}`);const ke={};ce.extra.forEach((we,Me)=>{ke[Me]=we});const Fe={args:Q(ce.astJson.typeTable,`${Z}.args`,Ie.args,ae),deviceInfo:{id:pe(),language:navigator.language,platform:{browserUserAgent:navigator.userAgent},timezone:"object"==typeof Intl?Intl.DateTimeFormat().resolvedOptions().timeZone:null,type:"web",version:document.currentScript?.getAttribute("src")??""},extra:ke,name:Z,requestId:J(16),version:3},je=yield new Promise((we,Me)=>{const ze=new XMLHttpRequest;ze.open("POST",`${ce.baseUrl}/${Z}`),ze.setRequestHeader("Content-Type","application/sdkgen"),ze.onreadystatechange=()=>{if(4===ze.readyState)try{const at=JSON.parse(ze.responseText);try{le(at,"error")&&at.error?Me(at.error):we(le(at,"result")?at.result:null)}catch(wt){Me({message:`${wt}`,type:"Fatal"})}}catch{Me({message:"Falha de conex\xe3o com o servidor",type:"Fatal"})}},ze.send(JSON.stringify(Fe))}).catch(we=>{if(ce.errorHook(we,Z,ae),le(we,"type")&&le(we,"message")&&"string"==typeof we.type&&"string"==typeof we.message){const Me=we.type in ce.errClasses?we.type:"Fatal",ze=ce.errClasses[Me],at=ce.astJson.errors.find(Jt=>Array.isArray(Jt)?Jt[0]===Me:Jt===Me);let wt;throw wt=at&&Array.isArray(at)&&le(we,"data")?new ze(we.message,Y(ce.astJson.typeTable,`${Me}.data`,at[1],we.data)):new ze(we.message,void 0),wt.type=Me,wt}throw we}),Ne=Y(ce.astJson.typeTable,`${Z}.ret`,Ie.ret,je);return ce.successHook(Ne,Z,ae),Ne})()}}},1890:(Ke,De,y)=>{"use strict";y.d(De,{ts:()=>ut,OR:()=>rt,zE:()=>O,Wi:()=>_e,lw:()=>Ve,Ro:()=>Le,Xj:()=>Mt,xW:()=>$,Gf:()=>te,KW:()=>dt,x3:()=>at,Tp:()=>Ze,PK:()=>_t,IE:()=>Me,_P:()=>k,iE:()=>Oe,e1:()=>tt,dp:()=>Ge,mN:()=>I,cs:()=>vt,Bn:()=>xt,H1:()=>Nt,Qs:()=>N,JQ:()=>un,d:()=>lt,kM:()=>E,Oo:()=>U,ZU:()=>K,RE:()=>He,BD:()=>Ct,w2:()=>nt,nd:()=>Ci,Bp:()=>kt});class f{constructor(){this.filename="?",this.line=0,this.column=0}toString(){return`${this.filename}:${this.line}:${this.column}`}}class o{constructor(V=""){this.value=V,this.location=new f,Object.defineProperty(this,"location",{enumerable:!1})}maybeAsIdentifier(){return this}toString(){const V=this.constructor.name.replace("Token","");return""===this.value?V:`${V}(${JSON.stringify(this.value)})`}}class ve extends o{}class be extends o{}class de extends o{}class ne extends o{}class ue extends o{}class me extends o{}class fe extends o{}class Q extends o{}class Y extends o{}class J extends o{}class re extends o{}class pe extends o{}class le extends o{}class Se extends o{}class G extends o{maybeAsIdentifier(){return new ve("import")}}class Z extends o{maybeAsIdentifier(){return new ve("type")}}class ae extends o{maybeAsIdentifier(){return new ve("enum")}}class ce extends o{maybeAsIdentifier(){return new ve("fn")}}class Ie extends o{maybeAsIdentifier(){return new ve("error")}}class ke extends o{maybeAsIdentifier(){return new ve("true")}}class Fe extends o{maybeAsIdentifier(){return new ve("false")}}class je extends o{maybeAsIdentifier(){return new ve(this.value)}}class Ne{constructor(){this.location=new f,Object.defineProperty(this,"location",{enumerable:!1})}at(V){return this.location=V.location,this}atLocation(V){return this.location=V,this}}class we extends Ne{toJSON(){const{name:V,...Ee}={...this};return Ee}}class Me extends Ne{constructor(V,Ee){super(),this.name=V,this.dataType=Ee,this.annotations=[]}}class ze extends Ne{}class at extends ze{constructor(V){super(),this.text=V}}class wt extends ze{constructor(V){super(),this.error=V}}class nn extends ze{constructor(V,Ee,Je,Dt,Bt,bt){super(),this.method=V,this.path=Ee,this.pathVariables=Je,this.queryVariables=Dt,this.headers=Bt,this.bodyVariable=bt}}class tt extends ze{}class X extends ze{constructor(V){super(),this.statusCode=V}}class z extends we{toJSON(){return this.name}}class N extends z{constructor(){super(...arguments),this.name="string"}}class I extends z{constructor(){super(...arguments),this.name="int"}}class E extends z{constructor(){super(...arguments),this.name="uint"}}class k extends z{constructor(){super(...arguments),this.name="float"}}class O extends z{constructor(){super(...arguments),this.name="bigint"}}class $ extends z{constructor(){super(...arguments),this.name="date"}}class te extends z{constructor(){super(...arguments),this.name="datetime"}}class _e extends z{constructor(){super(...arguments),this.name="bool"}}class Ve extends z{constructor(){super(...arguments),this.name="bytes"}}class He extends z{constructor(){super(...arguments),this.name="void"}}class xt extends z{constructor(){super(...arguments),this.name="money"}}class dt extends z{constructor(){super(...arguments),this.name="decimal"}}class Mt extends z{constructor(){super(...arguments),this.name="cpf"}}class Le extends z{constructor(){super(...arguments),this.name="cnpj"}}class Ze extends z{constructor(){super(...arguments),this.name="email"}}class U extends z{constructor(){super(...arguments),this.name="url"}}class K extends z{constructor(){super(...arguments),this.name="uuid"}}class Oe extends z{constructor(){super(...arguments),this.name="hex"}}class Ge extends z{constructor(){super(...arguments),this.name="html"}}class rt extends z{constructor(){super(...arguments),this.name="base64"}}class Ct extends z{constructor(){super(...arguments),this.name="xml"}}class vt extends z{constructor(){super(...arguments),this.name="json"}}class Nt extends we{constructor(V){super(),this.base=V}get name(){return`${this.base.name}?`}}class ut extends we{constructor(V){super(),this.base=V}get name(){return`${this.base.name}[]`}}class Lt extends Ne{constructor(V){super(),this.value=V,this.annotations=[],this.struct=null}}class _t extends we{constructor(V){super(),this.values=V}get hasStructValues(){return this.values.some(V=>null!==V.struct)}}class on extends Ne{constructor(V,Ee,Je=!1){super(),this.name=V,this.type=Ee,this.secret=Je,this.annotations=[]}}class oi extends Ne{constructor(V){super(),this.typeReference=V}}class lt extends we{constructor(V){super(),this.name=V}}class un extends we{constructor(V){super(),this.fieldsAndSpreads=V,this.fields=[]}}class fn extends Ne{constructor(V,Ee){super(),this.name=V,this.type=Ee,this.annotations=[]}}class Pn extends Ne{constructor(V,Ee,Je){super(),this.name=V,this.fieldsAndSpreads=Ee,this.returnType=Je,this.annotations=[],this.args=[]}}class wn{constructor(V=[],Ee=[],Je=[]){this.typeDefinitions=V,this.operations=Ee,this.errors=Je,this.structTypes=[],this.enumTypes=[],this.warnings=[]}}class pn extends Error{}class Ut{constructor(V){this.root=V}process(){for(const V of this.root.errors)this.visit(V);for(const V of this.root.typeDefinitions)this.visit(V);for(const V of this.root.operations)this.visit(V)}visit(V){if(V instanceof Pn){for(const Ee of V.args)this.visit(Ee);for(const Ee of V.fieldsAndSpreads)this.visit(Ee);this.visit(V.returnType)}else if(V instanceof on||V instanceof fn)this.visit(V.type);else if(V instanceof un){for(const Ee of V.fields)this.visit(Ee);for(const Ee of V.fieldsAndSpreads)this.visit(Ee)}else if(V instanceof _t)for(const Ee of V.values)this.visit(Ee);else V instanceof Lt?V.struct&&this.visit(V.struct):V instanceof ut||V instanceof Nt?this.visit(V.base):V instanceof Me?this.visit(V.dataType):V instanceof oi&&this.visit(V.typeReference)}}class ri extends Ut{constructor(){super(...arguments),this.nameToType=new Map}visit(V){if(V instanceof fn){const Ee=this.nameToType.get(V.name);if(Ee&&JSON.stringify(Ee)!==JSON.stringify(V.type))throw new pn(`Type '${V.name}' at ${V.location} is defined multiple times (also at ${Ee.location})`);this.nameToType.set(V.name,V.type)}super.visit(V)}}class It{constructor(V){this.root=V}process(){this.root.errors=this.root.errors.map(V=>this.transform(V)),this.root.typeDefinitions=this.root.typeDefinitions.map(V=>this.transform(V)),this.root.operations=this.root.operations.map(V=>this.transform(V))}transform(V){return V instanceof Pn?(V.args=V.args.map(Ee=>this.transform(Ee)),V.fieldsAndSpreads=V.fieldsAndSpreads.map(Ee=>this.transform(Ee)),V.returnType=this.transform(V.returnType)):V instanceof on||V instanceof fn?V.type=this.transform(V.type):V instanceof un?(V.fields=V.fields.map(Ee=>this.transform(Ee)),V.fieldsAndSpreads=V.fieldsAndSpreads.map(Ee=>this.transform(Ee))):V instanceof _t?V.values=V.values.map(Ee=>this.transform(Ee)):V instanceof Lt?V.struct&&(V.struct=this.transform(V.struct)):V instanceof ut||V instanceof Nt?V.base=this.transform(V.base):V instanceof Me?V.dataType=this.transform(V.dataType):V instanceof oi&&(V.typeReference=this.transform(V.typeReference)),V}}class Ht extends It{constructor(){super(...arguments),this.path=[],this.names=new Map}transform(V){if(V instanceof fn)return this.path=[V.name],super.transform(V);if(V instanceof Me)return this.path=[`${V.name}Data`],super.transform(V);if(V instanceof Pn)return this.path=[V.name],super.transform(V);if(V instanceof on)try{return this.path.push(V.name),super.transform(V)}finally{this.path.pop()}else{if(!(V instanceof Lt)){if(V instanceof un||V instanceof _t){V.name=this.path.map(Je=>Je[0].toUpperCase()+Je.slice(1)).join("");const Ee=this.names.get(V.name);if(Ee){if(Ee.type.constructor!==V.constructor||JSON.stringify(Ee.type)!==JSON.stringify(V))throw new pn(`The name of the type '${this.path.join(".")}' at ${V.location} will conflict with '${Ee.path.join(".")}' at ${Ee.type.location}`);return Ee.type}return this.names.set(V.name,{path:[...this.path],type:V}),super.transform(V)}return super.transform(V)}try{return this.path.push(V.value),super.transform(V)}finally{this.path.pop()}}}}class Ln extends Ut{visit(V){if(V instanceof lt){const Ee=this.root.typeDefinitions.find(Je=>Je.name===V.name);if(void 0===Ee)throw new pn(`Could not find type '${V.name}' at ${V.location}`);V.type=Ee.type}super.visit(V)}}class Yn extends Ut{constructor(){super(...arguments),this.isInReturn=!1,this.path=[],this.visited=new Set}visit(V){if(!this.visited.has(V))if(this.visited.add(V),V instanceof Pn)this.isInReturn=!0,this.visited.clear(),this.path.push(`${V.name}(...)`),this.visit(V.returnType),this.path.pop(),this.isInReturn=!1;else if(V instanceof lt)this.visit(V.type);else if(V instanceof on){if(this.path.push(V.name),this.isInReturn&&V.secret)throw new pn(`Can't return a secret value at ${this.path.join(".")} at ${V.location}`);super.visit(V),this.path.pop()}else super.visit(V)}}class Kn extends Ut{constructor(){super(...arguments),this.processed=new Set}expandSpread(V,Ee){const Je=new Map;for(const Dt of Ee){let Bt;if(Dt instanceof on)Bt=[Dt];else{const bt=Dt.typeReference.type;if(!(bt instanceof un))throw new pn(`A spread operator can't refer to something that is not a struct, in '${Dt.typeReference.name}' at ${Dt.location}.`);this.visit(bt),Bt=bt.fields}for(const bt of Bt){const jt=Je.get(bt.name);jt?V[jt]=bt:(Je.set(bt.name,V.length),V.push(bt))}}}visit(V){if(V instanceof un){if(this.processed.has(V))return;this.processed.add(V)}super.visit(V),V instanceof un?(this.expandSpread(V.fields,V.fieldsAndSpreads),V.fieldsAndSpreads=[]):V instanceof Pn&&(this.expandSpread(V.args,V.fieldsAndSpreads),V.fieldsAndSpreads=[])}}class qe extends Ut{visit(V){if(super.visit(V),V instanceof _t&&0===V.values.length)throw new pn(`Enum '${V.name}' at ${V.location} is empty`);if(V instanceof un&&0===V.fields.length)throw new pn(`Struct '${V.name}' at ${V.location} is empty`)}}class se extends Ut{visit(V){if(super.visit(V),V instanceof fn&&this.isRecursiveType(V,V.type)){if(!(V.type instanceof un||V.type instanceof _t))throw new pn(`Type '${V.name}' at ${V.location} is recursive but is not an struct`);if(this.isInfinitelyRecursiveType(V,V.type))throw new pn(`Type '${V.name}' at ${V.location} is infinitely recursive`)}}isRecursiveType(V,Ee){return Ee instanceof lt?V.name===Ee.name:Ee instanceof ut||Ee instanceof Nt?this.isRecursiveType(V,Ee.base):Ee instanceof un?Ee.fields.some(Je=>this.isRecursiveType(V,Je.type)):Ee instanceof _t&&Ee.values.some(Je=>Je.struct&&this.isRecursiveType(V,Je.struct))}isInfinitelyRecursiveType(V,Ee){return Ee instanceof lt?Ee.name===V.name:Ee instanceof un?Ee.fields.some(Je=>this.isInfinitelyRecursiveType(V,Je.type)):Ee instanceof _t&&Ee.values.every(Je=>Je.struct&&this.isInfinitelyRecursiveType(V,Je.struct))}}class F extends Ut{constructor(){super(...arguments),this.visited=new Set}visit(V){super.visit(V),!this.visited.has(V)&&(this.visited.add(V),V instanceof un?this.root.structTypes.push(V):V instanceof _t&&this.root.enumTypes.push(V))}}function q(Be){return Be instanceof lt?q(Be.type):Be}class H extends Ut{visit(V){if(V instanceof Lt){for(const Ee of V.annotations)if(!(Ee instanceof at))throw new pn(`Cannot have @${Ee.constructor.name.replace("Annotation","").toLowerCase()} at ${Ee.location}`)}else if(V instanceof fn){for(const Ee of V.annotations)if(!(Ee instanceof at))throw new pn(`Cannot have @${Ee.constructor.name.replace("Annotation","").toLowerCase()} at ${Ee.location}`)}else if(V instanceof on){for(const Ee of V.annotations)if(!(Ee instanceof at))throw new pn(`Cannot have @${Ee.constructor.name.replace("Annotation","").toLowerCase()} at ${Ee.location}`)}else if(V instanceof Pn){for(const Ee of V.annotations)if(!(Ee instanceof at))if(Ee instanceof wt){if(!this.root.errors.some(Je=>Je.name===Ee.error))throw new pn(`Unknown error type '${Ee.error}' at ${Ee.location}`)}else if(Ee instanceof nn){const Je=[...Ee.pathVariables,...Ee.queryVariables,...Ee.headers.values()];if(Je.length!==new Set(Je).size)throw new pn(`Arguments must appear only once for rest annotation at ${Ee.location}`);for(const Dt of Je){const Bt=V.args.find(jt=>jt.name===Dt);if(!Bt)throw new pn(`Argument '${Dt}' not found at ${Ee.location}`);if(Ee.pathVariables.includes(Dt)&&Bt.type instanceof Nt)throw new pn(`The path argument '${Dt}' can't be nullable at ${Ee.location}`);if(!((Be=q(Bt.type instanceof Nt?Bt.type.base:Bt.type))instanceof _e||Be instanceof I||Be instanceof E||Be instanceof O||Be instanceof k||Be instanceof N||Be instanceof $||Be instanceof te||Be instanceof xt||Be instanceof dt||Be instanceof Mt||Be instanceof Le||Be instanceof K||Be instanceof Oe||Be instanceof rt||Be instanceof _t))throw new pn(`Argument '${Dt}' can't have type '${Bt.type.name}' for rest annotation at ${Ee.location}`)}for(const Dt of V.args){if(!Je.includes(Dt.name)&&Ee.bodyVariable!==Dt.name)throw new pn(`Argument '${Dt.name}' is missing from the rest annotation at ${Ee.location}`);const Bt=[...Ee.pathVariables,...Ee.queryVariables];if("GET"===Ee.method&&Bt.includes(Dt.name)&&Dt.secret)throw new pn(`Argument marked as secret cannot be used in the path or query parts of a GET endpoint at ${Ee.location}`)}if("GET"===Ee.method&&V.returnType instanceof He)throw new pn(`A GET rest endpoint must return something at ${Ee.location}`)}else if(!(Ee instanceof tt))throw new pn(`Cannot have @${Ee.constructor.name.replace("Annotation","").toLowerCase()} at ${Ee.location}`)}else if(V instanceof Me){for(const Ee of V.annotations){if(!(Ee instanceof X))throw new pn(`Cannot have @${Ee.constructor.name.replace("Annotation","").toLowerCase()} at ${Ee.location}`);if(Ee.statusCode<400||Ee.statusCode>599)throw new pn(`Error status code can only be 4xx or 5xx at ${Ee.location}`)}if(V.annotations.filter(Ee=>Ee instanceof X).length>1)throw new pn(`Can't provide more than one status code at ${V.location}`)}var Be}}class ie extends Ut{visit(V){if(super.visit(V),V instanceof _t&&V.values.length!==new Set(V.values.map(Ee=>Ee.value)).size)throw new pn(`Enum '${V.name}' at ${V.location} has duplicated members`)}}const P=new Map;function ee(Be){if(Be instanceof at)return{type:"description",value:Be.text};if(Be instanceof wt)return{type:"throws",value:Be.error};if(Be instanceof nn)return{type:"rest",value:{bodyVariable:Be.bodyVariable,headers:[...Be.headers.entries()].sort(([V],[Ee])=>V.localeCompare(Ee)),method:Be.method,path:Be.path,pathVariables:Be.pathVariables,queryVariables:[...Be.queryVariables].sort((V,Ee)=>V.localeCompare(Ee))}};if(Be instanceof tt)return{type:"hidden",value:null};if(Be instanceof X)return{type:"statusCode",value:Be.statusCode};throw new Error(`BUG: annotationToJson with ${Be.constructor.name}`)}function Pe(Be){switch(Be.type){case"description":return new at(Be.value);case"throws":return new wt(Be.value);case"rest":{const{method:V,path:Ee,pathVariables:Je,queryVariables:Dt,headers:Bt,bodyVariable:bt}=Be.value;return new nn(V,Ee,Je,Dt,new Map(Bt),bt)}case"hidden":return new tt;case"statusCode":return new X(Be.value);default:throw new Error(`BUG: annotationFromJson with ${Be.type}`)}}function nt(Be){const V={},Ee={};function Je(bt){return bt instanceof ut?`${Je(bt.base)}[]`:bt instanceof Nt?`${Je(bt.base)}?`:bt.name}for(const{name:bt,fields:jt}of Be.structTypes){if(bt in Ee)throw new Error(`Duplicate struct type ${bt}`);Ee[bt]={};const Wt=Ee[bt];for(const Pt of jt){Wt[Pt.name]=Je(Pt.type);for(const sn of Pt.annotations)if(sn instanceof at){const Un=`type.${bt}.${Pt.name}`;V[Un]??=[],V[Un].push(ee(sn))}}}for(const{name:bt,values:jt}of Be.enumTypes){if(bt in Ee)throw new Error(`Duplicate enum type ${bt}`);Ee[bt]=jt.map(Wt=>Wt.struct?[Wt.value,Wt.struct.name]:Wt.value)}for(const{name:bt,type:jt}of Be.typeDefinitions)jt instanceof un||jt instanceof _t||(Ee[bt]=Je(jt));const Dt={};for(const bt of Be.operations){const jt={};for(const Wt of bt.args){jt[Wt.name]=Je(Wt.type);for(const Pt of Wt.annotations)if(Pt instanceof at){const sn=`fn.${bt.name}.${Wt.name}`;V[sn]??=[],V[sn].push(ee(Pt))}}Dt[bt.name]={args:jt,ret:Je(bt.returnType)};for(const Wt of bt.annotations){const Pt=`fn.${bt.name}`;V[Pt]??=[],V[Pt].push(ee(Wt))}}const Bt=Be.errors.map(bt=>bt.dataType instanceof He?bt.name:[bt.name,bt.dataType.name]);for(const bt of Be.errors)for(const jt of bt.annotations){const Wt=`error.${bt.name}`;V[Wt]??=[],V[Wt].push(ee(jt))}return{annotations:V,errors:Bt,functionTable:Dt,typeTable:Ee}}function kt(Be){const V=[],Ee=[],Je=[];function Dt(jt,Wt){if("string"==typeof jt){const sn=P.get(jt);return sn?new sn:jt.endsWith("?")?new Nt(Dt(jt.slice(0,jt.length-1))):jt.endsWith("[]")?new ut(Dt(jt.slice(0,jt.length-2))):new lt(jt)}if(Array.isArray(jt))return new _t(jt.map(sn=>{if(Array.isArray(sn)){const[Un,Re]=sn,ge=new Lt(Un);return Je.push([ge,Re]),ge}return new Lt(sn)}));const Pt=[];for(const sn of Object.keys(jt)){const Un=new on(sn,Dt(jt[sn]));if(Wt){const Re=`type.${Wt}.${sn}`;for(const ge of Be.annotations[Re]??[])Un.annotations.push(Pe(ge))}Pt.push(Un)}return new un(Pt)}for(const[jt,Wt]of Object.entries(Be.typeTable)){const Pt=Dt(Wt,jt);Ee.push(new fn(jt,Pt))}for(const[jt,Wt]of Object.entries(Be.functionTable)){const Pt=Object.keys(Wt.args).map(Re=>{const ge=new on(Re,Dt(Wt.args[Re])),xe=`fn.${jt}.${Re}`;for(const $e of Be.annotations[xe]??[])ge.annotations.push(Pe($e));return ge}),sn=new Pn(jt,Pt,Dt(Wt.ret)),Un=`fn.${jt}`;for(const Re of Be.annotations[Un]??[])sn.annotations.push(Pe(Re));V.push(sn)}for(const[jt,Wt]of Je){const Pt=Ee.find(sn=>sn.name===Wt)?.type;Pt instanceof un&&(jt.struct=Pt)}const Bt=Be.errors.map(jt=>{let Wt;if(Array.isArray(jt)){const[sn,Un]=jt;Wt=new Me(sn,Dt(Un))}else Wt=new Me(jt,new He);const Pt=`error.${Wt.name}`;for(const sn of Be.annotations[Pt]??[])Wt.annotations.push(Pe(sn));return Wt}),bt=new wn(Ee,V,Bt);return function x(Be){Be.errors.some(V=>"Fatal"===V.name)||Be.errors.push(new Me("Fatal",new He)),new ri(Be).process(),new Ht(Be).process(),new Ln(Be).process(),new Yn(Be).process(),new Kn(Be).process(),new qe(Be).process(),new se(Be).process(),new F(Be).process(),new H(Be).process(),new ie(Be).process()}(bt),bt}P.set("string",N),P.set("int",I),P.set("uint",E),P.set("date",$),P.set("datetime",te),P.set("float",k),P.set("bigint",O),P.set("bool",_e),P.set("bytes",Ve),P.set("money",xt),P.set("decimal",dt),P.set("cpf",Mt),P.set("cnpj",Le),P.set("email",Ze),P.set("html",Ge),P.set("url",U),P.set("uuid",K),P.set("hex",Oe),P.set("base64",rt),P.set("xml",Ct),P.set("json",vt),P.set("void",He);class zt extends Error{}class gn{static#e=this.PRIMITIVES=new Set(["bool","int","uint","float","bigint","string","date","datetime","bytes","money","decimal","cpf","cnpj","email","html","url","uuid","hex","base64","xml","void","json"]);static#t=this.KEYWORDS=new Set([...gn.PRIMITIVES,"error","enum","type","import","get","function","fn","true","false"]);constructor(V,Ee="-"){this.source=V,this.filename=Ee,this.startPos=0,this.startLine=1,this.startColumn=1,this.pos=0,this.line=1,this.column=1}currentChar(){return this.source[this.pos]||"\0"}nextChar(){return this.column++,this.source[++this.pos]||"\0"}nextToken(){this.startPos=this.pos,this.startLine=this.line,this.startColumn=this.column;let V=null;switch(this.currentChar()){case"\0":return null;case" ":case"\r":case"\t":return this.nextChar(),this.nextToken();case"\n":return this.nextChar(),this.column=1,this.line++,this.nextToken();case"/":switch(this.nextChar()){case"/":for(;;)switch(this.nextChar()){case"\0":return null;case"\n":return this.nextChar(),this.column=1,this.line++,this.nextToken()}case"*":e:for(;;)switch(this.nextChar()){case"\0":break e;case"\n":this.column=0,this.line++;break;case"*":for(;"*"===this.nextChar(););switch(this.currentChar()){case"\0":break e;case"\n":this.column=0,this.line++;break;case"/":return this.nextChar(),this.nextToken()}}}break;case"{":this.nextChar(),V=new ue;break;case"}":this.nextChar(),V=new me;break;case"(":this.nextChar(),V=new fe;break;case")":this.nextChar(),V=new Q;break;case"?":this.nextChar(),V=new J;break;case":":this.nextChar(),V=new Y;break;case"=":this.nextChar(),V=new de;break;case"!":this.nextChar(),V=new ne;break;case",":this.nextChar(),V=new pe;break;case"[":"]"===this.nextChar()&&(this.nextChar(),V=new re);break;case".":"."===this.nextChar()&&"."===this.nextChar()&&(this.nextChar(),V=new le);break;case"@":{let Ee="\\",Je=this.startPos+1;for(;Ee.endsWith("\\");){for(Ee=Ee.slice(0,Ee.length-1).trim();!["\0","\n"].includes(this.nextChar()););Ee=`${Ee} ${this.source.substring(Je,this.pos).trim()}`.trim(),Je=this.pos+1}V=new Se(Ee.trim());break}case'"':{const Ee=[];e:for(;;)switch(this.nextChar()){case"\0":break e;case"\\":switch(this.nextChar()){case"\0":break e;case"n":Ee.push("\n");break;case"t":Ee.push("\t");break;default:Ee.push(this.currentChar())}break;case'"':this.nextChar(),V=new be(Ee.join(""));break e;default:Ee.push(this.currentChar())}break}default:if(/[a-zA-Z_]/u.test(this.currentChar())){for(;/[a-zA-Z0-9_]/u.test(this.nextChar()););const Ee=this.source.substring(this.startPos,this.pos);switch(Ee){case"error":V=new Ie;break;case"enum":V=new ae;break;case"type":V=new Z;break;case"import":V=new G;break;case"fn":V=new ce;break;case"true":V=new ke;break;case"false":V=new Fe;break;default:V=gn.PRIMITIVES.has(Ee)?new je(Ee):new ve(Ee)}}}if(null!==V)return V.location.filename=this.filename,V.location.line=this.startLine,V.location.column=this.startColumn,V;throw"\0"===this.currentChar()?new zt(`Unexpected end of file at ${this.filename}`):new zt(`Unexpected character ${JSON.stringify(this.currentChar())} at ${this.filename}:${this.line}:${this.column}`)}}class St extends Ut{constructor(V,Ee){super(V),this.type=Ee,this.found=!1}visit(V){V.constructor===this.type&&(this.found=!0),super.visit(V)}}function Ci(Be,V){const Ee=new St(Be,V);return Ee.process(),Ee.found}},3866:(Ke,De,y)=>{"use strict";y.d(De,{E2:()=>ue,iD:()=>fe,gd:()=>Q,PI:()=>me});var f=y(1890);function o(Y,J){switch(Y.constructor){case f.mN:case f.kM:case f.Bn:case f._P:return"number";case f.zE:return"bigint";case f.KW:return"Decimal";case f.xW:case f.Gf:return"Date";case f.Wi:return"boolean";case f.lw:return J?"ArrayBuffer":"Buffer";case f.Qs:case f.Xj:case f.Ro:case f.Tp:case f.dp:case f.Oo:case f.ZU:case f.iE:case f.OR:case f.BD:return"string";case f.RE:return"void";case f.cs:return"any";case f.H1:return`${o(Y.base,J)} | null`;case f.ts:{const{base:re}=Y,pe=o(re,J);return re instanceof f.H1?`(${pe})[]`:`${pe}[]`}case f.JQ:case f.PK:return Y.name;case f.d:return o(Y.type,J);default:throw new Error(`BUG: generateTypescriptTypeName with ${Y.constructor.name}`)}}function ve(Y,J){return`export interface ${Y.name} {\n${Y.fields.map(re=>` ${re.name}: ${o(re.type,J)}`).join("\n")}\n}\n`}function be(Y){return Y.hasStructValues?`export type ${Y.name} = ${Y.values.map(J=>J.struct?`({tag: "${J.value}"} & ${J.struct.name})`:`{tag: "${J.value}"}`).join(" | ")};\n`:`export type ${Y.name} = ${Y.values.map(J=>`"${J.value}"`).join(" | ")};\n`}function de(Y,J){return`export class ${Y.name} extends ${Y.dataType instanceof f.RE?"SdkgenError":`SdkgenErrorWithData<${o(Y.dataType,J)}>`} {}\n`}function ue(Y){let J="";J+=`/* eslint-disable */\nimport { SdkgenError${Y.errors.some(pe=>!(pe.dataType instanceof f.RE))?", SdkgenErrorWithData":""}, SdkgenHttpClient } from "@sdkgen/browser-runtime";\n`,(0,f.nd)(Y,f.KW)&&(J+='import { Decimal } from "decimal.js-light";\n'),J+="\n";for(const pe of Y.enumTypes)J+=be(pe),J+="\n";for(const pe of Y.structTypes)J+=ve(pe,!0),J+="\n";for(const pe of Y.errors)J+=de(pe,!0),J+="\n";return J+=`export class ApiClient extends SdkgenHttpClient {\n constructor(baseUrl: string) {\n super(baseUrl, astJson, errClasses);\n }\n${Y.operations.filter(pe=>pe.annotations.every(le=>!(le instanceof f.e1))).map(pe=>`\n ${pe.name}(args${0===pe.args.length?"?":""}: {${pe.args.map(le=>`${le.name}${le.type.name.endsWith("?")?"?":""}: ${o(le.type,!0)}`).join(", ")}}): Promise<${o(pe.returnType,!0)}> { return this.makeRequest("${pe.name}", args || {}); }`).join("")}\n}\n\n`,J+=`const errClasses = {\n${Y.errors.map(pe=>` ${pe.name}`).join(",\n")}\n};\n\n`,J+=`const astJson = ${JSON.stringify((0,f.w2)(Y),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:")} as const;\n`,J}function me(Y){let J="";for(const re of Y.enumTypes)J+=be(re);J+="\n";for(const re of Y.structTypes)J+=ve(re,!1),J+="\n";return J}function fe(Y){let J="";const re=Y.errors.some(le=>!(le.dataType instanceof f.RE));J+=`/* eslint-disable */\nimport { Context, Fatal${Y.errors.filter(le=>"Fatal"!==le.name).some(le=>le.dataType instanceof f.RE)?", SdkgenError":""}${re?", SdkgenErrorWithData":""}, SdkgenHttpClient } from "@sdkgen/node-runtime";\nimport { PartialDeep } from "type-fest";\nexport { Fatal } from "@sdkgen/node-runtime";\n`,(0,f.nd)(Y,f.KW)&&(J+='import { Decimal } from "decimal.js";\n'),J+="\n";for(const le of Y.enumTypes)J+=be(le),J+="\n";for(const le of Y.structTypes)J+=ve(le,!1),J+="\n";for(const le of Y.errors)"Fatal"!==le.name&&(J+=de(le,!1),J+="\n");return J+=`export class ApiClient extends SdkgenHttpClient {\n constructor(baseUrl: string) {\n super(baseUrl, astJson, errClasses);\n }\n${Y.operations.filter(le=>le.annotations.every(Se=>!(Se instanceof f.e1))).map(le=>`\n ${le.name}(ctx: PartialDeep<Context> | null, args: {${le.args.map(Se=>`${Se.name}${Se.type.name.endsWith("?")?"?":""}: ${o(Se.type,!1)}`).join(", ")}}): Promise<${o(le.returnType,!1)}> { return this.makeRequest(ctx, "${le.name}", args); }`).join("")}\n}\n\n`,J+=`const errClasses = {\n${Y.errors.map(le=>` ${le.name}`).join(",\n")}\n};\n\n`,J+=`const astJson = ${JSON.stringify((0,f.w2)(Y),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:")} as const;\n`,J}function Q(Y){let J="";const re=Y.errors.some(le=>!(le.dataType instanceof f.RE));J+=`/* eslint-disable */\nimport { BaseApiConfig, Context, Fatal${Y.errors.filter(le=>"Fatal"!==le.name).some(le=>le.dataType instanceof f.RE)?", SdkgenError":""}${re?", SdkgenErrorWithData":""} } from "@sdkgen/node-runtime";\nexport { Fatal } from "@sdkgen/node-runtime";\n`,(0,f.nd)(Y,f.KW)&&(J+='import { Decimal } from "decimal.js";\n'),J+="\n";for(const le of Y.enumTypes)J+=be(le),J+="\n";for(const le of Y.structTypes)J+=ve(le,!1),J+="\n";for(const le of Y.errors)"Fatal"!==le.name&&(J+=de(le,!1),J+="\n");return J+=`export class ApiConfig<ExtraContextT> extends BaseApiConfig<ExtraContextT> {\n declare fn: {${Y.operations.map(le=>`\n ${le.name}: (ctx: Context & ExtraContextT, args: {${le.args.map(Se=>`${Se.name}: ${o(Se.type,!1)}`).join(", ")}}) => Promise<${o(le.returnType,!1)}>`).join("")}\n }\n\n astJson = ${JSON.stringify((0,f.w2)(Y),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:").replace(/\n/gu,"\n ")} as const\n}\n\nexport const api = new ApiConfig<{}>();\n`,J}},2970:(Ke,De,y)=>{"use strict";function J(N,I,E,k){return new(E||(E=Promise))(function($,te){function _e(xt){try{He(k.next(xt))}catch(dt){te(dt)}}function Ve(xt){try{He(k.throw(xt))}catch(dt){te(dt)}}function He(xt){xt.done?$(xt.value):function O($){return $ instanceof E?$:new E(function(te){te($)})}(xt.value).then(_e,Ve)}He((k=k.apply(N,I||[])).next())})}function Ie(N){return this instanceof Ie?(this.v=N,this):new Ie(N)}function ke(N,I,E){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var O,k=E.apply(N,I||[]),$=[];return O={},te("next"),te("throw"),te("return"),O[Symbol.asyncIterator]=function(){return this},O;function te(Mt){k[Mt]&&(O[Mt]=function(Le){return new Promise(function(Ze,U){$.push([Mt,Le,Ze,U])>1||_e(Mt,Le)})})}function _e(Mt,Le){try{!function Ve(Mt){Mt.value instanceof Ie?Promise.resolve(Mt.value.v).then(He,xt):dt($[0][2],Mt)}(k[Mt](Le))}catch(Ze){dt($[0][3],Ze)}}function He(Mt){_e("next",Mt)}function xt(Mt){_e("throw",Mt)}function dt(Mt,Le){Mt(Le),$.shift(),$.length&&_e($[0][0],$[0][1])}}function je(N){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var E,I=N[Symbol.asyncIterator];return I?I.call(N):(N=function Se(N){var I="function"==typeof Symbol&&Symbol.iterator,E=I&&N[I],k=0;if(E)return E.call(N);if(N&&"number"==typeof N.length)return{next:function(){return N&&k>=N.length&&(N=void 0),{value:N&&N[k++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")}(N),E={},k("next"),k("throw"),k("return"),E[Symbol.asyncIterator]=function(){return this},E);function k($){E[$]=N[$]&&function(te){return new Promise(function(_e,Ve){!function O($,te,_e,Ve){Promise.resolve(Ve).then(function(He){$({value:He,done:_e})},te)}(_e,Ve,(te=N[$](te)).done,te.value)})}}}y.d(De,{FC:()=>ke,KL:()=>je,mG:()=>J,qq:()=>Ie}),"function"==typeof SuppressedError&&SuppressedError},6e3:(Ke,De,y)=>{"use strict";y.d(De,{IO:()=>re,SB:()=>ue,X$:()=>o,ZE:()=>je,ZN:()=>Fe,eR:()=>fe,jt:()=>ve,k1:()=>Ne,l3:()=>f,oB:()=>ne,pV:()=>Y,ru:()=>be,vP:()=>de});const f="*";function o(we,Me){return{type:7,name:we,definitions:Me,options:{}}}function ve(we,Me=null){return{type:4,styles:Me,timings:we}}function be(we,Me=null){return{type:3,steps:we,options:Me}}function de(we,Me=null){return{type:2,steps:we,options:Me}}function ne(we){return{type:6,styles:we,offset:null}}function ue(we,Me,ze){return{type:0,name:we,styles:Me,options:ze}}function fe(we,Me,ze=null){return{type:1,expr:we,animation:Me,options:ze}}function Y(we=null){return{type:9,options:we}}function re(we,Me,ze=null){return{type:11,selector:we,animation:Me,options:ze}}class Fe{constructor(Me=0,ze=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=Me+ze}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Me=>Me()),this._onDoneFns=[])}onStart(Me){this._originalOnStartFns.push(Me),this._onStartFns.push(Me)}onDone(Me){this._originalOnDoneFns.push(Me),this._onDoneFns.push(Me)}onDestroy(Me){this._onDestroyFns.push(Me)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Me=>Me()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Me=>Me()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Me){this._position=this.totalTime?Me*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Me){const ze="start"==Me?this._onStartFns:this._onDoneFns;ze.forEach(at=>at()),ze.length=0}}class je{constructor(Me){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Me;let ze=0,at=0,wt=0;const Jt=this.players.length;0==Jt?queueMicrotask(()=>this._onFinish()):this.players.forEach(nn=>{nn.onDone(()=>{++ze==Jt&&this._onFinish()}),nn.onDestroy(()=>{++at==Jt&&this._onDestroy()}),nn.onStart(()=>{++wt==Jt&&this._onStart()})}),this.totalTime=this.players.reduce((nn,tt)=>Math.max(nn,tt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Me=>Me()),this._onDoneFns=[])}init(){this.players.forEach(Me=>Me.init())}onStart(Me){this._onStartFns.push(Me)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Me=>Me()),this._onStartFns=[])}onDone(Me){this._onDoneFns.push(Me)}onDestroy(Me){this._onDestroyFns.push(Me)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Me=>Me.play())}pause(){this.players.forEach(Me=>Me.pause())}restart(){this.players.forEach(Me=>Me.restart())}finish(){this._onFinish(),this.players.forEach(Me=>Me.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Me=>Me.destroy()),this._onDestroyFns.forEach(Me=>Me()),this._onDestroyFns=[])}reset(){this.players.forEach(Me=>Me.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Me){const ze=Me*this.totalTime;this.players.forEach(at=>{const wt=at.totalTime?Math.min(1,ze/at.totalTime):1;at.setPosition(wt)})}getPosition(){const Me=this.players.reduce((ze,at)=>null===ze||at.totalTime>ze.totalTime?at:ze,null);return null!=Me?Me.getPosition():0}beforeDestroy(){this.players.forEach(Me=>{Me.beforeDestroy&&Me.beforeDestroy()})}triggerCallback(Me){const ze="start"==Me?this._onStartFns:this._onDoneFns;ze.forEach(at=>at()),ze.length=0}}const Ne="!"},8654:(Ke,De,y)=>{"use strict";y.d(De,{$s:()=>ze,Em:()=>tt,X6:()=>Ct,ic:()=>z,kH:()=>kn,qV:()=>Le,qm:()=>Yn,rt:()=>Kn,tE:()=>ri,yG:()=>vt});var f=y(9462),o=y(1322),ve=y(3844),be=y(9453),de=y(9592),ne=y(1625),ue=y(9627),me=y(7605),fe=y(4104),Q=y(2067),Y=y(1497),J=y(8412),re=y(3581),pe=y(1800),le=y(4263),Se=y(5779),G=y(8267),Z=y(5988),ae=y(4515);function Fe(qe,se){return(qe.getAttribute(se)||"").match(/\S+/g)||[]}const Ne="cdk-describedby-message",we="cdk-describedby-host";let Me=0,ze=(()=>{class qe{constructor(F,T){this._platform=T,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Me++,this._document=F,this._id=(0,o.f3M)(o.AFp)+"-"+Me++}describe(F,T,q){if(!this._canBeDescribed(F,T))return;const H=at(T,q);"string"!=typeof T?(wt(T,this._id),this._messageRegistry.set(H,{messageElement:T,referenceCount:0})):this._messageRegistry.has(H)||this._createMessageElement(T,q),this._isElementDescribedByMessage(F,H)||this._addMessageReference(F,H)}removeDescription(F,T,q){if(!T||!this._isElementNode(F))return;const H=at(T,q);if(this._isElementDescribedByMessage(F,H)&&this._removeMessageReference(F,H),"string"==typeof T){const ie=this._messageRegistry.get(H);ie&&0===ie.referenceCount&&this._deleteMessageElement(H)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const F=this._document.querySelectorAll(`[${we}="${this._id}"]`);for(let T=0;T<F.length;T++)this._removeCdkDescribedByReferenceIds(F[T]),F[T].removeAttribute(we);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(F,T){const q=this._document.createElement("div");wt(q,this._id),q.textContent=F,T&&q.setAttribute("role",T),this._createMessagesContainer(),this._messagesContainer.appendChild(q),this._messageRegistry.set(at(F,T),{messageElement:q,referenceCount:0})}_deleteMessageElement(F){this._messageRegistry.get(F)?.messageElement?.remove(),this._messageRegistry.delete(F)}_createMessagesContainer(){if(this._messagesContainer)return;const F="cdk-describedby-message-container",T=this._document.querySelectorAll(`.${F}[platform="server"]`);for(let H=0;H<T.length;H++)T[H].remove();const q=this._document.createElement("div");q.style.visibility="hidden",q.classList.add(F),q.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&q.setAttribute("platform","server"),this._document.body.appendChild(q),this._messagesContainer=q}_removeCdkDescribedByReferenceIds(F){const T=Fe(F,"aria-describedby").filter(q=>0!=q.indexOf(Ne));F.setAttribute("aria-describedby",T.join(" "))}_addMessageReference(F,T){const q=this._messageRegistry.get(T);(function Ie(qe,se,F){const T=Fe(qe,se);T.some(q=>q.trim()==F.trim())||(T.push(F.trim()),qe.setAttribute(se,T.join(" ")))})(F,"aria-describedby",q.messageElement.id),F.setAttribute(we,this._id),q.referenceCount++}_removeMessageReference(F,T){const q=this._messageRegistry.get(T);q.referenceCount--,function ke(qe,se,F){const q=Fe(qe,se).filter(H=>H!=F.trim());q.length?qe.setAttribute(se,q.join(" ")):qe.removeAttribute(se)}(F,"aria-describedby",q.messageElement.id),F.removeAttribute(we)}_isElementDescribedByMessage(F,T){const q=Fe(F,"aria-describedby"),H=this._messageRegistry.get(T),ie=H&&H.messageElement.id;return!!ie&&-1!=q.indexOf(ie)}_canBeDescribed(F,T){if(!this._isElementNode(F))return!1;if(T&&"object"==typeof T)return!0;const q=null==T?"":`${T}`.trim(),H=F.getAttribute("aria-label");return!(!q||H&&H.trim()===q)}_isElementNode(F){return F.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(T){return new(T||qe)(o.LFG(f.K0),o.LFG(ve.t4))};static#t=this.\u0275prov=o.Yz7({token:qe,factory:qe.\u0275fac,providedIn:"root"})}return qe})();function at(qe,se){return"string"==typeof qe?`${se||""}/${qe}`:qe}function wt(qe,se){qe.id||(qe.id=`${Ne}-${se}-${Me++}`)}class Jt{constructor(se){this._items=se,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new be.x,this._typeaheadSubscription=de.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=F=>F.disabled,this._pressedLetters=[],this.tabOut=new be.x,this.change=new be.x,se instanceof o.n_E&&(this._itemChangesSubscription=se.changes.subscribe(F=>{if(this._activeItem){const q=F.toArray().indexOf(this._activeItem);q>-1&&q!==this._activeItemIndex&&(this._activeItemIndex=q)}}))}skipPredicate(se){return this._skipPredicateFn=se,this}withWrap(se=!0){return this._wrap=se,this}withVerticalOrientation(se=!0){return this._vertical=se,this}withHorizontalOrientation(se){return this._horizontal=se,this}withAllowedModifierKeys(se){return this._allowedModifierKeys=se,this}withTypeAhead(se=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,fe.b)(F=>this._pressedLetters.push(F)),(0,Q.b)(se),(0,Y.h)(()=>this._pressedLetters.length>0),(0,J.U)(()=>this._pressedLetters.join(""))).subscribe(F=>{const T=this._getItemsArray();for(let q=1;q<T.length+1;q++){const H=(this._activeItemIndex+q)%T.length,ie=T[H];if(!this._skipPredicateFn(ie)&&0===ie.getLabel().toUpperCase().trim().indexOf(F)){this.setActiveItem(H);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(se=!0){return this._homeAndEnd=se,this}withPageUpDown(se=!0,F=10){return this._pageUpAndDown={enabled:se,delta:F},this}setActiveItem(se){const F=this._activeItem;this.updateActiveItem(se),this._activeItem!==F&&this.change.next(this._activeItemIndex)}onKeydown(se){const F=se.keyCode,q=["altKey","ctrlKey","metaKey","shiftKey"].every(H=>!se[H]||this._allowedModifierKeys.indexOf(H)>-1);switch(F){case me.Mf:return void this.tabOut.next();case me.JH:if(this._vertical&&q){this.setNextItemActive();break}return;case me.LH:if(this._vertical&&q){this.setPreviousItemActive();break}return;case me.SV:if(this._horizontal&&q){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case me.oh:if(this._horizontal&&q){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case me.Sd:if(this._homeAndEnd&&q){this.setFirstItemActive();break}return;case me.uR:if(this._homeAndEnd&&q){this.setLastItemActive();break}return;case me.Ku:if(this._pageUpAndDown.enabled&&q){const H=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(H>0?H:0,1);break}return;case me.VM:if(this._pageUpAndDown.enabled&&q){const H=this._activeItemIndex+this._pageUpAndDown.delta,ie=this._getItemsArray().length;this._setActiveItemByIndex(H<ie?H:ie-1,-1);break}return;default:return void((q||(0,me.Vb)(se,"shiftKey"))&&(se.key&&1===se.key.length?this._letterKeyStream.next(se.key.toLocaleUpperCase()):(F>=me.A&&F<=me.Z||F>=me.xE&&F<=me.aO)&&this._letterKeyStream.next(String.fromCharCode(F))))}this._pressedLetters=[],se.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(se){const F=this._getItemsArray(),T="number"==typeof se?se:F.indexOf(se);this._activeItem=F[T]??null,this._activeItemIndex=T}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(se){this._wrap?this._setActiveInWrapMode(se):this._setActiveInDefaultMode(se)}_setActiveInWrapMode(se){const F=this._getItemsArray();for(let T=1;T<=F.length;T++){const q=(this._activeItemIndex+se*T+F.length)%F.length;if(!this._skipPredicateFn(F[q]))return void this.setActiveItem(q)}}_setActiveInDefaultMode(se){this._setActiveItemByIndex(this._activeItemIndex+se,se)}_setActiveItemByIndex(se,F){const T=this._getItemsArray();if(T[se]){for(;this._skipPredicateFn(T[se]);)if(!T[se+=F])return;this.setActiveItem(se)}}_getItemsArray(){return this._items instanceof o.n_E?this._items.toArray():this._items}}class tt extends Jt{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(se){return this._origin=se,this}setActiveItem(se){super.setActiveItem(se),this.activeItem&&this.activeItem.focus(this._origin)}}let z=(()=>{class qe{constructor(F){this._platform=F}isDisabled(F){return F.hasAttribute("disabled")}isVisible(F){return function I(qe){return!!(qe.offsetWidth||qe.offsetHeight||"function"==typeof qe.getClientRects&&qe.getClientRects().length)}(F)&&"visible"===getComputedStyle(F).visibility}isTabbable(F){if(!this._platform.isBrowser)return!1;const T=function N(qe){try{return qe.frameElement}catch{return null}}(function dt(qe){return qe.ownerDocument&&qe.ownerDocument.defaultView||window}(F));if(T&&(-1===Ve(T)||!this.isVisible(T)))return!1;let q=F.nodeName.toLowerCase(),H=Ve(F);return F.hasAttribute("contenteditable")?-1!==H:!("iframe"===q||"object"===q||this._platform.WEBKIT&&this._platform.IOS&&!function He(qe){let se=qe.nodeName.toLowerCase(),F="input"===se&&qe.type;return"text"===F||"password"===F||"select"===se||"textarea"===se}(F))&&("audio"===q?!!F.hasAttribute("controls")&&-1!==H:"video"===q?-1!==H&&(null!==H||this._platform.FIREFOX||F.hasAttribute("controls")):F.tabIndex>=0)}isFocusable(F,T){return function xt(qe){return!function k(qe){return function $(qe){return"input"==qe.nodeName.toLowerCase()}(qe)&&"hidden"==qe.type}(qe)&&(function E(qe){let se=qe.nodeName.toLowerCase();return"input"===se||"select"===se||"button"===se||"textarea"===se}(qe)||function O(qe){return function te(qe){return"a"==qe.nodeName.toLowerCase()}(qe)&&qe.hasAttribute("href")}(qe)||qe.hasAttribute("contenteditable")||_e(qe))}(F)&&!this.isDisabled(F)&&(T?.ignoreVisibility||this.isVisible(F))}static#e=this.\u0275fac=function(T){return new(T||qe)(o.LFG(ve.t4))};static#t=this.\u0275prov=o.Yz7({token:qe,factory:qe.\u0275fac,providedIn:"root"})}return qe})();function _e(qe){if(!qe.hasAttribute("tabindex")||void 0===qe.tabIndex)return!1;let se=qe.getAttribute("tabindex");return!(!se||isNaN(parseInt(se,10)))}function Ve(qe){if(!_e(qe))return null;const se=parseInt(qe.getAttribute("tabindex")||"",10);return isNaN(se)?-1:se}class Mt{get enabled(){return this._enabled}set enabled(se){this._enabled=se,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(se,this._startAnchor),this._toggleAnchorTabIndex(se,this._endAnchor))}constructor(se,F,T,q,H=!1){this._element=se,this._checker=F,this._ngZone=T,this._document=q,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,H||this.attachAnchors()}destroy(){const se=this._startAnchor,F=this._endAnchor;se&&(se.removeEventListener("focus",this.startAnchorListener),se.remove()),F&&(F.removeEventListener("focus",this.endAnchorListener),F.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(se){return new Promise(F=>{this._executeOnStable(()=>F(this.focusInitialElement(se)))})}focusFirstTabbableElementWhenReady(se){return new Promise(F=>{this._executeOnStable(()=>F(this.focusFirstTabbableElement(se)))})}focusLastTabbableElementWhenReady(se){return new Promise(F=>{this._executeOnStable(()=>F(this.focusLastTabbableElement(se)))})}_getRegionBoundary(se){const F=this._element.querySelectorAll(`[cdk-focus-region-${se}], [cdkFocusRegion${se}], [cdk-focus-${se}]`);return"start"==se?F.length?F[0]:this._getFirstTabbableElement(this._element):F.length?F[F.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(se){const F=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(F){if(!this._checker.isFocusable(F)){const T=this._getFirstTabbableElement(F);return T?.focus(se),!!T}return F.focus(se),!0}return this.focusFirstTabbableElement(se)}focusFirstTabbableElement(se){const F=this._getRegionBoundary("start");return F&&F.focus(se),!!F}focusLastTabbableElement(se){const F=this._getRegionBoundary("end");return F&&F.focus(se),!!F}hasAttached(){return this._hasAttached}_getFirstTabbableElement(se){if(this._checker.isFocusable(se)&&this._checker.isTabbable(se))return se;const F=se.children;for(let T=0;T<F.length;T++){const q=F[T].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(F[T]):null;if(q)return q}return null}_getLastTabbableElement(se){if(this._checker.isFocusable(se)&&this._checker.isTabbable(se))return se;const F=se.children;for(let T=F.length-1;T>=0;T--){const q=F[T].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(F[T]):null;if(q)return q}return null}_createAnchor(){const se=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,se),se.classList.add("cdk-visually-hidden"),se.classList.add("cdk-focus-trap-anchor"),se.setAttribute("aria-hidden","true"),se}_toggleAnchorTabIndex(se,F){se?F.setAttribute("tabindex","0"):F.removeAttribute("tabindex")}toggleAnchors(se){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(se,this._startAnchor),this._toggleAnchorTabIndex(se,this._endAnchor))}_executeOnStable(se){this._ngZone.isStable?se():this._ngZone.onStable.pipe((0,re.q)(1)).subscribe(se)}}let Le=(()=>{class qe{constructor(F,T,q){this._checker=F,this._ngZone=T,this._document=q}create(F,T=!1){return new Mt(F,this._checker,this._ngZone,this._document,T)}static#e=this.\u0275fac=function(T){return new(T||qe)(o.LFG(z),o.LFG(o.R0b),o.LFG(f.K0))};static#t=this.\u0275prov=o.Yz7({token:qe,factory:qe.\u0275fac,providedIn:"root"})}return qe})();function Ct(qe){return 0===qe.buttons||0===qe.detail}function vt(qe){const se=qe.touches&&qe.touches[0]||qe.changedTouches&&qe.changedTouches[0];return!(!se||-1!==se.identifier||null!=se.radiusX&&1!==se.radiusX||null!=se.radiusY&&1!==se.radiusY)}const Nt=new o.OlP("cdk-input-modality-detector-options"),ut={ignoreKeys:[me.zL,me.jx,me.b2,me.MW,me.JU]},_t=(0,ve.i$)({passive:!0,capture:!0});let on=(()=>{class qe{get mostRecentModality(){return this._modality.value}constructor(F,T,q,H){this._platform=F,this._mostRecentTarget=null,this._modality=new ne.X(null),this._lastTouchMs=0,this._onKeydown=ie=>{this._options?.ignoreKeys?.some(x=>x===ie.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,ve.sA)(ie))},this._onMousedown=ie=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Ct(ie)?"keyboard":"mouse"),this._mostRecentTarget=(0,ve.sA)(ie))},this._onTouchstart=ie=>{vt(ie)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,ve.sA)(ie))},this._options={...ut,...H},this.modalityDetected=this._modality.pipe((0,pe.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,le.x)()),F.isBrowser&&T.runOutsideAngular(()=>{q.addEventListener("keydown",this._onKeydown,_t),q.addEventListener("mousedown",this._onMousedown,_t),q.addEventListener("touchstart",this._onTouchstart,_t)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,_t),document.removeEventListener("mousedown",this._onMousedown,_t),document.removeEventListener("touchstart",this._onTouchstart,_t))}static#e=this.\u0275fac=function(T){return new(T||qe)(o.LFG(ve.t4),o.LFG(o.R0b),o.LFG(f.K0),o.LFG(Nt,8))};static#t=this.\u0275prov=o.Yz7({token:qe,factory:qe.\u0275fac,providedIn:"root"})}return qe})();const pn=new o.OlP("cdk-focus-monitor-default-options"),Ut=(0,ve.i$)({passive:!0,capture:!0});let ri=(()=>{class qe{constructor(F,T,q,H,ie){this._ngZone=F,this._platform=T,this._inputModalityDetector=q,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 be.x,this._rootNodeFocusAndBlurListener=x=>{for(let ee=(0,ve.sA)(x);ee;ee=ee.parentElement)"focus"===x.type?this._onFocus(x,ee):this._onBlur(x,ee)},this._document=H,this._detectionMode=ie?.detectionMode||0}monitor(F,T=!1){const q=(0,Z.fI)(F);if(!this._platform.isBrowser||1!==q.nodeType)return(0,ue.of)();const H=(0,ve.kV)(q)||this._getDocument(),ie=this._elementInfo.get(q);if(ie)return T&&(ie.checkChildren=!0),ie.subject;const x={checkChildren:T,subject:new be.x,rootNode:H};return this._elementInfo.set(q,x),this._registerGlobalListeners(x),x.subject}stopMonitoring(F){const T=(0,Z.fI)(F),q=this._elementInfo.get(T);q&&(q.subject.complete(),this._setClasses(T),this._elementInfo.delete(T),this._removeGlobalListeners(q))}focusVia(F,T,q){const H=(0,Z.fI)(F);H===this._getDocument().activeElement?this._getClosestElementsInfo(H).forEach(([x,P])=>this._originChanged(x,T,P)):(this._setOrigin(T),"function"==typeof H.focus&&H.focus(q))}ngOnDestroy(){this._elementInfo.forEach((F,T)=>this.stopMonitoring(T))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(F){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(F)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:F&&this._isLastInteractionFromInputLabel(F)?"mouse":"program"}_shouldBeAttributedToTouch(F){return 1===this._detectionMode||!!F?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(F,T){F.classList.toggle("cdk-focused",!!T),F.classList.toggle("cdk-touch-focused","touch"===T),F.classList.toggle("cdk-keyboard-focused","keyboard"===T),F.classList.toggle("cdk-mouse-focused","mouse"===T),F.classList.toggle("cdk-program-focused","program"===T)}_setOrigin(F,T=!1){this._ngZone.runOutsideAngular(()=>{this._origin=F,this._originFromTouchInteraction="touch"===F&&T,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(F,T){const q=this._elementInfo.get(T),H=(0,ve.sA)(F);!q||!q.checkChildren&&T!==H||this._originChanged(T,this._getFocusOrigin(H),q)}_onBlur(F,T){const q=this._elementInfo.get(T);!q||q.checkChildren&&F.relatedTarget instanceof Node&&T.contains(F.relatedTarget)||(this._setClasses(T),this._emitOrigin(q,null))}_emitOrigin(F,T){F.subject.observers.length&&this._ngZone.run(()=>F.subject.next(T))}_registerGlobalListeners(F){if(!this._platform.isBrowser)return;const T=F.rootNode,q=this._rootNodeFocusListenerCount.get(T)||0;q||this._ngZone.runOutsideAngular(()=>{T.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ut),T.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ut)}),this._rootNodeFocusListenerCount.set(T,q+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Se.R)(this._stopInputModalityDetector)).subscribe(H=>{this._setOrigin(H,!0)}))}_removeGlobalListeners(F){const T=F.rootNode;if(this._rootNodeFocusListenerCount.has(T)){const q=this._rootNodeFocusListenerCount.get(T);q>1?this._rootNodeFocusListenerCount.set(T,q-1):(T.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ut),T.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ut),this._rootNodeFocusListenerCount.delete(T))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(F,T,q){this._setClasses(F,T),this._emitOrigin(q,T),this._lastFocusOrigin=T}_getClosestElementsInfo(F){const T=[];return this._elementInfo.forEach((q,H)=>{(H===F||q.checkChildren&&H.contains(F))&&T.push([H,q])}),T}_isLastInteractionFromInputLabel(F){const{_mostRecentTarget:T,mostRecentModality:q}=this._inputModalityDetector;if("mouse"!==q||!T||T===F||"INPUT"!==F.nodeName&&"TEXTAREA"!==F.nodeName||F.disabled)return!1;const H=F.labels;if(H)for(let ie=0;ie<H.length;ie++)if(H[ie].contains(T))return!0;return!1}static#e=this.\u0275fac=function(T){return new(T||qe)(o.LFG(o.R0b),o.LFG(ve.t4),o.LFG(on),o.LFG(f.K0,8),o.LFG(pn,8))};static#t=this.\u0275prov=o.Yz7({token:qe,factory:qe.\u0275fac,providedIn:"root"})}return qe})(),kn=(()=>{class qe{constructor(F,T){this._elementRef=F,this._focusMonitor=T,this._focusOrigin=null,this.cdkFocusChange=new o.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const F=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(F,1===F.nodeType&&F.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(T=>{this._focusOrigin=T,this.cdkFocusChange.emit(T)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(T){return new(T||qe)(o.Y36(o.SBq),o.Y36(ri))};static#t=this.\u0275dir=o.lG2({type:qe,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return qe})();const It="cdk-high-contrast-black-on-white",Ht="cdk-high-contrast-white-on-black",Ln="cdk-high-contrast-active";let Yn=(()=>{class qe{constructor(F,T){this._platform=F,this._document=T,this._breakpointSubscription=(0,o.f3M)(ae.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const F=this._document.createElement("div");F.style.backgroundColor="rgb(1,2,3)",F.style.position="absolute",this._document.body.appendChild(F);const T=this._document.defaultView||window,q=T&&T.getComputedStyle?T.getComputedStyle(F):null,H=(q&&q.backgroundColor||"").replace(/ /g,"");switch(F.remove(),H){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 F=this._document.body.classList;F.remove(Ln,It,Ht),this._hasCheckedHighContrastMode=!0;const T=this.getHighContrastMode();1===T?F.add(Ln,It):2===T&&F.add(Ln,Ht)}}static#e=this.\u0275fac=function(T){return new(T||qe)(o.LFG(ve.t4),o.LFG(f.K0))};static#t=this.\u0275prov=o.Yz7({token:qe,factory:qe.\u0275fac,providedIn:"root"})}return qe})(),Kn=(()=>{class qe{constructor(F){F._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(T){return new(T||qe)(o.LFG(Yn))};static#t=this.\u0275mod=o.oAB({type:qe});static#n=this.\u0275inj=o.cJS({imports:[G.Q8]})}return qe})()},4877:(Ke,De,y)=>{"use strict";y.d(De,{Is:()=>ue,vT:()=>fe});var f=y(1322),o=y(9462);const ve=new f.OlP("cdk-dir-doc",{providedIn:"root",factory:function be(){return(0,f.f3M)(o.K0)}}),de=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let ue=(()=>{class Q{constructor(J){this.value="ltr",this.change=new f.vpe,J&&(this.value=function ne(Q){const Y=Q?.toLowerCase()||"";return"auto"===Y&&typeof navigator<"u"&&navigator?.language?de.test(navigator.language)?"rtl":"ltr":"rtl"===Y?"rtl":"ltr"}((J.body?J.body.dir:null)||(J.documentElement?J.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(re){return new(re||Q)(f.LFG(ve,8))};static#t=this.\u0275prov=f.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"})}return Q})(),fe=(()=>{class Q{static#e=this.\u0275fac=function(re){return new(re||Q)};static#t=this.\u0275mod=f.oAB({type:Q});static#n=this.\u0275inj=f.cJS({})}return Q})()},5988:(Ke,De,y)=>{"use strict";y.d(De,{Eq:()=>de,HM:()=>ne,Ig:()=>o,fI:()=>ue,su:()=>ve});var f=y(1322);function o(fe){return null!=fe&&"false"!=`${fe}`}function ve(fe,Q=0){return function be(fe){return!isNaN(parseFloat(fe))&&!isNaN(Number(fe))}(fe)?Number(fe):Q}function de(fe){return Array.isArray(fe)?fe:[fe]}function ne(fe){return null==fe?"":"string"==typeof fe?fe:`${fe}px`}function ue(fe){return fe instanceof f.SBq?fe.nativeElement:fe}},7605:(Ke,De,y)=>{"use strict";y.d(De,{A:()=>k,JH:()=>ce,JU:()=>ne,K5:()=>de,Ku:()=>re,LH:()=>Z,L_:()=>J,MW:()=>un,Mf:()=>ve,SV:()=>ae,Sd:()=>Se,VM:()=>pe,Vb:()=>On,Z:()=>lt,ZH:()=>o,aO:()=>X,b2:()=>An,hY:()=>Y,jx:()=>ue,oh:()=>G,uR:()=>le,xE:()=>Ne,yY:()=>je,zL:()=>me});const o=8,ve=9,de=13,ne=16,ue=17,me=18,Y=27,J=32,re=33,pe=34,le=35,Se=36,G=37,Z=38,ae=39,ce=40,je=46,Ne=48,X=57,k=65,lt=90,un=91,An=224;function On(At,...$i){return $i.length?$i.some(Bn=>At[Bn]):At.altKey||At.shiftKey||At.ctrlKey||At.metaKey}},4515:(Ke,De,y)=>{"use strict";y.d(De,{Yg:()=>wt});var f=y(1322),o=y(5988),ve=y(9453),be=y(7371),de=y(1003),ne=y(107),ue=y(2390),me=y(4574),fe=y(177),Q=y(5017),Y=y(2829),J=y(8382);function le(tt,X,z){tt?(0,J.f)(z,tt,X):X()}var Se=y(9925),G=y(3581),Z=y(1800),ae=y(2067),ce=y(8412),Ie=y(19),ke=y(5779),Fe=y(3844);const Ne=new Set;let we,Me=(()=>{class tt{constructor(z,N){this._platform=z,this._nonce=N,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):at}matchMedia(z){return(this._platform.WEBKIT||this._platform.BLINK)&&function ze(tt,X){if(!Ne.has(tt))try{we||(we=document.createElement("style"),X&&(we.nonce=X),we.setAttribute("type","text/css"),document.head.appendChild(we)),we.sheet&&(we.sheet.insertRule(`@media ${tt} {body{ }}`,0),Ne.add(tt))}catch(z){console.error(z)}}(z,this._nonce),this._matchMedia(z)}static#e=this.\u0275fac=function(N){return new(N||tt)(f.LFG(Fe.t4),f.LFG(f.Ojb,8))};static#t=this.\u0275prov=f.Yz7({token:tt,factory:tt.\u0275fac,providedIn:"root"})}return tt})();function at(tt){return{matches:"all"===tt||""===tt,media:tt,addListener:()=>{},removeListener:()=>{}}}let wt=(()=>{class tt{constructor(z,N){this._mediaMatcher=z,this._zone=N,this._queries=new Map,this._destroySubject=new ve.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(z){return Jt((0,o.Eq)(z)).some(I=>this._registerQuery(I).mql.matches)}observe(z){let E=function re(...tt){const X=(0,fe.yG)(tt),z=(0,fe.jO)(tt),{args:N,keys:I}=(0,de.D)(tt);if(0===N.length)return(0,ne.D)([],X);const E=new be.y(function pe(tt,X,z=ue.y){return N=>{le(X,()=>{const{length:I}=tt,E=new Array(I);let k=I,O=I;for(let $=0;$<I;$++)le(X,()=>{const te=(0,ne.D)(tt[$],X);let _e=!1;te.subscribe((0,Y.x)(N,Ve=>{E[$]=Ve,_e||(_e=!0,O--),O||N.next(z(E.slice()))},()=>{--k||N.complete()}))},N)},N)}}(N,X,I?k=>(0,Q.n)(I,k):ue.y));return z?E.pipe((0,me.Z)(z)):E}(Jt((0,o.Eq)(z)).map(k=>this._registerQuery(k).observable));return E=(0,Se.z)(E.pipe((0,G.q)(1)),E.pipe((0,Z.T)(1),(0,ae.b)(0))),E.pipe((0,ce.U)(k=>{const O={matches:!1,breakpoints:{}};return k.forEach(({matches:$,query:te})=>{O.matches=O.matches||$,O.breakpoints[te]=$}),O}))}_registerQuery(z){if(this._queries.has(z))return this._queries.get(z);const N=this._mediaMatcher.matchMedia(z),E={observable:new be.y(k=>{const O=$=>this._zone.run(()=>k.next($));return N.addListener(O),()=>{N.removeListener(O)}}).pipe((0,Ie.O)(N),(0,ce.U)(({matches:k})=>({query:z,matches:k})),(0,ke.R)(this._destroySubject)),mql:N};return this._queries.set(z,E),E}static#e=this.\u0275fac=function(N){return new(N||tt)(f.LFG(Me),f.LFG(f.R0b))};static#t=this.\u0275prov=f.Yz7({token:tt,factory:tt.\u0275fac,providedIn:"root"})}return tt})();function Jt(tt){return tt.map(X=>X.split(",")).reduce((X,z)=>X.concat(z)).map(X=>X.trim())}},8267:(Ke,De,y)=>{"use strict";y.d(De,{Q8:()=>fe,wD:()=>me});var f=y(5988),o=y(1322),ve=y(7371),be=y(9453),de=y(2067);let ne=(()=>{class Q{create(J){return typeof MutationObserver>"u"?null:new MutationObserver(J)}static#e=this.\u0275fac=function(re){return new(re||Q)};static#t=this.\u0275prov=o.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"})}return Q})(),ue=(()=>{class Q{constructor(J){this._mutationObserverFactory=J,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((J,re)=>this._cleanupObserver(re))}observe(J){const re=(0,f.fI)(J);return new ve.y(pe=>{const Se=this._observeElement(re).subscribe(pe);return()=>{Se.unsubscribe(),this._unobserveElement(re)}})}_observeElement(J){if(this._observedElements.has(J))this._observedElements.get(J).count++;else{const re=new be.x,pe=this._mutationObserverFactory.create(le=>re.next(le));pe&&pe.observe(J,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(J,{observer:pe,stream:re,count:1})}return this._observedElements.get(J).stream}_unobserveElement(J){this._observedElements.has(J)&&(this._observedElements.get(J).count--,this._observedElements.get(J).count||this._cleanupObserver(J))}_cleanupObserver(J){if(this._observedElements.has(J)){const{observer:re,stream:pe}=this._observedElements.get(J);re&&re.disconnect(),pe.complete(),this._observedElements.delete(J)}}static#e=this.\u0275fac=function(re){return new(re||Q)(o.LFG(ne))};static#t=this.\u0275prov=o.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"})}return Q})(),me=(()=>{class Q{get disabled(){return this._disabled}set disabled(J){this._disabled=J,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(J){this._debounce=(0,f.su)(J),this._subscribe()}constructor(J,re,pe){this._contentObserver=J,this._elementRef=re,this._ngZone=pe,this.event=new o.vpe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const J=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?J.pipe((0,de.b)(this.debounce)):J).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(re){return new(re||Q)(o.Y36(ue),o.Y36(o.SBq),o.Y36(o.R0b))};static#t=this.\u0275dir=o.lG2({type:Q,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled",o.VuI],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],features:[o.Xq5]})}return Q})(),fe=(()=>{class Q{static#e=this.\u0275fac=function(re){return new(re||Q)};static#t=this.\u0275mod=o.oAB({type:Q});static#n=this.\u0275inj=o.cJS({providers:[ne]})}return Q})()},3844:(Ke,De,y)=>{"use strict";y.d(De,{Mq:()=>pe,Oy:()=>Ie,ht:()=>ae,i$:()=>Y,kV:()=>Z,sA:()=>ce,t4:()=>be});var f=y(1322),o=y(9462);let ve;try{ve=typeof Intl<"u"&&Intl.v8BreakIterator}catch{ve=!1}let fe,re,Se,be=(()=>{class ke{constructor(je){this._platformId=je,this.isBrowser=this._platformId?(0,o.NF)(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&&!ve)&&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(Ne){return new(Ne||ke)(f.LFG(f.Lbi))};static#t=this.\u0275prov=f.Yz7({token:ke,factory:ke.\u0275fac,providedIn:"root"})}return ke})();function Y(ke){return function Q(){if(null==fe&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>fe=!0}))}finally{fe=fe||!1}return fe}()?ke:!!ke.capture}function pe(){if(null==re){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return re=!1,re;if("scrollBehavior"in document.documentElement.style)re=!0;else{const ke=Element.prototype.scrollTo;re=!!ke&&!/\{\s*\[native code\]\s*\}/.test(ke.toString())}}return re}function Z(ke){if(function G(){if(null==Se){const ke=typeof document<"u"?document.head:null;Se=!(!ke||!ke.createShadowRoot&&!ke.attachShadow)}return Se}()){const Fe=ke.getRootNode?ke.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&Fe instanceof ShadowRoot)return Fe}return null}function ae(){let ke=typeof document<"u"&&document?document.activeElement:null;for(;ke&&ke.shadowRoot;){const Fe=ke.shadowRoot.activeElement;if(Fe===ke)break;ke=Fe}return ke}function ce(ke){return ke.composedPath?ke.composedPath()[0]:ke.target}function Ie(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},6512:(Ke,De,y)=>{"use strict";y.d(De,{C5:()=>Q,Pl:()=>ae,UE:()=>Y,eL:()=>Ie,en:()=>re,ig:()=>G,u0:()=>le});var f=y(1322),o=y(9462);class fe{attach(je){return this._attachedHost=je,je.attach(this)}detach(){let je=this._attachedHost;null!=je&&(this._attachedHost=null,je.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(je){this._attachedHost=je}}class Q extends fe{constructor(je,Ne,we,Me,ze){super(),this.component=je,this.viewContainerRef=Ne,this.injector=we,this.componentFactoryResolver=Me,this.projectableNodes=ze}}class Y extends fe{constructor(je,Ne,we,Me){super(),this.templateRef=je,this.viewContainerRef=Ne,this.context=we,this.injector=Me}get origin(){return this.templateRef.elementRef}attach(je,Ne=this.context){return this.context=Ne,super.attach(je)}detach(){return this.context=void 0,super.detach()}}class J extends fe{constructor(je){super(),this.element=je instanceof f.SBq?je.nativeElement:je}}class re{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(je){return je instanceof Q?(this._attachedPortal=je,this.attachComponentPortal(je)):je instanceof Y?(this._attachedPortal=je,this.attachTemplatePortal(je)):this.attachDomPortal&&je instanceof J?(this._attachedPortal=je,this.attachDomPortal(je)):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(je){this._disposeFn=je}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class le extends re{constructor(je,Ne,we,Me,ze){super(),this.outletElement=je,this._componentFactoryResolver=Ne,this._appRef=we,this._defaultInjector=Me,this.attachDomPortal=at=>{const wt=at.element,Jt=this._document.createComment("dom-portal");wt.parentNode.insertBefore(Jt,wt),this.outletElement.appendChild(wt),this._attachedPortal=at,super.setDisposeFn(()=>{Jt.parentNode&&Jt.parentNode.replaceChild(wt,Jt)})},this._document=ze}attachComponentPortal(je){const we=(je.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(je.component);let Me;return je.viewContainerRef?(Me=je.viewContainerRef.createComponent(we,je.viewContainerRef.length,je.injector||je.viewContainerRef.injector,je.projectableNodes||void 0),this.setDisposeFn(()=>Me.destroy())):(Me=we.create(je.injector||this._defaultInjector||f.zs3.NULL),this._appRef.attachView(Me.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(Me.hostView),Me.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(Me)),this._attachedPortal=je,Me}attachTemplatePortal(je){let Ne=je.viewContainerRef,we=Ne.createEmbeddedView(je.templateRef,je.context,{injector:je.injector});return we.rootNodes.forEach(Me=>this.outletElement.appendChild(Me)),we.detectChanges(),this.setDisposeFn(()=>{let Me=Ne.indexOf(we);-1!==Me&&Ne.remove(Me)}),this._attachedPortal=je,we}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(je){return je.hostView.rootNodes[0]}}let G=(()=>{class Fe extends Y{constructor(Ne,we){super(Ne,we)}static#e=this.\u0275fac=function(we){return new(we||Fe)(f.Y36(f.Rgc),f.Y36(f.s_b))};static#t=this.\u0275dir=f.lG2({type:Fe,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[f.qOj]})}return Fe})(),ae=(()=>{class Fe extends re{constructor(Ne,we,Me){super(),this._componentFactoryResolver=Ne,this._viewContainerRef=we,this._isInitialized=!1,this.attached=new f.vpe,this.attachDomPortal=ze=>{const at=ze.element,wt=this._document.createComment("dom-portal");ze.setAttachedHost(this),at.parentNode.insertBefore(wt,at),this._getRootNode().appendChild(at),this._attachedPortal=ze,super.setDisposeFn(()=>{wt.parentNode&&wt.parentNode.replaceChild(at,wt)})},this._document=Me}get portal(){return this._attachedPortal}set portal(Ne){this.hasAttached()&&!Ne&&!this._isInitialized||(this.hasAttached()&&super.detach(),Ne&&super.attach(Ne),this._attachedPortal=Ne||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(Ne){Ne.setAttachedHost(this);const we=null!=Ne.viewContainerRef?Ne.viewContainerRef:this._viewContainerRef,ze=(Ne.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Ne.component),at=we.createComponent(ze,we.length,Ne.injector||we.injector,Ne.projectableNodes||void 0);return we!==this._viewContainerRef&&this._getRootNode().appendChild(at.hostView.rootNodes[0]),super.setDisposeFn(()=>at.destroy()),this._attachedPortal=Ne,this._attachedRef=at,this.attached.emit(at),at}attachTemplatePortal(Ne){Ne.setAttachedHost(this);const we=this._viewContainerRef.createEmbeddedView(Ne.templateRef,Ne.context,{injector:Ne.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Ne,this._attachedRef=we,this.attached.emit(we),we}_getRootNode(){const Ne=this._viewContainerRef.element.nativeElement;return Ne.nodeType===Ne.ELEMENT_NODE?Ne:Ne.parentNode}static#e=this.\u0275fac=function(we){return new(we||Fe)(f.Y36(f._Vd),f.Y36(f.s_b),f.Y36(o.K0))};static#t=this.\u0275dir=f.lG2({type:Fe,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[f.qOj]})}return Fe})(),Ie=(()=>{class Fe{static#e=this.\u0275fac=function(we){return new(we||Fe)};static#t=this.\u0275mod=f.oAB({type:Fe});static#n=this.\u0275inj=f.cJS({})}return Fe})()},9467:(Ke,De,y)=>{"use strict";y.d(De,{ZD:()=>dt,mF:()=>X,Cl:()=>Mt,rL:()=>I});var f=y(5988),o=y(1322),ve=y(9453),be=y(9627),de=y(7371),ne=y(6058),ue=y(2290),me=y(9592);const fe={schedule(Le){let Ze=requestAnimationFrame,U=cancelAnimationFrame;const{delegate:K}=fe;K&&(Ze=K.requestAnimationFrame,U=K.cancelAnimationFrame);const Oe=Ze(Ge=>{U=void 0,Le(Ge)});return new me.w0(()=>U?.(Oe))},requestAnimationFrame(...Le){const{delegate:Ze}=fe;return(Ze?.requestAnimationFrame||requestAnimationFrame)(...Le)},cancelAnimationFrame(...Le){const{delegate:Ze}=fe;return(Ze?.cancelAnimationFrame||cancelAnimationFrame)(...Le)},delegate:void 0};var Y=y(5349);new class J extends Y.v{flush(Ze){this._active=!0;const U=this._scheduled;this._scheduled=void 0;const{actions:K}=this;let Oe;Ze=Ze||K.shift();do{if(Oe=Ze.execute(Ze.state,Ze.delay))break}while((Ze=K[0])&&Ze.id===U&&K.shift());if(this._active=!1,Oe){for(;(Ze=K[0])&&Ze.id===U&&K.shift();)Ze.unsubscribe();throw Oe}}}(class Q extends ue.o{constructor(Ze,U){super(Ze,U),this.scheduler=Ze,this.work=U}requestAsyncId(Ze,U,K=0){return null!==K&&K>0?super.requestAsyncId(Ze,U,K):(Ze.actions.push(this),Ze._scheduled||(Ze._scheduled=fe.requestAnimationFrame(()=>Ze.flush(void 0))))}recycleAsyncId(Ze,U,K=0){var Oe;if(null!=K?K>0:this.delay>0)return super.recycleAsyncId(Ze,U,K);const{actions:Ge}=Ze;null!=U&&(null===(Oe=Ge[Ge.length-1])||void 0===Oe?void 0:Oe.id)!==U&&(fe.cancelAnimationFrame(U),Ze._scheduled=void 0)}});y(4453);var Se=y(6589),G=y(4049),Z=y(8299),ae=y(2829),Ie=y(5117);function ke(Le,Ze=Se.z){return function ce(Le){return(0,G.e)((Ze,U)=>{let K=!1,Oe=null,Ge=null,rt=!1;const Ct=()=>{if(Ge?.unsubscribe(),Ge=null,K){K=!1;const Nt=Oe;Oe=null,U.next(Nt)}rt&&U.complete()},vt=()=>{Ge=null,rt&&U.complete()};Ze.subscribe((0,ae.x)(U,Nt=>{K=!0,Oe=Nt,Ge||(0,Z.Xf)(Le(Nt)).subscribe(Ge=(0,ae.x)(U,Ct,vt))},()=>{rt=!0,(!K||!Ge||Ge.closed)&&U.complete()}))})}(()=>(0,Ie.H)(Le,Ze))}var Fe=y(1497),je=y(3844),Ne=y(9462),we=y(4877);let X=(()=>{class Le{constructor(U,K,Oe){this._ngZone=U,this._platform=K,this._scrolled=new ve.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Oe}register(U){this.scrollContainers.has(U)||this.scrollContainers.set(U,U.elementScrolled().subscribe(()=>this._scrolled.next(U)))}deregister(U){const K=this.scrollContainers.get(U);K&&(K.unsubscribe(),this.scrollContainers.delete(U))}scrolled(U=20){return this._platform.isBrowser?new de.y(K=>{this._globalSubscription||this._addGlobalListener();const Oe=U>0?this._scrolled.pipe(ke(U)).subscribe(K):this._scrolled.subscribe(K);return this._scrolledCount++,()=>{Oe.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,be.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((U,K)=>this.deregister(K)),this._scrolled.complete()}ancestorScrolled(U,K){const Oe=this.getAncestorScrollContainers(U);return this.scrolled(K).pipe((0,Fe.h)(Ge=>!Ge||Oe.indexOf(Ge)>-1))}getAncestorScrollContainers(U){const K=[];return this.scrollContainers.forEach((Oe,Ge)=>{this._scrollableContainsElement(Ge,U)&&K.push(Ge)}),K}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(U,K){let Oe=(0,f.fI)(K),Ge=U.getElementRef().nativeElement;do{if(Oe==Ge)return!0}while(Oe=Oe.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const U=this._getWindow();return(0,ne.R)(U.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(K){return new(K||Le)(o.LFG(o.R0b),o.LFG(je.t4),o.LFG(Ne.K0,8))};static#t=this.\u0275prov=o.Yz7({token:Le,factory:Le.\u0275fac,providedIn:"root"})}return Le})(),I=(()=>{class Le{constructor(U,K,Oe){this._platform=U,this._change=new ve.x,this._changeListener=Ge=>{this._change.next(Ge)},this._document=Oe,K.runOutsideAngular(()=>{if(U.isBrowser){const Ge=this._getWindow();Ge.addEventListener("resize",this._changeListener),Ge.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const U=this._getWindow();U.removeEventListener("resize",this._changeListener),U.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const U={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),U}getViewportRect(){const U=this.getViewportScrollPosition(),{width:K,height:Oe}=this.getViewportSize();return{top:U.top,left:U.left,bottom:U.top+Oe,right:U.left+K,height:Oe,width:K}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const U=this._document,K=this._getWindow(),Oe=U.documentElement,Ge=Oe.getBoundingClientRect();return{top:-Ge.top||U.body.scrollTop||K.scrollY||Oe.scrollTop||0,left:-Ge.left||U.body.scrollLeft||K.scrollX||Oe.scrollLeft||0}}change(U=20){return U>0?this._change.pipe(ke(U)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const U=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:U.innerWidth,height:U.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(K){return new(K||Le)(o.LFG(je.t4),o.LFG(o.R0b),o.LFG(Ne.K0,8))};static#t=this.\u0275prov=o.Yz7({token:Le,factory:Le.\u0275fac,providedIn:"root"})}return Le})(),dt=(()=>{class Le{static#e=this.\u0275fac=function(K){return new(K||Le)};static#t=this.\u0275mod=o.oAB({type:Le});static#n=this.\u0275inj=o.cJS({})}return Le})(),Mt=(()=>{class Le{static#e=this.\u0275fac=function(K){return new(K||Le)};static#t=this.\u0275mod=o.oAB({type:Le});static#n=this.\u0275inj=o.cJS({imports:[we.vT,dt,we.vT,dt]})}return Le})()},9462:(Ke,De,y)=>{"use strict";y.d(De,{ED:()=>Tn,HT:()=>be,JF:()=>yo,K0:()=>ne,Mx:()=>Re,NF:()=>ps,O5:()=>An,Ov:()=>Io,PM:()=>gs,RF:()=>_n,Ye:()=>G,bD:()=>fs,ez:()=>zn,mk:()=>$e,n9:()=>dn,q:()=>ve,sg:()=>Xt,tP:()=>Zo,w_:()=>de});var f=y(1322);let o=null;function ve(){return o}function be(_){o||(o=_)}class de{}const ne=new f.OlP("DocumentToken");let ue=(()=>{class _{historyGo(w){throw new Error("Not implemented")}static#e=this.\u0275fac=function(A){return new(A||_)};static#t=this.\u0275prov=f.Yz7({token:_,factory:()=>(0,f.f3M)(fe),providedIn:"platform"})}return _})(),fe=(()=>{class _ extends ue{constructor(){super(),this._doc=(0,f.f3M)(ne),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ve().getBaseHref(this._doc)}onPopState(w){const A=ve().getGlobalEventTarget(this._doc,"window");return A.addEventListener("popstate",w,!1),()=>A.removeEventListener("popstate",w)}onHashChange(w){const A=ve().getGlobalEventTarget(this._doc,"window");return A.addEventListener("hashchange",w,!1),()=>A.removeEventListener("hashchange",w)}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(w){this._location.pathname=w}pushState(w,A,he){this._history.pushState(w,A,he)}replaceState(w,A,he){this._history.replaceState(w,A,he)}forward(){this._history.forward()}back(){this._history.back()}historyGo(w=0){this._history.go(w)}getState(){return this._history.state}static#e=this.\u0275fac=function(A){return new(A||_)};static#t=this.\u0275prov=f.Yz7({token:_,factory:()=>new _,providedIn:"platform"})}return _})();function Q(_,L){if(0==_.length)return L;if(0==L.length)return _;let w=0;return _.endsWith("/")&&w++,L.startsWith("/")&&w++,2==w?_+L.substring(1):1==w?_+L:_+"/"+L}function Y(_){const L=_.match(/#|\?|$/),w=L&&L.index||_.length;return _.slice(0,w-("/"===_[w-1]?1:0))+_.slice(w)}function J(_){return _&&"?"!==_[0]?"?"+_:_}let re=(()=>{class _{historyGo(w){throw new Error("Not implemented")}static#e=this.\u0275fac=function(A){return new(A||_)};static#t=this.\u0275prov=f.Yz7({token:_,factory:()=>(0,f.f3M)(le),providedIn:"root"})}return _})();const pe=new f.OlP("appBaseHref");let le=(()=>{class _ extends re{constructor(w,A){super(),this._platformLocation=w,this._removeListenerFns=[],this._baseHref=A??this._platformLocation.getBaseHrefFromDOM()??(0,f.f3M)(ne).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(w){this._removeListenerFns.push(this._platformLocation.onPopState(w),this._platformLocation.onHashChange(w))}getBaseHref(){return this._baseHref}prepareExternalUrl(w){return Q(this._baseHref,w)}path(w=!1){const A=this._platformLocation.pathname+J(this._platformLocation.search),he=this._platformLocation.hash;return he&&w?`${A}${he}`:A}pushState(w,A,he,We){const ot=this.prepareExternalUrl(he+J(We));this._platformLocation.pushState(w,A,ot)}replaceState(w,A,he,We){const ot=this.prepareExternalUrl(he+J(We));this._platformLocation.replaceState(w,A,ot)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(w=0){this._platformLocation.historyGo?.(w)}static#e=this.\u0275fac=function(A){return new(A||_)(f.LFG(ue),f.LFG(pe,8))};static#t=this.\u0275prov=f.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})(),G=(()=>{class _{constructor(w){this._subject=new f.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=w;const A=this._locationStrategy.getBaseHref();this._basePath=function Ie(_){if(new RegExp("^(https?:)?//").test(_)){const[,w]=_.split(/\/\/[^\/]+/);return w}return _}(Y(ce(A))),this._locationStrategy.onPopState(he=>{this._subject.emit({url:this.path(!0),pop:!0,state:he.state,type:he.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(w=!1){return this.normalize(this._locationStrategy.path(w))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(w,A=""){return this.path()==this.normalize(w+J(A))}normalize(w){return _.stripTrailingSlash(function ae(_,L){if(!_||!L.startsWith(_))return L;const w=L.substring(_.length);return""===w||["/",";","?","#"].includes(w[0])?w:L}(this._basePath,ce(w)))}prepareExternalUrl(w){return w&&"/"!==w[0]&&(w="/"+w),this._locationStrategy.prepareExternalUrl(w)}go(w,A="",he=null){this._locationStrategy.pushState(he,"",w,A),this._notifyUrlChangeListeners(this.prepareExternalUrl(w+J(A)),he)}replaceState(w,A="",he=null){this._locationStrategy.replaceState(he,"",w,A),this._notifyUrlChangeListeners(this.prepareExternalUrl(w+J(A)),he)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(w=0){this._locationStrategy.historyGo?.(w)}onUrlChange(w){return this._urlChangeListeners.push(w),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(A=>{this._notifyUrlChangeListeners(A.url,A.state)})),()=>{const A=this._urlChangeListeners.indexOf(w);this._urlChangeListeners.splice(A,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(w="",A){this._urlChangeListeners.forEach(he=>he(w,A))}subscribe(w,A,he){return this._subject.subscribe({next:w,error:A,complete:he})}static#e=this.normalizeQueryParams=J;static#t=this.joinWithSlash=Q;static#n=this.stripTrailingSlash=Y;static#i=this.\u0275fac=function(A){return new(A||_)(f.LFG(re))};static#o=this.\u0275prov=f.Yz7({token:_,factory:()=>function Z(){return new G((0,f.LFG)(re))}(),providedIn:"root"})}return _})();function ce(_){return _.replace(/\/index.html$/,"")}function Re(_,L){L=encodeURIComponent(L);for(const w of _.split(";")){const A=w.indexOf("="),[he,We]=-1==A?[w,""]:[w.slice(0,A),w.slice(A+1)];if(he.trim()===L)return decodeURIComponent(We)}return null}const ge=/\s+/,xe=[];let $e=(()=>{class _{constructor(w,A,he,We){this._iterableDiffers=w,this._keyValueDiffers=A,this._ngEl=he,this._renderer=We,this.initialClasses=xe,this.stateMap=new Map}set klass(w){this.initialClasses=null!=w?w.trim().split(ge):xe}set ngClass(w){this.rawClass="string"==typeof w?w.trim().split(ge):w}ngDoCheck(){for(const A of this.initialClasses)this._updateState(A,!0);const w=this.rawClass;if(Array.isArray(w)||w instanceof Set)for(const A of w)this._updateState(A,!0);else if(null!=w)for(const A of Object.keys(w))this._updateState(A,!!w[A]);this._applyStateDiff()}_updateState(w,A){const he=this.stateMap.get(w);void 0!==he?(he.enabled!==A&&(he.changed=!0,he.enabled=A),he.touched=!0):this.stateMap.set(w,{enabled:A,changed:!0,touched:!0})}_applyStateDiff(){for(const w of this.stateMap){const A=w[0],he=w[1];he.changed?(this._toggleClass(A,he.enabled),he.changed=!1):he.touched||(he.enabled&&this._toggleClass(A,!1),this.stateMap.delete(A)),he.touched=!1}}_toggleClass(w,A){(w=w.trim()).length>0&&w.split(ge).forEach(he=>{A?this._renderer.addClass(this._ngEl.nativeElement,he):this._renderer.removeClass(this._ngEl.nativeElement,he)})}static#e=this.\u0275fac=function(A){return new(A||_)(f.Y36(f.ZZ4),f.Y36(f.aQg),f.Y36(f.SBq),f.Y36(f.Qsj))};static#t=this.\u0275dir=f.lG2({type:_,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return _})();class ht{constructor(L,w,A,he){this.$implicit=L,this.ngForOf=w,this.index=A,this.count=he}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 Xt=(()=>{class _{set ngForOf(w){this._ngForOf=w,this._ngForOfDirty=!0}set ngForTrackBy(w){this._trackByFn=w}get ngForTrackBy(){return this._trackByFn}constructor(w,A,he){this._viewContainer=w,this._template=A,this._differs=he,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(w){w&&(this._template=w)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const w=this._ngForOf;!this._differ&&w&&(this._differ=this._differs.find(w).create(this.ngForTrackBy))}if(this._differ){const w=this._differ.diff(this._ngForOf);w&&this._applyChanges(w)}}_applyChanges(w){const A=this._viewContainer;w.forEachOperation((he,We,ot)=>{if(null==he.previousIndex)A.createEmbeddedView(this._template,new ht(he.item,this._ngForOf,-1,-1),null===ot?void 0:ot);else if(null==ot)A.remove(null===We?void 0:We);else if(null!==We){const Tt=A.get(We);A.move(Tt,ot),Ft(Tt,he)}});for(let he=0,We=A.length;he<We;he++){const Tt=A.get(he).context;Tt.index=he,Tt.count=We,Tt.ngForOf=this._ngForOf}w.forEachIdentityChange(he=>{Ft(A.get(he.currentIndex),he)})}static ngTemplateContextGuard(w,A){return!0}static#e=this.\u0275fac=function(A){return new(A||_)(f.Y36(f.s_b),f.Y36(f.Rgc),f.Y36(f.ZZ4))};static#t=this.\u0275dir=f.lG2({type:_,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return _})();function Ft(_,L){_.context.$implicit=L.item}let An=(()=>{class _{constructor(w,A){this._viewContainer=w,this._context=new On,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=A}set ngIf(w){this._context.$implicit=this._context.ngIf=w,this._updateView()}set ngIfThen(w){At("ngIfThen",w),this._thenTemplateRef=w,this._thenViewRef=null,this._updateView()}set ngIfElse(w){At("ngIfElse",w),this._elseTemplateRef=w,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(w,A){return!0}static#e=this.\u0275fac=function(A){return new(A||_)(f.Y36(f.s_b),f.Y36(f.Rgc))};static#t=this.\u0275dir=f.lG2({type:_,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return _})();class On{constructor(){this.$implicit=null,this.ngIf=null}}function At(_,L){if(L&&!L.createEmbeddedView)throw new Error(`${_} must be a TemplateRef, but received '${(0,f.AaK)(L)}'.`)}class Bn{constructor(L,w){this._viewContainerRef=L,this._templateRef=w,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(L){L&&!this._created?this.create():!L&&this._created&&this.destroy()}}let _n=(()=>{class _{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(w){this._ngSwitch=w,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(w){this._defaultViews.push(w)}_matchCase(w){const A=w===this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||A,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),A}_updateDefaultCases(w){if(this._defaultViews.length>0&&w!==this._defaultUsed){this._defaultUsed=w;for(const A of this._defaultViews)A.enforceState(w)}}static#e=this.\u0275fac=function(A){return new(A||_)};static#t=this.\u0275dir=f.lG2({type:_,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return _})(),dn=(()=>{class _{constructor(w,A,he){this.ngSwitch=he,he._addCase(),this._view=new Bn(w,A)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(A){return new(A||_)(f.Y36(f.s_b),f.Y36(f.Rgc),f.Y36(_n,9))};static#t=this.\u0275dir=f.lG2({type:_,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return _})(),Tn=(()=>{class _{constructor(w,A,he){he._addDefault(new Bn(w,A))}static#e=this.\u0275fac=function(A){return new(A||_)(f.Y36(f.s_b),f.Y36(f.Rgc),f.Y36(_n,9))};static#t=this.\u0275dir=f.lG2({type:_,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return _})(),Zo=(()=>{class _{constructor(w){this._viewContainerRef=w,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(w){if(this._shouldRecreateView(w)){const A=this._viewContainerRef;if(this._viewRef&&A.remove(A.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const he=this._createContextForwardProxy();this._viewRef=A.createEmbeddedView(this.ngTemplateOutlet,he,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(w){return!!w.ngTemplateOutlet||!!w.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(w,A,he)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,A,he),get:(w,A,he)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,A,he)}})}static#e=this.\u0275fac=function(A){return new(A||_)(f.Y36(f.s_b))};static#t=this.\u0275dir=f.lG2({type:_,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[f.TTD]})}return _})();class Ao{createSubscription(L,w){return(0,f.rg0)(()=>L.subscribe({next:w,error:A=>{throw A}}))}dispose(L){(0,f.rg0)(()=>L.unsubscribe())}}class Br{createSubscription(L,w){return L.then(w,A=>{throw A})}dispose(L){}}const ca=new Br,mc=new Ao;let Io=(()=>{class _{constructor(w){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=w}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(w){return this._obj?w!==this._obj?(this._dispose(),this.transform(w)):this._latestValue:(w&&this._subscribe(w),this._latestValue)}_subscribe(w){this._obj=w,this._strategy=this._selectStrategy(w),this._subscription=this._strategy.createSubscription(w,A=>this._updateLatestValue(w,A))}_selectStrategy(w){if((0,f.QGY)(w))return ca;if((0,f.F4k)(w))return mc;throw function li(_,L){return new f.vHH(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(w,A){w===this._obj&&(this._latestValue=A,this._ref.markForCheck())}static#e=this.\u0275fac=function(A){return new(A||_)(f.Y36(f.sBO,16))};static#t=this.\u0275pipe=f.Yjl({name:"async",type:_,pure:!1,standalone:!0})}return _})(),zn=(()=>{class _{static#e=this.\u0275fac=function(A){return new(A||_)};static#t=this.\u0275mod=f.oAB({type:_});static#n=this.\u0275inj=f.cJS({})}return _})();const fs="browser",ma="server";function ps(_){return _===fs}function gs(_){return _===ma}class yo{}},9272:(Ke,De,y)=>{"use strict";y.d(De,{eN:()=>k,JF:()=>Kt}),y(5861);var o=y(1322),ve=y(9627),be=y(7371),de=y(107),ne=y(5123),ue=y(3276),fe=y(1497),Q=y(8412),Y=y(1927),J=y(2835),re=y(9462);class pe{}class le{}class Se{constructor(ge){this.normalizedNames=new Map,this.lazyUpdate=null,ge?"string"==typeof ge?this.lazyInit=()=>{this.headers=new Map,ge.split("\n").forEach(xe=>{const $e=xe.indexOf(":");if($e>0){const et=xe.slice(0,$e),mt=et.toLowerCase(),ht=xe.slice($e+1).trim();this.maybeSetNormalizedName(et,mt),this.headers.has(mt)?this.headers.get(mt).push(ht):this.headers.set(mt,[ht])}})}:typeof Headers<"u"&&ge instanceof Headers?(this.headers=new Map,ge.forEach((xe,$e)=>{this.setHeaderEntries($e,xe)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(ge).forEach(([xe,$e])=>{this.setHeaderEntries(xe,$e)})}:this.headers=new Map}has(ge){return this.init(),this.headers.has(ge.toLowerCase())}get(ge){this.init();const xe=this.headers.get(ge.toLowerCase());return xe&&xe.length>0?xe[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ge){return this.init(),this.headers.get(ge.toLowerCase())||null}append(ge,xe){return this.clone({name:ge,value:xe,op:"a"})}set(ge,xe){return this.clone({name:ge,value:xe,op:"s"})}delete(ge,xe){return this.clone({name:ge,value:xe,op:"d"})}maybeSetNormalizedName(ge,xe){this.normalizedNames.has(xe)||this.normalizedNames.set(xe,ge)}init(){this.lazyInit&&(this.lazyInit instanceof Se?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(ge=>this.applyUpdate(ge)),this.lazyUpdate=null))}copyFrom(ge){ge.init(),Array.from(ge.headers.keys()).forEach(xe=>{this.headers.set(xe,ge.headers.get(xe)),this.normalizedNames.set(xe,ge.normalizedNames.get(xe))})}clone(ge){const xe=new Se;return xe.lazyInit=this.lazyInit&&this.lazyInit instanceof Se?this.lazyInit:this,xe.lazyUpdate=(this.lazyUpdate||[]).concat([ge]),xe}applyUpdate(ge){const xe=ge.name.toLowerCase();switch(ge.op){case"a":case"s":let $e=ge.value;if("string"==typeof $e&&($e=[$e]),0===$e.length)return;this.maybeSetNormalizedName(ge.name,xe);const et=("a"===ge.op?this.headers.get(xe):void 0)||[];et.push(...$e),this.headers.set(xe,et);break;case"d":const mt=ge.value;if(mt){let ht=this.headers.get(xe);if(!ht)return;ht=ht.filter(Xt=>-1===mt.indexOf(Xt)),0===ht.length?(this.headers.delete(xe),this.normalizedNames.delete(xe)):this.headers.set(xe,ht)}else this.headers.delete(xe),this.normalizedNames.delete(xe)}}setHeaderEntries(ge,xe){const $e=(Array.isArray(xe)?xe:[xe]).map(mt=>mt.toString()),et=ge.toLowerCase();this.headers.set(et,$e),this.maybeSetNormalizedName(ge,et)}forEach(ge){this.init(),Array.from(this.normalizedNames.keys()).forEach(xe=>ge(this.normalizedNames.get(xe),this.headers.get(xe)))}}class Z{encodeKey(ge){return ke(ge)}encodeValue(ge){return ke(ge)}decodeKey(ge){return decodeURIComponent(ge)}decodeValue(ge){return decodeURIComponent(ge)}}const ce=/%(\d[a-f0-9])/gi,Ie={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ke(Re){return encodeURIComponent(Re).replace(ce,(ge,xe)=>Ie[xe]??ge)}function Fe(Re){return`${Re}`}class je{constructor(ge={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ge.encoder||new Z,ge.fromString){if(ge.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ae(Re,ge){const xe=new Map;return Re.length>0&&Re.replace(/^\?/,"").split("&").forEach(et=>{const mt=et.indexOf("="),[ht,Xt]=-1==mt?[ge.decodeKey(et),""]:[ge.decodeKey(et.slice(0,mt)),ge.decodeValue(et.slice(mt+1))],Ft=xe.get(ht)||[];Ft.push(Xt),xe.set(ht,Ft)}),xe}(ge.fromString,this.encoder)}else ge.fromObject?(this.map=new Map,Object.keys(ge.fromObject).forEach(xe=>{const $e=ge.fromObject[xe],et=Array.isArray($e)?$e.map(Fe):[Fe($e)];this.map.set(xe,et)})):this.map=null}has(ge){return this.init(),this.map.has(ge)}get(ge){this.init();const xe=this.map.get(ge);return xe?xe[0]:null}getAll(ge){return this.init(),this.map.get(ge)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ge,xe){return this.clone({param:ge,value:xe,op:"a"})}appendAll(ge){const xe=[];return Object.keys(ge).forEach($e=>{const et=ge[$e];Array.isArray(et)?et.forEach(mt=>{xe.push({param:$e,value:mt,op:"a"})}):xe.push({param:$e,value:et,op:"a"})}),this.clone(xe)}set(ge,xe){return this.clone({param:ge,value:xe,op:"s"})}delete(ge,xe){return this.clone({param:ge,value:xe,op:"d"})}toString(){return this.init(),this.keys().map(ge=>{const xe=this.encoder.encodeKey(ge);return this.map.get(ge).map($e=>xe+"="+this.encoder.encodeValue($e)).join("&")}).filter(ge=>""!==ge).join("&")}clone(ge){const xe=new je({encoder:this.encoder});return xe.cloneFrom=this.cloneFrom||this,xe.updates=(this.updates||[]).concat(ge),xe}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(ge=>this.map.set(ge,this.cloneFrom.map.get(ge))),this.updates.forEach(ge=>{switch(ge.op){case"a":case"s":const xe=("a"===ge.op?this.map.get(ge.param):void 0)||[];xe.push(Fe(ge.value)),this.map.set(ge.param,xe);break;case"d":if(void 0===ge.value){this.map.delete(ge.param);break}{let $e=this.map.get(ge.param)||[];const et=$e.indexOf(Fe(ge.value));-1!==et&&$e.splice(et,1),$e.length>0?this.map.set(ge.param,$e):this.map.delete(ge.param)}}}),this.cloneFrom=this.updates=null)}}class we{constructor(){this.map=new Map}set(ge,xe){return this.map.set(ge,xe),this}get(ge){return this.map.has(ge)||this.map.set(ge,ge.defaultValue()),this.map.get(ge)}delete(ge){return this.map.delete(ge),this}has(ge){return this.map.has(ge)}keys(){return this.map.keys()}}function ze(Re){return typeof ArrayBuffer<"u"&&Re instanceof ArrayBuffer}function at(Re){return typeof Blob<"u"&&Re instanceof Blob}function wt(Re){return typeof FormData<"u"&&Re instanceof FormData}class nn{constructor(ge,xe,$e,et){let mt;if(this.url=xe,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ge.toUpperCase(),function Me(Re){switch(Re){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||et?(this.body=void 0!==$e?$e:null,mt=et):mt=$e,mt&&(this.reportProgress=!!mt.reportProgress,this.withCredentials=!!mt.withCredentials,mt.responseType&&(this.responseType=mt.responseType),mt.headers&&(this.headers=mt.headers),mt.context&&(this.context=mt.context),mt.params&&(this.params=mt.params),this.transferCache=mt.transferCache),this.headers||(this.headers=new Se),this.context||(this.context=new we),this.params){const ht=this.params.toString();if(0===ht.length)this.urlWithParams=xe;else{const Xt=xe.indexOf("?");this.urlWithParams=xe+(-1===Xt?"?":Xt<xe.length-1?"&":"")+ht}}else this.params=new je,this.urlWithParams=xe}serializeBody(){return null===this.body?null:ze(this.body)||at(this.body)||wt(this.body)||function Jt(Re){return typeof URLSearchParams<"u"&&Re instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof je?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||wt(this.body)?null:at(this.body)?this.body.type||null:ze(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof je?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(ge={}){const xe=ge.method||this.method,$e=ge.url||this.url,et=ge.responseType||this.responseType,mt=void 0!==ge.body?ge.body:this.body,ht=void 0!==ge.withCredentials?ge.withCredentials:this.withCredentials,Xt=void 0!==ge.reportProgress?ge.reportProgress:this.reportProgress;let Ft=ge.headers||this.headers,Qt=ge.params||this.params;const An=ge.context??this.context;return void 0!==ge.setHeaders&&(Ft=Object.keys(ge.setHeaders).reduce((On,At)=>On.set(At,ge.setHeaders[At]),Ft)),ge.setParams&&(Qt=Object.keys(ge.setParams).reduce((On,At)=>On.set(At,ge.setParams[At]),Qt)),new nn(xe,$e,mt,{params:Qt,headers:Ft,context:An,reportProgress:Xt,responseType:et,withCredentials:ht})}}var tt=function(Re){return Re[Re.Sent=0]="Sent",Re[Re.UploadProgress=1]="UploadProgress",Re[Re.ResponseHeader=2]="ResponseHeader",Re[Re.DownloadProgress=3]="DownloadProgress",Re[Re.Response=4]="Response",Re[Re.User=5]="User",Re}(tt||{});class X{constructor(ge,xe=200,$e="OK"){this.headers=ge.headers||new Se,this.status=void 0!==ge.status?ge.status:xe,this.statusText=ge.statusText||$e,this.url=ge.url||null,this.ok=this.status>=200&&this.status<300}}class z extends X{constructor(ge={}){super(ge),this.type=tt.ResponseHeader}clone(ge={}){return new z({headers:ge.headers||this.headers,status:void 0!==ge.status?ge.status:this.status,statusText:ge.statusText||this.statusText,url:ge.url||this.url||void 0})}}class N extends X{constructor(ge={}){super(ge),this.type=tt.Response,this.body=void 0!==ge.body?ge.body:null}clone(ge={}){return new N({body:void 0!==ge.body?ge.body:this.body,headers:ge.headers||this.headers,status:void 0!==ge.status?ge.status:this.status,statusText:ge.statusText||this.statusText,url:ge.url||this.url||void 0})}}class I extends X{constructor(ge){super(ge,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ge.url||"(unknown url)"}`:`Http failure response for ${ge.url||"(unknown url)"}: ${ge.status} ${ge.statusText}`,this.error=ge.error||null}}function E(Re,ge){return{body:ge,headers:Re.headers,context:Re.context,observe:Re.observe,params:Re.params,reportProgress:Re.reportProgress,responseType:Re.responseType,withCredentials:Re.withCredentials,transferCache:Re.transferCache}}let k=(()=>{class Re{constructor(xe){this.handler=xe}request(xe,$e,et={}){let mt;if(xe instanceof nn)mt=xe;else{let Ft,Qt;Ft=et.headers instanceof Se?et.headers:new Se(et.headers),et.params&&(Qt=et.params instanceof je?et.params:new je({fromObject:et.params})),mt=new nn(xe,$e,void 0!==et.body?et.body:null,{headers:Ft,context:et.context,params:Qt,reportProgress:et.reportProgress,responseType:et.responseType||"json",withCredentials:et.withCredentials,transferCache:et.transferCache})}const ht=(0,ve.of)(mt).pipe(function me(Re,ge){return(0,ue.m)(ge)?(0,ne.z)(Re,ge,1):(0,ne.z)(Re,1)}(Ft=>this.handler.handle(Ft)));if(xe instanceof nn||"events"===et.observe)return ht;const Xt=ht.pipe((0,fe.h)(Ft=>Ft instanceof N));switch(et.observe||"body"){case"body":switch(mt.responseType){case"arraybuffer":return Xt.pipe((0,Q.U)(Ft=>{if(null!==Ft.body&&!(Ft.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ft.body}));case"blob":return Xt.pipe((0,Q.U)(Ft=>{if(null!==Ft.body&&!(Ft.body instanceof Blob))throw new Error("Response is not a Blob.");return Ft.body}));case"text":return Xt.pipe((0,Q.U)(Ft=>{if(null!==Ft.body&&"string"!=typeof Ft.body)throw new Error("Response is not a string.");return Ft.body}));default:return Xt.pipe((0,Q.U)(Ft=>Ft.body))}case"response":return Xt;default:throw new Error(`Unreachable: unhandled observe type ${et.observe}}`)}}delete(xe,$e={}){return this.request("DELETE",xe,$e)}get(xe,$e={}){return this.request("GET",xe,$e)}head(xe,$e={}){return this.request("HEAD",xe,$e)}jsonp(xe,$e){return this.request("JSONP",xe,{params:(new je).append($e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(xe,$e={}){return this.request("OPTIONS",xe,$e)}patch(xe,$e,et={}){return this.request("PATCH",xe,E(et,$e))}post(xe,$e,et={}){return this.request("POST",xe,E(et,$e))}put(xe,$e,et={}){return this.request("PUT",xe,E(et,$e))}static#e=this.\u0275fac=function($e){return new($e||Re)(o.LFG(pe))};static#t=this.\u0275prov=o.Yz7({token:Re,factory:Re.\u0275fac})}return Re})();function dt(Re,ge){return ge(Re)}function Mt(Re,ge){return(xe,$e)=>ge.intercept(xe,{handle:et=>Re(et,$e)})}const Ze=new o.OlP(""),U=new o.OlP(""),K=new o.OlP(""),Oe=new o.OlP("");function Ge(){let Re=null;return(ge,xe)=>{null===Re&&(Re=((0,o.f3M)(Ze,{optional:!0})??[]).reduceRight(Mt,dt));const $e=(0,o.f3M)(o.I6F),et=$e.add();return Re(ge,xe).pipe((0,Y.x)(()=>$e.remove(et)))}}let vt=(()=>{class Re extends pe{constructor(xe,$e){super(),this.backend=xe,this.injector=$e,this.chain=null,this.pendingTasks=(0,o.f3M)(o.I6F);const et=(0,o.f3M)(Oe,{optional:!0});this.backend=et??xe}handle(xe){if(null===this.chain){const et=Array.from(new Set([...this.injector.get(U),...this.injector.get(K,[])]));this.chain=et.reduceRight((mt,ht)=>function Le(Re,ge,xe){return($e,et)=>(0,o.r_H)(xe,()=>ge($e,mt=>Re(mt,et)))}(mt,ht,this.injector),dt)}const $e=this.pendingTasks.add();return this.chain(xe,et=>this.backend.handle(et)).pipe((0,Y.x)(()=>this.pendingTasks.remove($e)))}static#e=this.\u0275fac=function($e){return new($e||Re)(o.LFG(le),o.LFG(o.lqb))};static#t=this.\u0275prov=o.Yz7({token:Re,factory:Re.\u0275fac})}return Re})();const pn=/^\)\]\}',?\n/;let ri=(()=>{class Re{constructor(xe){this.xhrFactory=xe}handle(xe){if("JSONP"===xe.method)throw new o.vHH(-2800,!1);const $e=this.xhrFactory;return($e.\u0275loadImpl?(0,de.D)($e.\u0275loadImpl()):(0,ve.of)(null)).pipe((0,J.w)(()=>new be.y(mt=>{const ht=$e.build();if(ht.open(xe.method,xe.urlWithParams),xe.withCredentials&&(ht.withCredentials=!0),xe.headers.forEach((_n,dn)=>ht.setRequestHeader(_n,dn.join(","))),xe.headers.has("Accept")||ht.setRequestHeader("Accept","application/json, text/plain, */*"),!xe.headers.has("Content-Type")){const _n=xe.detectContentTypeHeader();null!==_n&&ht.setRequestHeader("Content-Type",_n)}if(xe.responseType){const _n=xe.responseType.toLowerCase();ht.responseType="json"!==_n?_n:"text"}const Xt=xe.serializeBody();let Ft=null;const Qt=()=>{if(null!==Ft)return Ft;const _n=ht.statusText||"OK",dn=new Se(ht.getAllResponseHeaders()),Tn=function Ut(Re){return"responseURL"in Re&&Re.responseURL?Re.responseURL:/^X-Request-URL:/m.test(Re.getAllResponseHeaders())?Re.getResponseHeader("X-Request-URL"):null}(ht)||xe.url;return Ft=new z({headers:dn,status:ht.status,statusText:_n,url:Tn}),Ft},An=()=>{let{headers:_n,status:dn,statusText:Tn,url:pi}=Qt(),vn=null;204!==dn&&(vn=typeof ht.response>"u"?ht.responseText:ht.response),0===dn&&(dn=vn?200:0);let gi=dn>=200&&dn<300;if("json"===xe.responseType&&"string"==typeof vn){const So=vn;vn=vn.replace(pn,"");try{vn=""!==vn?JSON.parse(vn):null}catch(so){vn=So,gi&&(gi=!1,vn={error:so,text:vn})}}gi?(mt.next(new N({body:vn,headers:_n,status:dn,statusText:Tn,url:pi||void 0})),mt.complete()):mt.error(new I({error:vn,headers:_n,status:dn,statusText:Tn,url:pi||void 0}))},On=_n=>{const{url:dn}=Qt(),Tn=new I({error:_n,status:ht.status||0,statusText:ht.statusText||"Unknown Error",url:dn||void 0});mt.error(Tn)};let At=!1;const $i=_n=>{At||(mt.next(Qt()),At=!0);let dn={type:tt.DownloadProgress,loaded:_n.loaded};_n.lengthComputable&&(dn.total=_n.total),"text"===xe.responseType&&ht.responseText&&(dn.partialText=ht.responseText),mt.next(dn)},Bn=_n=>{let dn={type:tt.UploadProgress,loaded:_n.loaded};_n.lengthComputable&&(dn.total=_n.total),mt.next(dn)};return ht.addEventListener("load",An),ht.addEventListener("error",On),ht.addEventListener("timeout",On),ht.addEventListener("abort",On),xe.reportProgress&&(ht.addEventListener("progress",$i),null!==Xt&&ht.upload&&ht.upload.addEventListener("progress",Bn)),ht.send(Xt),mt.next({type:tt.Sent}),()=>{ht.removeEventListener("error",On),ht.removeEventListener("abort",On),ht.removeEventListener("load",An),ht.removeEventListener("timeout",On),xe.reportProgress&&(ht.removeEventListener("progress",$i),null!==Xt&&ht.upload&&ht.upload.removeEventListener("progress",Bn)),ht.readyState!==ht.DONE&&ht.abort()}})))}static#e=this.\u0275fac=function($e){return new($e||Re)(o.LFG(re.JF))};static#t=this.\u0275prov=o.Yz7({token:Re,factory:Re.\u0275fac})}return Re})();const kn=new o.OlP("XSRF_ENABLED"),Ht=new o.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Yn=new o.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Kn{}let qe=(()=>{class Re{constructor(xe,$e,et){this.doc=xe,this.platform=$e,this.cookieName=et,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,re.Mx)(xe,this.cookieName),this.lastCookieString=xe),this.lastToken}static#e=this.\u0275fac=function($e){return new($e||Re)(o.LFG(re.K0),o.LFG(o.Lbi),o.LFG(Ht))};static#t=this.\u0275prov=o.Yz7({token:Re,factory:Re.\u0275fac})}return Re})();function se(Re,ge){const xe=Re.url.toLowerCase();if(!(0,o.f3M)(kn)||"GET"===Re.method||"HEAD"===Re.method||xe.startsWith("http://")||xe.startsWith("https://"))return ge(Re);const $e=(0,o.f3M)(Kn).getToken(),et=(0,o.f3M)(Yn);return null!=$e&&!Re.headers.has(et)&&(Re=Re.clone({headers:Re.headers.set(et,$e)})),ge(Re)}var T=function(Re){return Re[Re.Interceptors=0]="Interceptors",Re[Re.LegacyInterceptors=1]="LegacyInterceptors",Re[Re.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Re[Re.NoXsrfProtection=3]="NoXsrfProtection",Re[Re.JsonpSupport=4]="JsonpSupport",Re[Re.RequestsMadeViaParent=5]="RequestsMadeViaParent",Re[Re.Fetch=6]="Fetch",Re}(T||{});function H(...Re){const ge=[k,ri,vt,{provide:pe,useExisting:vt},{provide:le,useExisting:ri},{provide:U,useValue:se,multi:!0},{provide:kn,useValue:!0},{provide:Kn,useClass:qe}];for(const xe of Re)ge.push(...xe.\u0275providers);return(0,o.MR2)(ge)}const x=new o.OlP("LEGACY_INTERCEPTOR_FN");function P(){return function q(Re,ge){return{\u0275kind:Re,\u0275providers:ge}}(T.LegacyInterceptors,[{provide:x,useFactory:Ge},{provide:U,useExisting:x,multi:!0}])}let Kt=(()=>{class Re{static#e=this.\u0275fac=function($e){return new($e||Re)};static#t=this.\u0275mod=o.oAB({type:Re});static#n=this.\u0275inj=o.cJS({providers:[H(P())]})}return Re})()},1322:(Ke,De,y)=>{"use strict";y.d(De,{QbO:()=>Sd,AFp:()=>Th,hGG:()=>mA,z2F:()=>Vl,Ojb:()=>Wa,sBO:()=>ov,_Vd:()=>ni,EJc:()=>iA,SBq:()=>fi,lqb:()=>Si,qLn:()=>oa,vpe:()=>Pr,OlP:()=>At,zs3:()=>go,ZZ4:()=>ug,aQg:()=>hg,soG:()=>qf,h0i:()=>hc,R0b:()=>yi,FiY:()=>La,Lbi:()=>Td,g9A:()=>Md,n_E:()=>zf,Qsj:()=>ur,FYo:()=>zo,JOm:()=>Vd,q3G:()=>ds,tp0:()=>Qi,Rgc:()=>Ru,dDg:()=>WS,eoX:()=>Zw,GfV:()=>Hw,s_b:()=>Tf,ifc:()=>Vi,VuI:()=>$A,Lck:()=>yT,eFA:()=>rx,G48:()=>cA,Gpc:()=>Nt,f3M:()=>bn,MR2:()=>fh,Cb_:()=>VA,_c5:()=>fA,r_H:()=>Yc,rg0:()=>en,c2e:()=>jw,zSh:()=>wd,wAp:()=>Nl,I6F:()=>P_,vHH:()=>lt,lri:()=>Yw,rWj:()=>Kw,JZr:()=>oi,EiD:()=>af,mCW:()=>cl,qzn:()=>ls,JVY:()=>sl,pB0:()=>jp,eBb:()=>ea,L6k:()=>al,LAX:()=>Hp,cg1:()=>u_,kuF:()=>un,kL8:()=>Ny,dqk:()=>Qt,QGY:()=>m_,F4k:()=>d0,RDi:()=>Xm,AaK:()=>Ge,z3N:()=>cr,qOj:()=>Og,Xq5:()=>vv,TTD:()=>En,_Bn:()=>K0,jDz:()=>q0,xp6:()=>$b,uIk:()=>kg,Tol:()=>Nv,ekj:()=>$g,um2:()=>ay,Suo:()=>yw,Xpm:()=>jr,lG2:()=>vs,Yz7:()=>Je,cJS:()=>Bt,oAB:()=>wo,Yjl:()=>ys,Y36:()=>ml,_UZ:()=>a_,GkF:()=>c_,BQk:()=>Nf,ynx:()=>Ff,qZA:()=>Pf,TgZ:()=>Rf,EpF:()=>Fy,n5z:()=>nh,Ikx:()=>l_,LFG:()=>Qn,$8M:()=>hd,$Z:()=>Hb,NdJ:()=>p_,CRH:()=>ww,O4$:()=>Ac,oxw:()=>p0,ALo:()=>fw,lcZ:()=>mw,xi3:()=>pw,Hsn:()=>_0,F$t:()=>g0,Q6J:()=>Ng,DdM:()=>ow,VKq:()=>rw,WLB:()=>sw,HTZ:()=>aw,iGM:()=>bw,MAs:()=>T0,wJu:()=>dy,SjG:()=>ly,x6l:()=>cy,KtG:()=>mm,CHM:()=>fm,oJD:()=>cf,Udp:()=>Bg,d8E:()=>d_,YNc:()=>Sl,W1O:()=>Ew,_uU:()=>L0,Oqu:()=>__,hij:()=>Hf,Gf:()=>vw});let o=null,be=1;function ne(e){const t=o;return o=e,t}function re(e){if((!Fe(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==be)){if(!e.producerMustRecompute(e)&&!ae(e))return e.dirty=!1,void(e.lastCleanEpoch=be);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=be}}function ae(e){je(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(re(n),r!==n.version))return!0}return!1}function ke(e,t){if(function Ne(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),je(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)ke(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],c=e.liveConsumerNode[t];je(c),c.producerIndexOfThis[r]=t}}function Fe(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function je(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let nn=null;var Mt=y(9453),Le=y(9592),Ze=y(1625),U=y(8412);function K(e){for(let t in e)if(e[t]===K)return t;throw Error("Could not find renamed property on target object.")}function Oe(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ge(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ge).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 rt(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const vt=K({__forward_ref__:K});function Nt(e){return e.__forward_ref__=Nt,e.toString=function(){return Ge(this())},e}function ut(e){return Lt(e)?e():e}function Lt(e){return"function"==typeof e&&e.hasOwnProperty(vt)&&e.__forward_ref__===Nt}function _t(e){return e&&!!e.\u0275providers}const oi="https://g.co/ng/security#xss";class lt extends Error{constructor(t,n){super(un(t,n)),this.code=t}}function un(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}const fn=K({\u0275cmp:K}),Pn=K({\u0275dir:K}),wn=K({\u0275pipe:K}),pn=K({\u0275mod:K}),Ut=K({\u0275fac:K}),ri=K({__NG_ELEMENT_ID__:K}),kn=K({__NG_ENV_ID__:K});function It(e){return"string"==typeof e?e:null==e?"":String(e)}function F(e,t){throw new lt(-201,!1)}function ln(e,t){null==e&&function St(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Je(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Bt(e){return{providers:e.providers||[],imports:e.imports||[]}}function bt(e){return Wt(e,Un)||Wt(e,ge)}function Wt(e,t){return e.hasOwnProperty(t)?e[t]:null}function sn(e){return e&&(e.hasOwnProperty(Re)||e.hasOwnProperty(xe))?e[Re]:null}const Un=K({\u0275prov:K}),Re=K({\u0275inj:K}),ge=K({ngInjectableDef:K}),xe=K({ngInjectorDef:K});var $e=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}($e||{});let et;function ht(e){const t=et;return et=e,t}function Xt(e,t,n){const r=bt(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&$e.Optional?null:void 0!==t?t:void F(Ge(e))}const Qt=globalThis;class At{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=Je({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const zi={},li="__NG_DI_FLAG__",Ao="ngTempTokenPath",ca=/\n/gm,Io="__source";let qo;function ao(e){const t=qo;return qo=e,t}function da(e,t=$e.Default){if(void 0===qo)throw new lt(-203,!1);return null===qo?Xt(e,void 0,t):qo.get(e,t&$e.Optional?null:void 0,t)}function Qn(e,t=$e.Default){return(function mt(){return et}()||da)(ut(e),t)}function bn(e,t=$e.Default){return Qn(e,pr(t))}function pr(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Gi(e){const t=[];for(let n=0;n<e.length;n++){const r=ut(e[n]);if(Array.isArray(r)){if(0===r.length)throw new lt(900,!1);let c,d=$e.Default;for(let h=0;h<r.length;h++){const m=r[h],g=gr(m);"number"==typeof g?-1===g?c=m.token:d|=g:c=m}t.push(Qn(c,d))}else t.push(Qn(r))}return t}function co(e,t){return e[li]=t,e.prototype[li]=t,e}function gr(e){return e[li]}function si(e){return{toString:e}.toString()}var Oo=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Oo||{}),Vi=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Vi||{});const Wi={},yn=[];function Jo(e,t,n){let r=e.length;for(;;){const c=e.indexOf(t,n);if(-1===c)return c;if(0===c||e.charCodeAt(c-1)<=32){const d=t.length;if(c+d===r||e.charCodeAt(c+d)<=32)return c}n=c+1}}function vo(e,t,n){let r=0;for(;r<n.length;){const c=n[r];if("number"==typeof c){if(0!==c)break;r++;const d=n[r++],h=n[r++],m=n[r++];e.setAttribute(t,h,m,d)}else{const d=c,h=n[++r];fa(d)?e.setProperty(t,d,h):e.setAttribute(t,d,h),r++}}return r}function ha(e){return 3===e||4===e||6===e}function fa(e){return 64===e.charCodeAt(0)}function zn(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 c=t[r];"number"==typeof c?n=c:0===n||fs(e,n,c,null,-1===n||2===n?t[++r]:null)}}return e}function fs(e,t,n,r,c){let d=0,h=e.length;if(-1===t)h=-1;else for(;d<e.length;){const m=e[d++];if("number"==typeof m){if(m===t){h=-1;break}if(m>t){h=d-1;break}}}for(;d<e.length;){const m=e[d];if("number"==typeof m)break;if(m===n){if(null===r)return void(null!==c&&(e[d+1]=c));if(r===e[d+1])return void(e[d+2]=c)}d++,null!==r&&d++,null!==c&&d++}-1!==h&&(e.splice(h,0,t),d=h+1),e.splice(d++,0,n),null!==r&&e.splice(d++,0,r),null!==c&&e.splice(d++,0,c)}const ma="ng-template";function ms(e,t,n){let r=0,c=!0;for(;r<e.length;){let d=e[r++];if("string"==typeof d&&c){const h=e[r++];if(n&&"class"===d&&-1!==Jo(h.toLowerCase(),t,0))return!0}else{if(1===d){for(;r<e.length&&"string"==typeof(d=e[r++]);)if(d.toLowerCase()===t)return!0;return!1}"number"==typeof d&&(c=!1)}}return!1}function pa(e){return 4===e.type&&e.value!==ma}function ps(e,t,n){return t===(4!==e.type||n?e.value:ma)}function gs(e,t,n){let r=4;const c=e.attrs||[],d=function _s(e){for(let t=0;t<e.length;t++)if(ha(e[t]))return t;return e.length}(c);let h=!1;for(let m=0;m<t.length;m++){const g=t[m];if("number"!=typeof g){if(!h)if(4&r){if(r=2|1&r,""!==g&&!ps(e,g,n)||""===g&&1===t.length){if(Zn(r))return!1;h=!0}}else{const C=8&r?g:t[++m];if(8&r&&null!==e.attrs){if(!ms(e.attrs,C,n)){if(Zn(r))return!1;h=!0}continue}const W=jl(8&r?"class":g,c,pa(e),n);if(-1===W){if(Zn(r))return!1;h=!0;continue}if(""!==C){let ye;ye=W>d?"":c[W+1].toLowerCase();const Ae=8&r?ye:null;if(Ae&&-1!==Jo(Ae,C,0)||2&r&&C!==ye){if(Zn(r))return!1;h=!0}}}}else{if(!h&&!Zn(r)&&!Zn(g))return!1;if(h&&Zn(g))continue;h=!1,r=g|1&r}}return Zn(r)||h}function Zn(e){return 0==(1&e)}function jl(e,t,n,r){if(null===t)return-1;let c=0;if(r||!n){let d=!1;for(;c<t.length;){const h=t[c];if(h===e)return c;if(3===h||6===h)d=!0;else{if(1===h||2===h){let m=t[++c];for(;"string"==typeof m;)m=t[++c];continue}if(4===h)break;if(0===h){c+=4;continue}}c+=d?1:2}return-1}return function Qo(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 _r(e,t,n=!1){for(let r=0;r<t.length;r++)if(gs(e,t[r],n))return!0;return!1}function pc(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let c=0;c<e.length;c++)if(e[c]!==r[c])continue e;return!0}}return!1}function yo(e,t){return e?":not("+t.trim()+")":t}function gc(e){let t=e[0],n=1,r=2,c="",d=!1;for(;n<e.length;){let h=e[n];if("string"==typeof h)if(2&r){const m=e[++n];c+="["+h+(m.length>0?'="'+m+'"':"")+"]"}else 8&r?c+="."+h:4&r&&(c+=" "+h);else""!==c&&!Zn(h)&&(t+=yo(d,c),c=""),r=h,d=d||!Zn(r);n++}return""!==c&&(t+=yo(d,c)),t}function jr(e){return si(()=>{const t=ws(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Oo.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Vi.Emulated,styles:e.styles||yn,_:null,schemas:e.schemas||null,tView:null,id:""};va(n);const r=e.dependencies;return n.directiveDefs=xs(r,!1),n.pipeDefs=xs(r,!0),n.id=function Cs(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 c of n)t=Math.imul(31,t)+c.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function bs(e){return an(e)||Xn(e)}function _a(e){return null!==e}function wo(e){return si(()=>({type:e.type,bootstrap:e.bootstrap||yn,declarations:e.declarations||yn,imports:e.imports||yn,exports:e.exports||yn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ba(e,t){if(null==e)return Wi;const n={};for(const r in e)if(e.hasOwnProperty(r)){let c=e[r],d=c;Array.isArray(c)&&(d=c[1],c=c[0]),n[c]=r,t&&(t[c]=d)}return n}function vs(e){return si(()=>{const t=ws(e);return va(t),t})}function ys(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 an(e){return e[fn]||null}function Xn(e){return e[Pn]||null}function ei(e){return e[wn]||null}function ws(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||Wi,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||yn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ba(e.inputs,t),outputs:ba(e.outputs),debugInfo:null}}function va(e){e.features?.forEach(t=>t(e))}function xs(e,t){if(!e)return null;const n=t?ei:bs;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(_a)}const $n=0,ft=1,$t=2,D=3,S=4,v=5,j=6,Te=7,ct=8,Gt=9,Hn=10,Zt=11,lo=12,bc=13,Ur=14,Gn=15,br=16,Ds=17,xo=18,zr=19,vc=20,Ti=21,Gr=22,Co=23,qt=25,Es=1,Ki=7,Yr=9,Jn=10;var yr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e[e.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",e}(yr||{});function di(e){return Array.isArray(e)&&"object"==typeof e[Es]}function ui(e){return Array.isArray(e)&&!0===e[Es]}function ya(e){return 0!=(4&e.flags)}function wr(e){return e.componentOffset>-1}function wa(e){return 1==(1&e.flags)}function uo(e){return!!e.template}function yc(e){return 0!=(512&e[$t])}function Dn(e,t){return e.hasOwnProperty(Ut)?e[Ut]:null}class Rn{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function En(){return mn}function mn(e){return e.type.prototype.ngOnChanges&&(e.setInput=In),jn}function jn(){const e=ko(this),t=e?.current;if(t){const n=e.previous;if(n===Wi)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function In(e,t,n,r){const c=this.declaredInputs[n],d=ko(e)||function Do(e,t){return e[ai]=t}(e,{previous:Wi,current:null}),h=d.current||(d.current={}),m=d.previous,g=m[c];h[c]=new Rn(g&&g.currentValue,t,m===Wi),e[r]=t}En.ngInherit=!0;const ai="__ngSimpleChanges__";function ko(e){return e[ai]||null}const _i=function(e,t,n){},ho="svg";let Ms=!1;function Vn(e){for(;Array.isArray(e);)e=e[$n];return e}function Po(e,t){return Vn(t[e])}function Fi(e,t){return Vn(t[e.index])}function Fo(e,t){return e.data[t]}function tr(e,t){return e[t]}function Zi(e,t){const n=t[e];return di(n)?n:n[$n]}function Eo(e){return 128==(128&e[$t])}function fo(e,t){return null==t?null:e[t]}function Wl(e){e[Ds]=0}function Yl(e){1024&e[$t]||(e[$t]|=1024,Eo(e)&&Dc(e))}function xc(e){return 9216&e[$t]||e[Co]?.dirty}function Cc(e){xc(e)?Dc(e):64&e[$t]&&(function lm(){return Ms}()?(e[$t]|=1024,Dc(e)):e[Hn].changeDetectionScheduler?.notify())}function Dc(e){e[Hn].changeDetectionScheduler?.notify();let t=e[D];for(;null!==t&&!(ui(t)&&t[$t]&yr.HasChildViewsToRefresh||di(t)&&8192&t[$t]);){if(ui(t))t[$t]|=yr.HasChildViewsToRefresh;else if(t[$t]|=8192,!Eo(t))break;t=t[D]}}const tn={lFrame:Aa(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function No(){return tn.bindingsEnabled}function xr(){return null!==tn.skipHydrationRootTNode}function Xe(){return tn.lFrame.lView}function Cn(){return tn.lFrame.tView}function fm(e){return tn.lFrame.contextLView=e,e[ct]}function mm(e){return tn.lFrame.contextLView=null,e}function Fn(){let e=pm();for(;null!==e&&64===e.type;)e=e.parent;return e}function pm(){return tn.lFrame.currentTNode}function nr(e,t){const n=tn.lFrame;n.currentTNode=e,n.isParent=t}function Ma(){return tn.lFrame.isParent}function Ql(){tn.lFrame.isParent=!1}function bi(){const e=tn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function qi(){return tn.lFrame.bindingIndex++}function mo(e){const t=tn.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function bm(e,t){const n=tn.lFrame;n.bindingIndex=n.bindingRootIndex=e,ed(t)}function ed(e){tn.lFrame.currentDirectiveIndex=e}function td(e){const t=tn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Hu(){return tn.lFrame.currentQueryIndex}function nd(e){tn.lFrame.currentQueryIndex=e}function id(e){const t=e[ft];return 2===t.type?t.declTNode:1===t.type?e[v]:null}function Sa(e,t,n){if(n&$e.SkipSelf){let c=t,d=e;for(;!(c=c.parent,null!==c||n&$e.Host||(c=id(d),null===c||(d=d[Ur],10&c.type))););if(null===c)return!1;t=c,e=d}const r=tn.lFrame=ju();return r.currentTNode=t,r.lView=e,!0}function Is(e){const t=ju(),n=e[ft];tn.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ju(){const e=tn.lFrame,t=null===e?null:e.child;return null===t?Aa(e):t}function Aa(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 Ia(){const e=tn.lFrame;return tn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Uu=Ia;function Os(){const e=Ia();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 vi(){return tn.lFrame.selectedIndex}function qr(e){tn.lFrame.selectedIndex=e}function Nn(){const e=tn.lFrame;return Fo(e.tView,e.selectedIndex)}function Ac(){tn.lFrame.currentNamespace=ho}let xm=!0;function Ic(){return xm}function Dr(e){xm=e}function Lo(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const d=e.data[n].type.prototype,{ngAfterContentInit:h,ngAfterContentChecked:m,ngAfterViewInit:g,ngAfterViewChecked:C,ngOnDestroy:R}=d;h&&(e.contentHooks??=[]).push(-n,h),m&&((e.contentHooks??=[]).push(n,m),(e.contentCheckHooks??=[]).push(n,m)),g&&(e.viewHooks??=[]).push(-n,g),C&&((e.viewHooks??=[]).push(n,C),(e.viewCheckHooks??=[]).push(n,C)),null!=R&&(e.destroyHooks??=[]).push(n,R)}}function Oc(e,t,n){rd(e,t,3,n)}function Oa(e,t,n,r){(3&e[$t])===n&&rd(e,t,n,r)}function zu(e,t){let n=e[$t];(3&n)===t&&(n&=16383,n+=1,e[$t]=n)}function rd(e,t,n,r){const d=r??-1,h=t.length-1;let m=0;for(let g=void 0!==r?65535&e[Ds]:0;g<h;g++)if("number"==typeof t[g+1]){if(m=t[g],null!=r&&m>=r)break}else t[g]<0&&(e[Ds]+=65536),(m<d||-1==d)&&(Cm(e,n,t,g),e[Ds]=(4294901760&e[Ds])+g+2),g++}function Gu(e,t){_i(4,e,t);const n=ne(null);try{t.call(e)}finally{ne(n),_i(5,e,t)}}function Cm(e,t,n,r){const c=n[r]<0,d=n[r+1],m=e[c?-n[r]:n[r]];c?e[$t]>>14<e[Ds]>>16&&(3&e[$t])===t&&(e[$t]+=16384,Gu(m,d)):Gu(m,d)}const ks=-1;class ka{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function sd(e){return e!==ks}function Jr(e){return 32767&e}function Rc(e,t){let n=function Mm(e){return e>>16}(e),r=t;for(;n>0;)r=r[Ur],n--;return r}let ad=!0;function cd(e){const t=ad;return ad=e,t}const Yu=255,Ku=5;let Sm=0;const Bo={};function Pc(e,t){const n=Zu(e,t);if(-1!==n)return n;const r=t[ft];r.firstCreatePass&&(e.injectorIndex=t.length,ld(r.data,e),ld(t,null),ld(r.blueprint,null));const c=Fc(e,t),d=e.injectorIndex;if(sd(c)){const h=Jr(c),m=Rc(c,t),g=m[ft].data;for(let C=0;C<8;C++)t[d+C]=m[h+C]|g[h+C]}return t[d+8]=c,d}function ld(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Zu(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Fc(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,c=t;for(;null!==c;){if(r=ih(c),null===r)return ks;if(n++,c=c[Ur],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return ks}function dd(e,t,n){!function Am(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ri)&&(r=n[ri]),null==r&&(r=n[ri]=Sm++);const c=r&Yu;t.data[e+(c>>Ku)]|=1<<c}(e,t,n)}function qu(e,t,n){if(n&$e.Optional||void 0!==e)return e;F()}function Ju(e,t,n,r){if(n&$e.Optional&&void 0===r&&(r=null),!(n&($e.Self|$e.Host))){const c=e[Gt],d=ht(void 0);try{return c?c.get(t,r,n&$e.Optional):Xt(t,r,n&$e.Optional)}finally{ht(d)}}return qu(r,0,n)}function Qu(e,t,n,r=$e.Default,c){if(null!==e){if(2048&t[$t]&&!(r&$e.Self)){const h=function Rm(e,t,n,r,c){let d=e,h=t;for(;null!==d&&null!==h&&2048&h[$t]&&!(512&h[$t]);){const m=Xu(d,h,n,r|$e.Self,Bo);if(m!==Bo)return m;let g=d.parent;if(!g){const C=h[vc];if(C){const R=C.get(n,Bo,r);if(R!==Bo)return R}g=ih(h),h=h[Ur]}d=g}return c}(e,t,n,r,Bo);if(h!==Bo)return h}const d=Xu(e,t,n,r,Bo);if(d!==Bo)return d}return Ju(t,n,r,c)}function Xu(e,t,n,r,c){const d=function Om(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(ri)?e[ri]:void 0;return"number"==typeof t?t>=0?t&Yu:km:t}(n);if("function"==typeof d){if(!Sa(t,e,r))return r&$e.Host?qu(c,0,r):Ju(t,n,r,c);try{let h;if(h=d(r),null!=h||r&$e.Optional)return h;F()}finally{Uu()}}else if("number"==typeof d){let h=null,m=Zu(e,t),g=ks,C=r&$e.Host?t[Gn][v]:null;for((-1===m||r&$e.SkipSelf)&&(g=-1===m?Fc(e,t):t[m+8],g!==ks&&th(r,!1)?(h=t[ft],m=Jr(g),t=Rc(g,t)):m=-1);-1!==m;){const R=t[ft];if(eh(d,m,R.data)){const W=Im(m,t,n,h,r,C);if(W!==Bo)return W}g=t[m+8],g!==ks&&th(r,t[ft].data[m+8]===C)&&eh(d,m,t)?(h=R,m=Jr(g),t=Rc(g,t)):m=-1}}return c}function Im(e,t,n,r,c,d){const h=t[ft],m=h.data[e+8],R=Nc(m,h,n,null==r?wr(m)&&ad:r!=h&&0!=(3&m.type),c&$e.Host&&d===m);return null!==R?Qr(t,h,R,m):Bo}function Nc(e,t,n,r,c){const d=e.providerIndexes,h=t.data,m=1048575&d,g=e.directiveStart,R=d>>20,ye=c?m+R:e.directiveEnd;for(let Ae=r?m:m+R;Ae<ye;Ae++){const Ye=h[Ae];if(Ae<g&&n===Ye||Ae>=g&&Ye.type===n)return Ae}if(c){const Ae=h[g];if(Ae&&uo(Ae)&&Ae.type===n)return g}return null}function Qr(e,t,n,r){let c=e[n];const d=t.data;if(function ib(e){return e instanceof ka}(c)){const h=c;h.resolving&&function Kn(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new lt(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Ht(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():It(e)}(d[n]));const m=cd(h.canSeeViewProviders);h.resolving=!0;const C=h.injectImpl?ht(h.injectImpl):null;Sa(e,r,$e.Default);try{c=e[n]=h.factory(void 0,d,e,r),t.firstCreatePass&&n>=r.directiveStart&&function nb(e,t,n){const{ngOnChanges:r,ngOnInit:c,ngDoCheck:d}=t.type.prototype;if(r){const h=mn(t);(n.preOrderHooks??=[]).push(e,h),(n.preOrderCheckHooks??=[]).push(e,h)}c&&(n.preOrderHooks??=[]).push(0-e,c),d&&((n.preOrderHooks??=[]).push(e,d),(n.preOrderCheckHooks??=[]).push(e,d))}(n,d[n],t)}finally{null!==C&&ht(C),cd(m),h.resolving=!1,Uu()}}return c}function eh(e,t,n){return!!(n[t+(e>>Ku)]&1<<e)}function th(e,t){return!(e&$e.Self||e&$e.Host&&t)}class hi{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Qu(this._tNode,this._lView,t,pr(r),n)}}function km(){return new hi(Fn(),Xe())}function nh(e){return si(()=>{const t=e.prototype.constructor,n=t[Ut]||ud(t),r=Object.prototype;let c=Object.getPrototypeOf(e.prototype).constructor;for(;c&&c!==r;){const d=c[Ut]||ud(c);if(d&&d!==n)return d;c=Object.getPrototypeOf(c)}return d=>new d})}function ud(e){return Lt(e)?()=>{const t=ud(ut(e));return t&&t()}:Dn(e)}function ih(e){const t=e[ft],n=t.type;return 2===n?t.declTNode:1===n?e[v]:null}function hd(e){return function sb(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 c=0;for(;c<r;){const d=n[c];if(ha(d))break;if(0===d)c+=2;else if("number"==typeof d)for(c++;c<r&&"string"==typeof n[c];)c++;else{if(d===t)return n[c+1];c+=2}}}return null}(Fn(),e)}const Ns="__parameters__";function Bs(e,t,n){return si(()=>{const r=function fd(e){return function(...n){if(e){const r=e(...n);for(const c in r)this[c]=r[c]}}}(t);function c(...d){if(this instanceof c)return r.apply(this,d),this;const h=new c(...d);return m.annotation=h,m;function m(g,C,R){const W=g.hasOwnProperty(Ns)?g[Ns]:Object.defineProperty(g,Ns,{value:[]})[Ns];for(;W.length<=R;)W.push(null);return(W[R]=W[R]||[]).push(h),g}}return n&&(c.prototype=Object.create(n.prototype)),c.prototype.ngMetadataName=e,c.annotationCls=c,c})}function ts(e,t){e.forEach(n=>Array.isArray(n)?ts(n,t):t(n))}function $m(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function $s(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 Ji(e,t,n){let r=ir(e,t);return r>=0?e[1|r]=n:(r=~r,function ch(e,t,n,r){let c=e.length;if(c==t)e.push(n,r);else if(1===c)e.push(r,e[0]),e[0]=n;else{for(c--,e.push(e[c-1],e[c]);c>t;)e[c]=e[c-2],c--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Pa(e,t){const n=ir(e,t);if(n>=0)return e[1|n]}function ir(e,t){return function Fa(e,t,n){let r=0,c=e.length>>n;for(;c!==r;){const d=r+(c-r>>1),h=e[d<<n];if(t===h)return d<<n;h>t?c=d:r=d+1}return~(c<<n)}(e,t,1)}const La=co(Bs("Optional"),8),Qi=co(Bs("SkipSelf"),4),$a=new At("ENVIRONMENT_INITIALIZER"),Gm=new At("INJECTOR",-1),hh=new At("INJECTOR_DEF_TYPES");class vd{get(t,n=zi){if(n===zi){const r=new Error(`NullInjectorError: No provider for ${Ge(t)}!`);throw r.name="NullInjectorError",r}return n}}function fh(e){return{\u0275providers:e}}function Vc(...e){return{\u0275providers:mh(0,e),\u0275fromNgModule:!0}}function mh(e,...t){const n=[],r=new Set;let c;const d=h=>{n.push(h)};return ts(t,h=>{const m=h;Hc(m,d,[],r)&&(c||=[],c.push(m))}),void 0!==c&&ph(c,d),n}function ph(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:c}=e[n];Us(c,d=>{t(d,r)})}}function Hc(e,t,n,r){if(!(e=ut(e)))return!1;let c=null,d=sn(e);const h=!d&&an(e);if(d||h){if(h&&!h.standalone)return!1;c=e}else{const g=e.ngModule;if(d=sn(g),!d)return!1;c=g}const m=r.has(c);if(h){if(m)return!1;if(r.add(c),h.dependencies){const g="function"==typeof h.dependencies?h.dependencies():h.dependencies;for(const C of g)Hc(C,t,n,r)}}else{if(!d)return!1;{if(null!=d.imports&&!m){let C;r.add(c);try{ts(d.imports,R=>{Hc(R,t,n,r)&&(C||=[],C.push(R))})}finally{}void 0!==C&&ph(C,t)}if(!m){const C=Dn(c)||(()=>new c);t({provide:c,useFactory:C,deps:yn},c),t({provide:hh,useValue:c,multi:!0},c),t({provide:$a,useValue:()=>Qn(c),multi:!0},c)}const g=d.providers;if(null!=g&&!m){const C=e;Us(g,R=>{t(R,C)})}}}return c!==e&&void 0!==e.providers}function Us(e,t){for(let n of e)_t(n)&&(n=n.\u0275providers),Array.isArray(n)?Us(n,t):t(n)}const gh=K({provide:String,useValue:K});function jc(e){return null!==e&&"object"==typeof e&&gh in e}function Tr(e){return"function"==typeof e}const wd=new At("Set Injector scope."),zc={},Ym={};let xd;function Gc(){return void 0===xd&&(xd=new vd),xd}class Si{}class Sr extends Si{get destroyed(){return this._destroyed}constructor(t,n,r,c){super(),this.parent=n,this.source=r,this.scopes=c,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Dd(t,h=>this.processProvider(h)),this.records.set(Gm,zs(void 0,this)),c.has("environment")&&this.records.set(Si,zs(void 0,this));const d=this.records.get(wd);null!=d&&"string"==typeof d.value&&this.scopes.add(d.value),this.injectorDefTypes=new Set(this.get(hh,yn,$e.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=ao(this),r=ht(void 0);try{return t()}finally{ao(n),ht(r)}}get(t,n=zi,r=$e.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(kn))return t[kn](this);r=pr(r);const d=ao(this),h=ht(void 0);try{if(!(r&$e.SkipSelf)){let g=this.records.get(t);if(void 0===g){const C=function Cd(e){return"function"==typeof e||"object"==typeof e&&e instanceof At}(t)&&bt(t);g=C&&this.injectableDefInScope(C)?zs(Va(t),zc):null,this.records.set(t,g)}if(null!=g)return this.hydrate(t,g)}return(r&$e.Self?Gc():this.parent).get(t,n=r&$e.Optional&&n===zi?null:n)}catch(m){if("NullInjectorError"===m.name){if((m[Ao]=m[Ao]||[]).unshift(Ge(t)),d)throw m;return function ua(e,t,n,r){const c=e[Ao];throw t[Io]&&c.unshift(t[Io]),e.message=function Vr(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let c=Ge(t);if(Array.isArray(t))c=t.map(Ge).join(" -> ");else if("object"==typeof t){let d=[];for(let h in t)if(t.hasOwnProperty(h)){let m=t[h];d.push(h+":"+("string"==typeof m?JSON.stringify(m):Ge(m)))}c=`{${d.join(", ")}}`}return`${n}${r?"("+r+")":""}[${c}]: ${e.replace(ca,"\n ")}`}("\n"+e.message,c,n,r),e.ngTokenPath=c,e[Ao]=null,e}(m,t,"R3InjectorError",this.source)}throw m}finally{ht(h),ao(d)}}resolveInjectorInitializers(){const t=ao(this),n=ht(void 0);try{const c=this.get($a,yn,$e.Self);for(const d of c)d()}finally{ao(t),ht(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Ge(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new lt(205,!1)}processProvider(t){let n=Tr(t=ut(t))?t:ut(t&&t.provide);const r=function Km(e){return jc(e)?zs(void 0,e.useValue):zs(bh(e),zc)}(t);if(Tr(t)||!0!==t.multi)this.records.get(n);else{let c=this.records.get(n);c||(c=zs(void 0,zc,!0),c.factory=()=>Gi(c.multi),this.records.set(n,c)),n=t,c.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===zc&&(n.value=Ym,n.value=n.factory()),"object"==typeof n.value&&n.value&&function qm(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=ut(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 Va(e){const t=bt(e),n=null!==t?t.factory:Dn(e);if(null!==n)return n;if(e instanceof At)throw new lt(204,!1);if(e instanceof Function)return function Wc(e){const t=e.length;if(t>0)throw ns(t,"?"),new lt(204,!1);const n=function Pt(e){return e&&(e[Un]||e[ge])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new lt(204,!1)}function bh(e,t,n){let r;if(Tr(e)){const c=ut(e);return Dn(c)||Va(c)}if(jc(e))r=()=>ut(e.useValue);else if(function Uc(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Gi(e.deps||[]));else if(function _h(e){return!(!e||!e.useExisting)}(e))r=()=>Qn(ut(e.useExisting));else{const c=ut(e&&(e.useClass||e.provide));if(!function Zm(e){return!!e.deps}(e))return Dn(c)||Va(c);r=()=>new c(...Gi(e.deps))}return r}function zs(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Dd(e,t){for(const n of e)Array.isArray(n)?Dd(n,t):n&&_t(n)?Dd(n.\u0275providers,t):t(n)}function Yc(e,t){e instanceof Sr&&e.assertNotDestroyed();const r=ao(e),c=ht(void 0);try{return t()}finally{ao(r),ht(c)}}function Ch(e,t=null,n=null,r){const c=Dh(e,t,n,r);return c.resolveInjectorInitializers(),c}function Dh(e,t=null,n=null,r,c=new Set){const d=[n||yn,Vc(e)];return r=r||("object"==typeof e?void 0:Ge(e)),new Sr(d,t||Gc(),r||null,c)}let Ga,go=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=zi;static#t=this.NULL=new vd;static create(n,r){if(Array.isArray(n))return Ch({name:""},r,n,"");{const c=n.name??"";return Ch({name:c},n.parent,n.providers,c)}}static#n=this.\u0275prov=Je({token:e,providedIn:"any",factory:()=>Qn(Gm)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function Xm(e){Ga=e}function Ar(){if(void 0!==Ga)return Ga;if(typeof document<"u")return document;throw new lt(210,!1)}const Th=new At("AppId",{providedIn:"root",factory:()=>ep}),ep="ng",Md=new At("Platform Initializer"),Td=new At("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Sd=new At("AnimationModuleType"),Wa=new At("CSP nonce",{providedIn:"root",factory:()=>Ar().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Bd(e){return 128==(128&e.flags)}var Vd=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Vd||{});const Xc=/^>|^->|<!--|-->|--!>|<!-$/g,Hd=/(<|>)/g,dp="\u200b$1\u200b";const Ud=new Map;let up=0;const Gd="__ngContext__";function Oi(e,t){di(t)?(e[Gd]=t[zr],function fp(e){Ud.set(e[zr],e)}(t)):e[Gd]=t}let Za;function jh(e,t){return Za(e,t)}function qa(e){const t=e[D];return ui(t)?t[D]:t}function xp(e){return Dp(e[lo])}function Cp(e){return Dp(e[S])}function Dp(e){for(;null!==e&&!ui(e);)e=e[S];return e}function M(e,t,n,r,c){if(null!=r){let d,h=!1;ui(r)?d=r:di(r)&&(h=!0,r=r[$n]);const m=Vn(r);0===e&&null!==n?null==c?Wh(t,n,m):as(t,n,m,c||null,!0):1===e&&null!==n?as(t,n,m,c||null,!0):2===e?function to(e,t,n){const r=Zd(e,t);r&&function Sp(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,m,h):3===e&&t.destroyNode(m),null!=d&&function Zh(e,t,n,r,c){const d=n[Ki];d!==Vn(n)&&M(t,e,r,d,c);for(let m=Jn;m<n.length;m++){const g=n[m];cs(g[ft],g,e,t,r,d)}}(t,e,d,n,c)}}function Yd(e,t){return e.createComment(function jd(e){return e.replace(Xc,t=>t.replace(Hd,dp))}(t))}function eo(e,t,n){return e.createElement(t,n)}function zh(e,t){const n=e[Yr],r=n.indexOf(t);n.splice(r,1)}function ki(e,t){if(e.length<=Jn)return;const n=Jn+t,r=e[n];if(r){const c=r[br];null!==c&&c!==e&&zh(c,r),t>0&&(e[n-1][S]=r[S]);const d=$s(e,Jn+t);!function sr(e,t){cs(e,t,t[Zt],2,null,null),t[$n]=null,t[v]=null}(r[ft],r);const h=d[xo];null!==h&&h.detachView(d[ft]),r[D]=null,r[S]=null,r[$t]&=-129}return r}function nl(e,t){if(!(256&t[$t])){const n=t[Zt];n.destroyNode&&cs(e,t,n,3,null,null),function Ja(e){let t=e[lo];if(!t)return Vo(e[ft],e);for(;t;){let n=null;if(di(t))n=t[lo];else{const r=t[Jn];r&&(n=r)}if(!n){for(;t&&!t[S]&&t!==e;)di(t)&&Vo(t[ft],t),t=t[D];null===t&&(t=e),di(t)&&Vo(t[ft],t),n=t&&t[S]}t=n}}(t)}}function Vo(e,t){if(!(256&t[$t])){t[$t]&=-129,t[$t]|=256,t[Co]&&function ce(e){if(je(e),Fe(e))for(let t=0;t<e.producerNode.length;t++)ke(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)}(t[Co]),function il(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const c=t[n[r]];if(!(c instanceof ka)){const d=n[r+1];if(Array.isArray(d))for(let h=0;h<d.length;h+=2){const m=c[d[h]],g=d[h+1];_i(4,m,g);try{g.call(m)}finally{_i(5,m,g)}}else{_i(4,c,d);try{d.call(c)}finally{_i(5,c,d)}}}}}(e,t),function Tp(e,t){const n=e.cleanup,r=t[Te];if(null!==n)for(let d=0;d<n.length-1;d+=2)if("string"==typeof n[d]){const h=n[d+3];h>=0?r[h]():r[-h].unsubscribe(),d+=2}else n[d].call(r[n[d+1]]);null!==r&&(t[Te]=null);const c=t[Ti];if(null!==c){t[Ti]=null;for(let d=0;d<c.length;d++)(0,c[d])()}}(e,t),1===t[ft].type&&t[Zt].destroy();const n=t[br];if(null!==n&&ui(t[D])){n!==t[D]&&zh(n,t);const r=t[xo];null!==r&&r.detachView(e)}!function mp(e){Ud.delete(e[zr])}(t)}}function Kd(e,t,n){return function Gh(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[$n];{const{componentOffset:c}=r;if(c>-1){const{encapsulation:d}=e.data[r.directiveStart+c];if(d===Vi.None||d===Vi.Emulated)return null}return Fi(r,n)}}(e,t.parent,n)}function as(e,t,n,r,c){e.insertBefore(t,n,r,c)}function Wh(e,t,n){e.appendChild(t,n)}function Yh(e,t,n,r,c){null!==r?as(e,t,n,r,c):Wh(e,t,n)}function Zd(e,t){return e.parentNode(t)}function Ho(e,t,n){return Or(e,t,n)}let ar,rl,Xa,Or=function Mo(e,t,n){return 40&e.type?Fi(e,n):null};function ol(e,t,n,r){const c=Kd(e,r,t),d=t[Zt],m=Ho(r.parent||t[v],r,t);if(null!=c)if(Array.isArray(n))for(let g=0;g<n.length;g++)Yh(d,c,n[g],m,!1);else Yh(d,c,n,m,!1);void 0!==ar&&ar(d,r,t,n,c)}function Qa(e,t){if(null!==t){const n=t.type;if(3&n)return Fi(t,e);if(4&n)return jo(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Qa(e,r);{const c=e[t.index];return ui(c)?jo(-1,c):Vn(c)}}if(32&n)return jh(t,e)()||Vn(e[t.index]);{const r=Kh(e,t);return null!==r?Array.isArray(r)?r[0]:Qa(qa(e[Gn]),r):Qa(e,t.next)}}return null}function Kh(e,t){return null!==t?e[Gn][v].projection[t.projection]:null}function jo(e,t){const n=Jn+e+1;if(n<t.length){const r=t[n],c=r[ft].firstChild;if(null!==c)return Qa(r,c)}return t[Ki]}function Jd(e,t,n,r,c,d,h){for(;null!=n;){const m=r[n.index],g=n.type;if(h&&0===t&&(m&&Oi(Vn(m),r),n.flags|=2),32!=(32&n.flags))if(8&g)Jd(e,t,n.child,r,c,d,!1),M(t,e,c,m,d);else if(32&g){const C=jh(n,r);let R;for(;R=C();)M(t,e,c,R,d);M(t,e,c,m,d)}else 16&g?Qd(e,t,r,n,c,d):M(t,e,c,m,d);n=h?n.projectionNext:n.next}}function cs(e,t,n,r,c,d){Jd(n,r,e.firstChild,t,c,d,!1)}function Qd(e,t,n,r,c,d){const h=n[Gn],g=h[v].projection[r.projection];if(Array.isArray(g))for(let C=0;C<g.length;C++)M(t,e,c,g[C],d);else{let C=g;const R=h[D];Bd(r)&&(C.flags|=128),Jd(e,t,C,R,c,d,!0)}}function qs(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function qh(e,t,n){const{mergedAttrs:r,classes:c,styles:d}=n;null!==r&&vo(e,t,r),null!==c&&qs(e,t,c),null!==d&&function Ri(e,t,n){e.setAttribute(t,"style",n)}(e,t,d)}function Js(e){return function Xd(){if(void 0===rl&&(rl=null,Qt.trustedTypes))try{rl=Qt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return rl}()?.createHTML(e)||e}function Jh(e){return function Qs(){if(void 0===Xa&&(Xa=null,Qt.trustedTypes))try{Xa=Qt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Xa}()?.createHTML(e)||e}class kr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${oi})`}}class Fp extends kr{getTypeName(){return"HTML"}}class Np extends kr{getTypeName(){return"Style"}}class Lp extends kr{getTypeName(){return"Script"}}class Bp extends kr{getTypeName(){return"URL"}}class $p extends kr{getTypeName(){return"ResourceURL"}}function cr(e){return e instanceof kr?e.changingThisBreaksApplicationSecurity:e}function ls(e,t){const n=function Vp(e){return e instanceof kr&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${oi})`)}return n===t}function sl(e){return new Fp(e)}function al(e){return new Np(e)}function ea(e){return new Lp(e)}function Hp(e){return new Bp(e)}function jp(e){return new $p(e)}class Up{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Js(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class zp{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Js(t),n}}const Wp=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function cl(e){return(e=String(e)).match(Wp)?e:"unsafe:"+e}function lr(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ec(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const ef=lr("area,br,col,hr,img,wbr"),tf=lr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),nf=lr("rp,rt"),eu=ec(ef,ec(tf,lr("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")),ec(nf,lr("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")),ec(nf,tf)),tu=lr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),rf=ec(tu,lr("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"),lr("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")),Yp=lr("script,style,template");class Kp{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 c=this.checkClobberedElement(n,n.nextSibling);if(c){n=c;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!eu.hasOwnProperty(n))return this.sanitizedSomething=!0,!Yp.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let c=0;c<r.length;c++){const d=r.item(c),h=d.name,m=h.toLowerCase();if(!rf.hasOwnProperty(m)){this.sanitizedSomething=!0;continue}let g=d.value;tu[m]&&(g=cl(g)),this.buf.push(" ",h,'="',sf(g),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();eu.hasOwnProperty(n)&&!ef.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(sf(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 Zp=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qp=/([^\#-~ |!])/g;function sf(e){return e.replace(/&/g,"&").replace(Zp,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(qp,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let ll;function af(e,t){let n=null;try{ll=ll||function Xh(e){const t=new zp(e);return function Gp(){try{return!!(new window.DOMParser).parseFromString(Js(""),"text/html")}catch{return!1}}()?new Up(t):t}(e);let r=t?String(t):"";n=ll.getInertBodyElement(r);let c=5,d=r;do{if(0===c)throw new Error("Failed to sanitize html because the input is unstable");c--,r=d,d=n.innerHTML,n=ll.getInertBodyElement(r)}while(r!==d);return Js((new Kp).sanitizeChildren(nu(n)||n))}finally{if(n){const r=nu(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function nu(e){return"content"in e&&function Jp(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ds=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}(ds||{});function cf(e){const t=function tc(){const e=Xe();return e&&e[Hn].sanitizer}();return t?Jh(t.sanitize(ds.HTML,e)||""):ls(e,"HTML")?Jh(cr(e)):af(Ar(),It(e))}class og{}let ag=(e,t,n)=>null;function i(e,t,n=!1){return ag(e,t,n)}class Et{}class Ot{}class Li{resolveComponentFactory(t){throw function rn(e){const t=Error(`No component factory found for ${Ge(e)}.`);return t.ngComponent=e,t}(t)}}let ni=(()=>{class e{static#e=this.NULL=new Li}return e})();function ia(){return Bi(Fn(),Xe())}function Bi(e,t){return new fi(Fi(e,t))}let fi=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=ia}return e})();function dr(e){return e instanceof fi?e.nativeElement:e}class zo{}let ur=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function uf(){const e=Xe(),n=Zi(Fn().index,e);return(di(n)?n:e)[Zt]}()}return e})(),oc=(()=>{class e{static#e=this.\u0275prov=Je({token:e,providedIn:"root",factory:()=>null})}return e})();const hr={};function en(e){const t=ne(null);try{return e()}finally{ne(t)}}function ii(e){return!!Wo(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Wo(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class Wn{constructor(){}supports(t){return ii(t)}create(t){return new dg(t)}}const hf=(e,t)=>t;class dg{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||hf}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,c=0,d=null;for(;n||r;){const h=!r||n&&n.currentIndex<rc(r,c,d)?n:r,m=rc(h,c,d),g=h.currentIndex;if(h===r)c--,r=r._nextRemoved;else if(n=n._next,null==h.previousIndex)c++;else{d||(d=[]);const C=m-c,R=g-c;if(C!=R){for(let ye=0;ye<C;ye++){const Ae=ye<d.length?d[ye]:d[ye]=0,Ye=Ae+ye;R<=Ye&&Ye<C&&(d[ye]=Ae+1)}d[h.previousIndex]=R-C}}m!==g&&t(h,m,g)}}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=[]),!ii(t))throw new lt(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let c,d,h,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let m=0;m<this.length;m++)d=t[m],h=this._trackByFn(m,d),null!==n&&Object.is(n.trackById,h)?(r&&(n=this._verifyReinsertion(n,d,h,m)),Object.is(n.item,d)||this._addIdentityChange(n,d)):(n=this._mismatch(n,d,h,m),r=!0),n=n._next}else c=0,function no(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,m=>{h=this._trackByFn(c,m),null!==n&&Object.is(n.trackById,h)?(r&&(n=this._verifyReinsertion(n,m,h,c)),Object.is(n.item,m)||this._addIdentityChange(n,m)):(n=this._mismatch(n,m,h,c),r=!0),n=n._next,c++}),this.length=c;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,c){let d;return null===t?d=this._itTail:(d=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,d,c)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,c))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,d,c)):t=this._addAfter(new Pi(n,r),d,c),t}_verifyReinsertion(t,n,r,c){let d=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==d?t=this._reinsertAfter(d,t._prev,c):t.currentIndex!=c&&(t.currentIndex=c,this._addToMoves(t,c)),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 c=t._prevRemoved,d=t._nextRemoved;return null===c?this._removalsHead=d:c._nextRemoved=d,null===d?this._removalsTail=c:d._prevRemoved=c,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 c=null===n?this._itHead:n._next;return t._next=c,t._prev=n,null===c?this._itTail=t:c._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new io),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 io),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 Pi{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 us{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 io{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new us,this.map.set(n,r)),r.add(t)}get(t,n){const c=this.map.get(t);return c?c.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 rc(e,t,n){const r=e.previousIndex;if(null===r)return r;let c=0;return n&&r<n.length&&(c=n[r]),r+t+c}class fl{constructor(){}supports(t){return t instanceof Map||Wo(t)}create(){return new Ox}}class Ox{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||Wo(t)))throw new lt(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,c)=>{if(n&&n.key===c)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const d=this._getOrCreateRecordForKey(c,r);n=this._insertBeforeOrAppend(n,d)}}),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 c=this._records.get(t);this._maybeAddToChanges(c,n);const d=c._prev,h=c._next;return d&&(d._next=h),h&&(h._prev=d),c._next=null,c._prev=null,c}const r=new kx(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 kx{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 Sb(){return new ug([new Wn])}let ug=(()=>{class e{static#e=this.\u0275prov=Je({token:e,providedIn:"root",factory:Sb});constructor(n){this.factories=n}static create(n,r){if(null!=r){const c=r.factories.slice();n=n.concat(c)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Sb()),deps:[[e,new Qi,new La]]}}find(n){const r=this.factories.find(c=>c.supports(n));if(null!=r)return r;throw new lt(901,!1)}}return e})();function Ab(){return new hg([new fl])}let hg=(()=>{class e{static#e=this.\u0275prov=Je({token:e,providedIn:"root",factory:Ab});constructor(n){this.factories=n}static create(n,r){if(r){const c=r.factories.slice();n=n.concat(c)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Ab()),deps:[[e,new Qi,new La]]}}find(n){const r=this.factories.find(c=>c.supports(n));if(r)return r;throw new lt(901,!1)}}return e})();function du(e,t,n,r,c=!1){for(;null!==n;){const d=t[n.index];null!==d&&r.push(Vn(d)),ui(d)&&Ib(d,r);const h=n.type;if(8&h)du(e,t,n.child,r);else if(32&h){const m=jh(n,t);let g;for(;g=m();)r.push(g)}else if(16&h){const m=Kh(t,n);if(Array.isArray(m))r.push(...m);else{const g=qa(t[Gn]);du(g[ft],g,m,r,!0)}}n=c?n.projectionNext:n.next}return r}function Ib(e,t){for(let n=Jn;n<e.length;n++){const r=e[n],c=r[ft].firstChild;null!==c&&du(r[ft],r,c,t)}e[Ki]!==e[$n]&&t.push(e[Ki])}let Ob=[];const Lx={version:0,lastCleanEpoch: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:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Dc(e.lView)},consumerOnSignalRead(){this.lView[Co]=this}};function fg(e){return e.ngOriginalError}class oa{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&&fg(t);for(;n&&fg(n);)n=fg(n);return n||null}}const Rb=new At("",{providedIn:"root",factory:()=>bn(oa).handleError.bind(void 0)}),Fb=new At("",{providedIn:"root",factory:()=>!1}),hn={};function $b(e){Vb(Cn(),Xe(),vi()+e,!1)}function Vb(e,t,n,r){if(!r)if(3==(3&t[$t])){const d=e.preOrderCheckHooks;null!==d&&Oc(t,d,n)}else{const d=e.preOrderHooks;null!==d&&Oa(t,d,0,n)}qr(n)}function ml(e,t=$e.Default){const n=Xe();return null===n?Qn(e,t):Qu(Fn(),n,ut(e),t)}function Hb(){throw new Error("invalid")}function mf(e,t,n,r,c,d,h,m,g,C,R){const W=t.blueprint.slice();return W[$n]=c,W[$t]=204|r,(null!==C||e&&2048&e[$t])&&(W[$t]|=2048),Wl(W),W[D]=W[Ur]=e,W[ct]=n,W[Hn]=h||e&&e[Hn],W[Zt]=m||e&&e[Zt],W[Gt]=g||e&&e[Gt]||null,W[v]=d,W[zr]=function hp(){return up++}(),W[j]=R,W[vc]=C,W[Gn]=2==t.type?e[Gn]:W,W}function pl(e,t,n,r,c){let d=e.data[t];if(null===d)d=function mg(e,t,n,r,c){const d=pm(),h=Ma(),g=e.data[t]=function qx(e,t,n,r,c,d){let h=t?t.injectorIndex:-1,m=0;return xr()&&(m|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:h,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:m,providerIndexes:0,value:c,attrs:d,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,h?d:d&&d.parent,n,t,r,c);return null===e.firstChild&&(e.firstChild=g),null!==d&&(h?null==d.child&&null!==g.parent&&(d.child=g):null===d.next&&(d.next=g,g.prev=d)),g}(e,t,n,r,c),function Vu(){return tn.lFrame.inI18n}()&&(d.flags|=32);else if(64&d.type){d.type=n,d.value=r,d.attrs=c;const h=function Tc(){const e=tn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();d.injectorIndex=null===h?-1:h.injectorIndex}return nr(d,!0),d}function uu(e,t,n,r){if(0===n)return-1;const c=t.length;for(let d=0;d<n;d++)t.push(r),e.blueprint.push(r),e.data.push(null);return c}function jb(e,t,n,r,c){const d=vi(),h=2&r;try{qr(-1),h&&t.length>qt&&Vb(e,t,qt,!1),_i(h?2:0,c),n(r,c)}finally{qr(d),_i(h?3:1,c)}}function pg(e,t,n){if(ya(t)){const r=ne(null);try{const d=t.directiveEnd;for(let h=t.directiveStart;h<d;h++){const m=e.data[h];m.contentQueries&&m.contentQueries(1,n[h],h)}}finally{ne(r)}}}function gg(e,t,n){No()&&(function iC(e,t,n,r){const c=n.directiveStart,d=n.directiveEnd;wr(n)&&function dC(e,t,n){const r=Fi(t,e),c=Ub(n);let h=16;n.signals?h=4096:n.onPush&&(h=64);const m=pf(e,mf(e,c,null,h,r,t,null,e[Hn].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=m}(t,n,e.data[c+n.componentOffset]),e.firstCreatePass||Pc(n,t),Oi(r,t);const h=n.initialInputs;for(let m=c;m<d;m++){const g=e.data[m],C=Qr(t,e,m,n);Oi(C,t),null!==h&&uC(0,m-c,C,g,0,h),uo(g)&&(Zi(n.index,t)[ct]=Qr(t,e,m,n))}}(e,t,n,Fi(n,t)),64==(64&n.flags)&&Kb(e,t,n))}function _g(e,t,n=Fi){const r=t.localNames;if(null!==r){let c=t.index+1;for(let d=0;d<r.length;d+=2){const h=r[d+1],m=-1===h?n(t,e):e[h];e[c++]=m}}}function Ub(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=bg(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function bg(e,t,n,r,c,d,h,m,g,C,R){const W=qt+r,ye=W+c,Ae=function zx(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:hn);return n}(W,ye),Ye="function"==typeof C?C():C;return Ae[ft]={type:e,blueprint:Ae,template:n,queries:null,viewQuery:m,declTNode:t,data:Ae.slice().fill(null,W),bindingStartIndex:W,expandoStartIndex:ye,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 d?d():d,pipeRegistry:"function"==typeof h?h():h,firstChild:null,schemas:g,consts:Ye,incompleteFirstPass:!1,ssrId:R}}let zb=e=>null;function Gb(e,t,n,r){for(let c in e)if(e.hasOwnProperty(c)){n=null===n?{}:n;const d=e[c];null===r?Wb(n,t,c,d):r.hasOwnProperty(c)&&Wb(n,t,r[c],d)}return n}function Wb(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function To(e,t,n,r,c,d,h,m){const g=Fi(t,n);let R,C=t.inputs;!m&&null!=C&&(R=C[r])?(Cg(e,n,R,r,c),wr(t)&&function Xx(e,t){const n=Zi(t,e);16&n[$t]||(n[$t]|=64)}(n,t.index)):3&t.type&&(r=function Qx(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),c=null!=h?h(c,t.value||"",r):c,d.setProperty(g,r,c))}function vg(e,t,n,r){if(No()){const c=null===r?null:{"":-1},d=function rC(e,t){const n=e.directiveRegistry;let r=null,c=null;if(n)for(let d=0;d<n.length;d++){const h=n[d];if(_r(t,h.selectors,!1))if(r||(r=[]),uo(h))if(null!==h.findHostDirectiveDefs){const m=[];c=c||new Map,h.findHostDirectiveDefs(h,m,c),r.unshift(...m,h),yg(e,t,m.length)}else r.unshift(h),yg(e,t,0);else c=c||new Map,h.findHostDirectiveDefs?.(h,r,c),r.push(h)}return null===r?null:[r,c]}(e,n);let h,m;null===d?h=m=null:[h,m]=d,null!==h&&Yb(e,t,n,h,c,m),c&&function sC(e,t,n){if(t){const r=e.localNames=[];for(let c=0;c<t.length;c+=2){const d=n[t[c+1]];if(null==d)throw new lt(-301,!1);r.push(t[c],d)}}}(n,r,c)}n.mergedAttrs=zn(n.mergedAttrs,n.attrs)}function Yb(e,t,n,r,c,d){for(let C=0;C<r.length;C++)dd(Pc(n,t),e,r[C].type);!function cC(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let C=0;C<r.length;C++){const R=r[C];R.providersResolver&&R.providersResolver(R)}let h=!1,m=!1,g=uu(e,t,r.length,null);for(let C=0;C<r.length;C++){const R=r[C];n.mergedAttrs=zn(n.mergedAttrs,R.hostAttrs),lC(e,n,t,g,R),aC(g,R,c),null!==R.contentQueries&&(n.flags|=4),(null!==R.hostBindings||null!==R.hostAttrs||0!==R.hostVars)&&(n.flags|=64);const W=R.type.prototype;!h&&(W.ngOnChanges||W.ngOnInit||W.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),h=!0),!m&&(W.ngOnChanges||W.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),m=!0),g++}!function Jx(e,t,n){const c=t.directiveEnd,d=e.data,h=t.attrs,m=[];let g=null,C=null;for(let R=t.directiveStart;R<c;R++){const W=d[R],ye=n?n.get(W):null,Ye=ye?ye.outputs:null;g=Gb(W.inputs,R,g,ye?ye.inputs:null),C=Gb(W.outputs,R,C,Ye);const st=null===g||null===h||pa(t)?null:hC(g,R,h);m.push(st)}null!==g&&(g.hasOwnProperty("class")&&(t.flags|=8),g.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=m,t.inputs=g,t.outputs=C}(e,n,d)}function Kb(e,t,n){const r=n.directiveStart,c=n.directiveEnd,d=n.index,h=function vm(){return tn.lFrame.currentDirectiveIndex}();try{qr(d);for(let m=r;m<c;m++){const g=e.data[m],C=t[m];ed(m),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&oC(g,C)}}finally{qr(-1),ed(h)}}function oC(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function yg(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function aC(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;uo(t)&&(n[""]=e)}}function lC(e,t,n,r,c){e.data[r]=c;const d=c.factory||(c.factory=Dn(c.type)),h=new ka(d,uo(c),ml);e.blueprint[r]=h,n[r]=h,function tC(e,t,n,r,c){const d=c.hostBindings;if(d){let h=e.hostBindingOpCodes;null===h&&(h=e.hostBindingOpCodes=[]);const m=~t.index;(function nC(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(h)!=m&&h.push(m),h.push(n,r,d)}}(e,t,r,uu(e,n,c.hostVars,hn),c)}function Rr(e,t,n,r,c,d){const h=Fi(e,t);!function wg(e,t,n,r,c,d,h){if(null==d)e.removeAttribute(t,c,n);else{const m=null==h?It(d):h(d,r||"",c);e.setAttribute(t,c,m,n)}}(t[Zt],h,d,e.value,n,r,c)}function uC(e,t,n,r,c,d){const h=d[t];if(null!==h)for(let m=0;m<h.length;)Zb(r,n,h[m++],h[m++],h[m++])}function Zb(e,t,n,r,c){const d=ne(null);try{const h=e.inputTransforms;null!==h&&h.hasOwnProperty(r)&&(c=h[r].call(t,c)),null!==e.setInput?e.setInput(t,c,n,r):t[r]=c}finally{ne(d)}}function hC(e,t,n){let r=null,c=0;for(;c<n.length;){const d=n[c];if(0!==d)if(5!==d){if("number"==typeof d)break;if(e.hasOwnProperty(d)){null===r&&(r=[]);const h=e[d];for(let m=0;m<h.length;m+=2)if(h[m]===t){r.push(d,h[m+1],n[c+1]);break}}c+=2}else c+=2;else c+=4}return r}function qb(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Jb(e,t){const n=e.contentQueries;if(null!==n){const r=ne(null);try{for(let c=0;c<n.length;c+=2){const h=n[c+1];if(-1!==h){const m=e.data[h];nd(n[c]),m.contentQueries(2,t[h],h)}}}finally{ne(r)}}}function pf(e,t){return e[lo]?e[bc][S]=t:e[lo]=t,e[bc]=t,t}function xg(e,t,n){nd(0);const r=ne(null);try{t(e,n)}finally{ne(r)}}function Qb(e){return e[Te]||(e[Te]=[])}function Xb(e){return e.cleanup||(e.cleanup=[])}function ev(e,t,n){return(null===e||uo(e))&&(n=function Da(e){for(;Array.isArray(e);){if("object"==typeof e[Es])return e;e=e[$n]}return null}(n[t.index])),n[Zt]}function gf(e,t){const n=e[Gt],r=n?n.get(oa,null):null;r&&r.handleError(t)}function Cg(e,t,n,r,c){for(let d=0;d<n.length;){const h=n[d++],m=n[d++];Zb(e.data[h],t[h],r,m,c)}}function pC(e,t,n,r){const c=t[$t];if(256==(256&c))return;t[Hn].inlineEffectRunner?.flush(),Is(t);let h=null,m=null;(function gC(e){return 2!==e.type})(e)&&(m=function Px(e){return e[Co]??function Fx(e){const t=Ob.pop()??Object.create(Lx);return t.lView=e,t}(e)}(t),h=function G(e){return e&&(e.nextProducerIndex=0),ne(e)}(m));try{Wl(t),function gm(e){return tn.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&jb(e,t,n,2,r);const g=3==(3&c);if(g){const W=e.preOrderCheckHooks;null!==W&&Oc(t,W,null)}else{const W=e.preOrderHooks;null!==W&&Oa(t,W,0,null),zu(t,0)}if(function _C(e){for(let t=xp(e);null!==t;t=Cp(t)){if(!(t[$t]&yr.HasTransplantedViews))continue;const n=t[Yr];for(let r=0;r<n.length;r++){Yl(n[r])}}}(t),tv(t,0),null!==e.contentQueries&&Jb(e,t),g){const W=e.contentCheckHooks;null!==W&&Oc(t,W)}else{const W=e.contentHooks;null!==W&&Oa(t,W,1),zu(t,1)}!function Ux(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const c=n[r];if(c<0)qr(~c);else{const d=c,h=n[++r],m=n[++r];bm(h,d),m(2,t[d])}}}finally{qr(-1)}}(e,t);const C=e.components;null!==C&&iv(t,C,0);const R=e.viewQuery;if(null!==R&&xg(2,R,r),g){const W=e.viewCheckHooks;null!==W&&Oc(t,W)}else{const W=e.viewHooks;null!==W&&Oa(t,W,2),zu(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Gr]){for(const W of t[Gr])W();t[Gr]=null}t[$t]&=-73}catch(g){throw Dc(t),g}finally{null!==m&&(function Z(e,t){if(ne(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Fe(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)ke(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(m,h),function Nx(e){e.lView[Co]!==e&&(e.lView=null,Ob.push(e))}(m)),Os()}}function tv(e,t){for(let n=xp(e);null!==n;n=Cp(n)){n[$t]&=~yr.HasChildViewsToRefresh;for(let r=Jn;r<n.length;r++)nv(n[r],t)}}function bC(e,t,n){nv(Zi(t,e),n)}function nv(e,t){Eo(e)&&Eg(e,t)}function Eg(e,t){const r=e[ft],c=e[$t],d=e[Co];let h=!!(0===t&&16&c);if(h||=!!(64&c&&0===t),h||=!!(1024&c),h||=!(!d?.dirty||!ae(d)),d&&(d.dirty=!1),e[$t]&=-9217,h)pC(r,e,r.template,e[ct]);else if(8192&c){tv(e,1);const m=r.components;null!==m&&iv(e,m,1)}}function iv(e,t,n){for(let r=0;r<t.length;r++)bC(e,t[r],n)}function hu(e){for(e[Hn].changeDetectionScheduler?.notify();e;){e[$t]|=64;const t=qa(e);if(yc(e)&&!t)return e;e=t}return null}class fu{get rootNodes(){const t=this._lView,n=t[ft];return du(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ct]}set context(t){this._lView[ct]=t}get destroyed(){return 256==(256&this._lView[$t])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[D];if(ui(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(ki(t,r),$s(n,r))}this._attachedToViewContainer=!1}nl(this._lView[ft],this._lView)}onDestroy(t){!function Ss(e,t){if(256==(256&e[$t]))throw new lt(911,!1);null===e[Ti]&&(e[Ti]=[]),e[Ti].push(t)}(this._lView,t)}markForCheck(){hu(this._cdRefInjectingView||this._lView)}detach(){this._lView[$t]&=-129}reattach(){Cc(this._lView),this._lView[$t]|=128}detectChanges(){this._lView[$t]|=1024,function Dg(e,t=!0){const n=e[Hn],r=n.rendererFactory,c=n.afterRenderEventManager;r.begin?.(),c?.begin();try{!function mC(e){Eg(e,0);let t=0;for(;xc(e);){if(100===t)throw new lt(103,!1);t++,Eg(e,1)}}(e)}catch(h){throw t&&gf(e,h),h}finally{r.end?.(),n.inlineEffectRunner?.flush(),c?.end()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new lt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Ks(e,t){cs(e,t,t[Zt],2,null,null)}(this._lView[ft],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new lt(902,!1);this._appRef=t,Cc(this._lView)}}let ov=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=vC}return e})();function vC(e){return function yC(e,t,n){if(wr(e)&&!n){const r=Zi(e.index,t);return new fu(r,r)}return 47&e.type?new fu(t[Gn],t):null}(Fn(),Xe(),16==(16&e))}const rv=new Set;function sc(e){rv.has(e)||(rv.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Tg(e){return t=>{setTimeout(e,void 0,t)}}const Pr=class IC extends Mt.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let c=t,d=n||(()=>null),h=r;if(t&&"object"==typeof t){const g=t;c=g.next?.bind(g),d=g.error?.bind(g),h=g.complete?.bind(g)}this.__isAsync&&(d=Tg(d),c&&(c=Tg(c)),h&&(h=Tg(h)));const m=super.subscribe({next:c,error:d,complete:h});return t instanceof Le.w0&&t.add(m),m}};function sv(...e){}class yi{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Pr(!1),this.onMicrotaskEmpty=new Pr(!1),this.onStable=new Pr(!1),this.onError=new Pr(!1),typeof Zone>"u")throw new lt(908,!1);Zone.assertZonePatched();const c=this;c._nesting=0,c._outer=c._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(c._inner=c._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(c._inner=c._inner.fork(Zone.longStackTraceZoneSpec)),c.shouldCoalesceEventChangeDetection=!r&&n,c.shouldCoalesceRunChangeDetection=r,c.lastRequestAnimationFrameId=-1,c.nativeRequestAnimationFrame=function OC(){const e="function"==typeof Qt.requestAnimationFrame;let t=Qt[e?"requestAnimationFrame":"setTimeout"],n=Qt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const c=n[Zone.__symbol__("OriginalDelegate")];c&&(n=c)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function PC(e){const t=()=>{!function RC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Qt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ag(e),e.isCheckStableRunning=!0,Sg(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ag(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,c,d,h,m)=>{if(function NC(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(m))return n.invokeTask(c,d,h,m);try{return av(e),n.invokeTask(c,d,h,m)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===d.type||e.shouldCoalesceRunChangeDetection)&&t(),cv(e)}},onInvoke:(n,r,c,d,h,m,g)=>{try{return av(e),n.invoke(c,d,h,m,g)}finally{e.shouldCoalesceRunChangeDetection&&t(),cv(e)}},onHasTask:(n,r,c,d)=>{n.hasTask(c,d),r===c&&("microTask"==d.change?(e._hasPendingMicrotasks=d.microTask,Ag(e),Sg(e)):"macroTask"==d.change&&(e.hasPendingMacrotasks=d.macroTask))},onHandleError:(n,r,c,d)=>(n.handleError(c,d),e.runOutsideAngular(()=>e.onError.emit(d)),!1)})}(c)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!yi.isInAngularZone())throw new lt(909,!1)}static assertNotInAngularZone(){if(yi.isInAngularZone())throw new lt(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,c){const d=this._inner,h=d.scheduleEventTask("NgZoneEvent: "+c,t,kC,sv,sv);try{return d.runTask(h,n,r)}finally{d.cancelTask(h)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const kC={};function Sg(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 Ag(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function av(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function cv(e){e._nesting--,Sg(e)}class FC{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Pr,this.onMicrotaskEmpty=new Pr,this.onStable=new Pr,this.onError=new Pr}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,c){return t.apply(n,r)}}let _f=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth){for(const n of this.internalCallbacks)n();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Je({token:e,providedIn:"root",factory:()=>new e})}return e})();function VC(e,t){const n=Zi(t,e),r=n[ft];!function HC(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const c=n[$n];null!==c&&null===n[j]&&(n[j]=i(c,n[Gt])),Ig(r,n,n[ct])}function Ig(e,t,n){Is(t);try{const r=e.viewQuery;null!==r&&xg(1,r,n);const c=e.template;null!==c&&jb(e,t,c,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Jb(e,t),e.staticViewQueries&&xg(2,e.viewQuery,n);const d=e.components;null!==d&&function jC(e,t){for(let n=0;n<t.length;n++)VC(e,t[n])}(t,d)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[$t]&=-5,Os()}}function bf(e,t,n){let r=n?e.styles:null,c=n?e.classes:null,d=0;if(null!==t)for(let h=0;h<t.length;h++){const m=t[h];"number"==typeof m?d=m:1==d?c=rt(c,m):2==d&&(r=rt(r,m+": "+t[++h]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=c:e.classesWithoutHost=c}class fv extends ni{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=an(t);return new mu(n,this.ngModule)}}function mv(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class zC{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=pr(r);const c=this.injector.get(t,hr,r);return c!==hr||n===hr?c:this.parentInjector.get(t,n,r)}}class mu extends Ot{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=mv(t.inputs);if(null!==n)for(const c of r)n.hasOwnProperty(c.propName)&&(c.transform=n[c.propName]);return r}get outputs(){return mv(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Xo(e){return e.map(gc).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,c){let d=(c=c||this.ngModule)instanceof Si?c:c?.injector;d&&null!==this.componentDef.getStandaloneInjector&&(d=this.componentDef.getStandaloneInjector(d)||d);const h=d?new zC(t,d):t,m=h.get(zo,null);if(null===m)throw new lt(407,!1);const W={rendererFactory:m,sanitizer:h.get(oc,null),inlineEffectRunner:null,afterRenderEventManager:h.get(_f,null),changeDetectionScheduler:h.get(og,null)},ye=m.createRenderer(null,this.componentDef),Ae=this.componentDef.selectors[0][0]||"div",Ye=r?function Gx(e,t,n,r){const d=r.get(Fb,!1)||n===Vi.ShadowDom,h=e.selectRootElement(t,d);return function Wx(e){zb(e)}(h),h}(ye,r,this.componentDef.encapsulation,h):eo(ye,Ae,function UC(e){const t=e.toLowerCase();return"svg"===t?ho:"math"===t?"math":null}(Ae));let st=512;this.componentDef.signals?st|=4096:this.componentDef.onPush||(st|=16);let gt=null;null!==Ye&&(gt=i(Ye,h,!0));const Rt=bg(0,null,null,1,0,null,null,null,null,null,null),it=mf(null,Rt,null,st,null,null,W,ye,h,null,gt);let cn,xn;Is(it);try{const Mn=this.componentDef;let Ui,om=null;Mn.findHostDirectiveDefs?(Ui=[],om=new Map,Mn.findHostDirectiveDefs(Mn,Ui,om),Ui.push(Mn)):Ui=[Mn];const jA=function WC(e,t){const n=e[ft],r=qt;return e[r]=t,pl(n,r,2,"#host",null)}(it,Ye),UA=function YC(e,t,n,r,c,d,h){const m=c[ft];!function KC(e,t,n,r){for(const c of e)t.mergedAttrs=zn(t.mergedAttrs,c.hostAttrs);null!==t.mergedAttrs&&(bf(t,t.mergedAttrs,!0),null!==n&&qh(r,n,t))}(r,e,t,h);let g=null;null!==t&&(g=i(t,c[Gt]));const C=d.rendererFactory.createRenderer(t,n);let R=16;n.signals?R=4096:n.onPush&&(R=64);const W=mf(c,Ub(n),null,R,c[e.index],e,d,C,null,null,g);return m.firstCreatePass&&yg(m,e,r.length-1),pf(c,W),c[e.index]=W}(jA,Ye,Mn,Ui,it,W,ye);xn=Fo(Rt,qt),Ye&&function qC(e,t,n,r){if(r)vo(e,n,["ng-version","17.0.8"]);else{const{attrs:c,classes:d}=function Hr(e){const t=[],n=[];let r=1,c=2;for(;r<e.length;){let d=e[r];if("string"==typeof d)2===c?""!==d&&t.push(d,e[++r]):8===c&&n.push(d);else{if(!Zn(c))break;c=d}r++}return{attrs:t,classes:n}}(t.selectors[0]);c&&vo(e,n,c),d&&d.length>0&&qs(e,n,d.join(" "))}}(ye,Mn,Ye,r),void 0!==n&&function JC(e,t,n){const r=e.projection=[];for(let c=0;c<t.length;c++){const d=n[c];r.push(null!=d?Array.from(d):null)}}(xn,this.ngContentSelectors,n),cn=function ZC(e,t,n,r,c,d){const h=Fn(),m=c[ft],g=Fi(h,c);Yb(m,c,h,n,null,r);for(let R=0;R<n.length;R++)Oi(Qr(c,m,h.directiveStart+R,h),c);Kb(m,c,h),g&&Oi(g,c);const C=Qr(c,m,h.directiveStart+h.componentOffset,h);if(e[ct]=c[ct]=C,null!==d)for(const R of d)R(C,t);return pg(m,h,e),C}(UA,Mn,Ui,om,it,[QC]),Ig(Rt,it,null)}finally{Os()}return new GC(this.componentType,cn,Bi(xn,it),it,xn)}}class GC extends Et{constructor(t,n,r,c,d){super(),this.location=r,this._rootLView=c,this._tNode=d,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new fu(c,void 0,!1),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let c;if(null!==r&&(c=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const d=this._rootLView;Cg(d[ft],d,c,t,n),this.previousInputValues.set(t,n),hu(Zi(this._tNode.index,d))}}get injector(){return new hi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function QC(){const e=Fn();Lo(Xe()[ft],e)}function Og(e){let t=function pv(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let c;if(uo(e))c=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new lt(903,!1);c=t.\u0275dir}if(c){if(n){r.push(c);const h=e;h.inputs=vf(e.inputs),h.inputTransforms=vf(e.inputTransforms),h.declaredInputs=vf(e.declaredInputs),h.outputs=vf(e.outputs);const m=c.hostBindings;m&&nD(e,m);const g=c.viewQuery,C=c.contentQueries;if(g&&eD(e,g),C&&tD(e,C),Oe(e.inputs,c.inputs),Oe(e.declaredInputs,c.declaredInputs),Oe(e.outputs,c.outputs),null!==c.inputTransforms&&(null===h.inputTransforms&&(h.inputTransforms={}),Oe(h.inputTransforms,c.inputTransforms)),uo(c)&&c.data.animation){const R=e.data;R.animation=(R.animation||[]).concat(c.data.animation)}}const d=c.features;if(d)for(let h=0;h<d.length;h++){const m=d[h];m&&m.ngInherit&&m(e),m===Og&&(n=!1)}}t=Object.getPrototypeOf(t)}!function XC(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const c=e[r];c.hostVars=t+=c.hostVars,c.hostAttrs=zn(c.hostAttrs,n=zn(n,c.hostAttrs))}}(r)}function vf(e){return e===Wi?{}:e===yn?[]:e}function eD(e,t){const n=e.viewQuery;e.viewQuery=n?(r,c)=>{t(r,c),n(r,c)}:t}function tD(e,t){const n=e.contentQueries;e.contentQueries=n?(r,c,d)=>{t(r,c,d),n(r,c,d)}:t}function nD(e,t){const n=e.hostBindings;e.hostBindings=n?(r,c)=>{t(r,c),n(r,c)}:t}function vv(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const c=t[r];Array.isArray(c)&&c[2]&&(n[r]=c[2])}e.inputTransforms=n}function Fr(e,t,n){return e[t]=n}function pu(e,t){return e[t]}function wi(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function cc(e,t,n,r){const c=wi(e,t,n);return wi(e,t+1,r)||c}function kg(e,t,n,r){const c=Xe();return wi(c,qi(),t)&&(Cn(),Rr(Nn(),c,e,t,n,r)),kg}function wf(e,t){return e<<17|t<<2}function ra(e){return e>>17&32767}function Rg(e){return 2|e}function lc(e){return(131068&e)>>2}function Pg(e,t){return-131069&e|t<<2}function Fg(e){return 1|e}function Av(e,t,n,r,c){const d=e[n+1],h=null===t;let m=r?ra(d):lc(d),g=!1;for(;0!==m&&(!1===g||h);){const R=e[m+1];fD(e[m],t)&&(g=!0,e[m+1]=r?Fg(R):Rg(R)),m=r?ra(R):lc(R)}g&&(e[n+1]=r?Rg(d):Fg(d))}function fD(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ir(e,t)>=0}const Ei={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Iv(e){return e.substring(Ei.key,Ei.keyEnd)}function Ov(e,t){const n=Ei.textEnd;return n===t?-1:(t=Ei.keyEnd=function _D(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Ei.key=t,n),El(e,t,n))}function El(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Ng(e,t,n){const r=Xe();return wi(r,qi(),t)&&To(Cn(),Nn(),r,e,t,r[Zt],n,!1),Ng}function Lg(e,t,n,r,c){const h=c?"class":"style";Cg(e,n,t.inputs[h],h,r)}function Bg(e,t,n){return fr(e,t,n,!1),Bg}function $g(e,t){return fr(e,t,null,!0),$g}function Nv(e){!function mr(e,t,n,r){const c=Cn(),d=mo(2);c.firstUpdatePass&&Bv(c,null,d,r);const h=Xe();if(n!==hn&&wi(h,d,n)){const m=c.data[vi()];if(jv(m,r)&&!Lv(c,d)){let g=r?m.classesWithoutHost:m.stylesWithoutHost;null!==g&&(n=rt(g,n||"")),Lg(c,m,h,n,r)}else!function TD(e,t,n,r,c,d,h,m){c===hn&&(c=yn);let g=0,C=0,R=0<c.length?c[0]:null,W=0<d.length?d[0]:null;for(;null!==R||null!==W;){const ye=g<c.length?c[g+1]:void 0,Ae=C<d.length?d[C+1]:void 0;let st,Ye=null;R===W?(g+=2,C+=2,ye!==Ae&&(Ye=W,st=Ae)):null===W||null!==R&&R<W?(g+=2,Ye=R):(C+=2,Ye=W,st=Ae),null!==Ye&&Vv(e,t,n,r,Ye,st,h,m),R=g<c.length?c[g]:null,W=C<d.length?d[C]:null}}(c,m,h,h[Zt],h[d+1],h[d+1]=function ED(e,t,n){if(null==n||""===n)return yn;const r=[],c=cr(n);if(Array.isArray(c))for(let d=0;d<c.length;d++)e(r,c[d],!0);else if("object"==typeof c)for(const d in c)c.hasOwnProperty(d)&&e(r,d,c[d]);else"string"==typeof c&&t(r,c);return r}(e,t,n),r,d)}}(MD,Lr,e,!0)}function Lr(e,t){for(let n=function pD(e){return function Rv(e){Ei.key=0,Ei.keyEnd=0,Ei.value=0,Ei.valueEnd=0,Ei.textEnd=e.length}(e),Ov(e,El(e,0,Ei.textEnd))}(t);n>=0;n=Ov(t,n))Ji(e,Iv(t),!0)}function fr(e,t,n,r){const c=Xe(),d=Cn(),h=mo(2);d.firstUpdatePass&&Bv(d,e,h,r),t!==hn&&wi(c,h,t)&&Vv(d,d.data[vi()],c,c[Zt],e,c[h+1]=function SD(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Ge(cr(e)))),e}(t,n),r,h)}function Lv(e,t){return t>=e.expandoStartIndex}function Bv(e,t,n,r){const c=e.data;if(null===c[n+1]){const d=c[vi()],h=Lv(e,n);jv(d,r)&&null===t&&!h&&(t=!1),t=function wD(e,t,n,r){const c=td(e);let d=r?t.residualClasses:t.residualStyles;if(null===c)0===(r?t.classBindings:t.styleBindings)&&(n=gu(n=Vg(null,e,t,n,r),t.attrs,r),d=null);else{const h=t.directiveStylingLast;if(-1===h||e[h]!==c)if(n=Vg(c,e,t,n,r),null===d){let g=function xD(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==lc(r))return e[ra(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=Vg(null,e,t,g[1],r),g=gu(g,t.attrs,r),function CD(e,t,n,r){e[ra(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else d=function DD(e,t,n){let r;const c=t.directiveEnd;for(let d=1+t.directiveStylingLast;d<c;d++)r=gu(r,e[d].hostAttrs,n);return gu(r,t.attrs,n)}(e,t,r)}return void 0!==d&&(r?t.residualClasses=d:t.residualStyles=d),n}(c,d,t,r),function uD(e,t,n,r,c,d){let h=d?t.classBindings:t.styleBindings,m=ra(h),g=lc(h);e[r]=n;let R,C=!1;if(Array.isArray(n)?(R=n[1],(null===R||ir(n,R)>0)&&(C=!0)):R=n,c)if(0!==g){const ye=ra(e[m+1]);e[r+1]=wf(ye,m),0!==ye&&(e[ye+1]=Pg(e[ye+1],r)),e[m+1]=function lD(e,t){return 131071&e|t<<17}(e[m+1],r)}else e[r+1]=wf(m,0),0!==m&&(e[m+1]=Pg(e[m+1],r)),m=r;else e[r+1]=wf(g,0),0===m?m=r:e[g+1]=Pg(e[g+1],r),g=r;C&&(e[r+1]=Rg(e[r+1])),Av(e,R,r,!0),Av(e,R,r,!1),function hD(e,t,n,r,c){const d=c?e.residualClasses:e.residualStyles;null!=d&&"string"==typeof t&&ir(d,t)>=0&&(n[r+1]=Fg(n[r+1]))}(t,R,e,r,d),h=wf(m,g),d?t.classBindings=h:t.styleBindings=h}(c,d,t,n,h,r)}}function Vg(e,t,n,r,c){let d=null;const h=n.directiveEnd;let m=n.directiveStylingLast;for(-1===m?m=n.directiveStart:m++;m<h&&(d=t[m],r=gu(r,d.hostAttrs,c),d!==e);)m++;return null!==e&&(n.directiveStylingLast=m),r}function gu(e,t,n){const r=n?1:2;let c=-1;if(null!==t)for(let d=0;d<t.length;d++){const h=t[d];"number"==typeof h?c=h:c===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ji(e,h,!!n||t[++d]))}return void 0===e?null:e}function MD(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&Ji(e,r,n)}function Vv(e,t,n,r,c,d,h,m){if(!(3&t.type))return;const g=e.data,C=g[m+1],R=function dD(e){return 1==(1&e)}(C)?Hv(g,t,n,c,lc(C),h):void 0;xf(R)||(xf(d)||function cD(e){return 2==(2&e)}(C)&&(d=Hv(g,null,n,c,m,h)),function Uo(e,t,n,r,c){if(t)c?e.addClass(n,r):e.removeClass(n,r);else{let d=-1===r.indexOf("-")?void 0:Vd.DashCase;null==c?e.removeStyle(n,r,d):("string"==typeof c&&c.endsWith("!important")&&(c=c.slice(0,-10),d|=Vd.Important),e.setStyle(n,r,c,d))}}(r,h,Po(vi(),n),c,d))}function Hv(e,t,n,r,c,d){const h=null===t;let m;for(;c>0;){const g=e[c],C=Array.isArray(g),R=C?g[1]:g,W=null===R;let ye=n[c+1];ye===hn&&(ye=W?yn:void 0);let Ae=W?Pa(ye,r):R===r?ye:void 0;if(C&&!xf(Ae)&&(Ae=Pa(g,r)),xf(Ae)&&(m=Ae,h))return m;const Ye=e[c+1];c=h?ra(Ye):lc(Ye)}if(null!==t){let g=d?t.residualClasses:t.residualStyles;null!=g&&(m=Pa(g,r))}return m}function xf(e){return void 0!==e}function jv(e,t){return 0!=(e.flags&(t?8:16))}let Kv=(e,t)=>null;function Ml(e,t){return Kv(e,t)}class sE{destroy(t){}updateValue(t,n){}swap(t,n){const r=Math.min(t,n),c=Math.max(t,n),d=this.detach(c);if(c-r>1){const h=this.detach(r);this.attach(r,d),this.attach(c,h)}else this.attach(r,d)}move(t,n){this.attach(n,this.detach(t))}}function Wg(e,t,n,r,c){return e===n&&Object.is(t,r)?1:Object.is(c(e,t),c(n,r))?-1:0}function Yg(e,t,n,r){return!(void 0===t||!t.has(r)||(e.attach(n,t.get(r)),t.delete(r),0))}function Zv(e,t,n,r,c){if(Yg(e,t,r,n(r,c)))e.updateValue(r,c);else{const d=e.create(r,c);e.attach(r,d)}}function qv(e,t,n,r){const c=new Set;for(let d=t;d<=n;d++)c.add(r(d,e.at(d)));return c}class Jv{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const n=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const c=this._vMap;for(;c.has(r);)r=c.get(r);c.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),void 0!==this._vMap){const c=this._vMap;for(;c.has(r);)r=c.get(r),t(r,n)}}}function wu(e,t,n,r){const c=t.tView,m=mf(e,c,n,4096&e[$t]?4096:16,null,t,null,null,null,r?.injector??null,r?.dehydratedView??null);m[br]=e[t.index];const C=e[xo];return null!==C&&(m[xo]=C.createEmbeddedView(c)),Ig(c,m,n),m}function Qv(e,t){const n=Jn+t;if(n<e.length)return e[n]}function Tl(e,t){return!t||null===t.firstChild||Bd(e)}function xu(e,t,n,r=!0){const c=t[ft];if(function Ep(e,t,n,r){const c=Jn+r,d=n.length;r>0&&(n[c-1][S]=t),r<d-Jn?(t[S]=n[c],$m(n,Jn+r,t)):(n.push(t),t[S]=null),t[D]=n;const h=t[br];null!==h&&n!==h&&function Mp(e,t){const n=e[Yr];t[Gn]!==t[D][D][Gn]&&(e[$t]|=yr.HasTransplantedViews),null===n?e[Yr]=[t]:n.push(t)}(h,t);const m=t[xo];null!==m&&m.insertView(e),Cc(t),t[$t]|=128}(c,t,e,n),r){const h=jo(n,e),m=t[Zt],g=Zd(m,e[Ki]);null!==g&&function _o(e,t,n,r,c,d){r[$n]=c,r[v]=t,cs(e,r,n,1,c,d)}(c,e[v],m,t,g,h)}const d=t[j];null!==d&&null!==d.firstChild&&(d.firstChild=null)}function Kg(e,t){const n=ki(e,t);return void 0!==n&&nl(n[ft],n),n}let Tf=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=cE}return e})();function cE(){return ty(Fn(),Xe())}const lE=Tf,Xv=class extends lE{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Bi(this._hostTNode,this._hostLView)}get injector(){return new hi(this._hostTNode,this._hostLView)}get parentInjector(){const t=Fc(this._hostTNode,this._hostLView);if(sd(t)){const n=Rc(t,this._hostLView),r=Jr(t);return new hi(n[ft].data[r+8],n)}return new hi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=ey(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Jn}createEmbeddedView(t,n,r){let c,d;"number"==typeof r?c=r:null!=r&&(c=r.index,d=r.injector);const h=Ml(this._lContainer,t.ssrId),m=t.createEmbeddedViewImpl(n||{},d,h);return this.insertImpl(m,c,Tl(this._hostTNode,h)),m}createComponent(t,n,r,c,d){const h=t&&!function Lc(e){return"function"==typeof e}(t);let m;if(h)m=n;else{const Ye=n||{};m=Ye.index,r=Ye.injector,c=Ye.projectableNodes,d=Ye.environmentInjector||Ye.ngModuleRef}const g=h?t:new mu(an(t)),C=r||this.parentInjector;if(!d&&null==g.ngModule){const st=(h?C:this.parentInjector).get(Si,null);st&&(d=st)}const R=an(g.componentType??{}),W=Ml(this._lContainer,R?.id??null),Ae=g.create(C,c,W?.firstChild??null,d);return this.insertImpl(Ae.hostView,m,Tl(this._hostTNode,W)),Ae}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const c=t._lView;if(function Gl(e){return ui(e[D])}(c)){const m=this.indexOf(t);if(-1!==m)this.detach(m);else{const g=c[D],C=new Xv(g,g[v],g[D]);C.detach(C.indexOf(t))}}const d=this._adjustIndex(n),h=this._lContainer;return xu(h,c,d,r),t.attachToViewContainerRef(),$m(Zg(h),d,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=ey(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ki(this._lContainer,n);r&&($s(Zg(this._lContainer),n),nl(r[ft],r))}detach(t){const n=this._adjustIndex(t,-1),r=ki(this._lContainer,n);return r&&null!=$s(Zg(this._lContainer),n)?new fu(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function ey(e){return e[8]}function Zg(e){return e[8]||(e[8]=[])}function ty(e,t){let n;const r=t[e.index];return ui(r)?n=r:(n=qb(r,t,null,e),t[e.index]=n,pf(t,n)),ny(n,t,e,r),new Xv(n,e,t)}let ny=function oy(e,t,n,r){if(e[Ki])return;let c;c=8&n.type?Vn(r):function dE(e,t){const n=e[Zt],r=n.createComment(""),c=Fi(t,e);return as(n,Zd(n,c),r,function Ap(e,t){return e.nextSibling(t)}(n,c),!1),r}(t,n),e[Ki]=c},qg=(e,t,n)=>!1;function Sl(e,t,n,r,c,d,h,m){const g=Xe(),C=Cn(),R=e+qt,W=C.firstCreatePass?function mE(e,t,n,r,c,d,h,m,g){const C=t.consts,R=pl(t,e,4,h||null,fo(C,m));vg(t,n,R,fo(C,g)),Lo(t,R);const W=R.tView=bg(2,R,r,c,d,t.directiveRegistry,t.pipeRegistry,null,t.schemas,C,null);return null!==t.queries&&(t.queries.template(t,R),W.queries=t.queries.embeddedTView(R)),R}(R,C,g,t,n,r,c,d,h):C.data[R];nr(W,!1);const ye=ry(C,g,W,e);Ic()&&ol(C,g,ye,W),Oi(ye,g);const Ae=qb(ye,g,ye,W);return g[R]=Ae,pf(g,Ae),function iy(e,t,n){return qg(e,t,n)}(Ae,W,g),wa(W)&&gg(C,g,W),null!=h&&_g(g,W,m),Sl}let ry=function sy(e,t,n,r){return Dr(!0),t[Zt].createComment("")};function ay(e,t,n){sc("NgControlFlow");const r=Xe(),c=qi(),d=Jg(r,qt+e);if(wi(r,c,t)){const m=ne(null);try{if(Kg(d,0),-1!==t){const g=Qg(r[ft],qt+t),C=Ml(d,g.tView.ssrId);xu(d,wu(r,g,n,{dehydratedView:C}),0,Tl(g,C))}}finally{ne(m)}}else{const m=Qv(d,0);void 0!==m&&(m[ct]=n)}}class _E{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Jn}}function cy(e,t){return t}class vE{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}}function ly(e,t,n,r,c,d,h,m,g,C,R){sc("NgControlFlow");const W=void 0!==g,ye=Xe(),Ae=m?h.bind(ye[Gn][ct]):h,Ye=new vE(W,Ae);ye[qt+e]=Ye,Sl(e+1,t,n,r,c,d),W&&Sl(e+2,g,C,R)}class yE extends sE{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Jn}at(t){return this.getLView(t)[ct].$implicit}attach(t,n){const r=n[j];this.needsIndexUpdate||=t!==this.length,xu(this.lContainer,n,t,Tl(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function wE(e,t){return ki(e,t)}(this.lContainer,t)}create(t,n){const r=Ml(this.lContainer,this.templateTNode.tView.ssrId);return wu(this.hostLView,this.templateTNode,new _E(this.lContainer,n,t),{dehydratedView:r})}destroy(t){nl(t[ft],t)}updateValue(t,n){this.getLView(t)[ct].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[ct].$index=t}getLView(t){return function xE(e,t){return Qv(e,t)}(this.lContainer,t)}}function dy(e){const t=ne(null),n=vi();try{const r=Xe(),c=r[ft],d=r[n];if(void 0===d.liveCollection){const m=n+1,g=Jg(r,m),C=Qg(c,m);d.liveCollection=new yE(g,r,C)}else d.liveCollection.reset();const h=d.liveCollection;if(function aE(e,t,n){let r,c,d=0,h=e.length-1;if(Array.isArray(t)){let m=t.length-1;for(;d<=h&&d<=m;){const g=e.at(d),C=t[d],R=Wg(d,g,d,C,n);if(0!==R){R<0&&e.updateValue(d,C),d++;continue}const W=e.at(h),ye=t[m],Ae=Wg(h,W,m,ye,n);if(0!==Ae){Ae<0&&e.updateValue(h,ye),h--,m--;continue}const Ye=n(d,g),st=n(h,W),gt=n(d,C);if(Object.is(gt,st)){const Rt=n(m,ye);Object.is(Rt,Ye)?(e.swap(d,h),e.updateValue(h,ye),m--,h--):e.move(h,d),e.updateValue(d,C),d++}else if(r??=new Jv,c??=qv(e,d,h,n),Yg(e,r,d,gt))e.updateValue(d,C),d++,h++;else if(c.has(gt))r.set(Ye,e.detach(d)),h--;else{const Rt=e.create(d,t[d]);e.attach(d,Rt),d++,h++}}for(;d<=m;)Zv(e,r,n,d,t[d]),d++}else if(null!=t){const m=t[Symbol.iterator]();let g=m.next();for(;!g.done&&d<=h;){const C=e.at(d),R=g.value,W=Wg(d,C,d,R,n);if(0!==W)W<0&&e.updateValue(d,R),d++,g=m.next();else{r??=new Jv,c??=qv(e,d,h,n);const ye=n(d,R);if(Yg(e,r,d,ye))e.updateValue(d,R),d++,h++,g=m.next();else if(c.has(ye)){const Ae=n(d,C);r.set(Ae,e.detach(d)),h--}else e.attach(d,e.create(d,R)),d++,h++,g=m.next()}}for(;!g.done;)Zv(e,r,n,e.length,g.value),g=m.next()}for(;d<=h;)e.destroy(e.detach(h--));r?.forEach(m=>{e.destroy(m)})}(h,e,d.trackByFn),h.updateIndexes(),d.hasEmptyBlock){const m=qi(),g=0===h.length;if(wi(r,m,g)){const C=n+2,R=Jg(r,C);if(g){const W=Qg(c,C),ye=Ml(R,W.tView.ssrId);xu(R,wu(r,W,void 0,{dehydratedView:ye}),0,Tl(W,ye))}else Kg(R,0)}}}finally{ne(t)}}function Jg(e,t){return e[t]}function Qg(e,t){return Fo(e,t)}function Rf(e,t,n,r){const c=Xe(),d=Cn(),h=qt+e,m=c[Zt],g=d.firstCreatePass?function XE(e,t,n,r,c,d){const h=t.consts,g=pl(t,e,2,r,fo(h,c));return vg(t,n,g,fo(h,d)),null!==g.attrs&&bf(g,g.attrs,!1),null!==g.mergedAttrs&&bf(g,g.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,g),g}(h,d,c,t,n,r):d.data[h],C=Ry(d,c,g,m,t,e);c[h]=C;const R=wa(g);return nr(g,!0),qh(m,C,g),32!=(32&g.flags)&&Ic()&&ol(d,c,C,g),0===function um(){return tn.lFrame.elementDepthCount}()&&Oi(C,c),function Ea(){tn.lFrame.elementDepthCount++}(),R&&(gg(d,c,g),pg(d,g,c)),null!==r&&_g(c,g),Rf}function Pf(){let e=Fn();Ma()?Ql():(e=e.parent,nr(e,!1));const t=e;(function ql(e){return tn.skipHydrationRootTNode===e})(t)&&function hm(){tn.skipHydrationRootTNode=null}(),function Ec(){tn.lFrame.elementDepthCount--}();const n=Cn();return n.firstCreatePass&&(Lo(n,e),ya(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Dm(e){return 0!=(8&e.flags)}(t)&&Lg(n,t,Xe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Em(e){return 0!=(16&e.flags)}(t)&&Lg(n,t,Xe(),t.stylesWithoutHost,!1),Pf}function a_(e,t,n,r){return Rf(e,t,n,r),Pf(),a_}let Ry=(e,t,n,r,c,d)=>(Dr(!0),eo(r,c,function wm(){return tn.lFrame.currentNamespace}()));function Ff(e,t,n){const r=Xe(),c=Cn(),d=e+qt,h=c.firstCreatePass?function nM(e,t,n,r,c){const d=t.consts,h=fo(d,r),m=pl(t,e,8,"ng-container",h);return null!==h&&bf(m,h,!0),vg(t,n,m,fo(d,c)),null!==t.queries&&t.queries.elementStart(t,m),m}(d,c,r,t,n):c.data[d];nr(h,!0);const m=Py(c,r,h,e);return r[d]=m,Ic()&&ol(c,r,m,h),Oi(m,r),wa(h)&&(gg(c,r,h),pg(c,h,r)),null!=n&&_g(r,h),Ff}function Nf(){let e=Fn();const t=Cn();return Ma()?Ql():(e=e.parent,nr(e,!1)),t.firstCreatePass&&(Lo(t,e),ya(e)&&t.queries.elementEnd(e)),Nf}function c_(e,t,n){return Ff(e,t,n),Nf(),c_}let Py=(e,t,n,r)=>(Dr(!0),Yd(t[Zt],""));function Fy(){return Xe()}function l_(e,t,n){const r=Xe();return wi(r,qi(),t)&&To(Cn(),Nn(),r,e,t,r[Zt],n,!0),l_}function d_(e,t,n){const r=Xe();if(wi(r,qi(),t)){const d=Cn(),h=Nn();To(d,h,r,e,t,ev(td(d.data),h,r),n,!0)}return d_}const uc=void 0;var sM=["en",[["a","p"],["AM","PM"],uc],[["AM","PM"],uc,uc],[["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"]],uc,[["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"]],uc,[["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}",uc,"{1} 'at' {0}",uc],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function rM(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Fl={};function u_(e){const t=function aM(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Ly(t);if(n)return n;const r=t.split("-")[0];if(n=Ly(r),n)return n;if("en"===r)return sM;throw new lt(701,!1)}function Ny(e){return u_(e)[Nl.PluralCase]}function Ly(e){return e in Fl||(Fl[e]=Qt.ng&&Qt.ng.common&&Qt.ng.common.locales&&Qt.ng.common.locales[e]),Fl[e]}var Nl=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}(Nl||{});const Ll="en-US";let By=Ll;function m_(e){return!!e&&"function"==typeof e.then}function d0(e){return!!e&&"function"==typeof e.subscribe}function p_(e,t,n,r){const c=Xe(),d=Cn(),h=Fn();return function h0(e,t,n,r,c,d,h){const m=wa(r),C=e.firstCreatePass&&Xb(e),R=t[ct],W=Qb(t);let ye=!0;if(3&r.type||h){const st=Fi(r,t),gt=h?h(st):st,Rt=W.length,it=h?xn=>h(Vn(xn[r.index])):r.index;let cn=null;if(!h&&m&&(cn=function tT(e,t,n,r){const c=e.cleanup;if(null!=c)for(let d=0;d<c.length-1;d+=2){const h=c[d];if(h===n&&c[d+1]===r){const m=t[Te],g=c[d+2];return m.length>g?m[g]:null}"string"==typeof h&&(d+=2)}return null}(e,t,c,r.index)),null!==cn)(cn.__ngLastListenerFn__||cn).__ngNextListenerFn__=d,cn.__ngLastListenerFn__=d,ye=!1;else{d=m0(r,t,R,d,!1);const xn=n.listen(gt,c,d);W.push(d,xn),C&&C.push(c,it,Rt,Rt+1)}}else d=m0(r,t,R,d,!1);const Ae=r.outputs;let Ye;if(ye&&null!==Ae&&(Ye=Ae[c])){const st=Ye.length;if(st)for(let gt=0;gt<st;gt+=2){const Mn=t[Ye[gt]][Ye[gt+1]].subscribe(d),Ui=W.length;W.push(d,Mn),C&&C.push(c,r.index,Ui,-(Ui+1))}}}(d,c,c[Zt],h,e,t,r),p_}function f0(e,t,n,r){try{return _i(6,t,n),!1!==n(r)}catch(c){return gf(e,c),!1}finally{_i(7,t,n)}}function m0(e,t,n,r,c){return function d(h){if(h===Function)return r;hu(e.componentOffset>-1?Zi(e.index,t):t);let g=f0(t,n,r,h),C=d.__ngNextListenerFn__;for(;C;)g=f0(t,n,C,h)&&g,C=C.__ngNextListenerFn__;return c&&!1===g&&h.preventDefault(),g}}function p0(e=1){return function eb(e){return(tn.lFrame.contextLView=function Kl(e,t){for(;e>0;)t=t[Ur],e--;return t}(e,tn.lFrame.contextLView))[ct]}(e)}function nT(e,t){let n=null;const r=function ga(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 c=0;c<t.length;c++){const d=t[c];if("*"!==d){if(null===r?_r(e,d,!0):pc(r,d))return c}else n=c}return n}function g0(e){const t=Xe()[Gn][v];if(!t.projection){const r=t.projection=ns(e?e.length:1,null),c=r.slice();let d=t.child;for(;null!==d;){const h=e?nT(d,e):0;null!==h&&(c[h]?c[h].projectionNext=d:r[h]=d,c[h]=d),d=d.next}}}function _0(e,t=0,n){const r=Xe(),c=Cn(),d=pl(c,qt+e,16,null,n||null);null===d.projection&&(d.projection=t),Ql(),(!r[j]||xr())&&32!=(32&d.flags)&&function Ip(e,t,n){Qd(t[Zt],0,t,n,Kd(e,n,t),Ho(n.parent||t[v],n,t))}(c,r,d)}function T0(e){return tr(function Sc(){return tn.lFrame.contextLView}(),qt+e)}function L0(e,t=""){const n=Xe(),r=Cn(),c=e+qt,d=r.firstCreatePass?pl(r,c,1,t,null):r.data[c],h=B0(r,n,d,t,e);n[c]=h,Ic()&&ol(r,n,h,d),nr(d,!1)}let B0=(e,t,n,r,c)=>(Dr(!0),function tl(e,t){return e.createText(t)}(t[Zt],r));function __(e){return Hf("",e,""),__}function Hf(e,t,n){const r=Xe(),c=function _l(e,t,n,r){return wi(e,qi(),n)?t+It(n)+r:hn}(r,e,t,n);return c!==hn&&function hs(e,t,n){const r=Po(t,e);!function Uh(e,t,n){e.setValue(t,n)}(e[Zt],r,n)}(r,vi(),c),Hf}function b_(e,t,n,r,c){if(e=ut(e),Array.isArray(e))for(let d=0;d<e.length;d++)b_(e[d],t,n,r,c);else{const d=Cn(),h=Xe(),m=Fn();let g=Tr(e)?e:ut(e.provide);const C=bh(e),R=1048575&m.providerIndexes,W=m.directiveStart,ye=m.providerIndexes>>20;if(Tr(e)||!e.multi){const Ae=new ka(C,c,ml),Ye=y_(g,t,c?R:R+ye,W);-1===Ye?(dd(Pc(m,h),d,g),v_(d,e,t.length),t.push(g),m.directiveStart++,m.directiveEnd++,c&&(m.providerIndexes+=1048576),n.push(Ae),h.push(Ae)):(n[Ye]=Ae,h[Ye]=Ae)}else{const Ae=y_(g,t,R+ye,W),Ye=y_(g,t,R,R+ye),gt=Ye>=0&&n[Ye];if(c&&!gt||!c&&!(Ae>=0&&n[Ae])){dd(Pc(m,h),d,g);const Rt=function bT(e,t,n,r,c){const d=new ka(e,n,ml);return d.multi=[],d.index=t,d.componentProviders=0,Y0(d,c,r&&!n),d}(c?_T:gT,n.length,c,r,C);!c&>&&(n[Ye].providerFactory=Rt),v_(d,e,t.length,0),t.push(g),m.directiveStart++,m.directiveEnd++,c&&(m.providerIndexes+=1048576),n.push(Rt),h.push(Rt)}else v_(d,e,Ae>-1?Ae:Ye,Y0(n[c?Ye:Ae],C,!c&&r));!c&&r&>&&n[Ye].componentProviders++}}}function v_(e,t,n,r){const c=Tr(t),d=function Wm(e){return!!e.useClass}(t);if(c||d){const g=(d?ut(t.useClass):t).prototype.ngOnDestroy;if(g){const C=e.destroyHooks||(e.destroyHooks=[]);if(!c&&t.multi){const R=C.indexOf(n);-1===R?C.push(n,[r,g]):C[R+1].push(r,g)}else C.push(n,g)}}}function Y0(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function y_(e,t,n,r){for(let c=n;c<r;c++)if(t[c]===e)return c;return-1}function gT(e,t,n,r){return w_(this.multi,[])}function _T(e,t,n,r){const c=this.multi;let d;if(this.providerFactory){const h=this.providerFactory.componentProviders,m=Qr(n,n[ft],this.providerFactory.index,r);d=m.slice(0,h),w_(c,d);for(let g=h;g<m.length;g++)d.push(m[g])}else d=[],w_(c,d);return d}function w_(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function K0(e,t=[]){return n=>{n.providersResolver=(r,c)=>function pT(e,t,n){const r=Cn();if(r.firstCreatePass){const c=uo(e);b_(n,r.data,r.blueprint,c,!0),b_(t,r.data,r.blueprint,c,!1)}}(r,c?c(e):e,t)}}class hc{}class vT{}function yT(e,t){return new x_(e,t??null,[])}class x_ extends hc{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new fv(this);const c=function ti(e,t){const n=e[pn]||null;if(!n&&!0===t)throw new Error(`Type ${Ge(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function Ai(e){return e instanceof Function?e():e}(c.bootstrap),this._r3Injector=Dh(t,n,[{provide:hc,useValue:this},{provide:ni,useValue:this.componentFactoryResolver},...r],Ge(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 C_ extends vT{constructor(t){super(),this.moduleType=t}create(t){return new x_(this.moduleType,t,[])}}class Z0 extends hc{constructor(t){super(),this.componentFactoryResolver=new fv(this),this.instance=null;const n=new Sr([...t.providers,{provide:hc,useValue:this},{provide:ni,useValue:this.componentFactoryResolver}],t.parent||Gc(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}let CT=(()=>{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=mh(0,n.type),c=r.length>0?function xT(e,t,n=null){return new Z0({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,c)}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=Je({token:e,providedIn:"environment",factory:()=>new e(Qn(Si))})}return e})();function q0(e){sc("NgStandalone"),e.getStandaloneInjector=t=>t.get(CT).getOrCreateStandaloneInjector(e)}function ow(e,t,n){const r=bi()+e,c=Xe();return c[r]===hn?Fr(c,r,n?t.call(n):t()):pu(c,r)}function rw(e,t,n,r){return cw(Xe(),bi(),e,t,n,r)}function sw(e,t,n,r,c){return lw(Xe(),bi(),e,t,n,r,c)}function aw(e,t,n,r,c,d,h,m,g){const C=bi()+e,R=Xe(),W=function Yo(e,t,n,r,c,d){const h=cc(e,t,n,r);return cc(e,t+2,c,d)||h}(R,C,n,r,c,d);return cc(R,C+4,h,m)||W?Fr(R,C+6,g?t.call(g,n,r,c,d,h,m):t(n,r,c,d,h,m)):pu(R,C+6)}function Ou(e,t){const n=e[t];return n===hn?void 0:n}function cw(e,t,n,r,c,d){const h=t+n;return wi(e,h,c)?Fr(e,h+1,d?r.call(d,c):r(c)):Ou(e,h+1)}function lw(e,t,n,r,c,d,h){const m=t+n;return cc(e,m,c,d)?Fr(e,m+2,h?r.call(h,c,d):r(c,d)):Ou(e,m+2)}function fw(e,t){const n=Cn();let r;const c=e+qt;n.firstCreatePass?(r=function VT(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[c]=r,r.onDestroy&&(n.destroyHooks??=[]).push(c,r.onDestroy)):r=n.data[c];const d=r.factory||(r.factory=Dn(r.type)),m=ht(ml);try{const g=cd(!1),C=d();return cd(g),function iT(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Xe(),c,C),C}finally{ht(m)}}function mw(e,t,n){const r=e+qt,c=Xe(),d=tr(c,r);return ku(c,r)?cw(c,bi(),t,d.transform,n,d):d.transform(n)}function pw(e,t,n,r){const c=e+qt,d=Xe(),h=tr(d,c);return ku(d,c)?lw(d,bi(),t,h.transform,n,r,h):h.transform(n,r)}function ku(e,t){return e[ft].data[t].pure}function zT(){return this._results[Symbol.iterator]()}class zf{static#e=Symbol.iterator;get changes(){return this._changes??=new Pr}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=zf.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=zT)}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){this.dirty=!1;const r=function Ni(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Bm(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let c=e[r],d=t[r];if(n&&(c=n(c),d=n(d)),d!==c)return!1}return!0}(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}let Ru=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=YT}return e})();const GT=Ru,WT=class extends GT{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 c=wu(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:r});return new fu(c)}};function YT(){return Gf(Fn(),Xe())}function Gf(e,t){return 4&e.type?new WT(t,e,Bi(e,t)):null}class E_{constructor(t){this.queryList=t,this.matches=null}clone(){return new E_(this.queryList)}setDirty(){this.queryList.setDirty()}}class M_{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,c=[];for(let d=0;d<r;d++){const h=n.getByIndex(d);c.push(this.queries[h.indexInDeclarationView].clone())}return new M_(c)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Dw(t,n).matches&&this.queries[n].setDirty()}}class gw{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class T_{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 c=null!==n?n.length:0,d=this.getByIndex(r).embeddedTView(t,c);d&&(d.indexInDeclarationView=r,null!==n?n.push(d):n=[d])}return null!==n?new T_(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 S_{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 S_(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 c=0;c<r.length;c++){const d=r[c];this.matchTNodeWithReadOption(t,n,KT(n,d)),this.matchTNodeWithReadOption(t,n,Nc(n,t,d,!1,!1))}else r===Ru?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Nc(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const c=this.metadata.read;if(null!==c)if(c===fi||c===Tf||c===Ru&&4&n.type)this.addMatch(n.index,-2);else{const d=Nc(n,t,c,!1,!1);null!==d&&this.addMatch(n.index,d)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function KT(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 qT(e,t,n,r){return-1===n?function ZT(e,t){return 11&e.type?Bi(e,t):4&e.type?Gf(e,t):null}(t,e):-2===n?function JT(e,t,n){return n===fi?Bi(t,e):n===Ru?Gf(t,e):n===Tf?ty(t,e):void 0}(e,t,r):Qr(e,e[ft],n,t)}function _w(e,t,n,r){const c=t[xo].queries[r];if(null===c.matches){const d=e.data,h=n.matches,m=[];for(let g=0;g<h.length;g+=2){const C=h[g];m.push(C<0?null:qT(t,d[C],h[g+1],n.metadata.read))}c.matches=m}return c.matches}function A_(e,t,n,r){const c=e.queries.getByIndex(n),d=c.matches;if(null!==d){const h=_w(e,t,c,n);for(let m=0;m<d.length;m+=2){const g=d[m];if(g>0)r.push(h[m/2]);else{const C=d[m+1],R=t[-g];for(let W=Jn;W<R.length;W++){const ye=R[W];ye[br]===ye[D]&&A_(ye[ft],ye,C,r)}if(null!==R[Yr]){const W=R[Yr];for(let ye=0;ye<W.length;ye++){const Ae=W[ye];A_(Ae[ft],Ae,C,r)}}}}}return r}function bw(e){const t=Xe(),n=Cn(),r=Hu();nd(r+1);const c=Dw(n,r);if(e.dirty&&function dm(e){return 4==(4&e[$t])}(t)===(2==(2&c.metadata.flags))){if(null===c.matches)e.reset([]);else{const d=c.crossesNgTemplate?A_(n,t,r,[]):_w(n,t,c,r);e.reset(d,dr),e.notifyOnChanges()}return!0}return!1}function vw(e,t,n){const r=Cn();r.firstCreatePass&&(Cw(r,new gw(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),xw(r,Xe(),t)}function yw(e,t,n,r){const c=Cn();if(c.firstCreatePass){const d=Fn();Cw(c,new gw(t,n,r),d.index),function XT(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(c,e),2==(2&n)&&(c.staticContentQueries=!0)}xw(c,Xe(),n)}function ww(){return function QT(e,t){return e[xo].queries[t].queryList}(Xe(),Hu())}function xw(e,t,n){const r=new zf(4==(4&n));(function Zx(e,t,n,r){const c=Qb(t);c.push(n),e.firstCreatePass&&Xb(e).push(r,c.length-1)})(e,t,r,r.destroy),null===t[xo]&&(t[xo]=new M_),t[xo].queries.push(new E_(r))}function Cw(e,t,n){null===e.queries&&(e.queries=new T_),e.queries.track(new S_(t,n))}function Dw(e,t){return e.queries.getByIndex(t)}function Ew(e,t){return Gf(e,t)}class Hw{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let jw=(()=>{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=Je({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),P_=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ze.X(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||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&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Je({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Yw=new At(""),Kw=new At("");let N_,WS=(()=>{class e{constructor(n,r,c){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,N_||(function YS(e){N_=e}(c),c.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:()=>{yi.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,c){let d=-1;r&&r>0&&(d=setTimeout(()=>{this._callbacks=this._callbacks.filter(h=>h.timeoutId!==d),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:d,updateCb:c})}whenStable(n,r,c){if(c&&!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,c),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,c){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(Qn(yi),Qn(Zw),Qn(Kw))};static#t=this.\u0275prov=Je({token:e,factory:e.\u0275fac})}return e})(),Zw=(()=>{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 N_?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Je({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const KS=new At("Application Initializer");let L_=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=bn(KS,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const c of this.appInits){const d=c();if(m_(d))n.push(d);else if(d0(d)){const h=new Promise((m,g)=>{d.subscribe({complete:m,error:g})});n.push(h)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(c=>{this.reject(c)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Je({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const qw=new At("appBootstrapListener");function Xw(e,t){return Array.isArray(t)?t.reduce(Xw,e):{...e,...t}}let Vl=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=bn(Rb),this.componentTypes=[],this.components=[],this.isStable=bn(P_).hasPendingTasks.pipe((0,U.U)(n=>!n)),this._injector=bn(Si)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const c=n instanceof Ot;if(!this._injector.get(L_).done)throw!c&&function Yi(e){const t=an(e)||Xn(e)||ei(e);return null!==t&&t.standalone}(n),new lt(405,!1);let h;h=c?n:this._injector.get(ni).resolveComponentFactory(n),this.componentTypes.push(h.componentType);const m=function qS(e){return e.isBoundToModule}(h)?void 0:this._injector.get(hc),C=h.create(go.NULL,[],r||h.selector,m),R=C.location.nativeElement,W=C.injector.get(Yw,null);return W?.registerApplication(R),C.onDestroy(()=>{this.detachView(C.hostView),Kf(this.components,C),W?.unregisterApplication(R)}),this._loadComponent(C),C}tick(){if(this._runningTick)throw new lt(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;Kf(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(qw,[]);[...this._bootstrapListeners,...r].forEach(c=>c(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),()=>Kf(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new lt(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=Je({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Kf(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let QS=(()=>{class e{constructor(){this.zone=bn(yi),this.applicationRef=bn(Vl)}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=Je({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function XS(){const e=bn(yi),t=bn(oa);return n=>e.runOutsideAngular(()=>t.handleError(n))}let tA=(()=>{class e{constructor(){this.subscription=new Le.w0,this.initialized=!1,this.zone=bn(yi),this.pendingTasks=bn(P_)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{yi.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{yi.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Je({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const qf=new At("LocaleId",{providedIn:"root",factory:()=>bn(qf,$e.Optional|$e.SkipSelf)||function nA(){return typeof $localize<"u"&&$localize.locale||Ll}()}),iA=new At("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),B_=new At("PlatformDestroyListeners");let ix=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const c=function LC(e="zone.js",t){return"noop"===e?new FC:"zone.js"===e?new yi(t):e}(r?.ngZone,function nx(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return c.run(()=>{const d=function wT(e,t,n){return new x_(e,t,n)}(n.moduleType,this.injector,function tx(e){return[{provide:yi,useFactory:e},{provide:$a,multi:!0,useFactory:()=>{const t=bn(QS,{optional:!0});return()=>t.initialize()}},{provide:$a,multi:!0,useFactory:()=>{const t=bn(tA);return()=>{t.initialize()}}},{provide:Rb,useFactory:XS}]}(()=>c)),h=d.injector.get(oa,null);return c.runOutsideAngular(()=>{const m=c.onError.subscribe({next:g=>{h.handleError(g)}});d.onDestroy(()=>{Kf(this._modules,d),m.unsubscribe()})}),function Qw(e,t,n){try{const r=n();return m_(r)?r.catch(c=>{throw t.runOutsideAngular(()=>e.handleError(c)),c}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(h,c,()=>{const m=d.injector.get(L_);return m.runInitializers(),m.donePromise.then(()=>(function $y(e){ln(e,"Expected localeId to be defined"),"string"==typeof e&&(By=e.toLowerCase().replace(/_/g,"-"))}(d.injector.get(qf,Ll)||Ll),this._moduleDoBootstrap(d),d))})})}bootstrapModule(n,r=[]){const c=Xw({},r);return function ZS(e,t,n){const r=new C_(n);return Promise.resolve(r)}(0,0,n).then(d=>this.bootstrapModuleFactory(d,c))}_moduleDoBootstrap(n){const r=n.injector.get(Vl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(c=>r.bootstrap(c));else{if(!n.instance.ngDoBootstrap)throw new lt(-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 lt(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(B_,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)(Qn(go))};static#t=this.\u0275prov=Je({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),aa=null;const ox=new At("AllowMultipleToken");function rx(e,t,n=[]){const r=`Platform: ${t}`,c=new At(r);return(d=[])=>{let h=$_();if(!h||h.injector.get(ox,!1)){const m=[...n,...d,{provide:c,useValue:!0}];e?e(m):function rA(e){if(aa&&!aa.get(ox,!1))throw new lt(400,!1);(function Jw(){!function X(e){nn=e}(()=>{throw new lt(600,!1)})})(),aa=e;const t=e.get(ix);(function ax(e){e.get(Md,null)?.forEach(n=>n())})(e)}(function sx(e=[],t){return go.create({name:t,providers:[{provide:wd,useValue:"platform"},{provide:B_,useValue:new Set([()=>aa=null])},...e]})}(m,r))}return function sA(e){const t=$_();if(!t)throw new lt(401,!1);return t}()}}function $_(){return aa?.get(ix)??null}function cA(){}const fA=rx(null,"core",[]);let mA=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(Qn(Vl))};static#t=this.\u0275mod=wo({type:e});static#n=this.\u0275inj=Bt({})}return e})();function $A(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function VA(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}},8832:(Ke,De,y)=>{"use strict";y.d(De,{Cf:()=>G,F:()=>Qt,Fj:()=>pe,JJ:()=>Oe,JL:()=>Ge,JU:()=>me,NI:()=>At,On:()=>zi,UX:()=>$t,_Y:()=>li,a5:()=>Le,kI:()=>ce,oH:()=>bn,sg:()=>Gi,u5:()=>ft});var f=y(1322),o=y(9462),ve=y(107),be=y(6312),de=y(8412);let ne=(()=>{class D{constructor(v,j){this._renderer=v,this._elementRef=j,this.onChange=Te=>{},this.onTouched=()=>{}}setProperty(v,j){this._renderer.setProperty(this._elementRef.nativeElement,v,j)}registerOnTouched(v){this.onTouched=v}registerOnChange(v){this.onChange=v}setDisabledState(v){this.setProperty("disabled",v)}static#e=this.\u0275fac=function(j){return new(j||D)(f.Y36(f.Qsj),f.Y36(f.SBq))};static#t=this.\u0275dir=f.lG2({type:D})}return D})(),ue=(()=>{class D extends ne{static#e=this.\u0275fac=(()=>{let v;return function(Te){return(v||(v=f.n5z(D)))(Te||D)}})();static#t=this.\u0275dir=f.lG2({type:D,features:[f.qOj]})}return D})();const me=new f.OlP("NgValueAccessor"),Y={provide:me,useExisting:(0,f.Gpc)(()=>pe),multi:!0},re=new f.OlP("CompositionEventMode");let pe=(()=>{class D extends ne{constructor(v,j,Te){super(v,j),this._compositionMode=Te,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function J(){const D=(0,o.q)()?(0,o.q)().getUserAgent():"";return/android (\d+)/.test(D.toLowerCase())}())}writeValue(v){this.setProperty("value",v??"")}_handleInput(v){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(v)}_compositionStart(){this._composing=!0}_compositionEnd(v){this._composing=!1,this._compositionMode&&this.onChange(v)}static#e=this.\u0275fac=function(j){return new(j||D)(f.Y36(f.Qsj),f.Y36(f.SBq),f.Y36(re,8))};static#t=this.\u0275dir=f.lG2({type:D,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(j,Te){1&j&&f.NdJ("input",function(Gt){return Te._handleInput(Gt.target.value)})("blur",function(){return Te.onTouched()})("compositionstart",function(){return Te._compositionStart()})("compositionend",function(Gt){return Te._compositionEnd(Gt.target.value)})},features:[f._Bn([Y]),f.qOj]})}return D})();function le(D){return null==D||("string"==typeof D||Array.isArray(D))&&0===D.length}function Se(D){return null!=D&&"number"==typeof D.length}const G=new f.OlP("NgValidators"),Z=new f.OlP("NgAsyncValidators"),ae=/^(?=.{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 ce{static min(S){return function Ie(D){return S=>{if(le(S.value)||le(D))return null;const v=parseFloat(S.value);return!isNaN(v)&&v<D?{min:{min:D,actual:S.value}}:null}}(S)}static max(S){return function ke(D){return S=>{if(le(S.value)||le(D))return null;const v=parseFloat(S.value);return!isNaN(v)&&v>D?{max:{max:D,actual:S.value}}:null}}(S)}static required(S){return function Fe(D){return le(D.value)?{required:!0}:null}(S)}static requiredTrue(S){return function je(D){return!0===D.value?null:{required:!0}}(S)}static email(S){return function Ne(D){return le(D.value)||ae.test(D.value)?null:{email:!0}}(S)}static minLength(S){return function we(D){return S=>le(S.value)||!Se(S.value)?null:S.value.length<D?{minlength:{requiredLength:D,actualLength:S.value.length}}:null}(S)}static maxLength(S){return function Me(D){return S=>Se(S.value)&&S.value.length>D?{maxlength:{requiredLength:D,actualLength:S.value.length}}:null}(S)}static pattern(S){return function ze(D){if(!D)return at;let S,v;return"string"==typeof D?(v="","^"!==D.charAt(0)&&(v+="^"),v+=D,"$"!==D.charAt(D.length-1)&&(v+="$"),S=new RegExp(v)):(v=D.toString(),S=D),j=>{if(le(j.value))return null;const Te=j.value;return S.test(Te)?null:{pattern:{requiredPattern:v,actualValue:Te}}}}(S)}static nullValidator(S){return null}static compose(S){return N(S)}static composeAsync(S){return E(S)}}function at(D){return null}function wt(D){return null!=D}function Jt(D){return(0,f.QGY)(D)?(0,ve.D)(D):D}function nn(D){let S={};return D.forEach(v=>{S=null!=v?{...S,...v}:S}),0===Object.keys(S).length?null:S}function tt(D,S){return S.map(v=>v(D))}function z(D){return D.map(S=>function X(D){return!D.validate}(S)?S:v=>S.validate(v))}function N(D){if(!D)return null;const S=D.filter(wt);return 0==S.length?null:function(v){return nn(tt(v,S))}}function I(D){return null!=D?N(z(D)):null}function E(D){if(!D)return null;const S=D.filter(wt);return 0==S.length?null:function(v){const j=tt(v,S).map(Jt);return(0,be.D)(j).pipe((0,de.U)(nn))}}function k(D){return null!=D?E(z(D)):null}function O(D,S){return null===D?[S]:Array.isArray(D)?[...D,S]:[D,S]}function $(D){return D._rawValidators}function te(D){return D._rawAsyncValidators}function _e(D){return D?Array.isArray(D)?D:[D]:[]}function Ve(D,S){return Array.isArray(D)?D.includes(S):D===S}function He(D,S){const v=_e(S);return _e(D).forEach(Te=>{Ve(v,Te)||v.push(Te)}),v}function xt(D,S){return _e(S).filter(v=>!Ve(D,v))}class dt{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(S){this._rawValidators=S||[],this._composedValidatorFn=I(this._rawValidators)}_setAsyncValidators(S){this._rawAsyncValidators=S||[],this._composedAsyncValidatorFn=k(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(S){this._onDestroyCallbacks.push(S)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(S=>S()),this._onDestroyCallbacks=[]}reset(S=void 0){this.control&&this.control.reset(S)}hasError(S,v){return!!this.control&&this.control.hasError(S,v)}getError(S,v){return this.control?this.control.getError(S,v):null}}class Mt extends dt{get formDirective(){return null}get path(){return null}}class Le extends dt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ze{constructor(S){this._cd=S}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 Oe=(()=>{class D extends Ze{constructor(v){super(v)}static#e=this.\u0275fac=function(j){return new(j||D)(f.Y36(Le,2))};static#t=this.\u0275dir=f.lG2({type:D,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(j,Te){2&j&&f.ekj("ng-untouched",Te.isUntouched)("ng-touched",Te.isTouched)("ng-pristine",Te.isPristine)("ng-dirty",Te.isDirty)("ng-valid",Te.isValid)("ng-invalid",Te.isInvalid)("ng-pending",Te.isPending)},features:[f.qOj]})}return D})(),Ge=(()=>{class D extends Ze{constructor(v){super(v)}static#e=this.\u0275fac=function(j){return new(j||D)(f.Y36(Mt,10))};static#t=this.\u0275dir=f.lG2({type:D,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(j,Te){2&j&&f.ekj("ng-untouched",Te.isUntouched)("ng-touched",Te.isTouched)("ng-pristine",Te.isPristine)("ng-dirty",Te.isDirty)("ng-valid",Te.isValid)("ng-invalid",Te.isInvalid)("ng-pending",Te.isPending)("ng-submitted",Te.isSubmitted)},features:[f.qOj]})}return D})();const kn="VALID",It="INVALID",Ht="PENDING",Ln="DISABLED";function Yn(D){return(F(D)?D.validators:D)||null}function qe(D,S){return(F(S)?S.asyncValidators:D)||null}function F(D){return null!=D&&!Array.isArray(D)&&"object"==typeof D}class H{constructor(S,v){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(S),this._assignAsyncValidators(v)}get validator(){return this._composedValidatorFn}set validator(S){this._rawValidators=this._composedValidatorFn=S}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(S){this._rawAsyncValidators=this._composedAsyncValidatorFn=S}get parent(){return this._parent}get valid(){return this.status===kn}get invalid(){return this.status===It}get pending(){return this.status==Ht}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(S){this._assignValidators(S)}setAsyncValidators(S){this._assignAsyncValidators(S)}addValidators(S){this.setValidators(He(S,this._rawValidators))}addAsyncValidators(S){this.setAsyncValidators(He(S,this._rawAsyncValidators))}removeValidators(S){this.setValidators(xt(S,this._rawValidators))}removeAsyncValidators(S){this.setAsyncValidators(xt(S,this._rawAsyncValidators))}hasValidator(S){return Ve(this._rawValidators,S)}hasAsyncValidator(S){return Ve(this._rawAsyncValidators,S)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(S={}){this.touched=!0,this._parent&&!S.onlySelf&&this._parent.markAsTouched(S)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(S=>S.markAllAsTouched())}markAsUntouched(S={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(v=>{v.markAsUntouched({onlySelf:!0})}),this._parent&&!S.onlySelf&&this._parent._updateTouched(S)}markAsDirty(S={}){this.pristine=!1,this._parent&&!S.onlySelf&&this._parent.markAsDirty(S)}markAsPristine(S={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(v=>{v.markAsPristine({onlySelf:!0})}),this._parent&&!S.onlySelf&&this._parent._updatePristine(S)}markAsPending(S={}){this.status=Ht,!1!==S.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!S.onlySelf&&this._parent.markAsPending(S)}disable(S={}){const v=this._parentMarkedDirty(S.onlySelf);this.status=Ln,this.errors=null,this._forEachChild(j=>{j.disable({...S,onlySelf:!0})}),this._updateValue(),!1!==S.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...S,skipPristineCheck:v}),this._onDisabledChange.forEach(j=>j(!0))}enable(S={}){const v=this._parentMarkedDirty(S.onlySelf);this.status=kn,this._forEachChild(j=>{j.enable({...S,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:S.emitEvent}),this._updateAncestors({...S,skipPristineCheck:v}),this._onDisabledChange.forEach(j=>j(!1))}_updateAncestors(S){this._parent&&!S.onlySelf&&(this._parent.updateValueAndValidity(S),S.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(S){this._parent=S}getRawValue(){return this.value}updateValueAndValidity(S={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===kn||this.status===Ht)&&this._runAsyncValidator(S.emitEvent)),!1!==S.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!S.onlySelf&&this._parent.updateValueAndValidity(S)}_updateTreeValidity(S={emitEvent:!0}){this._forEachChild(v=>v._updateTreeValidity(S)),this.updateValueAndValidity({onlySelf:!0,emitEvent:S.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ln:kn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(S){if(this.asyncValidator){this.status=Ht,this._hasOwnPendingAsyncValidator=!0;const v=Jt(this.asyncValidator(this));this._asyncValidationSubscription=v.subscribe(j=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(j,{emitEvent:S})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(S,v={}){this.errors=S,this._updateControlsErrors(!1!==v.emitEvent)}get(S){let v=S;return null==v||(Array.isArray(v)||(v=v.split(".")),0===v.length)?null:v.reduce((j,Te)=>j&&j._find(Te),this)}getError(S,v){const j=v?this.get(v):this;return j&&j.errors?j.errors[S]:null}hasError(S,v){return!!this.getError(S,v)}get root(){let S=this;for(;S._parent;)S=S._parent;return S}_updateControlsErrors(S){this.status=this._calculateStatus(),S&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(S)}_initObservables(){this.valueChanges=new f.vpe,this.statusChanges=new f.vpe}_calculateStatus(){return this._allControlsDisabled()?Ln:this.errors?It:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ht)?Ht:this._anyControlsHaveStatus(It)?It:kn}_anyControlsHaveStatus(S){return this._anyControls(v=>v.status===S)}_anyControlsDirty(){return this._anyControls(S=>S.dirty)}_anyControlsTouched(){return this._anyControls(S=>S.touched)}_updatePristine(S={}){this.pristine=!this._anyControlsDirty(),this._parent&&!S.onlySelf&&this._parent._updatePristine(S)}_updateTouched(S={}){this.touched=this._anyControlsTouched(),this._parent&&!S.onlySelf&&this._parent._updateTouched(S)}_registerOnCollectionChange(S){this._onCollectionChange=S}_setUpdateStrategy(S){F(S)&&null!=S.updateOn&&(this._updateOn=S.updateOn)}_parentMarkedDirty(S){return!S&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(S){return null}_assignValidators(S){this._rawValidators=Array.isArray(S)?S.slice():S,this._composedValidatorFn=function Kn(D){return Array.isArray(D)?I(D):D||null}(this._rawValidators)}_assignAsyncValidators(S){this._rawAsyncValidators=Array.isArray(S)?S.slice():S,this._composedAsyncValidatorFn=function se(D){return Array.isArray(D)?k(D):D||null}(this._rawAsyncValidators)}}class ie extends H{constructor(S,v,j){super(Yn(v),qe(j,v)),this.controls=S,this._initObservables(),this._setUpdateStrategy(v),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(S,v){return this.controls[S]?this.controls[S]:(this.controls[S]=v,v.setParent(this),v._registerOnCollectionChange(this._onCollectionChange),v)}addControl(S,v,j={}){this.registerControl(S,v),this.updateValueAndValidity({emitEvent:j.emitEvent}),this._onCollectionChange()}removeControl(S,v={}){this.controls[S]&&this.controls[S]._registerOnCollectionChange(()=>{}),delete this.controls[S],this.updateValueAndValidity({emitEvent:v.emitEvent}),this._onCollectionChange()}setControl(S,v,j={}){this.controls[S]&&this.controls[S]._registerOnCollectionChange(()=>{}),delete this.controls[S],v&&this.registerControl(S,v),this.updateValueAndValidity({emitEvent:j.emitEvent}),this._onCollectionChange()}contains(S){return this.controls.hasOwnProperty(S)&&this.controls[S].enabled}setValue(S,v={}){(function q(D,S,v){D._forEachChild((j,Te)=>{if(void 0===v[Te])throw new f.vHH(1002,"")})})(this,0,S),Object.keys(S).forEach(j=>{(function T(D,S,v){const j=D.controls;if(!(S?Object.keys(j):j).length)throw new f.vHH(1e3,"");if(!j[v])throw new f.vHH(1001,"")})(this,!0,j),this.controls[j].setValue(S[j],{onlySelf:!0,emitEvent:v.emitEvent})}),this.updateValueAndValidity(v)}patchValue(S,v={}){null!=S&&(Object.keys(S).forEach(j=>{const Te=this.controls[j];Te&&Te.patchValue(S[j],{onlySelf:!0,emitEvent:v.emitEvent})}),this.updateValueAndValidity(v))}reset(S={},v={}){this._forEachChild((j,Te)=>{j.reset(S?S[Te]:null,{onlySelf:!0,emitEvent:v.emitEvent})}),this._updatePristine(v),this._updateTouched(v),this.updateValueAndValidity(v)}getRawValue(){return this._reduceChildren({},(S,v,j)=>(S[j]=v.getRawValue(),S))}_syncPendingControls(){let S=this._reduceChildren(!1,(v,j)=>!!j._syncPendingControls()||v);return S&&this.updateValueAndValidity({onlySelf:!0}),S}_forEachChild(S){Object.keys(this.controls).forEach(v=>{const j=this.controls[v];j&&S(j,v)})}_setUpControls(){this._forEachChild(S=>{S.setParent(this),S._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(S){for(const[v,j]of Object.entries(this.controls))if(this.contains(v)&&S(j))return!0;return!1}_reduceValue(){return this._reduceChildren({},(v,j,Te)=>((j.enabled||this.disabled)&&(v[Te]=j.value),v))}_reduceChildren(S,v){let j=S;return this._forEachChild((Te,ct)=>{j=v(j,Te,ct)}),j}_allControlsDisabled(){for(const S of Object.keys(this.controls))if(this.controls[S].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(S){return this.controls.hasOwnProperty(S)?this.controls[S]:null}}const kt=new f.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>zt}),zt="always";function Kt(D,S,v=zt){Be(D,S),S.valueAccessor.writeValue(D.value),(D.disabled||"always"===v)&&S.valueAccessor.setDisabledState?.(D.disabled),function Ee(D,S){S.valueAccessor.registerOnChange(v=>{D._pendingValue=v,D._pendingChange=!0,D._pendingDirty=!0,"change"===D.updateOn&&Dt(D,S)})}(D,S),function Bt(D,S){const v=(j,Te)=>{S.valueAccessor.writeValue(j),Te&&S.viewToModelUpdate(j)};D.registerOnChange(v),S._registerOnDestroy(()=>{D._unregisterOnChange(v)})}(D,S),function Je(D,S){S.valueAccessor.registerOnTouched(()=>{D._pendingTouched=!0,"blur"===D.updateOn&&D._pendingChange&&Dt(D,S),"submit"!==D.updateOn&&D.markAsTouched()})}(D,S),function Ci(D,S){if(S.valueAccessor.setDisabledState){const v=j=>{S.valueAccessor.setDisabledState(j)};D.registerOnDisabledChange(v),S._registerOnDestroy(()=>{D._unregisterOnDisabledChange(v)})}}(D,S)}function ln(D,S,v=!0){const j=()=>{};S.valueAccessor&&(S.valueAccessor.registerOnChange(j),S.valueAccessor.registerOnTouched(j)),V(D,S),D&&(S._invokeOnDestroyCallbacks(),D._registerOnCollectionChange(()=>{}))}function St(D,S){D.forEach(v=>{v.registerOnValidatorChange&&v.registerOnValidatorChange(S)})}function Be(D,S){const v=$(D);null!==S.validator?D.setValidators(O(v,S.validator)):"function"==typeof v&&D.setValidators([v]);const j=te(D);null!==S.asyncValidator?D.setAsyncValidators(O(j,S.asyncValidator)):"function"==typeof j&&D.setAsyncValidators([j]);const Te=()=>D.updateValueAndValidity();St(S._rawValidators,Te),St(S._rawAsyncValidators,Te)}function V(D,S){let v=!1;if(null!==D){if(null!==S.validator){const Te=$(D);if(Array.isArray(Te)&&Te.length>0){const ct=Te.filter(Gt=>Gt!==S.validator);ct.length!==Te.length&&(v=!0,D.setValidators(ct))}}if(null!==S.asyncValidator){const Te=te(D);if(Array.isArray(Te)&&Te.length>0){const ct=Te.filter(Gt=>Gt!==S.asyncValidator);ct.length!==Te.length&&(v=!0,D.setAsyncValidators(ct))}}}const j=()=>{};return St(S._rawValidators,j),St(S._rawAsyncValidators,j),v}function Dt(D,S){D._pendingDirty&&D.markAsDirty(),D.setValue(D._pendingValue,{emitModelToViewChange:!1}),S.viewToModelUpdate(D._pendingValue),D._pendingChange=!1}function bt(D,S){Be(D,S)}function ge(D,S){if(!D.hasOwnProperty("model"))return!1;const v=D.model;return!!v.isFirstChange()||!Object.is(S,v.currentValue)}function $e(D,S){D._syncPendingControls(),S.forEach(v=>{const j=v.control;"submit"===j.updateOn&&j._pendingChange&&(v.viewToModelUpdate(j._pendingValue),j._pendingChange=!1)})}function et(D,S){if(!S)return null;let v,j,Te;return Array.isArray(S),S.forEach(ct=>{ct.constructor===pe?v=ct:function xe(D){return Object.getPrototypeOf(D.constructor)===ue}(ct)?j=ct:Te=ct}),Te||j||v||null}const Xt={provide:Mt,useExisting:(0,f.Gpc)(()=>Qt)},Ft=(()=>Promise.resolve())();let Qt=(()=>{class D extends Mt{constructor(v,j,Te){super(),this.callSetDisabledState=Te,this.submitted=!1,this._directives=new Set,this.ngSubmit=new f.vpe,this.form=new ie({},I(v),k(j))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(v){Ft.then(()=>{const j=this._findContainer(v.path);v.control=j.registerControl(v.name,v.control),Kt(v.control,v,this.callSetDisabledState),v.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(v)})}getControl(v){return this.form.get(v.path)}removeControl(v){Ft.then(()=>{const j=this._findContainer(v.path);j&&j.removeControl(v.name),this._directives.delete(v)})}addFormGroup(v){Ft.then(()=>{const j=this._findContainer(v.path),Te=new ie({});bt(Te,v),j.registerControl(v.name,Te),Te.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(v){Ft.then(()=>{const j=this._findContainer(v.path);j&&j.removeControl(v.name)})}getFormGroup(v){return this.form.get(v.path)}updateModel(v,j){Ft.then(()=>{this.form.get(v.path).setValue(j)})}setValue(v){this.control.setValue(v)}onSubmit(v){return this.submitted=!0,$e(this.form,this._directives),this.ngSubmit.emit(v),"dialog"===v?.target?.method}onReset(){this.resetForm()}resetForm(v=void 0){this.form.reset(v),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(v){return v.pop(),v.length?this.form.get(v):this.form}static#e=this.\u0275fac=function(j){return new(j||D)(f.Y36(G,10),f.Y36(Z,10),f.Y36(kt,8))};static#t=this.\u0275dir=f.lG2({type:D,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(j,Te){1&j&&f.NdJ("submit",function(Gt){return Te.onSubmit(Gt)})("reset",function(){return Te.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[f._Bn([Xt]),f.qOj]})}return D})();function An(D,S){const v=D.indexOf(S);v>-1&&D.splice(v,1)}function On(D){return"object"==typeof D&&null!==D&&2===Object.keys(D).length&&"value"in D&&"disabled"in D}const At=class extends H{constructor(S=null,v,j){super(Yn(v),qe(j,v)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(S),this._setUpdateStrategy(v),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),F(v)&&(v.nonNullable||v.initialValueIsDefault)&&(this.defaultValue=On(S)?S.value:S)}setValue(S,v={}){this.value=this._pendingValue=S,this._onChange.length&&!1!==v.emitModelToViewChange&&this._onChange.forEach(j=>j(this.value,!1!==v.emitViewToModelChange)),this.updateValueAndValidity(v)}patchValue(S,v={}){this.setValue(S,v)}reset(S=this.defaultValue,v={}){this._applyFormState(S),this.markAsPristine(v),this.markAsUntouched(v),this.setValue(this.value,v),this._pendingChange=!1}_updateValue(){}_anyControls(S){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(S){this._onChange.push(S)}_unregisterOnChange(S){An(this._onChange,S)}registerOnDisabledChange(S){this._onDisabledChange.push(S)}_unregisterOnDisabledChange(S){An(this._onDisabledChange,S)}_forEachChild(S){}_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(S){On(S)?(this.value=this._pendingValue=S.value,S.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=S}},so={provide:Le,useExisting:(0,f.Gpc)(()=>zi)},Zo=(()=>Promise.resolve())();let zi=(()=>{class D extends Le{constructor(v,j,Te,ct,Gt,Hn){super(),this._changeDetectorRef=Gt,this.callSetDisabledState=Hn,this.control=new At,this._registered=!1,this.name="",this.update=new f.vpe,this._parent=v,this._setValidators(j),this._setAsyncValidators(Te),this.valueAccessor=et(0,ct)}ngOnChanges(v){if(this._checkForErrors(),!this._registered||"name"in v){if(this._registered&&(this._checkName(),this.formDirective)){const j=v.name.previousValue;this.formDirective.removeControl({name:j,path:this._getPath(j)})}this._setUpControl()}"isDisabled"in v&&this._updateDisabled(v),ge(v,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(v){this.viewModel=v,this.update.emit(v)}_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(){Kt(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(v){Zo.then(()=>{this.control.setValue(v,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(v){const j=v.isDisabled.currentValue,Te=0!==j&&(0,f.VuI)(j);Zo.then(()=>{Te&&!this.control.disabled?this.control.disable():!Te&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(v){return this._parent?function gn(D,S){return[...S.path,D]}(v,this._parent):[v]}static#e=this.\u0275fac=function(j){return new(j||D)(f.Y36(Mt,9),f.Y36(G,10),f.Y36(Z,10),f.Y36(me,10),f.Y36(f.sBO,8),f.Y36(kt,8))};static#t=this.\u0275dir=f.lG2({type:D,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[f._Bn([so]),f.qOj,f.TTD]})}return D})(),li=(()=>{class D{static#e=this.\u0275fac=function(j){return new(j||D)};static#t=this.\u0275dir=f.lG2({type:D,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return D})(),Io=(()=>{class D{static#e=this.\u0275fac=function(j){return new(j||D)};static#t=this.\u0275mod=f.oAB({type:D});static#n=this.\u0275inj=f.cJS({})}return D})();const Qn=new f.OlP("NgModelWithFormControlWarning"),$r={provide:Le,useExisting:(0,f.Gpc)(()=>bn)};let bn=(()=>{class D extends Le{set isDisabled(v){}static#e=this._ngModelWarningSentOnce=!1;constructor(v,j,Te,ct,Gt){super(),this._ngModelWarningConfig=ct,this.callSetDisabledState=Gt,this.update=new f.vpe,this._ngModelWarningSent=!1,this._setValidators(v),this._setAsyncValidators(j),this.valueAccessor=et(0,Te)}ngOnChanges(v){if(this._isControlChanged(v)){const j=v.form.previousValue;j&&ln(j,this,!1),Kt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}ge(v,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&ln(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(v){this.viewModel=v,this.update.emit(v)}_isControlChanged(v){return v.hasOwnProperty("form")}static#t=this.\u0275fac=function(j){return new(j||D)(f.Y36(G,10),f.Y36(Z,10),f.Y36(me,10),f.Y36(Qn,8),f.Y36(kt,8))};static#n=this.\u0275dir=f.lG2({type:D,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[f._Bn([$r]),f.qOj,f.TTD]})}return D})();const pr={provide:Mt,useExisting:(0,f.Gpc)(()=>Gi)};let Gi=(()=>{class D extends Mt{constructor(v,j,Te){super(),this.callSetDisabledState=Te,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new f.vpe,this._setValidators(v),this._setAsyncValidators(j)}ngOnChanges(v){this._checkFormPresent(),v.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(V(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(v){const j=this.form.get(v.path);return Kt(j,v,this.callSetDisabledState),j.updateValueAndValidity({emitEvent:!1}),this.directives.push(v),j}getControl(v){return this.form.get(v.path)}removeControl(v){ln(v.control||null,v,!1),function mt(D,S){const v=D.indexOf(S);v>-1&&D.splice(v,1)}(this.directives,v)}addFormGroup(v){this._setUpFormContainer(v)}removeFormGroup(v){this._cleanUpFormContainer(v)}getFormGroup(v){return this.form.get(v.path)}addFormArray(v){this._setUpFormContainer(v)}removeFormArray(v){this._cleanUpFormContainer(v)}getFormArray(v){return this.form.get(v.path)}updateModel(v,j){this.form.get(v.path).setValue(j)}onSubmit(v){return this.submitted=!0,$e(this.form,this.directives),this.ngSubmit.emit(v),"dialog"===v?.target?.method}onReset(){this.resetForm()}resetForm(v=void 0){this.form.reset(v),this.submitted=!1}_updateDomValue(){this.directives.forEach(v=>{const j=v.control,Te=this.form.get(v.path);j!==Te&&(ln(j||null,v),(D=>D instanceof At)(Te)&&(Kt(Te,v,this.callSetDisabledState),v.control=Te))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(v){const j=this.form.get(v.path);bt(j,v),j.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(v){if(this.form){const j=this.form.get(v.path);j&&function jt(D,S){return V(D,S)}(j,v)&&j.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Be(this.form,this),this._oldForm&&V(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(j){return new(j||D)(f.Y36(G,10),f.Y36(Z,10),f.Y36(kt,8))};static#t=this.\u0275dir=f.lG2({type:D,selectors:[["","formGroup",""]],hostBindings:function(j,Te){1&j&&f.NdJ("submit",function(Gt){return Te.onSubmit(Gt)})("reset",function(){return Te.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[f._Bn([pr]),f.qOj,f.TTD]})}return D})(),ei=(()=>{class D{static#e=this.\u0275fac=function(j){return new(j||D)};static#t=this.\u0275mod=f.oAB({type:D});static#n=this.\u0275inj=f.cJS({imports:[Io]})}return D})(),ft=(()=>{class D{static withConfig(v){return{ngModule:D,providers:[{provide:kt,useValue:v.callSetDisabledState??zt}]}}static#e=this.\u0275fac=function(j){return new(j||D)};static#t=this.\u0275mod=f.oAB({type:D});static#n=this.\u0275inj=f.cJS({imports:[ei]})}return D})(),$t=(()=>{class D{static withConfig(v){return{ngModule:D,providers:[{provide:Qn,useValue:v.warnOnNgModelWithFormControl??"always"},{provide:kt,useValue:v.callSetDisabledState??zt}]}}static#e=this.\u0275fac=function(j){return new(j||D)};static#t=this.\u0275mod=f.oAB({type:D});static#n=this.\u0275inj=f.cJS({imports:[ei]})}return D})()},7950:(Ke,De,y)=>{"use strict";y.d(De,{RK:()=>wt,cs:()=>we,lW:()=>Ie,ot:()=>nn,zs:()=>ke});var f=y(3844),o=y(1322),ve=y(8654),be=y(9021);const de=["mat-button",""],ne=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],ue=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],fe=".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}",Q=["mat-fab",""],re=["mat-icon-button",""],pe=["*"],G=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}];let Z=(()=>{class tt{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(z){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,z)}get disableRipple(){return this._disableRipple}set disableRipple(z){this._disableRipple=z,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(z){this._disabled=z,this._updateRippleDisabled()}constructor(z,N,I,E){this._elementRef=z,this._platform=N,this._ngZone=I,this._animationMode=E,this._focusMonitor=(0,o.f3M)(ve.tE),this._rippleLoader=(0,o.f3M)(be.Fq),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const k=this._elementRef.nativeElement,O=k.classList;for(const{attribute:$,mdcClasses:te}of G)k.hasAttribute($)&&O.add(...te)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(z="program",N){z?this._focusMonitor.focusVia(this._elementRef.nativeElement,z,N):this._elementRef.nativeElement.focus(N)}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(N){o.$Z()};static#t=this.\u0275dir=o.lG2({type:tt,inputs:{color:"color",disableRipple:["disableRipple","disableRipple",o.VuI],disabled:["disabled","disabled",o.VuI]},features:[o.Xq5]})}return tt})(),ce=(()=>{class tt extends Z{constructor(z,N,I,E){super(z,N,I,E),this._haltDisabledEvents=k=>{this.disabled&&(k.preventDefault(),k.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(N){o.$Z()};static#t=this.\u0275dir=o.lG2({type:tt,inputs:{tabIndex:["tabIndex","tabIndex",z=>null==z?void 0:(0,o.Cb_)(z)]},features:[o.Xq5,o.qOj]})}return tt})(),Ie=(()=>{class tt extends Z{constructor(z,N,I,E){super(z,N,I,E)}static#e=this.\u0275fac=function(N){return new(N||tt)(o.Y36(o.SBq),o.Y36(f.t4),o.Y36(o.R0b),o.Y36(o.QbO,8))};static#t=this.\u0275cmp=o.Xpm({type:tt,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:9,hostBindings:function(N,I){2&N&&(o.uIk("disabled",I.disabled||null),o.Tol(I.color?"mat-"+I.color:""),o.ekj("_mat-animation-noopable","NoopAnimations"===I._animationMode)("mat-unthemed",!I.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[o.qOj],attrs:de,ngContentSelectors:ue,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(N,I){1&N&&(o.F$t(ne),o._UZ(0,"span",0),o.Hsn(1),o.TgZ(2,"span",1),o.Hsn(3,1),o.qZA(),o.Hsn(4,2),o._UZ(5,"span",2)(6,"span",3)),2&N&&o.ekj("mdc-button__ripple",!I._isFab)("mdc-fab__ripple",I._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(100% + 4px);width:calc(100% + 4px);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{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);--mdc-text-button-container-shape:4px;--mdc-text-button-container-height:36px;--mdc-text-button-keep-touch-target:false}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);--mdc-filled-button-container-shape:4px;--mdc-filled-button-container-elevation:0;--mdc-filled-button-disabled-container-elevation:0;--mdc-filled-button-focus-container-elevation:0;--mdc-filled-button-hover-container-elevation:0;--mdc-filled-button-keep-touch-target:false;--mdc-filled-button-pressed-container-elevation:0}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);--mdc-protected-button-container-shape:4px;--mdc-protected-button-keep-touch-target:false}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled][disabled]{box-shadow:none}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);--mdc-outlined-button-keep-touch-target:false;--mdc-outlined-button-outline-width:1px;--mdc-outlined-button-container-shape:4px}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.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)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-button-base{text-decoration:none}.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}.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 .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 tt})(),ke=(()=>{class tt extends ce{constructor(z,N,I,E){super(z,N,I,E)}static#e=this.\u0275fac=function(N){return new(N||tt)(o.Y36(o.SBq),o.Y36(f.t4),o.Y36(o.R0b),o.Y36(o.QbO,8))};static#t=this.\u0275cmp=o.Xpm({type:tt,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:11,hostBindings:function(N,I){2&N&&(o.uIk("disabled",I.disabled||null)("tabindex",I.disabled?-1:I.tabIndex)("aria-disabled",I.disabled.toString()),o.Tol(I.color?"mat-"+I.color:""),o.ekj("_mat-animation-noopable","NoopAnimations"===I._animationMode)("mat-unthemed",!I.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[o.qOj],attrs:de,ngContentSelectors:ue,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(N,I){1&N&&(o.F$t(ne),o._UZ(0,"span",0),o.Hsn(1),o.TgZ(2,"span",1),o.Hsn(3,1),o.qZA(),o.Hsn(4,2),o._UZ(5,"span",2)(6,"span",3)),2&N&&o.ekj("mdc-button__ripple",!I._isFab)("mdc-fab__ripple",I._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(100% + 4px);width:calc(100% + 4px);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{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);--mdc-text-button-container-shape:4px;--mdc-text-button-container-height:36px;--mdc-text-button-keep-touch-target:false}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);--mdc-filled-button-container-shape:4px;--mdc-filled-button-container-elevation:0;--mdc-filled-button-disabled-container-elevation:0;--mdc-filled-button-focus-container-elevation:0;--mdc-filled-button-hover-container-elevation:0;--mdc-filled-button-keep-touch-target:false;--mdc-filled-button-pressed-container-elevation:0}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);--mdc-protected-button-container-shape:4px;--mdc-protected-button-keep-touch-target:false}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled][disabled]{box-shadow:none}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);--mdc-outlined-button-keep-touch-target:false;--mdc-outlined-button-outline-width:1px;--mdc-outlined-button-container-shape:4px}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.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)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-button-base{text-decoration:none}.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}.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 .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)}',fe],encapsulation:2,changeDetection:0})}return tt})();const Fe=new o.OlP("mat-mdc-fab-default-options",{providedIn:"root",factory:je});function je(){return{color:"accent"}}const Ne=je();let we=(()=>{class tt extends Z{constructor(z,N,I,E,k){super(z,N,I,E),this._options=k,this._isFab=!0,this._options=this._options||Ne,this.color=this._options.color||Ne.color}static#e=this.\u0275fac=function(N){return new(N||tt)(o.Y36(o.SBq),o.Y36(f.t4),o.Y36(o.R0b),o.Y36(o.QbO,8),o.Y36(Fe,8))};static#t=this.\u0275cmp=o.Xpm({type:tt,selectors:[["button","mat-fab",""]],hostVars:13,hostBindings:function(N,I){2&N&&(o.uIk("disabled",I.disabled||null),o.Tol(I.color?"mat-"+I.color:""),o.ekj("_mat-animation-noopable","NoopAnimations"===I._animationMode)("mat-unthemed",!I.color)("mat-mdc-button-base",!0)("mdc-fab--extended",I.extended)("mat-mdc-extended-fab",I.extended))},inputs:{extended:["extended","extended",o.VuI]},exportAs:["matButton"],features:[o.Xq5,o.qOj],attrs:Q,ngContentSelectors:ue,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(N,I){1&N&&(o.F$t(ne),o._UZ(0,"span",0),o.Hsn(1),o.TgZ(2,"span",1),o.Hsn(3,1),o.qZA(),o.Hsn(4,2),o._UZ(5,"span",2)(6,"span",3)),2&N&&o.ekj("mdc-button__ripple",!I._isFab)("mdc-fab__ripple",I._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(100% + 4px);width:calc(100% + 4px)}@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)}.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(.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);flex-shrink:0;color:var(--mat-fab-foreground-color, inherit)}.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}.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-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.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);color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.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 tt})(),wt=(()=>{class tt extends Z{constructor(z,N,I,E){super(z,N,I,E),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(N){return new(N||tt)(o.Y36(o.SBq),o.Y36(f.t4),o.Y36(o.R0b),o.Y36(o.QbO,8))};static#t=this.\u0275cmp=o.Xpm({type:tt,selectors:[["button","mat-icon-button",""]],hostVars:9,hostBindings:function(N,I){2&N&&(o.uIk("disabled",I.disabled||null),o.Tol(I.color?"mat-"+I.color:""),o.ekj("_mat-animation-noopable","NoopAnimations"===I._animationMode)("mat-unthemed",!I.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[o.qOj],attrs:re,ngContentSelectors:pe,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(N,I){1&N&&(o.F$t(),o._UZ(0,"span",0),o.Hsn(1),o._UZ(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}.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{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;border-radius:50%;flex-shrink:0;text-align:center;font-size:var(--mdc-icon-button-icon-size);-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;color:var(--mdc-icon-button-disabled-icon-color)}.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}.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-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.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}',fe],encapsulation:2,changeDetection:0})}return tt})(),nn=(()=>{class tt{static#e=this.\u0275fac=function(N){return new(N||tt)};static#t=this.\u0275mod=o.oAB({type:tt});static#n=this.\u0275inj=o.cJS({imports:[be.BQ,be.si,be.BQ]})}return tt})()},9021:(Ke,De,y)=>{"use strict";y.d(De,{rD:()=>te,Y2:()=>vt,BQ:()=>Ie,wG:()=>Nt,Fq:()=>qe,si:()=>ut,pj:()=>we,Kr:()=>Me,Id:()=>Ne,FD:()=>at,sb:()=>ze});var f=y(1322),o=y(8654),ve=y(4877),de=y(9462),ne=y(3844),ue=y(5988);const ce=new f.OlP("mat-sanity-checks",{providedIn:"root",factory:function ae(){return!0}});let Ie=(()=>{class se{constructor(T,q,H){this._sanityChecks=q,this._document=H,this._hasDoneGlobalChecks=!1,T._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(T){return!(0,ne.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[T])}static#e=this.\u0275fac=function(q){return new(q||se)(f.LFG(o.qm),f.LFG(ce,8),f.LFG(de.K0))};static#t=this.\u0275mod=f.oAB({type:se});static#n=this.\u0275inj=f.cJS({imports:[ve.vT,ve.vT]})}return se})();function Ne(se){return class extends se{get disabled(){return this._disabled}set disabled(F){this._disabled=(0,ue.Ig)(F)}constructor(...F){super(...F),this._disabled=!1}}}function we(se,F){return class extends se{get color(){return this._color}set color(T){const q=T||this.defaultColor;q!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),q&&this._elementRef.nativeElement.classList.add(`mat-${q}`),this._color=q)}constructor(...T){super(...T),this.defaultColor=F,this.color=F}}}function Me(se){return class extends se{get disableRipple(){return this._disableRipple}set disableRipple(F){this._disableRipple=(0,ue.Ig)(F)}constructor(...F){super(...F),this._disableRipple=!1}}}function ze(se,F=0){return class extends se{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(T){this._tabIndex=null!=T?(0,ue.su)(T):this.defaultTabIndex}constructor(...T){super(...T),this._tabIndex=F,this.defaultTabIndex=F}}}function at(se){return class extends se{updateErrorState(){const F=this.errorState,ie=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);ie!==F&&(this.errorState=ie,this.stateChanges.next())}constructor(...F){super(...F),this.errorState=!1}}}let te=(()=>{class se{isErrorState(T,q){return!!(T&&T.invalid&&(T.touched||q&&q.submitted))}static#e=this.\u0275fac=function(q){return new(q||se)};static#t=this.\u0275prov=f.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"})}return se})();class dt{constructor(F,T,q,H=!1){this._renderer=F,this.element=T,this.config=q,this._animationForciblyDisabledThroughCss=H,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Mt=(0,ne.i$)({passive:!0,capture:!0});class Le{constructor(){this._events=new Map,this._delegateEventHandler=F=>{const T=(0,ne.sA)(F);T&&this._events.get(F.type)?.forEach((q,H)=>{(H===T||H.contains(T))&&q.forEach(ie=>ie.handleEvent(F))})}}addHandler(F,T,q,H){const ie=this._events.get(T);if(ie){const x=ie.get(q);x?x.add(H):ie.set(q,new Set([H]))}else this._events.set(T,new Map([[q,new Set([H])]])),F.runOutsideAngular(()=>{document.addEventListener(T,this._delegateEventHandler,Mt)})}removeHandler(F,T,q){const H=this._events.get(F);if(!H)return;const ie=H.get(T);ie&&(ie.delete(q),0===ie.size&&H.delete(T),0===H.size&&(this._events.delete(F),document.removeEventListener(F,this._delegateEventHandler,Mt)))}}const Ze={enterDuration:225,exitDuration:150},K=(0,ne.i$)({passive:!0,capture:!0}),Oe=["mousedown","touchstart"],Ge=["mouseup","mouseleave","touchend","touchcancel"];class rt{static#e=this._eventManager=new Le;constructor(F,T,q,H){this._target=F,this._ngZone=T,this._platform=H,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,H.isBrowser&&(this._containerElement=(0,ue.fI)(q))}fadeInRipple(F,T,q={}){const H=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),ie={...Ze,...q.animation};q.centered&&(F=H.left+H.width/2,T=H.top+H.height/2);const x=q.radius||function Ct(se,F,T){const q=Math.max(Math.abs(se-T.left),Math.abs(se-T.right)),H=Math.max(Math.abs(F-T.top),Math.abs(F-T.bottom));return Math.sqrt(q*q+H*H)}(F,T,H),P=F-H.left,ee=T-H.top,Pe=ie.enterDuration,nt=document.createElement("div");nt.classList.add("mat-ripple-element"),nt.style.left=P-x+"px",nt.style.top=ee-x+"px",nt.style.height=2*x+"px",nt.style.width=2*x+"px",null!=q.color&&(nt.style.backgroundColor=q.color),nt.style.transitionDuration=`${Pe}ms`,this._containerElement.appendChild(nt);const kt=window.getComputedStyle(nt),gn=kt.transitionDuration,Kt="none"===kt.transitionProperty||"0s"===gn||"0s, 0s"===gn||0===H.width&&0===H.height,ln=new dt(this,nt,q,Kt);nt.style.transform="scale3d(1, 1, 1)",ln.state=0,q.persistent||(this._mostRecentTransientRipple=ln);let St=null;return!Kt&&(Pe||ie.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Ci=()=>this._finishRippleTransition(ln),Be=()=>this._destroyRipple(ln);nt.addEventListener("transitionend",Ci),nt.addEventListener("transitioncancel",Be),St={onTransitionEnd:Ci,onTransitionCancel:Be}}),this._activeRipples.set(ln,St),(Kt||!Pe)&&this._finishRippleTransition(ln),ln}fadeOutRipple(F){if(2===F.state||3===F.state)return;const T=F.element,q={...Ze,...F.config.animation};T.style.transitionDuration=`${q.exitDuration}ms`,T.style.opacity="0",F.state=2,(F._animationForciblyDisabledThroughCss||!q.exitDuration)&&this._finishRippleTransition(F)}fadeOutAll(){this._getActiveRipples().forEach(F=>F.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(F=>{F.config.persistent||F.fadeOut()})}setupTriggerEvents(F){const T=(0,ue.fI)(F);!this._platform.isBrowser||!T||T===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=T,Oe.forEach(q=>{rt._eventManager.addHandler(this._ngZone,q,T,this)}))}handleEvent(F){"mousedown"===F.type?this._onMousedown(F):"touchstart"===F.type?this._onTouchStart(F):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Ge.forEach(T=>{this._triggerElement.addEventListener(T,this,K)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(F){0===F.state?this._startFadeOutTransition(F):2===F.state&&this._destroyRipple(F)}_startFadeOutTransition(F){const T=F===this._mostRecentTransientRipple,{persistent:q}=F.config;F.state=1,!q&&(!T||!this._isPointerDown)&&F.fadeOut()}_destroyRipple(F){const T=this._activeRipples.get(F)??null;this._activeRipples.delete(F),this._activeRipples.size||(this._containerRect=null),F===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),F.state=3,null!==T&&(F.element.removeEventListener("transitionend",T.onTransitionEnd),F.element.removeEventListener("transitioncancel",T.onTransitionCancel)),F.element.remove()}_onMousedown(F){const T=(0,o.X6)(F),q=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!T&&!q&&(this._isPointerDown=!0,this.fadeInRipple(F.clientX,F.clientY,this._target.rippleConfig))}_onTouchStart(F){if(!this._target.rippleDisabled&&!(0,o.yG)(F)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const T=F.changedTouches;if(T)for(let q=0;q<T.length;q++)this.fadeInRipple(T[q].clientX,T[q].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(F=>{!F.config.persistent&&(1===F.state||F.config.terminateOnPointerUp&&0===F.state)&&F.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const F=this._triggerElement;F&&(Oe.forEach(T=>rt._eventManager.removeHandler(T,F,this)),this._pointerUpEventsRegistered&&Ge.forEach(T=>F.removeEventListener(T,this,K)))}}const vt=new f.OlP("mat-ripple-global-options");let Nt=(()=>{class se{get disabled(){return this._disabled}set disabled(T){T&&this.fadeOutAllNonPersistent(),this._disabled=T,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(T){this._trigger=T,this._setupTriggerEventsIfEnabled()}constructor(T,q,H,ie,x){this._elementRef=T,this._animationMode=x,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=ie||{},this._rippleRenderer=new rt(this,q,T,H)}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(T,q=0,H){return"number"==typeof T?this._rippleRenderer.fadeInRipple(T,q,{...this.rippleConfig,...H}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...T})}static#e=this.\u0275fac=function(q){return new(q||se)(f.Y36(f.SBq),f.Y36(f.R0b),f.Y36(ne.t4),f.Y36(vt,8),f.Y36(f.QbO,8))};static#t=this.\u0275dir=f.lG2({type:se,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(q,H){2&q&&f.ekj("mat-ripple-unbounded",H.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 se})(),ut=(()=>{class se{static#e=this.\u0275fac=function(q){return new(q||se)};static#t=this.\u0275mod=f.oAB({type:se});static#n=this.\u0275inj=f.cJS({imports:[Ie,Ie]})}return se})();const kn={capture:!0},It=["focus","click","mouseenter","touchstart"],Ht="mat-ripple-loader-uninitialized",Ln="mat-ripple-loader-class-name",Yn="mat-ripple-loader-centered",Kn="mat-ripple-loader-disabled";let qe=(()=>{class se{constructor(){this._document=(0,f.f3M)(de.K0,{optional:!0}),this._animationMode=(0,f.f3M)(f.QbO,{optional:!0}),this._globalRippleOptions=(0,f.f3M)(vt,{optional:!0}),this._platform=(0,f.f3M)(ne.t4),this._ngZone=(0,f.f3M)(f.R0b),this._hosts=new Map,this._onInteraction=T=>{if(!(T.target instanceof HTMLElement))return;const H=T.target.closest(`[${Ht}]`);H&&this._createRipple(H)},this._ngZone.runOutsideAngular(()=>{for(const T of It)this._document?.addEventListener(T,this._onInteraction,kn)})}ngOnDestroy(){const T=this._hosts.keys();for(const q of T)this.destroyRipple(q);for(const q of It)this._document?.removeEventListener(q,this._onInteraction,kn)}configureRipple(T,q){T.setAttribute(Ht,""),(q.className||!T.hasAttribute(Ln))&&T.setAttribute(Ln,q.className||""),q.centered&&T.setAttribute(Yn,""),q.disabled&&T.setAttribute(Kn,"")}getRipple(T){return this._hosts.get(T)||this._createRipple(T)}setDisabled(T,q){const H=this._hosts.get(T);H?H.disabled=q:q?T.setAttribute(Kn,""):T.removeAttribute(Kn)}_createRipple(T){if(!this._document)return;const q=this._hosts.get(T);if(q)return q;T.querySelector(".mat-ripple")?.remove();const H=this._document.createElement("span");H.classList.add("mat-ripple",T.getAttribute(Ln)),T.append(H);const ie=new Nt(new f.SBq(H),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return ie._isInitialized=!0,ie.trigger=T,ie.centered=T.hasAttribute(Yn),ie.disabled=T.hasAttribute(Kn),this.attachRipple(T,ie),ie}attachRipple(T,q){T.removeAttribute(Ht),this._hosts.set(T,q)}destroyRipple(T){const q=this._hosts.get(T);q&&(q.ngOnDestroy(),this._hosts.delete(T))}static#e=this.\u0275fac=function(q){return new(q||se)};static#t=this.\u0275prov=f.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"})}return se})()},1238:(Ke,De,y)=>{"use strict";y.d(De,{Hw:()=>dt,Ps:()=>Mt,jv:()=>X});var f=y(1322),o=y(9021),ve=y(5988),be=y(9462),de=y(9627),ne=y(7371),ue=y(3276),fe=y(6312),Q=y(9592),Y=y(4104),J=y(8412),re=y(8299),pe=y(2829),le=y(4049);function Se(Le){return(0,le.e)((Ze,U)=>{let Ge,K=null,Oe=!1;K=Ze.subscribe((0,pe.x)(U,void 0,void 0,rt=>{Ge=(0,re.Xf)(Le(rt,Se(Le)(Ze))),K?(K.unsubscribe(),K=null,Ge.subscribe(U)):Oe=!0})),Oe&&(K.unsubscribe(),K=null,Ge.subscribe(U))})}var G=y(1927),Z=y(9453),ae=y(9224);function Ie(Le,Ze,...U){if(!0===Ze)return void Le();if(!1===Ze)return;const K=new ae.Hp({next:()=>{K.unsubscribe(),Le()}});return(0,re.Xf)(Ze(...U)).subscribe(K)}var ke=y(3581),Fe=y(9272),je=y(4707);const Ne=["*"];let we;function ze(Le){return function Me(){if(void 0===we&&(we=null,typeof window<"u")){const Le=window;void 0!==Le.trustedTypes&&(we=Le.trustedTypes.createPolicy("angular#components",{createHTML:Ze=>Ze}))}return we}()?.createHTML(Le)||Le}function at(Le){return Error(`Unable to find icon with the name "${Le}"`)}function Jt(Le){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Le}".`)}function nn(Le){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Le}".`)}class tt{constructor(Ze,U,K){this.url=Ze,this.svgText=U,this.options=K}}let X=(()=>{class Le{constructor(U,K,Oe,Ge){this._httpClient=U,this._sanitizer=K,this._errorHandler=Ge,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=Oe}addSvgIcon(U,K,Oe){return this.addSvgIconInNamespace("",U,K,Oe)}addSvgIconLiteral(U,K,Oe){return this.addSvgIconLiteralInNamespace("",U,K,Oe)}addSvgIconInNamespace(U,K,Oe,Ge){return this._addSvgIconConfig(U,K,new tt(Oe,null,Ge))}addSvgIconResolver(U){return this._resolvers.push(U),this}addSvgIconLiteralInNamespace(U,K,Oe,Ge){const rt=this._sanitizer.sanitize(f.q3G.HTML,Oe);if(!rt)throw nn(Oe);const Ct=ze(rt);return this._addSvgIconConfig(U,K,new tt("",Ct,Ge))}addSvgIconSet(U,K){return this.addSvgIconSetInNamespace("",U,K)}addSvgIconSetLiteral(U,K){return this.addSvgIconSetLiteralInNamespace("",U,K)}addSvgIconSetInNamespace(U,K,Oe){return this._addSvgIconSetConfig(U,new tt(K,null,Oe))}addSvgIconSetLiteralInNamespace(U,K,Oe){const Ge=this._sanitizer.sanitize(f.q3G.HTML,K);if(!Ge)throw nn(K);const rt=ze(Ge);return this._addSvgIconSetConfig(U,new tt("",rt,Oe))}registerFontClassAlias(U,K=U){return this._fontCssClassesByAlias.set(U,K),this}classNameForFontAlias(U){return this._fontCssClassesByAlias.get(U)||U}setDefaultFontSetClass(...U){return this._defaultFontSetClass=U,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(U){const K=this._sanitizer.sanitize(f.q3G.RESOURCE_URL,U);if(!K)throw Jt(U);const Oe=this._cachedIconsByUrl.get(K);return Oe?(0,de.of)(I(Oe)):this._loadSvgIconFromConfig(new tt(U,null)).pipe((0,Y.b)(Ge=>this._cachedIconsByUrl.set(K,Ge)),(0,J.U)(Ge=>I(Ge)))}getNamedSvgIcon(U,K=""){const Oe=E(K,U);let Ge=this._svgIconConfigs.get(Oe);if(Ge)return this._getSvgFromConfig(Ge);if(Ge=this._getIconConfigFromResolvers(K,U),Ge)return this._svgIconConfigs.set(Oe,Ge),this._getSvgFromConfig(Ge);const rt=this._iconSetConfigs.get(K);return rt?this._getSvgFromIconSetConfigs(U,rt):function me(Le,Ze){const U=(0,ue.m)(Le)?Le:()=>Le,K=Oe=>Oe.error(U());return new ne.y(Ze?Oe=>Ze.schedule(K,0,Oe):K)}(at(Oe))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(U){return U.svgText?(0,de.of)(I(this._svgElementFromConfig(U))):this._loadSvgIconFromConfig(U).pipe((0,J.U)(K=>I(K)))}_getSvgFromIconSetConfigs(U,K){const Oe=this._extractIconWithNameFromAnySet(U,K);if(Oe)return(0,de.of)(Oe);const Ge=K.filter(rt=>!rt.svgText).map(rt=>this._loadSvgIconSetFromConfig(rt).pipe(Se(Ct=>{const Nt=`Loading icon set URL: ${this._sanitizer.sanitize(f.q3G.RESOURCE_URL,rt.url)} failed: ${Ct.message}`;return this._errorHandler.handleError(new Error(Nt)),(0,de.of)(null)})));return(0,fe.D)(Ge).pipe((0,J.U)(()=>{const rt=this._extractIconWithNameFromAnySet(U,K);if(!rt)throw at(U);return rt}))}_extractIconWithNameFromAnySet(U,K){for(let Oe=K.length-1;Oe>=0;Oe--){const Ge=K[Oe];if(Ge.svgText&&Ge.svgText.toString().indexOf(U)>-1){const rt=this._svgElementFromConfig(Ge),Ct=this._extractSvgIconFromSet(rt,U,Ge.options);if(Ct)return Ct}}return null}_loadSvgIconFromConfig(U){return this._fetchIcon(U).pipe((0,Y.b)(K=>U.svgText=K),(0,J.U)(()=>this._svgElementFromConfig(U)))}_loadSvgIconSetFromConfig(U){return U.svgText?(0,de.of)(null):this._fetchIcon(U).pipe((0,Y.b)(K=>U.svgText=K))}_extractSvgIconFromSet(U,K,Oe){const Ge=U.querySelector(`[id="${K}"]`);if(!Ge)return null;const rt=Ge.cloneNode(!0);if(rt.removeAttribute("id"),"svg"===rt.nodeName.toLowerCase())return this._setSvgAttributes(rt,Oe);if("symbol"===rt.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(rt),Oe);const Ct=this._svgElementFromString(ze("<svg></svg>"));return Ct.appendChild(rt),this._setSvgAttributes(Ct,Oe)}_svgElementFromString(U){const K=this._document.createElement("DIV");K.innerHTML=U;const Oe=K.querySelector("svg");if(!Oe)throw Error("<svg> tag not found");return Oe}_toSvgElement(U){const K=this._svgElementFromString(ze("<svg></svg>")),Oe=U.attributes;for(let Ge=0;Ge<Oe.length;Ge++){const{name:rt,value:Ct}=Oe[Ge];"id"!==rt&&K.setAttribute(rt,Ct)}for(let Ge=0;Ge<U.childNodes.length;Ge++)U.childNodes[Ge].nodeType===this._document.ELEMENT_NODE&&K.appendChild(U.childNodes[Ge].cloneNode(!0));return K}_setSvgAttributes(U,K){return U.setAttribute("fit",""),U.setAttribute("height","100%"),U.setAttribute("width","100%"),U.setAttribute("preserveAspectRatio","xMidYMid meet"),U.setAttribute("focusable","false"),K&&K.viewBox&&U.setAttribute("viewBox",K.viewBox),U}_fetchIcon(U){const{url:K,options:Oe}=U,Ge=Oe?.withCredentials??!1;if(!this._httpClient)throw function wt(){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.")}();if(null==K)throw Error(`Cannot fetch icon from URL "${K}".`);const rt=this._sanitizer.sanitize(f.q3G.RESOURCE_URL,K);if(!rt)throw Jt(K);const Ct=this._inProgressUrlFetches.get(rt);if(Ct)return Ct;const vt=this._httpClient.get(rt,{responseType:"text",withCredentials:Ge}).pipe((0,J.U)(Nt=>ze(Nt)),(0,G.x)(()=>this._inProgressUrlFetches.delete(rt)),function ce(Le={}){const{connector:Ze=(()=>new Z.x),resetOnError:U=!0,resetOnComplete:K=!0,resetOnRefCountZero:Oe=!0}=Le;return Ge=>{let rt,Ct,vt,Nt=0,ut=!1,Lt=!1;const _t=()=>{Ct?.unsubscribe(),Ct=void 0},on=()=>{_t(),rt=vt=void 0,ut=Lt=!1},oi=()=>{const lt=rt;on(),lt?.unsubscribe()};return(0,le.e)((lt,un)=>{Nt++,!Lt&&!ut&&_t();const fn=vt=vt??Ze();un.add(()=>{Nt--,0===Nt&&!Lt&&!ut&&(Ct=Ie(oi,Oe))}),fn.subscribe(un),!rt&&Nt>0&&(rt=new ae.Hp({next:Pn=>fn.next(Pn),error:Pn=>{Lt=!0,_t(),Ct=Ie(on,U,Pn),fn.error(Pn)},complete:()=>{ut=!0,_t(),Ct=Ie(on,K),fn.complete()}}),(0,re.Xf)(lt).subscribe(rt))})(Ge)}}());return this._inProgressUrlFetches.set(rt,vt),vt}_addSvgIconConfig(U,K,Oe){return this._svgIconConfigs.set(E(U,K),Oe),this}_addSvgIconSetConfig(U,K){const Oe=this._iconSetConfigs.get(U);return Oe?Oe.push(K):this._iconSetConfigs.set(U,[K]),this}_svgElementFromConfig(U){if(!U.svgElement){const K=this._svgElementFromString(U.svgText);this._setSvgAttributes(K,U.options),U.svgElement=K}return U.svgElement}_getIconConfigFromResolvers(U,K){for(let Oe=0;Oe<this._resolvers.length;Oe++){const Ge=this._resolvers[Oe](K,U);if(Ge)return k(Ge)?new tt(Ge.url,null,Ge.options):new tt(Ge,null)}}static#e=this.\u0275fac=function(K){return new(K||Le)(f.LFG(Fe.eN,8),f.LFG(je.H7),f.LFG(be.K0,8),f.LFG(f.qLn))};static#t=this.\u0275prov=f.Yz7({token:Le,factory:Le.\u0275fac,providedIn:"root"})}return Le})();function I(Le){return Le.cloneNode(!0)}function E(Le,Ze){return Le+":"+Ze}function k(Le){return!(!Le.url||!Le.options)}const O=(0,o.pj)(class{constructor(Le){this._elementRef=Le}}),$=new f.OlP("MAT_ICON_DEFAULT_OPTIONS"),te=new f.OlP("mat-icon-location",{providedIn:"root",factory:function _e(){const Le=(0,f.f3M)(be.K0),Ze=Le?Le.location:null;return{getPathname:()=>Ze?Ze.pathname+Ze.search:""}}}),Ve=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],He=Ve.map(Le=>`[${Le}]`).join(", "),xt=/^url\(['"]?#(.*?)['"]?\)$/;let dt=(()=>{class Le extends O{get inline(){return this._inline}set inline(U){this._inline=(0,ve.Ig)(U)}get svgIcon(){return this._svgIcon}set svgIcon(U){U!==this._svgIcon&&(U?this._updateSvgIcon(U):this._svgIcon&&this._clearSvgElement(),this._svgIcon=U)}get fontSet(){return this._fontSet}set fontSet(U){const K=this._cleanupFontValue(U);K!==this._fontSet&&(this._fontSet=K,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(U){const K=this._cleanupFontValue(U);K!==this._fontIcon&&(this._fontIcon=K,this._updateFontIconClasses())}constructor(U,K,Oe,Ge,rt,Ct){super(U),this._iconRegistry=K,this._location=Ge,this._errorHandler=rt,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Q.w0.EMPTY,Ct&&(Ct.color&&(this.color=this.defaultColor=Ct.color),Ct.fontSet&&(this.fontSet=Ct.fontSet)),Oe||U.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(U){if(!U)return["",""];const K=U.split(":");switch(K.length){case 1:return["",K[0]];case 2:return K;default:throw Error(`Invalid icon name: "${U}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const U=this._elementsWithExternalReferences;if(U&&U.size){const K=this._location.getPathname();K!==this._previousPath&&(this._previousPath=K,this._prependPathToReferences(K))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(U){this._clearSvgElement();const K=this._location.getPathname();this._previousPath=K,this._cacheChildrenWithExternalReferences(U),this._prependPathToReferences(K),this._elementRef.nativeElement.appendChild(U)}_clearSvgElement(){const U=this._elementRef.nativeElement;let K=U.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();K--;){const Oe=U.childNodes[K];(1!==Oe.nodeType||"svg"===Oe.nodeName.toLowerCase())&&Oe.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const U=this._elementRef.nativeElement,K=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Oe=>Oe.length>0);this._previousFontSetClass.forEach(Oe=>U.classList.remove(Oe)),K.forEach(Oe=>U.classList.add(Oe)),this._previousFontSetClass=K,this.fontIcon!==this._previousFontIconClass&&!K.includes("mat-ligature-font")&&(this._previousFontIconClass&&U.classList.remove(this._previousFontIconClass),this.fontIcon&&U.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(U){return"string"==typeof U?U.trim().split(" ")[0]:U}_prependPathToReferences(U){const K=this._elementsWithExternalReferences;K&&K.forEach((Oe,Ge)=>{Oe.forEach(rt=>{Ge.setAttribute(rt.name,`url('${U}#${rt.value}')`)})})}_cacheChildrenWithExternalReferences(U){const K=U.querySelectorAll(He),Oe=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Ge=0;Ge<K.length;Ge++)Ve.forEach(rt=>{const Ct=K[Ge],vt=Ct.getAttribute(rt),Nt=vt?vt.match(xt):null;if(Nt){let ut=Oe.get(Ct);ut||(ut=[],Oe.set(Ct,ut)),ut.push({name:rt,value:Nt[1]})}})}_updateSvgIcon(U){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),U){const[K,Oe]=this._splitIconName(U);K&&(this._svgNamespace=K),Oe&&(this._svgName=Oe),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Oe,K).pipe((0,ke.q)(1)).subscribe(Ge=>this._setSvgElement(Ge),Ge=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${K}:${Oe}! ${Ge.message}`))})}}static#e=this.\u0275fac=function(K){return new(K||Le)(f.Y36(f.SBq),f.Y36(X),f.$8M("aria-hidden"),f.Y36(te),f.Y36(f.qLn),f.Y36($,8))};static#t=this.\u0275cmp=f.Xpm({type:Le,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(K,Oe){2&K&&(f.uIk("data-mat-icon-type",Oe._usingFontIcon()?"font":"svg")("data-mat-icon-name",Oe._svgName||Oe.fontIcon)("data-mat-icon-namespace",Oe._svgNamespace||Oe.fontSet)("fontIcon",Oe._usingFontIcon()?Oe.fontIcon:null),f.ekj("mat-icon-inline",Oe.inline)("mat-icon-no-color","primary"!==Oe.color&&"accent"!==Oe.color&&"warn"!==Oe.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[f.qOj],ngContentSelectors:Ne,decls:1,vars:0,template:function(K,Oe){1&K&&(f.F$t(),f.Hsn(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 Le})(),Mt=(()=>{class Le{static#e=this.\u0275fac=function(K){return new(K||Le)};static#t=this.\u0275mod=f.oAB({type:Le});static#n=this.\u0275inj=f.cJS({imports:[o.BQ,o.BQ]})}return Le})()},7361:(Ke,De,y)=>{"use strict";y.d(De,{Nh:()=>q,SP:()=>Ln,uD:()=>Ge,uX:()=>un});var f=y(9462),o=y(1322),ve=y(9021),be=y(6512),de=y(8267),ne=y(8654),ue=y(4877),me=y(9592),fe=y(9453),Q=y(6058),Y=y(9627),J=y(4991),re=y(8025),pe=y(7371),le=y(5117),Se=y(19),G=y(4263),Z=y(5779),ae=y(3581),ce=y(2835),Ie=y(1800),ke=y(1497),Fe=y(6e3),je=y(5988),Ne=y(9467),we=y(3844),Me=y(7605);function ze(H,ie){}const at=H=>({animationDuration:H}),wt=(H,ie)=>({value:H,params:ie});function Jt(H,ie){1&H&&o.Hsn(0)}const nn=["*"],tt=["tabListContainer"],X=["tabList"],z=["tabListInner"],N=["nextPaginator"],I=["previousPaginator"],E=["tabBodyWrapper"],k=["tabHeader"];function O(H,ie){}function $(H,ie){if(1&H&&o.YNc(0,O,0,0,"ng-template",10),2&H){const x=o.oxw().$implicit;o.Q6J("cdkPortalOutlet",x.templateLabel)}}function te(H,ie){if(1&H&&o._uU(0),2&H){const x=o.oxw().$implicit;o.Oqu(x.textLabel)}}function _e(H,ie){if(1&H){const x=o.EpF();o.TgZ(0,"div",4,5),o.NdJ("click",function(){const ee=o.CHM(x),Pe=ee.$implicit,nt=ee.$index,kt=o.oxw(),zt=o.MAs(1);return o.KtG(kt._handleClick(Pe,zt,nt))})("cdkFocusChange",function(ee){const nt=o.CHM(x).$index,kt=o.oxw();return o.KtG(kt._tabFocusChanged(ee,nt))}),o._UZ(2,"span",6)(3,"div",7),o.TgZ(4,"span",8)(5,"span",9),o.YNc(6,$,1,1,null,10)(7,te,1,1),o.qZA()()()}if(2&H){const x=ie.$implicit,P=ie.$index,ee=o.MAs(1),Pe=o.oxw();o.ekj("mdc-tab--active",Pe.selectedIndex===P),o.Q6J("id",Pe._getTabLabelId(P))("ngClass",x.labelClass)("disabled",x.disabled)("fitInkBarToContent",Pe.fitInkBarToContent),o.uIk("tabIndex",Pe._getTabIndex(P))("aria-posinset",P+1)("aria-setsize",Pe._tabs.length)("aria-controls",Pe._getTabContentId(P))("aria-selected",Pe.selectedIndex===P)("aria-label",x.ariaLabel||null)("aria-labelledby",!x.ariaLabel&&x.ariaLabelledby?x.ariaLabelledby:null),o.xp6(3),o.Q6J("matRippleTrigger",ee)("matRippleDisabled",x.disabled||Pe.disableRipple),o.xp6(3),o.um2(6,x.templateLabel?6:7)}}function Ve(H,ie){if(1&H){const x=o.EpF();o.TgZ(0,"mat-tab-body",11),o.NdJ("_onCentered",function(){o.CHM(x);const ee=o.oxw();return o.KtG(ee._removeTabBodyWrapperHeight())})("_onCentering",function(ee){o.CHM(x);const Pe=o.oxw();return o.KtG(Pe._setTabBodyWrapperHeight(ee))}),o.qZA()}if(2&H){const x=ie.$implicit,P=ie.$index,ee=o.oxw();o.ekj("mat-mdc-tab-body-active",ee.selectedIndex===P),o.Q6J("id",ee._getTabContentId(P))("ngClass",x.bodyClass)("content",x.content)("position",x.position)("origin",x.origin)("animationDuration",ee.animationDuration)("preserveContent",ee.preserveContent),o.uIk("tabindex",null!=ee.contentTabIndex&&ee.selectedIndex===P?ee.contentTabIndex:null)("aria-labelledby",ee._getTabLabelId(P))("aria-hidden",ee.selectedIndex!==P)}}const dt={translateTab:(0,Fe.X$)("translateTab",[(0,Fe.SB)("center, void, left-origin-center, right-origin-center",(0,Fe.oB)({transform:"none"})),(0,Fe.SB)("left",(0,Fe.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,Fe.SB)("right",(0,Fe.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,Fe.eR)("* => left, * => right, left => center, right => center",(0,Fe.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,Fe.eR)("void => left-origin-center",[(0,Fe.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,Fe.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,Fe.eR)("void => right-origin-center",[(0,Fe.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,Fe.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Mt=(()=>{class H extends be.Pl{constructor(x,P,ee,Pe){super(x,P,Pe),this._host=ee,this._centeringSub=me.w0.EMPTY,this._leavingSub=me.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,Se.O)(this._host._isCenterPosition(this._host._position))).subscribe(x=>{x&&!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(P){return new(P||H)(o.Y36(o._Vd),o.Y36(o.s_b),o.Y36((0,o.Gpc)(()=>Le)),o.Y36(f.K0))};static#t=this.\u0275dir=o.lG2({type:H,selectors:[["","matTabBodyHost",""]],features:[o.qOj]})}return H})(),Le=(()=>{class H{set position(x){this._positionIndex=x,this._computePositionAnimationState()}constructor(x,P,ee){this._elementRef=x,this._dir=P,this._dirChangeSubscription=me.w0.EMPTY,this._translateTabComplete=new fe.x,this._onCentering=new o.vpe,this._beforeCentering=new o.vpe,this._afterLeavingCenter=new o.vpe,this._onCentered=new o.vpe(!0),this.animationDuration="500ms",this.preserveContent=!1,P&&(this._dirChangeSubscription=P.change.subscribe(Pe=>{this._computePositionAnimationState(Pe),ee.markForCheck()})),this._translateTabComplete.pipe((0,G.x)((Pe,nt)=>Pe.fromState===nt.fromState&&Pe.toState===nt.toState)).subscribe(Pe=>{this._isCenterPosition(Pe.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(Pe.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(x){const P=this._isCenterPosition(x.toState);this._beforeCentering.emit(P),P&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(x){return"center"==x||"left-origin-center"==x||"right-origin-center"==x}_computePositionAnimationState(x=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==x?"left":"right":this._positionIndex>0?"ltr"==x?"right":"left":"center"}_computePositionFromOrigin(x){const P=this._getLayoutDirection();return"ltr"==P&&x<=0||"rtl"==P&&x>0?"left-origin-center":"right-origin-center"}static#e=this.\u0275fac=function(P){return new(P||H)(o.Y36(o.SBq),o.Y36(ue.Is,8),o.Y36(o.sBO))};static#t=this.\u0275cmp=o.Xpm({type:H,selectors:[["mat-tab-body"]],viewQuery:function(P,ee){if(1&P&&o.Gf(be.Pl,5),2&P){let Pe;o.iGM(Pe=o.CRH())&&(ee._portalHost=Pe.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(P,ee){1&P&&(o.TgZ(0,"div",0,1),o.NdJ("@translateTab.start",function(nt){return ee._onTranslateTabStarted(nt)})("@translateTab.done",function(nt){return ee._translateTabComplete.next(nt)}),o.YNc(2,ze,0,0,"ng-template",2),o.qZA()),2&P&&o.Q6J("@translateTab",o.WLB(3,wt,ee._position,o.VKq(1,at,ee.animationDuration)))},dependencies:[Mt],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:[dt.translateTab]}})}return H})();const Ze=new o.OlP("MatTabContent");let U=(()=>{class H{constructor(x){this.template=x}static#e=this.\u0275fac=function(P){return new(P||H)(o.Y36(o.Rgc))};static#t=this.\u0275dir=o.lG2({type:H,selectors:[["","matTabContent",""]],features:[o._Bn([{provide:Ze,useExisting:H}])]})}return H})();const K=new o.OlP("MatTabLabel"),Oe=new o.OlP("MAT_TAB");let Ge=(()=>{class H extends be.ig{constructor(x,P,ee){super(x,P),this._closestTab=ee}static#e=this.\u0275fac=function(P){return new(P||H)(o.Y36(o.Rgc),o.Y36(o.s_b),o.Y36(Oe,8))};static#t=this.\u0275dir=o.lG2({type:H,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[o._Bn([{provide:K,useExisting:H}]),o.qOj]})}return H})();const rt="mdc-tab-indicator--active",Ct="mdc-tab-indicator--no-transition";class vt{constructor(ie){this._items=ie}hide(){this._items.forEach(ie=>ie.deactivateInkBar())}alignToElement(ie){const x=this._items.find(ee=>ee.elementRef.nativeElement===ie),P=this._currentItem;if(x!==P&&(P?.deactivateInkBar(),x)){const ee=P?.elementRef.nativeElement.getBoundingClientRect?.();x.activateInkBar(ee),this._currentItem=x}}}function Nt(H){return class extends H{constructor(...ie){super(...ie),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(ie){const x=(0,je.Ig)(ie);this._fitToContent!==x&&(this._fitToContent=x,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(ie){const x=this.elementRef.nativeElement;if(!ie||!x.getBoundingClientRect||!this._inkBarContentElement)return void x.classList.add(rt);const P=x.getBoundingClientRect(),ee=ie.width/P.width,Pe=ie.left-P.left;x.classList.add(Ct),this._inkBarContentElement.style.setProperty("transform",`translateX(${Pe}px) scaleX(${ee})`),x.getBoundingClientRect(),x.classList.remove(Ct),x.classList.add(rt),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(rt)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const ie=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=ie.createElement("span"),this._inkBarContentElement=ie.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)}}}const _t=Nt((0,ve.Id)(class{}));let on=(()=>{class H extends _t{constructor(x){super(),this.elementRef=x}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static#e=this.\u0275fac=function(P){return new(P||H)(o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:H,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(P,ee){2&P&&(o.uIk("aria-disabled",!!ee.disabled),o.ekj("mat-mdc-tab-disabled",ee.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[o.qOj]})}return H})();const oi=(0,ve.Id)(class{}),lt=new o.OlP("MAT_TAB_GROUP");let un=(()=>{class H extends oi{get templateLabel(){return this._templateLabel}set templateLabel(x){this._setTemplateLabelInput(x)}get content(){return this._contentPortal}constructor(x,P){super(),this._viewContainerRef=x,this._closestTabGroup=P,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new fe.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(x){(x.hasOwnProperty("textLabel")||x.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new be.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(x){x&&x._closestTab===this&&(this._templateLabel=x)}static#e=this.\u0275fac=function(P){return new(P||H)(o.Y36(o.s_b),o.Y36(lt,8))};static#t=this.\u0275cmp=o.Xpm({type:H,selectors:[["mat-tab"]],contentQueries:function(P,ee,Pe){if(1&P&&(o.Suo(Pe,Ge,5),o.Suo(Pe,U,7,o.Rgc)),2&P){let nt;o.iGM(nt=o.CRH())&&(ee.templateLabel=nt.first),o.iGM(nt=o.CRH())&&(ee._explicitContent=nt.first)}},viewQuery:function(P,ee){if(1&P&&o.Gf(o.Rgc,7),2&P){let Pe;o.iGM(Pe=o.CRH())&&(ee._implicitContent=Pe.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[o._Bn([{provide:Oe,useExisting:H}]),o.qOj,o.TTD],ngContentSelectors:nn,decls:1,vars:0,template:function(P,ee){1&P&&(o.F$t(),o.YNc(0,Jt,1,0,"ng-template"))},encapsulation:2})}return H})();const fn=(0,we.i$)({passive:!0});let pn=(()=>{class H{get disablePagination(){return this._disablePagination}set disablePagination(x){this._disablePagination=(0,je.Ig)(x)}get selectedIndex(){return this._selectedIndex}set selectedIndex(x){x=(0,je.su)(x),this._selectedIndex!=x&&(this._selectedIndexChanged=!0,this._selectedIndex=x,this._keyManager&&this._keyManager.updateActiveItem(x))}constructor(x,P,ee,Pe,nt,kt,zt){this._elementRef=x,this._changeDetectorRef=P,this._viewportRuler=ee,this._dir=Pe,this._ngZone=nt,this._platform=kt,this._animationMode=zt,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new fe.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new fe.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new o.vpe,this.indexFocused=new o.vpe,nt.runOutsideAngular(()=>{(0,Q.R)(x.nativeElement,"mouseleave").pipe((0,Z.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,Q.R)(this._previousPaginator.nativeElement,"touchstart",fn).pipe((0,Z.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,Q.R)(this._nextPaginator.nativeElement,"touchstart",fn).pipe((0,Z.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const x=this._dir?this._dir.change:(0,Y.of)("ltr"),P=this._viewportRuler.change(150),ee=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new ne.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,ae.q)(1)).subscribe(ee),(0,J.T)(x,P,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)),ee()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(Pe=>{this.indexFocused.emit(Pe),this._setTabFocus(Pe)})}_itemsResized(){return"function"!=typeof ResizeObserver?re.E:this._items.changes.pipe((0,Se.O)(this._items),(0,ce.w)(x=>new pe.y(P=>this._ngZone.runOutsideAngular(()=>{const ee=new ResizeObserver(Pe=>P.next(Pe));return x.forEach(Pe=>ee.observe(Pe.elementRef.nativeElement)),()=>{ee.disconnect()}}))),(0,Ie.T)(1),(0,ke.h)(x=>x.some(P=>P.contentRect.width>0&&P.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(x){if(!(0,Me.Vb)(x))switch(x.keyCode){case Me.K5:case Me.L_:if(this.focusIndex!==this.selectedIndex){const P=this._items.get(this.focusIndex);P&&!P.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(x))}break;default:this._keyManager.onKeydown(x)}}_onContentChanges(){const x=this._elementRef.nativeElement.textContent;x!==this._currentTextContent&&(this._currentTextContent=x||"",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(x){!this._isValidIndex(x)||this.focusIndex===x||!this._keyManager||this._keyManager.setActiveItem(x)}_isValidIndex(x){return!this._items||!!this._items.toArray()[x]}_setTabFocus(x){if(this._showPaginationControls&&this._scrollToLabel(x),this._items&&this._items.length){this._items.toArray()[x].focus();const P=this._tabListContainer.nativeElement;P.scrollLeft="ltr"==this._getLayoutDirection()?0:P.scrollWidth-P.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const x=this.scrollDistance,P="ltr"===this._getLayoutDirection()?-x:x;this._tabList.nativeElement.style.transform=`translateX(${Math.round(P)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(x){this._scrollTo(x)}_scrollHeader(x){return this._scrollTo(this._scrollDistance+("before"==x?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(x){this._stopInterval(),this._scrollHeader(x)}_scrollToLabel(x){if(this.disablePagination)return;const P=this._items?this._items.toArray()[x]:null;if(!P)return;const ee=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:Pe,offsetWidth:nt}=P.elementRef.nativeElement;let kt,zt;"ltr"==this._getLayoutDirection()?(kt=Pe,zt=kt+nt):(zt=this._tabListInner.nativeElement.offsetWidth-Pe,kt=zt-nt);const gn=this.scrollDistance,Kt=this.scrollDistance+ee;kt<gn?this.scrollDistance-=gn-kt:zt>Kt&&(this.scrollDistance+=Math.min(zt-Kt,kt-gn))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const x=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;x||(this.scrollDistance=0),x!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=x}}_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 x=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,P=x?x.elementRef.nativeElement:null;P?this._inkBar.alignToElement(P):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(x,P){P&&null!=P.button&&0!==P.button||(this._stopInterval(),(0,le.H)(650,100).pipe((0,Z.R)((0,J.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:ee,distance:Pe}=this._scrollHeader(x);(0===Pe||Pe>=ee)&&this._stopInterval()}))}_scrollTo(x){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const P=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(P,x)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:P,distance:this._scrollDistance}}static#e=this.\u0275fac=function(P){return new(P||H)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(Ne.rL),o.Y36(ue.Is,8),o.Y36(o.R0b),o.Y36(we.t4),o.Y36(o.QbO,8))};static#t=this.\u0275dir=o.lG2({type:H,inputs:{disablePagination:"disablePagination"}})}return H})(),Ut=(()=>{class H extends pn{get disableRipple(){return this._disableRipple}set disableRipple(x){this._disableRipple=(0,je.Ig)(x)}constructor(x,P,ee,Pe,nt,kt,zt){super(x,P,ee,Pe,nt,kt,zt),this._disableRipple=!1}ngAfterContentInit(){this._inkBar=new vt(this._items),super.ngAfterContentInit()}_itemSelected(x){x.preventDefault()}static#e=this.\u0275fac=function(P){return new(P||H)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(Ne.rL),o.Y36(ue.Is,8),o.Y36(o.R0b),o.Y36(we.t4),o.Y36(o.QbO,8))};static#t=this.\u0275cmp=o.Xpm({type:H,selectors:[["mat-tab-header"]],contentQueries:function(P,ee,Pe){if(1&P&&o.Suo(Pe,on,4),2&P){let nt;o.iGM(nt=o.CRH())&&(ee._items=nt)}},viewQuery:function(P,ee){if(1&P&&(o.Gf(tt,7),o.Gf(X,7),o.Gf(z,7),o.Gf(N,5),o.Gf(I,5)),2&P){let Pe;o.iGM(Pe=o.CRH())&&(ee._tabListContainer=Pe.first),o.iGM(Pe=o.CRH())&&(ee._tabList=Pe.first),o.iGM(Pe=o.CRH())&&(ee._tabListInner=Pe.first),o.iGM(Pe=o.CRH())&&(ee._nextPaginator=Pe.first),o.iGM(Pe=o.CRH())&&(ee._previousPaginator=Pe.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(P,ee){2&P&&o.ekj("mat-mdc-tab-header-pagination-controls-enabled",ee._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==ee._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[o.qOj],ngContentSelectors:nn,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(P,ee){1&P&&(o.F$t(),o.TgZ(0,"button",0,1),o.NdJ("click",function(){return ee._handlePaginatorClick("before")})("mousedown",function(nt){return ee._handlePaginatorPress("before",nt)})("touchend",function(){return ee._stopInterval()}),o._UZ(2,"div",2),o.qZA(),o.TgZ(3,"div",3,4),o.NdJ("keydown",function(nt){return ee._handleKeydown(nt)}),o.TgZ(5,"div",5,6),o.NdJ("cdkObserveContent",function(){return ee._onContentChanges()}),o.TgZ(7,"div",7,8),o.Hsn(9),o.qZA()()(),o.TgZ(10,"button",9,10),o.NdJ("mousedown",function(nt){return ee._handlePaginatorPress("after",nt)})("click",function(){return ee._handlePaginatorClick("after")})("touchend",function(){return ee._stopInterval()}),o._UZ(12,"div",2),o.qZA()),2&P&&(o.ekj("mat-mdc-tab-header-pagination-disabled",ee._disableScrollBefore),o.Q6J("matRippleDisabled",ee._disableScrollBefore||ee.disableRipple)("disabled",ee._disableScrollBefore||null),o.xp6(3),o.ekj("_mat-animation-noopable","NoopAnimations"===ee._animationMode),o.xp6(7),o.ekj("mat-mdc-tab-header-pagination-disabled",ee._disableScrollAfter),o.Q6J("matRippleDisabled",ee._disableScrollAfter||ee.disableRipple)("disabled",ee._disableScrollAfter||null))},dependencies:[ve.wG,de.wD],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.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;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color)}.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 H})();const ri=new o.OlP("MAT_TABS_CONFIG");let kn=0;const It=(0,ve.pj)((0,ve.Kr)(class{constructor(H){this._elementRef=H}}),"primary");let Ln=(()=>{class H extends It{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(x){this._fitInkBarToContent=(0,je.Ig)(x),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(x){this._stretchTabs=(0,je.Ig)(x)}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(x){this._dynamicHeight=(0,je.Ig)(x)}get selectedIndex(){return this._selectedIndex}set selectedIndex(x){this._indexToSelect=(0,je.su)(x,null)}get animationDuration(){return this._animationDuration}set animationDuration(x){this._animationDuration=/^\d+$/.test(x+"")?x+"ms":x}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(x){this._contentTabIndex=(0,je.su)(x,null)}get disablePagination(){return this._disablePagination}set disablePagination(x){this._disablePagination=(0,je.Ig)(x)}get preserveContent(){return this._preserveContent}set preserveContent(x){this._preserveContent=(0,je.Ig)(x)}get backgroundColor(){return this._backgroundColor}set backgroundColor(x){const P=this._elementRef.nativeElement.classList;P.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),x&&P.add("mat-tabs-with-background",`mat-background-${x}`),this._backgroundColor=x}constructor(x,P,ee,Pe){super(x),this._changeDetectorRef=P,this._animationMode=Pe,this._tabs=new o.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=me.w0.EMPTY,this._tabLabelSubscription=me.w0.EMPTY,this._fitInkBarToContent=!1,this._stretchTabs=!0,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new o.vpe,this.focusChange=new o.vpe,this.animationDone=new o.vpe,this.selectedTabChange=new o.vpe(!0),this._groupId=kn++,this.animationDuration=ee&&ee.animationDuration?ee.animationDuration:"500ms",this.disablePagination=!(!ee||null==ee.disablePagination)&&ee.disablePagination,this.dynamicHeight=!(!ee||null==ee.dynamicHeight)&&ee.dynamicHeight,this.contentTabIndex=ee?.contentTabIndex??null,this.preserveContent=!!ee?.preserveContent,this.fitInkBarToContent=!(!ee||null==ee.fitInkBarToContent)&&ee.fitInkBarToContent,this.stretchTabs=!ee||null==ee.stretchTabs||ee.stretchTabs}ngAfterContentChecked(){const x=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=x){const P=null==this._selectedIndex;if(!P){this.selectedTabChange.emit(this._createChangeEvent(x));const ee=this._tabBodyWrapper.nativeElement;ee.style.minHeight=ee.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((ee,Pe)=>ee.isActive=Pe===x),P||(this.selectedIndexChange.emit(x),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((P,ee)=>{P.position=ee-x,null!=this._selectedIndex&&0==P.position&&!P.origin&&(P.origin=x-this._selectedIndex)}),this._selectedIndex!==x&&(this._selectedIndex=x,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const x=this._clampTabIndex(this._indexToSelect);if(x===this._selectedIndex){const P=this._tabs.toArray();let ee;for(let Pe=0;Pe<P.length;Pe++)if(P[Pe].isActive){this._indexToSelect=this._selectedIndex=Pe,this._lastFocusedTabIndex=null,ee=P[Pe];break}!ee&&P[x]&&Promise.resolve().then(()=>{P[x].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(x))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,Se.O)(this._allTabs)).subscribe(x=>{this._tabs.reset(x.filter(P=>P._closestTabGroup===this||!P._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(x){const P=this._tabHeader;P&&(P.focusIndex=x)}_focusChanged(x){this._lastFocusedTabIndex=x,this.focusChange.emit(this._createChangeEvent(x))}_createChangeEvent(x){const P=new Yn;return P.index=x,this._tabs&&this._tabs.length&&(P.tab=this._tabs.toArray()[x]),P}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,J.T)(...this._tabs.map(x=>x._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(x){return Math.min(this._tabs.length-1,Math.max(x||0,0))}_getTabLabelId(x){return`mat-tab-label-${this._groupId}-${x}`}_getTabContentId(x){return`mat-tab-content-${this._groupId}-${x}`}_setTabBodyWrapperHeight(x){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const P=this._tabBodyWrapper.nativeElement;P.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(P.style.height=x+"px")}_removeTabBodyWrapperHeight(){const x=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=x.clientHeight,x.style.height="",this.animationDone.emit()}_handleClick(x,P,ee){P.focusIndex=ee,x.disabled||(this.selectedIndex=ee)}_getTabIndex(x){return x===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(x,P){x&&"mouse"!==x&&"touch"!==x&&(this._tabHeader.focusIndex=P)}static#e=this.\u0275fac=function(P){return new(P||H)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(ri,8),o.Y36(o.QbO,8))};static#t=this.\u0275cmp=o.Xpm({type:H,selectors:[["mat-tab-group"]],contentQueries:function(P,ee,Pe){if(1&P&&o.Suo(Pe,un,5),2&P){let nt;o.iGM(nt=o.CRH())&&(ee._allTabs=nt)}},viewQuery:function(P,ee){if(1&P&&(o.Gf(E,5),o.Gf(k,5)),2&P){let Pe;o.iGM(Pe=o.CRH())&&(ee._tabBodyWrapper=Pe.first),o.iGM(Pe=o.CRH())&&(ee._tabHeader=Pe.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-tab-group"],hostVars:8,hostBindings:function(P,ee){2&P&&(o.Udp("--mat-tab-animation-duration",ee.animationDuration),o.ekj("mat-mdc-tab-group-dynamic-height",ee.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===ee.headerPosition)("mat-mdc-tab-group-stretch-tabs",ee.stretchTabs))},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"],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"},exportAs:["matTabGroup"],features:[o._Bn([{provide:lt,useExisting:H}]),o.qOj],decls:8,vars:5,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["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,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent"]],template:function(P,ee){1&P&&(o.TgZ(0,"mat-tab-header",0,1),o.NdJ("indexFocused",function(nt){return ee._focusChanged(nt)})("selectFocusedIndex",function(nt){return ee.selectedIndex=nt}),o.SjG(2,_e,8,16,"div",12,o.x6l),o.qZA(),o.TgZ(4,"div",2,3),o.SjG(6,Ve,1,12,"mat-tab-body",13,o.x6l),o.qZA()),2&P&&(o.Q6J("selectedIndex",ee.selectedIndex||0)("disableRipple",ee.disableRipple)("disablePagination",ee.disablePagination),o.xp6(2),o.wJu(ee._tabs),o.xp6(2),o.ekj("_mat-animation-noopable","NoopAnimations"===ee._animationMode),o.xp6(2),o.wJu(ee._tabs))},dependencies:[f.mk,be.Pl,ve.wG,ne.kH,Le,on,Ut],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 H})();class Yn{}let q=(()=>{class H{static#e=this.\u0275fac=function(P){return new(P||H)};static#t=this.\u0275mod=o.oAB({type:H});static#n=this.\u0275inj=o.cJS({imports:[f.ez,ve.BQ,be.eL,ve.si,de.Q8,ne.rt,ve.BQ]})}return H})()},4707:(Ke,De,y)=>{"use strict";y.d(De,{H7:()=>kn,b2:()=>Ze,q6:()=>xt,se:()=>Ne});var f=y(1322),o=y(9462);class ve extends o.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class be extends ve{static makeCurrent(){(0,o.HT)(new be)}onAndCancel(ie,x,P){return ie.addEventListener(x,P),()=>{ie.removeEventListener(x,P)}}dispatchEvent(ie,x){ie.dispatchEvent(x)}remove(ie){ie.parentNode&&ie.parentNode.removeChild(ie)}createElement(ie,x){return(x=x||this.getDefaultDocument()).createElement(ie)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ie){return ie.nodeType===Node.ELEMENT_NODE}isShadowRoot(ie){return ie instanceof DocumentFragment}getGlobalEventTarget(ie,x){return"window"===x?window:"document"===x?ie:"body"===x?ie.body:null}getBaseHref(ie){const x=function ne(){return de=de||document.querySelector("base"),de?de.getAttribute("href"):null}();return null==x?null:function ue(H){return new URL(H,document.baseURI).pathname}(x)}resetBaseElement(){de=null}getUserAgent(){return window.navigator.userAgent}getCookie(ie){return(0,o.Mx)(document.cookie,ie)}}let de=null,fe=(()=>{class H{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(P){return new(P||H)};static#t=this.\u0275prov=f.Yz7({token:H,factory:H.\u0275fac})}return H})();const Q=new f.OlP("EventManagerPlugins");let Y=(()=>{class H{constructor(x,P){this._zone=P,this._eventNameToPlugin=new Map,x.forEach(ee=>{ee.manager=this}),this._plugins=x.slice().reverse()}addEventListener(x,P,ee){return this._findPluginFor(P).addEventListener(x,P,ee)}getZone(){return this._zone}_findPluginFor(x){let P=this._eventNameToPlugin.get(x);if(P)return P;if(P=this._plugins.find(Pe=>Pe.supports(x)),!P)throw new f.vHH(5101,!1);return this._eventNameToPlugin.set(x,P),P}static#e=this.\u0275fac=function(P){return new(P||H)(f.LFG(Q),f.LFG(f.R0b))};static#t=this.\u0275prov=f.Yz7({token:H,factory:H.\u0275fac})}return H})();class J{constructor(ie){this._doc=ie}}const re="ng-app-id";let pe=(()=>{class H{constructor(x,P,ee,Pe={}){this.doc=x,this.appId=P,this.nonce=ee,this.platformId=Pe,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,o.PM)(Pe),this.resetHostNodes()}addStyles(x){for(const P of x)1===this.changeUsageCount(P,1)&&this.onStyleAdded(P)}removeStyles(x){for(const P of x)this.changeUsageCount(P,-1)<=0&&this.onStyleRemoved(P)}ngOnDestroy(){const x=this.styleNodesInDOM;x&&(x.forEach(P=>P.remove()),x.clear());for(const P of this.getAllStyles())this.onStyleRemoved(P);this.resetHostNodes()}addHost(x){this.hostNodes.add(x);for(const P of this.getAllStyles())this.addStyleToHost(x,P)}removeHost(x){this.hostNodes.delete(x)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(x){for(const P of this.hostNodes)this.addStyleToHost(P,x)}onStyleRemoved(x){const P=this.styleRef;P.get(x)?.elements?.forEach(ee=>ee.remove()),P.delete(x)}collectServerRenderedStyles(){const x=this.doc.head?.querySelectorAll(`style[${re}="${this.appId}"]`);if(x?.length){const P=new Map;return x.forEach(ee=>{null!=ee.textContent&&P.set(ee.textContent,ee)}),P}return null}changeUsageCount(x,P){const ee=this.styleRef;if(ee.has(x)){const Pe=ee.get(x);return Pe.usage+=P,Pe.usage}return ee.set(x,{usage:P,elements:[]}),P}getStyleElement(x,P){const ee=this.styleNodesInDOM,Pe=ee?.get(P);if(Pe?.parentNode===x)return ee.delete(P),Pe.removeAttribute(re),Pe;{const nt=this.doc.createElement("style");return this.nonce&&nt.setAttribute("nonce",this.nonce),nt.textContent=P,this.platformIsServer&&nt.setAttribute(re,this.appId),x.appendChild(nt),nt}}addStyleToHost(x,P){const ee=this.getStyleElement(x,P),Pe=this.styleRef,nt=Pe.get(P)?.elements;nt?nt.push(ee):Pe.set(P,{elements:[ee],usage:1})}resetHostNodes(){const x=this.hostNodes;x.clear(),x.add(this.doc.head)}static#e=this.\u0275fac=function(P){return new(P||H)(f.LFG(o.K0),f.LFG(f.AFp),f.LFG(f.Ojb,8),f.LFG(f.Lbi))};static#t=this.\u0275prov=f.Yz7({token:H,factory:H.\u0275fac})}return H})();const le={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/"},Se=/%COMP%/g,G="%COMP%",Z=`_nghost-${G}`,ae=`_ngcontent-${G}`,Ie=new f.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function je(H,ie){return ie.map(x=>x.replace(Se,H))}let Ne=(()=>{class H{constructor(x,P,ee,Pe,nt,kt,zt,gn=null){this.eventManager=x,this.sharedStylesHost=P,this.appId=ee,this.removeStylesOnCompDestroy=Pe,this.doc=nt,this.platformId=kt,this.ngZone=zt,this.nonce=gn,this.rendererByCompId=new Map,this.platformIsServer=(0,o.PM)(kt),this.defaultRenderer=new we(x,nt,zt,this.platformIsServer)}createRenderer(x,P){if(!x||!P)return this.defaultRenderer;this.platformIsServer&&P.encapsulation===f.ifc.ShadowDom&&(P={...P,encapsulation:f.ifc.Emulated});const ee=this.getOrCreateRenderer(x,P);return ee instanceof nn?ee.applyToHost(x):ee instanceof Jt&&ee.applyStyles(),ee}getOrCreateRenderer(x,P){const ee=this.rendererByCompId;let Pe=ee.get(P.id);if(!Pe){const nt=this.doc,kt=this.ngZone,zt=this.eventManager,gn=this.sharedStylesHost,Kt=this.removeStylesOnCompDestroy,ln=this.platformIsServer;switch(P.encapsulation){case f.ifc.Emulated:Pe=new nn(zt,gn,P,this.appId,Kt,nt,kt,ln);break;case f.ifc.ShadowDom:return new wt(zt,gn,x,P,nt,kt,this.nonce,ln);default:Pe=new Jt(zt,gn,P,Kt,nt,kt,ln)}ee.set(P.id,Pe)}return Pe}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(P){return new(P||H)(f.LFG(Y),f.LFG(pe),f.LFG(f.AFp),f.LFG(Ie),f.LFG(o.K0),f.LFG(f.Lbi),f.LFG(f.R0b),f.LFG(f.Ojb))};static#t=this.\u0275prov=f.Yz7({token:H,factory:H.\u0275fac})}return H})();class we{constructor(ie,x,P,ee){this.eventManager=ie,this.doc=x,this.ngZone=P,this.platformIsServer=ee,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(ie,x){return x?this.doc.createElementNS(le[x]||x,ie):this.doc.createElement(ie)}createComment(ie){return this.doc.createComment(ie)}createText(ie){return this.doc.createTextNode(ie)}appendChild(ie,x){(at(ie)?ie.content:ie).appendChild(x)}insertBefore(ie,x,P){ie&&(at(ie)?ie.content:ie).insertBefore(x,P)}removeChild(ie,x){ie&&ie.removeChild(x)}selectRootElement(ie,x){let P="string"==typeof ie?this.doc.querySelector(ie):ie;if(!P)throw new f.vHH(-5104,!1);return x||(P.textContent=""),P}parentNode(ie){return ie.parentNode}nextSibling(ie){return ie.nextSibling}setAttribute(ie,x,P,ee){if(ee){x=ee+":"+x;const Pe=le[ee];Pe?ie.setAttributeNS(Pe,x,P):ie.setAttribute(x,P)}else ie.setAttribute(x,P)}removeAttribute(ie,x,P){if(P){const ee=le[P];ee?ie.removeAttributeNS(ee,x):ie.removeAttribute(`${P}:${x}`)}else ie.removeAttribute(x)}addClass(ie,x){ie.classList.add(x)}removeClass(ie,x){ie.classList.remove(x)}setStyle(ie,x,P,ee){ee&(f.JOm.DashCase|f.JOm.Important)?ie.style.setProperty(x,P,ee&f.JOm.Important?"important":""):ie.style[x]=P}removeStyle(ie,x,P){P&f.JOm.DashCase?ie.style.removeProperty(x):ie.style[x]=""}setProperty(ie,x,P){null!=ie&&(ie[x]=P)}setValue(ie,x){ie.nodeValue=x}listen(ie,x,P){if("string"==typeof ie&&!(ie=(0,o.q)().getGlobalEventTarget(this.doc,ie)))throw new Error(`Unsupported event target ${ie} for event ${x}`);return this.eventManager.addEventListener(ie,x,this.decoratePreventDefault(P))}decoratePreventDefault(ie){return x=>{if("__ngUnwrap__"===x)return ie;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>ie(x)):ie(x))&&x.preventDefault()}}}function at(H){return"TEMPLATE"===H.tagName&&void 0!==H.content}class wt extends we{constructor(ie,x,P,ee,Pe,nt,kt,zt){super(ie,Pe,nt,zt),this.sharedStylesHost=x,this.hostEl=P,this.shadowRoot=P.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const gn=je(ee.id,ee.styles);for(const Kt of gn){const ln=document.createElement("style");kt&&ln.setAttribute("nonce",kt),ln.textContent=Kt,this.shadowRoot.appendChild(ln)}}nodeOrShadowRoot(ie){return ie===this.hostEl?this.shadowRoot:ie}appendChild(ie,x){return super.appendChild(this.nodeOrShadowRoot(ie),x)}insertBefore(ie,x,P){return super.insertBefore(this.nodeOrShadowRoot(ie),x,P)}removeChild(ie,x){return super.removeChild(this.nodeOrShadowRoot(ie),x)}parentNode(ie){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ie)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Jt extends we{constructor(ie,x,P,ee,Pe,nt,kt,zt){super(ie,Pe,nt,kt),this.sharedStylesHost=x,this.removeStylesOnCompDestroy=ee,this.styles=zt?je(zt,P.styles):P.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class nn extends Jt{constructor(ie,x,P,ee,Pe,nt,kt,zt){const gn=ee+"-"+P.id;super(ie,x,P,Pe,nt,kt,zt,gn),this.contentAttr=function ke(H){return ae.replace(Se,H)}(gn),this.hostAttr=function Fe(H){return Z.replace(Se,H)}(gn)}applyToHost(ie){this.applyStyles(),this.setAttribute(ie,this.hostAttr,"")}createElement(ie,x){const P=super.createElement(ie,x);return super.setAttribute(P,this.contentAttr,""),P}}let tt=(()=>{class H extends J{constructor(x){super(x)}supports(x){return!0}addEventListener(x,P,ee){return x.addEventListener(P,ee,!1),()=>this.removeEventListener(x,P,ee)}removeEventListener(x,P,ee){return x.removeEventListener(P,ee)}static#e=this.\u0275fac=function(P){return new(P||H)(f.LFG(o.K0))};static#t=this.\u0275prov=f.Yz7({token:H,factory:H.\u0275fac})}return H})();const X=["alt","control","meta","shift"],z={"\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"},N={alt:H=>H.altKey,control:H=>H.ctrlKey,meta:H=>H.metaKey,shift:H=>H.shiftKey};let I=(()=>{class H extends J{constructor(x){super(x)}supports(x){return null!=H.parseEventName(x)}addEventListener(x,P,ee){const Pe=H.parseEventName(P),nt=H.eventCallback(Pe.fullKey,ee,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,o.q)().onAndCancel(x,Pe.domEventName,nt))}static parseEventName(x){const P=x.toLowerCase().split("."),ee=P.shift();if(0===P.length||"keydown"!==ee&&"keyup"!==ee)return null;const Pe=H._normalizeKey(P.pop());let nt="",kt=P.indexOf("code");if(kt>-1&&(P.splice(kt,1),nt="code."),X.forEach(gn=>{const Kt=P.indexOf(gn);Kt>-1&&(P.splice(Kt,1),nt+=gn+".")}),nt+=Pe,0!=P.length||0===Pe.length)return null;const zt={};return zt.domEventName=ee,zt.fullKey=nt,zt}static matchEventFullKeyCode(x,P){let ee=z[x.key]||x.key,Pe="";return P.indexOf("code.")>-1&&(ee=x.code,Pe="code."),!(null==ee||!ee)&&(ee=ee.toLowerCase()," "===ee?ee="space":"."===ee&&(ee="dot"),X.forEach(nt=>{nt!==ee&&(0,N[nt])(x)&&(Pe+=nt+".")}),Pe+=ee,Pe===P)}static eventCallback(x,P,ee){return Pe=>{H.matchEventFullKeyCode(Pe,x)&&ee.runGuarded(()=>P(Pe))}}static _normalizeKey(x){return"esc"===x?"escape":x}static#e=this.\u0275fac=function(P){return new(P||H)(f.LFG(o.K0))};static#t=this.\u0275prov=f.Yz7({token:H,factory:H.\u0275fac})}return H})();const xt=(0,f.eFA)(f._c5,"browser",[{provide:f.Lbi,useValue:o.bD},{provide:f.g9A,useValue:function te(){be.makeCurrent()},multi:!0},{provide:o.K0,useFactory:function Ve(){return(0,f.RDi)(document),document},deps:[]}]),dt=new f.OlP(""),Mt=[{provide:f.rWj,useClass:class me{addToWindow(ie){f.dqk.getAngularTestability=(P,ee=!0)=>{const Pe=ie.findTestabilityInTree(P,ee);if(null==Pe)throw new f.vHH(5103,!1);return Pe},f.dqk.getAllAngularTestabilities=()=>ie.getAllTestabilities(),f.dqk.getAllAngularRootElements=()=>ie.getAllRootElements(),f.dqk.frameworkStabilizers||(f.dqk.frameworkStabilizers=[]),f.dqk.frameworkStabilizers.push(P=>{const ee=f.dqk.getAllAngularTestabilities();let Pe=ee.length,nt=!1;const kt=function(zt){nt=nt||zt,Pe--,0==Pe&&P(nt)};ee.forEach(zt=>{zt.whenStable(kt)})})}findTestabilityInTree(ie,x,P){return null==x?null:ie.getTestability(x)??(P?(0,o.q)().isShadowRoot(x)?this.findTestabilityInTree(ie,x.host,!0):this.findTestabilityInTree(ie,x.parentElement,!0):null)}},deps:[]},{provide:f.lri,useClass:f.dDg,deps:[f.R0b,f.eoX,f.rWj]},{provide:f.dDg,useClass:f.dDg,deps:[f.R0b,f.eoX,f.rWj]}],Le=[{provide:f.zSh,useValue:"root"},{provide:f.qLn,useFactory:function _e(){return new f.qLn},deps:[]},{provide:Q,useClass:tt,multi:!0,deps:[o.K0,f.R0b,f.Lbi]},{provide:Q,useClass:I,multi:!0,deps:[o.K0]},Ne,pe,Y,{provide:f.FYo,useExisting:Ne},{provide:o.JF,useClass:fe,deps:[]},[]];let Ze=(()=>{class H{constructor(x){}static withServerTransition(x){return{ngModule:H,providers:[{provide:f.AFp,useValue:x.appId}]}}static#e=this.\u0275fac=function(P){return new(P||H)(f.LFG(dt,12))};static#t=this.\u0275mod=f.oAB({type:H});static#n=this.\u0275inj=f.cJS({providers:[...Le,...Mt],imports:[o.ez,f.hGG]})}return H})();typeof window<"u"&&window;let kn=(()=>{class H{static#e=this.\u0275fac=function(P){return new(P||H)};static#t=this.\u0275prov=f.Yz7({token:H,factory:function(P){let ee=null;return ee=P?new(P||H):f.LFG(Ht),ee},providedIn:"root"})}return H})(),Ht=(()=>{class H extends kn{constructor(x){super(),this._doc=x}sanitize(x,P){if(null==P)return null;switch(x){case f.q3G.NONE:return P;case f.q3G.HTML:return(0,f.qzn)(P,"HTML")?(0,f.z3N)(P):(0,f.EiD)(this._doc,String(P)).toString();case f.q3G.STYLE:return(0,f.qzn)(P,"Style")?(0,f.z3N)(P):P;case f.q3G.SCRIPT:if((0,f.qzn)(P,"Script"))return(0,f.z3N)(P);throw new f.vHH(5200,!1);case f.q3G.URL:return(0,f.qzn)(P,"URL")?(0,f.z3N)(P):(0,f.mCW)(String(P));case f.q3G.RESOURCE_URL:if((0,f.qzn)(P,"ResourceURL"))return(0,f.z3N)(P);throw new f.vHH(5201,!1);default:throw new f.vHH(5202,!1)}}bypassSecurityTrustHtml(x){return(0,f.JVY)(x)}bypassSecurityTrustStyle(x){return(0,f.L6k)(x)}bypassSecurityTrustScript(x){return(0,f.eBb)(x)}bypassSecurityTrustUrl(x){return(0,f.LAX)(x)}bypassSecurityTrustResourceUrl(x){return(0,f.pB0)(x)}static#e=this.\u0275fac=function(P){return new(P||H)(f.LFG(o.K0))};static#t=this.\u0275prov=f.Yz7({token:H,factory:function(P){let ee=null;return ee=P?new P:function It(H){return new Ht(H.get(o.K0))}(f.LFG(f.zs3)),ee},providedIn:"root"})}return H})()},9309:(Ke,De,y)=>{"use strict";y.d(De,{F_:()=>fe,T2:()=>J,nm:()=>pe});var f=y(1322),o=y(1497),ve=y(3581),be=y(1625),de=y(8832);const ne=["editor"],fe="MONACO_PATH";let Q=(()=>{class le{constructor(G,Z){this.ngZone=G,this.monacoPathConfig=Z,this.isMonacoLoaded$=new be.X(!1),this._monacoPath="assets/monaco-editor/min/vs",window.monacoEditorAlreadyInitialized?G.run(()=>this.isMonacoLoaded$.next(!0)):(window.monacoEditorAlreadyInitialized=!0,this.monacoPathConfig&&(this.monacoPath=this.monacoPathConfig),this.loadMonaco())}set monacoPath(G){G&&(this._monacoPath=G)}loadMonaco(){const G=()=>{let Ie=this._monacoPath;window.amdRequire=window.require;const ke=!!this.nodeRequire,Fe=Ie.includes("http");ke&&(window.require=this.nodeRequire,Fe||(Ie=window.require("path").resolve(window.__dirname,this._monacoPath))),window.amdRequire.config({paths:{vs:Ie}}),window.amdRequire(["vs/editor/editor.main"],()=>{this.ngZone.run(()=>this.isMonacoLoaded$.next(!0))},je=>console.error("Error loading monaco-editor: ",je))};if(window.amdRequire)return G();window.require&&(this.addElectronFixScripts(),this.nodeRequire=window.require);const ce=document.createElement("script");ce.type="text/javascript",ce.src=`${this._monacoPath}/loader.js`,ce.addEventListener("load",G),document.body.appendChild(ce)}addElectronFixScripts(){const G=document.createElement("script"),Z=document.createTextNode("self.module = undefined;"),ae=document.createTextNode("self.process.browser = true;");G.appendChild(Z),G.appendChild(ae),document.body.appendChild(G)}}return le.\u0275fac=function(G){return new(G||le)(f.LFG(f.R0b),f.LFG(fe,8))},le.\u0275prov=f.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})(),J=(()=>{class le{constructor(G){this.monacoLoader=G,this.init=new f.vpe,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,o.h)(G=>G),(0,ve.q)(1)).subscribe(()=>{this.initEditor()})}ngOnChanges(G){if(this.editor&&G.options&&!G.options.firstChange){const{language:Z,theme:ae,...ce}=G.options.currentValue,{language:Ie,theme:ke}=G.options.previousValue;Ie!==Z&&monaco.editor.setModelLanguage(this.editor.getModel(),this.options&&this.options.language?this.options.language:"text"),ke!==ae&&monaco.editor.setTheme(ae),this.editor.updateOptions(ce)}if(this.editor&&G.uri){const Z=G.uri.currentValue,ae=G.uri.previousValue;if(ae&&!Z||!ae&&Z||Z&&ae&&Z.path!==ae.path){const ce=this.editor.getValue();let Ie;this.modelUriInstance&&this.modelUriInstance.dispose(),Z&&(Ie=monaco.editor.getModels().find(ke=>ke.uri.path===Z.path)),this.modelUriInstance=Ie||monaco.editor.createModel(ce,this.options.language||"text",this.uri),this.editor.setModel(this.modelUriInstance)}}}writeValue(G){this.value=G,this.editor&&G?this.editor.setValue(G):this.editor&&this.editor.setValue("")}registerOnChange(G){this.propagateChange=G}registerOnTouched(G){this.onTouched=G}validate(){return this.parsedError?{monaco:{value:this.parsedError.split("|")}}:null}registerOnValidatorChange(G){this.onErrorStatusChange=G}initEditor(){const G={value:[this.value].join("\n"),language:"text",automaticLayout:!0,scrollBeyondLastLine:!1,theme:"vc"};this.editor=monaco.editor.create(this.editorContent.nativeElement,this.options?{...G,...this.options}:G),this.registerEditorListeners(),this.init.emit(this.editor)}registerEditorListeners(){this.editor.onDidChangeModelContent(()=>{this.propagateChange(this.editor.getValue())}),this.editor.onDidChangeModelDecorations(()=>{const G=this.modelMarkers.map(({message:ae})=>ae).join("|");this.parsedError!==G&&(this.parsedError=G,this.onErrorStatusChange())}),this.editor.onDidBlurEditorText(()=>{this.onTouched()})}ngOnDestroy(){this.editor&&this.editor.dispose()}}return le.\u0275fac=function(G){return new(G||le)(f.Y36(Q))},le.\u0275cmp=f.Xpm({type:le,selectors:[["ngx-monaco-editor"]],viewQuery:function(G,Z){if(1&G&&f.Gf(ne,7),2&G){let ae;f.iGM(ae=f.CRH())&&(Z.editorContent=ae.first)}},inputs:{options:"options",uri:"uri"},outputs:{init:"init"},features:[f._Bn([{provide:de.JU,useExisting:(0,f.Gpc)(()=>le),multi:!0},{provide:de.Cf,useExisting:(0,f.Gpc)(()=>le),multi:!0}]),f.TTD],decls:4,vars:0,consts:[["fxFlex","",1,"editor-container"],["container",""],[1,"monaco-editor"],["editor",""]],template:function(G,Z){1&G&&(f.TgZ(0,"div",0,1),f._UZ(2,"div",2,3),f.qZA())},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}),le})(),pe=(()=>{class le{}return le.\u0275fac=function(G){return new(G||le)},le.\u0275mod=f.oAB({type:le}),le.\u0275inj=f.cJS({imports:[[]]}),le})()},534:(Ke,De,y)=>{"use strict";y.d(De,{Mq:()=>tt,fX:()=>I,zE:()=>X});var f=y(1322),o=y(9462),ve=y(7371),be=y(9453),de=y(2067);const ne=["gutterEls"];function ue(E,k){1&E&&f.GkF(0)}const me=(E,k,O,$,te,_e)=>({areaBefore:E,areaAfter:k,gutterNum:O,first:$,last:te,isDragged:_e});function fe(E,k){if(1&E&&(f.ynx(0),f.YNc(1,ue,1,0,"ng-container",7),f.BQk()),2&E){const O=k.$implicit,$=f.oxw(3),te=$.$implicit,_e=$.index,Ve=$.first,He=f.oxw();f.xp6(1),f.Q6J("ngTemplateOutlet",He.customGutter.template)("ngTemplateOutletContext",f.HTZ(3,me,te,He.displayedAreas[_e+1],_e+1,Ve,_e===He.displayedAreas.length-2,He.draggedGutterNum===_e+1))("ngTemplateOutletInjector",O)}}function Q(E,k){if(1&E&&(f.ynx(0),f.YNc(1,fe,2,10,"ng-container",6),f.BQk()),2&E){const O=f.oxw(2).index;f.xp6(1),f.Q6J("asSplitGutterDynamicInjector",O+1)}}function Y(E,k){1&E&&f._UZ(0,"div",8)}function J(E,k){if(1&E){const O=f.EpF();f.TgZ(0,"div",2,3),f.NdJ("keydown",function(te){f.CHM(O);const _e=f.oxw().index,Ve=f.oxw();return f.KtG(Ve.startKeyboardDrag(te,2*_e+1,_e+1))})("mousedown",function(te){f.CHM(O);const _e=f.oxw().index,Ve=f.oxw();return f.KtG(Ve.startMouseDrag(te,2*_e+1,_e+1))})("touchstart",function(te){f.CHM(O);const _e=f.oxw().index,Ve=f.oxw();return f.KtG(Ve.startMouseDrag(te,2*_e+1,_e+1))})("mouseup",function(te){f.CHM(O);const _e=f.oxw().index,Ve=f.oxw();return f.KtG(Ve.clickGutter(te,_e+1))})("touchend",function(te){f.CHM(O);const _e=f.oxw().index,Ve=f.oxw();return f.KtG(Ve.clickGutter(te,_e+1))}),f.YNc(2,Q,2,1,"ng-container",4)(3,Y,1,0,"ng-template",null,5,f.W1O),f.qZA()}if(2&E){const O=f.MAs(4),$=f.oxw(),te=$.index,_e=$.$implicit,Ve=f.oxw();f.Udp("flex-basis",Ve.gutterSize,"px")("order",2*te+1),f.ekj("as-dragged",Ve.draggedGutterNum===te+1),f.uIk("aria-label",Ve.gutterAriaLabel)("aria-orientation",Ve.direction)("aria-valuemin",_e.minSize)("aria-valuemax",_e.maxSize)("aria-valuenow","*"===_e.size?null:_e.size)("aria-valuetext",Ve.getAriaAreaSizeText(_e.size)),f.xp6(2),f.Q6J("ngIf",null==Ve.customGutter?null:Ve.customGutter.template)("ngIfElse",O)}}function re(E,k){1&E&&f.YNc(0,J,5,14,"div",1),2&E&&f.Q6J("ngIf",!1===k.last)}const pe=["*"];function le(E){if(void 0!==E.changedTouches&&E.changedTouches.length>0)return{x:E.changedTouches[0].clientX,y:E.changedTouches[0].clientY};if(void 0!==E.clientX&&void 0!==E.clientY)return{x:E.clientX,y:E.clientY};if(void 0!==E.currentTarget){const k=E.currentTarget;return{x:k.offsetLeft,y:k.offsetTop}}return null}function Se(E,k,O){return Math.abs(E.x-k.x)<=O&&Math.abs(E.y-k.y)<=O}function Z(E,k){const O=E.nativeElement.getBoundingClientRect();return"horizontal"===k?O.width:O.height}function ae(E){return"boolean"==typeof E?E:"false"!==E}function ce(E,k){return null==E?k:(E=Number(E),!isNaN(E)&&E>=0?E:k)}function Ie(E,k){if("percent"===E){const O=k.reduce((te,_e)=>"*"!==_e?te+_e:te,0),$=k.filter(te=>"*"===te);return!($.length>1)&&(1===$.length||O>99.9)&&O<100.1}if("pixel"===E)return 1===k.filter(O=>"*"===O).length}function ke(E){return"*"===E.size?null:!0===E.component.lockSize?E.size:null===E.component.minSize?null:E.component.minSize>E.size?E.size:E.component.minSize}function Fe(E){return"*"===E.size?null:!0===E.component.lockSize?E.size:null===E.component.maxSize?null:E.component.maxSize<E.size?E.size:E.component.maxSize}function je(E,k,O,$){return k.reduce((te,_e)=>{const Ve=function Ne(E,k,O,$){return 0===O?{areaSnapshot:k,pixelAbsorb:0,percentAfterAbsorption:k.sizePercentAtStart,pixelRemain:0}:0===k.sizePixelAtStart&&O<0?{areaSnapshot:k,pixelAbsorb:0,percentAfterAbsorption:0,pixelRemain:O}:"percent"===E?function we(E,k,O){const te=(E.sizePixelAtStart+k)/O*100;if(k>0){if(null!==E.area.maxSize&&te>E.area.maxSize){const _e=E.area.maxSize/100*O;return{areaSnapshot:E,pixelAbsorb:_e,percentAfterAbsorption:E.area.maxSize,pixelRemain:E.sizePixelAtStart+k-_e}}return{areaSnapshot:E,pixelAbsorb:k,percentAfterAbsorption:te>100?100:te,pixelRemain:0}}if(k<0){if(null!==E.area.minSize&&te<E.area.minSize){const _e=E.area.minSize/100*O;return{areaSnapshot:E,pixelAbsorb:_e,percentAfterAbsorption:E.area.minSize,pixelRemain:E.sizePixelAtStart+k-_e}}return te<0?{areaSnapshot:E,pixelAbsorb:-E.sizePixelAtStart,percentAfterAbsorption:0,pixelRemain:k+E.sizePixelAtStart}:{areaSnapshot:E,pixelAbsorb:k,percentAfterAbsorption:te,pixelRemain:0}}}(k,O,$):"pixel"===E?function Me(E,k,O){const $=E.sizePixelAtStart+k;return k>0?null!==E.area.maxSize&&$>E.area.maxSize?{areaSnapshot:E,pixelAbsorb:E.area.maxSize-E.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:$-E.area.maxSize}:{areaSnapshot:E,pixelAbsorb:k,percentAfterAbsorption:-1,pixelRemain:0}:k<0?null!==E.area.minSize&&$<E.area.minSize?{areaSnapshot:E,pixelAbsorb:E.area.minSize+k-$,percentAfterAbsorption:-1,pixelRemain:$-E.area.minSize}:$<0?{areaSnapshot:E,pixelAbsorb:-E.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:k+E.sizePixelAtStart}:{areaSnapshot:E,pixelAbsorb:k,percentAfterAbsorption:-1,pixelRemain:0}:void 0}(k,O):void 0}(E,_e,te.remain,$);return te.list.push(Ve),te.remain=Ve.pixelRemain,te},{remain:O,list:[]})}function ze(E,k){"*"!==k.areaSnapshot.area.size&&("percent"===E?k.areaSnapshot.area.size=k.percentAfterAbsorption:"pixel"===E&&(k.areaSnapshot.area.size=k.areaSnapshot.sizePixelAtStart+k.pixelAbsorb))}const at=new f.OlP("angular-split-global-config");let wt=(()=>{class E{constructor(O){this.template=O,this.gutterToHandleElementMap=new Map,this.gutterToExcludeDragElementMap=new Map}canStartDragging(O,$){return(!this.gutterToExcludeDragElementMap.has($)||!this.gutterToExcludeDragElementMap.get($).some(_e=>_e.nativeElement.contains(O)))&&(!this.gutterToHandleElementMap.has($)||this.gutterToHandleElementMap.get($).some(te=>te.nativeElement.contains(O)))}addToMap(O,$,te){O.has($)?O.get($).push(te):O.set($,[te])}removedFromMap(O,$,te){const _e=O.get($);_e.splice(_e.indexOf(te),1),0===_e.length&&O.delete($)}static ngTemplateContextGuard(O,$){return!0}static#e=this.\u0275fac=function($){return new($||E)(f.Y36(f.Rgc))};static#t=this.\u0275dir=f.lG2({type:E,selectors:[["","asSplitGutter",""]]})}return E})();const Jt=new f.OlP("Gutter num");let nn=(()=>{class E{set gutterNum(O){this.vcr.clear();const $=f.zs3.create({providers:[{provide:Jt,useValue:O}],parent:this.vcr.injector});this.vcr.createEmbeddedView(this.templateRef,{$implicit:$})}constructor(O,$){this.vcr=O,this.templateRef=$}static ngTemplateContextGuard(O,$){return!0}static#e=this.\u0275fac=function($){return new($||E)(f.Y36(f.s_b),f.Y36(f.Rgc))};static#t=this.\u0275dir=f.lG2({type:E,selectors:[["","asSplitGutterDynamicInjector",""]],inputs:{gutterNum:["asSplitGutterDynamicInjector","gutterNum"]}})}return E})(),tt=(()=>{class E{set direction(O){this._direction="vertical"===O?"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(O){this._unit="pixel"===O?"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(O){this._gutterSize=ce(O,11),this.build(!1,!1)}get gutterSize(){return this._gutterSize}set gutterStep(O){this._gutterStep=ce(O,1)}get gutterStep(){return this._gutterStep}set restrictMove(O){this._restrictMove=ae(O)}get restrictMove(){return this._restrictMove}set useTransition(O){this._useTransition=ae(O),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(O){this._disabled=ae(O),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(O){this._dir="rtl"===O?"rtl":"ltr",this.renderer.setAttribute(this.elRef.nativeElement,"dir",this._dir)}get dir(){return this._dir}set gutterDblClickDuration(O){this._gutterDblClickDuration=ce(O,0)}get gutterDblClickDuration(){return this._gutterDblClickDuration}get transitionEnd(){return new ve.y(O=>this.transitionEndSubscriber=O).pipe((0,de.b)(20))}constructor(O,$,te,_e,Ve){this.ngZone=O,this.elRef=$,this.cdRef=te,this.renderer=_e,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 f.vpe(!1),this.dragEnd=new f.vpe(!1),this.gutterClick=new f.vpe(!1),this.gutterDblClick=new f.vpe(!1),this.dragProgressSubject=new be.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.draggedGutterNum=void 0,this.direction=this._direction,this._config=Ve?Object.assign(this._config,Ve):this._config,Object.keys(this._config).forEach(He=>{this[He]=this._config[He]})}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(O){const $={component:O,order:0,size:0,minSize:null,maxSize:null,sizeBeforeCollapse:null,gutterBeforeCollapse:0};!0===O.visible?(this.displayedAreas.push($),this.build(!0,!0)):this.hiddenAreas.push($)}removeArea(O){if(this.displayedAreas.some($=>$.component===O)){const $=this.displayedAreas.find(te=>te.component===O);this.displayedAreas.splice(this.displayedAreas.indexOf($),1),this.build(!0,!0)}else if(this.hiddenAreas.some($=>$.component===O)){const $=this.hiddenAreas.find(te=>te.component===O);this.hiddenAreas.splice(this.hiddenAreas.indexOf($),1)}}updateArea(O,$,te){!0===O.visible&&this.build($,te)}showArea(O){const $=this.hiddenAreas.find(_e=>_e.component===O);if(void 0===$)return;const te=this.hiddenAreas.splice(this.hiddenAreas.indexOf($),1);this.displayedAreas.push(...te),this.build(!0,!0)}hideArea(O){const $=this.displayedAreas.find(_e=>_e.component===O);if(void 0===$)return;const te=this.displayedAreas.splice(this.displayedAreas.indexOf($),1);te.forEach(_e=>{_e.order=0,_e.size=0}),this.hiddenAreas.push(...te),this.build(!0,!0)}getVisibleAreaSizes(){return this.displayedAreas.map(O=>O.size)}setVisibleAreaSizes(O){if(O.length!==this.displayedAreas.length)return!1;const $=O.map(_e=>ce(_e,"*"));return!1!==Ie(this.unit,$)&&(this.displayedAreas.forEach((_e,Ve)=>_e.component._size=$[Ve]),this.build(!1,!0),!0)}build(O,$){if(this.stopDragging(),!0===O&&(this.displayedAreas.every(te=>null!==te.component.order)&&this.displayedAreas.sort((te,_e)=>te.component.order-_e.component.order),this.displayedAreas.forEach((te,_e)=>{te.order=2*_e,te.component.setStyleOrder(te.order)})),!0===$){const te=Ie(this.unit,this.displayedAreas.map(_e=>_e.component.size));switch(this.unit){case"percent":{const _e=100/this.displayedAreas.length;this.displayedAreas.forEach(Ve=>{Ve.size=te?Ve.component.size:_e,Ve.minSize=ke(Ve),Ve.maxSize=Fe(Ve)});break}case"pixel":if(te)this.displayedAreas.forEach(_e=>{_e.size=_e.component.size,_e.minSize=ke(_e),_e.maxSize=Fe(_e)});else{const _e=this.displayedAreas.filter(Ve=>"*"===Ve.component.size);if(0===_e.length&&this.displayedAreas.length>0)this.displayedAreas.forEach((Ve,He)=>{Ve.size=0===He?"*":Ve.component.size,Ve.minSize=0===He?null:ke(Ve),Ve.maxSize=0===He?null:Fe(Ve)});else if(_e.length>1){let Ve=!1;this.displayedAreas.forEach(He=>{"*"===He.component.size?!1===Ve?(He.size="*",He.minSize=null,He.maxSize=null,Ve=!0):(He.size=100,He.minSize=null,He.maxSize=null):(He.size=He.component.size,He.minSize=ke(He),He.maxSize=Fe(He))})}}}}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 O=this.getNbGutters()*this.gutterSize;this.displayedAreas.forEach($=>{"*"===$.size?$.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):$.component.setStyleFlex(0,0,`calc( ${$.size}% - ${$.size/100*O}px )`,null!==$.minSize&&$.minSize===$.size,null!==$.maxSize&&$.maxSize===$.size)})}else"pixel"===this.unit&&this.displayedAreas.forEach(O=>{"*"===O.size?O.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):1===this.displayedAreas.length?O.component.setStyleFlex(0,0,"100%",!1,!1):O.component.setStyleFlex(0,0,`${O.size}px`,null!==O.minSize&&O.minSize===O.size,null!==O.maxSize&&O.maxSize===O.size)})}clickGutter(O,$){const te=le(O);this.startPoint&&Se(this.startPoint,te,this.gutterClickDeltaPx)&&(!this.isDragging||this.isWaitingInitialMove)&&(null!==this._clickTimeout?(window.clearTimeout(this._clickTimeout),this._clickTimeout=null,this.notify("dblclick",$),this.stopDragging()):this._clickTimeout=window.setTimeout(()=>{this._clickTimeout=null,this.notify("click",$),this.stopDragging()},this.gutterDblClickDuration))}startKeyboardDrag(O,$,te){if(!0===this.disabled||!0===this.isWaitingClear)return;const _e=function G(E,k){if("horizontal"===k)switch(E.key){case"ArrowLeft":case"ArrowRight":case"PageUp":case"PageDown":break;default:return null}if("vertical"===k)switch(E.key){case"ArrowUp":case"ArrowDown":case"PageUp":case"PageDown":break;default:return null}const O=E.currentTarget,$="PageUp"===E.key||"PageDown"===E.key?500:50;let te=O.offsetLeft,_e=O.offsetTop;switch(E.key){case"ArrowLeft":te-=$;break;case"ArrowRight":te+=$;break;case"ArrowUp":_e-=$;break;case"ArrowDown":_e+=$;break;case"PageUp":"vertical"===k?_e-=$:te+=$;break;case"PageDown":"vertical"===k?_e+=$:te-=$;break;default:return null}return{x:te,y:_e}}(O,this.direction);null!==_e&&(this.endPoint=_e,this.startPoint=le(O),O.preventDefault(),O.stopPropagation(),this.setupForDragEvent($,te),this.startDragging(),this.drag(),this.stopDragging())}startMouseDrag(O,$,te){this.customGutter&&!this.customGutter.canStartDragging(O.target,te)||(O.preventDefault(),O.stopPropagation(),this.startPoint=le(O),null!==this.startPoint&&!0!==this.disabled&&!0!==this.isWaitingClear&&(this.setupForDragEvent($,te),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(O,$){if(this.snapshot={gutterNum:$,lastSteppedOffset:0,allAreasSizePixel:Z(this.elRef,this.direction)-this.getNbGutters()*this.gutterSize,allInvolvedAreasSizePercent:100,areasBeforeGutter:[],areasAfterGutter:[]},this.displayedAreas.forEach(te=>{const _e={area:te,sizePixelAtStart:Z(te.component.elRef,this.direction),sizePercentAtStart:"percent"===this.unit?te.size:-1};te.order<O?!0===this.restrictMove?this.snapshot.areasBeforeGutter=[_e]:this.snapshot.areasBeforeGutter.unshift(_e):te.order>O&&(!0===this.restrictMove?0===this.snapshot.areasAfterGutter.length&&(this.snapshot.areasAfterGutter=[_e]):this.snapshot.areasAfterGutter.push(_e))}),this.restrictMove&&"percent"===this.unit){const te=this.snapshot.areasBeforeGutter[0],_e=this.snapshot.areasAfterGutter[0];if("*"===te.area.size||"*"===_e.area.size){const Ve=this.displayedAreas.reduce((He,xt)=>te.area!==xt&&_e.area!==xt?He+xt.size:He,0);this.snapshot.allInvolvedAreasSizePercent=100-Ve}else this.snapshot.allInvolvedAreasSizePercent=[...this.snapshot.areasBeforeGutter,...this.snapshot.areasAfterGutter].reduce((Ve,He)=>Ve+He.sizePercentAtStart,0)}}startDragging(){this.displayedAreas.forEach(O=>O.component.lockEvents()),this.isDragging=!0,this.isWaitingInitialMove=!0}mouseDragEvent(O){O.preventDefault(),O.stopPropagation();const $=le(O);null!==this._clickTimeout&&!Se(this.startPoint,$,this.gutterClickDeltaPx)&&(window.clearTimeout(this._clickTimeout),this._clickTimeout=null),!1!==this.isDragging&&(this.endPoint=le(O),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.draggedGutterNum=this.snapshot.gutterNum,this.cdRef.markForCheck(),this.notify("start",this.snapshot.gutterNum)})}let O="horizontal"===this.direction?this.startPoint.x-this.endPoint.x:this.startPoint.y-this.endPoint.y;"rtl"===this.dir&&"horizontal"===this.direction&&(O=-O);const $=Math.round(O/this.gutterStep)*this.gutterStep;if($===this.snapshot.lastSteppedOffset)return;this.snapshot.lastSteppedOffset=$;let te=je(this.unit,this.snapshot.areasBeforeGutter,-$,this.snapshot.allAreasSizePixel),_e=je(this.unit,this.snapshot.areasAfterGutter,$,this.snapshot.allAreasSizePixel);if(0!==te.remain&&0!==_e.remain?Math.abs(te.remain)===Math.abs(_e.remain)||(Math.abs(te.remain)>Math.abs(_e.remain)?_e=je(this.unit,this.snapshot.areasAfterGutter,$+te.remain,this.snapshot.allAreasSizePixel):te=je(this.unit,this.snapshot.areasBeforeGutter,-($-_e.remain),this.snapshot.allAreasSizePixel)):0!==te.remain?_e=je(this.unit,this.snapshot.areasAfterGutter,$+te.remain,this.snapshot.allAreasSizePixel):0!==_e.remain&&(te=je(this.unit,this.snapshot.areasBeforeGutter,-($-_e.remain),this.snapshot.allAreasSizePixel)),"percent"===this.unit){const Ve=[...te.list,..._e.list],xt=Ve.find(dt=>"*"==dt.percentAfterAbsorption)??Ve.find(dt=>0!==dt.percentAfterAbsorption&&dt.percentAfterAbsorption!==dt.areaSnapshot.area.minSize&&dt.percentAfterAbsorption!==dt.areaSnapshot.area.maxSize);xt&&(xt.percentAfterAbsorption=this.snapshot.allInvolvedAreasSizePercent-Ve.filter(dt=>dt!==xt).reduce((dt,Mt)=>dt+Mt.percentAfterAbsorption,0))}te.list.forEach(Ve=>ze(this.unit,Ve)),_e.list.forEach(Ve=>ze(this.unit,Ve)),this.refreshStyleSizes(),this.notify("progress",this.snapshot.gutterNum)}stopDragging(O){if(O&&(O.preventDefault(),O.stopPropagation()),!1!==this.isDragging){for(this.displayedAreas.forEach($=>$.component.unlockEvents());this.dragListeners.length>0;){const $=this.dragListeners.pop();$&&$()}this.isDragging=!1,!1===this.isWaitingInitialMove&&this.notify("end",this.snapshot.gutterNum),this.renderer.removeClass(this.elRef.nativeElement,"as-dragging"),this.draggedGutterNum=void 0,this.cdRef.markForCheck(),this.snapshot=null,this.isWaitingClear=!0,this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.startPoint=null,this.endPoint=null,this.isWaitingClear=!1})})}}notify(O,$){const te=this.getVisibleAreaSizes();"start"===O?this.dragStart.emit({gutterNum:$,sizes:te}):"end"===O?this.dragEnd.emit({gutterNum:$,sizes:te}):"click"===O?this.gutterClick.emit({gutterNum:$,sizes:te}):"dblclick"===O?this.gutterDblClick.emit({gutterNum:$,sizes:te}):"transitionEnd"===O?this.transitionEndSubscriber&&this.ngZone.run(()=>this.transitionEndSubscriber.next(te)):"progress"===O&&this.dragProgressSubject.next({gutterNum:$,sizes:te})}ngOnDestroy(){this.stopDragging()}collapseArea(O,$,te){const _e=this.displayedAreas.find(xt=>xt.component===O);if(void 0===_e)return;const Ve="right"===te?1:-1;_e.sizeBeforeCollapse||(_e.sizeBeforeCollapse=_e.size,_e.gutterBeforeCollapse=Ve),_e.size=$;const He=this.gutterEls.find(xt=>xt.nativeElement.style.order===`${_e.order+Ve}`);He&&this.renderer.addClass(He.nativeElement,"as-split-gutter-collapsed"),this.updateArea(O,!1,!1)}expandArea(O){const $=this.displayedAreas.find(_e=>_e.component===O);if(void 0===$||!$.sizeBeforeCollapse)return;$.size=$.sizeBeforeCollapse,$.sizeBeforeCollapse=null;const te=this.gutterEls.find(_e=>_e.nativeElement.style.order===`${$.order+$.gutterBeforeCollapse}`);te&&this.renderer.removeClass(te.nativeElement,"as-split-gutter-collapsed"),this.updateArea(O,!1,!1)}getAriaAreaSizeText(O){return"*"===O?null:O.toFixed(0)+" "+this.unit}static#e=this.\u0275fac=function($){return new($||E)(f.Y36(f.R0b),f.Y36(f.SBq),f.Y36(f.sBO),f.Y36(f.Qsj),f.Y36(at,8))};static#t=this.\u0275cmp=f.Xpm({type:E,selectors:[["as-split"]],contentQueries:function($,te,_e){if(1&$&&f.Suo(_e,wt,5),2&$){let Ve;f.iGM(Ve=f.CRH())&&(te.customGutter=Ve.first)}},viewQuery:function($,te){if(1&$&&f.Gf(ne,5),2&$){let _e;f.iGM(_e=f.CRH())&&(te.gutterEls=_e)}},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:pe,decls:2,vars:1,consts:[["ngFor","",3,"ngForOf"],["role","separator","tabindex","0","class","as-split-gutter",3,"as-dragged","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",""],[4,"ngIf","ngIfElse"],["defaultGutterTpl",""],[4,"asSplitGutterDynamicInjector"],[4,"ngTemplateOutlet","ngTemplateOutletContext","ngTemplateOutletInjector"],[1,"as-split-gutter-icon"]],template:function($,te){1&$&&(f.F$t(),f.Hsn(0),f.YNc(1,re,1,1,"ng-template",0)),2&$&&(f.xp6(1),f.Q6J("ngForOf",te.displayedAreas))},dependencies:[o.sg,o.O5,o.tP,nn],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 E})(),X=(()=>{class E{set order(O){this._order=ce(O,null),this.split.updateArea(this,!0,!1)}get order(){return this._order}set size(O){this._size=ce(O,"*"),this.split.updateArea(this,!1,!0)}get size(){return this._size}set minSize(O){this._minSize=ce(O,null),this.split.updateArea(this,!1,!0)}get minSize(){return this._minSize}set maxSize(O){this._maxSize=ce(O,null),this.split.updateArea(this,!1,!0)}get maxSize(){return this._maxSize}set lockSize(O){this._lockSize=ae(O),this.split.updateArea(this,!1,!0)}get lockSize(){return this._lockSize}set visible(O){this._visible=ae(O),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(O,$,te,_e){this.ngZone=O,this.elRef=$,this.renderer=te,this.split=_e,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",$=>{"flex-basis"===$.propertyName&&this.split.notify("transitionEnd",-1)})});const O=this.renderer.createElement("div");this.renderer.addClass(O,"iframe-fix"),this.dragStartSubscription=this.split.dragStart.subscribe(()=>{this.renderer.setStyle(this.elRef.nativeElement,"position","relative"),this.renderer.appendChild(this.elRef.nativeElement,O)}),this.dragEndSubscription=this.split.dragEnd.subscribe(()=>{this.renderer.removeStyle(this.elRef.nativeElement,"position"),this.renderer.removeChild(this.elRef.nativeElement,O)})}setStyleOrder(O){this.renderer.setStyle(this.elRef.nativeElement,"order",O)}setStyleFlex(O,$,te,_e,Ve){this.renderer.setStyle(this.elRef.nativeElement,"flex-grow",O),this.renderer.setStyle(this.elRef.nativeElement,"flex-shrink",$),this.renderer.setStyle(this.elRef.nativeElement,"flex-basis",te),!0===_e?this.renderer.addClass(this.elRef.nativeElement,"as-min"):this.renderer.removeClass(this.elRef.nativeElement,"as-min"),!0===Ve?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 O=this.lockListeners.pop();O&&O()}}ngOnDestroy(){this.unlockEvents(),this.transitionListener&&this.transitionListener(),this.dragStartSubscription?.unsubscribe(),this.dragEndSubscription?.unsubscribe(),this.split.removeArea(this)}collapse(O=0,$="right"){this.split.collapseArea(this,O,$)}expand(){this.split.expandArea(this)}static#e=this.\u0275fac=function($){return new($||E)(f.Y36(f.R0b),f.Y36(f.SBq),f.Y36(f.Qsj),f.Y36(tt))};static#t=this.\u0275dir=f.lG2({type:E,selectors:[["as-split-area"],["","as-split-area",""]],inputs:{order:"order",size:"size",minSize:"minSize",maxSize:"maxSize",lockSize:"lockSize",visible:"visible"},exportAs:["asSplitArea"]})}return E})(),I=(()=>{class E{static#e=this.\u0275fac=function($){return new($||E)};static#t=this.\u0275mod=f.oAB({type:E});static#n=this.\u0275inj=f.cJS({imports:[o.ez]})}return E})()},6086:(Ke,De,y)=>{"use strict";y.d(De,{Y:()=>fe,s:()=>Q});var f=y(1322),o=y(9462);function ve(Y,J){1&Y&&f._UZ(0,"div",9)}function be(Y,J){if(1&Y&&(f.TgZ(0,"span",10),f._uU(1),f.qZA()),2&Y){const re=f.oxw().$implicit;f.xp6(1),f.Oqu(re.description)}}function de(Y,J){if(1&Y&&(f.TgZ(0,"section",11),f._UZ(1,"ngx-json-viewer",12),f.qZA()),2&Y){const re=f.oxw().$implicit,pe=f.oxw();f.xp6(1),f.Q6J("json",re.value)("expanded",pe.expanded)("depth",pe.depth)("_currentDepth",pe._currentDepth+1)}}const ne=Y=>["segment",Y],ue=(Y,J)=>({"segment-main":!0,expandable:Y,expanded:J});function me(Y,J){if(1&Y){const re=f.EpF();f.TgZ(0,"section",2)(1,"section",3),f.NdJ("click",function(){const Se=f.CHM(re).$implicit,G=f.oxw();return f.KtG(G.toggle(Se))}),f.YNc(2,ve,1,0,"div",4),f.TgZ(3,"span",5),f._uU(4),f.qZA(),f.TgZ(5,"span",6),f._uU(6,": "),f.qZA(),f.YNc(7,be,2,1,"span",7),f.qZA(),f.YNc(8,de,2,4,"section",8),f.qZA()}if(2&Y){const re=J.$implicit,pe=f.oxw();f.Q6J("ngClass",f.VKq(6,ne,"segment-type-"+re.type)),f.xp6(1),f.Q6J("ngClass",f.WLB(8,ue,pe.isExpandable(re),re.expanded)),f.xp6(1),f.Q6J("ngIf",pe.isExpandable(re)),f.xp6(2),f.Oqu(re.key),f.xp6(3),f.Q6J("ngIf",!re.expanded||!pe.isExpandable(re)),f.xp6(1),f.Q6J("ngIf",re.expanded&&pe.isExpandable(re))}}let fe=(()=>{class Y{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(re=>{this.segments.push(this.parseKeyValue(re,this.json[re]))}):this.segments.push(this.parseKeyValue(`(${typeof this.json})`,this.json))}isExpandable(re){return"object"===re.type||"array"===re.type}toggle(re){this.isExpandable(re)&&(re.expanded=!re.expanded)}parseKeyValue(re,pe){const le={key:re,value:pe,type:void 0,description:""+pe,expanded:this.isExpanded()};switch(typeof le.value){case"number":le.type="number";break;case"boolean":le.type="boolean";break;case"function":le.type="function";break;case"string":le.type="string",le.description='"'+le.value+'"';break;case"undefined":le.type="undefined",le.description="undefined";break;case"object":null===le.value?(le.type="null",le.description="null"):Array.isArray(le.value)?(le.type="array",le.description="Array["+le.value.length+"] "+JSON.stringify(le.value)):le.value instanceof Date?le.type="date":(le.type="object",le.description="Object "+JSON.stringify(le.value))}return le}isExpanded(){return this.expanded&&!(this.depth>-1&&this._currentDepth>=this.depth)}decycle(re){const pe=new WeakMap;return function le(Se,G){let Z,ae;return"object"!=typeof Se||null===Se||Se instanceof Boolean||Se instanceof Date||Se instanceof Number||Se instanceof RegExp||Se instanceof String?Se:(Z=pe.get(Se),void 0!==Z?{$ref:Z}:(pe.set(Se,G),Array.isArray(Se)?(ae=[],Se.forEach(function(ce,Ie){ae[Ie]=le(ce,G+"["+Ie+"]")})):(ae={},Object.keys(Se).forEach(function(ce){ae[ce]=le(Se[ce],G+"["+JSON.stringify(ce)+"]")})),ae))}(re,"$")}}return Y.\u0275fac=function(re){return new(re||Y)},Y.\u0275cmp=f.Xpm({type:Y,selectors:[["ngx-json-viewer"]],inputs:{json:"json",expanded:"expanded",depth:"depth",_currentDepth:"_currentDepth"},features:[f.TTD],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(re,pe){1&re&&(f.TgZ(0,"section",0),f.YNc(1,me,9,11,"section",1),f.qZA()),2&re&&(f.xp6(1),f.Q6J("ngForOf",pe.segments))},dependencies:[o.mk,o.sg,o.O5,Y],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}']}),Y})(),Q=(()=>{class Y{}return Y.\u0275fac=function(re){return new(re||Y)},Y.\u0275mod=f.oAB({type:Y}),Y.\u0275inj=f.cJS({imports:[o.ez]}),Y})()},5861:(Ke,De,y)=>{"use strict";function f(ve,be,de,ne,ue,me,fe){try{var Q=ve[me](fe),Y=Q.value}catch(J){return void de(J)}Q.done?be(Y):Promise.resolve(Y).then(ne,ue)}function o(ve){return function(){var be=this,de=arguments;return new Promise(function(ne,ue){var me=ve.apply(be,de);function fe(Y){f(me,ne,ue,fe,Q,"next",Y)}function Q(Y){f(me,ne,ue,fe,Q,"throw",Y)}fe(void 0)})}}y.d(De,{Z:()=>o})}},Ke=>{Ke(Ke.s=9670)}]);
|