From 339eeb7967bec83ed0e60ebe7f6462d046cd1477 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Tue, 9 Apr 2024 16:01:26 +0200 Subject: [PATCH] Making more homogeneous the new window on brower-based transports --- server/src/uds/core/consts/__init__.py | 2 +- server/src/uds/core/consts/transports.py | 36 +++++++++++++++ server/src/uds/core/transports/transport.py | 37 ++++++++++++--- server/src/uds/models/managed_object_model.py | 1 + server/src/uds/models/provider.py | 2 - server/src/uds/static/modern/main.js | 2 +- .../src/uds/transports/HTML5RDP/html5rdp.py | 6 +-- .../src/uds/transports/HTML5SSH/html5ssh.py | 16 +++---- .../src/uds/transports/HTML5VNC/html5vnc.py | 12 +++-- server/src/uds/transports/Test/transport.py | 22 ++++----- server/src/uds/transports/URL/url_custom.py | 46 ++++++++++--------- 11 files changed, 120 insertions(+), 62 deletions(-) create mode 100644 server/src/uds/core/consts/transports.py diff --git a/server/src/uds/core/consts/__init__.py b/server/src/uds/core/consts/__init__.py index b7bbafef0..af41f6cb6 100644 --- a/server/src/uds/core/consts/__init__.py +++ b/server/src/uds/core/consts/__init__.py @@ -35,7 +35,7 @@ import time import typing from datetime import datetime -from . import actor, auth, cache, calendar, images, net, os, system, ticket, rest, services +from . import actor, auth, cache, calendar, images, net, os, system, ticket, rest, services, transports # Date related constants NEVER: typing.Final[datetime] = datetime(1972, 7, 1) diff --git a/server/src/uds/core/consts/transports.py b/server/src/uds/core/consts/transports.py new file mode 100644 index 000000000..654114d2f --- /dev/null +++ b/server/src/uds/core/consts/transports.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- + +# +# Copyright (c) 2012-2023 Virtual Cable S.L.U. +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: +# +# * Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# * Neither the name of Virtual Cable S.L.U. nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +""" +Author: Adolfo Gómez, dkmaster at dkmon dot com +""" +import typing + +ON_NEW_WINDOW_VAR: typing.Final[str] = 'o_n_w' +ON_SAME_WINDOW_VAR: typing.Final[str] = 'o_s_w' diff --git a/server/src/uds/core/transports/transport.py b/server/src/uds/core/transports/transport.py index 8f62c9964..94b331231 100644 --- a/server/src/uds/core/transports/transport.py +++ b/server/src/uds/core/transports/transport.py @@ -30,23 +30,23 @@ """ @author: Adolfo Gómez, dkmaster at dkmon dot com """ -import sys import codecs -import logging -import typing import collections.abc +import logging +import sys +import typing from django.utils.translation import gettext_noop as _ -from uds.core import types, consts +from uds import models +from uds.core import consts, types from uds.core.module import Module from uds.core.util import net # Not imported at runtime, just for type checking if typing.TYPE_CHECKING: - from uds.core.types.requests import ExtendedHttpRequestWithUser from uds.core.environment import Environment - from uds import models + from uds.core.types.requests import ExtendedHttpRequestWithUser logger = logging.getLogger(__name__) @@ -310,3 +310,28 @@ class Transport(Module): If transport provides own link, this method provides the link itself """ return 'https://www.udsenterprise.com' + + def update_link_window( + self, + link: str, + *, + on_same_window: bool = False, + on_new_window: bool = False, + uuid: typing.Optional[str] = None, + default_uuid: typing.Optional[str] = None, + ) -> str: + uuid = uuid or self.get_uuid() + default_uuid = default_uuid or self.get_uuid() + + amp = '&' if '?' in link else '?' + + if not on_new_window and not on_same_window: + return f'{link}{amp}{consts.transports.ON_SAME_WINDOW_VAR}={default_uuid}' + + if on_same_window: + return f'{link}{amp}{consts.transports.ON_SAME_WINDOW_VAR}=yes' + + # Must be on new window + return f'{link}{amp}{consts.transports.ON_NEW_WINDOW_VAR}={uuid}' + + return link diff --git a/server/src/uds/models/managed_object_model.py b/server/src/uds/models/managed_object_model.py index d0534d295..c0c4a4fcc 100644 --- a/server/src/uds/models/managed_object_model.py +++ b/server/src/uds/models/managed_object_model.py @@ -112,6 +112,7 @@ class ManagedObjectModel(UUIDModel): env = self.get_environment() obj = klass(env, values) + obj.set_uuid(self.uuid) # Set the uuid of the object to the one stored in the database self.deserialize(obj, values) self._cached_instance = obj diff --git a/server/src/uds/models/provider.py b/server/src/uds/models/provider.py index 5bbcacdb6..8defa1148 100644 --- a/server/src/uds/models/provider.py +++ b/server/src/uds/models/provider.py @@ -87,8 +87,6 @@ class Provider(ManagedObjectModel, TaggingMixin): prov: 'ServiceProvider' = typing.cast( 'ServiceProvider', super().get_instance(values=values) ) - # Set uuid - prov.set_uuid(self.uuid) return prov def is_in_maintenance(self) -> bool: diff --git a/server/src/uds/static/modern/main.js b/server/src/uds/static/modern/main.js index a096fa62c..c03dee49e 100644 --- a/server/src/uds/static/modern/main.js +++ b/server/src/uds/static/modern/main.js @@ -1 +1 @@ -"use strict";(self.webpackChunkuds=self.webpackChunkuds||[]).push([[590],{9616:(Qe,fe,y)=>{y.d(fe,{Y:()=>D});var a=y(1528),s=y(5184);let D=(()=>{class ce{constructor(ae){this.api=ae,this.delay=ae.config.launcher_wait_time}launchURL(ae){var ve=this;return(0,a.c)(function*(){"udsa://"===ae.substring(0,7)?yield ve.processUDSUrl(ae):yield ve.processExternalUrl(ae)})()}showAlert(ae,ve,te){var Ce=this;return(0,a.c)(function*(){return Ce.api.gui.alert(django.gettext("Launching service"),'

'+ae+'

'+ve+"

",te)})()}launchUDSUrl(ae){this.api.download(ae)}processUDSUrl(ae){var ve=this;return(0,a.c)(function*(){const te=ae.split("//")[1].split("/");if(2!==te.length)return void(yield ve.notifyError(django.gettext("Invalid UDS URL")));const Ce=te[0],Me=te[1],Pe=yield ve.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Remember that you will need the UDS client on your platform to access the service."),0);let et=!1;(0,s.qe)(Pe.afterClosed()).then(()=>et=!0);let ke=-1;try{const Be=yield ve.api.enabler(Ce,Me);if(Be.error)throw Be.error;if(Be.url.startsWith("/"))return Pe.close(),void(yield ve.launchURL(Be.url));for("https:"===window.location.protocol&&(Be.url=Be.url.replace("uds://","udss://")),ve.launchUDSUrl(Be.url);!et;){const Re=yield ve.api.status(Ce,Me);if(ke>0&&Date.now()-ke>5*ve.delay&&(Pe.componentInstance.data.title=django.gettext("Service ready")+" - "+django.gettext("UDS Client not launching"),Pe.componentInstance.data.body=''+django.gettext("It seems that you don't have UDS Client installed. Please, install it from here:")+' '+django.gettext("UDS Client Download")+""),"ready"===Re.status)-1===ke&&(ke=Date.now(),Pe.componentInstance.data.title=django.gettext("Service ready"),Pe.componentInstance.data.body=django.gettext("Launching UDS Client, almost done."));else{if("accessed"===Re.status){Pe.close(),et=!0;continue}if("running"!==Re.status){Pe.close(),yield ve.notifyError(Re.status),et=!0;continue}}yield ve.api.sleep(1e3)}}catch(Be){Pe.close(),yield ve.notifyError(Be)}})()}processExternalUrl(ae){var ve=this;return(0,a.c)(function*(){const te=yield ve.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Remember that you will need the UDS client on your platform to access the service."),0);let Ce=!1;(0,s.qe)(te.afterClosed()).then(()=>Ce=!0);try{for(;!Ce;){const Me=yield ve.api.transportUrl(ae);if(Me.url){te.close();const Pe=yield ve.processCredentials(Me);null!==Pe&&(yield ve.api.updateTransportTicket(Pe.ticket,Pe.scrambler,Pe.username,Pe.password,Pe.domain)),ve.openWindow(Me.url),Ce=!0}else Me.running||(te.close(),yield ve.notifyError(),Ce=!0)}yield ve.api.sleep(1e3)}catch(Me){te.close(),yield ve.notifyError(Me)}})()}processCredentials(ae){var ve=this;return(0,a.c)(function*(){const te=ae.url||"";if(-1!==te.indexOf("&creds=")){const Ce=te.split("&creds=")[1];let Me="",Pe="";ae.url=te.split("&creds=")[0];const et=te.split("data=")[1].split("&")[0].split("."),ke=et[0],Be=et[1];-1!==Ce.indexOf("@")?(Me=Ce.split("@")[0],Pe=Ce.split("@")[1]):Me=Ce;const Re=yield ve.api.gui.askCredentials(Me,Pe);if(!1===Re.success)throw new Error("User canceled credentials dialog");return{ticket:ke,scrambler:Be,username:Re.username,password:Re.password,domain:Re.domain}}return null})()}openWindow(ae){let ve="__global__";if(-1!==ae.indexOf("o_s_w="))ve="__same__",ae=/(.*)&o_s_w=.*/.exec(ae)[1];else if(-1!==ae.indexOf("o_n_w=")){const te=/(.*)&o_n_w=([a-zA-Z0-9._-]*)/.exec(ae);te&&(ve=te[2],ae=te[1])}if("__same__"===ve)window.location.href=ae;else{ce.transportsWindow[ve]&&ce.transportsWindow[ve].close();const te=window.open(ae,"uds_trans_"+ve);te&&(ce.transportsWindow[ve]=te)}}notifyError(ae){var ve=this;return(0,a.c)(function*(){let te=django.gettext("Error communicating with your service. Please, retry again.");"string"==typeof ae?te=ae:ae instanceof Error?te=ae.message:403===ae.status&&(te=django.gettext("Your session has expired. Please, login again")),yield ve.showAlert(django.gettext("Error"),te,5e3),403===ae.status&&ve.api.logout()})()}}return ce.transportsWindow={},ce})()},9552:(Qe,fe,y)=>{y.d(fe,{K:()=>D});var a=y(4496),s=y(4476);let D=(()=>{var J;class ce{constructor(ae){this.sanitizer=ae}transform(ae,ve){return ae=(ae=(ae=ae.replace(/<\s*script\s*/gi,"")).replace(/onclick|onmouseover|onmouseout|onmousemove|onmouseenter|onmouseleave|onmouseup|onmousedown|onkeyup|onkeydown|onkeypress|onkeydown|onkeypress|onkeyup|onchange|onfocus|onblur|onload|onunload|onabort|onerror|onresize|onscroll/gi,"")).replace(/javascript\s*\:/gi,""),this.sanitizer.bypassSecurityTrustHtml(ae)}}return(J=ce).\u0275fac=function(ae){return new(ae||J)(a.GI1(s.mI,16))},J.\u0275pipe=a.UTH({name:"safeHtml",type:J,pure:!0}),ce})()},5184:(Qe,fe,y)=>{y.d(fe,{qe:()=>Oe});var a=y(112),s=y(1252),D=y(5448),J=y(560),ce=y(4912),z=y(7773),ae=y(9399);const ve=(0,ce.w)(G=>function(re=null){G(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=re});function Ce(G){throw new ve(G)}var ke,Me=y(7696),Pe=y(1760);function et(G,ye){const re="object"==typeof ye;return new Promise((ie,me)=>{const Xe=new Pe.ot({next:pt=>{ie(pt),Xe.unsubscribe()},error:me,complete:()=>{re?ie(ye.defaultValue):me(new Me.G)}});G.subscribe(Xe)})}const Oe=(G,ye)=>{let re;if(G instanceof Promise)re=G;else if(G instanceof X)re=G;else{if(ye)return et(G.pipe(function te(G,ye){const{first:re,each:ie,with:me=Ce,scheduler:Xe=(null!=ye?ye:a.M),meta:pt=null}=(0,s.e)(G)?{first:G}:"number"==typeof G?{each:G}:G;if(null==re&&null==ie)throw new TypeError("No timeout provided.");return(0,D.i)((Pt,Tt)=>{let on,vt,qe=null,De=0;const _e=Se=>{vt=(0,ae._)(Tt,Xe,()=>{try{on.unsubscribe(),(0,J.Uv)(me({meta:pt,lastValue:qe,seen:De})).subscribe(Tt)}catch(Ke){Tt.error(Ke)}},Se)};on=Pt.subscribe((0,z.e)(Tt,Se=>{null==vt||vt.unsubscribe(),De++,Tt.next(qe=Se),ie>0&&_e(ie)},void 0,void 0,()=>{null!=vt&&vt.closed||null==vt||vt.unsubscribe(),qe=null})),!De&&_e(null!=re?"number"==typeof re?re:+re-Xe.now():ie)})}(ye)));re=et(G)}return re};class X{constructor(){this[ke]="Future",this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((ye,re)=>{this.resolve=ye,this.reject=re})}then(ye,re){return this.promise.then(ye,re)}catch(ye){return this.promise.catch(ye)}finally(ye){return this.promise.finally(ye)}}ke=Symbol.toStringTag},7196:(Qe,fe,y)=>{y.d(fe,{e:()=>s});var a=y(4496);let s=(()=>{var D;class J{constructor(z){this.el=z}ngOnInit(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim())}}return(D=J).\u0275fac=function(z){return new(z||D)(a.GI1(a.GMv))},D.\u0275dir=a.Sc5({type:D,selectors:[["uds-translate"]]}),J})()},1064:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{E:()=>LoginComponent});var _angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(4496),_services_uds_api_service__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(4692),_angular_common__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1368),_angular_forms__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(4716),_angular_material_button__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(7816),_angular_material_form_field__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(6516),_angular_material_input__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(7536),_angular_material_select__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(2096),_angular_material_core__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(3576),_helpers_translate_directive__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(7196),_helpers_safe_html_pipe__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(9552);function LoginComponent_div_22_mat_option_6_Template(Qe,fe){if(1&Qe&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.I0R(0,"mat-option",19),_angular_core__WEBPACK_IMPORTED_MODULE_1__.OEk(1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.C$Y()),2&Qe){const y=fe.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_1__.E7m("value",y.id),_angular_core__WEBPACK_IMPORTED_MODULE_1__.yG2(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.oRS(" ",y.name," ")}}function LoginComponent_div_22_Template(Qe,fe){if(1&Qe){const y=_angular_core__WEBPACK_IMPORTED_MODULE_1__.KQA();_angular_core__WEBPACK_IMPORTED_MODULE_1__.I0R(0,"div",9)(1,"mat-form-field",16)(2,"mat-label")(3,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.OEk(4,"Authenticator"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.C$Y()(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.I0R(5,"mat-select",17),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qCj("selectionChange",function(s){_angular_core__WEBPACK_IMPORTED_MODULE_1__.usT(y);const D=_angular_core__WEBPACK_IMPORTED_MODULE_1__.GaO();return _angular_core__WEBPACK_IMPORTED_MODULE_1__.CGJ(D.changeAuth(s.value))}),_angular_core__WEBPACK_IMPORTED_MODULE_1__.yuY(6,LoginComponent_div_22_mat_option_6_Template,2,2,"mat-option",18),_angular_core__WEBPACK_IMPORTED_MODULE_1__.C$Y()()()}if(2&Qe){const y=_angular_core__WEBPACK_IMPORTED_MODULE_1__.GaO();_angular_core__WEBPACK_IMPORTED_MODULE_1__.yG2(5),_angular_core__WEBPACK_IMPORTED_MODULE_1__.E7m("value",y.auths[0].id),_angular_core__WEBPACK_IMPORTED_MODULE_1__.yG2(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.E7m("ngForOf",y.auths)}}let LoginComponent=(()=>{var _class;class LoginComponent{constructor(Qe){this.api=Qe,this.auth={},this.title="UDS Enterprise",this.title=Qe.config.site_name,this.auths=Qe.config.authenticators.slice(0),this.auths.sort((fe,y)=>fe.priority-y.priority)}ngOnInit(){document.getElementById("loginform").action=this.api.config.urls.login;const fe=document.getElementById("token");fe.name=this.api.csrfField;const y=document.cookie.split(";").find(a=>a.trim().startsWith("csrftoken="))||"=";fe.value=y.split("=")[1],this.auth=document.getElementById("authenticator"),this.auths.length>0&&(this.auth.value=this.auths[0].id,this.changeAuth(this.auth.value)),this.api.errors.length>0&&this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")}changeAuth(auth){this.auth.value=auth;const doCustomAuth=data=>{eval(data)};for(const Qe of this.auths)Qe.id===auth&&Qe.is_custom&&(document.getElementsByClassName("login-form")[0].setAttribute("style","display: none;"),this.api.getAuthCustomJavascript(Qe.id).then(fe=>doCustomAuth(fe)))}launch(){return document.getElementById("loginform").submit(),!0}}return _class=LoginComponent,_class.\u0275fac=function Qe(fe){return new(fe||_class)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.GI1(_services_uds_api_service__WEBPACK_IMPORTED_MODULE_0__.G))},_class.\u0275cmp=_angular_core__WEBPACK_IMPORTED_MODULE_1__.In1({type:_class,selectors:[["uds-login"]],decls:29,vars:6,consts:[["id","loginform","method","post",3,"ngSubmit"],["name","","id","token","value","","type","hidden"],["name","logouturl","id","id_logouturl","value","","type","hidden"],["name","authenticator","id","authenticator","value","","type","hidden"],[1,"login-container"],[1,"login-brand"],[3,"src"],[1,"login-info"],[1,"login-form"],[1,"login-field"],["matInput","","id","id_user","name","user","value","","required","","autofocus",""],["matInput","","id","id_password","type","password","name","password","data-eye","",1,"form-control"],["class","login-field",4,"ngIf"],[1,"login-button"],["mat-stroked-button","","color","primary","type","submit"],[1,"site-info",3,"innerHTML"],["appaerance","standard"],[3,"value","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function Qe(fe,y){1&fe&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.I0R(0,"form",0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qCj("ngSubmit",function(){return y.launch()}),_angular_core__WEBPACK_IMPORTED_MODULE_1__.wR5(1,"input",1)(2,"input",2)(3,"input",3),_angular_core__WEBPACK_IMPORTED_MODULE_1__.I0R(4,"div",4)(5,"div",5),_angular_core__WEBPACK_IMPORTED_MODULE_1__.wR5(6,"img",6),_angular_core__WEBPACK_IMPORTED_MODULE_1__.C$Y(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.I0R(7,"div",7),_angular_core__WEBPACK_IMPORTED_MODULE_1__.OEk(8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.C$Y(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.I0R(9,"div",8)(10,"div",9)(11,"mat-form-field")(12,"mat-label")(13,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.OEk(14,"Username"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.C$Y()(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.wR5(15,"input",10),_angular_core__WEBPACK_IMPORTED_MODULE_1__.C$Y()(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.I0R(16,"div",9)(17,"mat-form-field")(18,"mat-label")(19,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.OEk(20,"Password"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.C$Y()(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.wR5(21,"input",11),_angular_core__WEBPACK_IMPORTED_MODULE_1__.C$Y()(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.yuY(22,LoginComponent_div_22_Template,7,2,"div",12),_angular_core__WEBPACK_IMPORTED_MODULE_1__.I0R(23,"div",13)(24,"button",14)(25,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.OEk(26,"Login"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.C$Y()()()(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.wR5(27,"div",15),_angular_core__WEBPACK_IMPORTED_MODULE_1__.wVc(28,"safeHtml"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.C$Y()()),2&fe&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.yG2(6),_angular_core__WEBPACK_IMPORTED_MODULE_1__.E7m("src",y.api.staticURL("modern/img/login-img.png"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.K6U),_angular_core__WEBPACK_IMPORTED_MODULE_1__.yG2(2),_angular_core__WEBPACK_IMPORTED_MODULE_1__.oRS(" ",y.title," "),_angular_core__WEBPACK_IMPORTED_MODULE_1__.yG2(14),_angular_core__WEBPACK_IMPORTED_MODULE_1__.E7m("ngIf",y.auths.length>1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.yG2(5),_angular_core__WEBPACK_IMPORTED_MODULE_1__.E7m("innerHTML",_angular_core__WEBPACK_IMPORTED_MODULE_1__.kDX(28,4,y.api.config.site_information),_angular_core__WEBPACK_IMPORTED_MODULE_1__.E3n))},dependencies:[_angular_common__WEBPACK_IMPORTED_MODULE_2__.ay,_angular_common__WEBPACK_IMPORTED_MODULE_2__.u_,_angular_forms__WEBPACK_IMPORTED_MODULE_3__.sz,_angular_forms__WEBPACK_IMPORTED_MODULE_3__.u,_angular_forms__WEBPACK_IMPORTED_MODULE_3__.SC,_angular_material_button__WEBPACK_IMPORTED_MODULE_4__.Gw,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_5__.Up,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_5__.w5,_angular_material_input__WEBPACK_IMPORTED_MODULE_6__.yi,_angular_material_select__WEBPACK_IMPORTED_MODULE_7__.kX,_angular_material_core__WEBPACK_IMPORTED_MODULE_8__.I5,_helpers_translate_directive__WEBPACK_IMPORTED_MODULE_9__.e,_helpers_safe_html_pipe__WEBPACK_IMPORTED_MODULE_10__.K],styles:[".login-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.login-brand[_ngcontent-%COMP%]{margin:1rem 0 0}.login-info[_ngcontent-%COMP%]{margin:1rem 0}.login-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;box-shadow:0 2px 2px #00000024,0 3px 1px -2px #0000001f,0 1px 5px #0003;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.login-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.login-button[_ngcontent-%COMP%]{margin:2rem}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width: 744px){.login-form[_ngcontent-%COMP%]{min-width:80%}}"]}),LoginComponent})()},4692:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{G:()=>UDSApiService});var _home_dkmaster_projects_uds_4_0_gui_user_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(1528),_types_config__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(9916),_helpers_tools__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(5184),_helpers_plugin__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(9616),_environments_environment__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6716),_angular_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(4496),_angular_common_http__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(7048),_uds_gui_service__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(500),_angular_router__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(1056);const DARK_THEME="dark-theme",LIGHT_THEME="light-theme",TIMEOUT=1e4;let UDSApiService=(()=>{var _class;class UDSApiService{constructor(Qe,fe,y){this.http=Qe,this.gui=fe,this.router=y,this.transportsWindow=null,this.user=new _types_config__WEBPACK_IMPORTED_MODULE_4__.i(udsData.profile),this.plugin=new _helpers_plugin__WEBPACK_IMPORTED_MODULE_1__.Y(this)}get config(){return udsData.config}get csrfField(){return csrf.csrfField}get csrfToken(){return csrf.csrfToken}get staffInfo(){return udsData.info}get plugins(){return udsData.plugins}get actors(){return udsData.actors}get errors(){return udsData.errors}enabler(Qe,fe){var y=this;return(0,_home_dkmaster_projects_uds_4_0_gui_user_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__.c)(function*(){const a=y.config.urls.enabler.replace("param1",Qe).replace("param2",fe);return(0,_helpers_tools__WEBPACK_IMPORTED_MODULE_0__.qe)(y.http.get(a))})()}status(Qe,fe){var y=this;return(0,_home_dkmaster_projects_uds_4_0_gui_user_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__.c)(function*(){const a=y.config.urls.status.replace("param1",Qe).replace("param2",fe);return(0,_helpers_tools__WEBPACK_IMPORTED_MODULE_0__.qe)(y.http.get(a))})()}action(Qe,fe){var y=this;return(0,_home_dkmaster_projects_uds_4_0_gui_user_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__.c)(function*(){const a=y.config.urls.action.replace("param1",fe).replace("param2",Qe);return(0,_helpers_tools__WEBPACK_IMPORTED_MODULE_0__.qe)(y.http.get(a))})()}transportUrl(Qe){var fe=this;return(0,_home_dkmaster_projects_uds_4_0_gui_user_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__.c)(function*(){return(0,_helpers_tools__WEBPACK_IMPORTED_MODULE_0__.qe)(fe.http.get(Qe))})()}updateTransportTicket(Qe,fe,y,a,s){var D=this;return(0,_home_dkmaster_projects_uds_4_0_gui_user_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__.c)(function*(){const J=D.config.urls.update_transport_ticket.replace("param1",Qe).replace("param2",fe);return(0,_helpers_tools__WEBPACK_IMPORTED_MODULE_0__.qe)(D.http.post(J,{username:y,password:a,domain:s}))})()}galleryImageURL(Qe){return this.config.urls.gallery_image.replace("param1",Qe)}transportIconURL(Qe){return this.config.urls.transport_icon.replace("param1",Qe)}staticURL(Qe){return _environments_environment__WEBPACK_IMPORTED_MODULE_2__.O.production?this.config.urls.static+Qe:"/static/"+Qe}getServicesInformation(){var Qe=this;return(0,_home_dkmaster_projects_uds_4_0_gui_user_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__.c)(function*(){return(0,_helpers_tools__WEBPACK_IMPORTED_MODULE_0__.qe)(Qe.http.get(Qe.config.urls.services))})()}getErrorInformation(Qe){var fe=this;return(0,_home_dkmaster_projects_uds_4_0_gui_user_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__.c)(function*(){return(0,_helpers_tools__WEBPACK_IMPORTED_MODULE_0__.qe)(fe.http.get(fe.config.urls.error.replace("9999",Qe)))})()}executeCustomJSForServiceLaunch(){void 0!==udsData.customJSForServiceLaunch&&eval(udsData.customJSForServiceLaunch)}gotoAdmin(){window.location.href=this.config.urls.admin}logout(){window.location.href=this.config.urls.logout}download(Qe){return(0,_home_dkmaster_projects_uds_4_0_gui_user_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__.c)(function*(){let fe=document.getElementById("download");fe||(fe=document.createElement("iframe"),fe.id="download",fe.style.display="none",document.body.appendChild(fe)),fe.src=Qe,fe.onload=()=>{alert("Error downloading file. Please try again later.")}})()}sleep(Qe){return new Promise(fe=>setTimeout(fe,Qe))}launchURL(Qe){this.plugin.launchURL(Qe)}getAuthCustomJavascript(Qe){var fe=this;return(0,_home_dkmaster_projects_uds_4_0_gui_user_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__.c)(function*(){return(0,_helpers_tools__WEBPACK_IMPORTED_MODULE_0__.qe)(fe.http.get(fe.config.urls.custom_auth+Qe,{responseType:"text"}))})()}switchTheme(Qe){const fe=document.getElementsByTagName("html")[0];[DARK_THEME,LIGHT_THEME].forEach(y=>{fe.classList.contains(y)&&fe.classList.remove(y)}),fe.classList.add(Qe?DARK_THEME:LIGHT_THEME)}putOnStorage(Qe,fe){void 0!==typeof Storage&&sessionStorage.setItem(Qe,fe)}getFromStorage(Qe){return void 0!==typeof Storage?sessionStorage.getItem(Qe):null}}return _class=UDSApiService,_class.\u0275fac=function Qe(fe){return new(fe||_class)(_angular_core__WEBPACK_IMPORTED_MODULE_6__.CoB(_angular_common_http__WEBPACK_IMPORTED_MODULE_7__.KK),_angular_core__WEBPACK_IMPORTED_MODULE_6__.CoB(_uds_gui_service__WEBPACK_IMPORTED_MODULE_3__._),_angular_core__WEBPACK_IMPORTED_MODULE_6__.CoB(_angular_router__WEBPACK_IMPORTED_MODULE_8__.E5))},_class.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_6__.wxM({token:_class,factory:_class.\u0275fac}),UDSApiService})()},500:(Qe,fe,y)=>{y.d(fe,{_:()=>X});var a=y(1528),s=y(2864),D=y(112),J=y(3120),z=y(4496),ae=y(1368),ve=y(7816),te=y(7196),Ce=y(9552);function Me(G,ye){if(1&G){const re=z.KQA();z.I0R(0,"button",3),z.qCj("click",function(){z.usT(re);const me=z.GaO();return z.CGJ(me.resolveAndClose(!1))}),z.I0R(1,"uds-translate"),z.OEk(2,"Close"),z.C$Y(),z.OEk(3),z.C$Y()}if(2&G){const re=z.GaO();z.yG2(3),z.cNF(re.extra)}}function Pe(G,ye){if(1&G){const re=z.KQA();z.I0R(0,"button",3),z.qCj("click",function(){z.usT(re);const me=z.GaO();return z.CGJ(me.resolveAndClose(!0))}),z.I0R(1,"uds-translate"),z.OEk(2,"Yes"),z.C$Y()()}}function et(G,ye){if(1&G){const re=z.KQA();z.I0R(0,"button",3),z.qCj("click",function(){z.usT(re);const me=z.GaO();return z.CGJ(me.resolveAndClose(!1))}),z.I0R(1,"uds-translate"),z.OEk(2,"No"),z.C$Y()()}}var ke=function(G){return G[G.alert=0]="alert",G[G.yesno=1]="yesno",G[G.credentials=2]="credentials",G}(ke||{});let Be=(()=>{var G;class ye{constructor(ie,me){this.dialogRef=ie,this.data=me,this.extra="",this.subscription=null,this.yesno=new Promise(Xe=>this.resolver=Xe),this.resolver=()=>{}}resolveAndClose(ie){this.resolver(ie),this.close()}close(){this.dialogRef.close()}setExtra(ie){this.extra=" ("+Math.floor(ie/1e3)+" "+django.gettext("seconds")+") "}initAlert(){var ie=this;return(0,a.c)(function*(){const me=ie.data.autoclose||0;me>0&&(ie.dialogRef.afterClosed().subscribe(Xe=>{ie.close()}),ie.setExtra(me),function ce(G=0,ye=D.M){return G<0&&(G=0),(0,J.k)(G,G,ye)}(1e3).subscribe(Xe=>{const pt=me-1e3*(Xe+1);ie.setExtra(pt),pt<=0&&ie.close()}))})()}ngOnInit(){this.data.type===ke.alert&&this.initAlert()}}return(G=ye).\u0275fac=function(ie){return new(ie||G)(z.GI1(s.yI),z.GI1(s.sR))},G.\u0275cmp=z.In1({type:G,selectors:[["uds-modal"]],decls:8,vars:9,consts:[["mat-dialog-title","",3,"innerHtml"],[3,"innerHTML"],["mat-raised-button","","mat-dialog-close","",3,"click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"click"]],template:function(ie,me){1&ie&&(z.wR5(0,"h4",0),z.wVc(1,"safeHtml"),z.wR5(2,"mat-dialog-content",1),z.wVc(3,"safeHtml"),z.I0R(4,"mat-dialog-actions"),z.yuY(5,Me,4,1,"button",2)(6,Pe,3,0,"button",2)(7,et,3,0,"button",2),z.C$Y()),2&ie&&(z.E7m("innerHtml",z.kDX(1,5,me.data.title),z.E3n),z.yG2(2),z.E7m("innerHTML",z.kDX(3,7,me.data.body),z.E3n),z.yG2(3),z.E7m("ngIf",0===me.data.type),z.yG2(),z.E7m("ngIf",1===me.data.type),z.yG2(),z.E7m("ngIf",1===me.data.type))},dependencies:[ae.u_,ve.Gw,s.qq,s.WQ,s.Yp,s.iU,te.e,Ce.K],styles:[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]}),ye})();var Re=y(4716),Ne=y(6516),ot=y(7536);const xt=(G,ye,re)=>({username:G,domain:ye,password:re,success:!1}),lt=(G,ye,re)=>({username:G,domain:ye,password:re,success:!0});let Ge=(()=>{var G;class ye{constructor(ie){this.data=ie,this.labels={username:django.gettext("Username"),password:django.gettext("Password"),domain:django.gettext("Domain")},this.username=ie.username,this.domain=ie.domain,this.password=""}}return(G=ye).\u0275fac=function(ie){return new(ie||G)(z.GI1(s.sR))},G.\u0275cmp=z.In1({type:G,selectors:[["uds-credentials-modal"]],decls:21,vars:19,consts:[["mat-dialog-title",""],["matInput","",3,"placeholder","ngModel","ngModelChange"],["matInput","","type","password",3,"placeholder","ngModel","ngModelChange"],["mat-button","",3,"mat-dialog-close"]],template:function(ie,me){1&ie&&(z.I0R(0,"h2",0)(1,"uds-translate"),z.OEk(2,"Please, enter access credentials"),z.C$Y()(),z.I0R(3,"mat-dialog-content")(4,"mat-form-field")(5,"mat-label"),z.OEk(6),z.C$Y(),z.I0R(7,"input",1),z.iHE("ngModelChange",function(pt){return z.kNx(me.username,pt)||(me.username=pt),pt}),z.C$Y()(),z.I0R(8,"mat-form-field")(9,"mat-label"),z.OEk(10),z.C$Y(),z.I0R(11,"input",2),z.iHE("ngModelChange",function(pt){return z.kNx(me.password,pt)||(me.password=pt),pt}),z.C$Y()(),z.I0R(12,"mat-form-field")(13,"mat-label"),z.OEk(14),z.C$Y(),z.I0R(15,"input",1),z.iHE("ngModelChange",function(pt){return z.kNx(me.domain,pt)||(me.domain=pt),pt}),z.C$Y()()(),z.I0R(16,"mat-dialog-actions")(17,"button",3),z.OEk(18,"Cancel"),z.C$Y(),z.I0R(19,"button",3),z.OEk(20,"Accept"),z.C$Y()()),2&ie&&(z.yG2(6),z.oRS(" ",me.labels.username," "),z.yG2(),z.E7m("placeholder",me.labels.username),z.OKB("ngModel",me.username),z.yG2(3),z.oRS(" ",me.labels.password," "),z.yG2(),z.E7m("placeholder",me.labels.password),z.OKB("ngModel",me.password),z.yG2(3),z.oRS(" ",me.labels.domain," "),z.yG2(),z.E7m("placeholder",me.labels.domain),z.OKB("ngModel",me.domain),z.yG2(2),z.E7m("mat-dialog-close",z.uAc(11,xt,me.username,me.domain,me.password)),z.yG2(2),z.E7m("mat-dialog-close",z.uAc(15,lt,me.username,me.domain,me.password)))},dependencies:[Re.ot,Re.ue,Re._G,ve.Gw,s.qq,s.WQ,s.Yp,s.iU,Ne.Up,Ne.w5,ot.yi,te.e],styles:[".mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]}),ye})();var Oe=y(5184);let X=(()=>{var G;class ye{constructor(ie){this.dialog=ie}alert(ie,me,Xe=0){var pt=this;return(0,a.c)(function*(){const Pt=window.innerWidth<800?"80%":"40%";return pt.dialog.open(Be,{width:Pt,data:{title:ie,body:me,autoclose:Xe,type:ke.alert},disableClose:!0})})()}yesno(ie,me){const Xe=window.innerWidth<800?"80%":"40%";return this.dialog.open(Be,{width:Xe,data:{title:ie,body:me,type:ke.yesno},disableClose:!0}).componentInstance.yesno}askCredentials(ie,me){const Xe=this.dialog.open(Ge,{data:{username:ie,domain:me}});return(0,Oe.qe)(Xe.afterClosed())}}return(G=ye).\u0275fac=function(ie){return new(ie||G)(z.CoB(s.qW))},G.\u0275prov=z.wxM({token:G,factory:G.\u0275fac}),ye})()},9916:(Qe,fe,y)=>{y.d(fe,{i:()=>a});class a{constructor(D){this.user=D.user,this.role=D.role,this.admin=D.admin}get isStaff(){return"staff"===this.role||"admin"===this.role}get isAdmin(){return"admin"===this.role}get isLogged(){return null!=this.user}get isRestricted(){return"restricted"===this.role}}},6716:(Qe,fe,y)=>{y.d(fe,{O:()=>a});const a={production:!0}},9656:(Qe,fe,y)=>{var a=y(4476),s=y(4496),D=y(1216),J=y(7048),ce=y(1056),z=y(4692);let ae=(()=>{var b;class d{constructor(l){this.api=l}canActivate(l,m){return!!this.api.user.isLogged||(this.api.router.navigate(["login"]),!1)}}return(b=d).\u0275fac=function(l){return new(l||b)(s.CoB(z.G))},b.\u0275prov=s.wxM({token:b,factory:b.\u0275fac,providedIn:"root"}),d})();var ve=y(1064),te=y(1368),Ce=y(7196);function Me(b,d){if(1&b){const u=s.KQA();s.I0R(0,"div",6),s.qCj("click",function(){const I=s.usT(u).$implicit,U=s.GaO();return s.CGJ(U.api.download(I.url))}),s.I0R(1,"div",7),s.wR5(2,"img",8),s.C$Y(),s.I0R(3,"div",9),s.OEk(4),s.C$Y(),s.I0R(5,"div",10),s.OEk(6),s.C$Y()()}if(2&b){const u=d.$implicit,l=s.GaO();s.m8U(l.css(u)),s.yG2(2),s.E7m("src",l.img(u.name),s.K6U),s.yG2(2),s.MjK(" ",l.legacy(u)," ",u.name," (",u.url.split(".").pop(),") "),s.yG2(2),s.oRS(" ",u.description," ")}}let Pe=(()=>{var b;class d{constructor(l){this.api=l}ngOnInit(){}img(l){return this.api.staticURL("modern/img/"+l+".png")}css(l){const m=["plugin"];return l.legacy&&m.push("legacy"),m}legacy(l){return l.legacy?"Legacy":""}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(z.G))},b.\u0275cmp=s.In1({type:b,selectors:[["uds-client-download"]],decls:13,vars:1,consts:[[1,"plugins-container"],[1,"banner"],[1,"banner-text"],[1,"plugins"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"platform"],[1,"description"]],template:function(l,m){1&l&&(s.I0R(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1")(4,"uds-translate"),s.OEk(5,"UDS Client"),s.C$Y()()()(),s.I0R(6,"div",3),s.yuY(7,Me,7,7,"div",4),s.C$Y(),s.I0R(8,"div",5)(9,"ul")(10,"li")(11,"uds-translate"),s.OEk(12,"Download UDS client for your platform"),s.C$Y()()()()()),2&l&&(s.yG2(7),s.E7m("ngForOf",m.api.plugins))},dependencies:[te.ay,Ce.e],styles:[".plugins-container[_ngcontent-%COMP%]{margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:2rem}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3rem;text-align:center}.banner-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1rem}.plugins[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:center}.plugin[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;padding:1rem;border-radius:1rem;box-shadow:0 1rem 2rem #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 15%}.plugin.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;flex:1 0 19%;max-width:20%}.plugin.legacy[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:5rem}.plugin[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem #00000040,0 10px 10px #00000038;background-color:#0000001a}.image[_ngcontent-%COMP%]{display:flex;justify-content:center}.platform[_ngcontent-%COMP%]{text-align:center;font-size:2rem}.description[_ngcontent-%COMP%]{display:flex;text-align:center;justify-content:center;margin-top:.5rem} .dark-theme uds-client-download{color:#fff!important} .dark-theme .plugin.legacy{background-color:#a9a9a9} .dark-theme .plugin:hover{background-color:#ffffff1a}"]}),d})();var et=y(9552);function ke(b,d){if(1&b){const u=s.KQA();s.I0R(0,"div",6),s.qCj("click",function(){const I=s.usT(u).$implicit,U=s.GaO();return s.CGJ(U.api.download(I.url))}),s.I0R(1,"div",7),s.wR5(2,"img",8),s.C$Y(),s.wR5(3,"div",9),s.wVc(4,"safeHtml"),s.wR5(5,"div",10),s.wVc(6,"safeHtml"),s.C$Y()}if(2&b){const u=d.$implicit,l=s.GaO();s.m8U(l.css(u.name)),s.yG2(2),s.E7m("src",l.img(u.name),s.K6U),s.yG2(),s.E7m("innerHTML",s.kDX(4,5,u.name),s.E3n),s.yG2(2),s.E7m("innerHTML",s.kDX(6,7,u.description),s.E3n)}}let Be=(()=>{var b;class d{constructor(l){this.api=l,this.actors=[]}ngOnInit(){this.actors=[];const l=[];for(const m of this.api.actors)m.name.includes("legacy")?l.push(m):this.actors.push(m);for(const m of l)this.actors.push(m)}img(l){const m=(l.split(".").pop()||"").toLowerCase();let I="Linux";return"exe"===m?I="Windows":"pkg"===m&&(I="MacOS"),this.api.staticURL("modern/img/"+I+".png")}css(l){const m=["actor"];return l.toLowerCase().includes("legacy")&&m.push("legacy"),m}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(z.G))},b.\u0275cmp=s.In1({type:b,selectors:[["uds-downloads"]],decls:16,vars:1,consts:[[1,"actors-container"],[1,"banner"],[1,"banner-text"],[1,"actors"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"name",3,"innerHTML"],[1,"description",3,"innerHTML"]],template:function(l,m){1&l&&(s.I0R(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1")(4,"uds-translate"),s.OEk(5,"Downloads"),s.C$Y()()()(),s.I0R(6,"div",3),s.yuY(7,ke,7,9,"div",4),s.C$Y(),s.I0R(8,"div",5)(9,"ul")(10,"li")(11,"uds-translate"),s.OEk(12,"Always download the UDS actor matching your platform"),s.C$Y()(),s.I0R(13,"li")(14,"uds-translate"),s.OEk(15,"Legacy actors are only provided for old operating system support. Try to avoid them."),s.C$Y()()()()()),2&l&&(s.yG2(7),s.E7m("ngForOf",m.actors))},dependencies:[te.ay,Ce.e,et.K],styles:[".actors-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2em;text-align:center}.actors[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-around;align-content:center;margin:auto}.actor[_ngcontent-%COMP%]{border:1px solid;margin-top:1rem;padding:1em;border-radius:1rem;box-shadow:0 1rem 2rem #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 34%;margin-right:1em}.actor.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;max-width:50%}.actor[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem #00000040,0 10px 10px #00000038;background-color:#0000001a}.image[_ngcontent-%COMP%]{display:block;float:left;padding-right:1rem;height:100%}.image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:4rem}.name[_ngcontent-%COMP%]{font-size:1.5em;margin-bottom:1em;font-weight:700;overflow:hidden} .dark-theme uds-downloads{color:#fff!important} .dark-theme .actor.legacy{background-color:#464646}"]}),d})();var Re=y(1032),Ne=y(5657),ot=y(6928);let xt=0;const lt=new s.UbH("CdkAccordion");let Ge=(()=>{var b;class d{constructor(){this._stateChanges=new Ne.E,this._openCloseAllActions=new Ne.E,this.id="cdk-accordion-".concat(xt++),this.multi=!1}openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(l){this._stateChanges.next(l)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275dir=s.Sc5({type:b,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[s.Wk5.HasDecoratorInputTransform,"multi","multi",s.cZD]},exportAs:["cdkAccordion"],standalone:!0,features:[s.M5G([{provide:lt,useExisting:b}]),s.QJr,s.SYr]}),d})(),Oe=0,X=(()=>{var b;class d{get expanded(){return this._expanded}set expanded(l){this._expanded!==l&&(this._expanded=l,this.expandedChange.emit(l),l?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}constructor(l,m,I){this.accordion=l,this._changeDetectorRef=m,this._expansionDispatcher=I,this._openCloseAllSubscription=ot.wH.EMPTY,this.closed=new s._w7,this.opened=new s._w7,this.destroyed=new s._w7,this.expandedChange=new s._w7,this.id="cdk-accordion-child-".concat(Oe++),this._expanded=!1,this.disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=I.listen((U,oe)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===oe&&this.id!==U&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(l=>{this.disabled||(this.expanded=l)})}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(lt,12),s.GI1(s.kD9),s.GI1(Re.kT))},b.\u0275dir=s.Sc5({type:b,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[s.Wk5.HasDecoratorInputTransform,"expanded","expanded",s.cZD],disabled:[s.Wk5.HasDecoratorInputTransform,"disabled","disabled",s.cZD]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],standalone:!0,features:[s.M5G([{provide:lt,useValue:void 0}]),s.QJr]}),d})(),G=(()=>{var b;class d{}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275mod=s.a4G({type:b}),b.\u0275inj=s.s3X({}),d})();var ye=y(2488),re=y(3576),ie=y(4723),me=y(4e3),Xe=y(5568),pt=y(6684),Pt=y(3992),Tt=y(7800),on=y(8960),vt=y(3412),qe=y(9684);const De=["body"];function _e(b,d){}const Se=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Ke=["mat-expansion-panel-header","*","mat-action-row"];function ht(b,d){if(1&b&&(s.I0R(0,"span",2),s.S2Z(),s.I0R(1,"svg",3),s.wR5(2,"path",4),s.C$Y()()),2&b){const u=s.GaO();s.E7m("@indicatorRotate",u._getExpandedState())}}const st=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Ft=["mat-panel-title","mat-panel-description","*"],Kt=new s.UbH("MAT_ACCORDION"),ln="225ms cubic-bezier(0.4,0.0,0.2,1)",Gt={indicatorRotate:(0,qe.gV)("indicatorRotate",[(0,qe.K2)("collapsed, void",(0,qe.wb)({transform:"rotate(0deg)"})),(0,qe.K2)("expanded",(0,qe.wb)({transform:"rotate(180deg)"})),(0,qe.aK)("expanded <=> collapsed, void => collapsed",(0,qe.Cs)(ln))]),bodyExpansion:(0,qe.gV)("bodyExpansion",[(0,qe.K2)("collapsed, void",(0,qe.wb)({height:"0px",visibility:"hidden"})),(0,qe.K2)("expanded",(0,qe.wb)({height:"*",visibility:""})),(0,qe.aK)("expanded <=> collapsed, void => collapsed",(0,qe.Cs)(ln))])},ct=new s.UbH("MAT_EXPANSION_PANEL");let Zt=(()=>{var b;class d{constructor(l,m){this._template=l,this._expansionPanel=m}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(s.Yw2),s.GI1(ct,8))},b.\u0275dir=s.Sc5({type:b,selectors:[["ng-template","matExpansionPanelContent",""]],standalone:!0}),d})(),Ut=0;const le=new s.UbH("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let pe=(()=>{var b;class d extends X{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(l){this._hideToggle=l}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(l){this._togglePosition=l}constructor(l,m,I,U,oe,Fe,rt){super(l,m,I),this._viewContainerRef=U,this._animationMode=Fe,this._hideToggle=!1,this.afterExpand=new s._w7,this.afterCollapse=new s._w7,this._inputChanges=new Ne.E,this._headerId="mat-expansion-panel-header-".concat(Ut++),this._bodyAnimationDone=new Ne.E,this.accordion=l,this._document=oe,this._bodyAnimationDone.pipe((0,me.a)((It,St)=>It.fromState===St.fromState&&It.toState===St.toState)).subscribe(It=>{"void"!==It.fromState&&("expanded"===It.toState?this.afterExpand.emit():"collapsed"===It.toState&&this.afterCollapse.emit())}),rt&&(this.hideToggle=rt.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,Xe.W)(null),(0,pt.I)(()=>this.expanded&&!this._portal),(0,Pt.U)(1)).subscribe(()=>{this._portal=new ye.CC(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(l){this._inputChanges.next(l)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const l=this._document.activeElement,m=this._body.nativeElement;return l===m||m.contains(l)}return!1}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(Kt,12),s.GI1(s.kD9),s.GI1(Re.kT),s.GI1(s.y8U),s.GI1(te.Ud),s.GI1(s.qwP,8),s.GI1(le,8))},b.\u0275cmp=s.In1({type:b,selectors:[["mat-expansion-panel"]],contentQueries:function(l,m,I){if(1&l&&s.szK(I,Zt,5),2&l){let U;s.wto(U=s.Gqi())&&(m._lazyContent=U.first)}},viewQuery:function(l,m){if(1&l&&s.CC$(De,5),2&l){let I;s.wto(I=s.Gqi())&&(m._body=I.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(l,m){2&l&&s.eAK("mat-expanded",m.expanded)("_mat-animation-noopable","NoopAnimations"===m._animationMode)("mat-expansion-panel-spacing",m._hasSpacing())},inputs:{hideToggle:[s.Wk5.HasDecoratorInputTransform,"hideToggle","hideToggle",s.cZD],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],standalone:!0,features:[s.M5G([{provide:Kt,useValue:void 0},{provide:ct,useExisting:b}]),s.QJr,s.eg9,s.SYr,s.UHJ],ngContentSelectors:Ke,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(l,m){1&l&&(s.kPM(Se),s._Xx(0),s.I0R(1,"div",0,1),s.qCj("@bodyExpansion.done",function(U){return m._bodyAnimationDone.next(U)}),s.I0R(3,"div",2),s._Xx(4,1),s.yuY(5,_e,0,0,"ng-template",3),s.C$Y(),s._Xx(6,2),s.C$Y()),2&l&&(s.yG2(),s.E7m("@bodyExpansion",m._getExpandedState())("id",m.id),s.e48("aria-labelledby",m._headerId),s.yG2(4),s.E7m("cdkPortalOutlet",m._portal))},dependencies:[ye.IP],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){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)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[Gt.bodyExpansion]},changeDetection:0}),d})(),Te=(()=>{var b;class d{constructor(l,m,I,U,oe,Fe,rt){this.panel=l,this._element=m,this._focusMonitor=I,this._changeDetectorRef=U,this._animationMode=Fe,this._parentChangeSubscription=ot.wH.EMPTY,this.tabIndex=0;const It=l.accordion?l.accordion._stateChanges.pipe((0,pt.I)(St=>!(!St.hideToggle&&!St.togglePosition))):on.k;this.tabIndex=parseInt(rt||"")||0,this._parentChangeSubscription=(0,vt.U)(l.opened,l.closed,It,l._inputChanges.pipe((0,pt.I)(St=>!!(St.hideToggle||St.disabled||St.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),l.closed.pipe((0,pt.I)(()=>l._containsFocus())).subscribe(()=>I.focusVia(m,"program")),oe&&(this.expandedHeight=oe.expandedHeight,this.collapsedHeight=oe.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const l=this._isExpanded();return l&&this.expandedHeight?this.expandedHeight:!l&&this.collapsedHeight?this.collapsedHeight:null}_keydown(l){switch(l.keyCode){case Tt.Gi:case Tt.wJ:(0,Tt.Yp)(l)||(l.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(l))}}focus(l,m){l?this._focusMonitor.focusVia(this._element,l,m):this._element.nativeElement.focus(m)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(l=>{l&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(pe,1),s.GI1(s.GMv),s.GI1(ie.Kk),s.GI1(s.kD9),s.GI1(le,8),s.GI1(s.qwP,8),s.gJ8("tabindex"))},b.\u0275cmp=s.In1({type:b,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(l,m){1&l&&s.qCj("click",function(){return m._toggle()})("keydown",function(U){return m._keydown(U)}),2&l&&(s.e48("id",m.panel._headerId)("tabindex",m.disabled?-1:m.tabIndex)("aria-controls",m._getPanelId())("aria-expanded",m._isExpanded())("aria-disabled",m.panel.disabled),s.m4B("height",m._getHeaderHeight()),s.eAK("mat-expanded",m._isExpanded())("mat-expansion-toggle-indicator-after","after"===m._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===m._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===m._animationMode))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[s.Wk5.HasDecoratorInputTransform,"tabIndex","tabIndex",u=>null==u?0:(0,s.cJ3)(u)]},standalone:!0,features:[s.QJr,s.UHJ],ngContentSelectors:Ft,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(l,m){1&l&&(s.kPM(st),s.I0R(0,"span",0),s._Xx(1),s._Xx(2,1),s._Xx(3,2),s.C$Y(),s.yuY(4,ht,3,1,"span",1)),2&l&&(s.eAK("mat-content-hide-toggle",!m._showToggle()),s.yG2(4),s.C0Y(4,m._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color);display:inline-block;display:var(--mat-expansion-legacy-header-indicator-display, inline-block)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color);display:none;display:var(--mat-expansion-header-indicator-display, none)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[Gt.indicatorRotate]},changeDetection:0}),d})(),dt=(()=>{var b;class d{}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275dir=s.Sc5({type:b,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"],standalone:!0}),d})(),$e=(()=>{var b;class d{}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275dir=s.Sc5({type:b,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"],standalone:!0}),d})(),Mt=(()=>{var b;class d extends Ge{constructor(){super(...arguments),this._ownHeaders=new s.VhX,this.hideToggle=!1,this.displayMode="default",this.togglePosition="after"}ngAfterContentInit(){this._headers.changes.pipe((0,Xe.W)(this._headers)).subscribe(l=>{this._ownHeaders.reset(l.filter(m=>m.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new ie.IH(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(l){this._keyManager.onKeydown(l)}_handleHeaderFocus(l){this._keyManager.updateActiveItem(l)}ngOnDestroy(){var l;super.ngOnDestroy(),null===(l=this._keyManager)||void 0===l||l.destroy(),this._ownHeaders.destroy()}}return(b=d).\u0275fac=(()=>{let u;return function(m){return(u||(u=s.otF(b)))(m||b)}})(),b.\u0275dir=s.Sc5({type:b,selectors:[["mat-accordion"]],contentQueries:function(l,m,I){if(1&l&&s.szK(I,Te,5),2&l){let U;s.wto(U=s.Gqi())&&(m._headers=U)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(l,m){2&l&&s.eAK("mat-accordion-multi",m.multi)},inputs:{hideToggle:[s.Wk5.HasDecoratorInputTransform,"hideToggle","hideToggle",s.cZD],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],standalone:!0,features:[s.M5G([{provide:Kt,useExisting:b}]),s.QJr,s.eg9]}),d})(),Xt=(()=>{var b;class d{}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275mod=s.a4G({type:b}),b.\u0275inj=s.s3X({imports:[re.AN,G,ye.g$]}),d})();var gn=y(1528),cn=y(7816),qn=y(2700),tt=y(1472),P=y(7368),Ee=y(3616),se=y(112),ee=y(7228),Ie=y(5448),Ue=y(7773),Y=y(308),Ye=y(320),gt=y(7400),Et=y(560);function Lt(b,d){return d?u=>(0,ee.W)(d.pipe((0,Pt.U)(1),function he(){return(0,Ie.i)((b,d)=>{b.subscribe((0,Ue.e)(d,Y.K))})}()),u.pipe(Lt(b))):(0,gt.O)((u,l)=>(0,Et.Uv)(b(u,l)).pipe((0,Pt.U)(1),(0,Ye.e)(u)))}var en=y(3120);function sn(b,d=se.M){const u=(0,en.k)(b,d);return Lt(()=>u)}var Dn=y(1900),bn=y(68),ai=y(5792),pi=y(3572);const Ze=["mat-menu-item",""];function V(b,d){1&b&&(s.S2Z(),s.I0R(0,"svg",3),s.wR5(1,"polygon",4),s.C$Y())}const $=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],k=["mat-icon, [matMenuItemIcon]","*"];function O(b,d){if(1&b){const u=s.KQA();s.I0R(0,"div",0),s.qCj("keydown",function(m){s.usT(u);const I=s.GaO();return s.CGJ(I._handleKeydown(m))})("click",function(){s.usT(u);const m=s.GaO();return s.CGJ(m.closed.emit("click"))})("@transformMenu.start",function(m){s.usT(u);const I=s.GaO();return s.CGJ(I._onAnimationStart(m))})("@transformMenu.done",function(m){s.usT(u);const I=s.GaO();return s.CGJ(I._onAnimationDone(m))}),s.I0R(1,"div",1),s._Xx(2),s.C$Y()()}if(2&b){const u=s.GaO();s.E7m("id",u.panelId)("ngClass",u._classList)("@transformMenu",u._panelAnimationState),s.e48("aria-label",u.ariaLabel||null)("aria-labelledby",u.ariaLabelledby||null)("aria-describedby",u.ariaDescribedby||null)}}const B=["*"],N=new s.UbH("MAT_MENU_PANEL");let q=(()=>{var b;class d{constructor(l,m,I,U,oe){var Fe;this._elementRef=l,this._document=m,this._focusMonitor=I,this._parentMenu=U,this._changeDetectorRef=oe,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new Ne.E,this._focused=new Ne.E,this._highlighted=!1,this._triggersSubmenu=!1,null==U||null===(Fe=U.addItem)||void 0===Fe||Fe.call(U,this)}focus(l,m){this._focusMonitor&&l?this._focusMonitor.focusVia(this._getHostElement(),l,m):this._getHostElement().focus(m),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(l){this.disabled&&(l.preventDefault(),l.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var l;const m=this._elementRef.nativeElement.cloneNode(!0),I=m.querySelectorAll("mat-icon, .material-icons");for(let U=0;U enter",(0,qe.Cs)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,qe.wb)({opacity:1,transform:"scale(1)"}))),(0,qe.aK)("* => void",(0,qe.Cs)("100ms 25ms linear",(0,qe.wb)({opacity:0})))]),fadeInItems:(0,qe.gV)("fadeInItems",[(0,qe.K2)("showing",(0,qe.wb)({opacity:1})),(0,qe.aK)("void => *",[(0,qe.wb)({opacity:0}),(0,qe.Cs)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Zn=0;const ho=new s.UbH("mat-menu-default-options",{providedIn:"root",factory:function On(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let jt=(()=>{var b;class d{get xPosition(){return this._xPosition}set xPosition(l){this._xPosition=l,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(l){this._yPosition=l,this.setPositionClasses()}set panelClass(l){const m=this._previousPanelClass;m&&m.length&&m.split(" ").forEach(I=>{this._classList[I]=!1}),this._previousPanelClass=l,l&&l.length&&(l.split(" ").forEach(I=>{this._classList[I]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(l){this.panelClass=l}constructor(l,m,I,U){this._elementRef=l,this._ngZone=m,this._changeDetectorRef=U,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new s.VhX,this._classList={},this._panelAnimationState="void",this._animationDone=new Ne.E,this.closed=new s._w7,this.close=this.closed,this.panelId="mat-menu-panel-".concat(Zn++),this.overlayPanelClass=I.overlayPanelClass||"",this._xPosition=I.xPosition,this._yPosition=I.yPosition,this.backdropClass=I.backdropClass,this.overlapTrigger=I.overlapTrigger,this.hasBackdrop=I.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new ie.IH(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,Xe.W)(this._directDescendantItems),(0,P.G)(l=>(0,vt.U)(...l.map(m=>m._focused)))).subscribe(l=>this._keyManager.updateActiveItem(l)),this._directDescendantItems.changes.subscribe(l=>{var m;const I=this._keyManager;if("enter"===this._panelAnimationState&&null!==(m=I.activeItem)&&void 0!==m&&m._hasFocus()){const U=l.toArray(),oe=Math.max(0,Math.min(U.length-1,I.activeItemIndex||0));U[oe]&&!U[oe].disabled?I.setActiveItem(oe):I.setNextItemActive()}})}ngOnDestroy(){var l,m;null===(l=this._keyManager)||void 0===l||l.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),null===(m=this._firstItemFocusSubscription)||void 0===m||m.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,Xe.W)(this._directDescendantItems),(0,P.G)(m=>(0,vt.U)(...m.map(I=>I._hovered))))}addItem(l){}removeItem(l){}_handleKeydown(l){const m=l.keyCode,I=this._keyManager;switch(m){case Tt.UX:(0,Tt.Yp)(l)||(l.preventDefault(),this.closed.emit("keydown"));break;case Tt.Mx:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case Tt.a4:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(m===Tt.qI||m===Tt.Oq)&&I.setFocusOrigin("keyboard"),void I.onKeydown(l)}l.stopPropagation()}focusFirstItem(l="program"){var m;null===(m=this._firstItemFocusSubscription)||void 0===m||m.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,Pt.U)(1)).subscribe(()=>{let I=null;if(this._directDescendantItems.length&&(I=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!I||!I.contains(document.activeElement)){const U=this._keyManager;U.setFocusOrigin(l).setFirstItemActive(),!U.activeItem&&I&&I.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(l){const m=Math.min(this._baseElevation+l,24),I="".concat(this._elevationPrefix).concat(m),U=Object.keys(this._classList).find(oe=>oe.startsWith(this._elevationPrefix));(!U||U===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[I]=!0,this._previousElevation=I)}setPositionClasses(l=this.xPosition,m=this.yPosition){var I;const U=this._classList;U["mat-menu-before"]="before"===l,U["mat-menu-after"]="after"===l,U["mat-menu-above"]="above"===m,U["mat-menu-below"]="below"===m,null===(I=this._changeDetectorRef)||void 0===I||I.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(l){this._animationDone.next(l),this._isAnimating=!1}_onAnimationStart(l){this._isAnimating=!0,"enter"===l.toState&&0===this._keyManager.activeItemIndex&&(l.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,Xe.W)(this._allItems)).subscribe(l=>{this._directDescendantItems.reset(l.filter(m=>m._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(s.GMv),s.GI1(s.WW2),s.GI1(ho),s.GI1(s.kD9))},b.\u0275cmp=s.In1({type:b,selectors:[["mat-menu"]],contentQueries:function(l,m,I){if(1&l&&(s.szK(I,Ae,5),s.szK(I,q,5),s.szK(I,q,4)),2&l){let U;s.wto(U=s.Gqi())&&(m.lazyContent=U.first),s.wto(U=s.Gqi())&&(m._allItems=U),s.wto(U=s.Gqi())&&(m.items=U)}},viewQuery:function(l,m){if(1&l&&s.CC$(s.Yw2,5),2&l){let I;s.wto(I=s.Gqi())&&(m.templateRef=I.first)}},hostVars:3,hostBindings:function(l,m){2&l&&s.e48("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[s.Wk5.None,"aria-label","ariaLabel"],ariaLabelledby:[s.Wk5.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[s.Wk5.None,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[s.Wk5.HasDecoratorInputTransform,"overlapTrigger","overlapTrigger",s.cZD],hasBackdrop:[s.Wk5.HasDecoratorInputTransform,"hasBackdrop","hasBackdrop",u=>null==u?null:(0,s.cZD)(u)],panelClass:[s.Wk5.None,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[s.M5G([{provide:N,useExisting:b}]),s.QJr,s.UHJ],ngContentSelectors:B,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(l,m){1&l&&(s.kPM(),s.yuY(0,O,3,6,"ng-template"))},dependencies:[te.QF],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;flex:1;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-divider{color:var(--mat-menu-divider-color);margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-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:var(--mat-menu-item-trailing-spacing);padding-right:var(--mat-menu-item-leading-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]),.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon])[dir=rtl]{padding-left:var(--mat-menu-item-with-icon-trailing-spacing);padding-right:var(--mat-menu-item-with-icon-leading-spacing)}.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{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.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{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;padding-right:var(--mat-menu-item-spacing);padding-left:0}.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:[Je.transformMenu,Je.fadeInItems]},changeDetection:0}),d})();const dn=new s.UbH("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const b=(0,s.uUt)(bn.mc);return()=>b.scrollStrategies.reposition()}}),Ci={provide:dn,deps:[bn.mc],useFactory:function di(b){return()=>b.scrollStrategies.reposition()}},xi=(0,ai.W4)({passive:!0});let Fi=(()=>{var b;class d{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(l){this.menu=l}get menu(){return this._menu}set menu(l){var m;l!==this._menu&&(this._menu=l,this._menuCloseSubscription.unsubscribe(),l&&(this._menuCloseSubscription=l.close.subscribe(I=>{this._destroyMenu(I),("click"===I||"tab"===I)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(I)})),null===(m=this._menuItemInstance)||void 0===m||m._setTriggersSubmenu(this.triggersSubmenu()))}constructor(l,m,I,U,oe,Fe,rt,It,St){this._overlay=l,this._element=m,this._viewContainerRef=I,this._menuItemInstance=Fe,this._dir=rt,this._focusMonitor=It,this._ngZone=St,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=ot.wH.EMPTY,this._hoverSubscription=ot.wH.EMPTY,this._menuCloseSubscription=ot.wH.EMPTY,this._changeDetectorRef=(0,s.uUt)(s.kD9),this._handleTouchStart=fn=>{(0,ie.q0)(fn)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new s._w7,this.onMenuOpen=this.menuOpened,this.menuClosed=new s._w7,this.onMenuClose=this.menuClosed,this._scrollStrategy=U,this._parentMaterialMenu=oe instanceof jt?oe:void 0,m.nativeElement.addEventListener("touchstart",this._handleTouchStart,xi)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,xi),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 l=this.menu;if(this._menuOpen||!l)return;const m=this._createOverlay(l),I=m.getConfig(),U=I.positionStrategy;this._setPosition(l,U),I.hasBackdrop=null==l.hasBackdrop?!this.triggersSubmenu():l.hasBackdrop,m.attach(this._getPortal(l)),l.lazyContent&&l.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(l),l instanceof jt&&(l._startAnimation(),l._directDescendantItems.changes.pipe((0,Ee.a)(l.close)).subscribe(()=>{U.withLockedPosition(!1).reapplyLastPosition(),U.withLockedPosition(!0)}))}closeMenu(){var l;null===(l=this.menu)||void 0===l||l.close.emit()}focus(l,m){this._focusMonitor&&l?this._focusMonitor.focusVia(this._element,l,m):this._element.nativeElement.focus(m)}updatePosition(){var l;null===(l=this._overlayRef)||void 0===l||l.updatePosition()}_destroyMenu(l){if(!this._overlayRef||!this.menuOpen)return;const m=this.menu;var I;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===l||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,m instanceof jt?(m._resetAnimation(),m.lazyContent?m._animationDone.pipe((0,pt.I)(U=>"void"===U.toState),(0,Pt.U)(1),(0,Ee.a)(m.lazyContent._attached)).subscribe({next:()=>m.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),null==m||null===(I=m.lazyContent)||void 0===I||I.detach())}_initMenu(l){l.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,l.direction=this.dir,this._setMenuElevation(l),l.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(l){if(l.setElevation){let m=0,I=l.parentMenu;for(;I;)m++,I=I.parentMenu;l.setElevation(m)}}_setIsMenuOpen(l){l!==this._menuOpen&&(this._menuOpen=l,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(l),this._changeDetectorRef.markForCheck())}_createOverlay(l){if(!this._overlayRef){const m=this._getOverlayConfig(l);this._subscribeToPositions(l,m.positionStrategy),this._overlayRef=this._overlay.create(m),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(l){return new bn.o9({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:l.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:l.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(l,m){l.setPositionClasses&&m.positionChanges.subscribe(I=>{const U="start"===I.connectionPair.overlayX?"after":"before",oe="top"===I.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>l.setPositionClasses(U,oe)):l.setPositionClasses(U,oe)})}_setPosition(l,m){let[I,U]="before"===l.xPosition?["end","start"]:["start","end"],[oe,Fe]="above"===l.yPosition?["bottom","top"]:["top","bottom"],[rt,It]=[oe,Fe],[St,fn]=[I,U],qt=0;if(this.triggersSubmenu()){if(fn=I="before"===l.xPosition?"start":"end",U=St="end"===I?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const tn=this._parentMaterialMenu.items.first;this._parentInnerPadding=tn?tn._getHostElement().offsetTop:0}qt="bottom"===oe?this._parentInnerPadding:-this._parentInnerPadding}}else l.overlapTrigger||(rt="top"===oe?"bottom":"top",It="top"===Fe?"bottom":"top");m.withPositions([{originX:I,originY:rt,overlayX:St,overlayY:oe,offsetY:qt},{originX:U,originY:rt,overlayX:fn,overlayY:oe,offsetY:qt},{originX:I,originY:It,overlayX:St,overlayY:Fe,offsetY:-qt},{originX:U,originY:It,overlayX:fn,overlayY:Fe,offsetY:-qt}])}_menuClosingActions(){const l=this._overlayRef.backdropClick(),m=this._overlayRef.detachments(),I=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,qn.of)(),U=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,pt.I)(oe=>oe!==this._menuItemInstance),(0,pt.I)(()=>this._menuOpen)):(0,qn.of)();return(0,vt.U)(l,I,U,m)}_handleMousedown(l){(0,ie.G3)(l)||(this._openedBy=0===l.button?"mouse":void 0,this.triggersSubmenu()&&l.preventDefault())}_handleKeydown(l){const m=l.keyCode;(m===Tt.wJ||m===Tt.Gi)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(m===Tt.a4&&"ltr"===this.dir||m===Tt.Mx&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(l){this.triggersSubmenu()?(l.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,pt.I)(l=>l===this._menuItemInstance&&!l.disabled),sn(0,tt.u)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof jt&&this.menu._isAnimating?this.menu._animationDone.pipe((0,Pt.U)(1),sn(0,tt.u),(0,Ee.a)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(l){return(!this._portal||this._portal.templateRef!==l.templateRef)&&(this._portal=new ye.CC(l.templateRef,this._viewContainerRef)),this._portal}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(bn.mc),s.GI1(s.GMv),s.GI1(s.y8U),s.GI1(dn),s.GI1(N,8),s.GI1(q,10),s.GI1(Dn.yG,8),s.GI1(ie.Kk),s.GI1(s.WW2))},b.\u0275dir=s.Sc5({type:b,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(l,m){1&l&&s.qCj("click",function(U){return m._handleClick(U)})("mousedown",function(U){return m._handleMousedown(U)})("keydown",function(U){return m._handleKeydown(U)}),2&l&&s.e48("aria-haspopup",m.menu?"menu":null)("aria-expanded",m.menuOpen)("aria-controls",m.menuOpen?m.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[s.Wk5.None,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[s.Wk5.None,"matMenuTriggerFor","menu"],menuData:[s.Wk5.None,"matMenuTriggerData","menuData"],restoreFocus:[s.Wk5.None,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0}),d})(),ni=(()=>{var b;class d{}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275mod=s.a4G({type:b}),b.\u0275inj=s.s3X({providers:[Ci],imports:[te.MD,re.KE,re.AN,bn.Y1,pi.uU,re.AN]}),d})();var Ti=y(7712);const er=["tooltip"],We=new s.UbH("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const b=(0,s.uUt)(bn.mc);return()=>b.scrollStrategies.reposition({scrollThrottle:20})}}),bt={provide:We,deps:[bn.mc],useFactory:function je(b){return()=>b.scrollStrategies.reposition({scrollThrottle:20})}},Vt=new s.UbH("mat-tooltip-default-options",{providedIn:"root",factory:function _t(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),xn="tooltip-panel",$t=(0,ai.W4)({passive:!0});let oi=(()=>{var b;class d{get position(){return this._position}set position(l){var m;l!==this._position&&(this._position=l,this._overlayRef)&&(this._updatePosition(this._overlayRef),null===(m=this._tooltipInstance)||void 0===m||m.show(0),this._overlayRef.updatePosition())}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(l){this._positionAtOrigin=(0,Ti.W6)(l),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(l){this._disabled=(0,Ti.W6)(l),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(l){this._showDelay=(0,Ti.wZ)(l)}get hideDelay(){return this._hideDelay}set hideDelay(l){this._hideDelay=(0,Ti.wZ)(l),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(l){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=l?String(l).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(l){this._tooltipClass=l,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(l,m,I,U,oe,Fe,rt,It,St,fn,qt,tn){this._overlay=l,this._elementRef=m,this._scrollDispatcher=I,this._viewContainerRef=U,this._ngZone=oe,this._platform=Fe,this._ariaDescriber=rt,this._focusMonitor=It,this._dir=fn,this._defaultOptions=qt,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=rn,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Ne.E,this._scrollStrategy=St,this._document=tn,qt&&(this._showDelay=qt.showDelay,this._hideDelay=qt.hideDelay,qt.position&&(this.position=qt.position),qt.positionAtOrigin&&(this.positionAtOrigin=qt.positionAtOrigin),qt.touchGestures&&(this.touchGestures=qt.touchGestures)),fn.change.pipe((0,Ee.a)(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,Ee.a)(this._destroyed)).subscribe(l=>{l?"keyboard"===l&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const l=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([m,I])=>{l.removeEventListener(m,I,$t)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(l,this.message,"tooltip"),this._focusMonitor.stopMonitoring(l)}show(l=this.showDelay,m){var I;if(this.disabled||!this.message||this._isTooltipVisible())return void(null===(I=this._tooltipInstance)||void 0===I||I._cancelPendingAnimations());const U=this._createOverlay(m);this._detach(),this._portal=this._portal||new ye.KC(this._tooltipComponent,this._viewContainerRef);const oe=this._tooltipInstance=U.attach(this._portal).instance;oe._triggerElement=this._elementRef.nativeElement,oe._mouseLeaveHideDelay=this._hideDelay,oe.afterHidden().pipe((0,Ee.a)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),oe.show(l)}hide(l=this.hideDelay){const m=this._tooltipInstance;m&&(m.isVisible()?m.hide(l):(m._cancelPendingAnimations(),this._detach()))}toggle(l){this._isTooltipVisible()?this.hide():this.show(void 0,l)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(l){var m;if(this._overlayRef){const oe=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!l)&&oe._origin instanceof s.GMv)return this._overlayRef;this._detach()}const I=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),U=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&l||this._elementRef).withTransformOriginOn(".".concat(this._cssClassPrefix,"-tooltip")).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(I);return U.positionChanges.pipe((0,Ee.a)(this._destroyed)).subscribe(oe=>{this._updateCurrentPositionClass(oe.connectionPair),this._tooltipInstance&&oe.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:U,panelClass:"".concat(this._cssClassPrefix,"-").concat(xn),scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,Ee.a)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,Ee.a)(this._destroyed)).subscribe(()=>{var oe;return null===(oe=this._tooltipInstance)||void 0===oe?void 0:oe._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe((0,Ee.a)(this._destroyed)).subscribe(oe=>{this._isTooltipVisible()&&oe.keyCode===Tt.UX&&!(0,Tt.Yp)(oe)&&(oe.preventDefault(),oe.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),null!==(m=this._defaultOptions)&&void 0!==m&&m.disableTooltipInteractivity&&this._overlayRef.addPanelClass("".concat(this._cssClassPrefix,"-tooltip-panel-non-interactive")),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(l){const m=l.getConfig().positionStrategy,I=this._getOrigin(),U=this._getOverlayPosition();m.withPositions([this._addOffset({...I.main,...U.main}),this._addOffset({...I.fallback,...U.fallback})])}_addOffset(l){const I=!this._dir||"ltr"==this._dir.value;return"top"===l.originY?l.offsetY=-8:"bottom"===l.originY?l.offsetY=8:"start"===l.originX?l.offsetX=I?-8:8:"end"===l.originX&&(l.offsetX=I?8:-8),l}_getOrigin(){const l=!this._dir||"ltr"==this._dir.value,m=this.position;let I;"above"==m||"below"==m?I={originX:"center",originY:"above"==m?"top":"bottom"}:"before"==m||"left"==m&&l||"right"==m&&!l?I={originX:"start",originY:"center"}:("after"==m||"right"==m&&l||"left"==m&&!l)&&(I={originX:"end",originY:"center"});const{x:U,y:oe}=this._invertPosition(I.originX,I.originY);return{main:I,fallback:{originX:U,originY:oe}}}_getOverlayPosition(){const l=!this._dir||"ltr"==this._dir.value,m=this.position;let I;"above"==m?I={overlayX:"center",overlayY:"bottom"}:"below"==m?I={overlayX:"center",overlayY:"top"}:"before"==m||"left"==m&&l||"right"==m&&!l?I={overlayX:"end",overlayY:"center"}:("after"==m||"right"==m&&l||"left"==m&&!l)&&(I={overlayX:"start",overlayY:"center"});const{x:U,y:oe}=this._invertPosition(I.overlayX,I.overlayY);return{main:I,fallback:{overlayX:U,overlayY:oe}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,Pt.U)(1),(0,Ee.a)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(l){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=l,this._tooltipInstance._markForCheck())}_invertPosition(l,m){return"above"===this.position||"below"===this.position?"top"===m?m="bottom":"bottom"===m&&(m="top"):"end"===l?l="start":"start"===l&&(l="end"),{x:l,y:m}}_updateCurrentPositionClass(l){const{overlayY:m,originX:I,originY:U}=l;let oe;if(oe="center"===m?this._dir&&"rtl"===this._dir.value?"end"===I?"left":"right":"start"===I?"left":"right":"bottom"===m&&"top"===U?"above":"below",oe!==this._currentPosition){const Fe=this._overlayRef;if(Fe){const rt="".concat(this._cssClassPrefix,"-").concat(xn,"-");Fe.removePanelClass(rt+this._currentPosition),Fe.addPanelClass(rt+oe)}this._currentPosition=oe}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",l=>{let m;this._setupPointerExitEventsIfNeeded(),void 0!==l.x&&void 0!==l.y&&(m=l),this.show(void 0,m)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",l=>{var m;const I=null===(m=l.targetTouches)||void 0===m?void 0:m[0],U=I?{x:I.clientX,y:I.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 l=[];if(this._platformSupportsMouseEvents())l.push(["mouseleave",m=>{var I;const U=m.relatedTarget;(!U||null===(I=this._overlayRef)||void 0===I||!I.overlayElement.contains(U))&&this.hide()}],["wheel",m=>this._wheelListener(m)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const m=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};l.push(["touchend",m],["touchcancel",m])}this._addListeners(l),this._passiveListeners.push(...l)}_addListeners(l){l.forEach(([m,I])=>{this._elementRef.nativeElement.addEventListener(m,I,$t)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(l){if(this._isTooltipVisible()){const m=this._document.elementFromPoint(l.clientX,l.clientY),I=this._elementRef.nativeElement;m!==I&&!I.contains(m)&&this.hide()}}_disableNativeGesturesIfNecessary(){const l=this.touchGestures;if("off"!==l){const m=this._elementRef.nativeElement,I=m.style;("on"===l||"INPUT"!==m.nodeName&&"TEXTAREA"!==m.nodeName)&&(I.userSelect=I.msUserSelect=I.webkitUserSelect=I.MozUserSelect="none"),("on"===l||!m.draggable)&&(I.webkitUserDrag="none"),I.touchAction="none",I.webkitTapHighlightColor="transparent"}}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(bn.mc),s.GI1(s.GMv),s.GI1(pi.Yn),s.GI1(s.y8U),s.GI1(s.WW2),s.GI1(ai.WU),s.GI1(ie.o9),s.GI1(ie.Kk),s.GI1(We),s.GI1(Dn.yG),s.GI1(Vt,8),s.GI1(te.Ud))},b.\u0275dir=s.Sc5({type:b,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(l,m){2&l&&s.eAK("mat-mdc-tooltip-disabled",m.disabled)},inputs:{position:[s.Wk5.None,"matTooltipPosition","position"],positionAtOrigin:[s.Wk5.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[s.Wk5.None,"matTooltipDisabled","disabled"],showDelay:[s.Wk5.None,"matTooltipShowDelay","showDelay"],hideDelay:[s.Wk5.None,"matTooltipHideDelay","hideDelay"],touchGestures:[s.Wk5.None,"matTooltipTouchGestures","touchGestures"],message:[s.Wk5.None,"matTooltip","message"],tooltipClass:[s.Wk5.None,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0}),d})(),rn=(()=>{var b;class d{constructor(l,m,I){this._changeDetectorRef=l,this._elementRef=m,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new Ne.E,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===I}show(l){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},l)}hide(l){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},l)}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:l}){(!l||!this._triggerElement.contains(l))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const l=this._elementRef.nativeElement.getBoundingClientRect();return l.height>24&&l.width>=200}_handleAnimationEnd({animationName:l}){(l===this._showAnimation||l===this._hideAnimation)&&this._finalizeAnimation(l===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(l){l?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(l){const m=this._tooltip.nativeElement,I=this._showAnimation,U=this._hideAnimation;if(m.classList.remove(l?U:I),m.classList.add(l?I:U),this._isVisible=l,l&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const oe=getComputedStyle(m);("0s"===oe.getPropertyValue("animation-duration")||"none"===oe.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}l&&this._onShow(),this._animationsDisabled&&(m.classList.add("_mat-animation-noopable"),this._finalizeAnimation(l))}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(s.kD9),s.GI1(s.GMv),s.GI1(s.qwP,8))},b.\u0275cmp=s.In1({type:b,selectors:[["mat-tooltip-component"]],viewQuery:function(l,m){if(1&l&&s.CC$(er,7),2&l){let I;s.wto(I=s.Gqi())&&(m._tooltip=I.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(l,m){1&l&&s.qCj("mouseleave",function(U){return m._handleMouseLeave(U)}),2&l&&s.m4B("zoom",m.isVisible()?1:null)},standalone:!0,features:[s.UHJ],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(l,m){1&l&&(s.I0R(0,"div",0,1),s.qCj("animationend",function(U){return m._handleAnimationEnd(U)}),s.I0R(2,"div",2),s.OEk(3),s.C$Y()()),2&l&&(s.eAK("mdc-tooltip--multiline",m._isMultiline),s.E7m("ngClass",m.tooltipClass),s.yG2(3),s.cNF(m.message))},dependencies:[te.QF],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}),d})(),ui=(()=>{var b;class d{}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275mod=s.a4G({type:b}),b.\u0275inj=s.s3X({providers:[bt],imports:[ie.Ux,te.MD,bn.Y1,re.AN,re.AN,pi.uU]}),d})();function Kn(b,d){if(1&b){const u=s.KQA();s.I0R(0,"button",14),s.qCj("click",function(){const I=s.usT(u).$implicit,U=s.GaO(2);return s.CGJ(U.launch(I))}),s.I0R(1,"div",15),s.wR5(2,"img",9),s.OEk(3),s.C$Y()()}if(2&b){const u=d.$implicit,l=s.GaO(2);s.yG2(2),s.E7m("src",l.getTransportIcon(u.id),s.K6U),s.yG2(),s.oRS(" ",u.name," ")}}function Jn(b,d){if(1&b){const u=s.KQA();s.I0R(0,"button",14),s.qCj("click",function(){s.usT(u);const m=s.GaO(2);return s.CGJ(m.action("release"))}),s.I0R(1,"i",16),s.OEk(2,"delete"),s.C$Y(),s.I0R(3,"uds-translate"),s.OEk(4," Release service"),s.C$Y()()}}function $o(b,d){if(1&b){const u=s.KQA();s.I0R(0,"button",14),s.qCj("click",function(){s.usT(u);const m=s.GaO(2);return s.CGJ(m.action("reset"))}),s.I0R(1,"i",16),s.OEk(2,"refresh"),s.C$Y(),s.I0R(3,"uds-translate"),s.OEk(4," Reset service"),s.C$Y()()}}function Eo(b,d){if(1&b&&(s.I0R(0,"button",17)(1,"uds-translate"),s.OEk(2,"Connections"),s.C$Y()()),2&b){s.GaO();const u=s.Gew(2);s.E7m("matMenuTriggerFor",u)}}function Do(b,d){if(1&b&&(s.I0R(0,"button",17)(1,"uds-translate"),s.OEk(2,"Actions"),s.C$Y()()),2&b){s.GaO();const u=s.Gew(5);s.E7m("matMenuTriggerFor",u)}}function hr(b,d){if(1&b&&(s.I0R(0,"button",18)(1,"i",16),s.OEk(2,"menu"),s.C$Y()()),2&b){s.GaO();const u=s.Gew(9);s.E7m("matMenuTriggerFor",u)}}function fr(b,d){if(1&b){const u=s.KQA();s.I0R(0,"div")(1,"mat-menu",null,1),s.yuY(3,Kn,4,2,"button",2),s.C$Y(),s.I0R(4,"mat-menu",null,3),s.yuY(6,Jn,5,0,"button",4)(7,$o,5,0,"button",4),s.C$Y(),s.I0R(8,"mat-menu",null,5),s.yuY(10,Eo,3,1,"button",6)(11,Do,3,1,"button",6),s.C$Y(),s.I0R(12,"div",7)(13,"div",8),s.qCj("click",function(){s.usT(u);const m=s.GaO();return s.CGJ(m.launch(null))}),s.wR5(14,"img",9),s.C$Y(),s.I0R(15,"div",10)(16,"span",11),s.OEk(17),s.C$Y()(),s.I0R(18,"div",12),s.yuY(19,hr,3,1,"button",13),s.C$Y()()()}if(2&b){const u=s.GaO();s.yG2(3),s.E7m("ngForOf",u.service.transports),s.yG2(3),s.E7m("ngIf",u.service.allow_users_remove),s.yG2(),s.E7m("ngIf",u.service.allow_users_reset),s.yG2(3),s.E7m("ngIf",u.showTransportsMenu()),s.yG2(),s.E7m("ngIf",u.hasActions()),s.yG2(),s.E7m("ngClass",u.serviceClass)("matTooltipDisabled",""===u.serviceTooltip)("matTooltip",u.serviceTooltip),s.yG2(2),s.E7m("src",u.serviceImage,s.K6U),s.yG2(2),s.E7m("ngClass",u.serviceNameClass),s.yG2(),s.cNF(u.serviceName),s.yG2(2),s.E7m("ngIf",u.hasMenu())}}let hi=(()=>{var b;class d{constructor(l){this.api=l,this.service={}}get serviceImage(){return this.api.galleryImageURL(this.service.imageId)}get serviceName(){let l=this.service.visual_name;return l.length>32&&(l=l.substring(0,29)+"..."),l}get serviceTooltip(){return null!==this.service.to_be_replaced?this.service.to_be_replaced_text:this.service.maintenance?django.gettext("Service is in maintenance"):this.service.not_accesible?this.service.custom_calendar_text:this.serviceName!==this.service.name?this.service.name:""}get serviceClass(){const l=["service"];return null!=this.service.to_be_replaced?l.push("tobereplaced"):this.service.maintenance?l.push("maintenance"):this.service.not_accesible?l.push("forbidden"):this.service.in_use&&l.push("inuse"),l.length>1&&l.push("alert"),l}get serviceNameClass(){const l=[],m=Math.min(4*Math.floor((this.service.visual_name.length-1)/4),28);return m>=16&&l.push("small-"+m.toString()),l}ngOnInit(){}getTransportIcon(l){return this.api.transportIconURL(l)}hasActions(){return this.service.allow_users_remove||this.service.allow_users_reset}showTransportsMenu(){return this.service.transports.length>1&&this.service.show_transports}hasMenu(){return!1===this.service.maintenance&&!1===this.service.not_accesible&&(this.hasActions()||this.showTransportsMenu())}notifyNotLaunching(l){this.api.gui.alert('

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

",l)}launch(l){var m=this;return(0,gn.c)(function*(){if(m.service.maintenance)m.notifyNotLaunching(django.gettext("Service is in maintenance and cannot be launched"));else if(m.service.not_accesible){const I=m.service.custom_calendar_text||m.api.config.messages.calendarDenied;m.notifyNotLaunching('

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

'+I+'

')}else{if((null===l||!1===m.service.show_transports)&&(l=m.service.transports[0]),null!=m.service.custom_message_text&&!1===(yield m.api.gui.yesno(django.gettext("Service message"),m.service.custom_message_text)))return;m.api.executeCustomJSForServiceLaunch(),m.api.launchURL(l.link)}})()}action(l){const m=("release"===l?django.gettext("Release service: "):django.gettext("Reset service: "))+" "+this.serviceName,I="release"===l?django.gettext("Service released"):django.gettext("Service reseted");this.api.gui.yesno(m,django.gettext("Are you sure?")).then(U=>{U&&this.api.action(l,this.service.id).then(oe=>{oe&&this.api.gui.alert(m,I)})})}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(z.G))},b.\u0275cmp=s.In1({type:b,selectors:[["uds-service"]],inputs:{service:"service"},decls:1,vars:1,consts:[[4,"ngIf"],["transports",""],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["actions",""],["mat-menu-item","",3,"click",4,"ngIf"],["menu",""],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["matTooltipShowDelay","1000","matTooltipPosition","above",3,"ngClass","matTooltipDisabled","matTooltip"],[1,"icon",3,"click"],[3,"src"],[1,"name"],[3,"ngClass"],[1,"menu"],["mat-icon-button","","class","service-menu",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"transport-item"],[1,"material-icons"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-icon-button","",1,"service-menu",3,"matMenuTriggerFor"]],template:function(l,m){1&l&&s.yuY(0,fr,20,12,"div",0),2&l&&s.E7m("ngIf",m.service.transports.length>0)},dependencies:[te.QF,te.ay,te.u_,cn.um,jt,q,Fi,oi,Ce.e],styles:['.service[_ngcontent-%COMP%]{width:10rem;margin:0 1rem 2rem 0;padding:.5rem 0 1rem;border-radius:1rem;box-shadow:0 12px 18px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-color:#00000038;display:flex;flex:1;align-items:center;justify-content:flex-start;flex-flow:column wrap;position:relative}.service-menu[_ngcontent-%COMP%]{border-radius:.6rem!important}.service[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px #00000040,0 10px 10px #00000038}.icon[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:center;transition:all .3s cubic-bezier(.25,.8,.25,1);width:6rem;height:6rem;margin:.5rem}.service[_ngcontent-%COMP%]:not(.forbidden):not(.maintenance):hover .icon[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.25,.8,.25,1);width:7rem;height:7rem;margin:0}.icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden}.forbidden[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .maintenance[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.5;z-index:10}.tobereplaced[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.7;z-index:10}.name[_ngcontent-%COMP%]{margin-top:.5em;font-size:1.05rem;width:calc(100% - 1em);display:flex;flex:1 0 auto;flex-flow:row;align-items:center;justify-content:center;padding:0 .5em;overflow:hidden;height:2.4em;text-align:center}.small-16[_ngcontent-%COMP%]{font-size:1.05rem}.small-20[_ngcontent-%COMP%]{font-size:1rem}.small-24[_ngcontent-%COMP%]{font-size:.95rem}.small-28[_ngcontent-%COMP%]{font-size:.9rem}.menu[_ngcontent-%COMP%]{position:absolute;top:2px;right:2px}.menu[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%]{cursor:pointer;background-color:#fffc}.menu[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1)}.transport-item[_ngcontent-%COMP%]{display:flex;align-items:center}.transport-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2em;margin-right:.4em}.alert[_ngcontent-%COMP%]:before{position:absolute;top:1rem;left:1rem;font-size:8rem;font-weight:500;font-family:Material Icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:"liga";text-shadow:0 6px 8px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);z-index:1}.forbidden[_ngcontent-%COMP%]:before{color:#fc0000;content:"update"}.maintenance[_ngcontent-%COMP%]:before{color:#fcb900;content:"build"}.tobereplaced[_ngcontent-%COMP%]:before{color:#fc0000;content:"delete_forever"} .dark-theme .menu .mat-mdc-icon-button{background-color:#0003!important}']}),d})();function Go(b,d){1&b&&s.wR5(0,"uds-service",8),2&b&&s.E7m("service",d.$implicit)}function tr(b,d){if(1&b&&(s.I0R(0,"mat-expansion-panel",1)(1,"mat-expansion-panel-header",2)(2,"mat-panel-title")(3,"div",3),s.wR5(4,"img",4),s.OEk(5),s.C$Y()(),s.I0R(6,"mat-panel-description",5),s.OEk(7),s.C$Y()(),s.I0R(8,"div",6),s.yuY(9,Go,1,1,"uds-service",7),s.C$Y()()),2&b){const u=s.GaO();s.E7m("expanded",u.expanded),s.yG2(),s.E7m("collapsedHeight","3rem")("expandedHeight","5rem"),s.yG2(3),s.E7m("src",u.groupImage,s.K6U),s.yG2(),s.oRS(" ",u.group.name,""),s.yG2(2),s.oRS(" ",u.group.comments," "),s.yG2(2),s.E7m("ngForOf",u.sortedServices)}}let pn=(()=>{var b;class d{constructor(l){this.api=l,this.services=[],this.group={},this.expanded=!1}get groupImage(){return this.api.galleryImageURL(this.group.imageUuid)}get hasVisibleServices(){return this.services.length>0}get sortedServices(){return this.services.sort((l,m)=>l.name>m.name?1:l.name{var b;class d{constructor(l){this.api=l}ngOnInit(){}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(z.G))},b.\u0275cmp=s.In1({type:b,selectors:[["uds-staff-info"]],decls:1,vars:1,consts:[["class","staff-info",4,"ngIf"],[1,"staff-info"],[1,"staff-panel"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(l,m){1&l&&s.yuY(0,_i,38,4,"div",0),2&l&&s.E7m("ngIf",m.api.staffInfo)},dependencies:[te.ay,te.u_,Mt,pe,Te,$e,dt,Ce.e],styles:[".staff-info[_ngcontent-%COMP%]{margin-top:1rem;padding:1rem;background-color:#ebebeb}.staff-info[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{text-align:center}.staff-panel[_ngcontent-%COMP%]{background-color:#d4d4d4} .dark-theme .staff-info{margin-top:1rem;padding:1rem;background-color:#0f0f0f} .dark-theme .staff-panel{background-color:#2b2b2b}"]}),d})();var ns=y(800),Oo=y(4680),is=y(9212),oo=y(6516),jn=y(7536);const Ct=["input"];let zt=(()=>{var b;class d{constructor(){this.updateEvent=new s._w7,this.input=void 0}ngAfterViewInit(){if(void 0===this.input)throw new Error("input atrribute is not provided");const l=this.input;(0,ns.w)(l.nativeElement,"keyup").pipe((0,pt.I)(Boolean),(0,Oo.o)(600),(0,me.a)(),(0,is.y)(()=>this.update(l.nativeElement.value))).subscribe()}update(l){this.updateEvent.emit(l.toLowerCase())}}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275cmp=s.In1({type:b,selectors:[["uds-filter"]],viewQuery:function(l,m){if(1&l&&s.CC$(Ct,7),2&l){let I;s.wto(I=s.Gqi())&&(m.input=I.first)}},outputs:{updateEvent:"updateEvent"},decls:9,vars:0,consts:[[1,"filter"],["floatLabel","auto",1,"nav-input-field"],["matInput","","type","text"],["input",""],["matSuffix","",1,"material-icons"]],template:function(l,m){1&l&&(s.I0R(0,"div",0)(1,"mat-form-field",1)(2,"mat-label")(3,"uds-translate"),s.OEk(4,"Filter"),s.C$Y()(),s.wR5(5,"input",2,3),s.I0R(7,"i",4),s.OEk(8,"search"),s.C$Y()()())},dependencies:[oo.Up,oo.w5,oo.Gm,jn.yi,Ce.e],styles:[".filter[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;justify-content:flex-end;font-size:.8rem}"]}),d})();function ei(b,d){if(1&b){const u=s.KQA();s.I0R(0,"uds-filter",3),s.qCj("updateEvent",function(m){s.usT(u);const I=s.GaO();return s.CGJ(I.update(m))}),s.C$Y()}}function Li(b,d){if(1&b&&s.wR5(0,"uds-services-group",4),2&b){const u=d.$implicit,l=d.index;s.E7m("services",u.services)("group",u.group)("expanded",0===l)}}function Ai(b,d){if(1&b){const u=s.KQA();s.I0R(0,"uds-filter",3),s.qCj("updateEvent",function(m){s.usT(u);const I=s.GaO();return s.CGJ(I.update(m))}),s.C$Y()}}class ci{constructor(d){this.group=d,this.services=[]}}let fo=(()=>{var b;class d{constructor(l){this.api=l,this.servicesInformation={autorun:!1,ip:"",nets:"",services:[],transports:""},this.group=[]}update(l){this.updateServices(l)}ngOnInit(){this.api.config.urls.launch?this.api.logout():this.loadServices()}autorun(){if(this.servicesInformation.autorun&&1===this.servicesInformation.services.length){if(!this.servicesInformation.services[0].maintenance)return this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(this.servicesInformation.services[0].transports[0].link),!0;this.api.gui.alert(django.gettext("Warning"),django.gettext("Service is in maintenance and cannot be executed"))}return!1}loadServices(){this.api.user.isRestricted&&this.api.logout(),this.api.getServicesInformation().then(l=>{this.servicesInformation=l,this.autorun(),this.updateServices()})}updateServices(l=""){this.group=[];let m=null;this.servicesInformation.services.filter(I=>!l||I.visual_name.toLowerCase().includes(l)||I.group.name.toLowerCase().includes(l)).sort((I,U)=>I.group.priority!==U.group.priority?I.group.priority-U.group.priority:I.group.id>U.group.id?1:I.group.id{(null===m||I.group.id!==m.group.id)&&(null!==m&&this.group.push(m),m=new ci(I.group)),m.services.push(I)}),null!==m&&this.group.push(m)}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(z.G))},b.\u0275cmp=s.In1({type:b,selectors:[["uds-services-page"]],decls:6,vars:3,consts:[[3,"updateEvent",4,"ngIf"],[1,"services-groups"],[3,"services","group","expanded",4,"ngFor","ngForOf"],[3,"updateEvent"],[3,"services","group","expanded"]],template:function(l,m){1&l&&(s.yuY(0,ei,1,0,"uds-filter",0),s.I0R(1,"div",1)(2,"mat-accordion"),s.yuY(3,Li,1,3,"uds-services-group",2),s.C$Y()(),s.yuY(4,Ai,1,0,"uds-filter",0),s.wR5(5,"uds-staff-info")),2&l&&(s.E7m("ngIf",m.servicesInformation.services.length>=m.api.config.min_for_filter&&m.api.config.site_filter_on_top),s.yG2(3),s.E7m("ngForOf",m.group),s.yG2(),s.E7m("ngIf",m.servicesInformation.services.length>=m.api.config.min_for_filter&&!m.api.config.site_filter_on_top))},dependencies:[te.ay,te.u_,Mt,pn,ts,zt],styles:[".services-groups[_ngcontent-%COMP%]{padding-top:1rem}"]}),d})(),Ln=(()=>{var b;class d{constructor(l,m){this.api=l,this.route=m,this.error="",this.returnUrl="/"}ngOnInit(){var l=this;return(0,gn.c)(function*(){yield l.getError()})()}getError(){var l=this;return(0,gn.c)(function*(){const m=l.route.snapshot.paramMap.get("id")||"-1";"19"===m&&(l.returnUrl="/mfa"),l.error=(yield l.api.getErrorInformation(m)).error})()}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(z.G),s.GI1(ce.gV))},b.\u0275cmp=s.In1({type:b,selectors:[["uds-error"]],decls:14,vars:2,consts:[[1,"error-container"],[1,"graph"],["viewBox","0 0 55 41","xmlns","http://www.w3.org/2000/svg",1,"bird"],["d","M35.5 5L54.7.6H32.3L35.5 5zM12.4 40.8l10.3-10.1-6.2-6.7-4.1 16.8zM33.8 5.3L30.5.8l-5.4 4 8.7.5zM20.8 4.6L8.8 0l1.9 4.1 10.1.5zM0 5l15.2 15.4 7.5-14.2L0 5zM34.2 6.8l-9.9-.5-8 15.2 7.4 8.1 8-7.9 2.5-14.9z"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 32 32",1,"gears"],["d","M29.18 19.07c-1.678-2.908-.668-6.634 2.256-8.328L28.29 5.295c-.897.527-1.942.83-3.057.83-3.36 0-6.085-2.743-6.085-6.126h-6.29c.01 1.043-.25 2.102-.81 3.07-1.68 2.907-5.41 3.896-8.34 2.21L.566 10.727c.905.515 1.69 1.268 2.246 2.234 1.677 2.904.673 6.624-2.24 8.32l3.145 5.447c.895-.522 1.935-.82 3.044-.82 3.35 0 6.066 2.725 6.083 6.092h6.29c-.004-1.035.258-2.08.81-3.04 1.676-2.902 5.4-3.893 8.325-2.218l3.145-5.447c-.9-.515-1.678-1.266-2.232-2.226zM16 22.48c-3.578 0-6.48-2.902-6.48-6.48S12.423 9.52 16 9.52c3.578 0 6.48 2.902 6.48 6.48s-2.902 6.48-6.48 6.48z"],[1,"title"],[1,"description"],["mat-raised-button","","color","warn",3,"routerLink"]],template:function(l,m){1&l&&(s.I0R(0,"div",0)(1,"div",1),s.S2Z(),s.I0R(2,"svg",2),s.wR5(3,"path",3),s.C$Y(),s.I0R(4,"svg",4),s.wR5(5,"path",5),s.C$Y()(),s.gRP(),s.I0R(6,"h1",6)(7,"uds-translate"),s.OEk(8,"An error has occurred"),s.C$Y()(),s.I0R(9,"p",7),s.OEk(10),s.C$Y(),s.I0R(11,"a",8)(12,"uds-translate"),s.OEk(13,"Return"),s.C$Y()()()),2&l&&(s.yG2(10),s.oRS(" ",m.error," "),s.yG2(),s.E7m("routerLink",m.returnUrl))},dependencies:[ce.ER,cn.EB,Ce.e],styles:[".error-container[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;position:relative}.title[_ngcontent-%COMP%]{display:block;font-size:2rem;font-weight:lighter;text-align:center}.description[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:lighter}.graph[_ngcontent-%COMP%]{position:relative}.gears[_ngcontent-%COMP%]{width:10rem;height:10rem;fill:#6aafe6;transition:easeInOutQuint();animation:_ngcontent-%COMP%_CogAnimation 5s infinite}.bird[_ngcontent-%COMP%]{position:absolute;width:3rem;height:3rem;fill:#30a9de;left:50%;top:50%;transform:translate(-50%,-50%)}@keyframes _ngcontent-%COMP%_CogAnimation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]}),d})(),Di=(()=>{var b;class d{constructor(l){this.api=l,this.year=(new Date).getFullYear()}ngOnInit(){this.year<2021&&(this.year=2021)}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(z.G))},b.\u0275cmp=s.In1({type:b,selectors:[["uds-about"]],decls:46,vars:3,consts:[[1,"about"],["rel","noopener noreferrer","href","http://www.udsenterprise.com","target","_blank"],["rel","noopener noreferrer","href","https://github.com/dkmstr/openuds","target","_blank"],[1,"components"],["rel","noopener noreferrer","href","https://www.python.org/","target","_blank"],["rel","noopener noreferrer","href","https://www.typescriptlang.org/","target","_blank"],["rel","noopener noreferrer","href","https://www.djangoproject.com/","target","_blank"],["rel","noopener noreferrer","href","https://angular.io","target","_blank"],["rel","noopener noreferrer","href","https://guac-dev.org/","target","_blank"],["rel","noopener noreferrer","href","https://weasyprint.org/","target","_blank"],["rel","noopener noreferrer","href","https://kde-look.org/content/show.php/Crystal+Project?content=60475)","target","_blank"],["rel","noopener noreferrer","href","https://github.com/NitruxSA/flattr-icons","target","_blank"]],template:function(l,m){1&l&&(s.I0R(0,"div",0)(1,"h1"),s.OEk(2),s.C$Y(),s.I0R(3,"h3")(4,"a",1),s.OEk(5),s.C$Y()(),s.I0R(6,"h4")(7,"uds-translate"),s.OEk(8,"You can access UDS Open Source code at"),s.C$Y(),s.OEk(9,"\xa0"),s.I0R(10,"a",2),s.OEk(11,"OpenUDS github repository"),s.C$Y()(),s.I0R(12,"div",3)(13,"h2")(14,"uds-translate"),s.OEk(15,"UDS has been developed using these components:"),s.C$Y()(),s.I0R(16,"ul")(17,"li")(18,"a",4),s.OEk(19,"Python"),s.C$Y()(),s.I0R(20,"li")(21,"a",5),s.OEk(22,"TypeScript"),s.C$Y()(),s.I0R(23,"li")(24,"a",6),s.OEk(25,"Django"),s.C$Y()(),s.I0R(26,"li")(27,"a",7),s.OEk(28,"Angular"),s.C$Y()(),s.I0R(29,"li")(30,"a",8),s.OEk(31,"Guacamole"),s.C$Y()(),s.I0R(32,"li")(33,"a",9),s.OEk(34,"weasyprint"),s.C$Y()(),s.I0R(35,"li")(36,"a",10),s.OEk(37,"Crystal project icons"),s.C$Y()(),s.I0R(38,"li")(39,"a",11),s.OEk(40,"Flattr Icons"),s.C$Y()()(),s.I0R(41,"p")(42,"small"),s.OEk(43,"* "),s.I0R(44,"uds-translate"),s.OEk(45,"If you find that we missed any component, please let us know"),s.C$Y()()()()()),2&l&&(s.yG2(2),s.CAO("Universal Desktop Services ",m.api.config.version," build ",m.api.config.version_stamp,""),s.yG2(3),s.oRS(" \xa9 2012-",m.year," Virtual Cable S.L.U."))},dependencies:[Ce.e],styles:["[_nghost-%COMP%]{display:flex;flex-flow:column;justify-content:center;align-items:center}.about[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{text-align:center}.about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:center;font-size:1em;font-weight:400}.about[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{padding:0}ul[_ngcontent-%COMP%]{list-style:none}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;text-decoration:none;color:#000;background-color:#fff;line-height:30px;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#ccc;padding-left:10px;cursor:pointer}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#3e6b2d}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:10px} .dark-theme .about{color:#fff!important} .dark-theme ul li a{color:#fff!important;background-color:inherit!important} .dark-theme ul li a:hover{color:#3e6b2d!important}"]}),d})(),Bi=(()=>{var b;class d{constructor(l){this.api=l}ngOnInit(){this.api.config.urls.launch&&this.api.launchURL(this.api.config.urls.launch)}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(z.G))},b.\u0275cmp=s.In1({type:b,selectors:[["uds-launcher"]],decls:24,vars:0,consts:[[1,"launcher"],[1,"launcher-box"],["routerLink","/client-download"]],template:function(l,m){1&l&&(s.I0R(0,"div",0)(1,"div",1)(2,"h1")(3,"uds-translate"),s.OEk(4,"UDS Service launcher"),s.C$Y()(),s.I0R(5,"h4")(6,"uds-translate"),s.OEk(7,"The service you have requested is being launched."),s.C$Y()(),s.I0R(8,"h5")(9,"uds-translate"),s.OEk(10,"Please, note that reloading this page will not work."),s.C$Y()(),s.I0R(11,"h5")(12,"uds-translate"),s.OEk(13,"To relaunch service, you will have to do it from origin."),s.C$Y()(),s.I0R(14,"h6")(15,"uds-translate"),s.OEk(16,"If the service does not launchs automatically, probably you dont have the UDS Client installed"),s.C$Y()(),s.I0R(17,"h6")(18,"uds-translate"),s.OEk(19,"You can obtain it from the"),s.C$Y(),s.OEk(20,"\xa0"),s.I0R(21,"a",2)(22,"uds-translate"),s.OEk(23,"UDS Client download page"),s.C$Y()()()()())},dependencies:[ce.ER,Ce.e],styles:[".launcher[_ngcontent-%COMP%]{justify-content:center;display:flex;margin-top:1rem;font-size:larger}.launcher-box[_ngcontent-%COMP%]{box-shadow:0 12px 18px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-radius:.5rem;border-color:#00000038;padding:1rem}.launcher-box[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{text-align:center}.launcher-box[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{margin-top:.6rem;margin-bottom:.6rem;font-weight:400}"]}),d})();var Wt=y(4716);const mo=["input"],pr=["label"],Ho=["*"],Hn=new s.UbH("mat-checkbox-default-options",{providedIn:"root",factory:ko});function ko(){return{color:"accent",clickAction:"check-indeterminate"}}var zn=function(b){return b[b.Init=0]="Init",b[b.Checked=1]="Checked",b[b.Unchecked=2]="Unchecked",b[b.Indeterminate=3]="Indeterminate",b}(zn||{});const Zi={provide:Wt.Y6,useExisting:(0,s.wd)(()=>ir),multi:!0};class nr{}let wo=0;const po=ko();let ir=(()=>{var b;class d{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(l){const m=new nr;return m.source=this,m.checked=l,m}_getAnimationTargetElement(){var l;return null===(l=this._inputElement)||void 0===l?void 0:l.nativeElement}get inputId(){return"".concat(this.id||this._uniqueId,"-input")}constructor(l,m,I,U,oe,Fe){this._elementRef=l,this._changeDetectorRef=m,this._ngZone=I,this._animationMode=oe,this._options=Fe,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new s._w7,this.indeterminateChange=new s._w7,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=zn.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||po,this.color=this._options.color||po.color,this.tabIndex=parseInt(U)||0,this.id=this._uniqueId="mat-mdc-checkbox-".concat(++wo)}ngOnChanges(l){l.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(l){l!=this.checked&&(this._checked=l,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(l){l!==this.disabled&&(this._disabled=l,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(l){const m=l!=this._indeterminate;this._indeterminate=l,m&&(this._transitionCheckState(this._indeterminate?zn.Indeterminate:this.checked?zn.Checked:zn.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(l){this.checked=!!l}registerOnChange(l){this._controlValueAccessorChangeFn=l}registerOnTouched(l){this._onTouched=l}setDisabledState(l){this.disabled=l}validate(l){return this.required&&!0!==l.value?{required:!0}:null}registerOnValidatorChange(l){this._validatorChangeFn=l}_transitionCheckState(l){let m=this._currentCheckState,I=this._getAnimationTargetElement();if(m!==l&&I&&(this._currentAnimationClass&&I.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(m,l),this._currentCheckState=l,this._currentAnimationClass.length>0)){I.classList.add(this._currentAnimationClass);const U=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{I.classList.remove(U)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){var l;const m=null===(l=this._options)||void 0===l?void 0:l.clickAction;this.disabled||"noop"===m?!this.disabled&&"noop"===m&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==m&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?zn.Checked:zn.Unchecked),this._emitChangeEvent())}_onInteractionEvent(l){l.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(l,m){if("NoopAnimations"===this._animationMode)return"";switch(l){case zn.Init:if(m===zn.Checked)return this._animationClasses.uncheckedToChecked;if(m==zn.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case zn.Unchecked:return m===zn.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case zn.Checked:return m===zn.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case zn.Indeterminate:return m===zn.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(l){const m=this._inputElement;m&&(m.nativeElement.indeterminate=l)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(l){l.target&&this._labelElement.nativeElement.contains(l.target)&&l.stopPropagation()}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(s.GMv),s.GI1(s.kD9),s.GI1(s.WW2),s.gJ8("tabindex"),s.GI1(s.qwP,8),s.GI1(Hn,8))},b.\u0275cmp=s.In1({type:b,selectors:[["mat-checkbox"]],viewQuery:function(l,m){if(1&l&&(s.CC$(mo,5),s.CC$(pr,5),s.CC$(re.UZ,5)),2&l){let I;s.wto(I=s.Gqi())&&(m._inputElement=I.first),s.wto(I=s.Gqi())&&(m._labelElement=I.first),s.wto(I=s.Gqi())&&(m.ripple=I.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(l,m){2&l&&(s.SoX("id",m.id),s.e48("tabindex",null)("aria-label",null)("aria-labelledby",null),s.m8U(m.color?"mat-"+m.color:"mat-accent"),s.eAK("_mat-animation-noopable","NoopAnimations"===m._animationMode)("mdc-checkbox--disabled",m.disabled)("mat-mdc-checkbox-disabled",m.disabled)("mat-mdc-checkbox-checked",m.checked))},inputs:{ariaLabel:[s.Wk5.None,"aria-label","ariaLabel"],ariaLabelledby:[s.Wk5.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[s.Wk5.None,"aria-describedby","ariaDescribedby"],id:"id",required:[s.Wk5.HasDecoratorInputTransform,"required","required",s.cZD],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[s.Wk5.HasDecoratorInputTransform,"disableRipple","disableRipple",s.cZD],tabIndex:[s.Wk5.HasDecoratorInputTransform,"tabIndex","tabIndex",u=>null==u?void 0:(0,s.cJ3)(u)],color:"color",checked:[s.Wk5.HasDecoratorInputTransform,"checked","checked",s.cZD],disabled:[s.Wk5.HasDecoratorInputTransform,"disabled","disabled",s.cZD],indeterminate:[s.Wk5.HasDecoratorInputTransform,"indeterminate","indeterminate",s.cZD]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[s.M5G([Zi,{provide:Wt.WM,useExisting:b,multi:!0}]),s.QJr,s.SYr,s.UHJ],ngContentSelectors:Ho,decls:15,vars:19,consts:[["mat-internal-form-field","",3,"labelPosition","click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"],["label",""]],template:function(l,m){if(1&l&&(s.kPM(),s.I0R(0,"div",0),s.qCj("click",function(U){return m._preventBubblingFromLabel(U)}),s.I0R(1,"div",1,2)(3,"div",3),s.qCj("click",function(){return m._onTouchTargetClick()}),s.C$Y(),s.I0R(4,"input",4,5),s.qCj("blur",function(){return m._onBlur()})("click",function(){return m._onInputClick()})("change",function(U){return m._onInteractionEvent(U)}),s.C$Y(),s.wR5(6,"div",6),s.I0R(7,"div",7),s.S2Z(),s.I0R(8,"svg",8),s.wR5(9,"path",9),s.C$Y(),s.gRP(),s.wR5(10,"div",10),s.C$Y(),s.wR5(11,"div",11),s.C$Y(),s.I0R(12,"label",12,13),s._Xx(14),s.C$Y()()),2&l){const I=s.Gew(2);s.E7m("labelPosition",m.labelPosition),s.yG2(4),s.eAK("mdc-checkbox--selected",m.checked),s.E7m("checked",m.checked)("indeterminate",m.indeterminate)("disabled",m.disabled)("id",m.inputId)("required",m.required)("tabIndex",m.disabled?-1:m.tabIndex),s.e48("aria-label",m.ariaLabel||null)("aria-labelledby",m.ariaLabelledby)("aria-describedby",m.ariaDescribedby)("aria-checked",m.indeterminate?"mixed":null)("name",m.name)("value",m.value),s.yG2(7),s.E7m("matRippleTrigger",I)("matRippleDisabled",m.disableRipple||m.disabled)("matRippleCentered",!0),s.yG2(),s.E7m("for",m.inputId)}},dependencies:[re.UZ,re.qI],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__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%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__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-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),d})(),zo=(()=>{var b;class d{}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275mod=s.a4G({type:b}),b.\u0275inj=s.s3X({imports:[ir,re.AN,re.AN]}),d})();function wi(b,d){if(1&b&&(s.I0R(0,"div",6)(1,"mat-checkbox",14)(2,"uds-translate"),s.OEk(3,"Remember me for"),s.C$Y(),s.OEk(4),s.C$Y()()),2&b){const u=s.GaO();s.yG2(4),s.oRS(" ",u.api.config.mfa.remember_device," ")}}function or(b,d){1&b&&s.wR5(0,"input",15)}const fi=[{path:"",redirectTo:"services",pathMatch:"full"},{path:"services",component:fo,canActivate:[ae]},{path:"login",component:ve.E},{path:"login/:id",component:ve.E},{path:"mfa",component:(()=>{var b;class d{constructor(l){this.api=l}ngOnInit(){document.getElementById("mfaform").action=this.api.config.urls.mfa,this.api.user.isLogged&&this.api.router.navigate(["/"]),this.api.errors.length>0&&this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")}launch(){return document.getElementById("mfaform").submit(),!0}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(z.G))},b.\u0275cmp=s.In1({type:b,selectors:[["uds-mfa"]],decls:22,vars:7,consts:[["id","mfaform","method","post",3,"ngSubmit"],[1,"mfa-container"],[1,"mfa-brand"],[3,"src"],[1,"mfa-info"],[1,"mfa-form"],[1,"mfa-field"],["matInput","","id","code","name","code","value","","required","","autofocus",""],["class","mfa-field",4,"ngIf"],["type","hidden","name","remember","value","0",4,"ngIf"],[1,"mfa-button"],["mat-stroked-button","","color","primary","type","submit"],[1,"mfa-html-container"],[1,"mfa-html",3,"innerHtml"],["id","remember","name","remember"],["type","hidden","name","remember","value","0"]],template:function(l,m){1&l&&(s.I0R(0,"form",0),s.qCj("ngSubmit",function(){return m.launch()}),s.I0R(1,"div",1)(2,"div",2),s.wR5(3,"img",3),s.C$Y(),s.I0R(4,"div",4)(5,"uds-translate"),s.OEk(6,"Login Verification"),s.C$Y()(),s.I0R(7,"div",5)(8,"div",6)(9,"mat-form-field")(10,"mat-label"),s.OEk(11),s.C$Y(),s.wR5(12,"input",7),s.C$Y()(),s.yuY(13,wi,5,1,"div",8)(14,or,1,0,"input",9),s.I0R(15,"div",10)(16,"button",11)(17,"uds-translate"),s.OEk(18,"Submit"),s.C$Y()()()()()(),s.I0R(19,"div",12),s.wR5(20,"div",13),s.wVc(21,"safeHtml"),s.C$Y()),2&l&&(s.yG2(3),s.E7m("src",m.api.staticURL("modern/img/login-img.png"),s.K6U),s.yG2(8),s.oRS(" ",m.api.config.mfa.label," "),s.yG2(2),s.E7m("ngIf",""!==m.api.config.mfa.remember_device),s.yG2(),s.E7m("ngIf",""===m.api.config.mfa.remember_device),s.yG2(6),s.E7m("innerHtml",s.kDX(21,5,m.api.config.mfa.html),s.E3n))},dependencies:[te.u_,Wt.sz,Wt.u,Wt.SC,cn.Gw,oo.Up,oo.w5,jn.yi,ir,Ce.e,et.K],styles:[".mfa-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.mfa-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;box-shadow:0 2px 2px #00000024,0 3px 1px -2px #0000001f,0 1px 5px #0003;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.mfa-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.mfa-button[_ngcontent-%COMP%]{margin:2rem}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.mfa-info[_ngcontent-%COMP%]{margin:1rem}.mfa-html-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center;margin:1rem}@media only screen and (max-width: 744px){.mfa-form[_ngcontent-%COMP%]{min-width:80%}}"]}),d})()},{path:"client-download",component:Pe},{path:"downloads",component:Be,canActivate:[ae]},{path:"error/:id",component:Ln},{path:"about",component:Di},{path:"ticket/launcher",component:Bi},{path:"**",redirectTo:"services"}];let Wo=(()=>{var b;class d{}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275mod=s.a4G({type:b}),b.\u0275inj=s.s3X({imports:[ce.qQ.forRoot(fi,{}),ce.qQ]}),d})();function _o(b){return new s.OBp(3e3,!1)}function Ko(b){switch(b.length){case 0:return new qe.kP;case 1:return b[0];default:return new qe.Wq(b)}}function Cr(b,d,u=new Map,l=new Map){const m=[],I=[];let U=-1,oe=null;if(d.forEach(Fe=>{const rt=Fe.get("offset"),It=rt==U,St=It&&oe||new Map;Fe.forEach((fn,qt)=>{let tn=qt,Cn=fn;if("offset"!==qt)switch(tn=b.normalizePropertyName(tn,m),Cn){case qe.aM:Cn=u.get(qt);break;case qe.AN:Cn=l.get(qt);break;default:Cn=b.normalizeStyleValue(qt,tn,Cn,m)}St.set(tn,Cn)}),It||I.push(St),oe=St,U=rt}),m.length)throw function E(b){return new s.OBp(3502,!1)}();return I}function sr(b,d,u,l){switch(d){case"start":b.onStart(()=>l(u&&Ni(u,"start",b)));break;case"done":b.onDone(()=>l(u&&Ni(u,"done",b)));break;case"destroy":b.onDestroy(()=>l(u&&Ni(u,"destroy",b)))}}function Ni(b,d,u){const l=u.totalTime,I=xr(b.element,b.triggerName,b.fromState,b.toState,d||b.phaseName,null==l?b.totalTime:l,!!u.disabled),U=b._data;return null!=U&&(I._data=U),I}function xr(b,d,u,l,m="",I=0,U){return{element:b,triggerName:d,fromState:u,toState:l,phaseName:m,totalTime:I,disabled:!!U}}function vi(b,d,u){let l=b.get(d);return l||b.set(d,l=u),l}function ca(b){const d=b.indexOf(":");return[b.substring(1,d),b.slice(d+1)]}const ro=typeof document>"u"?null:document.documentElement;function Yo(b){const d=b.parentNode||b.host||null;return d===ro?null:d}let No=null,jr=!1;function ws(b,d){for(;d;){if(d===b)return!0;d=Yo(d)}return!1}function Fo(b,d,u){if(u)return Array.from(b.querySelectorAll(d));const l=b.querySelector(d);return l?[l]:[]}let as=(()=>{var b;class d{validateStyleProperty(l){return function Er(b){No||(No=function ss(){return typeof document<"u"?document.body:null}()||{},jr=!!No.style&&"WebkitAppearance"in No.style);let d=!0;return No.style&&!function Na(b){return"ebkit"==b.substring(1,6)}(b)&&(d=b in No.style,!d&&jr&&(d="Webkit"+b.charAt(0).toUpperCase()+b.slice(1)in No.style)),d}(l)}matchesElement(l,m){return!1}containsElement(l,m){return ws(l,m)}getParentElement(l){return Yo(l)}query(l,m,I){return Fo(l,m,I)}computeStyle(l,m,I){return I||""}animate(l,m,I,U,oe,Fe=[],rt){return new qe.kP(I,U)}}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275prov=s.wxM({token:b,factory:b.\u0275fac}),d})();class $r{}$r.NOOP=new as;class Vs{}const La=1e3,$s="ng-enter",ls="ng-leave",cs="ng-trigger",Hr=".ng-trigger",Ba="ng-animating",at=".ng-animating";function _n(b){if("number"==typeof b)return b;const d=b.match(/^(-?[\.\d]+)(m?s)/);return!d||d.length<2?0:ds(parseFloat(d[1]),d[2])}function ds(b,d){return"s"===d?b*La:b}function zr(b,d,u){return b.hasOwnProperty("duration")?b:function Gn(b,d,u){let m,I=0,U="";if("string"==typeof b){const oe=b.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===oe)return d.push(_o()),{duration:0,delay:0,easing:""};m=ds(parseFloat(oe[1]),oe[2]);const Fe=oe[3];null!=Fe&&(I=ds(parseFloat(Fe),oe[4]));const rt=oe[5];rt&&(U=rt)}else m=b;if(!u){let oe=!1,Fe=d.length;m<0&&(d.push(function Mo(){return new s.OBp(3100,!1)}()),oe=!0),I<0&&(d.push(function Ui(){return new s.OBp(3101,!1)}()),oe=!0),oe&&d.splice(Fe,0,_o())}return{duration:m,delay:I,easing:U}}(b,d,u)}function Oi(b,d,u){d.forEach((l,m)=>{const I=Ms(m);u&&!u.has(m)&&u.set(m,b.style[I]),b.style[I]=l})}function Io(b,d){d.forEach((u,l)=>{const m=Ms(l);b.style[m]=""})}function ar(b){return Array.isArray(b)?1==b.length?b[0]:(0,qe.iC)(b):b}const Dr=new RegExp("".concat("{{","\\s*(.+?)\\s*").concat("}}"),"g");function lr(b){let d=[];if("string"==typeof b){let u;for(;u=Dr.exec(b);)d.push(u[1]);Dr.lastIndex=0}return d}function bi(b,d,u){const l="".concat(b),m=l.replace(Dr,(I,U)=>{let oe=d[U];return null==oe&&(u.push(function Xi(b){return new s.OBp(3003,!1)}()),oe=""),oe.toString()});return m==l?b:m}const so=/-+([a-z0-9])/g;function Ms(b){return b.replace(so,(...d)=>d[1].toUpperCase())}function Z(b,d,u){switch(d.type){case qe.m0.Trigger:return b.visitTrigger(d,u);case qe.m0.State:return b.visitState(d,u);case qe.m0.Transition:return b.visitTransition(d,u);case qe.m0.Sequence:return b.visitSequence(d,u);case qe.m0.Group:return b.visitGroup(d,u);case qe.m0.Animate:return b.visitAnimate(d,u);case qe.m0.Keyframes:return b.visitKeyframes(d,u);case qe.m0.Style:return b.visitStyle(d,u);case qe.m0.Reference:return b.visitReference(d,u);case qe.m0.AnimateChild:return b.visitAnimateChild(d,u);case qe.m0.AnimateRef:return b.visitAnimateRef(d,u);case qe.m0.Query:return b.visitQuery(d,u);case qe.m0.Stagger:return b.visitStagger(d,u);default:throw function Es(b){return new s.OBp(3004,!1)}()}}function M(b,d){return window.getComputedStyle(b)[d]}const j=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 ue extends Vs{normalizePropertyName(d,u){return Ms(d)}normalizeStyleValue(d,u,l,m){let I="";const U=l.toString().trim();if(j.has(u)&&0!==l&&"0"!==l)if("number"==typeof l)I="px";else{const oe=l.match(/^[+-]?[\d\.]+([a-z]*)$/);oe&&0==oe[1].length&&m.push(function Po(b,d){return new s.OBp(3005,!1)}())}return U+I}}const Un="*";const Vi=new Set(["true","1"]),Bo=new Set(["false","0"]);function Pn(b,d){const u=Vi.has(b)||Bo.has(b),l=Vi.has(d)||Bo.has(d);return(m,I)=>{let U=b==Un||b==m,oe=d==Un||d==I;return!U&&u&&"boolean"==typeof m&&(U=m?Vi.has(b):Bo.has(b)),!oe&&l&&"boolean"==typeof I&&(oe=I?Vi.has(d):Bo.has(d)),U&&oe}}const Fn=new RegExp("s*".concat(":self","s*,?"),"g");function ao(b,d,u,l){return new Va(b).build(d,u,l)}class Va{constructor(d){this._driver=d}build(d,u,l){const m=new Ll(u);return this._resetContextStyleTimingState(m),Z(this,ar(d),m)}_resetContextStyleTimingState(d){d.currentQuerySelector="",d.collectedStyles=new Map,d.collectedStyles.set("",new Map),d.currentTime=0}visitTrigger(d,u){let l=u.queryCount=0,m=u.depCount=0;const I=[],U=[];return"@"==d.name.charAt(0)&&u.errors.push(function Ns(){return new s.OBp(3006,!1)}()),d.definitions.forEach(oe=>{if(this._resetContextStyleTimingState(u),oe.type==qe.m0.State){const Fe=oe,rt=Fe.name;rt.toString().split(/\s*,\s*/).forEach(It=>{Fe.name=It,I.push(this.visitState(Fe,u))}),Fe.name=rt}else if(oe.type==qe.m0.Transition){const Fe=this.visitTransition(oe,u);l+=Fe.queryCount,m+=Fe.depCount,U.push(Fe)}else u.errors.push(function os(){return new s.OBp(3007,!1)}())}),{type:qe.m0.Trigger,name:d.name,states:I,transitions:U,queryCount:l,depCount:m,options:null}}visitState(d,u){const l=this.visitStyle(d.styles,u),m=d.options&&d.options.params||null;if(l.containsDynamicStyles){const I=new Set,U=m||{};l.styles.forEach(oe=>{oe instanceof Map&&oe.forEach(Fe=>{lr(Fe).forEach(rt=>{U.hasOwnProperty(rt)||I.add(rt)})})}),I.size&&u.errors.push(function rs(b,d){return new s.OBp(3008,!1)}(0,I.values()))}return{type:qe.m0.State,name:d.name,style:l,options:m?{params:m}:null}}visitTransition(d,u){u.queryCount=0,u.depCount=0;const l=Z(this,ar(d.animation),u),m=function Rn(b,d){const u=[];return"string"==typeof b?b.split(/\s*,\s*/).forEach(l=>function yi(b,d,u){if(":"==b[0]){const Fe=function Lo(b,d){switch(b){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(u,l)=>parseFloat(l)>parseFloat(u);case":decrement":return(u,l)=>parseFloat(l) *"}}(b,u);if("function"==typeof Fe)return void d.push(Fe);b=Fe}const l=b.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==l||l.length<4)return u.push(function Ur(b){return new s.OBp(3015,!1)}()),d;const m=l[1],I=l[2],U=l[3];d.push(Pn(m,U)),"<"==I[0]&&(m!=Un||U!=Un)&&d.push(Pn(U,m))}(l,u,d)):u.push(b),u}(d.expr,u.errors);return{type:qe.m0.Transition,matchers:m,animation:l,queryCount:u.queryCount,depCount:u.depCount,options:wr(d.options)}}visitSequence(d,u){return{type:qe.m0.Sequence,steps:d.steps.map(l=>Z(this,l,u)),options:wr(d.options)}}visitGroup(d,u){const l=u.currentTime;let m=0;const I=d.steps.map(U=>{u.currentTime=l;const oe=Z(this,U,u);return m=Math.max(m,u.currentTime),oe});return u.currentTime=m,{type:qe.m0.Group,steps:I,options:wr(d.options)}}visitAnimate(d,u){const l=function Zo(b,d){if(b.hasOwnProperty("duration"))return b;if("number"==typeof b)return Kr(zr(b,d).duration,0,"");const u=b;if(u.split(/\s+/).some(I=>"{"==I.charAt(0)&&"{"==I.charAt(1))){const I=Kr(0,0,"");return I.dynamic=!0,I.strValue=u,I}const m=zr(u,d);return Kr(m.duration,m.delay,m.easing)}(d.timings,u.errors);u.currentAnimateTimings=l;let m,I=d.styles?d.styles:(0,qe.wb)({});if(I.type==qe.m0.Keyframes)m=this.visitKeyframes(I,u);else{let U=d.styles,oe=!1;if(!U){oe=!0;const rt={};l.easing&&(rt.easing=l.easing),U=(0,qe.wb)(rt)}u.currentTime+=l.duration+l.delay;const Fe=this.visitStyle(U,u);Fe.isEmptyStep=oe,m=Fe}return u.currentAnimateTimings=null,{type:qe.m0.Animate,timings:l,style:m,options:null}}visitStyle(d,u){const l=this._makeStyleAst(d,u);return this._validateStyleAst(l,u),l}_makeStyleAst(d,u){const l=[],m=Array.isArray(d.styles)?d.styles:[d.styles];for(let oe of m)"string"==typeof oe?oe===qe.AN?l.push(oe):u.errors.push(new s.OBp(3002,!1)):l.push(new Map(Object.entries(oe)));let I=!1,U=null;return l.forEach(oe=>{if(oe instanceof Map&&(oe.has("easing")&&(U=oe.get("easing"),oe.delete("easing")),!I))for(let Fe of oe.values())if(Fe.toString().indexOf("{{")>=0){I=!0;break}}),{type:qe.m0.Style,styles:l,easing:U,offset:d.offset,containsDynamicStyles:I,options:null}}_validateStyleAst(d,u){const l=u.currentAnimateTimings;let m=u.currentTime,I=u.currentTime;l&&I>0&&(I-=l.duration+l.delay),d.styles.forEach(U=>{"string"!=typeof U&&U.forEach((oe,Fe)=>{const rt=u.collectedStyles.get(u.currentQuerySelector),It=rt.get(Fe);let St=!0;It&&(I!=m&&I>=It.startTime&&m<=It.endTime&&(u.errors.push(function sa(b,d,u,l,m){return new s.OBp(3010,!1)}()),St=!1),I=It.startTime),St&&rt.set(Fe,{startTime:I,endTime:m}),u.options&&function Ua(b,d,u){const l=d.params||{},m=lr(b);m.length&&m.forEach(I=>{l.hasOwnProperty(I)||u.push(function vr(b){return new s.OBp(3001,!1)}())})}(oe,u.options,u.errors)})})}visitKeyframes(d,u){const l={type:qe.m0.Keyframes,styles:[],options:null};if(!u.currentAnimateTimings)return u.errors.push(function Bs(){return new s.OBp(3011,!1)}()),l;let I=0;const U=[];let oe=!1,Fe=!1,rt=0;const It=d.steps.map(Pi=>{const qi=this._makeStyleAst(Pi,u);let yo=null!=qi.offset?qi.offset:function Gs(b){if("string"==typeof b)return null;let d=null;if(Array.isArray(b))b.forEach(u=>{if(u instanceof Map&&u.has("offset")){const l=u;d=parseFloat(l.get("offset")),l.delete("offset")}});else if(b instanceof Map&&b.has("offset")){const u=b;d=parseFloat(u.get("offset")),u.delete("offset")}return d}(qi.styles),Si=0;return null!=yo&&(I++,Si=qi.offset=yo),Fe=Fe||Si<0||Si>1,oe=oe||Si0&&I{const yo=fn>0?qi==qt?1:fn*qi:U[qi],Si=yo*mi;u.currentTime=tn+Cn.delay+Si,Cn.duration=Si,this._validateStyleAst(Pi,u),Pi.offset=yo,l.styles.push(Pi)}),l}visitReference(d,u){return{type:qe.m0.Reference,animation:Z(this,ar(d.animation),u),options:wr(d.options)}}visitAnimateChild(d,u){return u.depCount++,{type:qe.m0.AnimateChild,options:wr(d.options)}}visitAnimateRef(d,u){return{type:qe.m0.AnimateRef,animation:this.visitReference(d.animation,u),options:wr(d.options)}}visitQuery(d,u){const l=u.currentQuerySelector,m=d.options||{};u.queryCount++,u.currentQuery=d;const[I,U]=function ja(b){const d=!!b.split(/\s*,\s*/).find(u=>":self"==u);return d&&(b=b.replace(Fn,"")),b=b.replace(/@\*/g,Hr).replace(/@\w+/g,u=>Hr+"-"+u.slice(1)).replace(/:animating/g,at),[b,d]}(d.selector);u.currentQuerySelector=l.length?l+" "+I:I,vi(u.collectedStyles,u.currentQuerySelector,new Map);const oe=Z(this,ar(d.animation),u);return u.currentQuery=null,u.currentQuerySelector=l,{type:qe.m0.Query,selector:I,limit:m.limit||0,optional:!!m.optional,includeSelf:U,animation:oe,originalSelector:d.selector,options:wr(d.options)}}visitStagger(d,u){u.currentQuery||u.errors.push(function Pa(){return new s.OBp(3013,!1)}());const l="full"===d.timings?{duration:0,delay:0,easing:"full"}:zr(d.timings,u.errors,!0);return{type:qe.m0.Stagger,animation:Z(this,ar(d.animation),u),timings:l,options:null}}}class Ll{constructor(d){this.errors=d,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 wr(b){return b?(b={...b}).params&&(b.params=function Fl(b){return b?{...b}:null}(b.params)):b={},b}function Kr(b,d,u){return{duration:b,delay:d,easing:u}}function Mr(b,d,u,l,m,I,U=null,oe=!1){return{type:1,element:b,keyframes:d,preStyleProps:u,postStyleProps:l,duration:m,delay:I,totalTime:m+I,easing:U,subTimeline:oe}}class lo{constructor(){this._map=new Map}get(d){return this._map.get(d)||[]}append(d,u){let l=this._map.get(d);l||this._map.set(d,l=[]),l.push(...u)}has(d){return this._map.has(d)}clear(){this._map.clear()}}const Is=new RegExp(":enter","g"),Ss=new RegExp(":leave","g");function Yr(b,d,u,l,m,I=new Map,U=new Map,oe,Fe,rt=[]){return(new Ts).buildKeyframes(b,d,u,l,m,I,U,oe,Fe,rt)}class Ts{buildKeyframes(d,u,l,m,I,U,oe,Fe,rt,It=[]){rt=rt||new lo;const St=new Hs(d,u,rt,m,I,It,[]);St.options=Fe;const fn=Fe.delay?_n(Fe.delay):0;St.currentTimeline.delayNextStep(fn),St.currentTimeline.setStyles([U],null,St.errors,Fe),Z(this,l,St);const qt=St.timelines.filter(tn=>tn.containsAnimation());if(qt.length&&oe.size){let tn;for(let Cn=qt.length-1;Cn>=0;Cn--){const mi=qt[Cn];if(mi.element===u){tn=mi;break}}tn&&!tn.allowOnlyTimelineStyles()&&tn.setStyles([oe],null,St.errors,Fe)}return qt.length?qt.map(tn=>tn.buildKeyframes()):[Mr(u,[],[],[],0,fn,"",!1)]}visitTrigger(d,u){}visitState(d,u){}visitTransition(d,u){}visitAnimateChild(d,u){const l=u.subInstructions.get(u.element);if(l){const m=u.createSubContext(d.options),I=u.currentTimeline.currentTime,U=this._visitSubInstructions(l,m,m.options);I!=U&&u.transformIntoNewTimeline(U)}u.previousNode=d}visitAnimateRef(d,u){const l=u.createSubContext(d.options);l.transformIntoNewTimeline(),this._applyAnimationRefDelays([d.options,d.animation.options],u,l),this.visitReference(d.animation,l),u.transformIntoNewTimeline(l.currentTimeline.currentTime),u.previousNode=d}_applyAnimationRefDelays(d,u,l){for(const I of d){const U=null==I?void 0:I.delay;if(U){var m;const oe="number"==typeof U?U:_n(bi(U,null!==(m=null==I?void 0:I.params)&&void 0!==m?m:{},u.errors));l.delayNextStep(oe)}}}_visitSubInstructions(d,u,l){let I=u.currentTimeline.currentTime;const U=null!=l.duration?_n(l.duration):null,oe=null!=l.delay?_n(l.delay):null;return 0!==U&&d.forEach(Fe=>{const rt=u.appendInstructionToTimeline(Fe,U,oe);I=Math.max(I,rt.duration+rt.delay)}),I}visitReference(d,u){u.updateOptions(d.options,!0),Z(this,d.animation,u),u.previousNode=d}visitSequence(d,u){const l=u.subContextCount;let m=u;const I=d.options;if(I&&(I.params||I.delay)&&(m=u.createSubContext(I),m.transformIntoNewTimeline(),null!=I.delay)){m.previousNode.type==qe.m0.Style&&(m.currentTimeline.snapshotCurrentStyles(),m.previousNode=ua);const U=_n(I.delay);m.delayNextStep(U)}d.steps.length&&(d.steps.forEach(U=>Z(this,U,m)),m.currentTimeline.applyStylesToKeyframe(),m.subContextCount>l&&m.transformIntoNewTimeline()),u.previousNode=d}visitGroup(d,u){const l=[];let m=u.currentTimeline.currentTime;const I=d.options&&d.options.delay?_n(d.options.delay):0;d.steps.forEach(U=>{const oe=u.createSubContext(d.options);I&&oe.delayNextStep(I),Z(this,U,oe),m=Math.max(m,oe.currentTimeline.currentTime),l.push(oe.currentTimeline)}),l.forEach(U=>u.currentTimeline.mergeTimelineCollectedStyles(U)),u.transformIntoNewTimeline(m),u.previousNode=d}_visitTiming(d,u){if(d.dynamic){const l=d.strValue;return zr(u.params?bi(l,u.params,u.errors):l,u.errors)}return{duration:d.duration,delay:d.delay,easing:d.easing}}visitAnimate(d,u){const l=u.currentAnimateTimings=this._visitTiming(d.timings,u),m=u.currentTimeline;l.delay&&(u.incrementTime(l.delay),m.snapshotCurrentStyles());const I=d.style;I.type==qe.m0.Keyframes?this.visitKeyframes(I,u):(u.incrementTime(l.duration),this.visitStyle(I,u),m.applyStylesToKeyframe()),u.currentAnimateTimings=null,u.previousNode=d}visitStyle(d,u){const l=u.currentTimeline,m=u.currentAnimateTimings;!m&&l.hasCurrentStyleProperties()&&l.forwardFrame();const I=m&&m.easing||d.easing;d.isEmptyStep?l.applyEmptyStep(I):l.setStyles(d.styles,I,u.errors,u.options),u.previousNode=d}visitKeyframes(d,u){const l=u.currentAnimateTimings,m=u.currentTimeline.duration,I=l.duration,oe=u.createSubContext().currentTimeline;oe.easing=l.easing,d.styles.forEach(Fe=>{oe.forwardTime((Fe.offset||0)*I),oe.setStyles(Fe.styles,Fe.easing,u.errors,u.options),oe.applyStylesToKeyframe()}),u.currentTimeline.mergeTimelineCollectedStyles(oe),u.transformIntoNewTimeline(m+I),u.previousNode=d}visitQuery(d,u){const l=u.currentTimeline.currentTime,m=d.options||{},I=m.delay?_n(m.delay):0;I&&(u.previousNode.type===qe.m0.Style||0==l&&u.currentTimeline.hasCurrentStyleProperties())&&(u.currentTimeline.snapshotCurrentStyles(),u.previousNode=ua);let U=l;const oe=u.invokeQuery(d.selector,d.originalSelector,d.limit,d.includeSelf,!!m.optional,u.errors);u.currentQueryTotal=oe.length;let Fe=null;oe.forEach((rt,It)=>{u.currentQueryIndex=It;const St=u.createSubContext(d.options,rt);I&&St.delayNextStep(I),rt===u.element&&(Fe=St.currentTimeline),Z(this,d.animation,St),St.currentTimeline.applyStylesToKeyframe(),U=Math.max(U,St.currentTimeline.currentTime)}),u.currentQueryIndex=0,u.currentQueryTotal=0,u.transformIntoNewTimeline(U),Fe&&(u.currentTimeline.mergeTimelineCollectedStyles(Fe),u.currentTimeline.snapshotCurrentStyles()),u.previousNode=d}visitStagger(d,u){const l=u.parentContext,m=u.currentTimeline,I=d.timings,U=Math.abs(I.duration),oe=U*(u.currentQueryTotal-1);let Fe=U*u.currentQueryIndex;switch(I.duration<0?"reverse":I.easing){case"reverse":Fe=oe-Fe;break;case"full":Fe=l.currentStaggerTime}const It=u.currentTimeline;Fe&&It.delayNextStep(Fe);const St=It.currentTime;Z(this,d.animation,u),u.previousNode=d,l.currentStaggerTime=m.currentTime-St+(m.startTime-l.currentTimeline.startTime)}}const ua={};class Hs{constructor(d,u,l,m,I,U,oe,Fe){this._driver=d,this.element=u,this.subInstructions=l,this._enterClassName=m,this._leaveClassName=I,this.errors=U,this.timelines=oe,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ua,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Fe||new $a(this._driver,u,0),oe.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(d,u){if(!d)return;const l=d;let m=this.options;null!=l.duration&&(m.duration=_n(l.duration)),null!=l.delay&&(m.delay=_n(l.delay));const I=l.params;if(I){let U=m.params;U||(U=this.options.params={}),Object.keys(I).forEach(oe=>{(!u||!U.hasOwnProperty(oe))&&(U[oe]=bi(I[oe],U,this.errors))})}}_copyOptions(){const d={};if(this.options){const u=this.options.params;if(u){const l=d.params={};Object.keys(u).forEach(m=>{l[m]=u[m]})}}return d}createSubContext(d=null,u,l){const m=u||this.element,I=new Hs(this._driver,m,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(m,l||0));return I.previousNode=this.previousNode,I.currentAnimateTimings=this.currentAnimateTimings,I.options=this._copyOptions(),I.updateOptions(d),I.currentQueryIndex=this.currentQueryIndex,I.currentQueryTotal=this.currentQueryTotal,I.parentContext=this,this.subContextCount++,I}transformIntoNewTimeline(d){return this.previousNode=ua,this.currentTimeline=this.currentTimeline.fork(this.element,d),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(d,u,l){const m={duration:null!=u?u:d.duration,delay:this.currentTimeline.currentTime+(null!=l?l:0)+d.delay,easing:""},I=new co(this._driver,d.element,d.keyframes,d.preStyleProps,d.postStyleProps,m,d.stretchStartingKeyframe);return this.timelines.push(I),m}incrementTime(d){this.currentTimeline.forwardTime(this.currentTimeline.duration+d)}delayNextStep(d){d>0&&this.currentTimeline.delayNextStep(d)}invokeQuery(d,u,l,m,I,U){let oe=[];if(m&&oe.push(this.element),d.length>0){d=(d=d.replace(Is,"."+this._enterClassName)).replace(Ss,"."+this._leaveClassName);let rt=this._driver.query(this.element,d,1!=l);0!==l&&(rt=l<0?rt.slice(rt.length+l,rt.length):rt.slice(0,l)),oe.push(...rt)}return!I&&0==oe.length&&U.push(function Br(b){return new s.OBp(3014,!1)}()),oe}}class $a{constructor(d,u,l,m){this._driver=d,this.element=u,this.startTime=l,this._elementTimelineStylesLookup=m,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(u),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(u,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(d){const u=1===this._keyframes.size&&this._pendingStyles.size;this.duration||u?(this.forwardTime(this.currentTime+d),u&&this.snapshotCurrentStyles()):this.startTime+=d}fork(d,u){return this.applyStylesToKeyframe(),new $a(this._driver,d,u||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(d){this.applyStylesToKeyframe(),this.duration=d,this._loadKeyframe()}_updateStyle(d,u){this._localTimelineStyles.set(d,u),this._globalTimelineStyles.set(d,u),this._styleSummary.set(d,{time:this.currentTime,value:u})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(d){d&&this._previousKeyframe.set("easing",d);for(let[u,l]of this._globalTimelineStyles)this._backFill.set(u,l||qe.AN),this._currentKeyframe.set(u,qe.AN);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(d,u,l,m){u&&this._previousKeyframe.set("easing",u);const I=m&&m.params||{},U=function As(b,d){const u=new Map;let l;return b.forEach(m=>{if("*"===m){var I;null!==(I=l)&&void 0!==I||(l=d.keys());for(let U of l)u.set(U,qe.AN)}else for(let[U,oe]of m)u.set(U,oe)}),u}(d,this._globalTimelineStyles);for(let[Fe,rt]of U){const It=bi(rt,I,l);var oe;this._pendingStyles.set(Fe,It),this._localTimelineStyles.has(Fe)||this._backFill.set(Fe,null!==(oe=this._globalTimelineStyles.get(Fe))&&void 0!==oe?oe:qe.AN),this._updateStyle(Fe,It)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((d,u)=>{this._currentKeyframe.set(u,d)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((d,u)=>{this._currentKeyframe.has(u)||this._currentKeyframe.set(u,d)}))}snapshotCurrentStyles(){for(let[d,u]of this._localTimelineStyles)this._pendingStyles.set(d,u),this._updateStyle(d,u)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const d=[];for(let u in this._currentKeyframe)d.push(u);return d}mergeTimelineCollectedStyles(d){d._styleSummary.forEach((u,l)=>{const m=this._styleSummary.get(l);(!m||u.time>m.time)&&this._updateStyle(l,u.value)})}buildKeyframes(){this.applyStylesToKeyframe();const d=new Set,u=new Set,l=1===this._keyframes.size&&0===this.duration;let m=[];this._keyframes.forEach((oe,Fe)=>{const rt=new Map([...this._backFill,...oe]);rt.forEach((It,St)=>{It===qe.aM?d.add(St):It===qe.AN&&u.add(St)}),l||rt.set("offset",Fe/this.duration),m.push(rt)});const I=[...d.values()],U=[...u.values()];if(l){const oe=m[0],Fe=new Map(oe);oe.set("offset",0),Fe.set("offset",1),m=[oe,Fe]}return Mr(this.element,m,I,U,this.duration,this.startTime,this.easing,!1)}}class co extends $a{constructor(d,u,l,m,I,U,oe=!1){super(d,u,U.delay),this.keyframes=l,this.preStyleProps=m,this.postStyleProps=I,this._stretchStartingKeyframe=oe,this.timings={duration:U.duration,delay:U.delay,easing:U.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let d=this.keyframes,{delay:u,duration:l,easing:m}=this.timings;if(this._stretchStartingKeyframe&&u){const I=[],U=l+u,oe=u/U,Fe=new Map(d[0]);Fe.set("offset",0),I.push(Fe);const rt=new Map(d[0]);rt.set("offset",zs(oe)),I.push(rt);const It=d.length-1;for(let St=1;St<=It;St++){let fn=new Map(d[St]);const qt=fn.get("offset");fn.set("offset",zs((u+qt*l)/U)),I.push(fn)}l=U,u=0,m="",d=I}return Mr(this.element,d,this.preStyleProps,this.postStyleProps,l,u,m,!0)}}function zs(b,d=3){const u=Math.pow(10,d-1);return Math.round(b*u)/u}function $c(b,d,u,l,m,I,U,oe,Fe,rt,It,St,fn){return{type:0,element:b,triggerName:d,isRemovalTransition:m,fromState:u,fromStyles:I,toState:l,toStyles:U,timelines:oe,queriedElements:Fe,preStyleProps:rt,postStyleProps:It,totalTime:St,errors:fn}}const ha={};class Ga{constructor(d,u,l){this._triggerName=d,this.ast=u,this._stateStyles=l}match(d,u,l,m){return function Ws(b,d,u,l,m){return b.some(I=>I(d,u,l,m))}(this.ast.matchers,d,u,l,m)}buildStyles(d,u,l){let m=this._stateStyles.get("*");return void 0!==d&&(m=this._stateStyles.get(null==d?void 0:d.toString())||m),m?m.buildStyles(u,l):new Map}build(d,u,l,m,I,U,oe,Fe,rt,It){var St;const fn=[],qt=this.ast.options&&this.ast.options.params||ha,Cn=this.buildStyles(l,oe&&oe.params||ha,fn),mi=Fe&&Fe.params||ha,Pi=this.buildStyles(m,mi,fn),qi=new Set,yo=new Map,Si=new Map,fs="void"===m,Or={params:ma(mi,qt),delay:null===(St=this.ast.options)||void 0===St?void 0:St.delay},Co=It?[]:Yr(d,u,this.ast.animation,I,U,Cn,Pi,Or,rt,fn);let cr=0;return Co.forEach(ms=>{cr=Math.max(ms.duration+ms.delay,cr)}),fn.length?$c(u,this._triggerName,l,m,fs,Cn,Pi,[],[],yo,Si,cr,fn):(Co.forEach(ms=>{const Uo=ms.element,ed=vi(yo,Uo,new Set);ms.preStyleProps.forEach(Xr=>ed.add(Xr));const ps=vi(Si,Uo,new Set);ms.postStyleProps.forEach(Xr=>ps.add(Xr)),Uo!==u&&qi.add(Uo)}),$c(u,this._triggerName,l,m,fs,Cn,Pi,Co,[...qi.values()],yo,Si,cr))}}function ma(b,d){const u={...d};return Object.entries(b).forEach(([l,m])=>{null!=m&&(u[l]=m)}),u}class Ha{constructor(d,u,l){this.styles=d,this.defaultParams=u,this.normalizer=l}buildStyles(d,u){const l=new Map,m=ma(d,this.defaultParams);return this.styles.styles.forEach(I=>{"string"!=typeof I&&I.forEach((U,oe)=>{U&&(U=bi(U,m,u));const Fe=this.normalizer.normalizePropertyName(oe,u);U=this.normalizer.normalizeStyleValue(oe,Fe,U,u),l.set(oe,U)})}),l}}class Ks{constructor(d,u,l){this.name=d,this.ast=u,this._normalizer=l,this.transitionFactories=[],this.states=new Map,u.states.forEach(m=>{this.states.set(m.name,new Ha(m.style,m.options&&m.options.params||{},l))}),Zs(this.states,"true","1"),Zs(this.states,"false","0"),u.transitions.forEach(m=>{this.transitionFactories.push(new Ga(d,m,this.states))}),this.fallbackTransition=function Ys(b,d,u){return new Ga(b,{type:qe.m0.Transition,animation:{type:qe.m0.Sequence,steps:[],options:null},matchers:[(U,oe)=>!0],options:null,queryCount:0,depCount:0},d)}(d,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(d,u,l,m){return this.transitionFactories.find(U=>U.match(d,u,l,m))||null}matchStyles(d,u,l){return this.fallbackTransition.buildStyles(d,u,l)}}function Zs(b,d,u){b.has(d)?b.has(u)||b.set(u,b.get(d)):b.has(u)&&b.set(d,b.get(u))}const Vl=new lo;class Ir{constructor(d,u,l){this.bodyNode=d,this._driver=u,this._normalizer=l,this._animations=new Map,this._playersById=new Map,this.players=[]}register(d,u){const l=[],I=ao(this._driver,u,l,[]);if(l.length)throw function H(b){return new s.OBp(3503,!1)}();this._animations.set(d,I)}_buildPlayer(d,u,l){const m=d.element,I=Cr(this._normalizer,d.keyframes,u,l);return this._driver.animate(m,I,d.duration,d.delay,d.easing,[],!0)}create(d,u,l={}){const m=[],I=this._animations.get(d);let U;const oe=new Map;if(I?(U=Yr(this._driver,u,I,$s,ls,new Map,new Map,l,Vl,m),U.forEach(It=>{const St=vi(oe,It.element,new Map);It.postStyleProps.forEach(fn=>St.set(fn,null))})):(m.push(function T(){return new s.OBp(3300,!1)}()),U=[]),m.length)throw function Q(b){return new s.OBp(3504,!1)}();oe.forEach((It,St)=>{It.forEach((fn,qt)=>{It.set(qt,this._driver.computeStyle(St,qt,qe.AN))})});const rt=Ko(U.map(It=>{const St=oe.get(It.element);return this._buildPlayer(It,new Map,St)}));return this._playersById.set(d,rt),rt.onDestroy(()=>this.destroy(d)),this.players.push(rt),rt}destroy(d){const u=this._getPlayer(d);u.destroy(),this._playersById.delete(d);const l=this.players.indexOf(u);l>=0&&this.players.splice(l,1)}_getPlayer(d){const u=this._playersById.get(d);if(!u)throw function yt(b){return new s.OBp(3301,!1)}();return u}listen(d,u,l,m){const I=xr(u,"","","");return sr(this._getPlayer(d),l,I,m),()=>{}}command(d,u,l,m){if("register"==l)return void this.register(d,m[0]);if("create"==l)return void this.create(d,u,m[0]||{});const I=this._getPlayer(d);switch(l){case"play":I.play();break;case"pause":I.pause();break;case"reset":I.reset();break;case"restart":I.restart();break;case"finish":I.finish();break;case"init":I.init();break;case"setPosition":I.setPosition(parseFloat(m[0]));break;case"destroy":this.destroy(d)}}}const Qn="ng-animate-queued",Os="ng-animate-disabled",zc=[],Xs={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},f={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},v="__ng_removed";class x{get params(){return this.options.params}constructor(d,u=""){this.namespaceId=u;const l=d&&d.hasOwnProperty("value");if(this.value=function He(b){return null!=b?b:null}(l?d.value:d),l){const{value:I,...U}=d;this.options=U}else this.options={};this.options.params||(this.options.params={})}absorbOptions(d){const u=d.params;if(u){const l=this.options.params;Object.keys(u).forEach(m=>{null==l[m]&&(l[m]=u[m])})}}}const _="void",C=new x(_);class L{constructor(d,u,l){this.id=d,this.hostElement=u,this._engine=l,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+d,Ii(u,this._hostClassName)}listen(d,u,l,m){if(!this._triggers.has(u))throw function Ot(b,d){return new s.OBp(3302,!1)}();if(null==l||0==l.length)throw function ti(b){return new s.OBp(3303,!1)}();if(!function hn(b){return"start"==b||"done"==b}(l))throw function Qi(b,d){return new s.OBp(3400,!1)}();const I=vi(this._elementListeners,d,[]),U={name:u,phase:l,callback:m};I.push(U);const oe=vi(this._engine.statesByElement,d,new Map);return oe.has(u)||(Ii(d,cs),Ii(d,cs+"-"+u),oe.set(u,C)),()=>{this._engine.afterFlush(()=>{const Fe=I.indexOf(U);Fe>=0&&I.splice(Fe,1),this._triggers.has(u)||oe.delete(u)})}}register(d,u){return!this._triggers.has(d)&&(this._triggers.set(d,u),!0)}_getTrigger(d){const u=this._triggers.get(d);if(!u)throw function rr(b){return new s.OBp(3401,!1)}();return u}trigger(d,u,l,m=!0){const I=this._getTrigger(u),U=new Le(this.id,u,d);let oe=this._engine.statesByElement.get(d);oe||(Ii(d,cs),Ii(d,cs+"-"+u),this._engine.statesByElement.set(d,oe=new Map));let Fe=oe.get(u);const rt=new x(l,this.id);if(!(l&&l.hasOwnProperty("value"))&&Fe&&rt.absorbOptions(Fe.options),oe.set(u,rt),Fe||(Fe=C),rt.value!==_&&Fe.value===rt.value){if(!function Wa(b,d){const u=Object.keys(b),l=Object.keys(d);if(u.length!=l.length)return!1;for(let m=0;m{Io(d,mi),Oi(d,Pi)})}return}const fn=vi(this._engine.playersByElement,d,[]);fn.forEach(Cn=>{Cn.namespaceId==this.id&&Cn.triggerName==u&&Cn.queued&&Cn.destroy()});let qt=I.matchTransition(Fe.value,rt.value,d,rt.params),tn=!1;if(!qt){if(!m)return;qt=I.fallbackTransition,tn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:u,transition:qt,fromState:Fe,toState:rt,player:U,isFallbackTransition:tn}),tn||(Ii(d,Qn),U.onStart(()=>{Qt(d,Qn)})),U.onDone(()=>{let Cn=this.players.indexOf(U);Cn>=0&&this.players.splice(Cn,1);const mi=this._engine.playersByElement.get(d);if(mi){let Pi=mi.indexOf(U);Pi>=0&&mi.splice(Pi,1)}}),this.players.push(U),fn.push(U),U}deregister(d){this._triggers.delete(d),this._engine.statesByElement.forEach(u=>u.delete(d)),this._elementListeners.forEach((u,l)=>{this._elementListeners.set(l,u.filter(m=>m.name!=d))})}clearElementCache(d){this._engine.statesByElement.delete(d),this._elementListeners.delete(d);const u=this._engine.playersByElement.get(d);u&&(u.forEach(l=>l.destroy()),this._engine.playersByElement.delete(d))}_signalRemovalForInnerTriggers(d,u){const l=this._engine.driver.query(d,Hr,!0);l.forEach(m=>{if(m[v])return;const I=this._engine.fetchNamespacesByElement(m);I.size?I.forEach(U=>U.triggerLeaveAnimation(m,u,!1,!0)):this.clearElementCache(m)}),this._engine.afterFlushAnimationsDone(()=>l.forEach(m=>this.clearElementCache(m)))}triggerLeaveAnimation(d,u,l,m){const I=this._engine.statesByElement.get(d),U=new Map;if(I){const oe=[];if(I.forEach((Fe,rt)=>{if(U.set(rt,Fe.value),this._triggers.has(rt)){const It=this.trigger(d,rt,_,m);It&&oe.push(It)}}),oe.length)return this._engine.markElementAsRemoved(this.id,d,!0,u,U),l&&Ko(oe).onDone(()=>this._engine.processLeaveNode(d)),!0}return!1}prepareLeaveAnimationListeners(d){const u=this._elementListeners.get(d),l=this._engine.statesByElement.get(d);if(u&&l){const m=new Set;u.forEach(I=>{const U=I.name;if(m.has(U))return;m.add(U);const Fe=this._triggers.get(U).fallbackTransition,rt=l.get(U)||C,It=new x(_),St=new Le(this.id,U,d);this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:U,transition:Fe,fromState:rt,toState:It,player:St,isFallbackTransition:!0})})}}removeNode(d,u){const l=this._engine;if(d.childElementCount&&this._signalRemovalForInnerTriggers(d,u),this.triggerLeaveAnimation(d,u,!0))return;let m=!1;if(l.totalAnimations){const I=l.players.length?l.playersByQueriedElement.get(d):[];if(I&&I.length)m=!0;else{let U=d;for(;U=U.parentNode;)if(l.statesByElement.get(U)){m=!0;break}}}if(this.prepareLeaveAnimationListeners(d),m)l.markElementAsRemoved(this.id,d,!1,u);else{const I=d[v];(!I||I===Xs)&&(l.afterFlush(()=>this.clearElementCache(d)),l.destroyInnerAnimations(d),l._onRemovalComplete(d,u))}}insertNode(d,u){Ii(d,this._hostClassName)}drainQueuedTransitions(d){const u=[];return this._queue.forEach(l=>{const m=l.player;if(m.destroyed)return;const I=l.element,U=this._elementListeners.get(I);U&&U.forEach(oe=>{if(oe.name==l.triggerName){const Fe=xr(I,l.triggerName,l.fromState.value,l.toState.value);Fe._data=d,sr(l.player,oe.phase,Fe,oe.callback)}}),m.markedForDestroy?this._engine.afterFlush(()=>{m.destroy()}):u.push(l)}),this._queue=[],u.sort((l,m)=>{const I=l.transition.ast.depCount,U=m.transition.ast.depCount;return 0==I||0==U?I-U:this._engine.driver.containsElement(l.element,m.element)?1:-1})}destroy(d){this.players.forEach(u=>u.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,d)}}class W{_onRemovalComplete(d,u){this.onRemovalComplete(d,u)}constructor(d,u,l,m){this.bodyNode=d,this.driver=u,this._normalizer=l,this.scheduler=m,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=(I,U)=>{}}get queuedPlayers(){const d=[];return this._namespaceList.forEach(u=>{u.players.forEach(l=>{l.queued&&d.push(l)})}),d}createNamespace(d,u){const l=new L(d,u,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,u)?this._balanceNamespaceList(l,u):(this.newHostElements.set(u,l),this.collectEnterElement(u)),this._namespaceLookup[d]=l}_balanceNamespaceList(d,u){const l=this._namespaceList,m=this.namespacesByHostElement;if(l.length-1>=0){let U=!1,oe=this.driver.getParentElement(u);for(;oe;){const Fe=m.get(oe);if(Fe){const rt=l.indexOf(Fe);l.splice(rt+1,0,d),U=!0;break}oe=this.driver.getParentElement(oe)}U||l.unshift(d)}else l.push(d);return m.set(u,d),d}register(d,u){let l=this._namespaceLookup[d];return l||(l=this.createNamespace(d,u)),l}registerTrigger(d,u,l){let m=this._namespaceLookup[d];m&&m.register(u,l)&&this.totalAnimations++}destroy(d,u){d&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const l=this._fetchNamespace(d);this.namespacesByHostElement.delete(l.hostElement);const m=this._namespaceList.indexOf(l);m>=0&&this._namespaceList.splice(m,1),l.destroy(u),delete this._namespaceLookup[d]}))}_fetchNamespace(d){return this._namespaceLookup[d]}fetchNamespacesByElement(d){const u=new Set,l=this.statesByElement.get(d);if(l)for(let m of l.values())if(m.namespaceId){const I=this._fetchNamespace(m.namespaceId);I&&u.add(I)}return u}trigger(d,u,l,m){if(kt(u)){const I=this._fetchNamespace(d);if(I)return I.trigger(u,l,m),!0}return!1}insertNode(d,u,l,m){if(!kt(u))return;const I=u[v];if(I&&I.setForRemoval){I.setForRemoval=!1,I.setForMove=!0;const U=this.collectedLeaveElements.indexOf(u);U>=0&&this.collectedLeaveElements.splice(U,1)}if(d){const U=this._fetchNamespace(d);U&&U.insertNode(u,l)}m&&this.collectEnterElement(u)}collectEnterElement(d){this.collectedEnterElements.push(d)}markElementAsDisabled(d,u){u?this.disabledNodes.has(d)||(this.disabledNodes.add(d),Ii(d,Os)):this.disabledNodes.has(d)&&(this.disabledNodes.delete(d),Qt(d,Os))}removeNode(d,u,l){if(kt(u)){var m;null===(m=this.scheduler)||void 0===m||m.notify();const I=d?this._fetchNamespace(d):null;I?I.removeNode(u,l):this.markElementAsRemoved(d,u,!1,l);const U=this.namespacesByHostElement.get(u);U&&U.id!==d&&U.removeNode(u,l)}else this._onRemovalComplete(u,l)}markElementAsRemoved(d,u,l,m,I){this.collectedLeaveElements.push(u),u[v]={namespaceId:d,setForRemoval:m,hasAnimation:l,removedBeforeQueried:!1,previousTriggersValues:I}}listen(d,u,l,m,I){return kt(u)?this._fetchNamespace(d).listen(u,l,m,I):()=>{}}_buildInstruction(d,u,l,m,I){return d.transition.build(this.driver,d.element,d.fromState.value,d.toState.value,l,m,d.fromState.options,d.toState.options,u,I)}destroyInnerAnimations(d){let u=this.driver.query(d,Hr,!0);u.forEach(l=>this.destroyActiveAnimationsForElement(l)),0!=this.playersByQueriedElement.size&&(u=this.driver.query(d,at,!0),u.forEach(l=>this.finishActiveQueriedAnimationOnElement(l)))}destroyActiveAnimationsForElement(d){const u=this.playersByElement.get(d);u&&u.forEach(l=>{l.queued?l.markedForDestroy=!0:l.destroy()})}finishActiveQueriedAnimationOnElement(d){const u=this.playersByQueriedElement.get(d);u&&u.forEach(l=>l.finish())}whenRenderingDone(){return new Promise(d=>{if(this.players.length)return Ko(this.players).onDone(()=>d());d()})}processLeaveNode(d){var u;const l=d[v];if(l&&l.setForRemoval){if(d[v]=Xs,l.namespaceId){this.destroyInnerAnimations(d);const m=this._fetchNamespace(l.namespaceId);m&&m.clearElementCache(d)}this._onRemovalComplete(d,l.setForRemoval)}null!==(u=d.classList)&&void 0!==u&&u.contains(Os)&&this.markElementAsDisabled(d,!1),this.driver.query(d,".ng-animate-disabled",!0).forEach(m=>{this.markElementAsDisabled(m,!1)})}flush(d=-1){let u=[];if(this.newHostElements.size&&(this.newHostElements.forEach((l,m)=>this._balanceNamespaceList(l,m)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let l=0;ll()),this._flushFns=[],this._whenQuietFns.length){const l=this._whenQuietFns;this._whenQuietFns=[],u.length?Ko(u).onDone(()=>{l.forEach(m=>m())}):l.forEach(m=>m())}}reportError(d){throw function An(b){return new s.OBp(3402,!1)}()}_flushAnimations(d,u){const l=new lo,m=[],I=new Map,U=[],oe=new Map,Fe=new Map,rt=new Map,It=new Set;this.disabledNodes.forEach(Yt=>{It.add(Yt);const Jt=this.driver.query(Yt,".ng-animate-queued",!0);for(let nn=0;nn{const nn=$s+Cn++;tn.set(Jt,nn),Yt.forEach(Mn=>Ii(Mn,nn))});const mi=[],Pi=new Set,qi=new Set;for(let Yt=0;YtPi.add(Mn)):qi.add(Jt))}const yo=new Map,Si=ji(fn,Array.from(Pi));Si.forEach((Yt,Jt)=>{const nn=ls+Cn++;yo.set(Jt,nn),Yt.forEach(Mn=>Ii(Mn,nn))}),d.push(()=>{qt.forEach((Yt,Jt)=>{const nn=tn.get(Jt);Yt.forEach(Mn=>Qt(Mn,nn))}),Si.forEach((Yt,Jt)=>{const nn=yo.get(Jt);Yt.forEach(Mn=>Qt(Mn,nn))}),mi.forEach(Yt=>{this.processLeaveNode(Yt)})});const fs=[],Or=[];for(let Yt=this._namespaceList.length-1;Yt>=0;Yt--)this._namespaceList[Yt].drainQueuedTransitions(u).forEach(nn=>{const Mn=nn.player,si=nn.element;if(fs.push(Mn),this.collectedEnterElements.length){const uo=si[v];if(uo&&uo.setForMove){if(uo.previousTriggersValues&&uo.previousTriggersValues.has(nn.triggerName)){const kr=uo.previousTriggersValues.get(nn.triggerName),Xo=this.statesByElement.get(nn.element);if(Xo&&Xo.has(nn.triggerName)){const Rr=Xo.get(nn.triggerName);Rr.value=kr,Xo.set(nn.triggerName,Rr)}}return void Mn.destroy()}}const dr=!St||!this.driver.containsElement(St,si),xo=yo.get(si),Vo=tn.get(si),ki=this._buildInstruction(nn,l,Vo,xo,dr);if(ki.errors&&ki.errors.length)return void Or.push(ki);if(dr)return Mn.onStart(()=>Io(si,ki.fromStyles)),Mn.onDestroy(()=>Oi(si,ki.toStyles)),void m.push(Mn);if(nn.isFallbackTransition)return Mn.onStart(()=>Io(si,ki.fromStyles)),Mn.onDestroy(()=>Oi(si,ki.toStyles)),void m.push(Mn);const nd=[];ki.timelines.forEach(uo=>{uo.stretchStartingKeyframe=!0,this.disabledNodes.has(uo.element)||nd.push(uo)}),ki.timelines=nd,l.append(si,ki.timelines),U.push({instruction:ki,player:Mn,element:si}),ki.queriedElements.forEach(uo=>vi(oe,uo,[]).push(Mn)),ki.preStyleProps.forEach((uo,kr)=>{if(uo.size){let Xo=Fe.get(kr);Xo||Fe.set(kr,Xo=new Set),uo.forEach((Rr,Qr)=>Xo.add(Qr))}}),ki.postStyleProps.forEach((uo,kr)=>{let Xo=rt.get(kr);Xo||rt.set(kr,Xo=new Set),uo.forEach((Rr,Qr)=>Xo.add(Qr))})});if(Or.length){const Yt=[];Or.forEach(Jt=>{Yt.push(function yr(b,d){return new s.OBp(3505,!1)}())}),fs.forEach(Jt=>Jt.destroy()),this.reportError(Yt)}const Co=new Map,cr=new Map;U.forEach(Yt=>{const Jt=Yt.element;l.has(Jt)&&(cr.set(Jt,Jt),this._beforeAnimationBuild(Yt.player.namespaceId,Yt.instruction,Co))}),m.forEach(Yt=>{const Jt=Yt.element;this._getPreviousPlayers(Jt,!1,Yt.namespaceId,Yt.triggerName,null).forEach(Mn=>{vi(Co,Jt,[]).push(Mn),Mn.destroy()})});const ms=mi.filter(Yt=>Ar(Yt,Fe,rt)),Uo=new Map;$n(Uo,this.driver,qi,rt,qe.AN).forEach(Yt=>{Ar(Yt,Fe,rt)&&ms.push(Yt)});const ps=new Map;qt.forEach((Yt,Jt)=>{$n(ps,this.driver,new Set(Yt),Fe,qe.aM)}),ms.forEach(Yt=>{var Jt,nn;const Mn=Uo.get(Yt),si=ps.get(Yt);Uo.set(Yt,new Map([...null!==(Jt=null==Mn?void 0:Mn.entries())&&void 0!==Jt?Jt:[],...null!==(nn=null==si?void 0:si.entries())&&void 0!==nn?nn:[]]))});const Xr=[],td=[],Ql={};U.forEach(Yt=>{const{element:Jt,player:nn,instruction:Mn}=Yt;if(l.has(Jt)){if(It.has(Jt))return nn.onDestroy(()=>Oi(Jt,Mn.toStyles)),nn.disabled=!0,nn.overrideTotalTime(Mn.totalTime),void m.push(nn);let si=Ql;if(cr.size>1){let xo=Jt;const Vo=[];for(;xo=xo.parentNode;){const ki=cr.get(xo);if(ki){si=ki;break}Vo.push(xo)}Vo.forEach(ki=>cr.set(ki,si))}const dr=this._buildAnimation(nn.namespaceId,Mn,Co,I,ps,Uo);if(nn.setRealPlayer(dr),si===Ql)Xr.push(nn);else{const xo=this.playersByElement.get(si);xo&&xo.length&&(nn.parentPlayer=Ko(xo)),m.push(nn)}}else Io(Jt,Mn.fromStyles),nn.onDestroy(()=>Oi(Jt,Mn.toStyles)),td.push(nn),It.has(Jt)&&m.push(nn)}),td.forEach(Yt=>{const Jt=I.get(Yt.element);if(Jt&&Jt.length){const nn=Ko(Jt);Yt.setRealPlayer(nn)}}),m.forEach(Yt=>{Yt.parentPlayer?Yt.syncPlayerEvents(Yt.parentPlayer):Yt.destroy()});for(let Yt=0;Yt!dr.destroyed);si.length?Sr(this,Jt,si):this.processLeaveNode(Jt)}return mi.length=0,Xr.forEach(Yt=>{this.players.push(Yt),Yt.onDone(()=>{Yt.destroy();const Jt=this.players.indexOf(Yt);this.players.splice(Jt,1)}),Yt.play()}),Xr}afterFlush(d){this._flushFns.push(d)}afterFlushAnimationsDone(d){this._whenQuietFns.push(d)}_getPreviousPlayers(d,u,l,m,I){let U=[];if(u){const oe=this.playersByQueriedElement.get(d);oe&&(U=oe)}else{const oe=this.playersByElement.get(d);if(oe){const Fe=!I||I==_;oe.forEach(rt=>{rt.queued||!Fe&&rt.triggerName!=m||U.push(rt)})}}return(l||m)&&(U=U.filter(oe=>!(l&&l!=oe.namespaceId||m&&m!=oe.triggerName))),U}_beforeAnimationBuild(d,u,l){const I=u.element,U=u.isRemovalTransition?void 0:d,oe=u.isRemovalTransition?void 0:u.triggerName;for(const Fe of u.timelines){const rt=Fe.element,It=rt!==I,St=vi(l,rt,[]);this._getPreviousPlayers(rt,It,U,oe,u.toState).forEach(qt=>{const tn=qt.getRealPlayer();tn.beforeDestroy&&tn.beforeDestroy(),qt.destroy(),St.push(qt)})}Io(I,u.fromStyles)}_buildAnimation(d,u,l,m,I,U){const oe=u.triggerName,Fe=u.element,rt=[],It=new Set,St=new Set,fn=u.timelines.map(tn=>{const Cn=tn.element;It.add(Cn);const mi=Cn[v];if(mi&&mi.removedBeforeQueried)return new qe.kP(tn.duration,tn.delay);const Pi=Cn!==Fe,qi=function Zr(b){const d=[];return Tr(b,d),d}((l.get(Cn)||zc).map(Co=>Co.getRealPlayer())).filter(Co=>!!Co.element&&Co.element===Cn),yo=I.get(Cn),Si=U.get(Cn),fs=Cr(this._normalizer,tn.keyframes,yo,Si),Or=this._buildPlayer(tn,fs,qi);if(tn.subTimeline&&m&&St.add(Cn),Pi){const Co=new Le(d,oe,Cn);Co.setRealPlayer(Or),rt.push(Co)}return Or});rt.forEach(tn=>{vi(this.playersByQueriedElement,tn.element,[]).push(tn),tn.onDone(()=>function mt(b,d,u){let l=b.get(d);if(l){if(l.length){const m=l.indexOf(u);l.splice(m,1)}0==l.length&&b.delete(d)}return l}(this.playersByQueriedElement,tn.element,tn))}),It.forEach(tn=>Ii(tn,Ba));const qt=Ko(fn);return qt.onDestroy(()=>{It.forEach(tn=>Qt(tn,Ba)),Oi(Fe,u.toStyles)}),St.forEach(tn=>{vi(m,tn,[]).push(qt)}),qt}_buildPlayer(d,u,l){return u.length>0?this.driver.animate(d.element,u,d.duration,d.delay,d.easing,l):new qe.kP(d.duration,d.delay)}}class Le{constructor(d,u,l){this.namespaceId=d,this.triggerName=u,this.element=l,this._player=new qe.kP,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(d){this._containsRealPlayer||(this._player=d,this._queuedCallbacks.forEach((u,l)=>{u.forEach(m=>sr(d,l,void 0,m))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(d.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(d){this.totalTime=d}syncPlayerEvents(d){const u=this._player;u.triggerCallback&&d.onStart(()=>u.triggerCallback("start")),d.onDone(()=>this.finish()),d.onDestroy(()=>this.destroy())}_queueEvent(d,u){vi(this._queuedCallbacks,d,[]).push(u)}onDone(d){this.queued&&this._queueEvent("done",d),this._player.onDone(d)}onStart(d){this.queued&&this._queueEvent("start",d),this._player.onStart(d)}onDestroy(d){this.queued&&this._queueEvent("destroy",d),this._player.onDestroy(d)}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(d){this.queued||this._player.setPosition(d)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(d){const u=this._player;u.triggerCallback&&u.triggerCallback(d)}}function kt(b){return b&&1===b.nodeType}function ri(b,d){const u=b.style.display;return b.style.display=null!=d?d:"none",u}function $n(b,d,u,l,m){const I=[];u.forEach(Fe=>I.push(ri(Fe)));const U=[];l.forEach((Fe,rt)=>{const It=new Map;Fe.forEach(St=>{const fn=d.computeStyle(rt,St,m);It.set(St,fn),(!fn||0==fn.length)&&(rt[v]=f,U.push(rt))}),b.set(rt,It)});let oe=0;return u.forEach(Fe=>ri(Fe,I[oe++])),U}function ji(b,d){const u=new Map;if(b.forEach(oe=>u.set(oe,[])),0==d.length)return u;const m=new Set(d),I=new Map;function U(oe){if(!oe)return 1;let Fe=I.get(oe);if(Fe)return Fe;const rt=oe.parentNode;return Fe=u.has(rt)?rt:m.has(rt)?1:U(rt),I.set(oe,Fe),Fe}return d.forEach(oe=>{const Fe=U(oe);1!==Fe&&u.get(Fe).push(oe)}),u}function Ii(b,d){var u;null===(u=b.classList)||void 0===u||u.add(d)}function Qt(b,d){var u;null===(u=b.classList)||void 0===u||u.remove(d)}function Sr(b,d,u){Ko(u).onDone(()=>b.processLeaveNode(d))}function Tr(b,d){for(let u=0;um.add(I)):d.set(b,l),u.delete(b),!0}class ga{constructor(d,u,l,m){this._driver=u,this._normalizer=l,this._triggerCache={},this.onRemovalComplete=(I,U)=>{},this._transitionEngine=new W(d.body,u,l,m),this._timelineEngine=new Ir(d.body,u,l),this._transitionEngine.onRemovalComplete=(I,U)=>this.onRemovalComplete(I,U)}registerTrigger(d,u,l,m,I){const U=d+"-"+m;let oe=this._triggerCache[U];if(!oe){const Fe=[],It=ao(this._driver,I,Fe,[]);if(Fe.length)throw function A(b,d){return new s.OBp(3404,!1)}();oe=function za(b,d,u){return new Ks(b,d,u)}(m,It,this._normalizer),this._triggerCache[U]=oe}this._transitionEngine.registerTrigger(u,m,oe)}register(d,u){this._transitionEngine.register(d,u)}destroy(d,u){this._transitionEngine.destroy(d,u)}onInsert(d,u,l,m){this._transitionEngine.insertNode(d,u,l,m)}onRemove(d,u,l){this._transitionEngine.removeNode(d,u,l)}disableAnimations(d,u){this._transitionEngine.markElementAsDisabled(d,u)}process(d,u,l,m){if("@"==l.charAt(0)){const[I,U]=ca(l);this._timelineEngine.command(I,u,U,m)}else this._transitionEngine.trigger(d,u,l,m)}listen(d,u,l,m,I){if("@"==l.charAt(0)){const[U,oe]=ca(l);return this._timelineEngine.listen(U,u,oe,I)}return this._transitionEngine.listen(d,u,l,m,I)}flush(d=-1){this._transitionEngine.flush(d)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(d){this._transitionEngine.afterFlushAnimationsDone(d)}}class _a{constructor(d,u,l){this._element=d,this._startStyles=u,this._endStyles=l,this._state=0;let m=_a.initialStylesByElement.get(d);m||_a.initialStylesByElement.set(d,m=new Map),this._initialStyles=m}start(){this._state<1&&(this._startStyles&&Oi(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Oi(this._element,this._initialStyles),this._endStyles&&(Oi(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(_a.initialStylesByElement.delete(this._element),this._startStyles&&(Io(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Io(this._element,this._endStyles),this._endStyles=null),Oi(this._element,this._initialStyles),this._state=3)}}function Wc(b){let d=null;return b.forEach((u,l)=>{(function pm(b){return"display"===b||"position"===b})(l)&&(d=d||new Map,d.set(l,u))}),d}_a.initialStylesByElement=new WeakMap;class Du{constructor(d,u,l,m){this.element=d,this.keyframes=u,this.options=l,this._specialStyles=m,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=l.duration,this._delay=l.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(d=>d()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const d=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,d,this.options),this._finalKeyframe=d.length?d[d.length-1]:new Map;const u=()=>this._onFinish();this.domPlayer.addEventListener("finish",u),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",u)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(d){const u=[];return d.forEach(l=>{u.push(Object.fromEntries(l))}),u}_triggerWebAnimation(d,u,l){return d.animate(this._convertKeyframesToObject(u),l)}onStart(d){this._originalOnStartFns.push(d),this._onStartFns.push(d)}onDone(d){this._originalOnDoneFns.push(d),this._onDoneFns.push(d)}onDestroy(d){this._onDestroyFns.push(d)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(d=>d()),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(d=>d()),this._onDestroyFns=[])}setPosition(d){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=d*this.time}getPosition(){var d;return+(null!==(d=this.domPlayer.currentTime)&&void 0!==d?d:0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const d=new Map;this.hasStarted()&&this._finalKeyframe.forEach((l,m)=>{"offset"!==m&&d.set(m,this._finished?l:M(this.element,m))}),this.currentSnapshot=d}triggerCallback(d){const u="start"===d?this._onStartFns:this._onDoneFns;u.forEach(l=>l()),u.length=0}}class Ka{validateStyleProperty(d){return!0}validateAnimatableStyleProperty(d){return!0}matchesElement(d,u){return!1}containsElement(d,u){return ws(d,u)}getParentElement(d){return Yo(d)}query(d,u,l){return Fo(d,u,l)}computeStyle(d,u,l){return M(d,u)}animate(d,u,l,m,I,U=[]){const Fe={duration:l,delay:m,fill:0==m?"both":"forwards"};I&&(Fe.easing=I);const rt=new Map,It=U.filter(qt=>qt instanceof Du);(function g(b,d){return 0===b||0===d})(l,m)&&It.forEach(qt=>{qt.currentSnapshot.forEach((tn,Cn)=>rt.set(Cn,tn))});let St=function da(b){return b.length?b[0]instanceof Map?b:b.map(d=>new Map(Object.entries(d))):[]}(u).map(qt=>new Map(qt));St=function S(b,d,u){if(u.size&&d.length){let l=d[0],m=[];if(u.forEach((I,U)=>{l.has(U)||m.push(U),l.set(U,I)}),m.length)for(let I=1;IU.set(oe,M(b,oe)))}}return d}(d,St,rt);const fn=function $l(b,d){let u=null,l=null;return Array.isArray(d)&&d.length?(u=Wc(d[0]),d.length>1&&(l=Wc(d[d.length-1]))):d instanceof Map&&(u=Wc(d)),u||l?new _a(b,u,l):null}(d,St);return new Du(d,St,Fe,fn)}}const Kc="@.disabled";class Yc{constructor(d,u,l,m){this.namespaceId=d,this.delegate=u,this.engine=l,this._onDestroy=m,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(d){var u,l;null===(u=(l=this.delegate).destroyNode)||void 0===u||u.call(l,d)}destroy(){var d;this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),null===(d=this._onDestroy)||void 0===d||d.call(this)}createElement(d,u){return this.delegate.createElement(d,u)}createComment(d){return this.delegate.createComment(d)}createText(d){return this.delegate.createText(d)}appendChild(d,u){this.delegate.appendChild(d,u),this.engine.onInsert(this.namespaceId,u,d,!1)}insertBefore(d,u,l,m=!0){this.delegate.insertBefore(d,u,l),this.engine.onInsert(this.namespaceId,u,d,m)}removeChild(d,u,l){this.engine.onRemove(this.namespaceId,u,this.delegate)}selectRootElement(d,u){return this.delegate.selectRootElement(d,u)}parentNode(d){return this.delegate.parentNode(d)}nextSibling(d){return this.delegate.nextSibling(d)}setAttribute(d,u,l,m){this.delegate.setAttribute(d,u,l,m)}removeAttribute(d,u,l){this.delegate.removeAttribute(d,u,l)}addClass(d,u){this.delegate.addClass(d,u)}removeClass(d,u){this.delegate.removeClass(d,u)}setStyle(d,u,l,m){this.delegate.setStyle(d,u,l,m)}removeStyle(d,u,l){this.delegate.removeStyle(d,u,l)}setProperty(d,u,l){"@"==u.charAt(0)&&u==Kc?this.disableAnimations(d,!!l):this.delegate.setProperty(d,u,l)}setValue(d,u){this.delegate.setValue(d,u)}listen(d,u,l){return this.delegate.listen(d,u,l)}disableAnimations(d,u){this.engine.disableAnimations(d,u)}}class gm extends Yc{constructor(d,u,l,m,I){super(u,l,m,I),this.factory=d,this.namespaceId=u}setProperty(d,u,l){"@"==u.charAt(0)?"."==u.charAt(1)&&u==Kc?this.disableAnimations(d,l=void 0===l||!!l):this.engine.process(this.namespaceId,d,u.slice(1),l):this.delegate.setProperty(d,u,l)}listen(d,u,l){if("@"==u.charAt(0)){const m=function wu(b){switch(b){case"body":return document.body;case"document":return document;case"window":return window;default:return b}}(d);let I=u.slice(1),U="";return"@"!=I.charAt(0)&&([I,U]=function Hl(b){const d=b.indexOf(".");return[b.substring(0,d),b.slice(d+1)]}(I)),this.engine.listen(this.namespaceId,m,I,U,oe=>{this.factory.scheduleListenerCallback(oe._data||-1,l,oe)})}return this.delegate.listen(d,u,l)}}class zl{constructor(d,u,l){this.delegate=d,this.engine=u,this._zone=l,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,u.onRemovalComplete=(m,I)=>{const U=null==I?void 0:I.parentNode(m);U&&I.removeChild(U,m)}}createRenderer(d,u){var l;const I=this.delegate.createRenderer(d,u);if(!d||null==u||null===(l=u.data)||void 0===l||!l.animation){const It=this._rendererCache;let St=It.get(I);return St||(St=new Yc("",I,this.engine,()=>It.delete(I)),It.set(I,St)),St}const U=u.id,oe=u.id+"-"+this._currentId;this._currentId++,this.engine.register(oe,d);const Fe=It=>{Array.isArray(It)?It.forEach(Fe):this.engine.registerTrigger(U,oe,d,It.name,It)};return u.data.animation.forEach(Fe),new gm(this,oe,I,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(d,u,l){if(d>=0&&du(l));const m=this._animationCallbacksBuffer;0==m.length&&queueMicrotask(()=>{this._zone.run(()=>{m.forEach(I=>{const[U,oe]=I;U(oe)}),this._animationCallbacksBuffer=[]})}),m.push([u,l])}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 Mu=[{provide:Vs,useFactory:function To(){return new ue}},{provide:ga,useClass:(()=>{var b;class d extends ga{constructor(l,m,I){super(l,m,I,(0,s.uUt)(s.yai,{optional:!0}))}ngOnDestroy(){this.flush()}}return(b=d).\u0275fac=function(l){return new(l||b)(s.CoB(te.Ud),s.CoB($r),s.CoB(Vs))},b.\u0275prov=s.wxM({token:b,factory:b.\u0275fac}),d})()},{provide:s.O8F,useFactory:function Xc(b,d,u){return new zl(b,d,u)},deps:[a.q,ga,s.WW2]}],Qc=[{provide:$r,useFactory:()=>new Ka},{provide:s.qwP,useValue:"BrowserAnimations"},...Mu],Qs=[{provide:$r,useClass:as},{provide:s.qwP,useValue:"NoopAnimations"},...Mu];let Wl=(()=>{var b;class d{static withConfig(l){return{ngModule:d,providers:l.disableAnimations?Qs:Qc}}}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275mod=s.a4G({type:b}),b.\u0275inj=s.s3X({providers:Qc,imports:[a.iE]}),d})();var Iu=y(2864),qc=y(2096);const qs=["*",[["mat-toolbar-row"]]],Su=["*","mat-toolbar-row"];let hs=(()=>{var b;class d{}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275dir=s.Sc5({type:b,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"],standalone:!0}),d})(),Tu=(()=>{var b;class d{constructor(l,m,I){this._elementRef=l,this._platform=m,this._document=I}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(s.GMv),s.GI1(ai.WU),s.GI1(te.Ud))},b.\u0275cmp=s.In1({type:b,selectors:[["mat-toolbar"]],contentQueries:function(l,m,I){if(1&l&&s.szK(I,hs,5),2&l){let U;s.wto(U=s.Gqi())&&(m._toolbarRows=U)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(l,m){2&l&&(s.m8U(m.color?"mat-"+m.color:""),s.eAK("mat-toolbar-multiple-rows",m._toolbarRows.length>0)("mat-toolbar-single-row",0===m._toolbarRows.length))},inputs:{color:"color"},exportAs:["matToolbar"],standalone:!0,features:[s.UHJ],ngContentSelectors:Su,decls:2,vars:0,template:function(l,m){1&l&&(s.kPM(qs),s._Xx(0),s._Xx(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color);--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color)}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0}),d})(),Jc=(()=>{var b;class d{}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275mod=s.a4G({type:b}),b.\u0275inj=s.s3X({imports:[re.AN,re.AN]}),d})(),Vn=(()=>{var b;class d{}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275mod=s.a4G({type:b}),b.\u0275inj=s.s3X({providers:[{provide:oo.uY,useValue:{floatLabel:"always"}}],imports:[Wt.y,Jc,cn.oJ,ni,ui,Xt,Iu.sr,oo.wb,jn.cN,qc.d5,zo]}),d})();function Ya(b,d){if(1&b){const u=s.KQA();s.I0R(0,"button",9),s.qCj("click",function(){const I=s.usT(u).$implicit,U=s.GaO(2);return s.CGJ(U.changeLang(I))}),s.OEk(1),s.C$Y()}if(2&b){const u=d.$implicit;s.yG2(),s.cNF(u.name)}}function Yl(b,d){if(1&b){const u=s.KQA();s.I0R(0,"button",9),s.qCj("click",function(){s.usT(u);const m=s.GaO(2);return s.CGJ(m.admin())}),s.I0R(1,"i",24),s.OEk(2,"dashboard"),s.C$Y(),s.I0R(3,"uds-translate"),s.OEk(4,"Dashboard"),s.C$Y()()}}function va(b,d){1&b&&(s.I0R(0,"button",29)(1,"i",24),s.OEk(2,"file_download"),s.C$Y(),s.I0R(3,"uds-translate"),s.OEk(4,"Downloads"),s.C$Y()())}function Au(b,d){if(1&b&&(s.I0R(0,"button",14),s.OEk(1),s.C$Y()),2&b){s.GaO();const u=s.Gew(8),l=s.GaO();s.E7m("matMenuTriggerFor",u),s.yG2(),s.cNF(l.api.user.user)}}function Ou(b,d){if(1&b&&(s.I0R(0,"button",26),s.OEk(1),s.I0R(2,"i",24),s.OEk(3,"arrow_drop_down"),s.C$Y()()),2&b){s.GaO();const u=s.Gew(8),l=s.GaO();s.E7m("matMenuTriggerFor",u),s.yG2(),s.oRS("",l.api.user.user," ")}}function ku(b,d){if(1&b){const u=s.KQA();s.SAx(0),s.I0R(1,"form",1),s.wR5(2,"input",2)(3,"input",3),s.C$Y(),s.I0R(4,"mat-menu",null,4),s.yuY(6,Ya,2,1,"button",5),s.C$Y(),s.I0R(7,"mat-menu",null,6),s.yuY(9,Yl,5,0,"button",7)(10,va,5,0,"button",8),s.I0R(11,"button",9),s.qCj("click",function(){s.usT(u);const m=s.GaO();return s.CGJ(m.logout())}),s.I0R(12,"i",10),s.OEk(13,"exit_to_app"),s.C$Y(),s.I0R(14,"uds-translate"),s.OEk(15,"Logout"),s.C$Y()()(),s.I0R(16,"mat-menu",11,12),s.yuY(18,Au,2,2,"button",13),s.I0R(19,"button",14),s.OEk(20),s.C$Y(),s.I0R(21,"button",15)(22,"uds-translate"),s.OEk(23,"UDS Client"),s.C$Y()(),s.I0R(24,"button",16)(25,"uds-translate"),s.OEk(26,"About"),s.C$Y()()(),s.I0R(27,"mat-toolbar",17)(28,"button",18)(29,"div",19),s.wR5(30,"img",20),s.OEk(31),s.C$Y()(),s.wR5(32,"span",21),s.I0R(33,"div",22)(34,"button",23)(35,"i",24),s.OEk(36,"file_download"),s.C$Y(),s.I0R(37,"uds-translate"),s.OEk(38,"UDS Client"),s.C$Y()(),s.I0R(39,"button",25)(40,"i",24),s.OEk(41,"info"),s.C$Y(),s.I0R(42,"uds-translate"),s.OEk(43,"About"),s.C$Y()(),s.I0R(44,"button",26),s.OEk(45),s.I0R(46,"i",24),s.OEk(47,"arrow_drop_down"),s.C$Y()(),s.yuY(48,Ou,4,2,"button",27),s.C$Y(),s.I0R(49,"div",28)(50,"button",26)(51,"i",24),s.OEk(52,"menu"),s.C$Y()()()(),s.k70()}if(2&b){const u=s.Gew(5),l=s.Gew(17),m=s.GaO();s.yG2(),s._6D("action",m.api.config.urls.change_language,s.K6U),s.yG2(),s._6D("name",m.api.csrfField),s._6D("value",m.api.csrfToken),s.yG2(),s._6D("value",m.lang.id),s.yG2(3),s.E7m("ngForOf",m.langs),s.yG2(3),s.E7m("ngIf",m.api.user.isStaff),s.yG2(),s.E7m("ngIf",m.api.user.isStaff),s.yG2(8),s.E7m("ngIf",m.api.user.isLogged),s.yG2(),s.E7m("matMenuTriggerFor",u),s.yG2(),s.oRS("",m.lang.name," "),s.yG2(10),s.E7m("src",m.api.staticURL("modern/img/udsicon.png"),s.K6U),s.yG2(),s.oRS(" ","UDS"===m.api.config.site_logo_name?"":m.api.config.site_logo_name," "),s.yG2(13),s.E7m("matMenuTriggerFor",u),s.yG2(),s.oRS("",m.lang.name," "),s.yG2(3),s.E7m("ngIf",m.api.user.isLogged),s.yG2(2),s.E7m("matMenuTriggerFor",l)}}let bm=(()=>{var b;class d{constructor(l){this.api=l,this.lang={},this.langs=[],this.style="";const m=l.config.language;this.langs=[];for(const I of l.config.available_languages)I.id===m?this.lang=I:this.langs.push(I)}ngOnInit(){}changeLang(l){this.lang=l;const m=document.getElementById("id_language");m&&m.setAttribute("value",l.id);const I=document.getElementById("form_language");I&&I.submit()}admin(){this.api.gotoAdmin()}logout(){this.api.logout()}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(z.G))},b.\u0275cmp=s.In1({type:b,selectors:[["uds-navbar"]],decls:1,vars:1,consts:[[4,"ngIf"],["id","form_language","method","post",3,"action"],["type","hidden",3,"name","value"],["id","id_language","type","hidden","name","language",3,"value"],["appMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["userMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","","routerLink","/downloads",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"material-icons","highlight"],["x-position","before"],["shrink","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","","routerLink","/client-download"],["mat-menu-item","","routerLink","/about"],["color","primary",1,"uds-nav"],["mat-button","","routerLink","/"],[1,"logo"],["alt","Universal Desktop Services",3,"src"],[1,"fill-remaining-space"],[1,"expanded"],["mat-button","","routerLink","/client-download"],[1,"material-icons"],["mat-button","","routerLink","/about"],["mat-button","",3,"matMenuTriggerFor"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],[1,"shrinked"],["mat-menu-item","","routerLink","/downloads"]],template:function(l,m){1&l&&s.yuY(0,ku,53,16,"ng-container",0),2&l&&s.E7m("ngIf",""===m.api.config.urls.launch)},dependencies:[te.ay,te.u_,ce.ER,Wt.sz,Wt.u,Wt.SC,Tu,cn.Gw,jt,q,Fi,Ce.e],styles:['.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0);background-color:var(--mat-ripple-color, rgba(0, 0, 0, .1))}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl][_ngcontent-%COMP%] .cdk-visually-hidden[_ngcontent-%COMP%]{left:auto;right:0}.cdk-overlay-container[_ngcontent-%COMP%], .cdk-global-overlay-wrapper[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}.cdk-high-contrast-active[_ngcontent-%COMP%] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:#00000052}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%]{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation[_ngcontent-%COMP%]{transition:none}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-start{}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{animation:_ngcontent-%COMP%_cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){animation:_ngcontent-%COMP%_cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-focus-indicator[_ngcontent-%COMP%]:before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator[_ngcontent-%COMP%]:focus:before{content:""}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:focus:before{content:""}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-mdc-focus-indicator-display: block}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--mat-app-background-color, transparent);color:var(--mat-app-text-color, inherit)}.uds-nav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:1000;background-image:linear-gradient(60deg,#4b5266,#465d9c)}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}.material-icons[_ngcontent-%COMP%]{margin-right:.3rem}.logo[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{display:block;width:2rem}@media only screen and (max-width: 744px){.expanded[_ngcontent-%COMP%]{display:none;visibility:hidden}.shrinked[_ngcontent-%COMP%]{visibility:visible}}@media only screen and (min-width: 745px){.expanded[_ngcontent-%COMP%]{visibility:visible}.shrinked[_ngcontent-%COMP%]{display:none;visibility:hidden}}']}),d})(),ym=(()=>{var b;class d{constructor(l){this.api=l}ngOnInit(){}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(z.G))},b.\u0275cmp=s.In1({type:b,selectors:[["uds-footer"]],decls:3,vars:2,consts:[[3,"href"]],template:function(l,m){1&l&&(s.I0R(0,"div")(1,"a",0),s.OEk(2),s.C$Y()()),2&l&&(s.yG2(),s.E7m("href",m.api.config.site_copyright_link,s.K6U),s.yG2(),s.cNF(m.api.config.site_copyright_info))}}),d})(),Za=(()=>{var b;class d{constructor(l){this.api=l,this.title="UDS"}get blackTheme(){return"true"===this.api.getFromStorage("blackTheme")}set blackTheme(l){this.api.putOnStorage("blackTheme",l.toString())}handleKeyboardEvent(l){l.altKey&&l.ctrlKey&&"b"===l.key&&(this.blackTheme=!this.blackTheme,this.api.switchTheme(this.blackTheme))}ngOnInit(){this.api.switchTheme(this.blackTheme),cookieconsent.initialise({palette:{popup:{background:"#343c66",text:"#cfcfe8"},button:{background:"#f71559"}},content:{message:django.gettext("We use cookies to track usage and preferences"),dismiss:django.gettext("I Understand"),link:django.gettext("Learn more")}})}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(z.G))},b.\u0275cmp=s.In1({type:b,selectors:[["uds-root"]],hostBindings:function(l,m){1&l&&s.qCj("keydown",function(U){return m.handleKeyboardEvent(U)},!1,s.wLc)},decls:6,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(l,m){1&l&&(s.wR5(0,"uds-navbar"),s.I0R(1,"div",0)(2,"div",1),s.wR5(3,"router-outlet"),s.C$Y(),s.I0R(4,"div",2),s.wR5(5,"uds-footer"),s.C$Y()())},dependencies:[ce.cP,bm,ym],styles:[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:1em;height:1em;display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:80%;margin:64px auto 0}@media only screen and (max-width: 744px){.content[_ngcontent-%COMP%]{width:100%}}"]}),d})();var Ru=y(500);let Zl=(()=>{var b;class d{}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275mod=s.a4G({type:b,bootstrap:[Za]}),b.\u0275inj=s.s3X({providers:[z.G,Ru._],imports:[a.iE,D.O2,J.SU,Wo,Wl,Vn]}),d})();y(6716).O.production&&(0,s.agy)(),a.o_().bootstrapModule(Zl).catch(b=>console.log(b))},6700:(Qe,fe,y)=>{y.d(fe,{g:()=>s});var a=y(5657);class s extends a.E{constructor(J){super(),this._value=J}get value(){return this.getValue()}_subscribe(J){const ce=super._subscribe(J);return!ce.closed&&J.next(this._value),ce}getValue(){const{hasError:J,thrownError:ce,_value:z}=this;if(J)throw ce;return this._throwIfClosed(),z}next(J){super.next(this._value=J)}}},3252:(Qe,fe,y)=>{y.d(fe,{_:()=>ve});var a=y(1760),s=y(6928),D=y(472),J=y(3928),ce=y(4491),z=y(8880),ae=y(2075);let ve=(()=>{class Pe{constructor(ke){ke&&(this._subscribe=ke)}lift(ke){const Be=new Pe;return Be.source=this,Be.operator=ke,Be}subscribe(ke,Be,Re){const Ne=function Me(Pe){return Pe&&Pe instanceof a.yR||function Ce(Pe){return Pe&&(0,z.m)(Pe.next)&&(0,z.m)(Pe.error)&&(0,z.m)(Pe.complete)}(Pe)&&(0,s.GI)(Pe)}(ke)?ke:new a.ot(ke,Be,Re);return(0,ae.c)(()=>{const{operator:ot,source:xt}=this;Ne.add(ot?ot.call(Ne,xt):xt?this._subscribe(Ne):this._trySubscribe(Ne))}),Ne}_trySubscribe(ke){try{return this._subscribe(ke)}catch(Be){ke.error(Be)}}forEach(ke,Be){return new(Be=te(Be))((Re,Ne)=>{const ot=new a.ot({next:xt=>{try{ke(xt)}catch(lt){Ne(lt),ot.unsubscribe()}},error:Ne,complete:Re});this.subscribe(ot)})}_subscribe(ke){var Be;return null===(Be=this.source)||void 0===Be?void 0:Be.subscribe(ke)}[D.a](){return this}pipe(...ke){return(0,J.Y)(ke)(this)}toPromise(ke){return new(ke=te(ke))((Be,Re)=>{let Ne;this.subscribe(ot=>Ne=ot,ot=>Re(ot),()=>Be(Ne))})}}return Pe.create=et=>new Pe(et),Pe})();function te(Pe){var et;return null!==(et=null!=Pe?Pe:ce.config.Promise)&&void 0!==et?et:Promise}},5657:(Qe,fe,y)=>{y.d(fe,{E:()=>ae});var a=y(3252),s=y(6928);const J=(0,y(4912).w)(te=>function(){te(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ce=y(1248),z=y(2075);let ae=(()=>{class te extends a._{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(Me){const Pe=new ve(this,this);return Pe.operator=Me,Pe}_throwIfClosed(){if(this.closed)throw new J}next(Me){(0,z.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const Pe of this.currentObservers)Pe.next(Me)}})}error(Me){(0,z.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=Me;const{observers:Pe}=this;for(;Pe.length;)Pe.shift().error(Me)}})}complete(){(0,z.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:Me}=this;for(;Me.length;)Me.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var Me;return(null===(Me=this.observers)||void 0===Me?void 0:Me.length)>0}_trySubscribe(Me){return this._throwIfClosed(),super._trySubscribe(Me)}_subscribe(Me){return this._throwIfClosed(),this._checkFinalizedStatuses(Me),this._innerSubscribe(Me)}_innerSubscribe(Me){const{hasError:Pe,isStopped:et,observers:ke}=this;return Pe||et?s.au:(this.currentObservers=null,ke.push(Me),new s.wH(()=>{this.currentObservers=null,(0,ce.k)(ke,Me)}))}_checkFinalizedStatuses(Me){const{hasError:Pe,thrownError:et,isStopped:ke}=this;Pe?Me.error(et):ke&&Me.complete()}asObservable(){const Me=new a._;return Me.source=this,Me}}return te.create=(Ce,Me)=>new ve(Ce,Me),te})();class ve extends ae{constructor(Ce,Me){super(),this.destination=Ce,this.source=Me}next(Ce){var Me,Pe;null===(Pe=null===(Me=this.destination)||void 0===Me?void 0:Me.next)||void 0===Pe||Pe.call(Me,Ce)}error(Ce){var Me,Pe;null===(Pe=null===(Me=this.destination)||void 0===Me?void 0:Me.error)||void 0===Pe||Pe.call(Me,Ce)}complete(){var Ce,Me;null===(Me=null===(Ce=this.destination)||void 0===Ce?void 0:Ce.complete)||void 0===Me||Me.call(Ce)}_subscribe(Ce){var Me,Pe;return null!==(Pe=null===(Me=this.source)||void 0===Me?void 0:Me.subscribe(Ce))&&void 0!==Pe?Pe:s.au}}},1760:(Qe,fe,y)=>{y.d(fe,{ot:()=>Re,yR:()=>Pe});var a=y(8880),s=y(6928),D=y(4491),J=y(1984),ce=y(308);const z=te("C",void 0,void 0);function te(Ge,Oe,X){return{kind:Ge,value:Oe,error:X}}var Ce=y(3376),Me=y(2075);class Pe extends s.wH{constructor(Oe){super(),this.isStopped=!1,Oe?(this.destination=Oe,(0,s.GI)(Oe)&&Oe.add(this)):this.destination=lt}static create(Oe,X,G){return new Re(Oe,X,G)}next(Oe){this.isStopped?xt(function ve(Ge){return te("N",Ge,void 0)}(Oe),this):this._next(Oe)}error(Oe){this.isStopped?xt(function ae(Ge){return te("E",void 0,Ge)}(Oe),this):(this.isStopped=!0,this._error(Oe))}complete(){this.isStopped?xt(z,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Oe){this.destination.next(Oe)}_error(Oe){try{this.destination.error(Oe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const et=Function.prototype.bind;function ke(Ge,Oe){return et.call(Ge,Oe)}class Be{constructor(Oe){this.partialObserver=Oe}next(Oe){const{partialObserver:X}=this;if(X.next)try{X.next(Oe)}catch(G){Ne(G)}}error(Oe){const{partialObserver:X}=this;if(X.error)try{X.error(Oe)}catch(G){Ne(G)}else Ne(Oe)}complete(){const{partialObserver:Oe}=this;if(Oe.complete)try{Oe.complete()}catch(X){Ne(X)}}}class Re extends Pe{constructor(Oe,X,G){let ye;if(super(),(0,a.m)(Oe)||!Oe)ye={next:null!=Oe?Oe:void 0,error:null!=X?X:void 0,complete:null!=G?G:void 0};else{let re;this&&D.config.useDeprecatedNextContext?(re=Object.create(Oe),re.unsubscribe=()=>this.unsubscribe(),ye={next:Oe.next&&ke(Oe.next,re),error:Oe.error&&ke(Oe.error,re),complete:Oe.complete&&ke(Oe.complete,re)}):ye=Oe}this.destination=new Be(ye)}}function Ne(Ge){D.config.useDeprecatedSynchronousErrorHandling?(0,Me.q)(Ge):(0,J.U)(Ge)}function xt(Ge,Oe){const{onStoppedNotification:X}=D.config;X&&Ce.u.setTimeout(()=>X(Ge,Oe))}const lt={closed:!0,next:ce.K,error:function ot(Ge){throw Ge},complete:ce.K}},6928:(Qe,fe,y)=>{y.d(fe,{au:()=>z,wH:()=>ce,GI:()=>ae});var a=y(8880);const D=(0,y(4912).w)(te=>function(Me){te(this),this.message=Me?"".concat(Me.length," errors occurred during unsubscription:\n").concat(Me.map((Pe,et)=>"".concat(et+1,") ").concat(Pe.toString())).join("\n ")):"",this.name="UnsubscriptionError",this.errors=Me});var J=y(1248);class ce{constructor(Ce){this.initialTeardown=Ce,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let Ce;if(!this.closed){this.closed=!0;const{_parentage:Me}=this;if(Me)if(this._parentage=null,Array.isArray(Me))for(const ke of Me)ke.remove(this);else Me.remove(this);const{initialTeardown:Pe}=this;if((0,a.m)(Pe))try{Pe()}catch(ke){Ce=ke instanceof D?ke.errors:[ke]}const{_finalizers:et}=this;if(et){this._finalizers=null;for(const ke of et)try{ve(ke)}catch(Be){Ce=null!=Ce?Ce:[],Be instanceof D?Ce=[...Ce,...Be.errors]:Ce.push(Be)}}if(Ce)throw new D(Ce)}}add(Ce){var Me;if(Ce&&Ce!==this)if(this.closed)ve(Ce);else{if(Ce instanceof ce){if(Ce.closed||Ce._hasParent(this))return;Ce._addParent(this)}(this._finalizers=null!==(Me=this._finalizers)&&void 0!==Me?Me:[]).push(Ce)}}_hasParent(Ce){const{_parentage:Me}=this;return Me===Ce||Array.isArray(Me)&&Me.includes(Ce)}_addParent(Ce){const{_parentage:Me}=this;this._parentage=Array.isArray(Me)?(Me.push(Ce),Me):Me?[Me,Ce]:Ce}_removeParent(Ce){const{_parentage:Me}=this;Me===Ce?this._parentage=null:Array.isArray(Me)&&(0,J.k)(Me,Ce)}remove(Ce){const{_finalizers:Me}=this;Me&&(0,J.k)(Me,Ce),Ce instanceof ce&&Ce._removeParent(this)}}ce.EMPTY=(()=>{const te=new ce;return te.closed=!0,te})();const z=ce.EMPTY;function ae(te){return te instanceof ce||te&&"closed"in te&&(0,a.m)(te.remove)&&(0,a.m)(te.add)&&(0,a.m)(te.unsubscribe)}function ve(te){(0,a.m)(te)?te():te.unsubscribe()}},4491:(Qe,fe,y)=>{y.d(fe,{config:()=>a});const a={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},6040:(Qe,fe,y)=>{y.d(fe,{E:()=>Ce});var a=y(3252),s=y(4300),D=y(2115),J=y(528),ce=y(4187),z=y(6624),ae=y(7904),ve=y(7773),te=y(9399);function Ce(...et){const ke=(0,z.e_)(et),Be=(0,z.yu)(et),{args:Re,keys:Ne}=(0,s.Q)(et);if(0===Re.length)return(0,D.Q)([],ke);const ot=new a._(function Me(et,ke,Be=J.Z){return Re=>{Pe(ke,()=>{const{length:Ne}=et,ot=new Array(Ne);let xt=Ne,lt=Ne;for(let Ge=0;Ge{const Oe=(0,D.Q)(et[Ge],ke);let X=!1;Oe.subscribe((0,ve.e)(Re,G=>{ot[Ge]=G,X||(X=!0,lt--),lt||Re.next(Be(ot.slice()))},()=>{--xt||Re.complete()}))},Re)},Re)}}(Re,ke,Ne?xt=>(0,ae.q)(Ne,xt):J.Z));return Be?ot.pipe((0,ce.j)(Be)):ot}function Pe(et,ke,Be){et?(0,te._)(Be,et,ke):ke()}},7228:(Qe,fe,y)=>{y.d(fe,{W:()=>ce});var a=y(267),D=y(6624),J=y(2115);function ce(...z){return function s(){return(0,a.u)(1)}()((0,J.Q)(z,(0,D.e_)(z)))}},1424:(Qe,fe,y)=>{y.d(fe,{Q:()=>D});var a=y(3252),s=y(560);function D(J){return new a._(ce=>{(0,s.Uv)(J()).subscribe(ce)})}},8960:(Qe,fe,y)=>{y.d(fe,{k:()=>s});const s=new(y(3252)._)(ce=>ce.complete())},2115:(Qe,fe,y)=>{y.d(fe,{Q:()=>G});var a=y(560),s=y(9399),D=y(5448),J=y(7773);function ce(ye,re=0){return(0,D.i)((ie,me)=>{ie.subscribe((0,J.e)(me,Xe=>(0,s._)(me,ye,()=>me.next(Xe),re),()=>(0,s._)(me,ye,()=>me.complete(),re),Xe=>(0,s._)(me,ye,()=>me.error(Xe),re)))})}function z(ye,re=0){return(0,D.i)((ie,me)=>{me.add(ye.schedule(()=>ie.subscribe(me),re))})}var te=y(3252),Me=y(3835),Pe=y(8880);function ke(ye,re){if(!ye)throw new Error("Iterable cannot be null");return new te._(ie=>{(0,s._)(ie,re,()=>{const me=ye[Symbol.asyncIterator]();(0,s._)(ie,re,()=>{me.next().then(Xe=>{Xe.done?ie.complete():ie.next(Xe.value)})},0,!0)})})}var Be=y(5099),Re=y(5432),Ne=y(5428),ot=y(1688),xt=y(376),lt=y(8272),Ge=y(5832);function G(ye,re){return re?function X(ye,re){if(null!=ye){if((0,Be.O)(ye))return function ae(ye,re){return(0,a.Uv)(ye).pipe(z(re),ce(re))}(ye,re);if((0,Ne.G)(ye))return function Ce(ye,re){return new te._(ie=>{let me=0;return re.schedule(function(){me===ye.length?ie.complete():(ie.next(ye[me++]),ie.closed||this.schedule())})})}(ye,re);if((0,Re.u)(ye))return function ve(ye,re){return(0,a.Uv)(ye).pipe(z(re),ce(re))}(ye,re);if((0,xt.E)(ye))return ke(ye,re);if((0,ot.i)(ye))return function et(ye,re){return new te._(ie=>{let me;return(0,s._)(ie,re,()=>{me=ye[Me.w](),(0,s._)(ie,re,()=>{let Xe,pt;try{({value:Xe,done:pt}=me.next())}catch(Pt){return void ie.error(Pt)}pt?ie.complete():ie.next(Xe)},0,!0)}),()=>(0,Pe.m)(null==me?void 0:me.return)&&me.return()})}(ye,re);if((0,Ge.K)(ye))return function Oe(ye,re){return ke((0,Ge._)(ye),re)}(ye,re)}throw(0,lt.W)(ye)}(ye,re):(0,a.Uv)(ye)}},800:(Qe,fe,y)=>{y.d(fe,{w:()=>Ce});var a=y(560),s=y(3252),D=y(7400),J=y(5428),ce=y(8880),z=y(4187);const ae=["addListener","removeListener"],ve=["addEventListener","removeEventListener"],te=["on","off"];function Ce(Be,Re,Ne,ot){if((0,ce.m)(Ne)&&(ot=Ne,Ne=void 0),ot)return Ce(Be,Re,Ne).pipe((0,z.j)(ot));const[xt,lt]=function ke(Be){return(0,ce.m)(Be.addEventListener)&&(0,ce.m)(Be.removeEventListener)}(Be)?ve.map(Ge=>Oe=>Be[Ge](Re,Oe,Ne)):function Pe(Be){return(0,ce.m)(Be.addListener)&&(0,ce.m)(Be.removeListener)}(Be)?ae.map(Me(Be,Re)):function et(Be){return(0,ce.m)(Be.on)&&(0,ce.m)(Be.off)}(Be)?te.map(Me(Be,Re)):[];if(!xt&&(0,J.G)(Be))return(0,D.O)(Ge=>Ce(Ge,Re,Ne))((0,a.Uv)(Be));if(!xt)throw new TypeError("Invalid event target");return new s._(Ge=>{const Oe=(...X)=>Ge.next(1lt(Oe)})}function Me(Be,Re){return Ne=>ot=>Be[Ne](Re,ot)}},560:(Qe,fe,y)=>{y.d(fe,{Uv:()=>et});var a=y(1316),s=y(5428),D=y(5432),J=y(3252),ce=y(5099),z=y(376),ae=y(8272),ve=y(1688),te=y(5832),Ce=y(8880),Me=y(1984),Pe=y(472);function et(Ge){if(Ge instanceof J._)return Ge;if(null!=Ge){if((0,ce.O)(Ge))return function ke(Ge){return new J._(Oe=>{const X=Ge[Pe.a]();if((0,Ce.m)(X.subscribe))return X.subscribe(Oe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Ge);if((0,s.G)(Ge))return function Be(Ge){return new J._(Oe=>{for(let X=0;X{Ge.then(X=>{Oe.closed||(Oe.next(X),Oe.complete())},X=>Oe.error(X)).then(null,Me.U)})}(Ge);if((0,z.E)(Ge))return ot(Ge);if((0,ve.i)(Ge))return function Ne(Ge){return new J._(Oe=>{for(const X of Ge)if(Oe.next(X),Oe.closed)return;Oe.complete()})}(Ge);if((0,te.K)(Ge))return function xt(Ge){return ot((0,te._)(Ge))}(Ge)}throw(0,ae.W)(Ge)}function ot(Ge){return new J._(Oe=>{(function lt(Ge,Oe){var X,G,ye,re;return(0,a.kH)(this,void 0,void 0,function*(){try{for(X=(0,a.mA)(Ge);!(G=yield X.next()).done;)if(Oe.next(G.value),Oe.closed)return}catch(ie){ye={error:ie}}finally{try{G&&!G.done&&(re=X.return)&&(yield re.call(X))}finally{if(ye)throw ye.error}}Oe.complete()})})(Ge,Oe).catch(X=>Oe.error(X))})}},3412:(Qe,fe,y)=>{y.d(fe,{U:()=>z});var a=y(267),s=y(560),D=y(8960),J=y(6624),ce=y(2115);function z(...ae){const ve=(0,J.e_)(ae),te=(0,J._8)(ae,1/0),Ce=ae;return Ce.length?1===Ce.length?(0,s.Uv)(Ce[0]):(0,a.u)(te)((0,ce.Q)(Ce,ve)):D.k}},2700:(Qe,fe,y)=>{y.d(fe,{of:()=>D});var a=y(6624),s=y(2115);function D(...J){const ce=(0,a.e_)(J);return(0,s.Q)(J,ce)}},3120:(Qe,fe,y)=>{y.d(fe,{k:()=>ce});var a=y(3252),s=y(112),D=y(3048),J=y(1252);function ce(z=0,ae,ve=s.a){let te=-1;return null!=ae&&((0,D.G)(ae)?ve=ae:te=ae),new a._(Ce=>{let Me=(0,J.e)(z)?+z-ve.now():z;Me<0&&(Me=0);let Pe=0;return ve.schedule(function(){Ce.closed||(Ce.next(Pe++),0<=te?this.schedule(void 0,te):Ce.complete())},Me)})}},7773:(Qe,fe,y)=>{y.d(fe,{e:()=>s});var a=y(1760);function s(J,ce,z,ae,ve){return new D(J,ce,z,ae,ve)}class D extends a.yR{constructor(ce,z,ae,ve,te,Ce){super(ce),this.onFinalize=te,this.shouldUnsubscribe=Ce,this._next=z?function(Me){try{z(Me)}catch(Pe){ce.error(Pe)}}:super._next,this._error=ve?function(Me){try{ve(Me)}catch(Pe){ce.error(Pe)}finally{this.unsubscribe()}}:super._error,this._complete=ae?function(){try{ae()}catch(Me){ce.error(Me)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var ce;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:z}=this;super.unsubscribe(),!z&&(null===(ce=this.onFinalize)||void 0===ce||ce.call(this))}}}},6020:(Qe,fe,y)=>{y.d(fe,{m:()=>D});var a=y(7400),s=y(8880);function D(J,ce){return(0,s.m)(ce)?(0,a.O)(J,ce,1):(0,a.O)(J,1)}},4680:(Qe,fe,y)=>{y.d(fe,{o:()=>J});var a=y(112),s=y(5448),D=y(7773);function J(ce,z=a.M){return(0,s.i)((ae,ve)=>{let te=null,Ce=null,Me=null;const Pe=()=>{if(te){te.unsubscribe(),te=null;const ke=Ce;Ce=null,ve.next(ke)}};function et(){const ke=Me+ce,Be=z.now();if(Be{Ce=ke,Me=z.now(),te||(te=z.schedule(et,ce),ve.add(te))},()=>{Pe(),ve.complete()},void 0,()=>{Ce=te=null}))})}},4e3:(Qe,fe,y)=>{y.d(fe,{a:()=>J});var a=y(528),s=y(5448),D=y(7773);function J(z,ae=a.Z){return z=null!=z?z:ce,(0,s.i)((ve,te)=>{let Ce,Me=!0;ve.subscribe((0,D.e)(te,Pe=>{const et=ae(Pe);(Me||!z(Ce,et))&&(Me=!1,Ce=et,te.next(Pe))}))})}function ce(z,ae){return z===ae}},6684:(Qe,fe,y)=>{y.d(fe,{I:()=>D});var a=y(5448),s=y(7773);function D(J,ce){return(0,a.i)((z,ae)=>{let ve=0;z.subscribe((0,s.e)(ae,te=>J.call(ce,te,ve++)&&ae.next(te)))})}},8824:(Qe,fe,y)=>{y.d(fe,{U:()=>s});var a=y(5448);function s(D){return(0,a.i)((J,ce)=>{try{J.subscribe(ce)}finally{ce.add(D)}})}},4704:(Qe,fe,y)=>{y.d(fe,{k:()=>D});var a=y(5448),s=y(7773);function D(J,ce){return(0,a.i)((z,ae)=>{let ve=0;z.subscribe((0,s.e)(ae,te=>{ae.next(J.call(ce,te,ve++))}))})}},320:(Qe,fe,y)=>{y.d(fe,{e:()=>s});var a=y(4704);function s(D){return(0,a.k)(()=>D)}},267:(Qe,fe,y)=>{y.d(fe,{u:()=>D});var a=y(7400),s=y(528);function D(J=1/0){return(0,a.O)(s.Z,J)}},7400:(Qe,fe,y)=>{y.d(fe,{O:()=>ve});var a=y(4704),s=y(560),D=y(5448),J=y(9399),ce=y(7773),ae=y(8880);function ve(te,Ce,Me=1/0){return(0,ae.m)(Ce)?ve((Pe,et)=>(0,a.k)((ke,Be)=>Ce(Pe,ke,et,Be))((0,s.Uv)(te(Pe,et))),Me):("number"==typeof Ce&&(Me=Ce),(0,D.i)((Pe,et)=>function z(te,Ce,Me,Pe,et,ke,Be,Re){const Ne=[];let ot=0,xt=0,lt=!1;const Ge=()=>{lt&&!Ne.length&&!ot&&Ce.complete()},Oe=G=>ot{ke&&Ce.next(G),ot++;let ye=!1;(0,s.Uv)(Me(G,xt++)).subscribe((0,ce.e)(Ce,re=>{null==et||et(re),ke?Oe(re):Ce.next(re)},()=>{ye=!0},void 0,()=>{if(ye)try{for(ot--;Ne.length&&otX(re)):X(re)}Ge()}catch(re){Ce.error(re)}}))};return te.subscribe((0,ce.e)(Ce,Oe,()=>{lt=!0,Ge()})),()=>{null==Re||Re()}}(Pe,et,te,Me)))}},2644:(Qe,fe,y)=>{y.d(fe,{s:()=>s});var a=y(6684);function s(D){return(0,a.I)((J,ce)=>D<=ce)}},5568:(Qe,fe,y)=>{y.d(fe,{W:()=>J});var a=y(7228),s=y(6624),D=y(5448);function J(...ce){const z=(0,s.e_)(ce);return(0,D.i)((ae,ve)=>{(z?(0,a.W)(ce,ae,z):(0,a.W)(ce,ae)).subscribe(ve)})}},7368:(Qe,fe,y)=>{y.d(fe,{G:()=>J});var a=y(560),s=y(5448),D=y(7773);function J(ce,z){return(0,s.i)((ae,ve)=>{let te=null,Ce=0,Me=!1;const Pe=()=>Me&&!te&&ve.complete();ae.subscribe((0,D.e)(ve,et=>{null==te||te.unsubscribe();let ke=0;const Be=Ce++;(0,a.Uv)(ce(et,Be)).subscribe(te=(0,D.e)(ve,Re=>ve.next(z?z(et,Re,Be,ke++):Re),()=>{te=null,Pe()}))},()=>{Me=!0,Pe()}))})}},3992:(Qe,fe,y)=>{y.d(fe,{U:()=>J});var a=y(8960),s=y(5448),D=y(7773);function J(ce){return ce<=0?()=>a.k:(0,s.i)((z,ae)=>{let ve=0;z.subscribe((0,D.e)(ae,te=>{++ve<=ce&&(ae.next(te),ce<=ve&&ae.complete())}))})}},3616:(Qe,fe,y)=>{y.d(fe,{a:()=>ce});var a=y(5448),s=y(7773),D=y(560),J=y(308);function ce(z){return(0,a.i)((ae,ve)=>{(0,D.Uv)(z).subscribe((0,s.e)(ve,()=>ve.complete(),J.K)),!ve.closed&&ae.subscribe(ve)})}},9212:(Qe,fe,y)=>{y.d(fe,{y:()=>ce});var a=y(8880),s=y(5448),D=y(7773),J=y(528);function ce(z,ae,ve){const te=(0,a.m)(z)||ae||ve?{next:z,error:ae,complete:ve}:z;return te?(0,s.i)((Ce,Me)=>{var Pe;null===(Pe=te.subscribe)||void 0===Pe||Pe.call(te);let et=!0;Ce.subscribe((0,D.e)(Me,ke=>{var Be;null===(Be=te.next)||void 0===Be||Be.call(te,ke),Me.next(ke)},()=>{var ke;et=!1,null===(ke=te.complete)||void 0===ke||ke.call(te),Me.complete()},ke=>{var Be;et=!1,null===(Be=te.error)||void 0===Be||Be.call(te,ke),Me.error(ke)},()=>{var ke,Be;et&&(null===(ke=te.unsubscribe)||void 0===ke||ke.call(te)),null===(Be=te.finalize)||void 0===Be||Be.call(te)}))}):J.Z}},1364:(Qe,fe,y)=>{y.d(fe,{m:()=>ce});var a=y(6928);class s extends a.wH{constructor(ae,ve){super()}schedule(ae,ve=0){return this}}const D={setInterval(z,ae,...ve){const{delegate:te}=D;return null!=te&&te.setInterval?te.setInterval(z,ae,...ve):setInterval(z,ae,...ve)},clearInterval(z){const{delegate:ae}=D;return((null==ae?void 0:ae.clearInterval)||clearInterval)(z)},delegate:void 0};var J=y(1248);class ce extends s{constructor(ae,ve){super(ae,ve),this.scheduler=ae,this.work=ve,this.pending=!1}schedule(ae,ve=0){var te;if(this.closed)return this;this.state=ae;const Ce=this.id,Me=this.scheduler;return null!=Ce&&(this.id=this.recycleAsyncId(Me,Ce,ve)),this.pending=!0,this.delay=ve,this.id=null!==(te=this.id)&&void 0!==te?te:this.requestAsyncId(Me,this.id,ve),this}requestAsyncId(ae,ve,te=0){return D.setInterval(ae.flush.bind(ae,this),te)}recycleAsyncId(ae,ve,te=0){if(null!=te&&this.delay===te&&!1===this.pending)return ve;null!=ve&&D.clearInterval(ve)}execute(ae,ve){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const te=this._execute(ae,ve);if(te)return te;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(ae,ve){let Ce,te=!1;try{this.work(ae)}catch(Me){te=!0,Ce=Me||new Error("Scheduled action threw falsy error")}if(te)return this.unsubscribe(),Ce}unsubscribe(){if(!this.closed){const{id:ae,scheduler:ve}=this,{actions:te}=ve;this.work=this.state=this.scheduler=null,this.pending=!1,(0,J.k)(te,this),null!=ae&&(this.id=this.recycleAsyncId(ve,ae,null)),this.delay=null,super.unsubscribe()}}}},9816:(Qe,fe,y)=>{y.d(fe,{k:()=>D});var a=y(5960);class s{constructor(ce,z=s.now){this.schedulerActionCtor=ce,this.now=z}schedule(ce,z=0,ae){return new this.schedulerActionCtor(this,ce).schedule(ae,z)}}s.now=a.K.now;class D extends s{constructor(ce,z=s.now){super(ce,z),this.actions=[],this._active=!1}flush(ce){const{actions:z}=this;if(this._active)return void z.push(ce);let ae;this._active=!0;do{if(ae=ce.execute(ce.state,ce.delay))break}while(ce=z.shift());if(this._active=!1,ae){for(;ce=z.shift();)ce.unsubscribe();throw ae}}}},1472:(Qe,fe,y)=>{y.d(fe,{u:()=>ke});var a=y(1364);let D,s=1;const J={};function ce(Re){return Re in J&&(delete J[Re],!0)}const z={setImmediate(Re){const Ne=s++;return J[Ne]=!0,D||(D=Promise.resolve()),D.then(()=>ce(Ne)&&Re()),Ne},clearImmediate(Re){ce(Re)}},{setImmediate:ve,clearImmediate:te}=z,Ce={setImmediate(...Re){const{delegate:Ne}=Ce;return((null==Ne?void 0:Ne.setImmediate)||ve)(...Re)},clearImmediate(Re){const{delegate:Ne}=Ce;return((null==Ne?void 0:Ne.clearImmediate)||te)(Re)},delegate:void 0};var Pe=y(9816);const ke=new class et extends Pe.k{flush(Ne){this._active=!0;const ot=this._scheduled;this._scheduled=void 0;const{actions:xt}=this;let lt;Ne=Ne||xt.shift();do{if(lt=Ne.execute(Ne.state,Ne.delay))break}while((Ne=xt[0])&&Ne.id===ot&&xt.shift());if(this._active=!1,lt){for(;(Ne=xt[0])&&Ne.id===ot&&xt.shift();)Ne.unsubscribe();throw lt}}}(class Me extends a.m{constructor(Ne,ot){super(Ne,ot),this.scheduler=Ne,this.work=ot}requestAsyncId(Ne,ot,xt=0){return null!==xt&&xt>0?super.requestAsyncId(Ne,ot,xt):(Ne.actions.push(this),Ne._scheduled||(Ne._scheduled=Ce.setImmediate(Ne.flush.bind(Ne,void 0))))}recycleAsyncId(Ne,ot,xt=0){var lt;if(null!=xt?xt>0:this.delay>0)return super.recycleAsyncId(Ne,ot,xt);const{actions:Ge}=Ne;null!=ot&&(null===(lt=Ge[Ge.length-1])||void 0===lt?void 0:lt.id)!==ot&&(Ce.clearImmediate(ot),Ne._scheduled===ot&&(Ne._scheduled=void 0))}})},112:(Qe,fe,y)=>{y.d(fe,{M:()=>D,a:()=>J});var a=y(1364);const D=new(y(9816).k)(a.m),J=D},5960:(Qe,fe,y)=>{y.d(fe,{K:()=>a});const a={now:()=>(a.delegate||Date).now(),delegate:void 0}},3376:(Qe,fe,y)=>{y.d(fe,{u:()=>a});const a={setTimeout(s,D,...J){const{delegate:ce}=a;return null!=ce&&ce.setTimeout?ce.setTimeout(s,D,...J):setTimeout(s,D,...J)},clearTimeout(s){const{delegate:D}=a;return((null==D?void 0:D.clearTimeout)||clearTimeout)(s)},delegate:void 0}},3835:(Qe,fe,y)=>{y.d(fe,{w:()=>s});const s=function a(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},472:(Qe,fe,y)=>{y.d(fe,{a:()=>a});const a="function"==typeof Symbol&&Symbol.observable||"@@observable"},7696:(Qe,fe,y)=>{y.d(fe,{G:()=>s});const s=(0,y(4912).w)(D=>function(){D(this),this.name="EmptyError",this.message="no elements in sequence"})},6624:(Qe,fe,y)=>{y.d(fe,{_8:()=>z,e_:()=>ce,yu:()=>J});var a=y(8880),s=y(3048);function D(ae){return ae[ae.length-1]}function J(ae){return(0,a.m)(D(ae))?ae.pop():void 0}function ce(ae){return(0,s.G)(D(ae))?ae.pop():void 0}function z(ae,ve){return"number"==typeof D(ae)?ae.pop():ve}},4300:(Qe,fe,y)=>{y.d(fe,{Q:()=>ce});const{isArray:a}=Array,{getPrototypeOf:s,prototype:D,keys:J}=Object;function ce(ae){if(1===ae.length){const ve=ae[0];if(a(ve))return{args:ve,keys:null};if(function z(ae){return ae&&"object"==typeof ae&&s(ae)===D}(ve)){const te=J(ve);return{args:te.map(Ce=>ve[Ce]),keys:te}}}return{args:ae,keys:null}}},1248:(Qe,fe,y)=>{function a(s,D){if(s){const J=s.indexOf(D);0<=J&&s.splice(J,1)}}y.d(fe,{k:()=>a})},4912:(Qe,fe,y)=>{function a(s){const J=s(ce=>{Error.call(ce),ce.stack=(new Error).stack});return J.prototype=Object.create(Error.prototype),J.prototype.constructor=J,J}y.d(fe,{w:()=>a})},7904:(Qe,fe,y)=>{function a(s,D){return s.reduce((J,ce,z)=>(J[ce]=D[z],J),{})}y.d(fe,{q:()=>a})},2075:(Qe,fe,y)=>{y.d(fe,{c:()=>D,q:()=>J});var a=y(4491);let s=null;function D(ce){if(a.config.useDeprecatedSynchronousErrorHandling){const z=!s;if(z&&(s={errorThrown:!1,error:null}),ce(),z){const{errorThrown:ae,error:ve}=s;if(s=null,ae)throw ve}}else ce()}function J(ce){a.config.useDeprecatedSynchronousErrorHandling&&s&&(s.errorThrown=!0,s.error=ce)}},9399:(Qe,fe,y)=>{function a(s,D,J,ce=0,z=!1){const ae=D.schedule(function(){J(),z?s.add(this.schedule(null,ce)):this.unsubscribe()},ce);if(s.add(ae),!z)return ae}y.d(fe,{_:()=>a})},528:(Qe,fe,y)=>{function a(s){return s}y.d(fe,{Z:()=>a})},5428:(Qe,fe,y)=>{y.d(fe,{G:()=>a});const a=s=>s&&"number"==typeof s.length&&"function"!=typeof s},376:(Qe,fe,y)=>{y.d(fe,{E:()=>s});var a=y(8880);function s(D){return Symbol.asyncIterator&&(0,a.m)(null==D?void 0:D[Symbol.asyncIterator])}},1252:(Qe,fe,y)=>{function a(s){return s instanceof Date&&!isNaN(s)}y.d(fe,{e:()=>a})},8880:(Qe,fe,y)=>{function a(s){return"function"==typeof s}y.d(fe,{m:()=>a})},5099:(Qe,fe,y)=>{y.d(fe,{O:()=>D});var a=y(472),s=y(8880);function D(J){return(0,s.m)(J[a.a])}},1688:(Qe,fe,y)=>{y.d(fe,{i:()=>D});var a=y(3835),s=y(8880);function D(J){return(0,s.m)(null==J?void 0:J[a.w])}},1116:(Qe,fe,y)=>{y.d(fe,{X:()=>D});var a=y(3252),s=y(8880);function D(J){return!!J&&(J instanceof a._||(0,s.m)(J.lift)&&(0,s.m)(J.subscribe))}},5432:(Qe,fe,y)=>{y.d(fe,{u:()=>s});var a=y(8880);function s(D){return(0,a.m)(null==D?void 0:D.then)}},5832:(Qe,fe,y)=>{y.d(fe,{K:()=>J,_:()=>D});var a=y(1316),s=y(8880);function D(ce){return(0,a.o7)(this,arguments,function*(){const ae=ce.getReader();try{for(;;){const{value:ve,done:te}=yield(0,a.U1)(ae.read());if(te)return yield(0,a.U1)(void 0);yield yield(0,a.U1)(ve)}}finally{ae.releaseLock()}})}function J(ce){return(0,s.m)(null==ce?void 0:ce.getReader)}},3048:(Qe,fe,y)=>{y.d(fe,{G:()=>s});var a=y(8880);function s(D){return D&&(0,a.m)(D.schedule)}},5448:(Qe,fe,y)=>{y.d(fe,{e:()=>s,i:()=>D});var a=y(8880);function s(J){return(0,a.m)(null==J?void 0:J.lift)}function D(J){return ce=>{if(s(ce))return ce.lift(function(z){try{return J(z,this)}catch(ae){this.error(ae)}});throw new TypeError("Unable to lift unknown Observable type")}}},4187:(Qe,fe,y)=>{y.d(fe,{j:()=>J});var a=y(4704);const{isArray:s}=Array;function J(ce){return(0,a.k)(z=>function D(ce,z){return s(z)?ce(...z):ce(z)}(ce,z))}},308:(Qe,fe,y)=>{function a(){}y.d(fe,{K:()=>a})},3928:(Qe,fe,y)=>{y.d(fe,{W:()=>s,Y:()=>D});var a=y(528);function s(...J){return D(J)}function D(J){return 0===J.length?a.Z:1===J.length?J[0]:function(z){return J.reduce((ae,ve)=>ve(ae),z)}}},1984:(Qe,fe,y)=>{y.d(fe,{U:()=>D});var a=y(4491),s=y(3376);function D(J){s.u.setTimeout(()=>{const{onUnhandledError:ce}=a.config;if(!ce)throw J;ce(J)})}},8272:(Qe,fe,y)=>{function a(s){return new TypeError("You provided ".concat(null!==s&&"object"==typeof s?"an invalid object":"'".concat(s,"'")," where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable."))}y.d(fe,{W:()=>a})},9684:(Qe,fe,y)=>{y.d(fe,{AN:()=>s,Cs:()=>J,K2:()=>ve,Ql:()=>Pe,Wq:()=>ye,aK:()=>Ce,aM:()=>re,gV:()=>D,iC:()=>z,kP:()=>G,kt:()=>ke,m0:()=>a,wb:()=>ae,yA:()=>ce});var a=function(ie){return ie[ie.State=0]="State",ie[ie.Transition=1]="Transition",ie[ie.Sequence=2]="Sequence",ie[ie.Group=3]="Group",ie[ie.Animate=4]="Animate",ie[ie.Keyframes=5]="Keyframes",ie[ie.Style=6]="Style",ie[ie.Trigger=7]="Trigger",ie[ie.Reference=8]="Reference",ie[ie.AnimateChild=9]="AnimateChild",ie[ie.AnimateRef=10]="AnimateRef",ie[ie.Query=11]="Query",ie[ie.Stagger=12]="Stagger",ie}(a||{});const s="*";function D(ie,me){return{type:a.Trigger,name:ie,definitions:me,options:{}}}function J(ie,me=null){return{type:a.Animate,styles:me,timings:ie}}function ce(ie,me=null){return{type:a.Group,steps:ie,options:me}}function z(ie,me=null){return{type:a.Sequence,steps:ie,options:me}}function ae(ie){return{type:a.Style,styles:ie,offset:null}}function ve(ie,me,Xe){return{type:a.State,name:ie,styles:me,options:Xe}}function Ce(ie,me,Xe=null){return{type:a.Transition,expr:ie,animation:me,options:Xe}}function Pe(ie=null){return{type:a.AnimateChild,options:ie}}function ke(ie,me,Xe=null){return{type:a.Query,selector:ie,animation:me,options:Xe}}class G{constructor(me=0,Xe=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+Xe}_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 Xe="start"==me?this._onStartFns:this._onDoneFns;Xe.forEach(pt=>pt()),Xe.length=0}}class ye{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 Xe=0,pt=0,Pt=0;const Tt=this.players.length;0==Tt?queueMicrotask(()=>this._onFinish()):this.players.forEach(on=>{on.onDone(()=>{++Xe==Tt&&this._onFinish()}),on.onDestroy(()=>{++pt==Tt&&this._onDestroy()}),on.onStart(()=>{++Pt==Tt&&this._onStart()})}),this.totalTime=this.players.reduce((on,vt)=>Math.max(on,vt.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 Xe=me*this.totalTime;this.players.forEach(pt=>{const Pt=pt.totalTime?Math.min(1,Xe/pt.totalTime):1;pt.setPosition(Pt)})}getPosition(){const me=this.players.reduce((Xe,pt)=>null===Xe||pt.totalTime>Xe.totalTime?pt:Xe,null);return null!=me?me.getPosition():0}beforeDestroy(){this.players.forEach(me=>{me.beforeDestroy&&me.beforeDestroy()})}triggerCallback(me){const Xe="start"==me?this._onStartFns:this._onDoneFns;Xe.forEach(pt=>pt()),Xe.length=0}}const re="!"},4723:(Qe,fe,y)=>{y.d(fe,{AZ:()=>Ge,Cs:()=>Oe,G:()=>le,G3:()=>Xt,IH:()=>on,Kk:()=>Lt,MM:()=>pi,OE:()=>qe,Ux:()=>Ze,mE:()=>Y,mJ:()=>Tt,o9:()=>me,q0:()=>gn});var a=y(1368),s=y(4496),D=y(5792),J=y(5657),ce=y(6928),z=y(6700),ae=y(2700),ve=y(7800),te=y(9212),Ce=y(4680),Me=y(6684),Pe=y(4704),et=y(3992),ke=y(2644),Be=y(4e3),Re=y(3616),Ne=y(6640),ot=y(7712),xt=y(1216);const lt=" ";function Ge(V,$,k){const O=X(V,$);k=k.trim(),!O.some(B=>B.trim()===k)&&(O.push(k),V.setAttribute($,O.join(lt)))}function Oe(V,$,k){const O=X(V,$);k=k.trim();const B=O.filter(N=>N!==k);B.length?V.setAttribute($,B.join(lt)):V.removeAttribute($)}function X(V,$){var k;const O=V.getAttribute($);return null!==(k=null==O?void 0:O.match(/\S+/g))&&void 0!==k?k:[]}const ye="cdk-describedby-message",re="cdk-describedby-host";let ie=0,me=(()=>{var V;class ${constructor(O,B){this._platform=B,this._messageRegistry=new Map,this._messagesContainer=null,this._id="".concat(ie++),this._document=O,this._id=(0,s.uUt)(s.QHP)+"-"+ie++}describe(O,B,N){if(!this._canBeDescribed(O,B))return;const q=Xe(B,N);"string"!=typeof B?(pt(B,this._id),this._messageRegistry.set(q,{messageElement:B,referenceCount:0})):this._messageRegistry.has(q)||this._createMessageElement(B,N),this._isElementDescribedByMessage(O,q)||this._addMessageReference(O,q)}removeDescription(O,B,N){var q;if(!B||!this._isElementNode(O))return;const nt=Xe(B,N);if(this._isElementDescribedByMessage(O,nt)&&this._removeMessageReference(O,nt),"string"==typeof B){const xe=this._messageRegistry.get(nt);xe&&0===xe.referenceCount&&this._deleteMessageElement(nt)}0===(null===(q=this._messagesContainer)||void 0===q?void 0:q.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var O;const B=this._document.querySelectorAll("[".concat(re,'="').concat(this._id,'"]'));for(let N=0;N0!=N.indexOf(ye));O.setAttribute("aria-describedby",B.join(" "))}_addMessageReference(O,B){const N=this._messageRegistry.get(B);Ge(O,"aria-describedby",N.messageElement.id),O.setAttribute(re,this._id),N.referenceCount++}_removeMessageReference(O,B){const N=this._messageRegistry.get(B);N.referenceCount--,Oe(O,"aria-describedby",N.messageElement.id),O.removeAttribute(re)}_isElementDescribedByMessage(O,B){const N=X(O,"aria-describedby"),q=this._messageRegistry.get(B),nt=q&&q.messageElement.id;return!!nt&&-1!=N.indexOf(nt)}_canBeDescribed(O,B){if(!this._isElementNode(O))return!1;if(B&&"object"==typeof B)return!0;const N=null==B?"":"".concat(B).trim(),q=O.getAttribute("aria-label");return!(!N||q&&q.trim()===N)}_isElementNode(O){return O.nodeType===this._document.ELEMENT_NODE}}return(V=$).\u0275fac=function(O){return new(O||V)(s.CoB(a.Ud),s.CoB(D.WU))},V.\u0275prov=s.wxM({token:V,factory:V.\u0275fac,providedIn:"root"}),$})();function Xe(V,$){return"string"==typeof V?"".concat($||"","/").concat(V):V}function pt(V,$){V.id||(V.id="".concat(ye,"-").concat($,"-").concat(ie++))}class Pt{constructor($){this._items=$,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new J.E,this._typeaheadSubscription=ce.wH.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=k=>k.disabled,this._pressedLetters=[],this.tabOut=new J.E,this.change=new J.E,$ instanceof s.VhX&&(this._itemChangesSubscription=$.changes.subscribe(k=>{if(this._activeItem){const B=k.toArray().indexOf(this._activeItem);B>-1&&B!==this._activeItemIndex&&(this._activeItemIndex=B)}}))}skipPredicate($){return this._skipPredicateFn=$,this}withWrap($=!0){return this._wrap=$,this}withVerticalOrientation($=!0){return this._vertical=$,this}withHorizontalOrientation($){return this._horizontal=$,this}withAllowedModifierKeys($){return this._allowedModifierKeys=$,this}withTypeAhead($=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,te.y)(k=>this._pressedLetters.push(k)),(0,Ce.o)($),(0,Me.I)(()=>this._pressedLetters.length>0),(0,Pe.k)(()=>this._pressedLetters.join(""))).subscribe(k=>{const O=this._getItemsArray();for(let B=1;B!$[N]||this._allowedModifierKeys.indexOf(N)>-1);switch(k){case ve.k0:return void this.tabOut.next();case ve.Oq:if(this._vertical&&B){this.setNextItemActive();break}return;case ve.qI:if(this._vertical&&B){this.setPreviousItemActive();break}return;case ve.a4:if(this._horizontal&&B){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case ve.Mx:if(this._horizontal&&B){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case ve.qU:if(this._homeAndEnd&&B){this.setFirstItemActive();break}return;case ve.Mp:if(this._homeAndEnd&&B){this.setLastItemActive();break}return;case ve.u_:if(this._pageUpAndDown.enabled&&B){const N=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(N>0?N:0,1);break}return;case ve.yI:if(this._pageUpAndDown.enabled&&B){const N=this._activeItemIndex+this._pageUpAndDown.delta,q=this._getItemsArray().length;this._setActiveItemByIndex(N=ve.A&&k<=ve.Z||k>=ve._I&&k<=ve.SQ)&&this._letterKeyStream.next(String.fromCharCode(k))))}this._pressedLetters=[],$.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($){const k=this._getItemsArray(),O="number"==typeof $?$:k.indexOf($),B=k[O];this._activeItem=null==B?null:B,this._activeItemIndex=O}destroy(){var $;this._typeaheadSubscription.unsubscribe(),null===($=this._itemChangesSubscription)||void 0===$||$.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta($){this._wrap?this._setActiveInWrapMode($):this._setActiveInDefaultMode($)}_setActiveInWrapMode($){const k=this._getItemsArray();for(let O=1;O<=k.length;O++){const B=(this._activeItemIndex+$*O+k.length)%k.length;if(!this._skipPredicateFn(k[B]))return void this.setActiveItem(B)}}_setActiveInDefaultMode($){this._setActiveItemByIndex(this._activeItemIndex+$,$)}_setActiveItemByIndex($,k){const O=this._getItemsArray();if(O[$]){for(;this._skipPredicateFn(O[$]);)if(!O[$+=k])return;this.setActiveItem($)}}_getItemsArray(){return this._items instanceof s.VhX?this._items.toArray():this._items}}class Tt extends Pt{setActiveItem($){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem($),this.activeItem&&this.activeItem.setActiveStyles()}}class on extends Pt{constructor(){super(...arguments),this._origin="program"}setFocusOrigin($){return this._origin=$,this}setActiveItem($){super.setActiveItem($),this.activeItem&&this.activeItem.focus(this._origin)}}let qe=(()=>{var V;class ${constructor(O){this._platform=O}isDisabled(O){return O.hasAttribute("disabled")}isVisible(O){return function _e(V){return!!(V.offsetWidth||V.offsetHeight||"function"==typeof V.getClientRects&&V.getClientRects().length)}(O)&&"visible"===getComputedStyle(O).visibility}isTabbable(O){if(!this._platform.isBrowser)return!1;const B=function De(V){try{return V.frameElement}catch{return null}}(function Zt(V){return V.ownerDocument&&V.ownerDocument.defaultView||window}(O));if(B&&(-1===ln(B)||!this.isVisible(B)))return!1;let N=O.nodeName.toLowerCase(),q=ln(O);return O.hasAttribute("contenteditable")?-1!==q:!("iframe"===N||"object"===N||this._platform.WEBKIT&&this._platform.IOS&&!function Gt(V){let $=V.nodeName.toLowerCase(),k="input"===$&&V.type;return"text"===k||"password"===k||"select"===$||"textarea"===$}(O))&&("audio"===N?!!O.hasAttribute("controls")&&-1!==q:"video"===N?-1!==q&&(null!==q||this._platform.FIREFOX||O.hasAttribute("controls")):O.tabIndex>=0)}isFocusable(O,B){return function ct(V){return!function Ke(V){return function st(V){return"input"==V.nodeName.toLowerCase()}(V)&&"hidden"==V.type}(V)&&(function Se(V){let $=V.nodeName.toLowerCase();return"input"===$||"select"===$||"button"===$||"textarea"===$}(V)||function ht(V){return function Ft(V){return"a"==V.nodeName.toLowerCase()}(V)&&V.hasAttribute("href")}(V)||V.hasAttribute("contenteditable")||Kt(V))}(O)&&!this.isDisabled(O)&&((null==B?void 0:B.ignoreVisibility)||this.isVisible(O))}}return(V=$).\u0275fac=function(O){return new(O||V)(s.CoB(D.WU))},V.\u0275prov=s.wxM({token:V,factory:V.\u0275fac,providedIn:"root"}),$})();function Kt(V){if(!V.hasAttribute("tabindex")||void 0===V.tabIndex)return!1;let $=V.getAttribute("tabindex");return!(!$||isNaN(parseInt($,10)))}function ln(V){if(!Kt(V))return null;const $=parseInt(V.getAttribute("tabindex")||"",10);return isNaN($)?-1:$}class Ut{get enabled(){return this._enabled}set enabled($){this._enabled=$,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex($,this._startAnchor),this._toggleAnchorTabIndex($,this._endAnchor))}constructor($,k,O,B,N=!1){this._element=$,this._checker=k,this._ngZone=O,this._document=B,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,N||this.attachAnchors()}destroy(){const $=this._startAnchor,k=this._endAnchor;$&&($.removeEventListener("focus",this.startAnchorListener),$.remove()),k&&(k.removeEventListener("focus",this.endAnchorListener),k.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($){return new Promise(k=>{this._executeOnStable(()=>k(this.focusInitialElement($)))})}focusFirstTabbableElementWhenReady($){return new Promise(k=>{this._executeOnStable(()=>k(this.focusFirstTabbableElement($)))})}focusLastTabbableElementWhenReady($){return new Promise(k=>{this._executeOnStable(()=>k(this.focusLastTabbableElement($)))})}_getRegionBoundary($){const k=this._element.querySelectorAll("[cdk-focus-region-".concat($,"], ")+"[cdkFocusRegion".concat($,"], ")+"[cdk-focus-".concat($,"]"));return"start"==$?k.length?k[0]:this._getFirstTabbableElement(this._element):k.length?k[k.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement($){const k=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(k){if(!this._checker.isFocusable(k)){const O=this._getFirstTabbableElement(k);return null==O||O.focus($),!!O}return k.focus($),!0}return this.focusFirstTabbableElement($)}focusFirstTabbableElement($){const k=this._getRegionBoundary("start");return k&&k.focus($),!!k}focusLastTabbableElement($){const k=this._getRegionBoundary("end");return k&&k.focus($),!!k}hasAttached(){return this._hasAttached}_getFirstTabbableElement($){if(this._checker.isFocusable($)&&this._checker.isTabbable($))return $;const k=$.children;for(let O=0;O=0;O--){const B=k[O].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(k[O]):null;if(B)return B}return null}_createAnchor(){const $=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,$),$.classList.add("cdk-visually-hidden"),$.classList.add("cdk-focus-trap-anchor"),$.setAttribute("aria-hidden","true"),$}_toggleAnchorTabIndex($,k){$?k.setAttribute("tabindex","0"):k.removeAttribute("tabindex")}toggleAnchors($){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex($,this._startAnchor),this._toggleAnchorTabIndex($,this._endAnchor))}_executeOnStable($){this._ngZone.isStable?$():this._ngZone.onStable.pipe((0,et.U)(1)).subscribe($)}}let le=(()=>{var V;class ${constructor(O,B,N){this._checker=O,this._ngZone=B,this._document=N}create(O,B=!1){return new Ut(O,this._checker,this._ngZone,this._document,B)}}return(V=$).\u0275fac=function(O){return new(O||V)(s.CoB(qe),s.CoB(s.WW2),s.CoB(a.Ud))},V.\u0275prov=s.wxM({token:V,factory:V.\u0275fac,providedIn:"root"}),$})();function Xt(V){return 0===V.buttons||0===V.detail}function gn(V){const $=V.touches&&V.touches[0]||V.changedTouches&&V.changedTouches[0];return!(!$||-1!==$.identifier||null!=$.radiusX&&1!==$.radiusX||null!=$.radiusY&&1!==$.radiusY)}const cn=new s.UbH("cdk-input-modality-detector-options"),qn={ignoreKeys:[ve.A$,ve.s9,ve.GW,ve._Y,ve._u]},P=(0,D.W4)({passive:!0,capture:!0});let Ee=(()=>{var V;class ${get mostRecentModality(){return this._modality.value}constructor(O,B,N,q){this._platform=O,this._mostRecentTarget=null,this._modality=new z.g(null),this._lastTouchMs=0,this._onKeydown=nt=>{var xe;null!==(xe=this._options)&&void 0!==xe&&null!==(xe=xe.ignoreKeys)&&void 0!==xe&&xe.some(be=>be===nt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,D.oZ)(nt))},this._onMousedown=nt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Xt(nt)?"keyboard":"mouse"),this._mostRecentTarget=(0,D.oZ)(nt))},this._onTouchstart=nt=>{gn(nt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,D.oZ)(nt))},this._options={...qn,...q},this.modalityDetected=this._modality.pipe((0,ke.s)(1)),this.modalityChanged=this.modalityDetected.pipe((0,Be.a)()),O.isBrowser&&B.runOutsideAngular(()=>{N.addEventListener("keydown",this._onKeydown,P),N.addEventListener("mousedown",this._onMousedown,P),N.addEventListener("touchstart",this._onTouchstart,P)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,P),document.removeEventListener("mousedown",this._onMousedown,P),document.removeEventListener("touchstart",this._onTouchstart,P))}}return(V=$).\u0275fac=function(O){return new(O||V)(s.CoB(D.WU),s.CoB(s.WW2),s.CoB(a.Ud),s.CoB(cn,8))},V.\u0275prov=s.wxM({token:V,factory:V.\u0275fac,providedIn:"root"}),$})();const se=new s.UbH("liveAnnouncerElement",{providedIn:"root",factory:function ee(){return null}}),Ie=new s.UbH("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Ue=0,Y=(()=>{var V;class ${constructor(O,B,N,q){this._ngZone=B,this._defaultOptions=q,this._document=N,this._liveElement=O||this._createLiveElement()}announce(O,...B){const N=this._defaultOptions;let q,nt;return 1===B.length&&"number"==typeof B[0]?nt=B[0]:[q,nt]=B,this.clear(),clearTimeout(this._previousTimeout),q||(q=N&&N.politeness?N.politeness:"polite"),null==nt&&N&&(nt=N.duration),this._liveElement.setAttribute("aria-live",q),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(xe=>this._currentResolve=xe)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=O,"number"==typeof nt&&(this._previousTimeout=setTimeout(()=>this.clear(),nt)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var O,B;clearTimeout(this._previousTimeout),null===(O=this._liveElement)||void 0===O||O.remove(),this._liveElement=null,null===(B=this._currentResolve)||void 0===B||B.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const O="cdk-live-announcer-element",B=this._document.getElementsByClassName(O),N=this._document.createElement("div");for(let q=0;q .cdk-overlay-container [aria-modal="true"]');for(let N=0;N{var V;class ${constructor(O,B,N,q,nt){this._ngZone=O,this._platform=B,this._inputModalityDetector=N,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 J.E,this._rootNodeFocusAndBlurListener=xe=>{for(let Ae=(0,D.oZ)(xe);Ae;Ae=Ae.parentElement)"focus"===xe.type?this._onFocus(xe,Ae):this._onBlur(xe,Ae)},this._document=q,this._detectionMode=(null==nt?void 0:nt.detectionMode)||Ye.IMMEDIATE}monitor(O,B=!1){const N=(0,ot.mk)(O);if(!this._platform.isBrowser||1!==N.nodeType)return(0,ae.of)();const q=(0,D.C8)(N)||this._getDocument(),nt=this._elementInfo.get(N);if(nt)return B&&(nt.checkChildren=!0),nt.subject;const xe={checkChildren:B,subject:new J.E,rootNode:q};return this._elementInfo.set(N,xe),this._registerGlobalListeners(xe),xe.subject}stopMonitoring(O){const B=(0,ot.mk)(O),N=this._elementInfo.get(B);N&&(N.subject.complete(),this._setClasses(B),this._elementInfo.delete(B),this._removeGlobalListeners(N))}focusVia(O,B,N){const q=(0,ot.mk)(O);q===this._getDocument().activeElement?this._getClosestElementsInfo(q).forEach(([xe,be])=>this._originChanged(xe,B,be)):(this._setOrigin(B),"function"==typeof q.focus&&q.focus(N))}ngOnDestroy(){this._elementInfo.forEach((O,B)=>this.stopMonitoring(B))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(O){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(O)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:O&&this._isLastInteractionFromInputLabel(O)?"mouse":"program"}_shouldBeAttributedToTouch(O){return this._detectionMode===Ye.EVENTUAL||!(null==O||!O.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(O,B){O.classList.toggle("cdk-focused",!!B),O.classList.toggle("cdk-touch-focused","touch"===B),O.classList.toggle("cdk-keyboard-focused","keyboard"===B),O.classList.toggle("cdk-mouse-focused","mouse"===B),O.classList.toggle("cdk-program-focused","program"===B)}_setOrigin(O,B=!1){this._ngZone.runOutsideAngular(()=>{this._origin=O,this._originFromTouchInteraction="touch"===O&&B,this._detectionMode===Ye.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(O,B){const N=this._elementInfo.get(B),q=(0,D.oZ)(O);!N||!N.checkChildren&&B!==q||this._originChanged(B,this._getFocusOrigin(q),N)}_onBlur(O,B){const N=this._elementInfo.get(B);!N||N.checkChildren&&O.relatedTarget instanceof Node&&B.contains(O.relatedTarget)||(this._setClasses(B),this._emitOrigin(N,null))}_emitOrigin(O,B){O.subject.observers.length&&this._ngZone.run(()=>O.subject.next(B))}_registerGlobalListeners(O){if(!this._platform.isBrowser)return;const B=O.rootNode,N=this._rootNodeFocusListenerCount.get(B)||0;N||this._ngZone.runOutsideAngular(()=>{B.addEventListener("focus",this._rootNodeFocusAndBlurListener,Et),B.addEventListener("blur",this._rootNodeFocusAndBlurListener,Et)}),this._rootNodeFocusListenerCount.set(B,N+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Re.a)(this._stopInputModalityDetector)).subscribe(q=>{this._setOrigin(q,!0)}))}_removeGlobalListeners(O){const B=O.rootNode;if(this._rootNodeFocusListenerCount.has(B)){const N=this._rootNodeFocusListenerCount.get(B);N>1?this._rootNodeFocusListenerCount.set(B,N-1):(B.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Et),B.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Et),this._rootNodeFocusListenerCount.delete(B))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(O,B,N){this._setClasses(O,B),this._emitOrigin(N,B),this._lastFocusOrigin=B}_getClosestElementsInfo(O){const B=[];return this._elementInfo.forEach((N,q)=>{(q===O||N.checkChildren&&q.contains(O))&&B.push([q,N])}),B}_isLastInteractionFromInputLabel(O){const{_mostRecentTarget:B,mostRecentModality:N}=this._inputModalityDetector;if("mouse"!==N||!B||B===O||"INPUT"!==O.nodeName&&"TEXTAREA"!==O.nodeName||O.disabled)return!1;const q=O.labels;if(q)for(let nt=0;nt{var V;class ${constructor(O,B){this._platform=O,this._document=B,this._breakpointSubscription=(0,s.uUt)(xt.w$).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return sn.NONE;const O=this._document.createElement("div");O.style.backgroundColor="rgb(1,2,3)",O.style.position="absolute",this._document.body.appendChild(O);const B=this._document.defaultView||window,N=B&&B.getComputedStyle?B.getComputedStyle(O):null,q=(N&&N.backgroundColor||"").replace(/ /g,"");switch(O.remove(),q){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return sn.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return sn.BLACK_ON_WHITE}return sn.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const O=this._document.body.classList;O.remove(ai,Dn,bn),this._hasCheckedHighContrastMode=!0;const B=this.getHighContrastMode();B===sn.BLACK_ON_WHITE?O.add(ai,Dn):B===sn.WHITE_ON_BLACK&&O.add(ai,bn)}}}return(V=$).\u0275fac=function(O){return new(O||V)(s.CoB(D.WU),s.CoB(a.Ud))},V.\u0275prov=s.wxM({token:V,factory:V.\u0275fac,providedIn:"root"}),$})(),Ze=(()=>{var V;class ${constructor(O){O._applyBodyHighContrastModeCssClasses()}}return(V=$).\u0275fac=function(O){return new(O||V)(s.CoB(pi))},V.\u0275mod=s.a4G({type:V}),V.\u0275inj=s.s3X({imports:[Ne.IT]}),$})()},1900:(Qe,fe,y)=>{y.d(fe,{gN:()=>te,yG:()=>ae});var a=y(4496),s=y(1368);const D=new a.UbH("cdk-dir-doc",{providedIn:"root",factory:function J(){return(0,a.uUt)(s.Ud)}}),ce=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let ae=(()=>{var Ce;class Me{constructor(et){this.value="ltr",this.change=new a._w7,et&&(this.value=function z(Ce){var Me;const Pe=(null==Ce?void 0:Ce.toLowerCase())||"";return"auto"===Pe&&typeof navigator<"u"&&null!==(Me=navigator)&&void 0!==Me&&Me.language?ce.test(navigator.language)?"rtl":"ltr":"rtl"===Pe?"rtl":"ltr"}((et.body?et.body.dir:null)||(et.documentElement?et.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return(Ce=Me).\u0275fac=function(et){return new(et||Ce)(a.CoB(D,8))},Ce.\u0275prov=a.wxM({token:Ce,factory:Ce.\u0275fac,providedIn:"root"}),Me})(),te=(()=>{var Ce;class Me{}return(Ce=Me).\u0275fac=function(et){return new(et||Ce)},Ce.\u0275mod=a.a4G({type:Ce}),Ce.\u0275inj=a.s3X({}),Me})()},7712:(Qe,fe,y)=>{y.d(fe,{Mt:()=>ce,W6:()=>s,mk:()=>ae,ph:()=>z,wZ:()=>D});var a=y(4496);function s(te){return null!=te&&"false"!=="".concat(te)}function D(te,Ce=0){return function J(te){return!isNaN(parseFloat(te))&&!isNaN(Number(te))}(te)?Number(te):Ce}function ce(te){return Array.isArray(te)?te:[te]}function z(te){return null==te?"":"string"==typeof te?te:"".concat(te,"px")}function ae(te){return te instanceof a.GMv?te.nativeElement:te}},1032:(Qe,fe,y)=>{y.d(fe,{e2:()=>Pe,kT:()=>ke}),y(1116),y(2700);var D=y(5657),J=y(4496);class Pe{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(Re=!1,Ne,ot=!0,xt){this._multiple=Re,this._emitChanges=ot,this.compareWith=xt,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new D.E,Ne&&Ne.length&&(Re?Ne.forEach(lt=>this._markSelected(lt)):this._markSelected(Ne[0]),this._selectedToEmit.length=0)}select(...Re){this._verifyValueAssignment(Re),Re.forEach(ot=>this._markSelected(ot));const Ne=this._hasQueuedChanges();return this._emitChangeEvent(),Ne}deselect(...Re){this._verifyValueAssignment(Re),Re.forEach(ot=>this._unmarkSelected(ot));const Ne=this._hasQueuedChanges();return this._emitChangeEvent(),Ne}setSelection(...Re){this._verifyValueAssignment(Re);const Ne=this.selected,ot=new Set(Re);Re.forEach(lt=>this._markSelected(lt)),Ne.filter(lt=>!ot.has(this._getConcreteValue(lt,ot))).forEach(lt=>this._unmarkSelected(lt));const xt=this._hasQueuedChanges();return this._emitChangeEvent(),xt}toggle(Re){return this.isSelected(Re)?this.deselect(Re):this.select(Re)}clear(Re=!0){this._unmarkAll();const Ne=this._hasQueuedChanges();return Re&&this._emitChangeEvent(),Ne}isSelected(Re){return this._selection.has(this._getConcreteValue(Re))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(Re){this._multiple&&this.selected&&this._selected.sort(Re)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(Re){Re=this._getConcreteValue(Re),this.isSelected(Re)||(this._multiple||this._unmarkAll(),this.isSelected(Re)||this._selection.add(Re),this._emitChanges&&this._selectedToEmit.push(Re))}_unmarkSelected(Re){Re=this._getConcreteValue(Re),this.isSelected(Re)&&(this._selection.delete(Re),this._emitChanges&&this._deselectedToEmit.push(Re))}_unmarkAll(){this.isEmpty()||this._selection.forEach(Re=>this._unmarkSelected(Re))}_verifyValueAssignment(Re){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(Re,Ne){if(this.compareWith){var ot;Ne=null!==(ot=Ne)&&void 0!==ot?ot:this._selection;for(let xt of Ne)if(this.compareWith(Re,xt))return xt;return Re}return Re}}let ke=(()=>{var Be;class Re{constructor(){this._listeners=[]}notify(ot,xt){for(let lt of this._listeners)lt(ot,xt)}listen(ot){return this._listeners.push(ot),()=>{this._listeners=this._listeners.filter(xt=>ot!==xt)}}ngOnDestroy(){this._listeners=[]}}return(Be=Re).\u0275fac=function(ot){return new(ot||Be)},Be.\u0275prov=J.wxM({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Re})()},7800:(Qe,fe,y)=>{y.d(fe,{A:()=>Ke,A$:()=>ve,GW:()=>gi,Gi:()=>Pe,Mp:()=>Be,Mx:()=>Ne,Oq:()=>lt,SQ:()=>vt,UX:()=>Me,Yp:()=>Nt,Z:()=>ee,_I:()=>ye,_Y:()=>Ie,_u:()=>z,a4:()=>xt,k0:()=>D,qI:()=>ot,qU:()=>Re,s9:()=>ae,u_:()=>et,wJ:()=>ce,yI:()=>ke});const D=9,ce=13,z=16,ae=17,ve=18,Me=27,Pe=32,et=33,ke=34,Be=35,Re=36,Ne=37,ot=38,xt=39,lt=40,ye=48,vt=57,Ke=65,ee=90,Ie=91,gi=224;function Nt(Tn,...ii){return ii.length?ii.some(oi=>Tn[oi]):Tn.altKey||Tn.shiftKey||Tn.ctrlKey||Tn.metaKey}},1216:(Qe,fe,y)=>{y.d(fe,{O2:()=>ke,w$:()=>lt});var a=y(4496),s=y(7712),D=y(5657),J=y(6040),ce=y(7228),z=y(3252),ae=y(3992),ve=y(2644),te=y(4680),Ce=y(4704),Me=y(5568),Pe=y(3616),et=y(5792);let ke=(()=>{var X;class G{}return(X=G).\u0275fac=function(re){return new(re||X)},X.\u0275mod=a.a4G({type:X}),X.\u0275inj=a.s3X({}),G})();const Be=new Set;let Re,Ne=(()=>{var X;class G{constructor(re,ie){this._platform=re,this._nonce=ie,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):xt}matchMedia(re){return(this._platform.WEBKIT||this._platform.BLINK)&&function ot(X,G){if(!Be.has(X))try{Re||(Re=document.createElement("style"),G&&(Re.nonce=G),Re.setAttribute("type","text/css"),document.head.appendChild(Re)),Re.sheet&&(Re.sheet.insertRule("@media ".concat(X," {body{ }}"),0),Be.add(X))}catch(ye){console.error(ye)}}(re,this._nonce),this._matchMedia(re)}}return(X=G).\u0275fac=function(re){return new(re||X)(a.CoB(et.WU),a.CoB(a.YND,8))},X.\u0275prov=a.wxM({token:X,factory:X.\u0275fac,providedIn:"root"}),G})();function xt(X){return{matches:"all"===X||""===X,media:X,addListener:()=>{},removeListener:()=>{}}}let lt=(()=>{var X;class G{constructor(re,ie){this._mediaMatcher=re,this._zone=ie,this._queries=new Map,this._destroySubject=new D.E}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(re){return Ge((0,s.Mt)(re)).some(me=>this._registerQuery(me).mql.matches)}observe(re){const me=Ge((0,s.Mt)(re)).map(pt=>this._registerQuery(pt).observable);let Xe=(0,J.E)(me);return Xe=(0,ce.W)(Xe.pipe((0,ae.U)(1)),Xe.pipe((0,ve.s)(1),(0,te.o)(0))),Xe.pipe((0,Ce.k)(pt=>{const Pt={matches:!1,breakpoints:{}};return pt.forEach(({matches:Tt,query:on})=>{Pt.matches=Pt.matches||Tt,Pt.breakpoints[on]=Tt}),Pt}))}_registerQuery(re){if(this._queries.has(re))return this._queries.get(re);const ie=this._mediaMatcher.matchMedia(re),Xe={observable:new z._(pt=>{const Pt=Tt=>this._zone.run(()=>pt.next(Tt));return ie.addListener(Pt),()=>{ie.removeListener(Pt)}}).pipe((0,Me.W)(ie),(0,Ce.k)(({matches:pt})=>({query:re,matches:pt})),(0,Pe.a)(this._destroySubject)),mql:ie};return this._queries.set(re,Xe),Xe}}return(X=G).\u0275fac=function(re){return new(re||X)(a.CoB(Ne),a.CoB(a.WW2))},X.\u0275prov=a.wxM({token:X,factory:X.\u0275fac,providedIn:"root"}),G})();function Ge(X){return X.map(G=>G.split(",")).reduce((G,ye)=>G.concat(ye)).map(G=>G.trim())}},6640:(Qe,fe,y)=>{y.d(fe,{IT:()=>ce});var a=y(4496);let s=(()=>{var z;class ae{create(te){return typeof MutationObserver>"u"?null:new MutationObserver(te)}}return(z=ae).\u0275fac=function(te){return new(te||z)},z.\u0275prov=a.wxM({token:z,factory:z.\u0275fac,providedIn:"root"}),ae})(),ce=(()=>{var z;class ae{}return(z=ae).\u0275fac=function(te){return new(te||z)},z.\u0275mod=a.a4G({type:z}),z.\u0275inj=a.s3X({providers:[s]}),ae})()},68:(Qe,fe,y)=>{y.d(fe,{eC:()=>Mt,wW:()=>$e,mc:()=>Ve,o9:()=>ie,Y:()=>De,Y1:()=>cn,aq:()=>_e});var a=y(3572),s=y(1368),D=y(4496),J=y(7712),ce=y(5792),z=y(6684),ae=y(3992),ve=y(3616),te=y(5448),Ce=y(7773),Pe=y(1900),et=y(2488),ke=y(5657),Be=y(6928),Re=y(3412),Ne=y(7800);const ot=(0,ce.kk)();class xt{constructor(P,Ee){this._viewportRuler=P,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Ee}attach(){}enable(){if(this._canBeEnabled()){const P=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=P.style.left||"",this._previousHTMLStyles.top=P.style.top||"",P.style.left=(0,J.ph)(-this._previousScrollPosition.left),P.style.top=(0,J.ph)(-this._previousScrollPosition.top),P.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const P=this._document.documentElement,se=P.style,ee=this._document.body.style,Ie=se.scrollBehavior||"",Ue=ee.scrollBehavior||"";this._isEnabled=!1,se.left=this._previousHTMLStyles.left,se.top=this._previousHTMLStyles.top,P.classList.remove("cdk-global-scrollblock"),ot&&(se.scrollBehavior=ee.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ot&&(se.scrollBehavior=Ie,ee.scrollBehavior=Ue)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Ee=this._document.body,se=this._viewportRuler.getViewportSize();return Ee.scrollHeight>se.height||Ee.scrollWidth>se.width}}class Ge{constructor(P,Ee,se,ee){this._scrollDispatcher=P,this._ngZone=Ee,this._viewportRuler=se,this._config=ee,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(P){this._overlayRef=P}enable(){if(this._scrollSubscription)return;const P=this._scrollDispatcher.scrolled(0).pipe((0,z.I)(Ee=>!Ee||!this._overlayRef.overlayElement.contains(Ee.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=P.subscribe(()=>{const Ee=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Ee-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=P.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Oe{enable(){}disable(){}attach(){}}function X(tt,P){return P.some(Ee=>tt.bottomEe.bottom||tt.rightEe.right)}function G(tt,P){return P.some(Ee=>tt.topEe.bottom||tt.leftEe.right)}class ye{constructor(P,Ee,se,ee){this._scrollDispatcher=P,this._viewportRuler=Ee,this._ngZone=se,this._config=ee,this._scrollSubscription=null}attach(P){this._overlayRef=P}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 Ee=this._overlayRef.overlayElement.getBoundingClientRect(),{width:se,height:ee}=this._viewportRuler.getViewportSize();X(Ee,[{width:se,height:ee,bottom:ee,right:se,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 re=(()=>{var tt;class P{constructor(se,ee,Ie,Ue){this._scrollDispatcher=se,this._viewportRuler=ee,this._ngZone=Ie,this.noop=()=>new Oe,this.close=Y=>new Ge(this._scrollDispatcher,this._ngZone,this._viewportRuler,Y),this.block=()=>new xt(this._viewportRuler,this._document),this.reposition=Y=>new ye(this._scrollDispatcher,this._viewportRuler,this._ngZone,Y),this._document=Ue}}return(tt=P).\u0275fac=function(se){return new(se||tt)(D.CoB(a.Yn),D.CoB(a.S8),D.CoB(D.WW2),D.CoB(s.Ud))},tt.\u0275prov=D.wxM({token:tt,factory:tt.\u0275fac,providedIn:"root"}),P})();class ie{constructor(P){if(this.scrollStrategy=new Oe,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,P){const Ee=Object.keys(P);for(const se of Ee)void 0!==P[se]&&(this[se]=P[se])}}}class pt{constructor(P,Ee){this.connectionPair=P,this.scrollableViewProperties=Ee}}let on=(()=>{var tt;class P{constructor(se){this._attachedOverlays=[],this._document=se}ngOnDestroy(){this.detach()}add(se){this.remove(se),this._attachedOverlays.push(se)}remove(se){const ee=this._attachedOverlays.indexOf(se);ee>-1&&this._attachedOverlays.splice(ee,1),0===this._attachedOverlays.length&&this.detach()}}return(tt=P).\u0275fac=function(se){return new(se||tt)(D.CoB(s.Ud))},tt.\u0275prov=D.wxM({token:tt,factory:tt.\u0275fac,providedIn:"root"}),P})(),vt=(()=>{var tt;class P extends on{constructor(se,ee){super(se),this._ngZone=ee,this._keydownListener=Ie=>{const Ue=this._attachedOverlays;for(let Y=Ue.length-1;Y>-1;Y--)if(Ue[Y]._keydownEvents.observers.length>0){const he=Ue[Y]._keydownEvents;this._ngZone?this._ngZone.run(()=>he.next(Ie)):he.next(Ie);break}}}add(se){super.add(se),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)}}return(tt=P).\u0275fac=function(se){return new(se||tt)(D.CoB(s.Ud),D.CoB(D.WW2,8))},tt.\u0275prov=D.wxM({token:tt,factory:tt.\u0275fac,providedIn:"root"}),P})(),qe=(()=>{var tt;class P extends on{constructor(se,ee,Ie){super(se),this._platform=ee,this._ngZone=Ie,this._cursorStyleIsSet=!1,this._pointerDownListener=Ue=>{this._pointerDownEventTarget=(0,ce.oZ)(Ue)},this._clickListener=Ue=>{const Y=(0,ce.oZ)(Ue),he="click"===Ue.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Y;this._pointerDownEventTarget=null;const Ye=this._attachedOverlays.slice();for(let gt=Ye.length-1;gt>-1;gt--){const Et=Ye[gt];if(Et._outsidePointerEvents.observers.length<1||!Et.hasAttached())continue;if(Et.overlayElement.contains(Y)||Et.overlayElement.contains(he))break;const Lt=Et._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Lt.next(Ue)):Lt.next(Ue)}}}add(se){if(super.add(se),!this._isAttached){const ee=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(ee)):this._addEventListeners(ee),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=ee.style.cursor,ee.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const se=this._document.body;se.removeEventListener("pointerdown",this._pointerDownListener,!0),se.removeEventListener("click",this._clickListener,!0),se.removeEventListener("auxclick",this._clickListener,!0),se.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(se.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(se){se.addEventListener("pointerdown",this._pointerDownListener,!0),se.addEventListener("click",this._clickListener,!0),se.addEventListener("auxclick",this._clickListener,!0),se.addEventListener("contextmenu",this._clickListener,!0)}}return(tt=P).\u0275fac=function(se){return new(se||tt)(D.CoB(s.Ud),D.CoB(ce.WU),D.CoB(D.WW2,8))},tt.\u0275prov=D.wxM({token:tt,factory:tt.\u0275fac,providedIn:"root"}),P})(),De=(()=>{var tt;class P{constructor(se,ee){this._platform=ee,this._document=se}ngOnDestroy(){var se;null===(se=this._containerElement)||void 0===se||se.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const se="cdk-overlay-container";if(this._platform.isBrowser||(0,ce.mW)()){const Ie=this._document.querySelectorAll(".".concat(se,'[platform="server"], ')+".".concat(se,'[platform="test"]'));for(let Ue=0;Uethis._backdropClick.next(Et),this._backdropTransitionendHandler=Et=>{this._disposeBackdrop(Et.target)},this._keydownEvents=new ke.E,this._outsidePointerEvents=new ke.E,ee.scrollStrategy&&(this._scrollStrategy=ee.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=ee.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(P){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Ee=this._portalOutlet.attach(P);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,ae.U)(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(null==Ee?void 0:Ee.onDestroy)&&Ee.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Ee}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const P=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),P}dispose(){var P;const Ee=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),null===(P=this._host)||void 0===P||P.remove(),this._previousHostParent=this._pane=this._host=null,Ee&&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(P){P!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=P,this.hasAttached()&&(P.attach(this),this.updatePosition()))}updateSize(P){this._config={...this._config,...P},this._updateElementSize()}setDirection(P){this._config={...this._config,direction:P},this._updateElementDirection()}addPanelClass(P){this._pane&&this._toggleClasses(this._pane,P,!0)}removePanelClass(P){this._pane&&this._toggleClasses(this._pane,P,!1)}getDirection(){const P=this._config.direction;return P?"string"==typeof P?P:P.value:"ltr"}updateScrollStrategy(P){P!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=P,this.hasAttached()&&(P.attach(this),P.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const P=this._pane.style;P.width=(0,J.ph)(this._config.width),P.height=(0,J.ph)(this._config.height),P.minWidth=(0,J.ph)(this._config.minWidth),P.minHeight=(0,J.ph)(this._config.minHeight),P.maxWidth=(0,J.ph)(this._config.maxWidth),P.maxHeight=(0,J.ph)(this._config.maxHeight)}_togglePointerEvents(P){this._pane.style.pointerEvents=P?"":"none"}_attachBackdrop(){const P="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(P)})}):this._backdropElement.classList.add(P)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const P=this._backdropElement;if(P){if(this._animationsDisabled)return void this._disposeBackdrop(P);P.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{P.addEventListener("transitionend",this._backdropTransitionendHandler)}),P.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(P)},500))}}_toggleClasses(P,Ee,se){const ee=(0,J.Mt)(Ee||[]).filter(Ie=>!!Ie);ee.length&&(se?P.classList.add(...ee):P.classList.remove(...ee))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const P=this._ngZone.onStable.pipe((0,ve.a)((0,Re.U)(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()),P.unsubscribe())})})}_disposeScrollStrategy(){const P=this._scrollStrategy;P&&(P.disable(),P.detach&&P.detach())}_disposeBackdrop(P){P&&(P.removeEventListener("click",this._backdropClickHandler),P.removeEventListener("transitionend",this._backdropTransitionendHandler),P.remove(),this._backdropElement===P&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const Se="cdk-overlay-connected-position-bounding-box",Ke=/([A-Za-z%]+)$/;class ht{get positions(){return this._preferredPositions}constructor(P,Ee,se,ee,Ie){this._viewportRuler=Ee,this._document=se,this._platform=ee,this._overlayContainer=Ie,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 ke.E,this._resizeSubscription=Be.wH.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(P)}attach(P){this._validatePositions(),P.hostElement.classList.add(Se),this._overlayRef=P,this._boundingBox=P.hostElement,this._pane=P.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 P=this._originRect,Ee=this._overlayRect,se=this._viewportRect,ee=this._containerRect,Ie=[];let Ue;for(let Y of this._preferredPositions){let he=this._getOriginPoint(P,ee,Y),Ye=this._getOverlayPoint(he,Ee,Y),gt=this._getOverlayFit(Ye,Ee,se,Y);if(gt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Y,he);this._canFitWithFlexibleDimensions(gt,Ye,se)?Ie.push({position:Y,origin:he,overlayRect:Ee,boundingBoxRect:this._calculateBoundingBoxRect(he,Y)}):(!Ue||Ue.overlayFit.visibleAreahe&&(he=gt,Y=Ye)}return this._isPushed=!1,void this._applyPosition(Y.position,Y.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Ue.position,Ue.originPoint);this._applyPosition(Ue.position,Ue.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&st(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Se),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const P=this._lastPosition;if(P){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Ee=this._getOriginPoint(this._originRect,this._containerRect,P);this._applyPosition(P,Ee)}else this.apply()}withScrollableContainers(P){return this._scrollables=P,this}withPositions(P){return this._preferredPositions=P,-1===P.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(P){return this._viewportMargin=P,this}withFlexibleDimensions(P=!0){return this._hasFlexibleDimensions=P,this}withGrowAfterOpen(P=!0){return this._growAfterOpen=P,this}withPush(P=!0){return this._canPush=P,this}withLockedPosition(P=!0){return this._positionLocked=P,this}setOrigin(P){return this._origin=P,this}withDefaultOffsetX(P){return this._offsetX=P,this}withDefaultOffsetY(P){return this._offsetY=P,this}withTransformOriginOn(P){return this._transformOriginSelector=P,this}_getOriginPoint(P,Ee,se){let ee,Ie;if("center"==se.originX)ee=P.left+P.width/2;else{const Ue=this._isRtl()?P.right:P.left,Y=this._isRtl()?P.left:P.right;ee="start"==se.originX?Ue:Y}return Ee.left<0&&(ee-=Ee.left),Ie="center"==se.originY?P.top+P.height/2:"top"==se.originY?P.top:P.bottom,Ee.top<0&&(Ie-=Ee.top),{x:ee,y:Ie}}_getOverlayPoint(P,Ee,se){let ee,Ie;return ee="center"==se.overlayX?-Ee.width/2:"start"===se.overlayX?this._isRtl()?-Ee.width:0:this._isRtl()?0:-Ee.width,Ie="center"==se.overlayY?-Ee.height/2:"top"==se.overlayY?0:-Ee.height,{x:P.x+ee,y:P.y+Ie}}_getOverlayFit(P,Ee,se,ee){const Ie=Kt(Ee);let{x:Ue,y:Y}=P,he=this._getOffset(ee,"x"),Ye=this._getOffset(ee,"y");he&&(Ue+=he),Ye&&(Y+=Ye);let Lt=0-Y,en=Y+Ie.height-se.height,sn=this._subtractOverflows(Ie.width,0-Ue,Ue+Ie.width-se.width),Dn=this._subtractOverflows(Ie.height,Lt,en),bn=sn*Dn;return{visibleArea:bn,isCompletelyWithinViewport:Ie.width*Ie.height===bn,fitsInViewportVertically:Dn===Ie.height,fitsInViewportHorizontally:sn==Ie.width}}_canFitWithFlexibleDimensions(P,Ee,se){if(this._hasFlexibleDimensions){const ee=se.bottom-Ee.y,Ie=se.right-Ee.x,Ue=Ft(this._overlayRef.getConfig().minHeight),Y=Ft(this._overlayRef.getConfig().minWidth);return(P.fitsInViewportVertically||null!=Ue&&Ue<=ee)&&(P.fitsInViewportHorizontally||null!=Y&&Y<=Ie)}return!1}_pushOverlayOnScreen(P,Ee,se){if(this._previousPushAmount&&this._positionLocked)return{x:P.x+this._previousPushAmount.x,y:P.y+this._previousPushAmount.y};const ee=Kt(Ee),Ie=this._viewportRect,Ue=Math.max(P.x+ee.width-Ie.width,0),Y=Math.max(P.y+ee.height-Ie.height,0),he=Math.max(Ie.top-se.top-P.y,0),Ye=Math.max(Ie.left-se.left-P.x,0);let gt=0,Et=0;return gt=ee.width<=Ie.width?Ye||-Ue:P.xsn&&!this._isInitialRender&&!this._growAfterOpen&&(Ue=P.y-sn/2)}if("end"===Ee.overlayX&&!ee||"start"===Ee.overlayX&&ee)Lt=se.width-P.x+this._viewportMargin,gt=P.x-this._viewportMargin;else if("start"===Ee.overlayX&&!ee||"end"===Ee.overlayX&&ee)Et=P.x,gt=se.right-P.x;else{const en=Math.min(se.right-P.x+se.left,P.x),sn=this._lastBoundingBoxSize.width;gt=2*en,Et=P.x-en,gt>sn&&!this._isInitialRender&&!this._growAfterOpen&&(Et=P.x-sn/2)}return{top:Ue,left:Et,bottom:Y,right:Lt,width:gt,height:Ie}}_setBoundingBoxStyles(P,Ee){const se=this._calculateBoundingBoxRect(P,Ee);!this._isInitialRender&&!this._growAfterOpen&&(se.height=Math.min(se.height,this._lastBoundingBoxSize.height),se.width=Math.min(se.width,this._lastBoundingBoxSize.width));const ee={};if(this._hasExactPosition())ee.top=ee.left="0",ee.bottom=ee.right=ee.maxHeight=ee.maxWidth="",ee.width=ee.height="100%";else{const Ie=this._overlayRef.getConfig().maxHeight,Ue=this._overlayRef.getConfig().maxWidth;ee.height=(0,J.ph)(se.height),ee.top=(0,J.ph)(se.top),ee.bottom=(0,J.ph)(se.bottom),ee.width=(0,J.ph)(se.width),ee.left=(0,J.ph)(se.left),ee.right=(0,J.ph)(se.right),ee.alignItems="center"===Ee.overlayX?"center":"end"===Ee.overlayX?"flex-end":"flex-start",ee.justifyContent="center"===Ee.overlayY?"center":"bottom"===Ee.overlayY?"flex-end":"flex-start",Ie&&(ee.maxHeight=(0,J.ph)(Ie)),Ue&&(ee.maxWidth=(0,J.ph)(Ue))}this._lastBoundingBoxSize=se,st(this._boundingBox.style,ee)}_resetBoundingBoxStyles(){st(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){st(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(P,Ee){const se={},ee=this._hasExactPosition(),Ie=this._hasFlexibleDimensions,Ue=this._overlayRef.getConfig();if(ee){const gt=this._viewportRuler.getViewportScrollPosition();st(se,this._getExactOverlayY(Ee,P,gt)),st(se,this._getExactOverlayX(Ee,P,gt))}else se.position="static";let Y="",he=this._getOffset(Ee,"x"),Ye=this._getOffset(Ee,"y");he&&(Y+="translateX(".concat(he,"px) ")),Ye&&(Y+="translateY(".concat(Ye,"px)")),se.transform=Y.trim(),Ue.maxHeight&&(ee?se.maxHeight=(0,J.ph)(Ue.maxHeight):Ie&&(se.maxHeight="")),Ue.maxWidth&&(ee?se.maxWidth=(0,J.ph)(Ue.maxWidth):Ie&&(se.maxWidth="")),st(this._pane.style,se)}_getExactOverlayY(P,Ee,se){let ee={top:"",bottom:""},Ie=this._getOverlayPoint(Ee,this._overlayRect,P);return this._isPushed&&(Ie=this._pushOverlayOnScreen(Ie,this._overlayRect,se)),"bottom"===P.overlayY?ee.bottom="".concat(this._document.documentElement.clientHeight-(Ie.y+this._overlayRect.height),"px"):ee.top=(0,J.ph)(Ie.y),ee}_getExactOverlayX(P,Ee,se){let Ue,ee={left:"",right:""},Ie=this._getOverlayPoint(Ee,this._overlayRect,P);return this._isPushed&&(Ie=this._pushOverlayOnScreen(Ie,this._overlayRect,se)),Ue=this._isRtl()?"end"===P.overlayX?"left":"right":"end"===P.overlayX?"right":"left","right"===Ue?ee.right="".concat(this._document.documentElement.clientWidth-(Ie.x+this._overlayRect.width),"px"):ee.left=(0,J.ph)(Ie.x),ee}_getScrollVisibility(){const P=this._getOriginRect(),Ee=this._pane.getBoundingClientRect(),se=this._scrollables.map(ee=>ee.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:G(P,se),isOriginOutsideView:X(P,se),isOverlayClipped:G(Ee,se),isOverlayOutsideView:X(Ee,se)}}_subtractOverflows(P,...Ee){return Ee.reduce((se,ee)=>se-Math.max(ee,0),P)}_getNarrowedViewportRect(){const P=this._document.documentElement.clientWidth,Ee=this._document.documentElement.clientHeight,se=this._viewportRuler.getViewportScrollPosition();return{top:se.top+this._viewportMargin,left:se.left+this._viewportMargin,right:se.left+P-this._viewportMargin,bottom:se.top+Ee-this._viewportMargin,width:P-2*this._viewportMargin,height:Ee-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(P,Ee){return"x"===Ee?null==P.offsetX?this._offsetX:P.offsetX:null==P.offsetY?this._offsetY:P.offsetY}_validatePositions(){}_addPanelClasses(P){this._pane&&(0,J.Mt)(P).forEach(Ee=>{""!==Ee&&-1===this._appliedPanelClasses.indexOf(Ee)&&(this._appliedPanelClasses.push(Ee),this._pane.classList.add(Ee))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(P=>{this._pane.classList.remove(P)}),this._appliedPanelClasses=[])}_getOriginRect(){const P=this._origin;if(P instanceof D.GMv)return P.nativeElement.getBoundingClientRect();if(P instanceof Element)return P.getBoundingClientRect();const Ee=P.width||0,se=P.height||0;return{top:P.y,bottom:P.y+se,left:P.x,right:P.x+Ee,height:se,width:Ee}}}function st(tt,P){for(let Ee in P)P.hasOwnProperty(Ee)&&(tt[Ee]=P[Ee]);return tt}function Ft(tt){if("number"!=typeof tt&&null!=tt){const[P,Ee]=tt.split(Ke);return Ee&&"px"!==Ee?null:parseFloat(P)}return tt||null}function Kt(tt){return{top:Math.floor(tt.top),right:Math.floor(tt.right),bottom:Math.floor(tt.bottom),left:Math.floor(tt.left),width:Math.floor(tt.width),height:Math.floor(tt.height)}}const Zt="cdk-global-overlay-wrapper";class Ut{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(P){const Ee=P.getConfig();this._overlayRef=P,this._width&&!Ee.width&&P.updateSize({width:this._width}),this._height&&!Ee.height&&P.updateSize({height:this._height}),P.hostElement.classList.add(Zt),this._isDisposed=!1}top(P=""){return this._bottomOffset="",this._topOffset=P,this._alignItems="flex-start",this}left(P=""){return this._xOffset=P,this._xPosition="left",this}bottom(P=""){return this._topOffset="",this._bottomOffset=P,this._alignItems="flex-end",this}right(P=""){return this._xOffset=P,this._xPosition="right",this}start(P=""){return this._xOffset=P,this._xPosition="start",this}end(P=""){return this._xOffset=P,this._xPosition="end",this}width(P=""){return this._overlayRef?this._overlayRef.updateSize({width:P}):this._width=P,this}height(P=""){return this._overlayRef?this._overlayRef.updateSize({height:P}):this._height=P,this}centerHorizontally(P=""){return this.left(P),this._xPosition="center",this}centerVertically(P=""){return this.top(P),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const P=this._overlayRef.overlayElement.style,Ee=this._overlayRef.hostElement.style,se=this._overlayRef.getConfig(),{width:ee,height:Ie,maxWidth:Ue,maxHeight:Y}=se,he=!("100%"!==ee&&"100vw"!==ee||Ue&&"100%"!==Ue&&"100vw"!==Ue),Ye=!("100%"!==Ie&&"100vh"!==Ie||Y&&"100%"!==Y&&"100vh"!==Y),gt=this._xPosition,Et=this._xOffset,Lt="rtl"===this._overlayRef.getConfig().direction;let en="",sn="",Dn="";he?Dn="flex-start":"center"===gt?(Dn="center",Lt?sn=Et:en=Et):Lt?"left"===gt||"end"===gt?(Dn="flex-end",en=Et):("right"===gt||"start"===gt)&&(Dn="flex-start",sn=Et):"left"===gt||"start"===gt?(Dn="flex-start",en=Et):("right"===gt||"end"===gt)&&(Dn="flex-end",sn=Et),P.position=this._cssPosition,P.marginLeft=he?"0":en,P.marginTop=Ye?"0":this._topOffset,P.marginBottom=this._bottomOffset,P.marginRight=he?"0":sn,Ee.justifyContent=Dn,Ee.alignItems=Ye?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const P=this._overlayRef.overlayElement.style,Ee=this._overlayRef.hostElement,se=Ee.style;Ee.classList.remove(Zt),se.justifyContent=se.alignItems=P.marginTop=P.marginBottom=P.marginLeft=P.marginRight=P.position="",this._overlayRef=null,this._isDisposed=!0}}let le=(()=>{var tt;class P{constructor(se,ee,Ie,Ue){this._viewportRuler=se,this._document=ee,this._platform=Ie,this._overlayContainer=Ue}global(){return new Ut}flexibleConnectedTo(se){return new ht(se,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return(tt=P).\u0275fac=function(se){return new(se||tt)(D.CoB(a.S8),D.CoB(s.Ud),D.CoB(ce.WU),D.CoB(De))},tt.\u0275prov=D.wxM({token:tt,factory:tt.\u0275fac,providedIn:"root"}),P})(),pe=0,Ve=(()=>{var tt;class P{constructor(se,ee,Ie,Ue,Y,he,Ye,gt,Et,Lt,en,sn){this.scrollStrategies=se,this._overlayContainer=ee,this._componentFactoryResolver=Ie,this._positionBuilder=Ue,this._keyboardDispatcher=Y,this._injector=he,this._ngZone=Ye,this._document=gt,this._directionality=Et,this._location=Lt,this._outsideClickDispatcher=en,this._animationsModuleType=sn}create(se){const ee=this._createHostElement(),Ie=this._createPaneElement(ee),Ue=this._createPortalOutlet(Ie),Y=new ie(se);return Y.direction=Y.direction||this._directionality.value,new _e(Ue,ee,Ie,Y,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(se){const ee=this._document.createElement("div");return ee.id="cdk-overlay-".concat(pe++),ee.classList.add("cdk-overlay-pane"),se.appendChild(ee),ee}_createHostElement(){const se=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(se),se}_createPortalOutlet(se){return this._appRef||(this._appRef=this._injector.get(D.Swk)),new et.S4(se,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return(tt=P).\u0275fac=function(se){return new(se||tt)(D.CoB(re),D.CoB(De),D.CoB(D.ce5),D.CoB(le),D.CoB(vt),D.CoB(D.zZn),D.CoB(D.WW2),D.CoB(s.Ud),D.CoB(Pe.yG),D.CoB(s.oB),D.CoB(qe),D.CoB(D.qwP,8))},tt.\u0275prov=D.wxM({token:tt,factory:tt.\u0275fac,providedIn:"root"}),P})();const Te=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],dt=new D.UbH("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const tt=(0,D.uUt)(Ve);return()=>tt.scrollStrategies.reposition()}});let $e=(()=>{var tt;class P{constructor(se){this.elementRef=se}}return(tt=P).\u0275fac=function(se){return new(se||tt)(D.GI1(D.GMv))},tt.\u0275dir=D.Sc5({type:tt,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),P})(),Mt=(()=>{var tt;class P{get offsetX(){return this._offsetX}set offsetX(se){this._offsetX=se,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(se){this._offsetY=se,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(se){this._disposeOnNavigation=se}constructor(se,ee,Ie,Ue,Y){this._overlay=se,this._dir=Y,this._backdropSubscription=Be.wH.EMPTY,this._attachSubscription=Be.wH.EMPTY,this._detachSubscription=Be.wH.EMPTY,this._positionSubscription=Be.wH.EMPTY,this._disposeOnNavigation=!1,this._ngZone=(0,D.uUt)(D.WW2),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new D._w7,this.positionChange=new D._w7,this.attach=new D._w7,this.detach=new D._w7,this.overlayKeydown=new D._w7,this.overlayOutsideClick=new D._w7,this._templatePortal=new et.CC(ee,Ie),this._scrollStrategyFactory=Ue,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(se){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),se.origin&&this.open&&this._position.apply()),se.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Te);const se=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=se.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=se.detachments().subscribe(()=>this.detach.emit()),se.keydownEvents().subscribe(ee=>{this.overlayKeydown.next(ee),ee.keyCode===Ne.UX&&!this.disableClose&&!(0,Ne.Yp)(ee)&&(ee.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(ee=>{this.overlayOutsideClick.next(ee)})}_buildConfig(){const se=this._position=this.positionStrategy||this._createPositionStrategy(),ee=new ie({direction:this._dir,positionStrategy:se,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(ee.width=this.width),(this.height||0===this.height)&&(ee.height=this.height),(this.minWidth||0===this.minWidth)&&(ee.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(ee.minHeight=this.minHeight),this.backdropClass&&(ee.backdropClass=this.backdropClass),this.panelClass&&(ee.panelClass=this.panelClass),ee}_updatePositionStrategy(se){const ee=this.positions.map(Ie=>({originX:Ie.originX,originY:Ie.originY,overlayX:Ie.overlayX,overlayY:Ie.overlayY,offsetX:Ie.offsetX||this.offsetX,offsetY:Ie.offsetY||this.offsetY,panelClass:Ie.panelClass||void 0}));return se.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(ee).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const se=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(se),se}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof $e?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(se=>{this.backdropClick.emit(se)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function Me(tt,P=!1){return(0,te.i)((Ee,se)=>{let ee=0;Ee.subscribe((0,Ce.e)(se,Ie=>{const Ue=tt(Ie,ee++);(Ue||P)&&se.next(Ie),!Ue&&se.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(se=>{this._ngZone.run(()=>this.positionChange.emit(se)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return(tt=P).\u0275fac=function(se){return new(se||tt)(D.GI1(Ve),D.GI1(D.Yw2),D.GI1(D.y8U),D.GI1(dt),D.GI1(Pe.yG,8))},tt.\u0275dir=D.Sc5({type:tt,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[D.Wk5.None,"cdkConnectedOverlayOrigin","origin"],positions:[D.Wk5.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[D.Wk5.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[D.Wk5.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[D.Wk5.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[D.Wk5.None,"cdkConnectedOverlayWidth","width"],height:[D.Wk5.None,"cdkConnectedOverlayHeight","height"],minWidth:[D.Wk5.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[D.Wk5.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[D.Wk5.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[D.Wk5.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[D.Wk5.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[D.Wk5.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[D.Wk5.None,"cdkConnectedOverlayOpen","open"],disableClose:[D.Wk5.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[D.Wk5.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[D.Wk5.HasDecoratorInputTransform,"cdkConnectedOverlayHasBackdrop","hasBackdrop",D.cZD],lockPosition:[D.Wk5.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",D.cZD],flexibleDimensions:[D.Wk5.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",D.cZD],growAfterOpen:[D.Wk5.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",D.cZD],push:[D.Wk5.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",D.cZD],disposeOnNavigation:[D.Wk5.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",D.cZD]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[D.QJr,D.SYr]}),P})();const gn={provide:dt,deps:[Ve],useFactory:function Xt(tt){return()=>tt.scrollStrategies.reposition()}};let cn=(()=>{var tt;class P{}return(tt=P).\u0275fac=function(se){return new(se||tt)},tt.\u0275mod=D.a4G({type:tt}),tt.\u0275inj=D.s3X({providers:[Ve,gn],imports:[Pe.gN,et.g$,a.c$,a.c$]}),P})()},5792:(Qe,fe,y)=>{y.d(fe,{C8:()=>xt,W4:()=>Me,WU:()=>J,Yx:()=>lt,kk:()=>Be,mU:()=>ve,mW:()=>Oe,oZ:()=>Ge});var a=y(4496),s=y(1368);let D;try{D=typeof Intl<"u"&&Intl.v8BreakIterator}catch{D=!1}let z,J=(()=>{var X;class G{constructor(re){this._platformId=re,this.isBrowser=this._platformId?(0,s.c0)(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&&!D)&&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}}return(X=G).\u0275fac=function(re){return new(re||X)(a.CoB(a.AHE))},X.\u0275prov=a.wxM({token:X,factory:X.\u0275fac,providedIn:"root"}),G})();const ae=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function ve(){if(z)return z;if("object"!=typeof document||!document)return z=new Set(ae),z;let X=document.createElement("input");return z=new Set(ae.filter(G=>(X.setAttribute("type",G),X.type===G))),z}let te,ke,Ne;function Me(X){return function Ce(){if(null==te&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>te=!0}))}finally{te=te||!1}return te}()?X:!!X.capture}function Be(){if(null==ke){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ke=!1,ke;if("scrollBehavior"in document.documentElement.style)ke=!0;else{const X=Element.prototype.scrollTo;ke=!!X&&!/\{\s*\[native code\]\s*\}/.test(X.toString())}}return ke}function xt(X){if(function ot(){if(null==Ne){const X=typeof document<"u"?document.head:null;Ne=!(!X||!X.createShadowRoot&&!X.attachShadow)}return Ne}()){const G=X.getRootNode?X.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&G instanceof ShadowRoot)return G}return null}function lt(){let X=typeof document<"u"&&document?document.activeElement:null;for(;X&&X.shadowRoot;){const G=X.shadowRoot.activeElement;if(G===X)break;X=G}return X}function Ge(X){return X.composedPath?X.composedPath()[0]:X.target}function Oe(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},2488:(Qe,fe,y)=>{y.d(fe,{CC:()=>Me,Ef:()=>et,IP:()=>xt,KC:()=>Ce,S4:()=>Be,g$:()=>Ge});var a=y(4496),s=y(1368);class te{attach(G){return this._attachedHost=G,G.attach(this)}detach(){let G=this._attachedHost;null!=G&&(this._attachedHost=null,G.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(G){this._attachedHost=G}}class Ce extends te{constructor(G,ye,re,ie,me){super(),this.component=G,this.viewContainerRef=ye,this.injector=re,this.componentFactoryResolver=ie,this.projectableNodes=me}}class Me extends te{constructor(G,ye,re,ie){super(),this.templateRef=G,this.viewContainerRef=ye,this.context=re,this.injector=ie}get origin(){return this.templateRef.elementRef}attach(G,ye=this.context){return this.context=ye,super.attach(G)}detach(){return this.context=void 0,super.detach()}}class Pe extends te{constructor(G){super(),this.element=G instanceof a.GMv?G.nativeElement:G}}class et{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(G){return G instanceof Ce?(this._attachedPortal=G,this.attachComponentPortal(G)):G instanceof Me?(this._attachedPortal=G,this.attachTemplatePortal(G)):this.attachDomPortal&&G instanceof Pe?(this._attachedPortal=G,this.attachDomPortal(G)):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(G){this._disposeFn=G}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Be extends et{constructor(G,ye,re,ie,me){super(),this.outletElement=G,this._componentFactoryResolver=ye,this._appRef=re,this._defaultInjector=ie,this.attachDomPortal=Xe=>{const pt=Xe.element,Pt=this._document.createComment("dom-portal");pt.parentNode.insertBefore(Pt,pt),this.outletElement.appendChild(pt),this._attachedPortal=Xe,super.setDisposeFn(()=>{Pt.parentNode&&Pt.parentNode.replaceChild(pt,Pt)})},this._document=me}attachComponentPortal(G){const re=(G.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(G.component);let ie;return G.viewContainerRef?(ie=G.viewContainerRef.createComponent(re,G.viewContainerRef.length,G.injector||G.viewContainerRef.injector,G.projectableNodes||void 0),this.setDisposeFn(()=>ie.destroy())):(ie=re.create(G.injector||this._defaultInjector||a.zZn.NULL),this._appRef.attachView(ie.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(ie.hostView),ie.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(ie)),this._attachedPortal=G,ie}attachTemplatePortal(G){let ye=G.viewContainerRef,re=ye.createEmbeddedView(G.templateRef,G.context,{injector:G.injector});return re.rootNodes.forEach(ie=>this.outletElement.appendChild(ie)),re.detectChanges(),this.setDisposeFn(()=>{let ie=ye.indexOf(re);-1!==ie&&ye.remove(ie)}),this._attachedPortal=G,re}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(G){return G.hostView.rootNodes[0]}}let xt=(()=>{var X;class G extends et{constructor(re,ie,me){super(),this._componentFactoryResolver=re,this._viewContainerRef=ie,this._isInitialized=!1,this.attached=new a._w7,this.attachDomPortal=Xe=>{const pt=Xe.element,Pt=this._document.createComment("dom-portal");Xe.setAttachedHost(this),pt.parentNode.insertBefore(Pt,pt),this._getRootNode().appendChild(pt),this._attachedPortal=Xe,super.setDisposeFn(()=>{Pt.parentNode&&Pt.parentNode.replaceChild(pt,Pt)})},this._document=me}get portal(){return this._attachedPortal}set portal(re){this.hasAttached()&&!re&&!this._isInitialized||(this.hasAttached()&&super.detach(),re&&super.attach(re),this._attachedPortal=re||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(re){re.setAttachedHost(this);const ie=null!=re.viewContainerRef?re.viewContainerRef:this._viewContainerRef,Xe=(re.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(re.component),pt=ie.createComponent(Xe,ie.length,re.injector||ie.injector,re.projectableNodes||void 0);return ie!==this._viewContainerRef&&this._getRootNode().appendChild(pt.hostView.rootNodes[0]),super.setDisposeFn(()=>pt.destroy()),this._attachedPortal=re,this._attachedRef=pt,this.attached.emit(pt),pt}attachTemplatePortal(re){re.setAttachedHost(this);const ie=this._viewContainerRef.createEmbeddedView(re.templateRef,re.context,{injector:re.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=re,this._attachedRef=ie,this.attached.emit(ie),ie}_getRootNode(){const re=this._viewContainerRef.element.nativeElement;return re.nodeType===re.ELEMENT_NODE?re:re.parentNode}}return(X=G).\u0275fac=function(re){return new(re||X)(a.GI1(a.ce5),a.GI1(a.y8U),a.GI1(s.Ud))},X.\u0275dir=a.Sc5({type:X,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[a.Wk5.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[a.eg9]}),G})(),Ge=(()=>{var X;class G{}return(X=G).\u0275fac=function(re){return new(re||X)},X.\u0275mod=a.a4G({type:X}),X.\u0275inj=a.s3X({}),G})()},3572:(Qe,fe,y)=>{y.d(fe,{uU:()=>Zt,Yn:()=>vt,c$:()=>Ut,S8:()=>_e});var a=y(7712),s=y(4496),D=y(5657),J=y(2700),ce=y(3252),z=y(800),ae=y(1364),ve=y(6928);const te={schedule(le){let pe=requestAnimationFrame,Ve=cancelAnimationFrame;const{delegate:Te}=te;Te&&(pe=Te.requestAnimationFrame,Ve=Te.cancelAnimationFrame);const dt=pe($e=>{Ve=void 0,le($e)});return new ve.wH(()=>null==Ve?void 0:Ve(dt))},requestAnimationFrame(...le){const{delegate:pe}=te;return((null==pe?void 0:pe.requestAnimationFrame)||requestAnimationFrame)(...le)},cancelAnimationFrame(...le){const{delegate:pe}=te;return((null==pe?void 0:pe.cancelAnimationFrame)||cancelAnimationFrame)(...le)},delegate:void 0};var Me=y(9816);new class Pe extends Me.k{flush(pe){this._active=!0;const Ve=this._scheduled;this._scheduled=void 0;const{actions:Te}=this;let dt;pe=pe||Te.shift();do{if(dt=pe.execute(pe.state,pe.delay))break}while((pe=Te[0])&&pe.id===Ve&&Te.shift());if(this._active=!1,dt){for(;(pe=Te[0])&&pe.id===Ve&&Te.shift();)pe.unsubscribe();throw dt}}}(class Ce extends ae.m{constructor(pe,Ve){super(pe,Ve),this.scheduler=pe,this.work=Ve}requestAsyncId(pe,Ve,Te=0){return null!==Te&&Te>0?super.requestAsyncId(pe,Ve,Te):(pe.actions.push(this),pe._scheduled||(pe._scheduled=te.requestAnimationFrame(()=>pe.flush(void 0))))}recycleAsyncId(pe,Ve,Te=0){var dt;if(null!=Te?Te>0:this.delay>0)return super.recycleAsyncId(pe,Ve,Te);const{actions:$e}=pe;null!=Ve&&(null===(dt=$e[$e.length-1])||void 0===dt?void 0:dt.id)!==Ve&&(te.cancelAnimationFrame(Ve),pe._scheduled=void 0)}});y(1472);var Re=y(112),Ne=y(5448),ot=y(560),xt=y(7773),Ge=y(3120);function Oe(le,pe=Re.M){return function lt(le){return(0,Ne.i)((pe,Ve)=>{let Te=!1,dt=null,$e=null,Mt=!1;const Xt=()=>{if(null==$e||$e.unsubscribe(),$e=null,Te){Te=!1;const cn=dt;dt=null,Ve.next(cn)}Mt&&Ve.complete()},gn=()=>{$e=null,Mt&&Ve.complete()};pe.subscribe((0,xt.e)(Ve,cn=>{Te=!0,dt=cn,$e||(0,ot.Uv)(le(cn)).subscribe($e=(0,xt.e)(Ve,Xt,gn))},()=>{Mt=!0,(!Te||!$e||$e.closed)&&Ve.complete()}))})}(()=>(0,Ge.k)(le,pe))}var X=y(6684),G=y(5792),ye=y(1368),re=y(1900);let vt=(()=>{var le;class pe{constructor(Te,dt,$e){this._ngZone=Te,this._platform=dt,this._scrolled=new D.E,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=$e}register(Te){this.scrollContainers.has(Te)||this.scrollContainers.set(Te,Te.elementScrolled().subscribe(()=>this._scrolled.next(Te)))}deregister(Te){const dt=this.scrollContainers.get(Te);dt&&(dt.unsubscribe(),this.scrollContainers.delete(Te))}scrolled(Te=20){return this._platform.isBrowser?new ce._(dt=>{this._globalSubscription||this._addGlobalListener();const $e=Te>0?this._scrolled.pipe(Oe(Te)).subscribe(dt):this._scrolled.subscribe(dt);return this._scrolledCount++,()=>{$e.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,J.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((Te,dt)=>this.deregister(dt)),this._scrolled.complete()}ancestorScrolled(Te,dt){const $e=this.getAncestorScrollContainers(Te);return this.scrolled(dt).pipe((0,X.I)(Mt=>!Mt||$e.indexOf(Mt)>-1))}getAncestorScrollContainers(Te){const dt=[];return this.scrollContainers.forEach(($e,Mt)=>{this._scrollableContainsElement(Mt,Te)&&dt.push(Mt)}),dt}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(Te,dt){let $e=(0,a.mk)(dt),Mt=Te.getElementRef().nativeElement;do{if($e==Mt)return!0}while($e=$e.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const Te=this._getWindow();return(0,z.w)(Te.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return(le=pe).\u0275fac=function(Te){return new(Te||le)(s.CoB(s.WW2),s.CoB(G.WU),s.CoB(ye.Ud,8))},le.\u0275prov=s.wxM({token:le,factory:le.\u0275fac,providedIn:"root"}),pe})(),_e=(()=>{var le;class pe{constructor(Te,dt,$e){this._platform=Te,this._change=new D.E,this._changeListener=Mt=>{this._change.next(Mt)},this._document=$e,dt.runOutsideAngular(()=>{if(Te.isBrowser){const Mt=this._getWindow();Mt.addEventListener("resize",this._changeListener),Mt.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const Te=this._getWindow();Te.removeEventListener("resize",this._changeListener),Te.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const Te={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),Te}getViewportRect(){const Te=this.getViewportScrollPosition(),{width:dt,height:$e}=this.getViewportSize();return{top:Te.top,left:Te.left,bottom:Te.top+$e,right:Te.left+dt,height:$e,width:dt}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const Te=this._document,dt=this._getWindow(),$e=Te.documentElement,Mt=$e.getBoundingClientRect();return{top:-Mt.top||Te.body.scrollTop||dt.scrollY||$e.scrollTop||0,left:-Mt.left||Te.body.scrollLeft||dt.scrollX||$e.scrollLeft||0}}change(Te=20){return Te>0?this._change.pipe(Oe(Te)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const Te=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:Te.innerWidth,height:Te.innerHeight}:{width:0,height:0}}}return(le=pe).\u0275fac=function(Te){return new(Te||le)(s.CoB(G.WU),s.CoB(s.WW2),s.CoB(ye.Ud,8))},le.\u0275prov=s.wxM({token:le,factory:le.\u0275fac,providedIn:"root"}),pe})(),Zt=(()=>{var le;class pe{}return(le=pe).\u0275fac=function(Te){return new(Te||le)},le.\u0275mod=s.a4G({type:le}),le.\u0275inj=s.s3X({}),pe})(),Ut=(()=>{var le;class pe{}return(le=pe).\u0275fac=function(Te){return new(Te||le)},le.\u0275mod=s.a4G({type:le}),le.\u0275inj=s.s3X({imports:[re.gN,Zt,re.gN,Zt]}),pe})()},1368:(Qe,fe,y)=>{y.d(fe,{MD:()=>Hn,MP:()=>Ne,OM:()=>Ro,QF:()=>_t,Qd:()=>ke,Sg:()=>We,Ud:()=>ae,XV:()=>fr,YZ:()=>gr,_k:()=>ko,ay:()=>$t,c0:()=>wo,mQ:()=>te,mg:()=>ce,oB:()=>ot,uC:()=>Re,u_:()=>Nt,uf:()=>po,ug:()=>J,uy:()=>D});var a=y(4496);let s=null;function D(){return s}function J(g){var S;null!==(S=s)&&void 0!==S||(s=g)}class ce{}const ae=new a.UbH("");let ve=(()=>{var g;class S{historyGo(M){throw new Error("")}}return(g=S).\u0275fac=function(M){return new(M||g)},g.\u0275prov=a.wxM({token:g,factory:()=>(0,a.uUt)(Ce),providedIn:"platform"}),S})();const te=new a.UbH("");let Ce=(()=>{var g;class S extends ve{constructor(){super(),this._doc=(0,a.uUt)(ae),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return D().getBaseHref(this._doc)}onPopState(M){const j=D().getGlobalEventTarget(this._doc,"window");return j.addEventListener("popstate",M,!1),()=>j.removeEventListener("popstate",M)}onHashChange(M){const j=D().getGlobalEventTarget(this._doc,"window");return j.addEventListener("hashchange",M,!1),()=>j.removeEventListener("hashchange",M)}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(M){this._location.pathname=M}pushState(M,j,ue){this._history.pushState(M,j,ue)}replaceState(M,j,ue){this._history.replaceState(M,j,ue)}forward(){this._history.forward()}back(){this._history.back()}historyGo(M=0){this._history.go(M)}getState(){return this._history.state}}return(g=S).\u0275fac=function(M){return new(M||g)},g.\u0275prov=a.wxM({token:g,factory:()=>new g,providedIn:"platform"}),S})();function Me(g,S){if(0==g.length)return S;if(0==S.length)return g;let Z=0;return g.endsWith("/")&&Z++,S.startsWith("/")&&Z++,2==Z?g+S.substring(1):1==Z?g+S:g+"/"+S}function Pe(g){const S=g.match(/#|\?|$/),Z=S&&S.index||g.length;return g.slice(0,Z-("/"===g[Z-1]?1:0))+g.slice(Z)}function et(g){return g&&"?"!==g[0]?"?"+g:g}let ke=(()=>{var g;class S{historyGo(M){throw new Error("")}}return(g=S).\u0275fac=function(M){return new(M||g)},g.\u0275prov=a.wxM({token:g,factory:()=>(0,a.uUt)(Re),providedIn:"root"}),S})();const Be=new a.UbH("");let Re=(()=>{var g;class S extends ke{constructor(M,j){var ue,it,wt;super(),this._platformLocation=M,this._removeListenerFns=[],this._baseHref=null!==(ue=null!==(it=null!=j?j:this._platformLocation.getBaseHrefFromDOM())&&void 0!==it?it:null===(wt=(0,a.uUt)(ae).location)||void 0===wt?void 0:wt.origin)&&void 0!==ue?ue:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(M){this._removeListenerFns.push(this._platformLocation.onPopState(M),this._platformLocation.onHashChange(M))}getBaseHref(){return this._baseHref}prepareExternalUrl(M){return Me(this._baseHref,M)}path(M=!1){const j=this._platformLocation.pathname+et(this._platformLocation.search),ue=this._platformLocation.hash;return ue&&M?"".concat(j).concat(ue):j}pushState(M,j,ue,it){const wt=this.prepareExternalUrl(ue+et(it));this._platformLocation.pushState(M,j,wt)}replaceState(M,j,ue,it){const wt=this.prepareExternalUrl(ue+et(it));this._platformLocation.replaceState(M,j,wt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(M=0){var j,ue;null===(j=(ue=this._platformLocation).historyGo)||void 0===j||j.call(ue,M)}}return(g=S).\u0275fac=function(M){return new(M||g)(a.CoB(ve),a.CoB(Be,8))},g.\u0275prov=a.wxM({token:g,factory:g.\u0275fac,providedIn:"root"}),S})(),Ne=(()=>{var g;class S extends ke{constructor(M,j){super(),this._platformLocation=M,this._baseHref="",this._removeListenerFns=[],null!=j&&(this._baseHref=j)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(M){this._removeListenerFns.push(this._platformLocation.onPopState(M),this._platformLocation.onHashChange(M))}getBaseHref(){return this._baseHref}path(M=!1){var j;const ue=null!==(j=this._platformLocation.hash)&&void 0!==j?j:"#";return ue.length>0?ue.substring(1):ue}prepareExternalUrl(M){const j=Me(this._baseHref,M);return j.length>0?"#"+j:j}pushState(M,j,ue,it){let wt=this.prepareExternalUrl(ue+et(it));0==wt.length&&(wt=this._platformLocation.pathname),this._platformLocation.pushState(M,j,wt)}replaceState(M,j,ue,it){let wt=this.prepareExternalUrl(ue+et(it));0==wt.length&&(wt=this._platformLocation.pathname),this._platformLocation.replaceState(M,j,wt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(M=0){var j,ue;null===(j=(ue=this._platformLocation).historyGo)||void 0===j||j.call(ue,M)}}return(g=S).\u0275fac=function(M){return new(M||g)(a.CoB(ve),a.CoB(Be,8))},g.\u0275prov=a.wxM({token:g,factory:g.\u0275fac}),S})(),ot=(()=>{var g;class S{constructor(M){this._subject=new a._w7,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=M;const j=this._locationStrategy.getBaseHref();this._basePath=function Oe(g){if(new RegExp("^(https?:)?//").test(g)){const[,Z]=g.split(/\/\/[^\/]+/);return Z}return g}(Pe(Ge(j))),this._locationStrategy.onPopState(ue=>{this._subject.emit({url:this.path(!0),pop:!0,state:ue.state,type:ue.type})})}ngOnDestroy(){var M;null===(M=this._urlChangeSubscription)||void 0===M||M.unsubscribe(),this._urlChangeListeners=[]}path(M=!1){return this.normalize(this._locationStrategy.path(M))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(M,j=""){return this.path()==this.normalize(M+et(j))}normalize(M){return S.stripTrailingSlash(function lt(g,S){if(!g||!S.startsWith(g))return S;const Z=S.substring(g.length);return""===Z||["/",";","?","#"].includes(Z[0])?Z:S}(this._basePath,Ge(M)))}prepareExternalUrl(M){return M&&"/"!==M[0]&&(M="/"+M),this._locationStrategy.prepareExternalUrl(M)}go(M,j="",ue=null){this._locationStrategy.pushState(ue,"",M,j),this._notifyUrlChangeListeners(this.prepareExternalUrl(M+et(j)),ue)}replaceState(M,j="",ue=null){this._locationStrategy.replaceState(ue,"",M,j),this._notifyUrlChangeListeners(this.prepareExternalUrl(M+et(j)),ue)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(M=0){var j,ue;null===(j=(ue=this._locationStrategy).historyGo)||void 0===j||j.call(ue,M)}onUrlChange(M){var j;return this._urlChangeListeners.push(M),null!==(j=this._urlChangeSubscription)&&void 0!==j||(this._urlChangeSubscription=this.subscribe(ue=>{this._notifyUrlChangeListeners(ue.url,ue.state)})),()=>{const ue=this._urlChangeListeners.indexOf(M);var it;this._urlChangeListeners.splice(ue,1),0===this._urlChangeListeners.length&&(null===(it=this._urlChangeSubscription)||void 0===it||it.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(M="",j){this._urlChangeListeners.forEach(ue=>ue(M,j))}subscribe(M,j,ue){return this._subject.subscribe({next:M,error:j,complete:ue})}}return(g=S).normalizeQueryParams=et,g.joinWithSlash=Me,g.stripTrailingSlash=Pe,g.\u0275fac=function(M){return new(M||g)(a.CoB(ke))},g.\u0275prov=a.wxM({token:g,factory:()=>function xt(){return new ot((0,a.CoB)(ke))}(),providedIn:"root"}),S})();function Ge(g){return g.replace(/\/index.html$/,"")}function We(g,S){S=encodeURIComponent(S);for(const Z of g.split(";")){const M=Z.indexOf("="),[j,ue]=-1==M?[Z,""]:[Z.slice(0,M),Z.slice(M+1)];if(j.trim()===S)return decodeURIComponent(ue)}return null}const je=/\s+/,bt=[];let _t=(()=>{var g;class S{constructor(M,j){this._ngEl=M,this._renderer=j,this.initialClasses=bt,this.stateMap=new Map}set klass(M){this.initialClasses=null!=M?M.trim().split(je):bt}set ngClass(M){this.rawClass="string"==typeof M?M.trim().split(je):M}ngDoCheck(){for(const j of this.initialClasses)this._updateState(j,!0);const M=this.rawClass;if(Array.isArray(M)||M instanceof Set)for(const j of M)this._updateState(j,!0);else if(null!=M)for(const j of Object.keys(M))this._updateState(j,!!M[j]);this._applyStateDiff()}_updateState(M,j){const ue=this.stateMap.get(M);void 0!==ue?(ue.enabled!==j&&(ue.changed=!0,ue.enabled=j),ue.touched=!0):this.stateMap.set(M,{enabled:j,changed:!0,touched:!0})}_applyStateDiff(){for(const M of this.stateMap){const j=M[0],ue=M[1];ue.changed?(this._toggleClass(j,ue.enabled),ue.changed=!1):ue.touched||(ue.enabled&&this._toggleClass(j,!1),this.stateMap.delete(j)),ue.touched=!1}}_toggleClass(M,j){(M=M.trim()).length>0&&M.split(je).forEach(ue=>{j?this._renderer.addClass(this._ngEl.nativeElement,ue):this._renderer.removeClass(this._ngEl.nativeElement,ue)})}}return(g=S).\u0275fac=function(M){return new(M||g)(a.GI1(a.GMv),a.GI1(a.q87))},g.\u0275dir=a.Sc5({type:g,selectors:[["","ngClass",""]],inputs:{klass:[a.Wk5.None,"class","klass"],ngClass:"ngClass"},standalone:!0}),S})();class xn{constructor(S,Z,M,j){this.$implicit=S,this.ngForOf=Z,this.index=M,this.count=j}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 $t=(()=>{var g;class S{set ngForOf(M){this._ngForOf=M,this._ngForOfDirty=!0}set ngForTrackBy(M){this._trackByFn=M}get ngForTrackBy(){return this._trackByFn}constructor(M,j,ue){this._viewContainer=M,this._template=j,this._differs=ue,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(M){M&&(this._template=M)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const M=this._ngForOf;!this._differ&&M&&(this._differ=this._differs.find(M).create(this.ngForTrackBy))}if(this._differ){const M=this._differ.diff(this._ngForOf);M&&this._applyChanges(M)}}_applyChanges(M){const j=this._viewContainer;M.forEachOperation((ue,it,wt)=>{if(null==ue.previousIndex)j.createEmbeddedView(this._template,new xn(ue.item,this._ngForOf,-1,-1),null===wt?void 0:wt);else if(null==wt)j.remove(null===it?void 0:it);else if(null!==it){const yn=j.get(it);j.move(yn,wt),Nn(yn,ue)}});for(let ue=0,it=j.length;ue{Nn(j.get(ue.currentIndex),ue)})}static ngTemplateContextGuard(M,j){return!0}}return(g=S).\u0275fac=function(M){return new(M||g)(a.GI1(a.y8U),a.GI1(a.Yw2),a.GI1(a.Uj7))},g.\u0275dir=a.Sc5({type:g,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),S})();function Nn(g,S){g.context.$implicit=S.item}let Nt=(()=>{var g;class S{constructor(M,j){this._viewContainer=M,this._context=new Tn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=j}set ngIf(M){this._context.$implicit=this._context.ngIf=M,this._updateView()}set ngIfThen(M){ii("ngIfThen",M),this._thenTemplateRef=M,this._thenViewRef=null,this._updateView()}set ngIfElse(M){ii("ngIfElse",M),this._elseTemplateRef=M,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(M,j){return!0}}return(g=S).\u0275fac=function(M){return new(M||g)(a.GI1(a.y8U),a.GI1(a.Yw2))},g.\u0275dir=a.Sc5({type:g,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),S})();class Tn{constructor(){this.$implicit=null,this.ngIf=null}}function ii(g,S){if(S&&!S.createEmbeddedView)throw new Error("".concat(g," must be a TemplateRef, but received '").concat((0,a.GEN)(S),"'."))}let fr=(()=>{var g;class S{constructor(M){this._viewContainerRef=M,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(M){if(this._shouldRecreateView(M)){var j;const ue=this._viewContainerRef;if(this._viewRef&&ue.remove(ue.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const it=this._createContextForwardProxy();this._viewRef=ue.createEmbeddedView(this.ngTemplateOutlet,it,{injector:null!==(j=this.ngTemplateOutletInjector)&&void 0!==j?j:void 0})}}_shouldRecreateView(M){return!!M.ngTemplateOutlet||!!M.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(M,j,ue)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,j,ue),get:(M,j,ue)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,j,ue)}})}}return(g=S).\u0275fac=function(M){return new(M||g)(a.GI1(a.y8U))},g.\u0275dir=a.Sc5({type:g,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[a.SYr]}),S})(),Hn=(()=>{var g;class S{}return(g=S).\u0275fac=function(M){return new(M||g)},g.\u0275mod=a.a4G({type:g}),g.\u0275inj=a.s3X({}),S})();const ko="browser",zn="server";function wo(g){return g===ko}function po(g){return g===zn}let gr=(()=>{var g;class S{}return(g=S).\u0275prov=(0,a.wxM)({token:g,providedIn:"root",factory:()=>wo((0,a.uUt)(a.AHE))?new zo((0,a.uUt)(ae),window):new or}),S})();class zo{constructor(S,Z){this.document=S,this.window=Z,this.offset=()=>[0,0]}setOffset(S){this.offset=Array.isArray(S)?()=>S:S}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(S){this.window.scrollTo(S[0],S[1])}scrollToAnchor(S){const Z=function wi(g,S){const Z=g.getElementById(S)||g.getElementsByName(S)[0];if(Z)return Z;if("function"==typeof g.createTreeWalker&&g.body&&"function"==typeof g.body.attachShadow){const M=g.createTreeWalker(g.body,NodeFilter.SHOW_ELEMENT);let j=M.currentNode;for(;j;){const ue=j.shadowRoot;if(ue){const it=ue.getElementById(S)||ue.querySelector('[name="'.concat(S,'"]'));if(it)return it}j=M.nextNode()}}return null}(this.document,S);Z&&(this.scrollToElement(Z),Z.focus())}setHistoryScrollRestoration(S){this.window.history.scrollRestoration=S}scrollToElement(S){const Z=S.getBoundingClientRect(),M=Z.left+this.window.pageXOffset,j=Z.top+this.window.pageYOffset,ue=this.offset();this.window.scrollTo(M-ue[0],j-ue[1])}}class or{setOffset(S){}getScrollPosition(){return[0,0]}scrollToPosition(S){}scrollToAnchor(S){}setHistoryScrollRestoration(S){}}class Ro{}},7048:(Qe,fe,y)=>{y.d(fe,{KK:()=>Se,SU:()=>Je}),y(1528);var s=y(4496),D=y(2700),J=y(3252),ce=y(2115),z=y(6020),ae=y(6684),ve=y(4704),te=y(8824),Ce=y(7368),Me=y(1368);class Pe{}class et{}class ke{constructor(ge){this.normalizedNames=new Map,this.lazyUpdate=null,ge?"string"==typeof ge?this.lazyInit=()=>{this.headers=new Map,ge.split("\n").forEach(We=>{const je=We.indexOf(":");if(je>0){const bt=We.slice(0,je),_t=bt.toLowerCase(),Vt=We.slice(je+1).trim();this.maybeSetNormalizedName(bt,_t),this.headers.has(_t)?this.headers.get(_t).push(Vt):this.headers.set(_t,[Vt])}})}:typeof Headers<"u"&&ge instanceof Headers?(this.headers=new Map,ge.forEach((We,je)=>{this.setHeaderEntries(je,We)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(ge).forEach(([We,je])=>{this.setHeaderEntries(We,je)})}:this.headers=new Map}has(ge){return this.init(),this.headers.has(ge.toLowerCase())}get(ge){this.init();const We=this.headers.get(ge.toLowerCase());return We&&We.length>0?We[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ge){return this.init(),this.headers.get(ge.toLowerCase())||null}append(ge,We){return this.clone({name:ge,value:We,op:"a"})}set(ge,We){return this.clone({name:ge,value:We,op:"s"})}delete(ge,We){return this.clone({name:ge,value:We,op:"d"})}maybeSetNormalizedName(ge,We){this.normalizedNames.has(We)||this.normalizedNames.set(We,ge)}init(){this.lazyInit&&(this.lazyInit instanceof ke?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(We=>{this.headers.set(We,ge.headers.get(We)),this.normalizedNames.set(We,ge.normalizedNames.get(We))})}clone(ge){const We=new ke;return We.lazyInit=this.lazyInit&&this.lazyInit instanceof ke?this.lazyInit:this,We.lazyUpdate=(this.lazyUpdate||[]).concat([ge]),We}applyUpdate(ge){const We=ge.name.toLowerCase();switch(ge.op){case"a":case"s":let je=ge.value;if("string"==typeof je&&(je=[je]),0===je.length)return;this.maybeSetNormalizedName(ge.name,We);const bt=("a"===ge.op?this.headers.get(We):void 0)||[];bt.push(...je),this.headers.set(We,bt);break;case"d":const _t=ge.value;if(_t){let Vt=this.headers.get(We);if(!Vt)return;Vt=Vt.filter(At=>-1===_t.indexOf(At)),0===Vt.length?(this.headers.delete(We),this.normalizedNames.delete(We)):this.headers.set(We,Vt)}else this.headers.delete(We),this.normalizedNames.delete(We)}}setHeaderEntries(ge,We){const je=(Array.isArray(We)?We:[We]).map(_t=>_t.toString()),bt=ge.toLowerCase();this.headers.set(bt,je),this.maybeSetNormalizedName(ge,bt)}forEach(ge){this.init(),Array.from(this.normalizedNames.keys()).forEach(We=>ge(this.normalizedNames.get(We),this.headers.get(We)))}}class Re{encodeKey(ge){return lt(ge)}encodeValue(ge){return lt(ge)}decodeKey(ge){return decodeURIComponent(ge)}decodeValue(ge){return decodeURIComponent(ge)}}const ot=/%(\d[a-f0-9])/gi,xt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function lt(K){return encodeURIComponent(K).replace(ot,(ge,We)=>{var je;return null!==(je=xt[We])&&void 0!==je?je:ge})}function Ge(K){return"".concat(K)}class Oe{constructor(ge={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ge.encoder||new Re,ge.fromString){if(ge.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ne(K,ge){const We=new Map;return K.length>0&&K.replace(/^\?/,"").split("&").forEach(bt=>{const _t=bt.indexOf("="),[Vt,At]=-1==_t?[ge.decodeKey(bt),""]:[ge.decodeKey(bt.slice(0,_t)),ge.decodeValue(bt.slice(_t+1))],xn=We.get(Vt)||[];xn.push(At),We.set(Vt,xn)}),We}(ge.fromString,this.encoder)}else ge.fromObject?(this.map=new Map,Object.keys(ge.fromObject).forEach(We=>{const je=ge.fromObject[We],bt=Array.isArray(je)?je.map(Ge):[Ge(je)];this.map.set(We,bt)})):this.map=null}has(ge){return this.init(),this.map.has(ge)}get(ge){this.init();const We=this.map.get(ge);return We?We[0]:null}getAll(ge){return this.init(),this.map.get(ge)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ge,We){return this.clone({param:ge,value:We,op:"a"})}appendAll(ge){const We=[];return Object.keys(ge).forEach(je=>{const bt=ge[je];Array.isArray(bt)?bt.forEach(_t=>{We.push({param:je,value:_t,op:"a"})}):We.push({param:je,value:bt,op:"a"})}),this.clone(We)}set(ge,We){return this.clone({param:ge,value:We,op:"s"})}delete(ge,We){return this.clone({param:ge,value:We,op:"d"})}toString(){return this.init(),this.keys().map(ge=>{const We=this.encoder.encodeKey(ge);return this.map.get(ge).map(je=>We+"="+this.encoder.encodeValue(je)).join("&")}).filter(ge=>""!==ge).join("&")}clone(ge){const We=new Oe({encoder:this.encoder});return We.cloneFrom=this.cloneFrom||this,We.updates=(this.updates||[]).concat(ge),We}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 We=("a"===ge.op?this.map.get(ge.param):void 0)||[];We.push(Ge(ge.value)),this.map.set(ge.param,We);break;case"d":if(void 0===ge.value){this.map.delete(ge.param);break}{let je=this.map.get(ge.param)||[];const bt=je.indexOf(Ge(ge.value));-1!==bt&&je.splice(bt,1),je.length>0?this.map.set(ge.param,je):this.map.delete(ge.param)}}}),this.cloneFrom=this.updates=null)}}class G{constructor(){this.map=new Map}set(ge,We){return this.map.set(ge,We),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 re(K){return typeof ArrayBuffer<"u"&&K instanceof ArrayBuffer}function ie(K){return typeof Blob<"u"&&K instanceof Blob}function me(K){return typeof FormData<"u"&&K instanceof FormData}class pt{constructor(ge,We,je,bt){var _t,Vt;let At;if(this.url=We,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ge.toUpperCase(),function ye(K){switch(K){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||bt?(this.body=void 0!==je?je:null,At=bt):At=je,At&&(this.reportProgress=!!At.reportProgress,this.withCredentials=!!At.withCredentials,At.responseType&&(this.responseType=At.responseType),At.headers&&(this.headers=At.headers),At.context&&(this.context=At.context),At.params&&(this.params=At.params),this.transferCache=At.transferCache),null!==(_t=this.headers)&&void 0!==_t||(this.headers=new ke),null!==(Vt=this.context)&&void 0!==Vt||(this.context=new G),this.params){const xn=this.params.toString();if(0===xn.length)this.urlWithParams=We;else{const $t=We.indexOf("?");this.urlWithParams=We+(-1===$t?"?":$tNt.set(Tn,ge.setHeaders[Tn]),$t)),ge.setParams&&(Nn=Object.keys(ge.setParams).reduce((Nt,Tn)=>Nt.set(Tn,ge.setParams[Tn]),Nn)),new pt(je,bt,Vt,{params:Nn,headers:$t,context:gi,reportProgress:xn,responseType:_t,withCredentials:At})}}var Pt=function(K){return K[K.Sent=0]="Sent",K[K.UploadProgress=1]="UploadProgress",K[K.ResponseHeader=2]="ResponseHeader",K[K.DownloadProgress=3]="DownloadProgress",K[K.Response=4]="Response",K[K.User=5]="User",K}(Pt||{});class Tt{constructor(ge,We=De.Ok,je="OK"){this.headers=ge.headers||new ke,this.status=void 0!==ge.status?ge.status:We,this.statusText=ge.statusText||je,this.url=ge.url||null,this.ok=this.status>=200&&this.status<300}}class on extends Tt{constructor(ge={}){super(ge),this.type=Pt.ResponseHeader}clone(ge={}){return new on({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 vt extends Tt{constructor(ge={}){super(ge),this.type=Pt.Response,this.body=void 0!==ge.body?ge.body:null}clone(ge={}){return new vt({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 qe extends Tt{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 ".concat(ge.url||"(unknown url)"):"Http failure response for ".concat(ge.url||"(unknown url)",": ").concat(ge.status," ").concat(ge.statusText),this.error=ge.error||null}}var De=function(K){return K[K.Continue=100]="Continue",K[K.SwitchingProtocols=101]="SwitchingProtocols",K[K.Processing=102]="Processing",K[K.EarlyHints=103]="EarlyHints",K[K.Ok=200]="Ok",K[K.Created=201]="Created",K[K.Accepted=202]="Accepted",K[K.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",K[K.NoContent=204]="NoContent",K[K.ResetContent=205]="ResetContent",K[K.PartialContent=206]="PartialContent",K[K.MultiStatus=207]="MultiStatus",K[K.AlreadyReported=208]="AlreadyReported",K[K.ImUsed=226]="ImUsed",K[K.MultipleChoices=300]="MultipleChoices",K[K.MovedPermanently=301]="MovedPermanently",K[K.Found=302]="Found",K[K.SeeOther=303]="SeeOther",K[K.NotModified=304]="NotModified",K[K.UseProxy=305]="UseProxy",K[K.Unused=306]="Unused",K[K.TemporaryRedirect=307]="TemporaryRedirect",K[K.PermanentRedirect=308]="PermanentRedirect",K[K.BadRequest=400]="BadRequest",K[K.Unauthorized=401]="Unauthorized",K[K.PaymentRequired=402]="PaymentRequired",K[K.Forbidden=403]="Forbidden",K[K.NotFound=404]="NotFound",K[K.MethodNotAllowed=405]="MethodNotAllowed",K[K.NotAcceptable=406]="NotAcceptable",K[K.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",K[K.RequestTimeout=408]="RequestTimeout",K[K.Conflict=409]="Conflict",K[K.Gone=410]="Gone",K[K.LengthRequired=411]="LengthRequired",K[K.PreconditionFailed=412]="PreconditionFailed",K[K.PayloadTooLarge=413]="PayloadTooLarge",K[K.UriTooLong=414]="UriTooLong",K[K.UnsupportedMediaType=415]="UnsupportedMediaType",K[K.RangeNotSatisfiable=416]="RangeNotSatisfiable",K[K.ExpectationFailed=417]="ExpectationFailed",K[K.ImATeapot=418]="ImATeapot",K[K.MisdirectedRequest=421]="MisdirectedRequest",K[K.UnprocessableEntity=422]="UnprocessableEntity",K[K.Locked=423]="Locked",K[K.FailedDependency=424]="FailedDependency",K[K.TooEarly=425]="TooEarly",K[K.UpgradeRequired=426]="UpgradeRequired",K[K.PreconditionRequired=428]="PreconditionRequired",K[K.TooManyRequests=429]="TooManyRequests",K[K.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",K[K.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",K[K.InternalServerError=500]="InternalServerError",K[K.NotImplemented=501]="NotImplemented",K[K.BadGateway=502]="BadGateway",K[K.ServiceUnavailable=503]="ServiceUnavailable",K[K.GatewayTimeout=504]="GatewayTimeout",K[K.HttpVersionNotSupported=505]="HttpVersionNotSupported",K[K.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",K[K.InsufficientStorage=507]="InsufficientStorage",K[K.LoopDetected=508]="LoopDetected",K[K.NotExtended=510]="NotExtended",K[K.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",K}(De||{});function _e(K,ge){return{body:ge,headers:K.headers,context:K.context,observe:K.observe,params:K.params,reportProgress:K.reportProgress,responseType:K.responseType,withCredentials:K.withCredentials,transferCache:K.transferCache}}let Se=(()=>{var K;class ge{constructor(je){this.handler=je}request(je,bt,_t={}){let Vt;if(je instanceof pt)Vt=je;else{let $t,Nn;$t=_t.headers instanceof ke?_t.headers:new ke(_t.headers),_t.params&&(Nn=_t.params instanceof Oe?_t.params:new Oe({fromObject:_t.params})),Vt=new pt(je,bt,void 0!==_t.body?_t.body:null,{headers:$t,context:_t.context,params:Nn,reportProgress:_t.reportProgress,responseType:_t.responseType||"json",withCredentials:_t.withCredentials,transferCache:_t.transferCache})}const At=(0,D.of)(Vt).pipe((0,z.m)($t=>this.handler.handle($t)));if(je instanceof pt||"events"===_t.observe)return At;const xn=At.pipe((0,ae.I)($t=>$t instanceof vt));switch(_t.observe||"body"){case"body":switch(Vt.responseType){case"arraybuffer":return xn.pipe((0,ve.k)($t=>{if(null!==$t.body&&!($t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return $t.body}));case"blob":return xn.pipe((0,ve.k)($t=>{if(null!==$t.body&&!($t.body instanceof Blob))throw new Error("Response is not a Blob.");return $t.body}));case"text":return xn.pipe((0,ve.k)($t=>{if(null!==$t.body&&"string"!=typeof $t.body)throw new Error("Response is not a string.");return $t.body}));default:return xn.pipe((0,ve.k)($t=>$t.body))}case"response":return xn;default:throw new Error("Unreachable: unhandled observe type ".concat(_t.observe,"}"))}}delete(je,bt={}){return this.request("DELETE",je,bt)}get(je,bt={}){return this.request("GET",je,bt)}head(je,bt={}){return this.request("HEAD",je,bt)}jsonp(je,bt){return this.request("JSONP",je,{params:(new Oe).append(bt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(je,bt={}){return this.request("OPTIONS",je,bt)}patch(je,bt,_t={}){return this.request("PATCH",je,_e(_t,bt))}post(je,bt,_t={}){return this.request("POST",je,_e(_t,bt))}put(je,bt,_t={}){return this.request("PUT",je,_e(_t,bt))}}return(K=ge).\u0275fac=function(je){return new(je||K)(s.CoB(Pe))},K.\u0275prov=s.wxM({token:K,factory:K.\u0275fac}),ge})();function ct(K,ge){return ge(K)}function Zt(K,ge){return(We,je)=>ge.intercept(We,{handle:bt=>K(bt,je)})}const le=new s.UbH(""),pe=new s.UbH(""),Ve=new s.UbH(""),Te=new s.UbH("");function dt(){let K=null;return(ge,We)=>{var je;null===K&&(K=(null!==(je=(0,s.uUt)(le,{optional:!0}))&&void 0!==je?je:[]).reduceRight(Zt,ct));const bt=(0,s.uUt)(s.g9Y),_t=bt.add();return K(ge,We).pipe((0,te.U)(()=>bt.remove(_t)))}}let Xt=(()=>{var K;class ge extends Pe{constructor(je,bt){super(),this.backend=je,this.injector=bt,this.chain=null,this.pendingTasks=(0,s.uUt)(s.g9Y);const _t=(0,s.uUt)(Te,{optional:!0});this.backend=null!=_t?_t:je}handle(je){if(null===this.chain){const _t=Array.from(new Set([...this.injector.get(pe),...this.injector.get(Ve,[])]));this.chain=_t.reduceRight((Vt,At)=>function Ut(K,ge,We){return(je,bt)=>(0,s.SMS)(We,()=>ge(je,_t=>K(_t,bt)))}(Vt,At,this.injector),ct)}const bt=this.pendingTasks.add();return this.chain(je,_t=>this.backend.handle(_t)).pipe((0,te.U)(()=>this.pendingTasks.remove(bt)))}}return(K=ge).\u0275fac=function(je){return new(je||K)(s.CoB(et),s.CoB(s.SIe))},K.\u0275prov=s.wxM({token:K,factory:K.\u0275fac}),ge})();const he=/^\)\]\}',?\n/;let gt=(()=>{var K;class ge{constructor(je){this.xhrFactory=je}handle(je){if("JSONP"===je.method)throw new s.OBp(-2800,!1);const bt=this.xhrFactory;return(bt.\u0275loadImpl?(0,ce.Q)(bt.\u0275loadImpl()):(0,D.of)(null)).pipe((0,Ce.G)(()=>new J._(Vt=>{const At=bt.build();if(At.open(je.method,je.urlWithParams),je.withCredentials&&(At.withCredentials=!0),je.headers.forEach((rn,Sn)=>At.setRequestHeader(rn,Sn.join(","))),je.headers.has("Accept")||At.setRequestHeader("Accept","application/json, text/plain, */*"),!je.headers.has("Content-Type")){const rn=je.detectContentTypeHeader();null!==rn&&At.setRequestHeader("Content-Type",rn)}if(je.responseType){const rn=je.responseType.toLowerCase();At.responseType="json"!==rn?rn:"text"}const xn=je.serializeBody();let $t=null;const Nn=()=>{if(null!==$t)return $t;const rn=At.statusText||"OK",Sn=new ke(At.getAllResponseHeaders()),ui=function Ye(K){return"responseURL"in K&&K.responseURL?K.responseURL:/^X-Request-URL:/m.test(K.getAllResponseHeaders())?K.getResponseHeader("X-Request-URL"):null}(At)||je.url;return $t=new on({headers:Sn,status:At.status,statusText:rn,url:ui}),$t},gi=()=>{let{headers:rn,status:Sn,statusText:ui,url:Kn}=Nn(),Jn=null;Sn!==De.NoContent&&(Jn=typeof At.response>"u"?At.responseText:At.response),0===Sn&&(Sn=Jn?De.Ok:0);let $o=Sn>=200&&Sn<300;if("json"===je.responseType&&"string"==typeof Jn){const Eo=Jn;Jn=Jn.replace(he,"");try{Jn=""!==Jn?JSON.parse(Jn):null}catch(Do){Jn=Eo,$o&&($o=!1,Jn={error:Do,text:Jn})}}$o?(Vt.next(new vt({body:Jn,headers:rn,status:Sn,statusText:ui,url:Kn||void 0})),Vt.complete()):Vt.error(new qe({error:Jn,headers:rn,status:Sn,statusText:ui,url:Kn||void 0}))},Nt=rn=>{const{url:Sn}=Nn(),ui=new qe({error:rn,status:At.status||0,statusText:At.statusText||"Unknown Error",url:Sn||void 0});Vt.error(ui)};let Tn=!1;const ii=rn=>{Tn||(Vt.next(Nn()),Tn=!0);let Sn={type:Pt.DownloadProgress,loaded:rn.loaded};rn.lengthComputable&&(Sn.total=rn.total),"text"===je.responseType&&At.responseText&&(Sn.partialText=At.responseText),Vt.next(Sn)},oi=rn=>{let Sn={type:Pt.UploadProgress,loaded:rn.loaded};rn.lengthComputable&&(Sn.total=rn.total),Vt.next(Sn)};return At.addEventListener("load",gi),At.addEventListener("error",Nt),At.addEventListener("timeout",Nt),At.addEventListener("abort",Nt),je.reportProgress&&(At.addEventListener("progress",ii),null!==xn&&At.upload&&At.upload.addEventListener("progress",oi)),At.send(xn),Vt.next({type:Pt.Sent}),()=>{At.removeEventListener("error",Nt),At.removeEventListener("abort",Nt),At.removeEventListener("load",gi),At.removeEventListener("timeout",Nt),je.reportProgress&&(At.removeEventListener("progress",ii),null!==xn&&At.upload&&At.upload.removeEventListener("progress",oi)),At.readyState!==At.DONE&&At.abort()}})))}}return(K=ge).\u0275fac=function(je){return new(je||K)(s.CoB(Me.OM))},K.\u0275prov=s.wxM({token:K,factory:K.\u0275fac}),ge})();const Et=new s.UbH(""),en=new s.UbH("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Dn=new s.UbH("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class bn{}let ai=(()=>{var K;class ge{constructor(je,bt,_t){this.doc=je,this.platform=bt,this.cookieName=_t,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const je=this.doc.cookie||"";return je!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,Me.Sg)(je,this.cookieName),this.lastCookieString=je),this.lastToken}}return(K=ge).\u0275fac=function(je){return new(je||K)(s.CoB(Me.Ud),s.CoB(s.AHE),s.CoB(en))},K.\u0275prov=s.wxM({token:K,factory:K.\u0275fac}),ge})();function pi(K,ge){const We=K.url.toLowerCase();if(!(0,s.uUt)(Et)||"GET"===K.method||"HEAD"===K.method||We.startsWith("http://")||We.startsWith("https://"))return ge(K);const je=(0,s.uUt)(bn).getToken(),bt=(0,s.uUt)(Dn);return null!=je&&!K.headers.has(bt)&&(K=K.clone({headers:K.headers.set(bt,je)})),ge(K)}var V=function(K){return K[K.Interceptors=0]="Interceptors",K[K.LegacyInterceptors=1]="LegacyInterceptors",K[K.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",K[K.NoXsrfProtection=3]="NoXsrfProtection",K[K.JsonpSupport=4]="JsonpSupport",K[K.RequestsMadeViaParent=5]="RequestsMadeViaParent",K[K.Fetch=6]="Fetch",K}(V||{});function $(K,ge){return{\u0275kind:K,\u0275providers:ge}}function k(...K){const ge=[Se,gt,Xt,{provide:Pe,useExisting:Xt},{provide:et,useExisting:gt},{provide:pe,useValue:pi,multi:!0},{provide:Et,useValue:!0},{provide:bn,useClass:ai}];for(const We of K)ge.push(...We.\u0275providers);return(0,s.AFj)(ge)}const B=new s.UbH("");let Je=(()=>{var K;class ge{}return(K=ge).\u0275fac=function(je){return new(je||K)},K.\u0275mod=s.a4G({type:K}),K.\u0275inj=s.s3X({providers:[k($(V.LegacyInterceptors,[{provide:B,useFactory:dt},{provide:pe,useExisting:B,multi:!0}]))]}),ge})()},4496:(Qe,fe,y)=>{y.d(fe,{qwP:()=>kt,qid:()=>rm,QHP:()=>L,kZF:()=>Iy,Ev2:()=>CT,Swk:()=>Oa,YND:()=>hn,kD9:()=>Rg,ESV:()=>iT,ce5:()=>vc,ayF:()=>uT,syz:()=>Qr,GMv:()=>Mr,SIe:()=>gs,eAe:()=>Js,_w7:()=>se,_6O:()=>he,UbH:()=>C,zZn:()=>Pr,Uj7:()=>$h,YNh:()=>Gh,KYU:()=>gu,obV:()=>x_,oF$:()=>Ma,WW2:()=>$i,T7N:()=>Xa,AHE:()=>mt,crf:()=>Le,VhX:()=>fa,q87:()=>xE,O8F:()=>Dg,yzm:()=>Dd,SI6:()=>xa,Qfh:()=>kr,Yw2:()=>fc,G4X:()=>qS,eOv:()=>wy,a8Z:()=>vy,y8U:()=>zd,K6R:()=>Je,I44:()=>jg,cZD:()=>YT,SIz:()=>D_,Gk1:()=>zD,grM:()=>Ly,agy:()=>gT,wd:()=>Ii,uUt:()=>Vn,_Ap:()=>Yi,AFj:()=>od,cJ3:()=>ZT,m4O:()=>yT,o9M:()=>QT,SMS:()=>y0,sRj:()=>IE,yai:()=>Uh,oPY:()=>by,i4S:()=>Lu,GUM:()=>Al,g9Y:()=>Dc,OBp:()=>$e,aS5:()=>Ey,Mn9:()=>Dy,Y8L:()=>dt,Om8:()=>dp,ozE:()=>yd,K2p:()=>ol,GM_:()=>dC,u8n:()=>mC,ER9:()=>hC,Vfw:()=>uC,Gc:()=>fC,iMv:()=>Rf,G58:()=>Mt,y02:()=>Iv,IHs:()=>Ht,K_M:()=>Hc,Guz:()=>ta,w5$:()=>im,gX2:()=>My,auf:()=>Vl,GEN:()=>Ye,E2t:()=>ks,eg9:()=>sf,Wk5:()=>K,QJr:()=>C_,SYr:()=>Gu,M5G:()=>Bb,UHJ:()=>Ub,yG2:()=>Hp,e48:()=>vf,m8U:()=>dv,uQ9:()=>_v,eAK:()=>wf,C0Y:()=>Cv,szK:()=>mb,In1:()=>Do,Sc5:()=>Go,wxM:()=>Qn,s3X:()=>Os,a4G:()=>mr,UTH:()=>tr,GI1:()=>al,wR5:()=>Of,k70:()=>su,SAx:()=>ru,C$Y:()=>ou,I0R:()=>iu,KQA:()=>wv,otF:()=>Gm,SoX:()=>kf,CoB:()=>bo,gJ8:()=>qu,KEo:()=>Wp,qCj:()=>Ff,Gqi:()=>_b,gRP:()=>Va,S2Z:()=>ao,GaO:()=>ib,wVc:()=>ey,kDX:()=>ty,_Xx:()=>rb,kPM:()=>ob,E7m:()=>xf,_6D:()=>Bf,uAc:()=>Yb,wto:()=>gb,Gew:()=>vb,CGJ:()=>zr,wLc:()=>Dp,usT:()=>ds,E3n:()=>up,K6U:()=>sh,YFg:()=>fp,m4B:()=>Df,yuY:()=>hl,gJz:()=>ny,OEk:()=>Sb,cNF:()=>Vf,oRS:()=>uu,CAO:()=>jf,MjK:()=>$f,kNx:()=>Fb,iHE:()=>Hf,OKB:()=>Gf,CC$:()=>pb}),y(1528);let D=null,ce=1;const z=Symbol("SIGNAL");function ae(e){const t=D;return D=e,t}function ke(e){if((!G(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==ce)){if(!e.producerMustRecompute(e)&&!lt(e))return e.dirty=!1,void(e.lastCleanEpoch=ce);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=ce}}function lt(e){ye(e);for(let t=0;t0}function ye(e){var t,n,i;null!==(t=e.producerNode)&&void 0!==t||(e.producerNode=[]),null!==(n=e.producerIndexOfThis)&&void 0!==n||(e.producerIndexOfThis=[]),null!==(i=e.producerLastReadVersion)&&void 0!==i||(e.producerLastReadVersion=[])}let on=null;var Ut=y(5657),le=y(6928),pe=y(6700),Ve=y(4704);const dt="https://g.co/ng/security#xss";class $e extends Error{constructor(t,n){super(Mt(t,n)),this.code=t}}function Mt(e,t){const n="NG0".concat(Math.abs(e));return"".concat(n).concat(t?": "+t:"")}function Ee(e){return t=>{setTimeout(e,void 0,t)}}const se=class P extends Ut.E{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let o=t,r=n||(()=>null),c=i;if(t&&"object"==typeof t){var h,p,w;const F=t;o=null===(h=F.next)||void 0===h?void 0:h.bind(F),r=null===(p=F.error)||void 0===p?void 0:p.bind(F),c=null===(w=F.complete)||void 0===w?void 0:w.bind(F)}this.__isAsync&&(r=Ee(r),o&&(o=Ee(o)),c&&(c=Ee(c)));const R=super.subscribe({next:o,error:r,complete:c});return t instanceof le.wH&&t.add(R),R}};var he=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}(he||{});function Ye(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ye).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(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 gt(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var de=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(de||{}),Je=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Je||{});function Bt(e){return{toString:e}.toString()}const Ht=globalThis,On={},jt=[];function dn(e){for(let t in e)if(e[t]===dn)return t;throw Error("Could not find renamed property on target object.")}function di(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}const Ci=dn({\u0275cmp:dn}),xi=dn({\u0275dir:dn}),Ei=dn({\u0275pipe:dn}),Fi=dn({\u0275mod:dn}),ni=dn({\u0275fac:dn}),Ti=dn({__NG_ELEMENT_ID__:dn}),er=dn({__NG_ENV_ID__:dn});var K=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(K||{});function ge(e,t,n){let i=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const r=t.length;if(o+r===i||e.charCodeAt(o+r)<=32)return o}n=o+1}}function We(e,t,n){let i=0;for(;it){c=r-1;break}}}for(;rr?"":o[F+1].toLowerCase();const we=8&i?ne:null;if(we&&-1!==ge(we,w,0)||2&i&&w!==ne){if(Nt(i))return!1;c=!0}}}}else{if(!c&&!Nt(i)&&!Nt(p))return!1;if(c&&Nt(p))continue;c=!1,i=p|1&i}}return Nt(i)||c}function Nt(e){return 0==(1&e)}function Tn(e,t,n,i){if(null===t)return-1;let o=0;if(i||!n){let r=!1;for(;o-1)for(n++;n0?'="'+h+'"':"")+"]"}else 8&i?o+="."+c:4&i&&(o+=" "+c);else""!==o&&!Nt(c)&&(t+=Kn(r,o),o=""),i=c,r=r||!Nt(i);n++}return""!==o&&(t+=Kn(r,o)),t}function Do(e){return Bt(()=>{var t;const n=ts(e),i={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===de.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:null!==(t=e.signals)&&void 0!==t&&t,data:e.data||{},encapsulation:e.encapsulation||Je.Emulated,styles:e.styles||jt,_:null,schemas:e.schemas||null,tView:null,id:""};ns(i);const o=e.dependencies;return i.directiveDefs=Oo(o,!1),i.pipeDefs=Oo(o,!0),i.id=function oo(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 o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(i),i})}function hr(e){return pn(e)||Xn(e)}function fr(e){return null!==e}function mr(e){return Bt(()=>({type:e.type,bootstrap:e.bootstrap||jt,declarations:e.declarations||jt,imports:e.imports||jt,exports:e.exports||jt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function hi(e,t){if(null==e)return On;const n={};for(const o in e)if(e.hasOwnProperty(o)){const r=e[o];let c,h,p=K.None;var i;Array.isArray(r)?(p=r[0],c=r[1],h=null!==(i=r[2])&&void 0!==i?i:c):(c=r,h=r),t?(n[c]=p!==K.None?[o,p]:o,t[c]=h):n[c]=o}return n}function Go(e){return Bt(()=>{const t=ts(e);return ns(t),t})}function tr(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 pn(e){return e[Ci]||null}function Xn(e){return e[xi]||null}function li(e){return e[Ei]||null}function Yi(e){const t=pn(e)||Xn(e)||li(e);return null!==t&&t.standalone}function _i(e,t){const n=e[Fi]||null;if(!n&&!0===t)throw new Error("Type ".concat(Ye(e)," does not have '\u0275mod' property."));return n}function ts(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||On,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||jt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:hi(e.inputs,t),outputs:hi(e.outputs),debugInfo:null}}function ns(e){var t;null===(t=e.features)||void 0===t||t.forEach(n=>n(e))}function Oo(e,t){if(!e)return null;const n=t?li:hr;return()=>("function"==typeof e?e():e).map(i=>n(i)).filter(fr)}const jn=0,Ct=1,zt=2,ei=3,Li=4,Ai=5,ci=6,fo=7,Ln=8,Di=9,Bi=10,Wt=11,mo=12,pr=13,Ho=14,Hn=15,ko=16,zn=17,Zi=18,nr=19,wo=20,po=21,ir=22,go=23,un=25,gr=1,wi=7,Ro=9,fi=10;var Wo=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Wo||{});function Ri(e){return Array.isArray(e)&&"object"==typeof e[gr]}function Mi(e){return Array.isArray(e)&&!0===e[gr]}function _r(e){return 0!=(4&e.flags)}function _o(e){return e.componentOffset>-1}function Mo(e){return 1==(1&e.flags)}function Ui(e){return!!e.template}function vr(e){return 0!=(512&e[zt])}const yt="svg";let ti=!1;function An(e){for(;Array.isArray(e);)e=e[jn];return e}function yr(e,t){return An(t[e])}function zi(e,t){return An(t[e.index])}function Cr(e,t){return e.data[t]}function sr(e,t){return e[t]}function Ni(e,t){const n=t[e];return Ri(n)?n:n[jn]}function vi(e){return 128==(128&e[zt])}function ro(e,t){return null==t?null:e[t]}function Yo(e){e[zn]=0}function Na(e){1024&e[zt]||(e[zt]|=1024,vi(e)&&Ds(e))}function jr(e){var t;return!!(9216&e[zt]||null!==(t=e[go])&&void 0!==t&&t.dirty)}function Er(e){if(jr(e))Ds(e);else if(64&e[zt])if(function Qi(){return ti}())e[zt]|=1024,Ds(e);else{var t;null===(t=e[Bi].changeDetectionScheduler)||void 0===t||t.notify()}}function Ds(e){var t;null===(t=e[Bi].changeDetectionScheduler)||void 0===t||t.notify();let n=Fo(e);for(;null!==n&&!(8192&n[zt])&&(n[zt]|=8192,vi(n));)n=Fo(n)}function ss(e,t){if(256==(256&e[zt]))throw new $e(911,!1);null===e[po]&&(e[po]=[]),e[po].push(t)}function Fo(e){const t=e[ei];return Mi(t)?t[ei]:t}const an={lFrame:Rn(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function js(){return an.bindingsEnabled}function Gr(){return null!==an.skipHydrationRootTNode}function at(){return an.lFrame.lView}function _n(){return an.lFrame.tView}function ds(e){return an.lFrame.contextLView=e,e[Ln]}function zr(e){return an.lFrame.contextLView=null,e}function Gn(){let e=da();for(;null!==e&&64===e.type;)e=e.parent;return e}function da(){return an.lFrame.currentTNode}function Oi(e,t){const n=an.lFrame;n.currentTNode=e,n.isParent=t}function Io(){return an.lFrame.isParent}function ar(){an.lFrame.isParent=!1}function bi(){const e=an.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function so(){return an.lFrame.bindingIndex}function So(){return an.lFrame.bindingIndex++}function g(e){const t=an.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function M(e,t){const n=an.lFrame;n.bindingIndex=n.bindingRootIndex=e,ue(t)}function ue(e){an.lFrame.currentDirectiveIndex=e}function wt(){return an.lFrame.currentQueryIndex}function yn(e){an.lFrame.currentQueryIndex=e}function kn(e){const t=e[Ct];return 2===t.type?t.declTNode:1===t.type?e[Ai]:null}function Bn(e,t,n){if(n&he.SkipSelf){let o=t,r=e;for(;!(o=o.parent,null!==o||n&he.Host||(o=kn(r),null===o||(r=r[Ho],10&o.type))););if(null===o)return!1;t=o,e=r}const i=an.lFrame=Un();return i.currentTNode=t,i.lView=e,!0}function vn(e){const t=Un(),n=e[Ct];an.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Un(){const e=an.lFrame,t=null===e?null:e.child;return null===t?Rn(e):t}function Rn(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 yi(){const e=an.lFrame;return an.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Lo=yi;function Vi(){const e=yi();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 Pn(){return an.lFrame.selectedIndex}function Wi(e){an.lFrame.selectedIndex=e}function Fn(){const e=an.lFrame;return Cr(e.tView,e.selectedIndex)}function ao(){an.lFrame.currentNamespace=yt}function Va(){!function ja(){an.lFrame.currentNamespace=null}()}let Ll=!0;function Gs(){return Ll}function Zo(e){Ll=e}function wr(){return Kr(Gn(),at())}function Kr(e,t){return new Mr(zi(e,t))}let Zs,Mr=(()=>{class t{constructor(i){this.nativeElement=i}}return t.__NG_ELEMENT_ID__=wr,t})();function lo(e){return e instanceof Mr?e.nativeElement:e}function Is(e,t){e.forEach(n=>Array.isArray(n)?Is(n,t):t(n))}function Ul(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ss(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function co(e,t,n){let i=As(e,t);return i>=0?e[1|i]=n:(i=~i,function Hs(e,t,n,i){let o=e.length;if(o==t)e.push(n,i);else if(1===o)e.push(i,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function zs(e,t){const n=As(e,t);if(n>=0)return e[1|n]}function As(e,t){return function ha(e,t,n){let i=0,o=e.length>>n;for(;o!==i;){const r=i+(o-i>>1),c=e[r<t?o=r:i=r+1}return~(o<W}),W="ng",Le=new C(""),mt=new C("",{providedIn:"platform",factory:()=>"unknown"}),kt=new C(""),hn=new C("",{providedIn:"root",factory:()=>{var e;return(null===(e=Ir().body)||void 0===e||null===(e=e.querySelector("[ngCspNonce]"))||void 0===e?void 0:e.getAttribute("ngCspNonce"))||null}}),ji=dn({__forward_ref__:dn});function Ii(e){return e.__forward_ref__=Ii,e.toString=function(){return Ye(this())},e}function Qt(e){return Sr(e)?e():e}function Sr(e){return"function"==typeof e&&e.hasOwnProperty(ji)&&e.__forward_ref__===Ii}function Ka(e){return e&&!!e.\u0275providers}function En(e){return"string"==typeof e?e:null==e?"":String(e)}function Hl(e,t){throw new $e(-201,!1)}let zl;function Zc(){return zl}function To(e){const t=zl;return zl=e,t}function Xc(e,t,n){const i=pa(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&he.Optional?null:void 0!==t?t:void Hl()}const Qs={},Wl="__NG_DI_FLAG__",Kl="ngTempTokenPath",vm=/\n/gm,qc="__source";let qs;function hs(e){const t=qs;return qs=e,t}function Tu(e,t=he.Default){if(void 0===qs)throw new $e(-203,!1);return null===qs?Xc(e,void 0,t):qs.get(e,t&he.Optional?null:void 0,t)}function bo(e,t=he.Default){return(Zc()||Tu)(Qt(e),t)}function Vn(e,t=he.Default){return bo(e,Ya(t))}function Ya(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Yl(e){const t=[];for(let n=0;nnull;function mi(e,t,n=!1){return qt(e,t,n)}const Mn="__parameters__";function Vo(e,t,n){return Bt(()=>{const i=function xo(e){return function(...n){if(e){const i=e(...n);for(const o in i)this[o]=i[o]}}}(t);function o(...r){if(this instanceof o)return i.apply(this,r),this;const c=new o(...r);return h.annotation=c,h;function h(p,w,R){const F=p.hasOwnProperty(Mn)?p[Mn]:Object.defineProperty(p,Mn,{value:[]})[Mn];for(;F.length<=R;)F.push(null);return(F[R]=F[R]||[]).push(c),p}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}const Xa=va(Vo("Optional"),8),kr=va(Vo("SkipSelf"),4);function Rr(e,t){return e.hasOwnProperty(ni)?e[ni]:null}const Qr=new C(""),Cm=new C("",-1),Pu=new C("");class id{get(t,n=Qs){if(n===Qs){const i=new Error("NullInjectorError: No provider for ".concat(Ye(t),"!"));throw i.name="NullInjectorError",i}return n}}function od(e){return{\u0275providers:e}}function u0(...e){return{\u0275providers:xm(0,e),\u0275fromNgModule:!0}}function xm(e,...t){const n=[],i=new Set;let o;const r=c=>{n.push(c)};return Is(t,c=>{const h=c;rd(h,r,[],i)&&(o||(o=[]),o.push(h))}),void 0!==o&&Em(o,r),n}function Em(e,t){for(let n=0;n{t(r,i)})}}function rd(e,t,n,i){if(!(e=Qt(e)))return!1;let o=null,r=Xs(e);const c=!r&&pn(e);if(r||c){if(c&&!c.standalone)return!1;o=e}else{const p=e.ngModule;if(r=Xs(p),!r)return!1;o=p}const h=i.has(o);if(c){if(h)return!1;if(i.add(o),c.dependencies){const p="function"==typeof c.dependencies?c.dependencies():c.dependencies;for(const w of p)rd(w,t,n,i)}}else{if(!r)return!1;{if(null!=r.imports&&!h){let w;i.add(o);try{Is(r.imports,R=>{rd(R,t,n,i)&&(w||(w=[]),w.push(R))})}finally{}void 0!==w&&Em(w,t)}if(!h){const w=Rr(o)||(()=>new o);t({provide:o,useFactory:w,deps:jt},o),t({provide:Pu,useValue:o,multi:!0},o),t({provide:Qr,useValue:()=>bo(o),multi:!0},o)}const p=r.providers;if(null!=p&&!h){const w=e;Nu(p,R=>{t(R,w)})}}}return o!==e&&void 0!==e.providers}function Nu(e,t){for(let n of e)Ka(n)&&(n=n.\u0275providers),Array.isArray(n)?Nu(n,t):t(n)}const h0=dn({provide:String,useValue:dn});function Fu(e){return null!==e&&"object"==typeof e&&h0 in e}function ba(e){return"function"==typeof e}const Lu=new C(""),sd={},m0={};let Bu;function ad(){return void 0===Bu&&(Bu=new id),Bu}class gs{}class Qa extends gs{get destroyed(){return this._destroyed}constructor(t,n,i,o){super(),this.parent=n,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Vu(t,c=>this.processProvider(c)),this.records.set(Cm,qa(void 0,this)),o.has("environment")&&this.records.set(gs,qa(void 0,this));const r=this.records.get(Lu);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Pu,jt,he.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=hs(this),i=To(void 0);try{return t()}finally{hs(n),To(i)}}get(t,n=Qs,i=he.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(er))return t[er](this);i=Ya(i);const r=hs(this),c=To(void 0);try{if(!(i&he.SkipSelf)){let p=this.records.get(t);if(void 0===p){const w=function b0(e){return"function"==typeof e||"object"==typeof e&&e instanceof C}(t)&&pa(t);p=w&&this.injectableDefInScope(w)?qa(Uu(t),sd):null,this.records.set(t,p)}if(null!=p)return this.hydrate(t,p)}return(i&he.Self?ad():this.parent).get(t,n=i&he.Optional&&n===Qs?null:n)}catch(h){if("NullInjectorError"===h.name){if((h[Kl]=h[Kl]||[]).unshift(Ye(t)),r)throw h;return function Ou(e,t,n,i){const o=e[Kl];throw t[qc]&&o.unshift(t[qc]),e.message=function ku(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Ye(t);if(Array.isArray(t))o=t.map(Ye).join(" -> ");else if("object"==typeof t){let r=[];for(let c in t)if(t.hasOwnProperty(c)){let h=t[c];r.push(c+":"+("string"==typeof h?JSON.stringify(h):Ye(h)))}o="{".concat(r.join(", "),"}")}return"".concat(n).concat(i?"("+i+")":"","[").concat(o,"]: ").concat(e.replace(vm,"\n "))}("\n"+e.message,o,n,i),e.ngTokenPath=o,e[Kl]=null,e}(h,t,"R3InjectorError",this.source)}throw h}finally{To(c),hs(r)}}resolveInjectorInitializers(){const t=hs(this),n=To(void 0);try{const o=this.get(Qr,jt,he.Self);for(const r of o)r()}finally{hs(t),To(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(Ye(i));return"R3Injector[".concat(t.join(", "),"]")}assertNotDestroyed(){if(this._destroyed)throw new $e(205,!1)}processProvider(t){let n=ba(t=Qt(t))?t:Qt(t&&t.provide);const i=function g0(e){return Fu(e)?qa(void 0,e.useValue):qa(Mm(e),sd)}(t);if(!ba(t)&&!0===t.multi){let o=this.records.get(n);o||(o=qa(void 0,sd,!0),o.factory=()=>Yl(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===sd&&(n.value=m0,n.value=n.factory()),"object"==typeof n.value&&n.value&&function v0(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=Qt(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 Uu(e){const t=pa(e),n=null!==t?t.factory:Rr(e);if(null!==n)return n;if(e instanceof C)throw new $e(204,!1);if(e instanceof Function)return function p0(e){if(e.length>0)throw new $e(204,!1);const n=function zc(e){return e&&(e[f]||e[x])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new $e(204,!1)}function Mm(e,t,n){let i;if(ba(e)){const o=Qt(e);return Rr(o)||Uu(o)}if(Fu(e))i=()=>Qt(e.useValue);else if(function wm(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Yl(e.deps||[]));else if(function Dm(e){return!(!e||!e.useExisting)}(e))i=()=>bo(Qt(e.useExisting));else{const o=Qt(e&&(e.useClass||e.provide));if(!function _0(e){return!!e.deps}(e))return Rr(o)||Uu(o);i=()=>new o(...Yl(e.deps))}return i}function qa(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Vu(e,t){for(const n of e)Array.isArray(n)?Vu(n,t):n&&Ka(n)?Vu(n.\u0275providers,t):t(n)}function y0(e,t){e instanceof Qa&&e.assertNotDestroyed();const i=hs(e),o=To(void 0);try{return t()}finally{hs(i),To(o)}}class A0{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Sm(e,t,n,i){null!==t?t.applyValueToInputSignal(t,i):e[n]=i}function Gu(){return Tm}function Tm(e){return e.type.prototype.ngOnChanges&&(e.setInput=k0),O0}function O0(){const e=Om(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===On)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function k0(e,t,n,i,o){const r=this.declaredInputs[i],c=Om(e)||function R0(e,t){return e[Am]=t}(e,{previous:On,current:null}),h=c.current||(c.current={}),p=c.previous,w=p[r];h[r]=new A0(w&&w.currentValue,n,p===On),Sm(e,t,o,n)}Gu.ngInherit=!0;const Am="__ngSimpleChanges__";function Om(e){return e[Am]||null}const _s=function(e,t,n){};function cd(e,t){for(let w=t.directiveStart,R=t.directiveEnd;w=i)break}else t[p]<0&&(e[zn]+=65536),(h>14>16&&(3&e[zt])===t&&(e[zt]+=16384,Rm(h,r)):Rm(h,r)}const el=-1;class Jl{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function Ku(e){return e!==el}function ec(e){return 32767&e}function tc(e,t){let n=function j0(e){return e>>16}(e),i=t;for(;n>0;)i=i[Ho],n--;return i}let Yu=!0;function hd(e){const t=Yu;return Yu=e,t}const Pm=255,Nm=5;let $0=0;const vs={};function fd(e,t){const n=Fm(e,t);if(-1!==n)return n;const i=t[Ct];i.firstCreatePass&&(e.injectorIndex=t.length,Zu(i.data,e),Zu(t,null),Zu(i.blueprint,null));const o=md(e,t),r=e.injectorIndex;if(Ku(o)){const c=ec(o),h=tc(o,t),p=h[Ct].data;for(let w=0;w<8;w++)t[r+w]=h[c+w]|p[c+w]}return t[r+8]=o,r}function Zu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Fm(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function md(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,o=t;for(;null!==o;){if(i=Hm(o),null===i)return el;if(n++,o=o[Ho],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return el}function Xu(e,t,n){!function G0(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Ti)&&(i=n[Ti]),null==i&&(i=n[Ti]=$0++);const o=i&Pm;t.data[e+(o>>Nm)]|=1<=0?t&Pm:K0:t}(n);if("function"==typeof r){if(!Bn(t,e,i))return i&he.Host?Lm(o,0,i):Bm(t,n,i,o);try{let c;if(c=r(i),null!=c||i&he.Optional)return c;Hl()}finally{Lo()}}else if("number"==typeof r){let c=null,h=Fm(e,t),p=el,w=i&he.Host?t[Hn][Ai]:null;for((-1===h||i&he.SkipSelf)&&(p=-1===h?md(e,t):t[h+8],p!==el&&$m(i,!1)?(c=t[Ct],h=ec(p),t=tc(p,t)):h=-1);-1!==h;){const R=t[Ct];if(jm(r,h,R.data)){const F=z0(h,t,n,c,i,w);if(F!==vs)return F}p=t[h+8],p!==el&&$m(i,t[Ct].data[h+8]===w)&&jm(r,h,t)?(c=R,h=ec(p),t=tc(p,t)):h=-1}}return o}function z0(e,t,n,i,o,r){const c=t[Ct],h=c.data[e+8],R=pd(h,c,n,null==i?_o(h)&&Yu:i!=c&&0!=(3&h.type),o&he.Host&&r===h);return null!==R?ya(t,c,R,h):vs}function pd(e,t,n,i,o){const r=e.providerIndexes,c=t.data,h=1048575&r,p=e.directiveStart,R=r>>20,ne=o?h+R:e.directiveEnd;for(let we=i?h:h+R;we=p&&ze.type===n)return we}if(o){const we=c[p];if(we&&Ui(we)&&we.type===n)return p}return null}function ya(e,t,n,i){let o=e[n];const r=t.data;if(function L0(e){return e instanceof Jl}(o)){const c=o;c.resolving&&function Yc(e,t){throw t&&". Dependency path: ".concat(t.join(" > ")," > ").concat(e),new $e(-200,e)}(function Yn(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():En(e)}(r[n]));const h=hd(c.canSeeViewProviders);c.resolving=!0;const w=c.injectImpl?To(c.injectImpl):null;Bn(e,i,he.Default);try{o=e[n]=c.factory(void 0,r,e,i),t.firstCreatePass&&n>=i.directiveStart&&function N0(e,t,n){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=t.type.prototype;if(i){var c,h;const F=Tm(t);(null!==(c=n.preOrderHooks)&&void 0!==c?c:n.preOrderHooks=[]).push(e,F),(null!==(h=n.preOrderCheckHooks)&&void 0!==h?h:n.preOrderCheckHooks=[]).push(e,F)}var p,w,R;o&&(null!==(p=n.preOrderHooks)&&void 0!==p?p:n.preOrderHooks=[]).push(0-e,o),r&&((null!==(w=n.preOrderHooks)&&void 0!==w?w:n.preOrderHooks=[]).push(e,r),(null!==(R=n.preOrderCheckHooks)&&void 0!==R?R:n.preOrderCheckHooks=[]).push(e,r))}(n,r[n],t)}finally{null!==w&&To(w),hd(h),c.resolving=!1,Lo()}}return o}function jm(e,t,n){return!!(n[t+(e>>Nm)]&1<{const t=e.prototype.constructor,n=t[ni]||Qu(t),i=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==i;){const r=o[ni]||Qu(o);if(r&&r!==n)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function Qu(e){return Sr(e)?()=>{const t=Qu(Qt(e));return t&&t()}:Rr(e)}function Hm(e){const t=e[Ct],n=t.type;return 2===n?t.declTNode:1===n?e[Ai]:null}function qu(e){return function H0(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let o=0;for(;o{var e;class t{static create(i,o){if(Array.isArray(i))return Zm({name:""},o,i,"");{var r;const c=null!==(r=i.name)&&void 0!==r?r:"";return Zm({name:c},i.parent,i.providers,c)}}}return(e=t).THROW_IF_NOT_FOUND=Qs,e.NULL=new id,e.\u0275prov=Qn({token:e,providedIn:"any",factory:()=>bo(Cm)}),e.__NG_ELEMENT_ID__=-1,t})();function eh(e){return e.ngOriginalError}class Js{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&&eh(t);for(;n&&eh(n);)n=eh(n);return n||null}}const qm=new C("",{providedIn:"root",factory:()=>Vn(Js).handleError.bind(void 0)}),ep=new C("",{providedIn:"root",factory:()=>!1});let vd,bd;function il(e){var t;return(null===(t=function th(){if(void 0===vd&&(vd=null,Ht.trustedTypes))try{vd=Ht.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return vd}())||void 0===t?void 0:t.createHTML(e))||e}function nh(){if(void 0===bd&&(bd=null,Ht.trustedTypes))try{bd=Ht.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return bd}function tp(e){var t;return(null===(t=nh())||void 0===t?void 0:t.createHTML(e))||e}function ip(e){var t;return(null===(t=nh())||void 0===t?void 0:t.createScriptURL(e))||e}class Ca{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see ".concat(dt,")")}}class oC extends Ca{getTypeName(){return"HTML"}}class rC extends Ca{getTypeName(){return"Style"}}class sC extends Ca{getTypeName(){return"Script"}}class aC extends Ca{getTypeName(){return"URL"}}class lC extends Ca{getTypeName(){return"ResourceURL"}}function ks(e){return e instanceof Ca?e.changingThisBreaksApplicationSecurity:e}function ol(e,t){const n=function cC(e){return e instanceof Ca&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error("Required a safe ".concat(t,", got a ").concat(n," (see ").concat(dt,")"))}return n===t}function dC(e){return new oC(e)}function uC(e){return new rC(e)}function hC(e){return new sC(e)}function fC(e){return new aC(e)}function mC(e){return new lC(e)}class pC{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(il(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class gC{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=il(t),n}}const vC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function yd(e){return(e=String(e)).match(vC)?e:"unsafe:"+e}function Rs(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function nc(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const rp=Rs("area,br,col,hr,img,wbr"),sp=Rs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ap=Rs("rp,rt"),ih=nc(rp,nc(sp,Rs("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")),nc(ap,Rs("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")),nc(ap,sp)),oh=Rs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),lp=nc(oh,Rs("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"),Rs("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")),bC=Rs("script,style,template");class yC{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!ih.hasOwnProperty(n))return this.sanitizedSomething=!0,!bC.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let o=0;o"),!0}endElement(t){const n=t.nodeName.toLowerCase();ih.hasOwnProperty(n)&&!rp.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(cp(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: ".concat(t.outerHTML));return n}}const CC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,xC=/([^\#-~ |!])/g;function cp(e){return e.replace(/&/g,"&").replace(CC,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(xC,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Cd;function dp(e,t){let n=null;try{Cd=Cd||function op(e){const t=new gC(e);return function _C(){try{return!!(new window.DOMParser).parseFromString(il(""),"text/html")}catch{return!1}}()?new pC(t):t}(e);let i=t?String(t):"";n=Cd.getInertBodyElement(i);let o=5,r=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=r,r=n.innerHTML,n=Cd.getInertBodyElement(i)}while(i!==r);return il((new yC).sanitizeChildren(rh(n)||n))}finally{if(n){const i=rh(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function rh(e){return"content"in e&&function EC(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var xa=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}(xa||{});function up(e){const t=ic();return t?tp(t.sanitize(xa.HTML,e)||""):ol(e,"HTML")?tp(ks(e)):dp(Ir(),En(e))}function sh(e){const t=ic();return t?t.sanitize(xa.URL,e)||"":ol(e,"URL")?ks(e):yd(En(e))}function hp(e){const t=ic();if(t)return ip(t.sanitize(xa.RESOURCE_URL,e)||"");if(ol(e,"ResourceURL"))return ip(ks(e));throw new $e(904,!1)}function fp(e,t,n){return function SC(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?hp:sh}(t,n)(e)}function ic(){const e=at();return e&&e[Bi].sanitizer}const TC=/^>|^->||--!>|)/g,OC="\u200b$1\u200b";const ah=new Map;let FC=0;const ch="__ngContext__";function Ao(e,t){Ri(t)?(e[ch]=t[nr],function BC(e){ah.set(e[nr],e)}(t)):e[ch]=t}function Dp(e){return e.ownerDocument}function ur(e){return e instanceof Function?e():e}var Dd=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Dd||{});let fh;function mh(e,t){return fh(e,t)}function sl(e,t,n,i,o){if(null!=i){let r,c=!1;Mi(i)?r=i:Ri(i)&&(c=!0,i=i[jn]);const h=An(i);0===e&&null!==n?null==o?Rp(t,n,h):Ea(t,n,h,o||null,!0):1===e&&null!==n?Ea(t,n,h,o||null,!0):2===e?function Ad(e,t,n){const i=Sd(e,t);i&&function rx(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,h,c):3===e&&t.destroyNode(h),null!=r&&function lx(e,t,n,i,o){const r=n[wi];r!==An(n)&&sl(t,e,i,r,o);for(let h=fi;ht.replace(AC,OC))}(t))}function Md(e,t,n){return e.createElement(t,n)}function Ap(e,t){Od(e,t,t[Wt],2,null,null)}function Op(e,t){const n=e[Ro],i=n.indexOf(t);n.splice(i,1)}function rc(e,t){if(e.length<=fi)return;const n=fi+t,i=e[n];if(i){const o=i[ko];null!==o&&o!==e&&Op(o,i),t>0&&(e[n-1][Li]=i[Li]);const r=Ss(e,fi+t);!function qC(e,t){Ap(e,t),t[jn]=null,t[Ai]=null}(i[Ct],i);const c=r[Zi];null!==c&&c.detachView(r[Ct]),i[ei]=null,i[Li]=null,i[zt]&=-129}return i}function Id(e,t){if(!(256&t[zt])){const n=t[Wt];n.destroyNode&&Od(e,t,n,3,null,null),function ex(e){let t=e[mo];if(!t)return gh(e[Ct],e);for(;t;){let n=null;if(Ri(t))n=t[mo];else{const i=t[fi];i&&(n=i)}if(!n){for(;t&&!t[Li]&&t!==e;)Ri(t)&&gh(t[Ct],t),t=t[ei];null===t&&(t=e),Ri(t)&&gh(t[Ct],t),n=t&&t[Li]}t=n}}(t)}}function gh(e,t){if(!(256&t[zt])){t[zt]&=-129,t[zt]|=256,t[go]&&function Ge(e){if(ye(e),G(e))for(let t=0;t=0?i[c]():i[-c].unsubscribe(),r+=2}else n[r].call(i[n[r+1]]);null!==i&&(t[fo]=null);const o=t[po];if(null!==o){t[po]=null;for(let r=0;r-1){const{encapsulation:r}=e.data[i.directiveStart+o];if(r===Je.None||r===Je.Emulated)return null}return zi(i,n)}}(e,t.parent,n)}function Ea(e,t,n,i,o){e.insertBefore(t,n,i,o)}function Rp(e,t,n){e.appendChild(t,n)}function Pp(e,t,n,i,o){null!==i?Ea(e,t,n,i,o):Rp(e,t,n)}function Sd(e,t){return e.parentNode(t)}function Np(e,t,n){return Lp(e,t,n)}let vh,Lp=function Fp(e,t,n){return 40&e.type?zi(e,n):null};function Td(e,t,n,i){const o=_h(e,i,t),r=t[Wt],h=Np(i.parent||t[Ai],i,t);if(null!=o)if(Array.isArray(n))for(let p=0;pun&&zp(e,t,un,!1),_s(c?2:0,o),n(i,o)}finally{Wi(r),_s(c?3:1,o)}}function xh(e,t,n){if(_r(t)){const i=ae(null);try{const r=t.directiveEnd;for(let c=t.directiveStart;cnull;function Qp(e,t,n,i,o){for(let c in t){var r;if(!t.hasOwnProperty(c))continue;const h=t[c];if(void 0===h)continue;null!==(r=i)&&void 0!==r||(i={});let p,w=K.None;Array.isArray(h)?(p=h[0],w=h[1]):p=h;let R=c;if(null!==o){if(!o.hasOwnProperty(c))continue;R=o[c]}0===e?qp(i,n,R,p,w):qp(i,n,R,p)}return i}function qp(e,t,n,i,o){let r;e.hasOwnProperty(n)?(r=e[n]).push(t,i):r=e[n]=[t,i],void 0!==o&&r.push(o)}function qo(e,t,n,i,o,r,c,h){const p=zi(t,n);let R,w=t.inputs;!h&&null!=w&&(R=w[i])?(Ah(e,n,R,i,o),_o(t)&&function Cx(e,t){const n=Ni(t,e);16&n[zt]||(n[zt]|=64)}(n,t.index)):3&t.type&&(i=function yx(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),o=null!=c?c(o,t.value||"",i):o,r.setProperty(p,i,o))}function Mh(e,t,n,i){if(js()){const o=null===i?null:{"":-1},r=function Ix(e,t){const n=e.directiveRegistry;let i=null,o=null;if(n)for(let c=0;c0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(c)!=h&&c.push(h),c.push(n,i,r)}}(e,t,i,ac(e,n,o.hostVars,In),o)}function bs(e,t,n,i,o,r){const c=zi(e,t);!function Sh(e,t,n,i,o,r,c){if(null==r)e.removeAttribute(t,o,n);else{const h=null==c?En(r):c(r,i||"",o);e.setAttribute(t,o,h,n)}}(t[Wt],c,r,e.value,n,i,o)}function Rx(e,t,n,i,o,r){const c=r[t];if(null!==c)for(let h=0;h0&&(n[o-1][Li]=t),i!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Ds(e.lView)},consumerOnSignalRead(){this.lView[go]=this}};function cg(e){return ug(e[mo])}function dg(e){return ug(e[Li])}function ug(e){for(;null!==e&&!Mi(e);)e=e[Li];return e}function Nd(e,t=!0,n=0){const i=e[Bi],o=i.rendererFactory;var c;null===(c=o.begin)||void 0===c||c.call(o);try{!function Hx(e,t){Rh(e,t);let n=0;for(;jr(e);){if(100===n)throw new $e(103,!1);n++,Rh(e,1)}}(e,n)}catch(w){throw t&&Pd(e,w),w}finally{var h,p;null===(h=o.end)||void 0===h||h.call(o),null===(p=i.inlineEffectRunner)||void 0===p||p.flush()}}function zx(e,t,n,i){var o;const r=t[zt];if(256==(256&r))return;null===(o=t[Bi].inlineEffectRunner)||void 0===o||o.flush(),vn(t);let h=null,p=null;(function Wx(e){return 2!==e.type})(e)&&(p=function Bx(e){var t;return null!==(t=e[go])&&void 0!==t?t:function Ux(e){var t;const n=null!==(t=lg.pop())&&void 0!==t?t:Object.create(jx);return n.lView=e,n}(e)}(t),h=function ot(e){return e&&(e.nextProducerIndex=0),ae(e)}(p));try{Yo(t),function Ms(e){return an.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Yp(e,t,n,2,i);const w=3==(3&r);if(w){const ne=e.preOrderCheckHooks;null!==ne&&dd(t,ne,null)}else{const ne=e.preOrderHooks;null!==ne&&ud(t,ne,0,null),zu(t,0)}if(function Kx(e){for(let t=cg(e);null!==t;t=dg(t)){if(!(t[zt]&Wo.HasTransplantedViews))continue;const n=t[Ro];for(let i=0;ie.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(p,h),function Vx(e){e.lView[go]!==e&&(e.lView=null,lg.push(e))}(p)),Vi()}}function fg(e,t){for(let n=cg(e);null!==n;n=dg(n))for(let i=fi;i-1&&(rc(t,i),Ss(n,i))}this._attachedToViewContainer=!1}Id(this._lView[Ct],this._lView)}onDestroy(t){ss(this._lView,t)}markForCheck(){uc(this._cdRefInjectingView||this._lView)}detach(){this._lView[zt]&=-129}reattach(){Er(this._lView),this._lView[zt]|=128}detectChanges(){this._lView[zt]|=1024,Nd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new $e(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Ap(this._lView[Ct],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new $e(902,!1);this._appRef=t,Er(this._lView)}}let fc=(()=>{class t{}return t.__NG_ELEMENT_ID__=Qx,t})();const Zx=fc,Xx=class extends Zx{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}get ssrId(){var t;return(null===(t=this._declarationTContainer.tView)||void 0===t?void 0:t.ssrId)||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,i){const o=lc(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:i});return new hc(o)}};function Qx(){return Fd(Gn(),at())}function Fd(e,t){return 4&e.type?new Xx(t,e,Kr(e,t)):null}"^(\\d+)*(".concat("b","|").concat("h",")*(.*)");let Cg=()=>null;function dl(e,t){return Cg(e,t)}class Uh{}class bE{}class xg{}class CE{resolveComponentFactory(t){throw function yE(e){const t=Error("No component factory found for ".concat(Ye(e),"."));return t.ngComponent=e,t}(t)}}let vc=(()=>{class t{}return t.NULL=new CE,t})();class Dg{}let xE=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function EE(){const e=at(),n=Ni(Gn().index,e);return(Ri(n)?n:e)[Wt]}(),t})(),DE=(()=>{var e;class t{}return(e=t).\u0275prov=Qn({token:e,providedIn:"root",factory:()=>null}),t})();const Vh={};function Mg(e){return function wg(e){return"function"==typeof e&&void 0!==e[z]}(e)&&"function"==typeof e.set}function IE(e){const t=ae(null);try{return e()}finally{ae(t)}}function jd(e){return!!jh(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function jh(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class Ig{constructor(){}supports(t){return jd(t)}create(t){return new OE(t)}}const AE=(e,t)=>t;class OE{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||AE}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,o=0,r=null;for(;n||i;){const c=!i||n&&n.currentIndex{c=this._trackByFn(o,h),null!==n&&Object.is(n.trackById,c)?(i&&(n=this._verifyReinsertion(n,h,c,o)),Object.is(n.item,h)||this._addIdentityChange(n,h)):(n=this._mismatch(n,h,c,o),i=!0),n=n._next,o++}),this.length=o;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,i,o){let r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,r,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,r,o)):t=this._addAfter(new kE(n,i),r,o),t}_verifyReinsertion(t,n,i,o){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==r?t=this._reinsertAfter(r,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),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,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,r=t._nextRemoved;return null===o?this._removalsHead=r:o._nextRemoved=r,null===r?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Sg),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._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 Sg),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 kE{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 RE{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 i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class Sg{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new RE,this.map.set(n,i)),i.add(t)}get(t,n){const o=this.map.get(t);return o?o.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 Tg(e,t,n){const i=e.previousIndex;if(null===i)return i;let o=0;return n&&i{if(n&&n.key===o)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const r=this._getOrCreateRecordForKey(o,i);n=this._insertBeforeOrAppend(n,r)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._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 o=this._records.get(t);this._maybeAddToChanges(o,n);const r=o._prev,c=o._next;return r&&(r._next=c),c&&(c._prev=r),o._next=null,o._prev=null,o}const i=new NE(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_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(i=>n(t[i],i))}}class NE{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 Og(){return new $h([new Ig])}let $h=(()=>{var e;class t{constructor(i){this.factories=i}static create(i,o){if(null!=o){const r=o.factories.slice();i=i.concat(r)}return new t(i)}static extend(i){return{provide:t,useFactory:o=>t.create(i,o||Og()),deps:[[t,new kr,new Xa]]}}find(i){const o=this.factories.find(r=>r.supports(i));if(null!=o)return o;throw new $e(901,!1)}}return(e=t).\u0275prov=Qn({token:e,providedIn:"root",factory:Og}),t})();function kg(){return new Gh([new Ag])}let Gh=(()=>{var e;class t{constructor(i){this.factories=i}static create(i,o){if(o){const r=o.factories.slice();i=i.concat(r)}return new t(i)}static extend(i){return{provide:t,useFactory:o=>t.create(i,o||kg()),deps:[[t,new kr,new Xa]]}}find(i){const o=this.factories.find(r=>r.supports(i));if(o)return o;throw new $e(901,!1)}}return(e=t).\u0275prov=Qn({token:e,providedIn:"root",factory:kg}),t})(),Rg=(()=>{class t{}return t.__NG_ELEMENT_ID__=LE,t})();function LE(e){return function BE(e,t,n){if(_o(e)&&!n){const i=Ni(e.index,t);return new hc(i,i)}return 47&e.type?new hc(t[Hn],t):null}(Gn(),at(),16==(16&e))}let $d=(()=>{var e;class t{}return(e=t).__NG_ELEMENT_ID__=$E,e.__NG_ENV_ID__=n=>n,t})();class jE extends $d{constructor(t){super(),this._lView=t}onDestroy(t){return ss(this._lView,t),()=>function ws(e,t){if(null===e[po])return;const n=e[po].indexOf(t);-1!==n&&e[po].splice(n,1)}(this._lView,t)}}function $E(){return new jE(at())}const Pg=new Set;function Da(e){var t,n;Pg.has(e)||(Pg.add(e),null===(t=performance)||void 0===t||null===(n=t.mark)||void 0===n||n.call(t,"mark_feature_usage",{detail:{feature:e}}))}function Ng(...e){}class $i{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new se(!1),this.onMicrotaskEmpty=new se(!1),this.onStable=new se(!1),this.onError=new se(!1),typeof Zone>"u")throw new $e(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&n,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function YE(){const e="function"==typeof Ht.requestAnimationFrame;let t=Ht[e?"requestAnimationFrame":"setTimeout"],n=Ht[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function QE(e){const t=()=>{!function XE(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ht,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,zh(e),e.isCheckStableRunning=!0,Hh(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),zh(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,o,r,c,h)=>{if(function qE(e){var t;return!(!Array.isArray(e)||1!==e.length)&&!0===(null===(t=e[0].data)||void 0===t?void 0:t.__ignore_ng_zone__)}(h))return n.invokeTask(o,r,c,h);try{return Fg(e),n.invokeTask(o,r,c,h)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||e.shouldCoalesceRunChangeDetection)&&t(),Lg(e)}},onInvoke:(n,i,o,r,c,h,p)=>{try{return Fg(e),n.invoke(o,r,c,h,p)}finally{e.shouldCoalesceRunChangeDetection&&t(),Lg(e)}},onHasTask:(n,i,o,r)=>{n.hasTask(o,r),i===o&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,zh(e),Hh(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(n,i,o,r)=>(n.handleError(o,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!$i.isInAngularZone())throw new $e(909,!1)}static assertNotInAngularZone(){if($i.isInAngularZone())throw new $e(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,o){const r=this._inner,c=r.scheduleEventTask("NgZoneEvent: "+o,t,ZE,Ng,Ng);try{return r.runTask(c,n,i)}finally{r.cancelTask(c)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const ZE={};function Hh(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 zh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Fg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Lg(e){e._nesting--,Hh(e)}class Bg{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new se,this.onMicrotaskEmpty=new se,this.onStable=new se,this.onError=new se}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,o){return t.apply(n,i)}}var wa=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(wa||{});const Ug={destroy(){}};function jg(e,t){var n,i,o;!t&&function ju(e){if(!Zc()&&!function Su(){return qs}())throw new $e(-203,!1)}();const r=null!==(n=null==t?void 0:t.injector)&&void 0!==n?n:Vn(Pr);if(!function ea(e){return"browser"===(null!=e?e:Vn(Pr)).get(mt)}(r))return Ug;Da("NgAfterNextRender");const c=r.get(bc),h=null!==(i=c.handler)&&void 0!==i?i:c.handler=new Gg,p=null!==(o=null==t?void 0:t.phase)&&void 0!==o?o:wa.MixedReadWrite,w=()=>{h.unregister(F),R()},R=r.get($d).onDestroy(w),F=new $g(r,p,()=>{w(),e()});return h.register(F),{destroy:w}}class $g{constructor(t,n,i){this.phase=n,this.callbackFn=i,this.zone=t.get($i),this.errorHandler=t.get(Js,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(n){var t;null===(t=this.errorHandler)||void 0===t||t.handleError(n)}}}class Gg{constructor(){this.executingCallbacks=!1,this.buckets={[wa.EarlyRead]:new Set,[wa.Write]:new Set,[wa.MixedReadWrite]:new Set,[wa.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const n of t)n.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let bc=(()=>{var e;class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){var i;const o=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const r of o)r();null===(i=this.handler)||void 0===i||i.execute()}ngOnDestroy(){var i;null===(i=this.handler)||void 0===i||i.destroy(),this.handler=null,this.internalCallbacks.length=0}}return(e=t).\u0275prov=Qn({token:e,providedIn:"root",factory:()=>new e}),t})();function ta(e){return!!_i(e)}function Hd(e,t,n){let i=n?e.styles:null,o=n?e.classes:null,r=0;if(null!==t)for(let c=0;c0&&$p(e,n,r.join(" "))}}(ze,es,Dt,i),void 0!==n&&function uD(e,t,n){const i=e.projection=[];for(let o=0;o{class t{}return t.__NG_ELEMENT_ID__=fD,t})();function fD(){return Xg(Gn(),at())}const mD=zd,Yg=class extends mD{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return Kr(this._hostTNode,this._hostLView)}get injector(){return new eo(this._hostTNode,this._hostLView)}get parentInjector(){const t=md(this._hostTNode,this._hostLView);if(Ku(t)){const n=tc(t,this._hostLView),i=ec(t);return new eo(n[Ct].data[i+8],n)}return new eo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Zg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-fi}createEmbeddedView(t,n,i){let o,r;"number"==typeof i?o=i:null!=i&&(o=i.index,r=i.injector);const c=dl(this._lContainer,t.ssrId),h=t.createEmbeddedViewImpl(n||{},r,c);return this.insertImpl(h,o,cl(this._hostTNode,c)),h}createComponent(t,n,i,o,r){var c,h,p;const w=t&&!function ql(e){return"function"==typeof e}(t);let R;if(w)R=n;else{const Rt=n||{};R=Rt.index,i=Rt.injector,o=Rt.projectableNodes,r=Rt.environmentInjector||Rt.ngModuleRef}const F=w?t:new xc(pn(t)),ne=i||this.parentInjector;if(!r&&null==F.ngModule){const ft=(w?ne:this.parentInjector).get(gs,null);ft&&(r=ft)}const we=pn(null!==(c=F.componentType)&&void 0!==c?c:{}),ze=dl(this._lContainer,null!==(h=null==we?void 0:we.id)&&void 0!==h?h:null),ut=null!==(p=null==ze?void 0:ze.firstChild)&&void 0!==p?p:null,Dt=F.create(ne,o,ut,r);return this.insertImpl(Dt.hostView,R,cl(this._hostTNode,ze)),Dt}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,i){const o=t._lView;if(function ca(e){return Mi(e[ei])}(o)){const h=this.indexOf(t);if(-1!==h)this.detach(h);else{const p=o[ei],w=new Yg(p,p[Ai],p[ei]);w.detach(w.indexOf(t))}}const r=this._adjustIndex(n),c=this._lContainer;return cc(c,o,r,i),t.attachToViewContainerRef(),Ul(Yh(c),r,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Zg(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=rc(this._lContainer,n);i&&(Ss(Yh(this._lContainer),n),Id(i[Ct],i))}detach(t){const n=this._adjustIndex(t,-1),i=rc(this._lContainer,n);return i&&null!=Ss(Yh(this._lContainer),n)?new hc(i):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function Zg(e){return e[8]}function Yh(e){return e[8]||(e[8]=[])}function Xg(e,t){let n;const i=t[e.index];return Mi(i)?n=i:(n=tg(i,t,null,e),t[e.index]=n,Rd(t,n)),Qg(n,t,e,i),new Yg(n,e,t)}let Qg=function Jg(e,t,n,i){if(e[wi])return;let o;o=8&n.type?An(i):function pD(e,t){const n=e[Wt],i=n.createComment(""),o=zi(t,e);return Ea(n,Sd(n,o),i,function sx(e,t){return e.nextSibling(t)}(n,o),!1),i}(t,n),e[wi]=o},Zh=()=>!1;class Xh{constructor(t){this.queryList=t,this.matches=null}clone(){return new Xh(this.queryList)}setDirty(){this.queryList.setDirty()}}class Qh{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let r=0;rt.trim())}(t):t}}class qh{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i0)i.push(c[h/2]);else{const w=r[h+1],R=t[-p];for(let F=fi;F=0;i--){const o=e[i];o.hostVars=t+=o.hostVars,o.hostAttrs=_t(o.hostAttrs,n=_t(n,o.hostAttrs))}}(i)}function PD(e,t){for(const i in t.inputs){if(!t.inputs.hasOwnProperty(i)||e.inputs.hasOwnProperty(i))continue;const o=t.inputs[i];if(void 0!==o&&(e.inputs[i]=o,e.declaredInputs[i]=t.declaredInputs[i],null!==t.inputTransforms)){var n;const r=Array.isArray(o)?o[0]:o;if(!t.inputTransforms.hasOwnProperty(r))continue;null!==(n=e.inputTransforms)&&void 0!==n||(e.inputTransforms={}),e.inputTransforms[r]=t.inputTransforms[r]}}}function Kd(e){return e===On?{}:e===jt?[]:e}function FD(e,t){const n=e.viewQuery;e.viewQuery=n?(i,o)=>{t(i,o),n(i,o)}:t}function LD(e,t){const n=e.contentQueries;e.contentQueries=n?(i,o,r)=>{t(i,o,r),n(i,o,r)}:t}function BD(e,t){const n=e.hostBindings;e.hostBindings=n?(i,o)=>{t(i,o),n(i,o)}:t}function C_(e){const t=e.inputConfig,n={};for(const i in t)if(t.hasOwnProperty(i)){const o=t[i];Array.isArray(o)&&o[3]&&(n[i]=o[3])}e.inputTransforms=n}class Ma{}class x_{}function zD(e,t){return new af(e,null!=t?t:null,[])}class af extends Ma{constructor(t,n,i){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Wg(this);const o=_i(t);this._bootstrapComponents=ur(o.bootstrap),this._r3Injector=Xm(t,n,[{provide:Ma,useValue:this},{provide:vc,useValue:this.componentFactoryResolver},...i],Ye(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 lf extends x_{constructor(t){super(),this.moduleType=t}create(t){return new af(this.moduleType,t,[])}}class E_ extends Ma{constructor(t){super(),this.componentFactoryResolver=new Wg(this),this.instance=null;const n=new Qa([...t.providers,{provide:Ma,useValue:this},{provide:vc,useValue:this.componentFactoryResolver}],t.parent||ad(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function D_(e,t,n=null){return new E_({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let Dc=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new pe.g(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const i=this.taskId++;return this.pendingTasks.add(i),i}remove(i){this.pendingTasks.delete(i),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=Qn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function ys(e,t,n){return e[t]=n}function Gi(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Ia(e,t,n,i){const o=Gi(e,t,n);return Gi(e,t+1,i)||o}function Zd(e,t,n,i,o){const r=Ia(e,t,n,i);return Gi(e,t+2,o)||r}function hl(e,t,n,i,o,r,c,h){const p=at(),w=_n(),R=e+un,F=w.firstCreatePass?function KD(e,t,n,i,o,r,c,h,p){const w=t.consts,R=ll(t,e,4,c||null,ro(w,h));Mh(t,n,R,ro(w,p)),cd(t,R);const F=R.tView=wh(2,R,i,o,r,t.directiveRegistry,t.pipeRegistry,null,t.schemas,w,null);return null!==t.queries&&(t.queries.template(t,R),F.queries=t.queries.embeddedTView(R)),R}(R,w,p,t,n,i,o,r,c):w.data[R];Oi(F,!1);const ne=w_(w,p,F,e);Gs()&&Td(w,p,ne,F),Ao(ne,p);const we=tg(ne,p,ne,F);return p[R]=we,Rd(p,we),function qg(e,t,n){return Zh(e,t,n)}(we,F,p),Mo(F)&&Eh(w,p,F),null!=c&&Dh(p,F,h),hl}let w_=function M_(e,t,n,i){return Zo(!0),t[Wt].createComment("")};function vf(e,t,n,i){const o=at();return Gi(o,So(),t)&&(_n(),bs(Fn(),o,e,t,n,i)),vf}function yl(e,t,n,i){return Gi(e,So(),n)?t+En(n)+i:In}function tu(e,t){return e<<17|t<<2}function oa(e){return e>>17&32767}function bf(e){return 2|e}function Ta(e){return(131068&e)>>2}function yf(e,t){return-131069&e|t<<2}function Cf(e){return 1|e}function iv(e,t,n,i){const o=e[n+1],r=null===t;let c=i?oa(o):Ta(o),h=!1;for(;0!==c&&(!1===h||r);){const w=e[c+1];Ow(e[c],t)&&(h=!0,e[c+1]=i?Cf(w):bf(w)),c=i?oa(w):Ta(w)}h&&(e[n+1]=i?bf(o):Cf(o))}function Ow(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&As(e,t)>=0}const to={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ov(e){return e.substring(to.key,to.keyEnd)}function rv(e,t){const n=to.textEnd;return n===t?-1:(t=to.keyEnd=function Nw(e,t,n){for(;t32;)t++;return t}(e,to.key=t,n),Sl(e,t,n))}function Sl(e,t,n){for(;t=0;n=rv(t,n))co(e,ov(t),!0)}function qr(e,t,n,i){const o=at(),r=_n(),c=g(2);r.firstUpdatePass&&hv(r,e,c,i),t!==In&&Gi(o,c,t)&&mv(r,r.data[Pn()],o,o[Wt],e,o[c+1]=function Ww(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Ye(ks(e)))),e}(t,n),i,c)}function Jr(e,t,n,i){const o=_n(),r=g(2);o.firstUpdatePass&&hv(o,null,r,i);const c=at();if(n!==In&&Gi(c,r,n)){const h=o.data[Pn()];if(gv(h,i)&&!uv(o,r)){let p=i?h.classesWithoutHost:h.stylesWithoutHost;null!==p&&(n=gt(p,n||"")),Ef(o,h,c,n,i)}else!function zw(e,t,n,i,o,r,c,h){o===In&&(o=jt);let p=0,w=0,R=0=e.expandoStartIndex}function hv(e,t,n,i){const o=e.data;if(null===o[n+1]){const r=o[Pn()],c=uv(e,n);gv(r,i)&&null===t&&!c&&(t=!1),t=function Uw(e,t,n,i){const o=function it(e){const t=an.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let r=i?t.residualClasses:t.residualStyles;if(null===o)0===(i?t.classBindings:t.styleBindings)&&(n=Tc(n=Mf(null,e,t,n,i),t.attrs,i),r=null);else{const c=t.directiveStylingLast;if(-1===c||e[c]!==o)if(n=Mf(o,e,t,n,i),null===r){let p=function Vw(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Ta(i))return e[oa(i)]}(e,t,i);void 0!==p&&Array.isArray(p)&&(p=Mf(null,e,t,p[1],i),p=Tc(p,t.attrs,i),function jw(e,t,n,i){e[oa(n?t.classBindings:t.styleBindings)]=i}(e,t,i,p))}else r=function $w(e,t,n){let i;const o=t.directiveEnd;for(let r=1+t.directiveStylingLast;r0)&&(w=!0)):R=n,o)if(0!==p){const ne=oa(e[h+1]);e[i+1]=tu(ne,h),0!==ne&&(e[ne+1]=yf(e[ne+1],i)),e[h+1]=function Iw(e,t){return 131071&e|t<<17}(e[h+1],i)}else e[i+1]=tu(h,0),0!==h&&(e[h+1]=yf(e[h+1],i)),h=i;else e[i+1]=tu(p,0),0===h?h=i:e[p+1]=yf(e[p+1],i),p=i;w&&(e[i+1]=bf(e[i+1])),iv(e,R,i,!0),iv(e,R,i,!1),function Aw(e,t,n,i,o){const r=o?e.residualClasses:e.residualStyles;null!=r&&"string"==typeof t&&As(r,t)>=0&&(n[i+1]=Cf(n[i+1]))}(t,R,e,i,r),c=tu(h,p),r?t.classBindings=c:t.styleBindings=c}(o,r,t,n,c,i)}}function Mf(e,t,n,i,o){let r=null;const c=n.directiveEnd;let h=n.directiveStylingLast;for(-1===h?h=n.directiveStart:h++;h0;){const p=e[o],w=Array.isArray(p),R=w?p[1]:p,F=null===R;let ne=n[o+1];ne===In&&(ne=F?jt:void 0);let we=F?zs(ne,i):R===i?ne:void 0;if(w&&!nu(we)&&(we=zs(p,i)),nu(we)&&(h=we,c))return h;const ze=e[o+1];o=c?oa(ze):Ta(ze)}if(null!==t){let p=r?t.residualClasses:t.residualStyles;null!=p&&(h=zs(p,i))}return h}function nu(e){return void 0!==e}function gv(e,t){return 0!=(e.flags&(t?8:16))}function _v(e,t,n){Jr(co,xs,yl(at(),e,t,n),!0)}function Cv(e,t,n){Da("NgControlFlow");const i=at(),o=So(),r=function Tf(e,t){return e[t]}(i,un+e);if(Gi(i,o,t)){const h=ae(null);try{if(function kh(e,t){const n=rc(e,t);return void 0!==n&&Id(n[Ct],n),n}(r,0),-1!==t){const p=function Af(e,t){return Cr(e,t)}(i[Ct],un+t),w=dl(r,p.tView.ssrId);cc(r,lc(i,p,n,{dehydratedView:w}),0,cl(p,w))}}finally{ae(h)}}else{const h=function sg(e,t){const n=fi+t;if(n(Zo(!0),Md(i,o,function Fl(){return an.lFrame.currentNamespace}()));function ru(e,t,n){const i=at(),o=_n(),r=e+un,c=o.firstCreatePass?function gM(e,t,n,i,o){const r=t.consts,c=ro(r,i),h=ll(t,e,8,"ng-container",c);return null!==c&&Hd(h,c,!0),Mh(t,n,h,ro(r,o)),null!==t.queries&&t.queries.elementStart(t,h),h}(r,o,i,t,n):o.data[r];Oi(c,!0);const h=Dv(o,i,c,e);return i[r]=h,Gs()&&Td(o,i,h,c),Ao(h,i),Mo(c)&&(Eh(o,i,c),xh(o,c,i)),null!=n&&Dh(i,c),ru}function su(){let e=Gn();const t=_n();return Io()?ar():(e=e.parent,Oi(e,!1)),t.firstCreatePass&&(cd(t,e),_r(e)&&t.queries.elementEnd(e)),su}let Dv=(e,t,n,i)=>(Zo(!0),ph(t[Wt],""));function wv(){return at()}function kf(e,t,n){const i=at();return Gi(i,So(),t)&&qo(_n(),Fn(),i,e,t,i[Wt],n,!0),kf}const Aa=void 0;var yM=["en",[["a","p"],["AM","PM"],Aa],[["AM","PM"],Aa,Aa],[["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"]],Aa,[["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"]],Aa,[["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}",Aa,"{1} 'at' {0}",Aa],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function bM(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let Tl={};function Rf(e){const t=function CM(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Sv(t);if(n)return n;const i=t.split("-")[0];if(n=Sv(i),n)return n;if("en"===i)return yM;throw new $e(701,!1)}function Iv(e){return Rf(e)[Al.PluralCase]}function Sv(e){return e in Tl||(Tl[e]=Ht.ng&&Ht.ng.common&&Ht.ng.common.locales&&Ht.ng.common.locales[e]),Tl[e]}var Al=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}(Al||{});const Ol="en-US";let Tv=Ol;function Ff(e,t,n,i){const o=at(),r=_n(),c=Gn();return Lf(r,o,o[Wt],c,e,t,i),Ff}function Lf(e,t,n,i,o,r,c){const h=Mo(i),w=e.firstCreatePass&&og(e),R=t[Ln],F=ig(t);let ne=!0;if(3&i.type||c){const ut=zi(i,t),Dt=c?c(ut):ut,Rt=F.length,ft=c?wn=>c(An(wn[i.index])):i.index;let mn=null;if(!c&&h&&(mn=function pI(e,t,n,i){const o=e.cleanup;if(null!=o)for(let r=0;rp?h[p]:null}"string"==typeof c&&(r+=2)}return null}(e,t,o,i.index)),null!==mn)(mn.__ngLastListenerFn__||mn).__ngNextListenerFn__=r,mn.__ngLastListenerFn__=r,ne=!1;else{r=nb(i,t,R,r,!1);const wn=n.listen(Dt,o,r);F.push(r,wn),w&&w.push(o,ft,Rt,Rt+1)}}else r=nb(i,t,R,r,!1);const we=i.outputs;let ze;if(ne&&null!==we&&(ze=we[o])){const ut=ze.length;if(ut)for(let Dt=0;Dt-1?Ni(e.index,t):t);let p=tb(t,n,i,c),w=r.__ngNextListenerFn__;for(;w;)p=tb(t,n,w,c)&&p,w=w.__ngNextListenerFn__;return o&&!1===p&&c.preventDefault(),p}}function ib(e=1){return function Bo(e){return(an.lFrame.contextLView=function No(e,t){for(;e>0;)t=t[Ho],e--;return t}(e,an.lFrame.contextLView))[Ln]}(e)}function gI(e,t){let n=null;const i=function oi(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 o=0;o(Zo(!0),function wd(e,t){return e.createText(t)}(t[Wt],i));function Vf(e){return uu("",e,""),Vf}function uu(e,t,n){const i=at(),o=yl(i,e,t,n);return o!==In&&Ps(i,Pn(),o),uu}function jf(e,t,n,i,o){const r=at(),c=function Cl(e,t,n,i,o,r){const h=Ia(e,so(),n,o);return g(2),h?t+En(n)+i+En(o)+r:In}(r,e,t,n,i,o);return c!==In&&Ps(r,Pn(),c),jf}function $f(e,t,n,i,o,r,c){const h=at(),p=function xl(e,t,n,i,o,r,c,h){const w=Zd(e,so(),n,o,c);return g(3),w?t+En(n)+i+En(o)+r+En(c)+h:In}(h,e,t,n,i,o,r,c);return p!==In&&Ps(h,Pn(),p),$f}function Gf(e,t,n){Mg(t)&&(t=t());const i=at();return Gi(i,So(),t)&&qo(_n(),Fn(),i,e,t,i[Wt],n,!1),Gf}function Fb(e,t){const n=Mg(e);return n&&e.set(t),n}function Hf(e,t){const n=at(),i=_n(),o=Gn();return Lf(i,n,n[Wt],o,e,t),Hf}function zf(e,t,n,i,o){if(e=Qt(e),Array.isArray(e))for(let r=0;r>20;if(ba(e)||!e.multi){const we=new Jl(w,o,al),ze=Kf(p,t,o?R:R+ne,F);-1===ze?(Xu(fd(h,c),r,p),Wf(r,e,t.length),t.push(p),h.directiveStart++,h.directiveEnd++,o&&(h.providerIndexes+=1048576),n.push(we),c.push(we)):(n[ze]=we,c[ze]=we)}else{const we=Kf(p,t,R+ne,F),ze=Kf(p,t,R,R+ne),Dt=ze>=0&&n[ze];if(o&&!Dt||!o&&!(we>=0&&n[we])){Xu(fd(h,c),r,p);const Rt=function NI(e,t,n,i,o){const r=new Jl(e,n,al);return r.multi=[],r.index=t,r.componentProviders=0,Lb(r,o,i&&!n),r}(o?PI:RI,n.length,o,i,w);!o&&Dt&&(n[ze].providerFactory=Rt),Wf(r,e,t.length,0),t.push(p),h.directiveStart++,h.directiveEnd++,o&&(h.providerIndexes+=1048576),n.push(Rt),c.push(Rt)}else Wf(r,e,we>-1?we:ze,Lb(n[o?ze:we],w,!o&&i));!o&&i&&Dt&&n[ze].componentProviders++}}}function Wf(e,t,n,i){const o=ba(t),r=function f0(e){return!!e.useClass}(t);if(o||r){const p=(r?Qt(t.useClass):t).prototype.ngOnDestroy;if(p){const w=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const R=w.indexOf(n);-1===R?w.push(n,[i,p]):w[R+1].push(i,p)}else w.push(n,p)}}}function Lb(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Kf(e,t,n,i){for(let o=n;o{n.providersResolver=(i,o)=>function kI(e,t,n){const i=_n();if(i.firstCreatePass){const o=Ui(e);zf(n,i.data,i.blueprint,o,!0),zf(t,i.data,i.blueprint,o,!1)}}(i,o?o(e):e,t)}}let FI=(()=>{var e;class t{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){const o=xm(0,i.type),r=o.length>0?D_([o],this._injector,"Standalone[".concat(i.type.name,"]")):null;this.cachedInjectors.set(i,r)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}}return(e=t).\u0275prov=Qn({token:e,providedIn:"environment",factory:()=>new e(bo(gs))}),t})();function Ub(e){Da("NgStandalone"),e.getStandaloneInjector=t=>t.get(FI).getOrCreateStandaloneInjector(e)}function Yb(e,t,n,i,o,r){return function Qb(e,t,n,i,o,r,c,h){const p=t+n;return Zd(e,p,o,r,c)?ys(e,p+3,h?i.call(h,o,r,c):i(o,r,c)):Nc(e,p+3)}(at(),bi(),e,t,n,i,o,r)}function Nc(e,t){const n=e[t];return n===In?void 0:n}function ey(e,t){const n=_n();let i;const o=e+un;var r;n.firstCreatePass?(i=function tS(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[o]=i,i.onDestroy&&(null!==(r=n.destroyHooks)&&void 0!==r?r:n.destroyHooks=[]).push(o,i.onDestroy)):i=n.data[o];const c=i.factory||(i.factory=Rr(i.type)),p=To(al);try{const w=hd(!1),R=c();return hd(w),function yI(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,at(),o,R),R}finally{To(p)}}function ty(e,t,n){const i=e+un,o=at(),r=sr(o,i);return function Fc(e,t){return e[Ct].data[t].pure}(o,i)?function Zb(e,t,n,i,o,r){const c=t+n;return Gi(e,c,o)?ys(e,c+1,r?i.call(r,o):i(o)):Nc(e,c+1)}(o,bi(),t,r.transform,n,r):r.transform(n)}function ny(e,t){return Fd(e,t)}class vy{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let by=(()=>{var e;class t{log(i){console.log(i)}warn(i){console.warn(i)}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=Qn({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const Ey=new C(""),Dy=new C("");let nm,qS=(()=>{var e;class t{constructor(i,o,r){this._ngZone=i,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,nm||(function JS(e){nm=e}(r),r.addToWindow(o)),this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{$i.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,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 i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb()}});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(i)||(clearTimeout(o.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,o,r){let c=-1;o&&o>0&&(c=setTimeout(()=>{this._callbacks=this._callbacks.filter(h=>h.timeoutId!==c),i()},o)),this._callbacks.push({doneCb:i,timeoutId:c,updateCb:r})}whenStable(i,o,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(i,o,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,o,r){return[]}}return(e=t).\u0275fac=function(i){return new(i||e)(bo($i),bo(wy),bo(Dy))},e.\u0275prov=Qn({token:e,factory:e.\u0275fac}),t})(),wy=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(i,o){this._applications.set(i,o)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,o=!0){var r,c;return null!==(r=null===(c=nm)||void 0===c?void 0:c.findTestabilityInTree(this,i,o))&&void 0!==r?r:null}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=Qn({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function im(e){return!!e&&"function"==typeof e.then}function My(e){return!!e&&"function"==typeof e.subscribe}const Iy=new C("");let om=(()=>{var e;class t{constructor(){var i;this.initialized=!1,this.done=!1,this.donePromise=new Promise((o,r)=>{this.resolve=o,this.reject=r}),this.appInits=null!==(i=Vn(Iy,{optional:!0}))&&void 0!==i?i:[]}runInitializers(){if(this.initialized)return;const i=[];for(const r of this.appInits){const c=r();if(im(c))i.push(c);else if(My(c)){const h=new Promise((p,w)=>{c.subscribe({complete:p,error:w})});i.push(h)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{o()}).catch(r=>{this.reject(r)}),0===i.length&&o(),this.initialized=!0}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=Qn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const rm=new C("");function Ay(e,t){return Array.isArray(t)?t.reduce(Ay,e):{...e,...t}}let Oa=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Vn(qm),this.afterRenderEffectManager=Vn(bc),this.componentTypes=[],this.components=[],this.isStable=Vn(Dc).hasPendingTasks.pipe((0,Ve.k)(i=>!i)),this._injector=Vn(gs)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,o){const r=i instanceof xg;if(!this._injector.get(om).done)throw!r&&Yi(i),new $e(405,!1);let h;h=r?i:this._injector.get(vc).resolveComponentFactory(i),this.componentTypes.push(h.componentType);const p=function eT(e){return e.isBoundToModule}(h)?void 0:this._injector.get(Ma),R=h.create(Pr.NULL,[],o||h.selector,p),F=R.location.nativeElement,ne=R.injector.get(Ey,null);return null==ne||ne.registerApplication(F),R.onDestroy(()=>{this.detachView(R.hostView),pu(this.components,R),null==ne||ne.unregisterApplication(F)}),this._loadComponent(R),R}tick(){if(this._runningTick)throw new $e(101,!1);try{this._runningTick=!0,this.detectChangesInAttachedViews()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1}}detectChangesInAttachedViews(){let i=0;do{if(100===i)throw new $e(103,!1);const o=0===i;for(let{_lView:r,notifyErrorHandler:c}of this._views)!o&&!Oy(r)||this.detectChangesInView(r,c,o);this.afterRenderEffectManager.execute(),i++}while(this._views.some(({_lView:o})=>Oy(o)))}detectChangesInView(i,o,r){let c;r?(c=0,i[zt]|=1024):c=64&i[zt]?0:1,Nd(i,o,c)}attachView(i){const o=i;this._views.push(o),o.attachToAppRef(this)}detachView(i){const o=i;pu(this._views,o),o.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const o=this._injector.get(rm,[]);[...this._bootstrapListeners,...o].forEach(r=>r(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>pu(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new $e(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=Qn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function pu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Oy(e){return jr(e)}class nT{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let iT=(()=>{var e;class t{compileModuleSync(i){return new lf(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const o=this.compileModuleSync(i),c=ur(_i(i).declarations).reduce((h,p)=>{const w=pn(p);return w&&h.push(new xc(w)),h},[]);return new nT(o,c)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=Qn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),sT=(()=>{var e;class t{constructor(){this.zone=Vn($i),this.applicationRef=Vn(Oa)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var i;null===(i=this._onMicrotaskEmptySubscription)||void 0===i||i.unsubscribe()}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=Qn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function aT(){const e=Vn($i),t=Vn(Js);return n=>e.runOutsideAngular(()=>t.handleError(n))}let cT=(()=>{var e;class t{constructor(){this.subscription=new le.wH,this.initialized=!1,this.zone=Vn($i),this.pendingTasks=Vn(Dc)}initialize(){if(this.initialized)return;this.initialized=!0;let i=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(i=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{$i.assertNotInAngularZone(),queueMicrotask(()=>{null!==i&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(i),i=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{var o;$i.assertInAngularZone(),null!==(o=i)&&void 0!==o||(i=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=Qn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const gu=new C("",{providedIn:"root",factory:()=>Vn(gu,he.Optional|he.SkipSelf)||function dT(){return typeof $localize<"u"&&$localize.locale||Ol}()}),uT=new C("",{providedIn:"root",factory:()=>"USD"}),sm=new C("");let Ny=(()=>{var e;class t{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,o){const r=function JE(e="zone.js",t){return"noop"===e?new Bg:"zone.js"===e?new $i(t):e}(null==o?void 0:o.ngZone,function Py(e){var t,n;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:null!==(t=null==e?void 0:e.eventCoalescing)&&void 0!==t&&t,shouldCoalesceRunChangeDetection:null!==(n=null==e?void 0:e.runCoalescing)&&void 0!==n&&n}}({eventCoalescing:null==o?void 0:o.ngZoneEventCoalescing,runCoalescing:null==o?void 0:o.ngZoneRunCoalescing}));return r.run(()=>{const c=function WD(e,t,n){return new af(e,t,n)}(i.moduleType,this.injector,function Ry(e){return[{provide:$i,useFactory:e},{provide:Qr,multi:!0,useFactory:()=>{const t=Vn(sT,{optional:!0});return()=>t.initialize()}},{provide:Qr,multi:!0,useFactory:()=>{const t=Vn(cT);return()=>{t.initialize()}}},{provide:qm,useFactory:aT}]}(()=>r)),h=c.injector.get(Js,null);return r.runOutsideAngular(()=>{const p=r.onError.subscribe({next:w=>{h.handleError(w)}});c.onDestroy(()=>{pu(this._modules,c),p.unsubscribe()})}),function Ty(e,t,n){try{const i=n();return im(i)?i.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(h,r,()=>{const p=c.injector.get(om);return p.runInitializers(),p.donePromise.then(()=>(function Av(e){"string"==typeof e&&(Tv=e.toLowerCase().replace(/_/g,"-"))}(c.injector.get(gu,Ol)||Ol),this._moduleDoBootstrap(c),c))})})}bootstrapModule(i,o=[]){const r=Ay({},o);return function rT(e,t,n){const i=new lf(n);return Promise.resolve(i)}(0,0,i).then(c=>this.bootstrapModuleFactory(c,r))}_moduleDoBootstrap(i){const o=i.injector.get(Oa);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(r=>o.bootstrap(r));else{if(!i.instance.ngDoBootstrap)throw new $e(-403,!1);i.instance.ngDoBootstrap(o)}this._modules.push(i)}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new $e(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const i=this._injector.get(sm,null);i&&(i.forEach(o=>o()),i.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(i){return new(i||e)(bo(Pr))},e.\u0275prov=Qn({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),ra=null;const Fy=new C("");function Ly(e,t,n=[]){const i="Platform: ".concat(t),o=new C(i);return(r=[])=>{let c=am();if(!c||c.injector.get(Fy,!1)){const h=[...n,...r,{provide:o,useValue:!0}];e?e(h):function fT(e){if(ra&&!ra.get(Fy,!1))throw new $e(400,!1);(function Sy(){!function qe(e){on=e}(()=>{throw new $e(600,!1)})})(),ra=e;const t=e.get(Ny);(function Uy(e){const t=e.get(Le,null);null==t||t.forEach(n=>n())})(e)}(function By(e=[],t){return Pr.create({name:t,providers:[{provide:Lu,useValue:"platform"},{provide:sm,useValue:new Set([()=>ra=null])},...e]})}(h,i))}return function mT(e){const t=am();if(!t)throw new $e(401,!1);return t}()}}function am(){var e,t;return null!==(e=null===(t=ra)||void 0===t?void 0:t.get(Ny))&&void 0!==e?e:null}function gT(){}const yT=Ly(null,"core",[]);let CT=(()=>{var e;class t{constructor(i){}}return(e=t).\u0275fac=function(i){return new(i||e)(bo(Oa))},e.\u0275mod=mr({type:e}),e.\u0275inj=Os({}),t})();function YT(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function ZT(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function QT(e){const t=pn(e);if(!t)return null;const n=new xc(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},4716:(Qe,fe,y)=>{y.d(fe,{cX:()=>_o,ot:()=>Ge,uW:()=>ci,y:()=>la,WM:()=>G,Y6:()=>Be,eq:()=>Xt,ue:()=>tt,u:()=>P,SC:()=>Sn,_G:()=>li,AQ:()=>ie,sz:()=>Yi});var a=y(4496),s=y(1368),D=y(2115),J=y(3252),ce=y(4300),z=y(560),ae=y(6624),ve=y(7773),te=y(4187),Ce=y(7904),Pe=y(4704);let et=(()=>{var A;class E{constructor(T,Q){this._renderer=T,this._elementRef=Q,this.onChange=yt=>{},this.onTouched=()=>{}}setProperty(T,Q){this._renderer.setProperty(this._elementRef.nativeElement,T,Q)}registerOnTouched(T){this.onTouched=T}registerOnChange(T){this.onChange=T}setDisabledState(T){this.setProperty("disabled",T)}}return(A=E).\u0275fac=function(T){return new(T||A)(a.GI1(a.q87),a.GI1(a.GMv))},A.\u0275dir=a.Sc5({type:A}),E})(),ke=(()=>{var A;class E extends et{}return(A=E).\u0275fac=(()=>{let H;return function(Q){return(H||(H=a.otF(A)))(Q||A)}})(),A.\u0275dir=a.Sc5({type:A,features:[a.eg9]}),E})();const Be=new a.UbH(""),ot={provide:Be,useExisting:(0,a.wd)(()=>Ge),multi:!0},lt=new a.UbH("");let Ge=(()=>{var A;class E extends et{constructor(T,Q,yt){super(T,Q),this._compositionMode=yt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function xt(){const A=(0,s.uy)()?(0,s.uy)().getUserAgent():"";return/android (\d+)/.test(A.toLowerCase())}())}writeValue(T){this.setProperty("value",null==T?"":T)}_handleInput(T){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(T)}_compositionStart(){this._composing=!0}_compositionEnd(T){this._composing=!1,this._compositionMode&&this.onChange(T)}}return(A=E).\u0275fac=function(T){return new(T||A)(a.GI1(a.q87),a.GI1(a.GMv),a.GI1(lt,8))},A.\u0275dir=a.Sc5({type:A,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(T,Q){1&T&&a.qCj("input",function(Ot){return Q._handleInput(Ot.target.value)})("blur",function(){return Q.onTouched()})("compositionstart",function(){return Q._compositionStart()})("compositionend",function(Ot){return Q._compositionEnd(Ot.target.value)})},features:[a.M5G([ot]),a.eg9]}),E})();function Oe(A){return null==A||("string"==typeof A||Array.isArray(A))&&0===A.length}function X(A){return null!=A&&"number"==typeof A.length}const G=new a.UbH(""),ye=new a.UbH(""),re=/^(?=.{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 ie{static min(E){return function me(A){return E=>{if(Oe(E.value)||Oe(A))return null;const H=parseFloat(E.value);return!isNaN(H)&&H{if(Oe(E.value)||Oe(A))return null;const H=parseFloat(E.value);return!isNaN(H)&&H>A?{max:{max:A,actual:E.value}}:null}}(E)}static required(E){return pt(E)}static requiredTrue(E){return Pt(E)}static email(E){return function Tt(A){return Oe(A.value)||re.test(A.value)?null:{email:!0}}(E)}static minLength(E){return function on(A){return E=>Oe(E.value)||!X(E.value)?null:E.value.lengthX(E.value)&&E.value.length>A?{maxlength:{requiredLength:A,actualLength:E.value.length}}:null}(E)}static pattern(E){return function qe(A){if(!A)return De;let E,H;return"string"==typeof A?(H="","^"!==A.charAt(0)&&(H+="^"),H+=A,"$"!==A.charAt(A.length-1)&&(H+="$"),E=new RegExp(H)):(H=A.toString(),E=A),T=>{if(Oe(T.value))return null;const Q=T.value;return E.test(Q)?null:{pattern:{requiredPattern:H,actualValue:Q}}}}(E)}static nullValidator(E){return null}static compose(E){return Kt(E)}static composeAsync(E){return Gt(E)}}function pt(A){return Oe(A.value)?{required:!0}:null}function Pt(A){return!0===A.value?null:{required:!0}}function De(A){return null}function _e(A){return null!=A}function Se(A){return(0,a.w5$)(A)?(0,D.Q)(A):A}function Ke(A){let E={};return A.forEach(H=>{E=null!=H?{...E,...H}:E}),0===Object.keys(E).length?null:E}function ht(A,E){return E.map(H=>H(A))}function Ft(A){return A.map(E=>function st(A){return!A.validate}(E)?E:H=>E.validate(H))}function Kt(A){if(!A)return null;const E=A.filter(_e);return 0==E.length?null:function(H){return Ke(ht(H,E))}}function ln(A){return null!=A?Kt(Ft(A)):null}function Gt(A){if(!A)return null;const E=A.filter(_e);return 0==E.length?null:function(H){return function Me(...A){const E=(0,ae.yu)(A),{args:H,keys:T}=(0,ce.Q)(A),Q=new J._(yt=>{const{length:Ot}=H;if(!Ot)return void yt.complete();const ti=new Array(Ot);let Qi=Ot,rr=Ot;for(let An=0;An{Vr||(Vr=!0,rr--),ti[An]=yr},()=>Qi--,void 0,()=>{(!Qi||!Vr)&&(rr||yt.next(T?(0,Ce.q)(T,ti):ti),yt.complete())}))}});return E?Q.pipe((0,te.j)(E)):Q}(ht(H,E).map(Se)).pipe((0,Pe.k)(Ke))}}function ct(A){return null!=A?Gt(Ft(A)):null}function Zt(A,E){return null===A?[E]:Array.isArray(A)?[...A,E]:[A,E]}function Ut(A){return A._rawValidators}function le(A){return A._rawAsyncValidators}function pe(A){return A?Array.isArray(A)?A:[A]:[]}function Ve(A,E){return Array.isArray(A)?A.includes(E):A===E}function Te(A,E){const H=pe(E);return pe(A).forEach(Q=>{Ve(H,Q)||H.push(Q)}),H}function dt(A,E){return pe(E).filter(H=>!Ve(A,H))}class $e{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(E){this._rawValidators=E||[],this._composedValidatorFn=ln(this._rawValidators)}_setAsyncValidators(E){this._rawAsyncValidators=E||[],this._composedAsyncValidatorFn=ct(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(E){this._onDestroyCallbacks.push(E)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(E=>E()),this._onDestroyCallbacks=[]}reset(E=void 0){this.control&&this.control.reset(E)}hasError(E,H){return!!this.control&&this.control.hasError(E,H)}getError(E,H){return this.control?this.control.getError(E,H):null}}class Mt extends $e{get formDirective(){return null}get path(){return null}}class Xt extends $e{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class gn{constructor(E){this._cd=E}get isTouched(){var E;return!(null===(E=this._cd)||void 0===E||null===(E=E.control)||void 0===E||!E.touched)}get isUntouched(){var E;return!(null===(E=this._cd)||void 0===E||null===(E=E.control)||void 0===E||!E.untouched)}get isPristine(){var E;return!(null===(E=this._cd)||void 0===E||null===(E=E.control)||void 0===E||!E.pristine)}get isDirty(){var E;return!(null===(E=this._cd)||void 0===E||null===(E=E.control)||void 0===E||!E.dirty)}get isValid(){var E;return!(null===(E=this._cd)||void 0===E||null===(E=E.control)||void 0===E||!E.valid)}get isInvalid(){var E;return!(null===(E=this._cd)||void 0===E||null===(E=E.control)||void 0===E||!E.invalid)}get isPending(){var E;return!(null===(E=this._cd)||void 0===E||null===(E=E.control)||void 0===E||!E.pending)}get isSubmitted(){var E;return!(null===(E=this._cd)||void 0===E||!E.submitted)}}let tt=(()=>{var A;class E extends gn{constructor(T){super(T)}}return(A=E).\u0275fac=function(T){return new(T||A)(a.GI1(Xt,2))},A.\u0275dir=a.Sc5({type:A,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(T,Q){2&T&&a.eAK("ng-untouched",Q.isUntouched)("ng-touched",Q.isTouched)("ng-pristine",Q.isPristine)("ng-dirty",Q.isDirty)("ng-valid",Q.isValid)("ng-invalid",Q.isInvalid)("ng-pending",Q.isPending)},features:[a.eg9]}),E})(),P=(()=>{var A;class E extends gn{constructor(T){super(T)}}return(A=E).\u0275fac=function(T){return new(T||A)(a.GI1(Mt,10))},A.\u0275dir=a.Sc5({type:A,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(T,Q){2&T&&a.eAK("ng-untouched",Q.isUntouched)("ng-touched",Q.isTouched)("ng-pristine",Q.isPristine)("ng-dirty",Q.isDirty)("ng-valid",Q.isValid)("ng-invalid",Q.isInvalid)("ng-pending",Q.isPending)("ng-submitted",Q.isSubmitted)},features:[a.eg9]}),E})();const Ze="VALID",V="INVALID",$="PENDING",k="DISABLED";function O(A){return(nt(A)?A.validators:A)||null}function N(A,E){return(nt(E)?E.asyncValidators:A)||null}function nt(A){return null!=A&&!Array.isArray(A)&&"object"==typeof A}class Ae{constructor(E,H){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(E),this._assignAsyncValidators(H)}get validator(){return this._composedValidatorFn}set validator(E){this._rawValidators=this._composedValidatorFn=E}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(E){this._rawAsyncValidators=this._composedAsyncValidatorFn=E}get parent(){return this._parent}get valid(){return this.status===Ze}get invalid(){return this.status===V}get pending(){return this.status==$}get disabled(){return this.status===k}get enabled(){return this.status!==k}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(E){this._assignValidators(E)}setAsyncValidators(E){this._assignAsyncValidators(E)}addValidators(E){this.setValidators(Te(E,this._rawValidators))}addAsyncValidators(E){this.setAsyncValidators(Te(E,this._rawAsyncValidators))}removeValidators(E){this.setValidators(dt(E,this._rawValidators))}removeAsyncValidators(E){this.setAsyncValidators(dt(E,this._rawAsyncValidators))}hasValidator(E){return Ve(this._rawValidators,E)}hasAsyncValidator(E){return Ve(this._rawAsyncValidators,E)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(E={}){this.touched=!0,this._parent&&!E.onlySelf&&this._parent.markAsTouched(E)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(E=>E.markAllAsTouched())}markAsUntouched(E={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(H=>{H.markAsUntouched({onlySelf:!0})}),this._parent&&!E.onlySelf&&this._parent._updateTouched(E)}markAsDirty(E={}){this.pristine=!1,this._parent&&!E.onlySelf&&this._parent.markAsDirty(E)}markAsPristine(E={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(H=>{H.markAsPristine({onlySelf:!0})}),this._parent&&!E.onlySelf&&this._parent._updatePristine(E)}markAsPending(E={}){this.status=$,!1!==E.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!E.onlySelf&&this._parent.markAsPending(E)}disable(E={}){const H=this._parentMarkedDirty(E.onlySelf);this.status=k,this.errors=null,this._forEachChild(T=>{T.disable({...E,onlySelf:!0})}),this._updateValue(),!1!==E.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...E,skipPristineCheck:H}),this._onDisabledChange.forEach(T=>T(!0))}enable(E={}){const H=this._parentMarkedDirty(E.onlySelf);this.status=Ze,this._forEachChild(T=>{T.enable({...E,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent}),this._updateAncestors({...E,skipPristineCheck:H}),this._onDisabledChange.forEach(T=>T(!1))}_updateAncestors(E){this._parent&&!E.onlySelf&&(this._parent.updateValueAndValidity(E),E.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(E){this._parent=E}getRawValue(){return this.value}updateValueAndValidity(E={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ze||this.status===$)&&this._runAsyncValidator(E.emitEvent)),!1!==E.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!E.onlySelf&&this._parent.updateValueAndValidity(E)}_updateTreeValidity(E={emitEvent:!0}){this._forEachChild(H=>H._updateTreeValidity(E)),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?k:Ze}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(E){if(this.asyncValidator){this.status=$,this._hasOwnPendingAsyncValidator=!0;const H=Se(this.asyncValidator(this));this._asyncValidationSubscription=H.subscribe(T=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(T,{emitEvent:E})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(E,H={}){this.errors=E,this._updateControlsErrors(!1!==H.emitEvent)}get(E){let H=E;return null==H||(Array.isArray(H)||(H=H.split(".")),0===H.length)?null:H.reduce((T,Q)=>T&&T._find(Q),this)}getError(E,H){const T=H?this.get(H):this;return T&&T.errors?T.errors[E]:null}hasError(E,H){return!!this.getError(E,H)}get root(){let E=this;for(;E._parent;)E=E._parent;return E}_updateControlsErrors(E){this.status=this._calculateStatus(),E&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(E)}_initObservables(){this.valueChanges=new a._w7,this.statusChanges=new a._w7}_calculateStatus(){return this._allControlsDisabled()?k:this.errors?V:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($)?$:this._anyControlsHaveStatus(V)?V:Ze}_anyControlsHaveStatus(E){return this._anyControls(H=>H.status===E)}_anyControlsDirty(){return this._anyControls(E=>E.dirty)}_anyControlsTouched(){return this._anyControls(E=>E.touched)}_updatePristine(E={}){this.pristine=!this._anyControlsDirty(),this._parent&&!E.onlySelf&&this._parent._updatePristine(E)}_updateTouched(E={}){this.touched=this._anyControlsTouched(),this._parent&&!E.onlySelf&&this._parent._updateTouched(E)}_registerOnCollectionChange(E){this._onCollectionChange=E}_setUpdateStrategy(E){nt(E)&&null!=E.updateOn&&(this._updateOn=E.updateOn)}_parentMarkedDirty(E){return!E&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(E){return null}_assignValidators(E){this._rawValidators=Array.isArray(E)?E.slice():E,this._composedValidatorFn=function B(A){return Array.isArray(A)?ln(A):A||null}(this._rawValidators)}_assignAsyncValidators(E){this._rawAsyncValidators=Array.isArray(E)?E.slice():E,this._composedAsyncValidatorFn=function q(A){return Array.isArray(A)?ct(A):A||null}(this._rawAsyncValidators)}}class de extends Ae{constructor(E,H,T){super(O(H),N(T,H)),this.controls=E,this._initObservables(),this._setUpdateStrategy(H),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(E,H){return this.controls[E]?this.controls[E]:(this.controls[E]=H,H.setParent(this),H._registerOnCollectionChange(this._onCollectionChange),H)}addControl(E,H,T={}){this.registerControl(E,H),this.updateValueAndValidity({emitEvent:T.emitEvent}),this._onCollectionChange()}removeControl(E,H={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),delete this.controls[E],this.updateValueAndValidity({emitEvent:H.emitEvent}),this._onCollectionChange()}setControl(E,H,T={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),delete this.controls[E],H&&this.registerControl(E,H),this.updateValueAndValidity({emitEvent:T.emitEvent}),this._onCollectionChange()}contains(E){return this.controls.hasOwnProperty(E)&&this.controls[E].enabled}setValue(E,H={}){(function be(A,E,H){A._forEachChild((T,Q)=>{if(void 0===H[Q])throw new a.OBp(1002,"")})})(this,0,E),Object.keys(E).forEach(T=>{(function xe(A,E,H){const T=A.controls;if(!(E?Object.keys(T):T).length)throw new a.OBp(1e3,"");if(!T[H])throw new a.OBp(1001,"")})(this,!0,T),this.controls[T].setValue(E[T],{onlySelf:!0,emitEvent:H.emitEvent})}),this.updateValueAndValidity(H)}patchValue(E,H={}){null!=E&&(Object.keys(E).forEach(T=>{const Q=this.controls[T];Q&&Q.patchValue(E[T],{onlySelf:!0,emitEvent:H.emitEvent})}),this.updateValueAndValidity(H))}reset(E={},H={}){this._forEachChild((T,Q)=>{T.reset(E?E[Q]:null,{onlySelf:!0,emitEvent:H.emitEvent})}),this._updatePristine(H),this._updateTouched(H),this.updateValueAndValidity(H)}getRawValue(){return this._reduceChildren({},(E,H,T)=>(E[T]=H.getRawValue(),E))}_syncPendingControls(){let E=this._reduceChildren(!1,(H,T)=>!!T._syncPendingControls()||H);return E&&this.updateValueAndValidity({onlySelf:!0}),E}_forEachChild(E){Object.keys(this.controls).forEach(H=>{const T=this.controls[H];T&&E(T,H)})}_setUpControls(){this._forEachChild(E=>{E.setParent(this),E._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(E){for(const[H,T]of Object.entries(this.controls))if(this.contains(H)&&E(T))return!0;return!1}_reduceValue(){return this._reduceChildren({},(H,T,Q)=>((T.enabled||this.disabled)&&(H[Q]=T.value),H))}_reduceChildren(E,H){let T=E;return this._forEachChild((Q,yt)=>{T=H(T,Q,yt)}),T}_allControlsDisabled(){for(const E of Object.keys(this.controls))if(this.controls[E].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(E){return this.controls.hasOwnProperty(E)?this.controls[E]:null}}const On=new a.UbH("CallSetDisabledState",{providedIn:"root",factory:()=>jt}),jt="always";function di(A,E,H=jt){var T,Q;Fi(A,E),E.valueAccessor.writeValue(A.value),(A.disabled||"always"===H)&&(null===(T=(Q=E.valueAccessor).setDisabledState)||void 0===T||T.call(Q,A.disabled)),function Ti(A,E){E.valueAccessor.registerOnChange(H=>{A._pendingValue=H,A._pendingChange=!0,A._pendingDirty=!0,"change"===A.updateOn&&K(A,E)})}(A,E),function ge(A,E){const H=(T,Q)=>{E.valueAccessor.writeValue(T),Q&&E.viewToModelUpdate(T)};A.registerOnChange(H),E._registerOnDestroy(()=>{A._unregisterOnChange(H)})}(A,E),function er(A,E){E.valueAccessor.registerOnTouched(()=>{A._pendingTouched=!0,"blur"===A.updateOn&&A._pendingChange&&K(A,E),"submit"!==A.updateOn&&A.markAsTouched()})}(A,E),function Ei(A,E){if(E.valueAccessor.setDisabledState){const H=T=>{E.valueAccessor.setDisabledState(T)};A.registerOnDisabledChange(H),E._registerOnDestroy(()=>{A._unregisterOnDisabledChange(H)})}}(A,E)}function Ci(A,E,H=!0){const T=()=>{};E.valueAccessor&&(E.valueAccessor.registerOnChange(T),E.valueAccessor.registerOnTouched(T)),ni(A,E),A&&(E._invokeOnDestroyCallbacks(),A._registerOnCollectionChange(()=>{}))}function xi(A,E){A.forEach(H=>{H.registerOnValidatorChange&&H.registerOnValidatorChange(E)})}function Fi(A,E){const H=Ut(A);null!==E.validator?A.setValidators(Zt(H,E.validator)):"function"==typeof H&&A.setValidators([H]);const T=le(A);null!==E.asyncValidator?A.setAsyncValidators(Zt(T,E.asyncValidator)):"function"==typeof T&&A.setAsyncValidators([T]);const Q=()=>A.updateValueAndValidity();xi(E._rawValidators,Q),xi(E._rawAsyncValidators,Q)}function ni(A,E){let H=!1;if(null!==A){if(null!==E.validator){const Q=Ut(A);if(Array.isArray(Q)&&Q.length>0){const yt=Q.filter(Ot=>Ot!==E.validator);yt.length!==Q.length&&(H=!0,A.setValidators(yt))}}if(null!==E.asyncValidator){const Q=le(A);if(Array.isArray(Q)&&Q.length>0){const yt=Q.filter(Ot=>Ot!==E.asyncValidator);yt.length!==Q.length&&(H=!0,A.setAsyncValidators(yt))}}}const T=()=>{};return xi(E._rawValidators,T),xi(E._rawAsyncValidators,T),H}function K(A,E){A._pendingDirty&&A.markAsDirty(),A.setValue(A._pendingValue,{emitModelToViewChange:!1}),E.viewToModelUpdate(A._pendingValue),A._pendingChange=!1}function We(A,E){Fi(A,E)}function gi(A,E){A._syncPendingControls(),E.forEach(H=>{const T=H.control;"submit"===T.updateOn&&T._pendingChange&&(H.viewToModelUpdate(T._pendingValue),T._pendingChange=!1)})}const oi={provide:Mt,useExisting:(0,a.wd)(()=>Sn)},rn=Promise.resolve();let Sn=(()=>{var A;class E extends Mt{constructor(T,Q,yt){super(),this.callSetDisabledState=yt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new a._w7,this.form=new de({},ln(T),ct(Q))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(T){rn.then(()=>{const Q=this._findContainer(T.path);T.control=Q.registerControl(T.name,T.control),di(T.control,T,this.callSetDisabledState),T.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(T)})}getControl(T){return this.form.get(T.path)}removeControl(T){rn.then(()=>{const Q=this._findContainer(T.path);Q&&Q.removeControl(T.name),this._directives.delete(T)})}addFormGroup(T){rn.then(()=>{const Q=this._findContainer(T.path),yt=new de({});We(yt,T),Q.registerControl(T.name,yt),yt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(T){rn.then(()=>{const Q=this._findContainer(T.path);Q&&Q.removeControl(T.name)})}getFormGroup(T){return this.form.get(T.path)}updateModel(T,Q){rn.then(()=>{this.form.get(T.path).setValue(Q)})}setValue(T){this.control.setValue(T)}onSubmit(T){var Q;return this.submitted=!0,gi(this.form,this._directives),this.ngSubmit.emit(T),"dialog"===(null==T||null===(Q=T.target)||void 0===Q?void 0:Q.method)}onReset(){this.resetForm()}resetForm(T=void 0){this.form.reset(T),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(T){return T.pop(),T.length?this.form.get(T):this.form}}return(A=E).\u0275fac=function(T){return new(T||A)(a.GI1(G,10),a.GI1(ye,10),a.GI1(On,8))},A.\u0275dir=a.Sc5({type:A,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(T,Q){1&T&&a.qCj("submit",function(Ot){return Q.onSubmit(Ot)})("reset",function(){return Q.onReset()})},inputs:{options:[a.Wk5.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a.M5G([oi]),a.eg9]}),E})();function ui(A,E){const H=A.indexOf(E);H>-1&&A.splice(H,1)}function Kn(A){return"object"==typeof A&&null!==A&&2===Object.keys(A).length&&"value"in A&&"disabled"in A}const Jn=class extends Ae{constructor(E=null,H,T){super(O(H),N(T,H)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(E),this._setUpdateStrategy(H),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),nt(H)&&(H.nonNullable||H.initialValueIsDefault)&&(this.defaultValue=Kn(E)?E.value:E)}setValue(E,H={}){this.value=this._pendingValue=E,this._onChange.length&&!1!==H.emitModelToViewChange&&this._onChange.forEach(T=>T(this.value,!1!==H.emitViewToModelChange)),this.updateValueAndValidity(H)}patchValue(E,H={}){this.setValue(E,H)}reset(E=this.defaultValue,H={}){this._applyFormState(E),this.markAsPristine(H),this.markAsUntouched(H),this.setValue(this.value,H),this._pendingChange=!1}_updateValue(){}_anyControls(E){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(E){this._onChange.push(E)}_unregisterOnChange(E){ui(this._onChange,E)}registerOnDisabledChange(E){this._onDisabledChange.push(E)}_unregisterOnDisabledChange(E){ui(this._onDisabledChange,E)}_forEachChild(E){}_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(E){Kn(E)?(this.value=this._pendingValue=E.value,E.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=E}},pn={provide:Xt,useExisting:(0,a.wd)(()=>li)},Xn=Promise.resolve();let li=(()=>{var A;class E extends Xt{constructor(T,Q,yt,Ot,ti,Qi){super(),this._changeDetectorRef=ti,this.callSetDisabledState=Qi,this.control=new Jn,this._registered=!1,this.name="",this.update=new a._w7,this._parent=T,this._setValidators(Q),this._setAsyncValidators(yt),this.valueAccessor=function Nt(A,E){if(!E)return null;let H,T,Q;return Array.isArray(E),E.forEach(yt=>{yt.constructor===Ge?H=yt:function Nn(A){return Object.getPrototypeOf(A.constructor)===ke}(yt)?T=yt:Q=yt}),Q||T||H||null}(0,Ot)}ngOnChanges(T){if(this._checkForErrors(),!this._registered||"name"in T){if(this._registered&&(this._checkName(),this.formDirective)){const Q=T.name.previousValue;this.formDirective.removeControl({name:Q,path:this._getPath(Q)})}this._setUpControl()}"isDisabled"in T&&this._updateDisabled(T),function $t(A,E){if(!A.hasOwnProperty("model"))return!1;const H=A.model;return!!H.isFirstChange()||!Object.is(E,H.currentValue)}(T,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(T){this.viewModel=T,this.update.emit(T)}_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(){di(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(T){Xn.then(()=>{var Q;this.control.setValue(T,{emitViewToModelChange:!1}),null===(Q=this._changeDetectorRef)||void 0===Q||Q.markForCheck()})}_updateDisabled(T){const Q=T.isDisabled.currentValue,yt=0!==Q&&(0,a.cZD)(Q);Xn.then(()=>{var Ot;yt&&!this.control.disabled?this.control.disable():!yt&&this.control.disabled&&this.control.enable(),null===(Ot=this._changeDetectorRef)||void 0===Ot||Ot.markForCheck()})}_getPath(T){return this._parent?function dn(A,E){return[...E.path,A]}(T,this._parent):[T]}}return(A=E).\u0275fac=function(T){return new(T||A)(a.GI1(Mt,9),a.GI1(G,10),a.GI1(ye,10),a.GI1(Be,10),a.GI1(a.kD9,8),a.GI1(On,8))},A.\u0275dir=a.Sc5({type:A,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[a.Wk5.None,"disabled","isDisabled"],model:[a.Wk5.None,"ngModel","model"],options:[a.Wk5.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[a.M5G([pn]),a.eg9,a.SYr]}),E})(),Yi=(()=>{var A;class E{}return(A=E).\u0275fac=function(T){return new(T||A)},A.\u0275dir=a.Sc5({type:A,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),E})();const Ai={provide:Mt,useExisting:(0,a.wd)(()=>ci)};let ci=(()=>{var A;class E extends Mt{constructor(T,Q,yt){super(),this.callSetDisabledState=yt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new a._w7,this._setValidators(T),this._setAsyncValidators(Q)}ngOnChanges(T){this._checkFormPresent(),T.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ni(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(T){const Q=this.form.get(T.path);return di(Q,T,this.callSetDisabledState),Q.updateValueAndValidity({emitEvent:!1}),this.directives.push(T),Q}getControl(T){return this.form.get(T.path)}removeControl(T){Ci(T.control||null,T,!1),function Tn(A,E){const H=A.indexOf(E);H>-1&&A.splice(H,1)}(this.directives,T)}addFormGroup(T){this._setUpFormContainer(T)}removeFormGroup(T){this._cleanUpFormContainer(T)}getFormGroup(T){return this.form.get(T.path)}addFormArray(T){this._setUpFormContainer(T)}removeFormArray(T){this._cleanUpFormContainer(T)}getFormArray(T){return this.form.get(T.path)}updateModel(T,Q){this.form.get(T.path).setValue(Q)}onSubmit(T){var Q;return this.submitted=!0,gi(this.form,this.directives),this.ngSubmit.emit(T),"dialog"===(null==T||null===(Q=T.target)||void 0===Q?void 0:Q.method)}onReset(){this.resetForm()}resetForm(T=void 0){this.form.reset(T),this.submitted=!1}_updateDomValue(){this.directives.forEach(T=>{const Q=T.control,yt=this.form.get(T.path);Q!==yt&&(Ci(Q||null,T),(A=>A instanceof Jn)(yt)&&(di(yt,T,this.callSetDisabledState),T.control=yt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(T){const Q=this.form.get(T.path);We(Q,T),Q.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(T){if(this.form){const Q=this.form.get(T.path);Q&&function je(A,E){return ni(A,E)}(Q,T)&&Q.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Fi(this.form,this),this._oldForm&&ni(this._oldForm,this)}_checkFormPresent(){}}return(A=E).\u0275fac=function(T){return new(T||A)(a.GI1(G,10),a.GI1(ye,10),a.GI1(On,8))},A.\u0275dir=a.Sc5({type:A,selectors:[["","formGroup",""]],hostBindings:function(T,Q){1&T&&a.qCj("submit",function(Ot){return Q.onSubmit(Ot)})("reset",function(){return Q.onReset()})},inputs:{form:[a.Wk5.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a.M5G([Ai]),a.eg9,a.SYr]}),E})(),wi=(()=>{var A;class E{constructor(){this._validator=De}ngOnChanges(T){if(this.inputName in T){const Q=this.normalizeInput(T[this.inputName].currentValue);this._enabled=this.enabled(Q),this._validator=this._enabled?this.createValidator(Q):De,this._onChange&&this._onChange()}}validate(T){return this._validator(T)}registerOnValidatorChange(T){this._onChange=T}enabled(T){return null!=T}}return(A=E).\u0275fac=function(T){return new(T||A)},A.\u0275dir=a.Sc5({type:A,features:[a.SYr]}),E})();const Ri={provide:G,useExisting:(0,a.wd)(()=>_r),multi:!0},Mi={provide:G,useExisting:(0,a.wd)(()=>_o),multi:!0};let _r=(()=>{var A;class E extends wi{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=a.cZD,this.createValidator=T=>pt}enabled(T){return T}}return(A=E).\u0275fac=(()=>{let H;return function(Q){return(H||(H=a.otF(A)))(Q||A)}})(),A.\u0275dir=a.Sc5({type:A,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(T,Q){2&T&&a.e48("required",Q._enabled?"":null)},inputs:{required:"required"},features:[a.M5G([Ri]),a.eg9]}),E})(),_o=(()=>{var A;class E extends _r{constructor(){super(...arguments),this.createValidator=T=>Pt}}return(A=E).\u0275fac=(()=>{let H;return function(Q){return(H||(H=a.otF(A)))(Q||A)}})(),A.\u0275dir=a.Sc5({type:A,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(T,Q){2&T&&a.e48("required",Q._enabled?"":null)},features:[a.M5G([Mi]),a.eg9]}),E})(),sa=(()=>{var A;class E{}return(A=E).\u0275fac=function(T){return new(T||A)},A.\u0275mod=a.a4G({type:A}),A.\u0275inj=a.s3X({}),E})(),la=(()=>{var A;class E{static withConfig(T){var Q;return{ngModule:E,providers:[{provide:On,useValue:null!==(Q=T.callSetDisabledState)&&void 0!==Q?Q:jt}]}}}return(A=E).\u0275fac=function(T){return new(T||A)},A.\u0275mod=a.a4G({type:A}),A.\u0275inj=a.s3X({imports:[sa]}),E})()},7816:(Qe,fe,y)=>{y.d(fe,{EB:()=>X,Gw:()=>Oe,oJ:()=>on,um:()=>Pt});var a=y(5792),s=y(4496),D=y(4723),J=y(3576);const ce=["mat-button",""],z=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],ae=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],te=".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}",et=["mat-icon-button",""],ke=["*"],Re=new s.UbH("MAT_BUTTON_CONFIG"),ot=[{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 xt=(()=>{var vt;class qe{get ripple(){var _e;return null===(_e=this._rippleLoader)||void 0===_e?void 0:_e.getRipple(this._elementRef.nativeElement)}set ripple(_e){var Se;null===(Se=this._rippleLoader)||void 0===Se||Se.attachRipple(this._elementRef.nativeElement,_e)}get disableRipple(){return this._disableRipple}set disableRipple(_e){this._disableRipple=_e,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(_e){this._disabled=_e,this._updateRippleDisabled()}constructor(_e,Se,Ke,ht){var st,Ft;this._elementRef=_e,this._platform=Se,this._ngZone=Ke,this._animationMode=ht,this._focusMonitor=(0,s.uUt)(D.Kk),this._rippleLoader=(0,s.uUt)(J.Ii),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;const Kt=(0,s.uUt)(Re,{optional:!0}),ln=_e.nativeElement,Gt=ln.classList;this.disabledInteractive=null!==(st=null==Kt?void 0:Kt.disabledInteractive)&&void 0!==st&&st,null===(Ft=this._rippleLoader)||void 0===Ft||Ft.configureRipple(ln,{className:"mat-mdc-button-ripple"});for(const{attribute:ct,mdcClasses:Zt}of ot)ln.hasAttribute(ct)&&Gt.add(...Zt)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){var _e;this._focusMonitor.stopMonitoring(this._elementRef),null===(_e=this._rippleLoader)||void 0===_e||_e.destroyRipple(this._elementRef.nativeElement)}focus(_e="program",Se){_e?this._focusMonitor.focusVia(this._elementRef.nativeElement,_e,Se):this._elementRef.nativeElement.focus(Se)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){var _e;null===(_e=this._rippleLoader)||void 0===_e||_e.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}}return(vt=qe).\u0275fac=function(_e){s.KEo()},vt.\u0275dir=s.Sc5({type:vt,inputs:{color:"color",disableRipple:[s.Wk5.HasDecoratorInputTransform,"disableRipple","disableRipple",s.cZD],disabled:[s.Wk5.HasDecoratorInputTransform,"disabled","disabled",s.cZD],ariaDisabled:[s.Wk5.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",s.cZD],disabledInteractive:[s.Wk5.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",s.cZD]},features:[s.QJr]}),qe})(),Ge=(()=>{var vt;class qe extends xt{constructor(_e,Se,Ke,ht){super(_e,Se,Ke,ht),this._haltDisabledEvents=st=>{this.disabled&&(st.preventDefault(),st.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_getAriaDisabled(){return null==this.ariaDisabled?this.disabled:this.ariaDisabled}}return(vt=qe).\u0275fac=function(_e){s.KEo()},vt.\u0275dir=s.Sc5({type:vt,inputs:{tabIndex:[s.Wk5.HasDecoratorInputTransform,"tabIndex","tabIndex",De=>null==De?void 0:(0,s.cJ3)(De)]},features:[s.QJr,s.eg9]}),qe})(),Oe=(()=>{var vt;class qe extends xt{constructor(_e,Se,Ke,ht){super(_e,Se,Ke,ht)}}return(vt=qe).\u0275fac=function(_e){return new(_e||vt)(s.GI1(s.GMv),s.GI1(a.WU),s.GI1(s.WW2),s.GI1(s.qwP,8))},vt.\u0275cmp=s.In1({type:vt,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(_e,Se){2&_e&&(s.e48("disabled",Se._getDisabledAttribute())("aria-disabled",Se._getAriaDisabled()),s.m8U(Se.color?"mat-"+Se.color:""),s.eAK("mat-mdc-button-disabled",Se.disabled)("mat-mdc-button-disabled-interactive",Se.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===Se._animationMode)("mat-unthemed",!Se.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[s.eg9,s.UHJ],attrs:ce,ngContentSelectors:ae,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(_e,Se){1&_e&&(s.kPM(z),s.wR5(0,"span",0),s._Xx(1),s.I0R(2,"span",1),s._Xx(3,1),s.C$Y(),s._Xx(4,2),s.wR5(5,"span",2)(6,"span",3)),2&_e&&s.eAK("mdc-button__ripple",!Se._isFab)("mdc-fab__ripple",Se._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);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.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:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-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,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .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 .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.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-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-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,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .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 .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-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-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.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-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-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,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .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 .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-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].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.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-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-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,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .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 .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-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-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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-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,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.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}),qe})(),X=(()=>{var vt;class qe extends Ge{constructor(_e,Se,Ke,ht){super(_e,Se,Ke,ht)}}return(vt=qe).\u0275fac=function(_e){return new(_e||vt)(s.GI1(s.GMv),s.GI1(a.WU),s.GI1(s.WW2),s.GI1(s.qwP,8))},vt.\u0275cmp=s.In1({type:vt,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(_e,Se){2&_e&&(s.e48("disabled",Se._getDisabledAttribute())("tabindex",Se.disabled&&!Se.disabledInteractive?-1:Se.tabIndex)("aria-disabled",Se._getDisabledAttribute()),s.m8U(Se.color?"mat-"+Se.color:""),s.eAK("mat-mdc-button-disabled",Se.disabled)("mat-mdc-button-disabled-interactive",Se.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===Se._animationMode)("mat-unthemed",!Se.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[s.eg9,s.UHJ],attrs:ce,ngContentSelectors:ae,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(_e,Se){1&_e&&(s.kPM(z),s.wR5(0,"span",0),s._Xx(1),s.I0R(2,"span",1),s._Xx(3,1),s.C$Y(),s._Xx(4,2),s.wR5(5,"span",2)(6,"span",3)),2&_e&&s.eAK("mdc-button__ripple",!Se._isFab)("mdc-fab__ripple",Se._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);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.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:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-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,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .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 .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.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-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-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,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .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 .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-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-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.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-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-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,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .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 .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-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].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.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-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-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,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .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 .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-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-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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-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,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.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)}',te],encapsulation:2,changeDetection:0}),qe})(),Pt=(()=>{var vt;class qe extends xt{constructor(_e,Se,Ke,ht){super(_e,Se,Ke,ht),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}}return(vt=qe).\u0275fac=function(_e){return new(_e||vt)(s.GI1(s.GMv),s.GI1(a.WU),s.GI1(s.WW2),s.GI1(s.qwP,8))},vt.\u0275cmp=s.In1({type:vt,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(_e,Se){2&_e&&(s.e48("disabled",Se._getDisabledAttribute())("aria-disabled",Se._getAriaDisabled()),s.m8U(Se.color?"mat-"+Se.color:""),s.eAK("mat-mdc-button-disabled",Se.disabled)("mat-mdc-button-disabled-interactive",Se.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===Se._animationMode)("mat-unthemed",!Se.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[s.eg9,s.UHJ],attrs:et,ngContentSelectors:ke,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(_e,Se){1&_e&&(s.kPM(),s.wR5(0,"span",0),s._Xx(1),s.wR5(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{color:var(--mdc-icon-button-icon-color)}.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{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);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],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-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,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .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%);display:var(--mat-icon-button-touch-target-display)}.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}',te],encapsulation:2,changeDetection:0}),qe})(),on=(()=>{var vt;class qe{}return(vt=qe).\u0275fac=function(_e){return new(_e||vt)},vt.\u0275mod=s.a4G({type:vt}),vt.\u0275inj=s.s3X({imports:[J.AN,J.KE,J.AN]}),qe})()},3576:(Qe,fe,y)=>{y.d(fe,{u9:()=>le,KG:()=>Lt,K6:()=>gt,AN:()=>re,I5:()=>bn,Ax:()=>Ze,UZ:()=>Ue,Ii:()=>q,KE:()=>Y,mY:()=>vt,qI:()=>nt,aq:()=>ai,ms:()=>pi});var a=y(4496),s=y(4723),D=y(1900),ce=y(1368),z=y(5792),ae=y(7712),ve=y(5657),te=y(7800);const et=["text"];function ke(xe,be){if(1&xe&&a.wR5(0,"mat-pseudo-checkbox",6),2&xe){const Ae=a.GaO();a.E7m("disabled",Ae.disabled)("state",Ae.selected?"checked":"unchecked")}}function Be(xe,be){if(1&xe&&a.wR5(0,"mat-pseudo-checkbox",7),2&xe){const Ae=a.GaO();a.E7m("disabled",Ae.disabled)}}function Re(xe,be){if(1&xe&&(a.I0R(0,"span",8),a.OEk(1),a.C$Y()),2&xe){const Ae=a.GaO();a.yG2(),a.oRS("(",Ae.group.label,")")}}const Ne=[[["mat-icon"]],"*"],ot=["mat-icon","*"],xt=["mat-internal-form-field",""],lt=["*"],ye=new a.UbH("mat-sanity-checks",{providedIn:"root",factory:function G(){return!0}});let re=(()=>{var xe;class be{constructor(de,Je,Bt){this._sanityChecks=Je,this._document=Bt,this._hasDoneGlobalChecks=!1,de._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(de){return!(0,z.mW)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[de])}}return(xe=be).\u0275fac=function(de){return new(de||xe)(a.CoB(s.MM),a.CoB(ye,8),a.CoB(ce.Ud))},xe.\u0275mod=a.a4G({type:xe}),xe.\u0275inj=a.s3X({imports:[D.gN,D.gN]}),be})();class vt{constructor(be,Ae,de,Je,Bt){this._defaultMatcher=be,this.ngControl=Ae,this._parentFormGroup=de,this._parentForm=Je,this._stateChanges=Bt,this.errorState=!1}updateErrorState(){var be;const Ae=this.errorState,Je=this.matcher||this._defaultMatcher,Ht=null!==(be=null==Je?void 0:Je.isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm))&&void 0!==be&&be;Ht!==Ae&&(this.errorState=Ht,this._stateChanges.next())}}let le=(()=>{var xe;class be{isErrorState(de,Je){return!!(de&&de.invalid&&(de.touched||Je&&Je.submitted))}}return(xe=be).\u0275fac=function(de){return new(de||xe)},xe.\u0275prov=a.wxM({token:xe,factory:xe.\u0275fac,providedIn:"root"}),be})();var $e=function(xe){return xe[xe.FADING_IN=0]="FADING_IN",xe[xe.VISIBLE=1]="VISIBLE",xe[xe.FADING_OUT=2]="FADING_OUT",xe[xe.HIDDEN=3]="HIDDEN",xe}($e||{});class Mt{constructor(be,Ae,de,Je=!1){this._renderer=be,this.element=Ae,this.config=de,this._animationForciblyDisabledThroughCss=Je,this.state=$e.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const Xt=(0,z.W4)({passive:!0,capture:!0});class gn{constructor(){this._events=new Map,this._delegateEventHandler=be=>{const Ae=(0,z.oZ)(be);var de;Ae&&(null===(de=this._events.get(be.type))||void 0===de||de.forEach((Je,Bt)=>{(Bt===Ae||Bt.contains(Ae))&&Je.forEach(Ht=>Ht.handleEvent(be))}))}}addHandler(be,Ae,de,Je){const Bt=this._events.get(Ae);if(Bt){const Ht=Bt.get(de);Ht?Ht.add(Je):Bt.set(de,new Set([Je]))}else this._events.set(Ae,new Map([[de,new Set([Je])]])),be.runOutsideAngular(()=>{document.addEventListener(Ae,this._delegateEventHandler,Xt)})}removeHandler(be,Ae,de){const Je=this._events.get(be);if(!Je)return;const Bt=Je.get(Ae);Bt&&(Bt.delete(de),0===Bt.size&&Je.delete(Ae),0===Je.size&&(this._events.delete(be),document.removeEventListener(be,this._delegateEventHandler,Xt)))}}const cn={enterDuration:225,exitDuration:150},tt=(0,z.W4)({passive:!0,capture:!0}),P=["mousedown","touchstart"],Ee=["mouseup","mouseleave","touchend","touchcancel"];class se{constructor(be,Ae,de,Je){this._target=be,this._ngZone=Ae,this._platform=Je,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Je.isBrowser&&(this._containerElement=(0,ae.mk)(de))}fadeInRipple(be,Ae,de={}){const Je=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Bt={...cn,...de.animation};de.centered&&(be=Je.left+Je.width/2,Ae=Je.top+Je.height/2);const Ht=de.radius||function ee(xe,be,Ae){const de=Math.max(Math.abs(xe-Ae.left),Math.abs(xe-Ae.right)),Je=Math.max(Math.abs(be-Ae.top),Math.abs(be-Ae.bottom));return Math.sqrt(de*de+Je*Je)}(be,Ae,Je),Zn=be-Je.left,ho=Ae-Je.top,On=Bt.enterDuration,jt=document.createElement("div");jt.classList.add("mat-ripple-element"),jt.style.left="".concat(Zn-Ht,"px"),jt.style.top="".concat(ho-Ht,"px"),jt.style.height="".concat(2*Ht,"px"),jt.style.width="".concat(2*Ht,"px"),null!=de.color&&(jt.style.backgroundColor=de.color),jt.style.transitionDuration="".concat(On,"ms"),this._containerElement.appendChild(jt);const dn=window.getComputedStyle(jt),Ci=dn.transitionDuration,xi="none"===dn.transitionProperty||"0s"===Ci||"0s, 0s"===Ci||0===Je.width&&0===Je.height,Ei=new Mt(this,jt,de,xi);jt.style.transform="scale3d(1, 1, 1)",Ei.state=$e.FADING_IN,de.persistent||(this._mostRecentTransientRipple=Ei);let Fi=null;return!xi&&(On||Bt.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const ni=()=>this._finishRippleTransition(Ei),Ti=()=>this._destroyRipple(Ei);jt.addEventListener("transitionend",ni),jt.addEventListener("transitioncancel",Ti),Fi={onTransitionEnd:ni,onTransitionCancel:Ti}}),this._activeRipples.set(Ei,Fi),(xi||!On)&&this._finishRippleTransition(Ei),Ei}fadeOutRipple(be){if(be.state===$e.FADING_OUT||be.state===$e.HIDDEN)return;const Ae=be.element,de={...cn,...be.config.animation};Ae.style.transitionDuration="".concat(de.exitDuration,"ms"),Ae.style.opacity="0",be.state=$e.FADING_OUT,(be._animationForciblyDisabledThroughCss||!de.exitDuration)&&this._finishRippleTransition(be)}fadeOutAll(){this._getActiveRipples().forEach(be=>be.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(be=>{be.config.persistent||be.fadeOut()})}setupTriggerEvents(be){const Ae=(0,ae.mk)(be);!this._platform.isBrowser||!Ae||Ae===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Ae,P.forEach(de=>{se._eventManager.addHandler(this._ngZone,de,Ae,this)}))}handleEvent(be){"mousedown"===be.type?this._onMousedown(be):"touchstart"===be.type?this._onTouchStart(be):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Ee.forEach(Ae=>{this._triggerElement.addEventListener(Ae,this,tt)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(be){be.state===$e.FADING_IN?this._startFadeOutTransition(be):be.state===$e.FADING_OUT&&this._destroyRipple(be)}_startFadeOutTransition(be){const Ae=be===this._mostRecentTransientRipple,{persistent:de}=be.config;be.state=$e.VISIBLE,!de&&(!Ae||!this._isPointerDown)&&be.fadeOut()}_destroyRipple(be){var Ae;const de=null!==(Ae=this._activeRipples.get(be))&&void 0!==Ae?Ae:null;this._activeRipples.delete(be),this._activeRipples.size||(this._containerRect=null),be===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),be.state=$e.HIDDEN,null!==de&&(be.element.removeEventListener("transitionend",de.onTransitionEnd),be.element.removeEventListener("transitioncancel",de.onTransitionCancel)),be.element.remove()}_onMousedown(be){const Ae=(0,s.G3)(be),de=this._lastTouchStartEvent&&Date.now(){!be.config.persistent&&(be.state===$e.VISIBLE||be.config.terminateOnPointerUp&&be.state===$e.FADING_IN)&&be.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const be=this._triggerElement;be&&(P.forEach(Ae=>se._eventManager.removeHandler(Ae,be,this)),this._pointerUpEventsRegistered&&Ee.forEach(Ae=>be.removeEventListener(Ae,this,tt)))}}se._eventManager=new gn;const Ie=new a.UbH("mat-ripple-global-options");let Ue=(()=>{var xe;class be{get disabled(){return this._disabled}set disabled(de){de&&this.fadeOutAllNonPersistent(),this._disabled=de,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(de){this._trigger=de,this._setupTriggerEventsIfEnabled()}constructor(de,Je,Bt,Ht,Zn){this._elementRef=de,this._animationMode=Zn,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Ht||{},this._rippleRenderer=new se(this,Je,de,Bt)}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(de,Je=0,Bt){return"number"==typeof de?this._rippleRenderer.fadeInRipple(de,Je,{...this.rippleConfig,...Bt}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...de})}}return(xe=be).\u0275fac=function(de){return new(de||xe)(a.GI1(a.GMv),a.GI1(a.WW2),a.GI1(z.WU),a.GI1(Ie,8),a.GI1(a.qwP,8))},xe.\u0275dir=a.Sc5({type:xe,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(de,Je){2&de&&a.eAK("mat-ripple-unbounded",Je.unbounded)},inputs:{color:[a.Wk5.None,"matRippleColor","color"],unbounded:[a.Wk5.None,"matRippleUnbounded","unbounded"],centered:[a.Wk5.None,"matRippleCentered","centered"],radius:[a.Wk5.None,"matRippleRadius","radius"],animation:[a.Wk5.None,"matRippleAnimation","animation"],disabled:[a.Wk5.None,"matRippleDisabled","disabled"],trigger:[a.Wk5.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0}),be})(),Y=(()=>{var xe;class be{}return(xe=be).\u0275fac=function(de){return new(de||xe)},xe.\u0275mod=a.a4G({type:xe}),xe.\u0275inj=a.s3X({imports:[re,re]}),be})(),he=(()=>{var xe;class be{constructor(de){this._animationMode=de,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return(xe=be).\u0275fac=function(de){return new(de||xe)(a.GI1(a.qwP,8))},xe.\u0275cmp=a.In1({type:xe,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(de,Je){2&de&&a.eAK("mat-pseudo-checkbox-indeterminate","indeterminate"===Je.state)("mat-pseudo-checkbox-checked","checked"===Je.state)("mat-pseudo-checkbox-disabled",Je.disabled)("mat-pseudo-checkbox-minimal","minimal"===Je.appearance)("mat-pseudo-checkbox-full","full"===Je.appearance)("_mat-animation-noopable","NoopAnimations"===Je._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[a.UHJ],decls:0,vars:0,template:function(de,Je){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),be})(),Ye=(()=>{var xe;class be{}return(xe=be).\u0275fac=function(de){return new(de||xe)},xe.\u0275mod=a.a4G({type:xe}),xe.\u0275inj=a.s3X({imports:[re]}),be})();const gt=new a.UbH("MAT_OPTION_PARENT_COMPONENT"),Lt=new a.UbH("MatOptgroup");let sn=0;class Dn{constructor(be,Ae=!1){this.source=be,this.isUserInput=Ae}}let bn=(()=>{var xe;class be{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(de){this._disabled=de}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(de,Je,Bt,Ht){this._element=de,this._changeDetectorRef=Je,this._parent=Bt,this.group=Ht,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-".concat(sn++),this.onSelectionChange=new a._w7,this._stateChanges=new ve.E}get active(){return this._active}get viewValue(){var de;return((null===(de=this._text)||void 0===de?void 0:de.nativeElement.textContent)||"").trim()}select(de=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),de&&this._emitSelectionChangeEvent())}deselect(de=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),de&&this._emitSelectionChangeEvent())}focus(de,Je){const Bt=this._getHostElement();"function"==typeof Bt.focus&&Bt.focus(Je)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(de){(de.keyCode===te.wJ||de.keyCode===te.Gi)&&!(0,te.Yp)(de)&&(this._selectViaInteraction(),de.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const de=this.viewValue;de!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=de)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(de=!1){this.onSelectionChange.emit(new Dn(this,de))}}return(xe=be).\u0275fac=function(de){return new(de||xe)(a.GI1(a.GMv),a.GI1(a.kD9),a.GI1(gt,8),a.GI1(Lt,8))},xe.\u0275cmp=a.In1({type:xe,selectors:[["mat-option"]],viewQuery:function(de,Je){if(1&de&&a.CC$(et,7),2&de){let Bt;a.wto(Bt=a.Gqi())&&(Je._text=Bt.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(de,Je){1&de&&a.qCj("click",function(){return Je._selectViaInteraction()})("keydown",function(Ht){return Je._handleKeydown(Ht)}),2&de&&(a.SoX("id",Je.id),a.e48("aria-selected",Je.selected)("aria-disabled",Je.disabled.toString()),a.eAK("mdc-list-item--selected",Je.selected)("mat-mdc-option-multiple",Je.multiple)("mat-mdc-option-active",Je.active)("mdc-list-item--disabled",Je.disabled))},inputs:{value:"value",id:"id",disabled:[a.Wk5.HasDecoratorInputTransform,"disabled","disabled",a.cZD]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[a.QJr,a.UHJ],ngContentSelectors:ot,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled"],["class","cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(de,Je){1&de&&(a.kPM(Ne),a.yuY(0,ke,1,2,"mat-pseudo-checkbox",0),a._Xx(1),a.I0R(2,"span",1,2),a._Xx(4,1),a.C$Y(),a.yuY(5,Be,1,1,"mat-pseudo-checkbox",3)(6,Re,2,1,"span",4),a.wR5(7,"div",5)),2&de&&(a.C0Y(0,Je.multiple?0:-1),a.yG2(5),a.C0Y(5,Je.multiple||!Je.selected||Je.hideSingleSelectionIndicator?-1:5),a.yG2(),a.C0Y(6,Je.group&&Je.group._inert?6:-1),a.yG2(),a.E7m("matRippleTrigger",Je._getHostElement())("matRippleDisabled",Je.disabled||Je.disableRipple))},dependencies:[he,Ue],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),be})();function ai(xe,be,Ae){if(Ae.length){let de=be.toArray(),Je=Ae.toArray(),Bt=0;for(let Ht=0;HtAe+de?Math.max(0,xe-de+be):Ae}let Ze=(()=>{var xe;class be{}return(xe=be).\u0275fac=function(de){return new(de||xe)},xe.\u0275mod=a.a4G({type:xe}),xe.\u0275inj=a.s3X({imports:[Y,re,Ye]}),be})();const V={capture:!0},$=["focus","click","mouseenter","touchstart"],k="mat-ripple-loader-uninitialized",O="mat-ripple-loader-class-name",B="mat-ripple-loader-centered",N="mat-ripple-loader-disabled";let q=(()=>{var xe;class be{constructor(){this._document=(0,a.uUt)(ce.Ud,{optional:!0}),this._animationMode=(0,a.uUt)(a.qwP,{optional:!0}),this._globalRippleOptions=(0,a.uUt)(Ie,{optional:!0}),this._platform=(0,a.uUt)(z.WU),this._ngZone=(0,a.uUt)(a.WW2),this._hosts=new Map,this._onInteraction=de=>{if(!(de.target instanceof HTMLElement))return;const Bt=de.target.closest("[".concat(k,"]"));Bt&&this._createRipple(Bt)},this._ngZone.runOutsideAngular(()=>{for(const Je of $){var de;null===(de=this._document)||void 0===de||de.addEventListener(Je,this._onInteraction,V)}})}ngOnDestroy(){const de=this._hosts.keys();for(const Bt of de)this.destroyRipple(Bt);for(const Bt of $){var Je;null===(Je=this._document)||void 0===Je||Je.removeEventListener(Bt,this._onInteraction,V)}}configureRipple(de,Je){de.setAttribute(k,""),(Je.className||!de.hasAttribute(O))&&de.setAttribute(O,Je.className||""),Je.centered&&de.setAttribute(B,""),Je.disabled&&de.setAttribute(N,"")}getRipple(de){return this._hosts.get(de)||this._createRipple(de)}setDisabled(de,Je){const Bt=this._hosts.get(de);Bt?Bt.disabled=Je:Je?de.setAttribute(N,""):de.removeAttribute(N)}_createRipple(de){var Je;if(!this._document)return;const Bt=this._hosts.get(de);if(Bt)return Bt;null===(Je=de.querySelector(".mat-ripple"))||void 0===Je||Je.remove();const Ht=this._document.createElement("span");Ht.classList.add("mat-ripple",de.getAttribute(O)),de.append(Ht);const Zn=new Ue(new a.GMv(Ht),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Zn._isInitialized=!0,Zn.trigger=de,Zn.centered=de.hasAttribute(B),Zn.disabled=de.hasAttribute(N),this.attachRipple(de,Zn),Zn}attachRipple(de,Je){de.removeAttribute(k),this._hosts.set(de,Je)}destroyRipple(de){const Je=this._hosts.get(de);Je&&(Je.ngOnDestroy(),this._hosts.delete(de))}}return(xe=be).\u0275fac=function(de){return new(de||xe)},xe.\u0275prov=a.wxM({token:xe,factory:xe.\u0275fac,providedIn:"root"}),be})(),nt=(()=>{var xe;class be{}return(xe=be).\u0275fac=function(de){return new(de||xe)},xe.\u0275cmp=a.In1({type:xe,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(de,Je){2&de&&a.eAK("mdc-form-field--align-end","before"===Je.labelPosition)},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[a.UHJ],attrs:xt,ngContentSelectors:lt,decls:1,vars:0,template:function(de,Je){1&de&&(a.kPM(),a._Xx(0))},styles:[".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-form-field{font-family:var(--mdc-form-field-label-text-font);line-height:var(--mdc-form-field-label-text-line-height);font-size:var(--mdc-form-field-label-text-size);font-weight:var(--mdc-form-field-label-text-weight);letter-spacing:var(--mdc-form-field-label-text-tracking);color:var(--mdc-form-field-label-text-color)}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}"],encapsulation:2,changeDetection:0}),be})()},2864:(Qe,fe,y)=>{y.d(fe,{sR:()=>ct,qW:()=>Te,Yp:()=>cn,qq:()=>$e,iU:()=>gn,sr:()=>P,yI:()=>ln,WQ:()=>Xt});var a=y(68),s=y(1368),D=y(4496),J=y(4723),ce=y(5792),z=y(2488),ae=y(7800),ve=y(5657),te=y(1424),Ce=y(2700),Me=y(1900),Pe=y(5568);function et(ee,Ie){}class ke{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 Re=(()=>{var ee;class Ie extends z.Ef{constructor(Y,he,Ye,gt,Et,Lt,en,sn){super(),this._elementRef=Y,this._focusTrapFactory=he,this._config=gt,this._interactivityChecker=Et,this._ngZone=Lt,this._overlayRef=en,this._focusMonitor=sn,this._platform=(0,D.uUt)(ce.WU),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=(0,D.uUt)(D.kD9),this.attachDomPortal=Dn=>{this._portalOutlet.hasAttached();const bn=this._portalOutlet.attachDomPortal(Dn);return this._contentAttached(),bn},this._document=Ye,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(Y){this._ariaLabelledByQueue.push(Y),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(Y){const he=this._ariaLabelledByQueue.indexOf(Y);he>-1&&(this._ariaLabelledByQueue.splice(he,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(Y){this._portalOutlet.hasAttached();const he=this._portalOutlet.attachComponentPortal(Y);return this._contentAttached(),he}attachTemplatePortal(Y){this._portalOutlet.hasAttached();const he=this._portalOutlet.attachTemplatePortal(Y);return this._contentAttached(),he}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(Y,he){this._interactivityChecker.isFocusable(Y)||(Y.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Ye=()=>{Y.removeEventListener("blur",Ye),Y.removeEventListener("mousedown",Ye),Y.removeAttribute("tabindex")};Y.addEventListener("blur",Ye),Y.addEventListener("mousedown",Ye)})),Y.focus(he)}_focusByCssSelector(Y,he){let Ye=this._elementRef.nativeElement.querySelector(Y);Ye&&this._forceFocus(Ye,he)}_trapFocus(){var Y;const he=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||he.focus();break;case!0:case"first-tabbable":null===(Y=this._focusTrap)||void 0===Y||Y.focusInitialElementWhenReady().then(Ye=>{Ye||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 Y=this._config.restoreFocus;let he=null;if("string"==typeof Y?he=this._document.querySelector(Y):"boolean"==typeof Y?he=Y?this._elementFocusedBeforeDialogWasOpened:null:Y&&(he=Y),this._config.restoreFocus&&he&&"function"==typeof he.focus){const Ye=(0,ce.Yx)(),gt=this._elementRef.nativeElement;(!Ye||Ye===this._document.body||Ye===gt||gt.contains(Ye))&&(this._focusMonitor?(this._focusMonitor.focusVia(he,this._closeInteractionType),this._closeInteractionType=null):he.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const Y=this._elementRef.nativeElement,he=(0,ce.Yx)();return Y===he||Y.contains(he)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,ce.Yx)()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return(ee=Ie).\u0275fac=function(Y){return new(Y||ee)(D.GI1(D.GMv),D.GI1(J.G),D.GI1(s.Ud,8),D.GI1(ke),D.GI1(J.OE),D.GI1(D.WW2),D.GI1(a.aq),D.GI1(J.Kk))},ee.\u0275cmp=D.In1({type:ee,selectors:[["cdk-dialog-container"]],viewQuery:function(Y,he){if(1&Y&&D.CC$(z.IP,7),2&Y){let Ye;D.wto(Ye=D.Gqi())&&(he._portalOutlet=Ye.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(Y,he){2&Y&&D.e48("id",he._config.id||null)("role",he._config.role)("aria-modal",he._config.ariaModal)("aria-labelledby",he._config.ariaLabel?null:he._ariaLabelledByQueue[0])("aria-label",he._config.ariaLabel)("aria-describedby",he._config.ariaDescribedBy||null)},standalone:!0,features:[D.eg9,D.UHJ],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(Y,he){1&Y&&D.yuY(0,et,0,0,"ng-template",0)},dependencies:[z.IP],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),Ie})();class Ne{constructor(Ie,Ue){this.overlayRef=Ie,this.config=Ue,this.closed=new ve.E,this.disableClose=Ue.disableClose,this.backdropClick=Ie.backdropClick(),this.keydownEvents=Ie.keydownEvents(),this.outsidePointerEvents=Ie.outsidePointerEvents(),this.id=Ue.id,this.keydownEvents.subscribe(Y=>{Y.keyCode===ae.UX&&!this.disableClose&&!(0,ae.Yp)(Y)&&(Y.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=Ie.detachments().subscribe(()=>{!1!==Ue.closeOnOverlayDetachments&&this.close()})}close(Ie,Ue){if(this.containerInstance){const Y=this.closed;this.containerInstance._closeInteractionType=(null==Ue?void 0:Ue.focusOrigin)||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),Y.next(Ie),Y.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Ie="",Ue=""){return this.overlayRef.updateSize({width:Ie,height:Ue}),this}addPanelClass(Ie){return this.overlayRef.addPanelClass(Ie),this}removePanelClass(Ie){return this.overlayRef.removePanelClass(Ie),this}}const ot=new D.UbH("DialogScrollStrategy",{providedIn:"root",factory:()=>{const ee=(0,D.uUt)(a.mc);return()=>ee.scrollStrategies.block()}}),xt=new D.UbH("DialogData"),lt=new D.UbH("DefaultDialogConfig");let X=0,G=(()=>{var ee;class Ie{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(Y,he,Ye,gt,Et,Lt){this._overlay=Y,this._injector=he,this._defaultOptions=Ye,this._parentDialog=gt,this._overlayContainer=Et,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ve.E,this._afterOpenedAtThisLevel=new ve.E,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,te.Q)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,Pe.W)(void 0))),this._scrollStrategy=Lt}open(Y,he){(he={...this._defaultOptions||new ke,...he}).id=he.id||"cdk-dialog-".concat(X++),he.id&&this.getDialogById(he.id);const gt=this._getOverlayConfig(he),Et=this._overlay.create(gt),Lt=new Ne(Et,he),en=this._attachContainer(Et,Lt,he);return Lt.containerInstance=en,this._attachDialogContent(Y,Lt,en,he),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Lt),Lt.closed.subscribe(()=>this._removeOpenDialog(Lt,!0)),this.afterOpened.next(Lt),Lt}closeAll(){ye(this.openDialogs,Y=>Y.close())}getDialogById(Y){return this.openDialogs.find(he=>he.id===Y)}ngOnDestroy(){ye(this._openDialogsAtThisLevel,Y=>{!1===Y.config.closeOnDestroy&&this._removeOpenDialog(Y,!1)}),ye(this._openDialogsAtThisLevel,Y=>Y.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(Y){const he=new a.o9({positionStrategy:Y.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:Y.scrollStrategy||this._scrollStrategy(),panelClass:Y.panelClass,hasBackdrop:Y.hasBackdrop,direction:Y.direction,minWidth:Y.minWidth,minHeight:Y.minHeight,maxWidth:Y.maxWidth,maxHeight:Y.maxHeight,width:Y.width,height:Y.height,disposeOnNavigation:Y.closeOnNavigation});return Y.backdropClass&&(he.backdropClass=Y.backdropClass),he}_attachContainer(Y,he,Ye){var gt;const Et=Ye.injector||(null===(gt=Ye.viewContainerRef)||void 0===gt?void 0:gt.injector),Lt=[{provide:ke,useValue:Ye},{provide:Ne,useValue:he},{provide:a.aq,useValue:Y}];let en;Ye.container?"function"==typeof Ye.container?en=Ye.container:(en=Ye.container.type,Lt.push(...Ye.container.providers(Ye))):en=Re;const sn=new z.KC(en,Ye.viewContainerRef,D.zZn.create({parent:Et||this._injector,providers:Lt}),Ye.componentFactoryResolver);return Y.attach(sn).instance}_attachDialogContent(Y,he,Ye,gt){if(Y instanceof D.Yw2){const Et=this._createInjector(gt,he,Ye,void 0);let Lt={$implicit:gt.data,dialogRef:he};gt.templateContext&&(Lt={...Lt,..."function"==typeof gt.templateContext?gt.templateContext():gt.templateContext}),Ye.attachTemplatePortal(new z.CC(Y,null,Lt,Et))}else{const Et=this._createInjector(gt,he,Ye,this._injector),Lt=Ye.attachComponentPortal(new z.KC(Y,gt.viewContainerRef,Et,gt.componentFactoryResolver));he.componentRef=Lt,he.componentInstance=Lt.instance}}_createInjector(Y,he,Ye,gt){var Et;const Lt=Y.injector||(null===(Et=Y.viewContainerRef)||void 0===Et?void 0:Et.injector),en=[{provide:xt,useValue:Y.data},{provide:Ne,useValue:he}];return Y.providers&&("function"==typeof Y.providers?en.push(...Y.providers(he,Y,Ye)):en.push(...Y.providers)),Y.direction&&(!Lt||!Lt.get(Me.yG,null,{optional:!0}))&&en.push({provide:Me.yG,useValue:{value:Y.direction,change:(0,Ce.of)()}}),D.zZn.create({parent:Lt||gt,providers:en})}_removeOpenDialog(Y,he){const Ye=this.openDialogs.indexOf(Y);Ye>-1&&(this.openDialogs.splice(Ye,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((gt,Et)=>{gt?Et.setAttribute("aria-hidden",gt):Et.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),he&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const Y=this._overlayContainer.getContainerElement();if(Y.parentElement){const he=Y.parentElement.children;for(let Ye=he.length-1;Ye>-1;Ye--){const gt=he[Ye];gt!==Y&&"SCRIPT"!==gt.nodeName&&"STYLE"!==gt.nodeName&&!gt.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(gt,gt.getAttribute("aria-hidden")),gt.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const Y=this._parentDialog;return Y?Y._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return(ee=Ie).\u0275fac=function(Y){return new(Y||ee)(D.CoB(a.mc),D.CoB(D.zZn),D.CoB(lt,8),D.CoB(ee,12),D.CoB(a.Y),D.CoB(ot))},ee.\u0275prov=D.wxM({token:ee,factory:ee.\u0275fac,providedIn:"root"}),Ie})();function ye(ee,Ie){let Ue=ee.length;for(;Ue--;)Ie(ee[Ue])}let re=(()=>{var ee;class Ie{}return(ee=Ie).\u0275fac=function(Y){return new(Y||ee)},ee.\u0275mod=D.a4G({type:ee}),ee.\u0275inj=D.s3X({providers:[G],imports:[a.Y1,z.g$,J.Ux,z.g$]}),Ie})();var ie=y(7712),me=y(3412),Xe=y(6684),pt=y(3992),Pt=y(3576);function on(ee,Ie){}y(9684);class vt{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.delayFocusTrap=!0,this.closeOnNavigation=!0}}const qe="mdc-dialog--open",De="mdc-dialog--opening",_e="mdc-dialog--closing";let ht=(()=>{var ee;class Ie extends Re{constructor(Y,he,Ye,gt,Et,Lt,en,sn,Dn){var bn,ai;super(Y,he,Ye,gt,Et,Lt,en,Dn),this._animationMode=sn,this._animationStateChanged=new D._w7,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?null!==(bn=Ft(this._config.enterAnimationDuration))&&void 0!==bn?bn:150:0,this._exitAnimationDuration=this._animationsEnabled?null!==(ai=Ft(this._config.exitAnimationDuration))&&void 0!==ai?ai: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(st,"".concat(this._enterAnimationDuration,"ms")),this._requestAnimationFrame(()=>this._hostElement.classList.add(De,qe)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(qe),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(qe),this._animationsEnabled?(this._hostElement.style.setProperty(st,"".concat(this._exitAnimationDuration,"ms")),this._requestAnimationFrame(()=>this._hostElement.classList.add(_e)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(Y){this._actionSectionCount+=Y,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(De,_e)}_waitForAnimationToComplete(Y,he){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(he,Y)}_requestAnimationFrame(Y){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(Y):Y()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(Y){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:Y})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(Y){const he=super.attachComponentPortal(Y);return he.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),he}}return(ee=Ie).\u0275fac=function(Y){return new(Y||ee)(D.GI1(D.GMv),D.GI1(J.G),D.GI1(s.Ud,8),D.GI1(vt),D.GI1(J.OE),D.GI1(D.WW2),D.GI1(a.aq),D.GI1(D.qwP,8),D.GI1(J.Kk))},ee.\u0275cmp=D.In1({type:ee,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(Y,he){2&Y&&(D.SoX("id",he._config.id),D.e48("aria-modal",he._config.ariaModal)("role",he._config.role)("aria-labelledby",he._config.ariaLabel?null:he._ariaLabelledByQueue[0])("aria-label",he._config.ariaLabel)("aria-describedby",he._config.ariaDescribedBy||null),D.eAK("_mat-animation-noopable",!he._animationsEnabled)("mat-mdc-dialog-container-with-actions",he._actionSectionCount>0))},standalone:!0,features:[D.eg9,D.UHJ],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(Y,he){1&Y&&(D.I0R(0,"div",0)(1,"div",1),D.yuY(2,on,0,0,"ng-template",2),D.C$Y()())},dependencies:[z.IP],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%;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;transform:scale(0.8)}.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--closing .mdc-dialog__surface{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{opacity:1}.mdc-dialog--open .mdc-dialog__surface{transform:none}.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:opacity linear var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container .mdc-dialog__surface{transition:transform var(--mat-dialog-transition-duration, 0ms) 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container,.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__surface{transition:none}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-title{padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{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}),Ie})();const st="--mat-dialog-transition-duration";function Ft(ee){return null==ee?null:"number"==typeof ee?ee:ee.endsWith("ms")?(0,ie.wZ)(ee.substring(0,ee.length-2)):ee.endsWith("s")?1e3*(0,ie.wZ)(ee.substring(0,ee.length-1)):"0"===ee?0:null}var Kt=function(ee){return ee[ee.OPEN=0]="OPEN",ee[ee.CLOSING=1]="CLOSING",ee[ee.CLOSED=2]="CLOSED",ee}(Kt||{});class ln{constructor(Ie,Ue,Y){this._ref=Ie,this._containerInstance=Y,this._afterOpened=new ve.E,this._beforeClosed=new ve.E,this._state=Kt.OPEN,this.disableClose=Ue.disableClose,this.id=Ie.id,Ie.addPanelClass("mat-mdc-dialog-panel"),Y._animationStateChanged.pipe((0,Xe.I)(he=>"opened"===he.state),(0,pt.U)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Y._animationStateChanged.pipe((0,Xe.I)(he=>"closed"===he.state),(0,pt.U)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Ie.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,me.U)(this.backdropClick(),this.keydownEvents().pipe((0,Xe.I)(he=>he.keyCode===ae.UX&&!this.disableClose&&!(0,ae.Yp)(he)))).subscribe(he=>{this.disableClose||(he.preventDefault(),Gt(this,"keydown"===he.type?"keyboard":"mouse"))})}close(Ie){this._result=Ie,this._containerInstance._animationStateChanged.pipe((0,Xe.I)(Ue=>"closing"===Ue.state),(0,pt.U)(1)).subscribe(Ue=>{this._beforeClosed.next(Ie),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),Ue.totalTime+100)}),this._state=Kt.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(Ie){let Ue=this._ref.config.positionStrategy;return Ie&&(Ie.left||Ie.right)?Ie.left?Ue.left(Ie.left):Ue.right(Ie.right):Ue.centerHorizontally(),Ie&&(Ie.top||Ie.bottom)?Ie.top?Ue.top(Ie.top):Ue.bottom(Ie.bottom):Ue.centerVertically(),this._ref.updatePosition(),this}updateSize(Ie="",Ue=""){return this._ref.updateSize(Ie,Ue),this}addPanelClass(Ie){return this._ref.addPanelClass(Ie),this}removePanelClass(Ie){return this._ref.removePanelClass(Ie),this}getState(){return this._state}_finishDialogClose(){this._state=Kt.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function Gt(ee,Ie,Ue){return ee._closeInteractionType=Ie,ee.close(Ue)}const ct=new D.UbH("MatMdcDialogData"),Zt=new D.UbH("mat-mdc-dialog-default-options"),Ut=new D.UbH("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const ee=(0,D.uUt)(a.mc);return()=>ee.scrollStrategies.block()}});let Ve=0,Te=(()=>{var ee;class Ie{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const Y=this._parentDialog;return Y?Y._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(Y,he,Ye,gt,Et,Lt,en,sn){this._overlay=Y,this._defaultOptions=gt,this._scrollStrategy=Et,this._parentDialog=Lt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ve.E,this._afterOpenedAtThisLevel=new ve.E,this.dialogConfigClass=vt,this.afterAllClosed=(0,te.Q)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,Pe.W)(void 0))),this._dialog=he.get(G),this._dialogRefConstructor=ln,this._dialogContainerType=ht,this._dialogDataToken=ct}open(Y,he){let Ye;(he={...this._defaultOptions||new vt,...he}).id=he.id||"mat-mdc-dialog-".concat(Ve++),he.scrollStrategy=he.scrollStrategy||this._scrollStrategy();const gt=this._dialog.open(Y,{...he,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:he},{provide:ke,useValue:he}]},templateContext:()=>({dialogRef:Ye}),providers:(Et,Lt,en)=>{var sn;return Ye=new this._dialogRefConstructor(Et,he,en),Ye.updatePosition(null===(sn=he)||void 0===sn?void 0:sn.position),[{provide:this._dialogContainerType,useValue:en},{provide:this._dialogDataToken,useValue:Lt.data},{provide:this._dialogRefConstructor,useValue:Ye}]}});return Ye.componentRef=gt.componentRef,Ye.componentInstance=gt.componentInstance,this.openDialogs.push(Ye),this.afterOpened.next(Ye),Ye.afterClosed().subscribe(()=>{const Et=this.openDialogs.indexOf(Ye);Et>-1&&(this.openDialogs.splice(Et,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Ye}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(Y){return this.openDialogs.find(he=>he.id===Y)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(Y){let he=Y.length;for(;he--;)Y[he].close()}}return(ee=Ie).\u0275fac=function(Y){return new(Y||ee)(D.CoB(a.mc),D.CoB(D.zZn),D.CoB(s.oB,8),D.CoB(Zt,8),D.CoB(Ut),D.CoB(ee,12),D.CoB(a.Y),D.CoB(D.qwP,8))},ee.\u0275prov=D.wxM({token:ee,factory:ee.\u0275fac,providedIn:"root"}),Ie})(),dt=0,$e=(()=>{var ee;class Ie{constructor(Y,he,Ye){this.dialogRef=Y,this._elementRef=he,this._dialog=Ye,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=qn(this._elementRef,this._dialog.openDialogs))}ngOnChanges(Y){const he=Y._matDialogClose||Y._matDialogCloseResult;he&&(this.dialogResult=he.currentValue)}_onButtonClick(Y){Gt(this.dialogRef,0===Y.screenX&&0===Y.screenY?"keyboard":"mouse",this.dialogResult)}}return(ee=Ie).\u0275fac=function(Y){return new(Y||ee)(D.GI1(ln,8),D.GI1(D.GMv),D.GI1(Te))},ee.\u0275dir=D.Sc5({type:ee,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(Y,he){1&Y&&D.qCj("click",function(gt){return he._onButtonClick(gt)}),2&Y&&D.e48("aria-label",he.ariaLabel||null)("type",he.type)},inputs:{ariaLabel:[D.Wk5.None,"aria-label","ariaLabel"],type:"type",dialogResult:[D.Wk5.None,"mat-dialog-close","dialogResult"],_matDialogClose:[D.Wk5.None,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[D.SYr]}),Ie})(),Mt=(()=>{var ee;class Ie{constructor(Y,he,Ye){this._dialogRef=Y,this._elementRef=he,this._dialog=Ye}ngOnInit(){this._dialogRef||(this._dialogRef=qn(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){var Y;(null===(Y=this._dialogRef)||void 0===Y?void 0:Y._containerInstance)&&Promise.resolve().then(()=>{this._onRemove()})}}return(ee=Ie).\u0275fac=function(Y){return new(Y||ee)(D.GI1(ln,8),D.GI1(D.GMv),D.GI1(Te))},ee.\u0275dir=D.Sc5({type:ee,standalone:!0}),Ie})(),Xt=(()=>{var ee;class Ie extends Mt{constructor(){super(...arguments),this.id="mat-mdc-dialog-title-".concat(dt++)}_onAdd(){var Y,he;null===(Y=this._dialogRef._containerInstance)||void 0===Y||null===(he=Y._addAriaLabelledBy)||void 0===he||he.call(Y,this.id)}_onRemove(){var Y,he;null===(Y=this._dialogRef)||void 0===Y||null===(Y=Y._containerInstance)||void 0===Y||null===(he=Y._removeAriaLabelledBy)||void 0===he||he.call(Y,this.id)}}return(ee=Ie).\u0275fac=(()=>{let Ue;return function(he){return(Ue||(Ue=D.otF(ee)))(he||ee)}})(),ee.\u0275dir=D.Sc5({type:ee,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(Y,he){2&Y&&D.SoX("id",he.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[D.eg9]}),Ie})(),gn=(()=>{var ee;class Ie{}return(ee=Ie).\u0275fac=function(Y){return new(Y||ee)},ee.\u0275dir=D.Sc5({type:ee,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0}),Ie})(),cn=(()=>{var ee;class Ie extends Mt{_onAdd(){var Y,he;null===(Y=this._dialogRef._containerInstance)||void 0===Y||null===(he=Y._updateActionSectionCount)||void 0===he||he.call(Y,1)}_onRemove(){var Y,he;null===(Y=this._dialogRef._containerInstance)||void 0===Y||null===(he=Y._updateActionSectionCount)||void 0===he||he.call(Y,-1)}}return(ee=Ie).\u0275fac=(()=>{let Ue;return function(he){return(Ue||(Ue=D.otF(ee)))(he||ee)}})(),ee.\u0275dir=D.Sc5({type:ee,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(Y,he){2&Y&&D.eAK("mat-mdc-dialog-actions-align-start","start"===he.align)("mat-mdc-dialog-actions-align-center","center"===he.align)("mat-mdc-dialog-actions-align-end","end"===he.align)},inputs:{align:"align"},standalone:!0,features:[D.eg9]}),Ie})();function qn(ee,Ie){let Ue=ee.nativeElement.parentElement;for(;Ue&&!Ue.classList.contains("mat-mdc-dialog-container");)Ue=Ue.parentElement;return Ue?Ie.find(Y=>Y.id===Ue.id):null}let P=(()=>{var ee;class Ie{}return(ee=Ie).\u0275fac=function(Y){return new(Y||ee)},ee.\u0275mod=D.a4G({type:ee}),ee.\u0275inj=D.s3X({providers:[Te],imports:[re,a.Y1,z.g$,Pt.AN,Pt.AN]}),Ie})()},6516:(Qe,fe,y)=>{y.d(fe,{Y$:()=>en,uY:()=>sn,Up:()=>V,u0:()=>Ye,wb:()=>$,w5:()=>Ve,Gm:()=>tt});var a=y(4496),s=y(1900),D=y(5792),J=y(6928),ce=y(5657),z=y(3412),ae=y(3616),ve=y(3252),te=y(6684),Ce=y(5960);class Me extends ce.E{constructor(O=1/0,B=1/0,N=Ce.K){super(),this._bufferSize=O,this._windowTime=B,this._timestampProvider=N,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=B===1/0,this._bufferSize=Math.max(1,O),this._windowTime=Math.max(1,B)}next(O){const{isStopped:B,_buffer:N,_infiniteTimeWindow:q,_timestampProvider:nt,_windowTime:xe}=this;B||(N.push(O),!q&&N.push(nt.now()+xe)),this._trimBuffer(),super.next(O)}_subscribe(O){this._throwIfClosed(),this._trimBuffer();const B=this._innerSubscribe(O),{_infiniteTimeWindow:N,_buffer:q}=this,nt=q.slice();for(let xe=0;xe{N.unsubscribe(),k()}});return(0,Pe.Uv)(O(...B)).subscribe(N)}class xt{constructor(O){this._box=O,this._destroyed=new ce.E,this._resizeSubject=new ce.E,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(B=>this._resizeSubject.next(B)))}observe(O){return this._elementObservables.has(O)||this._elementObservables.set(O,new ve._(B=>{var N;const q=this._resizeSubject.subscribe(B);return null===(N=this._resizeObserver)||void 0===N||N.observe(O,{box:this._box}),()=>{var nt;null===(nt=this._resizeObserver)||void 0===nt||nt.unobserve(O),q.unsubscribe(),this._elementObservables.delete(O)}}).pipe((0,te.I)(B=>B.some(N=>N.target===O)),function Ne(k,O,B){let N,q=!1;return k&&"object"==typeof k?({bufferSize:N=1/0,windowTime:O=1/0,refCount:q=!1,scheduler:B}=k):N=null!=k?k:1/0,function Be(k={}){const{connector:O=(()=>new ce.E),resetOnError:B=!0,resetOnComplete:N=!0,resetOnRefCountZero:q=!0}=k;return nt=>{let xe,be,Ae,de=0,Je=!1,Bt=!1;const Ht=()=>{null==be||be.unsubscribe(),be=void 0},Zn=()=>{Ht(),xe=Ae=void 0,Je=Bt=!1},ho=()=>{const On=xe;Zn(),null==On||On.unsubscribe()};return(0,ke.i)((On,jt)=>{de++,!Bt&&!Je&&Ht();const dn=Ae=null!=Ae?Ae:O();jt.add(()=>{de--,0===de&&!Bt&&!Je&&(be=Re(ho,q))}),dn.subscribe(jt),!xe&&de>0&&(xe=new et.ot({next:di=>dn.next(di),error:di=>{Bt=!0,Ht(),be=Re(Zn,B,di),dn.error(di)},complete:()=>{Je=!0,Ht(),be=Re(Zn,N),dn.complete()}}),(0,Pe.Uv)(On).subscribe(xe))})(nt)}}({connector:()=>new Me(N,O,B),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:q})}({bufferSize:1,refCount:!0}),(0,ae.a)(this._destroyed))),this._elementObservables.get(O)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let lt=(()=>{var k;class O{constructor(){this._observers=new Map,this._ngZone=(0,a.uUt)(a.WW2)}ngOnDestroy(){for(const[,N]of this._observers)N.destroy();this._observers.clear()}observe(N,q){const nt=(null==q?void 0:q.box)||"content-box";return this._observers.has(nt)||this._observers.set(nt,new xt(nt)),this._observers.get(nt).observe(N)}}return(k=O).\u0275fac=function(N){return new(N||k)},k.\u0275prov=a.wxM({token:k,factory:k.\u0275fac,providedIn:"root"}),O})();var Ge=y(7712),Oe=y(9684),X=y(1368),G=y(6640),ye=y(3576);const re=["notch"],ie=["matFormFieldNotchedOutline",""],me=["*"],Xe=["textField"],pt=["iconPrefixContainer"],Pt=["textPrefixContainer"];function Tt(k,O){1&k&&a.wR5(0,"span",16)}function on(k,O){if(1&k&&(a.I0R(0,"label",14),a._Xx(1,1),a.yuY(2,Tt,1,0,"span",15),a.C$Y()),2&k){const B=a.GaO(2);a.E7m("floating",B._shouldLabelFloat())("monitorResize",B._hasOutline())("id",B._labelId),a.e48("for",B._control.id),a.yG2(2),a.C0Y(2,!B.hideRequiredMarker&&B._control.required?2:-1)}}function vt(k,O){if(1&k&&a.yuY(0,on,3,5,"label",14),2&k){const B=a.GaO();a.C0Y(0,B._hasFloatingLabel()?0:-1)}}function qe(k,O){1&k&&a.wR5(0,"div",17)}function De(k,O){}function _e(k,O){if(1&k&&a.yuY(0,De,0,0,"ng-template",9),2&k){a.GaO(2);const B=a.Gew(1);a.E7m("ngTemplateOutlet",B)}}function Se(k,O){if(1&k&&(a.I0R(0,"div",5),a.yuY(1,_e,1,1,null,9),a.C$Y()),2&k){const B=a.GaO();a.E7m("matFormFieldNotchedOutlineOpen",B._shouldLabelFloat()),a.yG2(),a.C0Y(1,B._forceDisplayInfixLabel()?-1:1)}}function Ke(k,O){1&k&&(a.I0R(0,"div",18,19),a._Xx(2,2),a.C$Y())}function ht(k,O){1&k&&(a.I0R(0,"div",20,21),a._Xx(2,3),a.C$Y())}function st(k,O){}function Ft(k,O){if(1&k&&a.yuY(0,st,0,0,"ng-template",9),2&k){a.GaO();const B=a.Gew(1);a.E7m("ngTemplateOutlet",B)}}function Kt(k,O){1&k&&(a.I0R(0,"div",22),a._Xx(1,4),a.C$Y())}function ln(k,O){1&k&&(a.I0R(0,"div",23),a._Xx(1,5),a.C$Y())}function Gt(k,O){1&k&&a.wR5(0,"div",12)}function ct(k,O){if(1&k&&(a.I0R(0,"div",24),a._Xx(1,6),a.C$Y()),2&k){const B=a.GaO();a.E7m("@transitionMessages",B._subscriptAnimationState)}}function Zt(k,O){if(1&k&&(a.I0R(0,"mat-hint",26),a.OEk(1),a.C$Y()),2&k){const B=a.GaO(2);a.E7m("id",B._hintLabelId),a.yG2(),a.cNF(B.hintLabel)}}function Ut(k,O){if(1&k&&(a.I0R(0,"div",25),a.yuY(1,Zt,2,2,"mat-hint",26),a._Xx(2,7),a.wR5(3,"div",27),a._Xx(4,8),a.C$Y()),2&k){const B=a.GaO();a.E7m("@transitionMessages",B._subscriptAnimationState),a.yG2(),a.C0Y(1,B.hintLabel?1:-1)}}const le=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],pe=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let Ve=(()=>{var k;class O{}return(k=O).\u0275fac=function(N){return new(N||k)},k.\u0275dir=a.Sc5({type:k,selectors:[["mat-label"]],standalone:!0}),O})();const dt=new a.UbH("MatError");let Mt=0,Xt=(()=>{var k;class O{constructor(){this.align="start",this.id="mat-mdc-hint-".concat(Mt++)}}return(k=O).\u0275fac=function(N){return new(N||k)},k.\u0275dir=a.Sc5({type:k,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(N,q){2&N&&(a.SoX("id",q.id),a.e48("align",null),a.eAK("mat-mdc-form-field-hint-end","end"===q.align))},inputs:{align:"align",id:"id"},standalone:!0}),O})();const gn=new a.UbH("MatPrefix"),qn=new a.UbH("MatSuffix");let tt=(()=>{var k;class O{constructor(){this._isText=!1}set _isTextSelector(N){this._isText=!0}}return(k=O).\u0275fac=function(N){return new(N||k)},k.\u0275dir=a.Sc5({type:k,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[a.Wk5.None,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[a.M5G([{provide:qn,useExisting:k}])]}),O})();const P=new a.UbH("FloatingLabelParent");let Ee=(()=>{var k;class O{get floating(){return this._floating}set floating(N){this._floating=N,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(N){this._monitorResize=N,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(N){this._elementRef=N,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,a.uUt)(lt),this._ngZone=(0,a.uUt)(a.WW2),this._parent=(0,a.uUt)(P),this._resizeSubscription=new J.wH}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function se(k){if(null!==k.offsetParent)return k.scrollWidth;const B=k.cloneNode(!0);B.style.setProperty("position","absolute"),B.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(B);const N=B.scrollWidth;return B.remove(),N}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}}return(k=O).\u0275fac=function(N){return new(N||k)(a.GI1(a.GMv))},k.\u0275dir=a.Sc5({type:k,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(N,q){2&N&&a.eAK("mdc-floating-label--float-above",q.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0}),O})();const ee="mdc-line-ripple--active",Ie="mdc-line-ripple--deactivating";let Ue=(()=>{var k;class O{constructor(N,q){this._elementRef=N,this._handleTransitionEnd=nt=>{const xe=this._elementRef.nativeElement.classList,be=xe.contains(Ie);"opacity"===nt.propertyName&&be&&xe.remove(ee,Ie)},q.runOutsideAngular(()=>{N.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const N=this._elementRef.nativeElement.classList;N.remove(Ie),N.add(ee)}deactivate(){this._elementRef.nativeElement.classList.add(Ie)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return(k=O).\u0275fac=function(N){return new(N||k)(a.GI1(a.GMv),a.GI1(a.WW2))},k.\u0275dir=a.Sc5({type:k,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0}),O})(),Y=(()=>{var k;class O{constructor(N,q){this._elementRef=N,this._ngZone=q,this.open=!1}ngAfterViewInit(){const N=this._elementRef.nativeElement.querySelector(".mdc-floating-label");N?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(N.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>N.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(N){this._notch.nativeElement.style.width=this.open&&N?"calc(".concat(N,"px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)"):""}}return(k=O).\u0275fac=function(N){return new(N||k)(a.GI1(a.GMv),a.GI1(a.WW2))},k.\u0275cmp=a.In1({type:k,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(N,q){if(1&N&&a.CC$(re,5),2&N){let nt;a.wto(nt=a.Gqi())&&(q._notch=nt.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(N,q){2&N&&a.eAK("mdc-notched-outline--notched",q.open)},inputs:{open:[a.Wk5.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[a.UHJ],attrs:ie,ngContentSelectors:me,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(N,q){1&N&&(a.kPM(),a.wR5(0,"div",0),a.I0R(1,"div",1,2),a._Xx(3),a.C$Y(),a.wR5(4,"div",3))},encapsulation:2,changeDetection:0}),O})();const he={transitionMessages:(0,Oe.gV)("transitionMessages",[(0,Oe.K2)("enter",(0,Oe.wb)({opacity:1,transform:"translateY(0%)"})),(0,Oe.aK)("void => enter",[(0,Oe.wb)({opacity:0,transform:"translateY(-5px)"}),(0,Oe.Cs)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Ye=(()=>{var k;class O{}return(k=O).\u0275fac=function(N){return new(N||k)},k.\u0275dir=a.Sc5({type:k}),O})();const en=new a.UbH("MatFormField"),sn=new a.UbH("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Dn=0,V=(()=>{var k;class O{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(N){this._hideRequiredMarker=(0,Ge.W6)(N)}get floatLabel(){var N;return this._floatLabel||(null===(N=this._defaults)||void 0===N?void 0:N.floatLabel)||"auto"}set floatLabel(N){N!==this._floatLabel&&(this._floatLabel=N,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(N){var q;const nt=this._appearance,xe=N||(null===(q=this._defaults)||void 0===q?void 0:q.appearance)||"fill";this._appearance=xe,"outline"===this._appearance&&this._appearance!==nt&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){var N;return this._subscriptSizing||(null===(N=this._defaults)||void 0===N?void 0:N.subscriptSizing)||"fixed"}set subscriptSizing(N){var q;this._subscriptSizing=N||(null===(q=this._defaults)||void 0===q?void 0:q.subscriptSizing)||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(N){this._hintLabel=N,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(N){this._explicitFormFieldControl=N}constructor(N,q,nt,xe,be,Ae,de,Je){this._elementRef=N,this._changeDetectorRef=q,this._ngZone=nt,this._dir=xe,this._platform=be,this._defaults=Ae,this._animationMode=de,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-".concat(Dn++),this._hintLabelId="mat-mdc-hint-".concat(Dn++),this._subscriptAnimationState="",this._destroyed=new ce.E,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,Ae&&(Ae.appearance&&(this.appearance=Ae.appearance),this._hideRequiredMarker=!(null==Ae||!Ae.hideRequiredMarker),Ae.color&&(this.color=Ae.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const N=this._control;N.controlType&&this._elementRef.nativeElement.classList.add("mat-mdc-form-field-type-".concat(N.controlType)),N.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),N.ngControl&&N.ngControl.valueChanges&&N.ngControl.valueChanges.pipe((0,ae.a)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(N=>!N._isText),this._hasTextPrefix=!!this._prefixChildren.find(N=>N._isText),this._hasIconSuffix=!!this._suffixChildren.find(N=>!N._isText),this._hasTextSuffix=!!this._suffixChildren.find(N=>N._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,z.U)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){var N,q;if(this._control.focused&&!this._isFocused)this._isFocused=!0,null===(q=this._lineRipple)||void 0===q||q.activate();else if(!this._control.focused&&(this._isFocused||null===this._isFocused)){var nt;this._isFocused=!1,null===(nt=this._lineRipple)||void 0===nt||nt.deactivate()}null===(N=this._textField)||void 0===N||N.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,ae.a)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,ae.a)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(N){const q=this._control?this._control.ngControl:null;return q&&q[N]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){var q,N;this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?null===(q=this._notchedOutline)||void 0===q||q._setNotchWidth(this._floatingLabel.getWidth()):null===(N=this._notchedOutline)||void 0===N||N._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let N=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&N.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const q=this._hintChildren?this._hintChildren.find(xe=>"start"===xe.align):null,nt=this._hintChildren?this._hintChildren.find(xe=>"end"===xe.align):null;q?N.push(q.id):this._hintLabel&&N.push(this._hintLabelId),nt&&N.push(nt.id)}else this._errorChildren&&N.push(...this._errorChildren.map(q=>q.id));this._control.setDescribedByIds(N)}}_updateOutlineLabelOffset(){var N,q,nt,xe;if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const be=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(be.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const Ae=null===(N=this._iconPrefixContainer)||void 0===N?void 0:N.nativeElement,de=null===(q=this._textPrefixContainer)||void 0===q?void 0:q.nativeElement,Je=null!==(nt=null==Ae?void 0:Ae.getBoundingClientRect().width)&&void 0!==nt?nt:0,Bt=null!==(xe=null==de?void 0:de.getBoundingClientRect().width)&&void 0!==xe?xe:0,Ht="rtl"===this._dir.value?"-1":"1",Zn="".concat(Je+Bt,"px"),On="calc(".concat(Ht," * (").concat(Zn," + ").concat("var(--mat-mdc-form-field-label-offset-x, 0px)","))");be.style.transform="var(\n --mat-mdc-form-field-label-transform,\n ".concat("translateY(-50%)"," translateX(").concat(On,")\n )")}_isAttachedToDom(){const N=this._elementRef.nativeElement;if(N.getRootNode){const q=N.getRootNode();return q&&q!==N}return document.documentElement.contains(N)}}return(k=O).\u0275fac=function(N){return new(N||k)(a.GI1(a.GMv),a.GI1(a.kD9),a.GI1(a.WW2),a.GI1(s.yG),a.GI1(D.WU),a.GI1(sn,8),a.GI1(a.qwP,8),a.GI1(X.Ud))},k.\u0275cmp=a.In1({type:k,selectors:[["mat-form-field"]],contentQueries:function(N,q,nt){if(1&N&&(a.szK(nt,Ve,5),a.szK(nt,Ve,7),a.szK(nt,Ye,5),a.szK(nt,gn,5),a.szK(nt,qn,5),a.szK(nt,dt,5),a.szK(nt,Xt,5)),2&N){let xe;a.wto(xe=a.Gqi())&&(q._labelChildNonStatic=xe.first),a.wto(xe=a.Gqi())&&(q._labelChildStatic=xe.first),a.wto(xe=a.Gqi())&&(q._formFieldControl=xe.first),a.wto(xe=a.Gqi())&&(q._prefixChildren=xe),a.wto(xe=a.Gqi())&&(q._suffixChildren=xe),a.wto(xe=a.Gqi())&&(q._errorChildren=xe),a.wto(xe=a.Gqi())&&(q._hintChildren=xe)}},viewQuery:function(N,q){if(1&N&&(a.CC$(Xe,5),a.CC$(pt,5),a.CC$(Pt,5),a.CC$(Ee,5),a.CC$(Y,5),a.CC$(Ue,5)),2&N){let nt;a.wto(nt=a.Gqi())&&(q._textField=nt.first),a.wto(nt=a.Gqi())&&(q._iconPrefixContainer=nt.first),a.wto(nt=a.Gqi())&&(q._textPrefixContainer=nt.first),a.wto(nt=a.Gqi())&&(q._floatingLabel=nt.first),a.wto(nt=a.Gqi())&&(q._notchedOutline=nt.first),a.wto(nt=a.Gqi())&&(q._lineRipple=nt.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(N,q){2&N&&a.eAK("mat-mdc-form-field-label-always-float",q._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",q._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",q._hasIconSuffix)("mat-form-field-invalid",q._control.errorState)("mat-form-field-disabled",q._control.disabled)("mat-form-field-autofilled",q._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===q._animationMode)("mat-form-field-appearance-fill","fill"==q.appearance)("mat-form-field-appearance-outline","outline"==q.appearance)("mat-form-field-hide-placeholder",q._hasFloatingLabel()&&!q._shouldLabelFloat())("mat-focused",q._control.focused)("mat-primary","accent"!==q.color&&"warn"!==q.color)("mat-accent","accent"===q.color)("mat-warn","warn"===q.color)("ng-untouched",q._shouldForward("untouched"))("ng-touched",q._shouldForward("touched"))("ng-pristine",q._shouldForward("pristine"))("ng-dirty",q._shouldForward("dirty"))("ng-valid",q._shouldForward("valid"))("ng-invalid",q._shouldForward("invalid"))("ng-pending",q._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[a.M5G([{provide:en,useExisting:k},{provide:P,useExisting:k}]),a.UHJ],ngContentSelectors:pe,decls:18,vars:21,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],["class","mat-mdc-form-field-icon-prefix"],["class","mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],["class","mat-mdc-form-field-text-suffix"],["class","mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(N,q){if(1&N&&(a.kPM(le),a.yuY(0,vt,1,1,"ng-template",null,0,a.gJz),a.I0R(2,"div",1,2),a.qCj("click",function(xe){return q._control.onContainerClick(xe)}),a.yuY(4,qe,1,0,"div",3),a.I0R(5,"div",4),a.yuY(6,Se,2,2,"div",5)(7,Ke,3,0,"div",6)(8,ht,3,0,"div",7),a.I0R(9,"div",8),a.yuY(10,Ft,1,1,null,9),a._Xx(11),a.C$Y(),a.yuY(12,Kt,2,0,"div",10)(13,ln,2,0,"div",11),a.C$Y(),a.yuY(14,Gt,1,0,"div",12),a.C$Y(),a.I0R(15,"div",13),a.yuY(16,ct,2,1)(17,Ut,5,2),a.C$Y()),2&N){let nt;a.yG2(2),a.eAK("mdc-text-field--filled",!q._hasOutline())("mdc-text-field--outlined",q._hasOutline())("mdc-text-field--no-label",!q._hasFloatingLabel())("mdc-text-field--disabled",q._control.disabled)("mdc-text-field--invalid",q._control.errorState),a.yG2(2),a.C0Y(4,q._hasOutline()||q._control.disabled?-1:4),a.yG2(2),a.C0Y(6,q._hasOutline()?6:-1),a.yG2(),a.C0Y(7,q._hasIconPrefix?7:-1),a.yG2(),a.C0Y(8,q._hasTextPrefix?8:-1),a.yG2(2),a.C0Y(10,!q._hasOutline()||q._forceDisplayInfixLabel()?10:-1),a.yG2(2),a.C0Y(12,q._hasTextSuffix?12:-1),a.yG2(),a.C0Y(13,q._hasIconSuffix?13:-1),a.yG2(),a.C0Y(14,q._hasOutline()?-1:14),a.yG2(),a.eAK("mat-mdc-form-field-subscript-dynamic-size","dynamic"===q.subscriptSizing),a.yG2(),a.C0Y(16,"error"===(nt=q._getDisplayedMessages())?16:"hint"===nt?17:-1)}},dependencies:[Ee,Y,X.XV,Ue,Xt],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[he.transitionMessages]},changeDetection:0}),O})(),$=(()=>{var k;class O{}return(k=O).\u0275fac=function(N){return new(N||k)},k.\u0275mod=a.a4G({type:k}),k.\u0275inj=a.s3X({imports:[ye.AN,X.MD,G.IT,ye.AN]}),O})()},7536:(Qe,fe,y)=>{y.d(fe,{yi:()=>ot,cN:()=>xt});var a=y(7712),s=y(5792),D=y(4496),J=y(8960),ce=y(5657);const z=(0,s.W4)({passive:!0});let ae=(()=>{var lt;class Ge{constructor(X,G){this._platform=X,this._ngZone=G,this._monitoredElements=new Map}monitor(X){if(!this._platform.isBrowser)return J.k;const G=(0,a.mk)(X),ye=this._monitoredElements.get(G);if(ye)return ye.subject;const re=new ce.E,ie="cdk-text-field-autofilled",me=Xe=>{"cdk-text-field-autofill-start"!==Xe.animationName||G.classList.contains(ie)?"cdk-text-field-autofill-end"===Xe.animationName&&G.classList.contains(ie)&&(G.classList.remove(ie),this._ngZone.run(()=>re.next({target:Xe.target,isAutofilled:!1}))):(G.classList.add(ie),this._ngZone.run(()=>re.next({target:Xe.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{G.addEventListener("animationstart",me,z),G.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(G,{subject:re,unlisten:()=>{G.removeEventListener("animationstart",me,z)}}),re}stopMonitoring(X){const G=(0,a.mk)(X),ye=this._monitoredElements.get(G);ye&&(ye.unlisten(),ye.subject.complete(),G.classList.remove("cdk-text-field-autofill-monitored"),G.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(G))}ngOnDestroy(){this._monitoredElements.forEach((X,G)=>this.stopMonitoring(G))}}return(lt=Ge).\u0275fac=function(X){return new(X||lt)(D.CoB(s.WU),D.CoB(D.WW2))},lt.\u0275prov=D.wxM({token:lt,factory:lt.\u0275fac,providedIn:"root"}),Ge})(),Ce=(()=>{var lt;class Ge{}return(lt=Ge).\u0275fac=function(X){return new(X||lt)},lt.\u0275mod=D.a4G({type:lt}),lt.\u0275inj=D.s3X({}),Ge})();var Me=y(4716),Pe=y(3576),et=y(6516);const Be=new D.UbH("MAT_INPUT_VALUE_ACCESSOR"),Re=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Ne=0,ot=(()=>{var lt;class Ge{get disabled(){return this._disabled}set disabled(X){this._disabled=(0,a.W6)(X),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(X){this._id=X||this._uid}get required(){var X,G,ye;return null!==(X=null!==(G=this._required)&&void 0!==G?G:null===(ye=this.ngControl)||void 0===ye||null===(ye=ye.control)||void 0===ye?void 0:ye.hasValidator(Me.AQ.required))&&void 0!==X&&X}set required(X){this._required=(0,a.W6)(X)}get type(){return this._type}set type(X){this._type=X||"text",this._validateType(),!this._isTextarea&&(0,s.mU)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(X){this._errorStateTracker.matcher=X}get value(){return this._inputValueAccessor.value}set value(X){X!==this.value&&(this._inputValueAccessor.value=X,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(X){this._readonly=(0,a.W6)(X)}get errorState(){return this._errorStateTracker.errorState}set errorState(X){this._errorStateTracker.errorState=X}constructor(X,G,ye,re,ie,me,Xe,pt,Pt,Tt){this._elementRef=X,this._platform=G,this.ngControl=ye,this._autofillMonitor=pt,this._formField=Tt,this._uid="mat-input-".concat(Ne++),this.focused=!1,this.stateChanges=new ce.E,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(qe=>(0,s.mU)().has(qe)),this._iOSKeyupListener=qe=>{const De=qe.target;!De.value&&0===De.selectionStart&&0===De.selectionEnd&&(De.setSelectionRange(1,1),De.setSelectionRange(0,0))};const on=this._elementRef.nativeElement,vt=on.nodeName.toLowerCase();this._inputValueAccessor=Xe||on,this._previousNativeValue=this.value,this.id=this.id,G.IOS&&Pt.runOutsideAngular(()=>{X.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Pe.mY(me,ye,ie,re,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===vt,this._isTextarea="textarea"===vt,this._isInFormField=!!Tt,this._isNativeSelect&&(this.controlType=on.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(X=>{this.autofilled=X.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(X){this._elementRef.nativeElement.focus(X)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(X){X!==this.focused&&(this.focused=X,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const X=this._elementRef.nativeElement.value;this._previousNativeValue!==X&&(this._previousNativeValue=X,this.stateChanges.next())}_dirtyCheckPlaceholder(){const X=this._getPlaceholder();if(X!==this._previousPlaceholder){const G=this._elementRef.nativeElement;this._previousPlaceholder=X,X?G.setAttribute("placeholder",X):G.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Re.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let X=this._elementRef.nativeElement.validity;return X&&X.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const X=this._elementRef.nativeElement,G=X.options[0];return this.focused||X.multiple||!this.empty||!!(X.selectedIndex>-1&&G&&G.label)}return this.focused||!this.empty}setDescribedByIds(X){X.length?this._elementRef.nativeElement.setAttribute("aria-describedby",X.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const X=this._elementRef.nativeElement;return this._isNativeSelect&&(X.multiple||X.size>1)}}return(lt=Ge).\u0275fac=function(X){return new(X||lt)(D.GI1(D.GMv),D.GI1(s.WU),D.GI1(Me.eq,10),D.GI1(Me.SC,8),D.GI1(Me.uW,8),D.GI1(Pe.u9),D.GI1(Be,10),D.GI1(ae),D.GI1(D.WW2),D.GI1(et.Y$,8))},lt.\u0275dir=D.Sc5({type:lt,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(X,G){1&X&&D.qCj("focus",function(){return G._focusChanged(!0)})("blur",function(){return G._focusChanged(!1)})("input",function(){return G._onInput()}),2&X&&(D.SoX("id",G.id)("disabled",G.disabled)("required",G.required),D.e48("name",G.name||null)("readonly",G.readonly&&!G._isNativeSelect||null)("aria-invalid",G.empty&&G.required?null:G.errorState)("aria-required",G.required)("id",G.id),D.eAK("mat-input-server",G._isServer)("mat-mdc-form-field-textarea-control",G._isInFormField&&G._isTextarea)("mat-mdc-form-field-input-control",G._isInFormField)("mdc-text-field__input",G._isInFormField)("mat-mdc-native-select-inline",G._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[D.Wk5.None,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[D.M5G([{provide:et.u0,useExisting:lt}]),D.SYr]}),Ge})(),xt=(()=>{var lt;class Ge{}return(lt=Ge).\u0275fac=function(X){return new(X||lt)},lt.\u0275mod=D.a4G({type:lt}),lt.\u0275inj=D.s3X({imports:[Pe.AN,et.wb,et.wb,Ce,Pe.AN]}),Ge})()},2096:(Qe,fe,y)=>{y.d(fe,{d5:()=>Gt,kX:()=>Kt});var a=y(68),s=y(1368),D=y(4496),J=y(3576),ce=y(6516),z=y(3572),ae=y(4723),ve=y(1900),te=y(1032),Ce=y(7800),Me=y(4716),Pe=y(5657),et=y(1424),ke=y(3412),Be=y(5568),Re=y(7368),Ne=y(3992),ot=y(6684),xt=y(4704),lt=y(4e3),Ge=y(3616),Oe=y(9684);const X=["trigger"],G=["panel"];function ye(ct,Zt){if(1&ct&&(D.I0R(0,"span",9),D.OEk(1),D.C$Y()),2&ct){const Ut=D.GaO();D.yG2(),D.cNF(Ut.placeholder)}}function re(ct,Zt){1&ct&&D._Xx(0)}function ie(ct,Zt){if(1&ct&&(D.I0R(0,"span",11),D.OEk(1),D.C$Y()),2&ct){const Ut=D.GaO(2);D.yG2(),D.cNF(Ut.triggerValue)}}function me(ct,Zt){if(1&ct&&(D.I0R(0,"span",10),D.yuY(1,re,1,0)(2,ie,2,1),D.C$Y()),2&ct){const Ut=D.GaO();D.yG2(),D.C0Y(1,Ut.customTrigger?1:2)}}function Xe(ct,Zt){if(1&ct){const Ut=D.KQA();D.S2Z(),D.gRP(),D.I0R(0,"div",12,13),D.qCj("@transformPanel.done",function(pe){D.usT(Ut);const Ve=D.GaO();return D.CGJ(Ve._panelDoneAnimatingStream.next(pe.toState))})("keydown",function(pe){D.usT(Ut);const Ve=D.GaO();return D.CGJ(Ve._handleKeydown(pe))}),D._Xx(2,1),D.C$Y()}if(2&ct){const Ut=D.GaO();D.uQ9("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",Ut._getPanelTheme(),""),D.E7m("ngClass",Ut.panelClass)("@transformPanel","showing"),D.e48("id",Ut.id+"-panel")("aria-multiselectable",Ut.multiple)("aria-label",Ut.ariaLabel||null)("aria-labelledby",Ut._getPanelAriaLabelledby())}}const pt=[[["mat-select-trigger"]],"*"],Pt=["mat-select-trigger","*"],Tt={transformPanelWrap:(0,Oe.gV)("transformPanelWrap",[(0,Oe.aK)("* => void",(0,Oe.kt)("@transformPanel",[(0,Oe.Ql)()],{optional:!0}))]),transformPanel:(0,Oe.gV)("transformPanel",[(0,Oe.K2)("void",(0,Oe.wb)({opacity:0,transform:"scale(1, 0.8)"})),(0,Oe.aK)("void => showing",(0,Oe.Cs)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Oe.wb)({opacity:1,transform:"scale(1, 1)"}))),(0,Oe.aK)("* => void",(0,Oe.Cs)("100ms linear",(0,Oe.wb)({opacity:0})))])};let De=0;const _e=new D.UbH("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const ct=(0,D.uUt)(a.mc);return()=>ct.scrollStrategies.reposition()}}),Ke=new D.UbH("MAT_SELECT_CONFIG"),ht={provide:_e,deps:[a.mc],useFactory:function Se(ct){return()=>ct.scrollStrategies.reposition()}},st=new D.UbH("MatSelectTrigger");class Ft{constructor(Zt,Ut){this.source=Zt,this.value=Ut}}let Kt=(()=>{var ct;class Zt{_scrollOptionIntoView(le){const pe=this.options.toArray()[le];if(pe){const Ve=this.panel.nativeElement,Te=(0,J.aq)(le,this.options,this.optionGroups),dt=pe._getHostElement();Ve.scrollTop=0===le&&1===Te?0:(0,J.ms)(dt.offsetTop,dt.offsetHeight,Ve.scrollTop,Ve.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(le){return new Ft(this,le)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(le){this._hideSingleSelectionIndicator=le,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(le){this._placeholder=le,this.stateChanges.next()}get required(){var le,pe,Ve;return null!==(le=null!==(pe=this._required)&&void 0!==pe?pe:null===(Ve=this.ngControl)||void 0===Ve||null===(Ve=Ve.control)||void 0===Ve?void 0:Ve.hasValidator(Me.AQ.required))&&void 0!==le&&le}set required(le){this._required=le,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(le){this._multiple=le}get compareWith(){return this._compareWith}set compareWith(le){this._compareWith=le,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(le){this._assignValue(le)&&this._onChange(le)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(le){this._errorStateTracker.matcher=le}get id(){return this._id}set id(le){this._id=le||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(le){this._errorStateTracker.errorState=le}constructor(le,pe,Ve,Te,dt,$e,Mt,Xt,gn,cn,qn,tt,P,Ee){var se,ee,Ie,Ue,Y;this._viewportRuler=le,this._changeDetectorRef=pe,this._ngZone=Ve,this._elementRef=dt,this._dir=$e,this._parentFormField=gn,this.ngControl=cn,this._liveAnnouncer=P,this._defaultOptions=Ee,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(he,Ye)=>he===Ye,this._uid="mat-select-".concat(De++),this._triggerAriaLabelledBy=null,this._destroy=new Pe.E,this.stateChanges=new Pe.E,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-".concat(De++),this._panelDoneAnimatingStream=new Pe.E,this._overlayPanelClass=(null===(se=this._defaultOptions)||void 0===se?void 0:se.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=null!==(ee=null===(Ie=this._defaultOptions)||void 0===Ie?void 0:Ie.hideSingleSelectionIndicator)&&void 0!==ee&&ee,this._multiple=!1,this.disableOptionCentering=null!==(Ue=null===(Y=this._defaultOptions)||void 0===Y?void 0:Y.disableOptionCentering)&&void 0!==Ue&&Ue,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this.optionSelectionChanges=(0,et.Q)(()=>{const he=this.options;return he?he.changes.pipe((0,Be.W)(he),(0,Re.G)(()=>(0,ke.U)(...he.map(Ye=>Ye.onSelectionChange)))):this._ngZone.onStable.pipe((0,Ne.U)(1),(0,Re.G)(()=>this.optionSelectionChanges))}),this.openedChange=new D._w7,this._openedStream=this.openedChange.pipe((0,ot.I)(he=>he),(0,xt.k)(()=>{})),this._closedStream=this.openedChange.pipe((0,ot.I)(he=>!he),(0,xt.k)(()=>{})),this.selectionChange=new D._w7,this.valueChange=new D._w7,this._trackedModal=null,this._skipPredicate=he=>!this.panelOpen&&he.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==Ee?void 0:Ee.typeaheadDebounceInterval)&&(this.typeaheadDebounceInterval=Ee.typeaheadDebounceInterval),this._errorStateTracker=new J.mY(Te,cn,Xt,Mt,this.stateChanges),this._scrollStrategyFactory=tt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(qn)||0,this.id=this.id}ngOnInit(){this._selectionModel=new te.e2(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,lt.a)(),(0,Ge.a)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe((0,Ge.a)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,Ge.a)(this._destroy)).subscribe(le=>{le.added.forEach(pe=>pe.select()),le.removed.forEach(pe=>pe.deselect())}),this.options.changes.pipe((0,Be.W)(null),(0,Ge.a)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const le=this._getTriggerAriaLabelledby(),pe=this.ngControl;if(le!==this._triggerAriaLabelledBy){const Ve=this._elementRef.nativeElement;this._triggerAriaLabelledBy=le,le?Ve.setAttribute("aria-labelledby",le):Ve.removeAttribute("aria-labelledby")}pe&&(this._previousControl!==pe.control&&(void 0!==this._previousControl&&null!==pe.disabled&&pe.disabled!==this.disabled&&(this.disabled=pe.disabled),this._previousControl=pe.control),this.updateErrorState())}ngOnChanges(le){(le.disabled||le.userAriaDescribedBy)&&this.stateChanges.next(),le.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){var le;null===(le=this._keyManager)||void 0===le||le.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){const le=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!le)return;const pe="".concat(this.id,"-panel");this._trackedModal&&(0,ae.Cs)(this._trackedModal,"aria-owns",pe),(0,ae.AZ)(le,"aria-owns",pe),this._trackedModal=le}_clearFromModal(){if(!this._trackedModal)return;const le="".concat(this.id,"-panel");(0,ae.Cs)(this._trackedModal,"aria-owns",le),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(le){this._assignValue(le)}registerOnChange(le){this._onChange=le}registerOnTouched(le){this._onTouched=le}setDisabledState(le){this.disabled=le,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var le,pe;return this.multiple?(null===(le=this._selectionModel)||void 0===le?void 0:le.selected)||[]:null===(pe=this._selectionModel)||void 0===pe?void 0:pe.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const le=this._selectionModel.selected.map(pe=>pe.viewValue);return this._isRtl()&&le.reverse(),le.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(le){this.disabled||(this.panelOpen?this._handleOpenKeydown(le):this._handleClosedKeydown(le))}_handleClosedKeydown(le){const pe=le.keyCode,Ve=pe===Ce.Oq||pe===Ce.qI||pe===Ce.Mx||pe===Ce.a4,Te=pe===Ce.wJ||pe===Ce.Gi,dt=this._keyManager;if(!dt.isTyping()&&Te&&!(0,Ce.Yp)(le)||(this.multiple||le.altKey)&&Ve)le.preventDefault(),this.open();else if(!this.multiple){const $e=this.selected;dt.onKeydown(le);const Mt=this.selected;Mt&&$e!==Mt&&this._liveAnnouncer.announce(Mt.viewValue,1e4)}}_handleOpenKeydown(le){const pe=this._keyManager,Ve=le.keyCode,Te=Ve===Ce.Oq||Ve===Ce.qI,dt=pe.isTyping();if(Te&&le.altKey)le.preventDefault(),this.close();else if(dt||Ve!==Ce.wJ&&Ve!==Ce.Gi||!pe.activeItem||(0,Ce.Yp)(le))if(!dt&&this._multiple&&Ve===Ce.A&&le.ctrlKey){le.preventDefault();const $e=this.options.some(Mt=>!Mt.disabled&&!Mt.selected);this.options.forEach(Mt=>{Mt.disabled||($e?Mt.select():Mt.deselect())})}else{const $e=pe.activeItemIndex;pe.onKeydown(le),this._multiple&&Te&&le.shiftKey&&pe.activeItem&&pe.activeItemIndex!==$e&&pe.activeItem._selectViaInteraction()}else le.preventDefault(),pe.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){var le;this._focused=!1,null===(le=this._keyManager)||void 0===le||le.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,Ne.U)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(le){if(this.options.forEach(pe=>pe.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&le)Array.isArray(le),le.forEach(pe=>this._selectOptionByValue(pe)),this._sortValues();else{const pe=this._selectOptionByValue(le);pe?this._keyManager.updateActiveItem(pe):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(le){const pe=this.options.find(Ve=>{if(this._selectionModel.isSelected(Ve))return!1;try{return null!=Ve.value&&this._compareWith(Ve.value,le)}catch{return!1}});return pe&&this._selectionModel.select(pe),pe}_assignValue(le){return!!(le!==this._value||this._multiple&&Array.isArray(le))&&(this.options&&this._setSelectionByValue(le),this._value=le,!0)}_getOverlayWidth(le){return"auto"===this.panelWidth?(le instanceof a.wW?le.elementRef:le||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const le of this.options)le._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new ae.mJ(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const le=(0,ke.U)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,Ge.a)(le)).subscribe(pe=>{this._onSelect(pe.source,pe.isUserInput),pe.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,ke.U)(...this.options.map(pe=>pe._stateChanges)).pipe((0,Ge.a)(le)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(le,pe){const Ve=this._selectionModel.isSelected(le);null!=le.value||this._multiple?(Ve!==le.selected&&(le.selected?this._selectionModel.select(le):this._selectionModel.deselect(le)),pe&&this._keyManager.setActiveItem(le),this.multiple&&(this._sortValues(),pe&&this.focus())):(le.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(le.value)),Ve!==this._selectionModel.isSelected(le)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const le=this.options.toArray();this._selectionModel.sort((pe,Ve)=>this.sortComparator?this.sortComparator(pe,Ve,le):le.indexOf(pe)-le.indexOf(Ve)),this.stateChanges.next()}}_propagateChanges(le){let pe;pe=this.multiple?this.selected.map(Ve=>Ve.value):this.selected?this.selected.value:le,this._value=pe,this.valueChange.emit(pe),this._onChange(pe),this.selectionChange.emit(this._getChangeEvent(pe)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let le=-1;for(let pe=0;pe0}focus(le){this._elementRef.nativeElement.focus(le)}_getPanelAriaLabelledby(){var le;if(this.ariaLabel)return null;const pe=null===(le=this._parentFormField)||void 0===le?void 0:le.getLabelId();return this.ariaLabelledby?(pe?pe+" ":"")+this.ariaLabelledby:pe}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var le;if(this.ariaLabel)return null;const pe=null===(le=this._parentFormField)||void 0===le?void 0:le.getLabelId();let Ve=(pe?pe+" ":"")+this._valueId;return this.ariaLabelledby&&(Ve+=" "+this.ariaLabelledby),Ve}_panelDoneAnimating(le){this.openedChange.emit(le)}setDescribedByIds(le){le.length?this._elementRef.nativeElement.setAttribute("aria-describedby",le.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}}return(ct=Zt).\u0275fac=function(le){return new(le||ct)(D.GI1(z.S8),D.GI1(D.kD9),D.GI1(D.WW2),D.GI1(J.u9),D.GI1(D.GMv),D.GI1(ve.yG,8),D.GI1(Me.SC,8),D.GI1(Me.uW,8),D.GI1(ce.Y$,8),D.GI1(Me.eq,10),D.gJ8("tabindex"),D.GI1(_e),D.GI1(ae.mE),D.GI1(Ke,8))},ct.\u0275cmp=D.In1({type:ct,selectors:[["mat-select"]],contentQueries:function(le,pe,Ve){if(1&le&&(D.szK(Ve,st,5),D.szK(Ve,J.I5,5),D.szK(Ve,J.KG,5)),2&le){let Te;D.wto(Te=D.Gqi())&&(pe.customTrigger=Te.first),D.wto(Te=D.Gqi())&&(pe.options=Te),D.wto(Te=D.Gqi())&&(pe.optionGroups=Te)}},viewQuery:function(le,pe){if(1&le&&(D.CC$(X,5),D.CC$(G,5),D.CC$(a.eC,5)),2&le){let Ve;D.wto(Ve=D.Gqi())&&(pe.trigger=Ve.first),D.wto(Ve=D.Gqi())&&(pe.panel=Ve.first),D.wto(Ve=D.Gqi())&&(pe._overlayDir=Ve.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(le,pe){1&le&&D.qCj("keydown",function(Te){return pe._handleKeydown(Te)})("focus",function(){return pe._onFocus()})("blur",function(){return pe._onBlur()}),2&le&&(D.e48("id",pe.id)("tabindex",pe.disabled?-1:pe.tabIndex)("aria-controls",pe.panelOpen?pe.id+"-panel":null)("aria-expanded",pe.panelOpen)("aria-label",pe.ariaLabel||null)("aria-required",pe.required.toString())("aria-disabled",pe.disabled.toString())("aria-invalid",pe.errorState)("aria-activedescendant",pe._getAriaActiveDescendant()),D.eAK("mat-mdc-select-disabled",pe.disabled)("mat-mdc-select-invalid",pe.errorState)("mat-mdc-select-required",pe.required)("mat-mdc-select-empty",pe.empty)("mat-mdc-select-multiple",pe.multiple))},inputs:{userAriaDescribedBy:[D.Wk5.None,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[D.Wk5.HasDecoratorInputTransform,"disabled","disabled",D.cZD],disableRipple:[D.Wk5.HasDecoratorInputTransform,"disableRipple","disableRipple",D.cZD],tabIndex:[D.Wk5.HasDecoratorInputTransform,"tabIndex","tabIndex",Ut=>null==Ut?0:(0,D.cJ3)(Ut)],hideSingleSelectionIndicator:[D.Wk5.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",D.cZD],placeholder:"placeholder",required:[D.Wk5.HasDecoratorInputTransform,"required","required",D.cZD],multiple:[D.Wk5.HasDecoratorInputTransform,"multiple","multiple",D.cZD],disableOptionCentering:[D.Wk5.HasDecoratorInputTransform,"disableOptionCentering","disableOptionCentering",D.cZD],compareWith:"compareWith",value:"value",ariaLabel:[D.Wk5.None,"aria-label","ariaLabel"],ariaLabelledby:[D.Wk5.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[D.Wk5.HasDecoratorInputTransform,"typeaheadDebounceInterval","typeaheadDebounceInterval",D.cJ3],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[D.M5G([{provide:ce.u0,useExisting:ct},{provide:J.K6,useExisting:ct}]),D.QJr,D.SYr,D.UHJ],ngContentSelectors:Pt,decls:11,vars:8,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(le,pe){if(1&le&&(D.kPM(pt),D.I0R(0,"div",0,1),D.qCj("click",function(){return pe.open()}),D.I0R(3,"div",2),D.yuY(4,ye,2,1,"span",3)(5,me,3,1),D.C$Y(),D.I0R(6,"div",4)(7,"div",5),D.S2Z(),D.I0R(8,"svg",6),D.wR5(9,"path",7),D.C$Y()()()(),D.yuY(10,Xe,3,9,"ng-template",8),D.qCj("backdropClick",function(){return pe.close()})("attach",function(){return pe._onAttached()})("detach",function(){return pe.close()})),2&le){const Ve=D.Gew(1);D.yG2(3),D.e48("id",pe._valueId),D.yG2(),D.C0Y(4,pe.empty?4:5),D.yG2(6),D.E7m("cdkConnectedOverlayPanelClass",pe._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",pe._scrollStrategy)("cdkConnectedOverlayOrigin",pe._preferredOverlayOrigin||Ve)("cdkConnectedOverlayOpen",pe.panelOpen)("cdkConnectedOverlayPositions",pe._positions)("cdkConnectedOverlayWidth",pe._overlayWidth)}},dependencies:[a.wW,a.eC,s.QF],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[Tt.transformPanel]},changeDetection:0}),Zt})(),Gt=(()=>{var ct;class Zt{}return(ct=Zt).\u0275fac=function(le){return new(le||ct)},ct.\u0275mod=D.a4G({type:ct}),ct.\u0275inj=D.s3X({providers:[ht],imports:[s.MD,a.Y1,J.Ax,J.AN,z.uU,ce.wb,J.Ax,J.AN]}),Zt})()},4476:(Qe,fe,y)=>{y.d(fe,{OY:()=>dt,iE:()=>pe,mI:()=>he,o_:()=>ct,q:()=>ye});var a=y(4496),s=y(1368);class D extends s.mg{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class J extends D{static makeCurrent(){(0,s.ug)(new J)}onAndCancel(V,$,k){return V.addEventListener($,k),()=>{V.removeEventListener($,k)}}dispatchEvent(V,$){V.dispatchEvent($)}remove(V){V.parentNode&&V.parentNode.removeChild(V)}createElement(V,$){return($=$||this.getDefaultDocument()).createElement(V)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(V){return V.nodeType===Node.ELEMENT_NODE}isShadowRoot(V){return V instanceof DocumentFragment}getGlobalEventTarget(V,$){return"window"===$?window:"document"===$?V:"body"===$?V.body:null}getBaseHref(V){const $=function z(){return ce=ce||document.querySelector("base"),ce?ce.getAttribute("href"):null}();return null==$?null:function ae(Ze){return new URL(Ze,document.baseURI).pathname}($)}resetBaseElement(){ce=null}getUserAgent(){return window.navigator.userAgent}getCookie(V){return(0,s.Sg)(document.cookie,V)}}let ce=null,te=(()=>{var Ze;class V{build(){return new XMLHttpRequest}}return(Ze=V).\u0275fac=function(k){return new(k||Ze)},Ze.\u0275prov=a.wxM({token:Ze,factory:Ze.\u0275fac}),V})();const Ce=new a.UbH("");let Me=(()=>{var Ze;class V{constructor(k,O){this._zone=O,this._eventNameToPlugin=new Map,k.forEach(B=>{B.manager=this}),this._plugins=k.slice().reverse()}addEventListener(k,O,B){return this._findPluginFor(O).addEventListener(k,O,B)}getZone(){return this._zone}_findPluginFor(k){let O=this._eventNameToPlugin.get(k);if(O)return O;if(O=this._plugins.find(N=>N.supports(k)),!O)throw new a.OBp(5101,!1);return this._eventNameToPlugin.set(k,O),O}}return(Ze=V).\u0275fac=function(k){return new(k||Ze)(a.CoB(Ce),a.CoB(a.WW2))},Ze.\u0275prov=a.wxM({token:Ze,factory:Ze.\u0275fac}),V})();class Pe{constructor(V){this._doc=V}}const et="ng-app-id";let ke=(()=>{var Ze;class V{constructor(k,O,B,N={}){this.doc=k,this.appId=O,this.nonce=B,this.platformId=N,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,s.uf)(N),this.resetHostNodes()}addStyles(k){for(const O of k)1===this.changeUsageCount(O,1)&&this.onStyleAdded(O)}removeStyles(k){for(const O of k)this.changeUsageCount(O,-1)<=0&&this.onStyleRemoved(O)}ngOnDestroy(){const k=this.styleNodesInDOM;k&&(k.forEach(O=>O.remove()),k.clear());for(const O of this.getAllStyles())this.onStyleRemoved(O);this.resetHostNodes()}addHost(k){this.hostNodes.add(k);for(const O of this.getAllStyles())this.addStyleToHost(k,O)}removeHost(k){this.hostNodes.delete(k)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(k){for(const O of this.hostNodes)this.addStyleToHost(O,k)}onStyleRemoved(k){var O;const B=this.styleRef;null===(O=B.get(k))||void 0===O||null===(O=O.elements)||void 0===O||O.forEach(N=>N.remove()),B.delete(k)}collectServerRenderedStyles(){var k;const O=null===(k=this.doc.head)||void 0===k?void 0:k.querySelectorAll("style[".concat(et,'="').concat(this.appId,'"]'));if(null!=O&&O.length){const B=new Map;return O.forEach(N=>{null!=N.textContent&&B.set(N.textContent,N)}),B}return null}changeUsageCount(k,O){const B=this.styleRef;if(B.has(k)){const N=B.get(k);return N.usage+=O,N.usage}return B.set(k,{usage:O,elements:[]}),O}getStyleElement(k,O){const B=this.styleNodesInDOM,N=null==B?void 0:B.get(O);if((null==N?void 0:N.parentNode)===k)return B.delete(O),N.removeAttribute(et),N;{const q=this.doc.createElement("style");return this.nonce&&q.setAttribute("nonce",this.nonce),q.textContent=O,this.platformIsServer&&q.setAttribute(et,this.appId),k.appendChild(q),q}}addStyleToHost(k,O){var B;const N=this.getStyleElement(k,O),q=this.styleRef,nt=null===(B=q.get(O))||void 0===B?void 0:B.elements;nt?nt.push(N):q.set(O,{elements:[N],usage:1})}resetHostNodes(){const k=this.hostNodes;k.clear(),k.add(this.doc.head)}}return(Ze=V).\u0275fac=function(k){return new(k||Ze)(a.CoB(s.Ud),a.CoB(a.QHP),a.CoB(a.YND,8),a.CoB(a.AHE))},Ze.\u0275prov=a.wxM({token:Ze,factory:Ze.\u0275fac}),V})();const Be={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/"},Re=/%COMP%/g,ot="_nghost-".concat("%COMP%"),xt="_ngcontent-".concat("%COMP%"),Ge=new a.UbH("",{providedIn:"root",factory:()=>!0});function G(Ze,V){return V.map($=>$.replace(Re,Ze))}let ye=(()=>{var Ze;class V{constructor(k,O,B,N,q,nt,xe,be=null){this.eventManager=k,this.sharedStylesHost=O,this.appId=B,this.removeStylesOnCompDestroy=N,this.doc=q,this.platformId=nt,this.ngZone=xe,this.nonce=be,this.rendererByCompId=new Map,this.platformIsServer=(0,s.uf)(nt),this.defaultRenderer=new re(k,q,xe,this.platformIsServer)}createRenderer(k,O){if(!k||!O)return this.defaultRenderer;this.platformIsServer&&O.encapsulation===a.K6R.ShadowDom&&(O={...O,encapsulation:a.K6R.Emulated});const B=this.getOrCreateRenderer(k,O);return B instanceof Tt?B.applyToHost(k):B instanceof Pt&&B.applyStyles(),B}getOrCreateRenderer(k,O){const B=this.rendererByCompId;let N=B.get(O.id);if(!N){const q=this.doc,nt=this.ngZone,xe=this.eventManager,be=this.sharedStylesHost,Ae=this.removeStylesOnCompDestroy,de=this.platformIsServer;switch(O.encapsulation){case a.K6R.Emulated:N=new Tt(xe,be,O,this.appId,Ae,q,nt,de);break;case a.K6R.ShadowDom:return new pt(xe,be,k,O,q,nt,this.nonce,de);default:N=new Pt(xe,be,O,Ae,q,nt,de)}B.set(O.id,N)}return N}ngOnDestroy(){this.rendererByCompId.clear()}}return(Ze=V).\u0275fac=function(k){return new(k||Ze)(a.CoB(Me),a.CoB(ke),a.CoB(a.QHP),a.CoB(Ge),a.CoB(s.Ud),a.CoB(a.AHE),a.CoB(a.WW2),a.CoB(a.YND))},Ze.\u0275prov=a.wxM({token:Ze,factory:Ze.\u0275fac}),V})();class re{constructor(V,$,k,O){this.eventManager=V,this.doc=$,this.ngZone=k,this.platformIsServer=O,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(V,$){return $?this.doc.createElementNS(Be[$]||$,V):this.doc.createElement(V)}createComment(V){return this.doc.createComment(V)}createText(V){return this.doc.createTextNode(V)}appendChild(V,$){(Xe(V)?V.content:V).appendChild($)}insertBefore(V,$,k){V&&(Xe(V)?V.content:V).insertBefore($,k)}removeChild(V,$){V&&V.removeChild($)}selectRootElement(V,$){let k="string"==typeof V?this.doc.querySelector(V):V;if(!k)throw new a.OBp(-5104,!1);return $||(k.textContent=""),k}parentNode(V){return V.parentNode}nextSibling(V){return V.nextSibling}setAttribute(V,$,k,O){if(O){$=O+":"+$;const B=Be[O];B?V.setAttributeNS(B,$,k):V.setAttribute($,k)}else V.setAttribute($,k)}removeAttribute(V,$,k){if(k){const O=Be[k];O?V.removeAttributeNS(O,$):V.removeAttribute("".concat(k,":").concat($))}else V.removeAttribute($)}addClass(V,$){V.classList.add($)}removeClass(V,$){V.classList.remove($)}setStyle(V,$,k,O){O&(a.yzm.DashCase|a.yzm.Important)?V.style.setProperty($,k,O&a.yzm.Important?"important":""):V.style[$]=k}removeStyle(V,$,k){k&a.yzm.DashCase?V.style.removeProperty($):V.style[$]=""}setProperty(V,$,k){null!=V&&(V[$]=k)}setValue(V,$){V.nodeValue=$}listen(V,$,k){if("string"==typeof V&&!(V=(0,s.uy)().getGlobalEventTarget(this.doc,V)))throw new Error("Unsupported event target ".concat(V," for event ").concat($));return this.eventManager.addEventListener(V,$,this.decoratePreventDefault(k))}decoratePreventDefault(V){return $=>{if("__ngUnwrap__"===$)return V;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>V($)):V($))&&$.preventDefault()}}}function Xe(Ze){return"TEMPLATE"===Ze.tagName&&void 0!==Ze.content}class pt extends re{constructor(V,$,k,O,B,N,q,nt){super(V,B,N,nt),this.sharedStylesHost=$,this.hostEl=k,this.shadowRoot=k.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const xe=G(O.id,O.styles);for(const be of xe){const Ae=document.createElement("style");q&&Ae.setAttribute("nonce",q),Ae.textContent=be,this.shadowRoot.appendChild(Ae)}}nodeOrShadowRoot(V){return V===this.hostEl?this.shadowRoot:V}appendChild(V,$){return super.appendChild(this.nodeOrShadowRoot(V),$)}insertBefore(V,$,k){return super.insertBefore(this.nodeOrShadowRoot(V),$,k)}removeChild(V,$){return super.removeChild(this.nodeOrShadowRoot(V),$)}parentNode(V){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(V)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Pt extends re{constructor(V,$,k,O,B,N,q,nt){super(V,B,N,q),this.sharedStylesHost=$,this.removeStylesOnCompDestroy=O,this.styles=nt?G(nt,k.styles):k.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Tt extends Pt{constructor(V,$,k,O,B,N,q,nt){const xe=O+"-"+k.id;super(V,$,k,B,N,q,nt,xe),this.contentAttr=function Oe(Ze){return xt.replace(Re,Ze)}(xe),this.hostAttr=function X(Ze){return ot.replace(Re,Ze)}(xe)}applyToHost(V){this.applyStyles(),this.setAttribute(V,this.hostAttr,"")}createElement(V,$){const k=super.createElement(V,$);return super.setAttribute(k,this.contentAttr,""),k}}let on=(()=>{var Ze;class V extends Pe{constructor(k){super(k)}supports(k){return!0}addEventListener(k,O,B){return k.addEventListener(O,B,!1),()=>this.removeEventListener(k,O,B)}removeEventListener(k,O,B){return k.removeEventListener(O,B)}}return(Ze=V).\u0275fac=function(k){return new(k||Ze)(a.CoB(s.Ud))},Ze.\u0275prov=a.wxM({token:Ze,factory:Ze.\u0275fac}),V})();const vt=["alt","control","meta","shift"],qe={"\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"},De={alt:Ze=>Ze.altKey,control:Ze=>Ze.ctrlKey,meta:Ze=>Ze.metaKey,shift:Ze=>Ze.shiftKey};let _e=(()=>{var Ze;class V extends Pe{constructor(k){super(k)}supports(k){return null!=V.parseEventName(k)}addEventListener(k,O,B){const N=V.parseEventName(O),q=V.eventCallback(N.fullKey,B,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,s.uy)().onAndCancel(k,N.domEventName,q))}static parseEventName(k){const O=k.toLowerCase().split("."),B=O.shift();if(0===O.length||"keydown"!==B&&"keyup"!==B)return null;const N=V._normalizeKey(O.pop());let q="",nt=O.indexOf("code");if(nt>-1&&(O.splice(nt,1),q="code."),vt.forEach(be=>{const Ae=O.indexOf(be);Ae>-1&&(O.splice(Ae,1),q+=be+".")}),q+=N,0!=O.length||0===N.length)return null;const xe={};return xe.domEventName=B,xe.fullKey=q,xe}static matchEventFullKeyCode(k,O){let B=qe[k.key]||k.key,N="";return O.indexOf("code.")>-1&&(B=k.code,N="code."),!(null==B||!B)&&(B=B.toLowerCase()," "===B?B="space":"."===B&&(B="dot"),vt.forEach(q=>{q!==B&&(0,De[q])(k)&&(N+=q+".")}),N+=B,N===O)}static eventCallback(k,O,B){return N=>{V.matchEventFullKeyCode(N,k)&&B.runGuarded(()=>O(N))}}static _normalizeKey(k){return"esc"===k?"escape":k}}return(Ze=V).\u0275fac=function(k){return new(k||Ze)(a.CoB(s.Ud))},Ze.\u0275prov=a.wxM({token:Ze,factory:Ze.\u0275fac}),V})();const ct=(0,a.grM)(a.m4O,"browser",[{provide:a.AHE,useValue:s._k},{provide:a.crf,useValue:function Ft(){J.makeCurrent()},multi:!0},{provide:s.Ud,useFactory:function ln(){return(0,a.auf)(document),document},deps:[]}]),Zt=new a.UbH(""),Ut=[{provide:a.Mn9,useClass:class ve{addToWindow(V){a.IHs.getAngularTestability=(k,O=!0)=>{const B=V.findTestabilityInTree(k,O);if(null==B)throw new a.OBp(5103,!1);return B},a.IHs.getAllAngularTestabilities=()=>V.getAllTestabilities(),a.IHs.getAllAngularRootElements=()=>V.getAllRootElements(),a.IHs.frameworkStabilizers||(a.IHs.frameworkStabilizers=[]),a.IHs.frameworkStabilizers.push(k=>{const O=a.IHs.getAllAngularTestabilities();let B=O.length;const N=function(){B--,0==B&&k()};O.forEach(q=>{q.whenStable(N)})})}findTestabilityInTree(V,$,k){if(null==$)return null;const O=V.getTestability($);return null!=O?O:k?(0,s.uy)().isShadowRoot($)?this.findTestabilityInTree(V,$.host,!0):this.findTestabilityInTree(V,$.parentElement,!0):null}},deps:[]},{provide:a.aS5,useClass:a.G4X,deps:[a.WW2,a.eOv,a.Mn9]},{provide:a.G4X,useClass:a.G4X,deps:[a.WW2,a.eOv,a.Mn9]}],le=[{provide:a.i4S,useValue:"root"},{provide:a.eAe,useFactory:function Kt(){return new a.eAe},deps:[]},{provide:Ce,useClass:on,multi:!0,deps:[s.Ud,a.WW2,a.AHE]},{provide:Ce,useClass:_e,multi:!0,deps:[s.Ud]},ye,ke,Me,{provide:a.O8F,useExisting:ye},{provide:s.OM,useClass:te,deps:[]},[]];let pe=(()=>{var Ze;class V{constructor(k){}static withServerTransition(k){return{ngModule:V,providers:[{provide:a.QHP,useValue:k.appId}]}}}return(Ze=V).\u0275fac=function(k){return new(k||Ze)(a.CoB(Zt,12))},Ze.\u0275mod=a.a4G({type:Ze}),Ze.\u0275inj=a.s3X({providers:[...le,...Ut],imports:[s.MD,a.Ev2]}),V})(),dt=(()=>{var Ze;class V{constructor(k){this._doc=k}getTitle(){return this._doc.title}setTitle(k){this._doc.title=k||""}}return(Ze=V).\u0275fac=function(k){return new(k||Ze)(a.CoB(s.Ud))},Ze.\u0275prov=a.wxM({token:Ze,factory:Ze.\u0275fac,providedIn:"root"}),V})(),he=(()=>{var Ze;class V{}return(Ze=V).\u0275fac=function(k){return new(k||Ze)},Ze.\u0275prov=a.wxM({token:Ze,factory:function(k){let O=null;return O=k?new(k||Ze):a.CoB(Ye),O},providedIn:"root"}),V})(),Ye=(()=>{var Ze;class V extends he{constructor(k){super(),this._doc=k}sanitize(k,O){if(null==O)return null;switch(k){case a.SI6.NONE:return O;case a.SI6.HTML:return(0,a.K2p)(O,"HTML")?(0,a.E2t)(O):(0,a.Om8)(this._doc,String(O)).toString();case a.SI6.STYLE:return(0,a.K2p)(O,"Style")?(0,a.E2t)(O):O;case a.SI6.SCRIPT:if((0,a.K2p)(O,"Script"))return(0,a.E2t)(O);throw new a.OBp(5200,!1);case a.SI6.URL:return(0,a.K2p)(O,"URL")?(0,a.E2t)(O):(0,a.ozE)(String(O));case a.SI6.RESOURCE_URL:if((0,a.K2p)(O,"ResourceURL"))return(0,a.E2t)(O);throw new a.OBp(5201,!1);default:throw new a.OBp(5202,!1)}}bypassSecurityTrustHtml(k){return(0,a.GM_)(k)}bypassSecurityTrustStyle(k){return(0,a.Vfw)(k)}bypassSecurityTrustScript(k){return(0,a.ER9)(k)}bypassSecurityTrustUrl(k){return(0,a.Gc)(k)}bypassSecurityTrustResourceUrl(k){return(0,a.u8n)(k)}}return(Ze=V).\u0275fac=function(k){return new(k||Ze)(a.CoB(s.Ud))},Ze.\u0275prov=a.wxM({token:Ze,factory:Ze.\u0275fac,providedIn:"root"}),V})()},1056:(Qe,fe,y)=>{y.d(fe,{gV:()=>ci,E5:()=>Pn,ER:()=>ao,qQ:()=>za,cP:()=>Hn});var a=y(4496),s=y(1116),D=y(2115),J=y(2700),ce=y(6700),z=y(6040),ae=y(7696),ve=y(7228),te=y(1424),Ce=y(3928),Me=y(3252),Pe=y(8880);function et(f,v){const x=(0,Pe.m)(f)?f:()=>f,_=C=>C.error(x());return new Me._(v?C=>v.schedule(_,0,C):_)}var ke=y(8960),Be=y(6928),Re=y(5448),Ne=y(7773);function ot(){return(0,Re.i)((f,v)=>{let x=null;f._refCount++;const _=(0,Ne.e)(v,void 0,void 0,void 0,()=>{if(!f||f._refCount<=0||0<--f._refCount)return void(x=null);const C=f._connection,L=x;x=null,C&&(!L||C===L)&&C.unsubscribe(),v.unsubscribe()});f.subscribe(_),_.closed||(x=f.connect())})}class xt extends Me._{constructor(v,x){super(),this.source=v,this.subjectFactory=x,this._subject=null,this._refCount=0,this._connection=null,(0,Re.e)(v)&&(this.lift=v.lift)}_subscribe(v){return this.getSubject().subscribe(v)}getSubject(){const v=this._subject;return(!v||v.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:v}=this;this._subject=this._connection=null,null==v||v.unsubscribe()}connect(){let v=this._connection;if(!v){v=this._connection=new Be.wH;const x=this.getSubject();v.add(this.source.subscribe((0,Ne.e)(x,void 0,()=>{this._teardown(),x.complete()},_=>{this._teardown(),x.error(_)},()=>this._teardown()))),v.closed&&(this._connection=null,v=Be.wH.EMPTY)}return v}refCount(){return ot()(this)}}var lt=y(5657),Ge=y(1368),Oe=y(4704),X=y(7368),G=y(3992),ye=y(5568),re=y(6684),ie=y(7400);function me(f){return(0,Re.i)((v,x)=>{let _=!1;v.subscribe((0,Ne.e)(x,C=>{_=!0,x.next(C)},()=>{_||x.next(f),x.complete()}))})}function Xe(f=pt){return(0,Re.i)((v,x)=>{let _=!1;v.subscribe((0,Ne.e)(x,C=>{_=!0,x.next(C)},()=>_?x.complete():x.error(f())))})}function pt(){return new ae.G}var Pt=y(528);function Tt(f,v){const x=arguments.length>=2;return _=>_.pipe(f?(0,re.I)((C,L)=>f(C,L,_)):Pt.Z,(0,G.U)(1),x?me(v):Xe(()=>new ae.G))}var on=y(6020),vt=y(9212),qe=y(560);function De(f){return(0,Re.i)((v,x)=>{let L,_=null,C=!1;_=v.subscribe((0,Ne.e)(x,void 0,void 0,W=>{L=(0,qe.Uv)(f(W,De(f)(v))),_?(_.unsubscribe(),_=null,L.subscribe(x)):C=!0})),C&&(_.unsubscribe(),_=null,L.subscribe(x))})}function Ke(f){return f<=0?()=>ke.k:(0,Re.i)((v,x)=>{let _=[];v.subscribe((0,Ne.e)(x,C=>{_.push(C),f<_.length&&_.shift()},()=>{for(const C of _)x.next(C);x.complete()},void 0,()=>{_=null}))})}var st=y(320),Ft=y(8824),Kt=y(3616),ln=y(267),Gt=y(4476);const ct="primary",Zt=Symbol("RouteTitle");class Ut{constructor(v){this.params=v||{}}has(v){return Object.prototype.hasOwnProperty.call(this.params,v)}get(v){if(this.has(v)){const x=this.params[v];return Array.isArray(x)?x[0]:x}return null}getAll(v){if(this.has(v)){const x=this.params[v];return Array.isArray(x)?x:[x]}return[]}get keys(){return Object.keys(this.params)}}function le(f){return new Ut(f)}function pe(f,v,x){const _=x.path.split("/");if(_.length>f.length||"full"===x.pathMatch&&(v.hasChildren()||_.length_[L]===C)}return f===v}function Mt(f){return f.length>0?f[f.length-1]:null}function Xt(f){return(0,s.X)(f)?f:(0,a.w5$)(f)?(0,D.Q)(Promise.resolve(f)):(0,J.of)(f)}const gn={exact:function P(f,v,x){if(!gt(f.segments,v.segments)||!Ie(f.segments,v.segments,x)||f.numberOfChildren!==v.numberOfChildren)return!1;for(const _ in v.children)if(!f.children[_]||!P(f.children[_],v.children[_],x))return!1;return!0},subset:se},cn={exact:function tt(f,v){return Te(f,v)},subset:function Ee(f,v){return Object.keys(v).length<=Object.keys(f).length&&Object.keys(v).every(x=>$e(f[x],v[x]))},ignored:()=>!0};function qn(f,v,x){return gn[x.paths](f.root,v.root,x.matrixParams)&&cn[x.queryParams](f.queryParams,v.queryParams)&&!("exact"===x.fragment&&f.fragment!==v.fragment)}function se(f,v,x){return ee(f,v,v.segments,x)}function ee(f,v,x,_){if(f.segments.length>x.length){const C=f.segments.slice(0,x.length);return!(!gt(C,x)||v.hasChildren()||!Ie(C,x,_))}if(f.segments.length===x.length){if(!gt(f.segments,x)||!Ie(f.segments,x,_))return!1;for(const C in v.children)if(!f.children[C]||!se(f.children[C],v.children[C],_))return!1;return!0}{const C=x.slice(0,f.segments.length),L=x.slice(f.segments.length);return!!(gt(f.segments,C)&&Ie(f.segments,C,_)&&f.children[ct])&&ee(f.children[ct],v,L,_)}}function Ie(f,v,x){return v.every((_,C)=>cn[x](f[C].parameters,_.parameters))}class Ue{constructor(v=new Y([],{}),x={},_=null){this.root=v,this.queryParams=x,this.fragment=_}get queryParamMap(){var v;return null!==(v=this._queryParamMap)&&void 0!==v||(this._queryParamMap=le(this.queryParams)),this._queryParamMap}toString(){return sn.serialize(this)}}class Y{constructor(v,x){this.segments=v,this.children=x,this.parent=null,Object.values(x).forEach(_=>_.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Dn(this)}}class he{constructor(v,x){this.path=v,this.parameters=x}get parameterMap(){var v;return null!==(v=this._parameterMap)&&void 0!==v||(this._parameterMap=le(this.parameters)),this._parameterMap}toString(){return O(this)}}function gt(f,v){return f.length===v.length&&f.every((x,_)=>x.path===v[_].path)}let Lt=(()=>{var f;class v{}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275prov=a.wxM({token:f,factory:()=>new en,providedIn:"root"}),v})();class en{parse(v){const x=new Ht(v);return new Ue(x.parseRootSegment(),x.parseQueryParams(),x.parseFragment())}serialize(v){const x="/".concat(bn(v.root,!0)),_=function N(f){const v=Object.entries(f).map(([x,_])=>Array.isArray(_)?_.map(C=>"".concat(pi(x),"=").concat(pi(C))).join("&"):"".concat(pi(x),"=").concat(pi(_))).filter(x=>x);return v.length?"?".concat(v.join("&")):""}(v.queryParams),C="string"==typeof v.fragment?"#".concat(function Ze(f){return encodeURI(f)}(v.fragment)):"";return"".concat(x).concat(_).concat(C)}}const sn=new en;function Dn(f){return f.segments.map(v=>O(v)).join("/")}function bn(f,v){if(!f.hasChildren())return Dn(f);if(v){const x=f.children[ct]?bn(f.children[ct],!1):"",_=[];return Object.entries(f.children).forEach(([C,L])=>{C!==ct&&_.push("".concat(C,":").concat(bn(L,!1)))}),_.length>0?"".concat(x,"(").concat(_.join("//"),")"):x}{const x=function Et(f,v){let x=[];return Object.entries(f.children).forEach(([_,C])=>{_===ct&&(x=x.concat(v(C,_)))}),Object.entries(f.children).forEach(([_,C])=>{_!==ct&&(x=x.concat(v(C,_)))}),x}(f,(_,C)=>C===ct?[bn(f.children[ct],!1)]:["".concat(C,":").concat(bn(_,!1))]);return 1===Object.keys(f.children).length&&null!=f.children[ct]?"".concat(Dn(f),"/").concat(x[0]):"".concat(Dn(f),"/(").concat(x.join("//"),")")}}function ai(f){return encodeURIComponent(f).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function pi(f){return ai(f).replace(/%3B/gi,";")}function V(f){return ai(f).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function $(f){return decodeURIComponent(f)}function k(f){return $(f.replace(/\+/g,"%20"))}function O(f){return"".concat(V(f.path)).concat(function B(f){return Object.entries(f).map(([v,x])=>";".concat(V(v),"=").concat(V(x))).join("")}(f.parameters))}const q=/^[^\/()?;#]+/;function nt(f){const v=f.match(q);return v?v[0]:""}const xe=/^[^\/()?;=#]+/,Ae=/^[^=?&#]+/,Je=/^[^&#]+/;class Ht{constructor(v){this.url=v,this.remaining=v}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Y([],{}):new Y([],this.parseChildren())}parseQueryParams(){const v={};if(this.consumeOptional("?"))do{this.parseQueryParam(v)}while(this.consumeOptional("&"));return v}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const v=[];for(this.peekStartsWith("(")||v.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),v.push(this.parseSegment());let x={};this.peekStartsWith("/(")&&(this.capture("/"),x=this.parseParens(!0));let _={};return this.peekStartsWith("(")&&(_=this.parseParens(!1)),(v.length>0||Object.keys(x).length>0)&&(_[ct]=new Y(v,x)),_}parseSegment(){const v=nt(this.remaining);if(""===v&&this.peekStartsWith(";"))throw new a.OBp(4009,!1);return this.capture(v),new he($(v),this.parseMatrixParams())}parseMatrixParams(){const v={};for(;this.consumeOptional(";");)this.parseParam(v);return v}parseParam(v){const x=function be(f){const v=f.match(xe);return v?v[0]:""}(this.remaining);if(!x)return;this.capture(x);let _="";if(this.consumeOptional("=")){const C=nt(this.remaining);C&&(_=C,this.capture(_))}v[$(x)]=$(_)}parseQueryParam(v){const x=function de(f){const v=f.match(Ae);return v?v[0]:""}(this.remaining);if(!x)return;this.capture(x);let _="";if(this.consumeOptional("=")){const W=function Bt(f){const v=f.match(Je);return v?v[0]:""}(this.remaining);W&&(_=W,this.capture(_))}const C=k(x),L=k(_);if(v.hasOwnProperty(C)){let W=v[C];Array.isArray(W)||(W=[W],v[C]=W),W.push(L)}else v[C]=L}parseParens(v){const x={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const _=nt(this.remaining),C=this.remaining[_.length];if("/"!==C&&")"!==C&&";"!==C)throw new a.OBp(4010,!1);let L;_.indexOf(":")>-1?(L=_.slice(0,_.indexOf(":")),this.capture(L),this.capture(":")):v&&(L=ct);const W=this.parseChildren();x[L]=1===Object.keys(W).length?W[ct]:new Y([],W),this.consumeOptional("//")}return x}peekStartsWith(v){return this.remaining.startsWith(v)}consumeOptional(v){return!!this.peekStartsWith(v)&&(this.remaining=this.remaining.substring(v.length),!0)}capture(v){if(!this.consumeOptional(v))throw new a.OBp(4011,!1)}}function Zn(f){return f.segments.length>0?new Y([],{[ct]:f}):f}function ho(f){const v={};for(const[_,C]of Object.entries(f.children)){const L=ho(C);if(_===ct&&0===L.segments.length&&L.hasChildren())for(const[W,Le]of Object.entries(L.children))v[W]=Le;else(L.segments.length>0||L.hasChildren())&&(v[_]=L)}return function On(f){if(1===f.numberOfChildren&&f.children[ct]){const v=f.children[ct];return new Y(f.segments.concat(v.segments),v.children)}return f}(new Y(f.segments,v))}function jt(f){return f instanceof Ue}function di(f){var v;let x;const L=Zn(function _(W){const Le={};for(const He of W.children){const kt=_(He);Le[He.outlet]=kt}const mt=new Y(W.url,Le);return W===f&&(x=mt),mt}(f.root));return null!==(v=x)&&void 0!==v?v:L}function Ci(f,v,x,_){let C=f;for(;C.parent;)C=C.parent;if(0===v.length)return Fi(C,C,C,x,_);const L=function er(f){if("string"==typeof f[0]&&1===f.length&&"/"===f[0])return new Ti(!0,0,f);let v=0,x=!1;const _=f.reduce((C,L,W)=>{if("object"==typeof L&&null!=L){if(L.outlets){const Le={};return Object.entries(L.outlets).forEach(([mt,He])=>{Le[mt]="string"==typeof He?He.split("/"):He}),[...C,{outlets:Le}]}if(L.segmentPath)return[...C,L.segmentPath]}return"string"!=typeof L?[...C,L]:0===W?(L.split("/").forEach((Le,mt)=>{0==mt&&"."===Le||(0==mt&&""===Le?x=!0:".."===Le?v++:""!=Le&&C.push(Le))}),C):[...C,L]},[]);return new Ti(x,v,_)}(v);if(L.toRoot())return Fi(C,C,new Y([],{}),x,_);const W=function ge(f,v,x){if(f.isAbsolute)return new K(v,!0,0);if(!x)return new K(v,!1,NaN);if(null===x.parent)return new K(x,!0,0);const _=xi(f.commands[0])?0:1;return function We(f,v,x){let _=f,C=v,L=x;for(;L>C;){if(L-=C,_=_.parent,!_)throw new a.OBp(4005,!1);C=_.segments.length}return new K(_,!1,C-L)}(x,x.segments.length-1+_,f.numberOfDoubleDots)}(L,C,f),Le=W.processChildren?_t(W.segmentGroup,W.index,L.commands):bt(W.segmentGroup,W.index,L.commands);return Fi(C,W.segmentGroup,Le,x,_)}function xi(f){return"object"==typeof f&&null!=f&&!f.outlets&&!f.segmentPath}function Ei(f){return"object"==typeof f&&null!=f&&f.outlets}function Fi(f,v,x,_,C){let W,L={};_&&Object.entries(_).forEach(([mt,He])=>{L[mt]=Array.isArray(He)?He.map(kt=>"".concat(kt)):"".concat(He)}),W=f===v?x:ni(f,v,x);const Le=Zn(ho(W));return new Ue(Le,L,C)}function ni(f,v,x){const _={};return Object.entries(f.children).forEach(([C,L])=>{_[C]=L===v?x:ni(L,v,x)}),new Y(f.segments,_)}class Ti{constructor(v,x,_){if(this.isAbsolute=v,this.numberOfDoubleDots=x,this.commands=_,v&&_.length>0&&xi(_[0]))throw new a.OBp(4003,!1);const C=_.find(Ei);if(C&&C!==Mt(_))throw new a.OBp(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class K{constructor(v,x,_){this.segmentGroup=v,this.processChildren=x,this.index=_}}function bt(f,v,x){var _;if(null!==(_=f)&&void 0!==_||(f=new Y([],{})),0===f.segments.length&&f.hasChildren())return _t(f,v,x);const C=function Vt(f,v,x){let _=0,C=v;const L={match:!1,pathIndex:0,commandIndex:0};for(;C=x.length)return L;const W=f.segments[C],Le=x[_];if(Ei(Le))break;const mt="".concat(Le),He=_0&&void 0===mt)break;if(mt&&He&&"object"==typeof He&&void 0===He.outlets){if(!Nn(mt,He,W))return L;_+=2}else{if(!Nn(mt,{},W))return L;_++}C++}return{match:!0,pathIndex:C,commandIndex:_}}(f,v,x),L=x.slice(C.commandIndex);if(C.match&&C.pathIndexL!==ct)&&f.children[ct]&&1===f.numberOfChildren&&0===f.children[ct].segments.length){const L=_t(f.children[ct],v,x);return new Y(f.segments,L.children)}return Object.entries(_).forEach(([L,W])=>{"string"==typeof W&&(W=[W]),null!==W&&(C[L]=bt(f.children[L],v,W))}),Object.entries(f.children).forEach(([L,W])=>{void 0===_[L]&&(C[L]=W)}),new Y(f.segments,C)}}function At(f,v,x){const _=f.segments.slice(0,v);let C=0;for(;C{"string"==typeof _&&(_=[_]),null!==_&&(v[x]=At(new Y([],{}),0,_))}),v}function $t(f){const v={};return Object.entries(f).forEach(([x,_])=>v[x]="".concat(_)),v}function Nn(f,v,x){return f==x.path&&Te(v,x.parameters)}const gi="imperative";var Nt=function(f){return f[f.NavigationStart=0]="NavigationStart",f[f.NavigationEnd=1]="NavigationEnd",f[f.NavigationCancel=2]="NavigationCancel",f[f.NavigationError=3]="NavigationError",f[f.RoutesRecognized=4]="RoutesRecognized",f[f.ResolveStart=5]="ResolveStart",f[f.ResolveEnd=6]="ResolveEnd",f[f.GuardsCheckStart=7]="GuardsCheckStart",f[f.GuardsCheckEnd=8]="GuardsCheckEnd",f[f.RouteConfigLoadStart=9]="RouteConfigLoadStart",f[f.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",f[f.ChildActivationStart=11]="ChildActivationStart",f[f.ChildActivationEnd=12]="ChildActivationEnd",f[f.ActivationStart=13]="ActivationStart",f[f.ActivationEnd=14]="ActivationEnd",f[f.Scroll=15]="Scroll",f[f.NavigationSkipped=16]="NavigationSkipped",f}(Nt||{});class Tn{constructor(v,x){this.id=v,this.url=x}}class ii extends Tn{constructor(v,x,_="imperative",C=null){super(v,x),this.type=Nt.NavigationStart,this.navigationTrigger=_,this.restoredState=C}toString(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}class oi extends Tn{constructor(v,x,_){super(v,x),this.urlAfterRedirects=_,this.type=Nt.NavigationEnd}toString(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}var rn=function(f){return f[f.Redirect=0]="Redirect",f[f.SupersededByNewNavigation=1]="SupersededByNewNavigation",f[f.NoDataFromResolver=2]="NoDataFromResolver",f[f.GuardRejected=3]="GuardRejected",f}(rn||{}),Sn=function(f){return f[f.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",f[f.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",f}(Sn||{});class ui extends Tn{constructor(v,x,_,C){super(v,x),this.reason=_,this.code=C,this.type=Nt.NavigationCancel}toString(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}class Kn extends Tn{constructor(v,x,_,C){super(v,x),this.reason=_,this.code=C,this.type=Nt.NavigationSkipped}}class Jn extends Tn{constructor(v,x,_,C){super(v,x),this.error=_,this.target=C,this.type=Nt.NavigationError}toString(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}class $o extends Tn{constructor(v,x,_,C){super(v,x),this.urlAfterRedirects=_,this.state=C,this.type=Nt.RoutesRecognized}toString(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}class Eo extends Tn{constructor(v,x,_,C){super(v,x),this.urlAfterRedirects=_,this.state=C,this.type=Nt.GuardsCheckStart}toString(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}class Do extends Tn{constructor(v,x,_,C,L){super(v,x),this.urlAfterRedirects=_,this.state=C,this.shouldActivate=L,this.type=Nt.GuardsCheckEnd}toString(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}class hr extends Tn{constructor(v,x,_,C){super(v,x),this.urlAfterRedirects=_,this.state=C,this.type=Nt.ResolveStart}toString(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}class fr extends Tn{constructor(v,x,_,C){super(v,x),this.urlAfterRedirects=_,this.state=C,this.type=Nt.ResolveEnd}toString(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}class mr{constructor(v){this.route=v,this.type=Nt.RouteConfigLoadStart}toString(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}class hi{constructor(v){this.route=v,this.type=Nt.RouteConfigLoadEnd}toString(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}class Go{constructor(v){this.snapshot=v,this.type=Nt.ChildActivationStart}toString(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}class tr{constructor(v){this.snapshot=v,this.type=Nt.ChildActivationEnd}toString(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}class pn{constructor(v){this.snapshot=v,this.type=Nt.ActivationStart}toString(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}class Xn{constructor(v){this.snapshot=v,this.type=Nt.ActivationEnd}toString(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}class li{constructor(v,x,_){this.routerEvent=v,this.position=x,this.anchor=_,this.type=Nt.Scroll}toString(){const v=this.position?"".concat(this.position[0],", ").concat(this.position[1]):null;return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(v,"')")}}class Yi{}class _i{constructor(v){this.url=v}}class ns{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Oo,this.attachRef=null}}let Oo=(()=>{var f;class v{constructor(){this.contexts=new Map}onChildOutletCreated(_,C){const L=this.getOrCreateContext(_);L.outlet=C,this.contexts.set(_,L)}onChildOutletDestroyed(_){const C=this.getContext(_);C&&(C.outlet=null,C.attachRef=null)}onOutletDeactivated(){const _=this.contexts;return this.contexts=new Map,_}onOutletReAttached(_){this.contexts=_}getOrCreateContext(_){let C=this.getContext(_);return C||(C=new ns,this.contexts.set(_,C)),C}getContext(_){return this.contexts.get(_)||null}}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275prov=a.wxM({token:f,factory:f.\u0275fac,providedIn:"root"}),v})();class is{constructor(v){this._root=v}get root(){return this._root.value}parent(v){const x=this.pathFromRoot(v);return x.length>1?x[x.length-2]:null}children(v){const x=oo(v,this._root);return x?x.children.map(_=>_.value):[]}firstChild(v){const x=oo(v,this._root);return x&&x.children.length>0?x.children[0].value:null}siblings(v){const x=jn(v,this._root);return x.length<2?[]:x[x.length-2].children.map(C=>C.value).filter(C=>C!==v)}pathFromRoot(v){return jn(v,this._root).map(x=>x.value)}}function oo(f,v){if(f===v.value)return v;for(const x of v.children){const _=oo(f,x);if(_)return _}return null}function jn(f,v){if(f===v.value)return[v];for(const x of v.children){const _=jn(f,x);if(_.length)return _.unshift(v),_}return[]}class Ct{constructor(v,x){this.value=v,this.children=x}toString(){return"TreeNode(".concat(this.value,")")}}function zt(f){const v={};return f&&f.children.forEach(x=>v[x.value.outlet]=x),v}class ei extends is{constructor(v,x){super(v),this.snapshot=x,Bi(this,v)}toString(){return this.snapshot.toString()}}function Li(f){const v=function Ai(f){const L=new Ln([],{},{},"",{},ct,f,null,{});return new Di("",new Ct(L,[]))}(f),x=new ce.g([new he("",{})]),_=new ce.g({}),C=new ce.g({}),L=new ce.g({}),W=new ce.g(""),Le=new ci(x,_,L,W,C,ct,f,v.root);return Le.snapshot=v.root,new ei(new Ct(Le,[]),v)}class ci{constructor(v,x,_,C,L,W,Le,mt){var He,kt;this.urlSubject=v,this.paramsSubject=x,this.queryParamsSubject=_,this.fragmentSubject=C,this.dataSubject=L,this.outlet=W,this.component=Le,this._futureSnapshot=mt,this.title=null!==(He=null===(kt=this.dataSubject)||void 0===kt?void 0:kt.pipe((0,Oe.k)(hn=>hn[Zt])))&&void 0!==He?He:(0,J.of)(void 0),this.url=v,this.params=x,this.queryParams=_,this.fragment=C,this.data=L}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){var v;return null!==(v=this._paramMap)&&void 0!==v||(this._paramMap=this.params.pipe((0,Oe.k)(x=>le(x)))),this._paramMap}get queryParamMap(){var v;return null!==(v=this._queryParamMap)&&void 0!==v||(this._queryParamMap=this.queryParams.pipe((0,Oe.k)(x=>le(x)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}function fo(f,v,x="emptyOnly"){var _;let C;const{routeConfig:L}=f;var W;return C=null===v||"always"!==x&&""!==(null==L?void 0:L.path)&&(v.component||null!==(_=v.routeConfig)&&void 0!==_&&_.loadComponent)?{params:{...f.params},data:{...f.data},resolve:{...f.data,...null!==(W=f._resolvedData)&&void 0!==W?W:{}}}:{params:{...v.params,...f.params},data:{...v.data,...f.data},resolve:{...f.data,...v.data,...null==L?void 0:L.data,...f._resolvedData}},L&&Ho(L)&&(C.resolve[Zt]=L.title),C}class Ln{get title(){var v;return null===(v=this.data)||void 0===v?void 0:v[Zt]}constructor(v,x,_,C,L,W,Le,mt,He){this.url=v,this.params=x,this.queryParams=_,this.fragment=C,this.data=L,this.outlet=W,this.component=Le,this.routeConfig=mt,this._resolve=He}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){var v;return null!==(v=this._paramMap)&&void 0!==v||(this._paramMap=le(this.params)),this._paramMap}get queryParamMap(){var v;return null!==(v=this._queryParamMap)&&void 0!==v||(this._queryParamMap=le(this.queryParams)),this._queryParamMap}toString(){const v=this.url.map(_=>_.toString()).join("/"),x=this.routeConfig?this.routeConfig.path:"";return"Route(url:'".concat(v,"', path:'").concat(x,"')")}}class Di extends is{constructor(v,x){super(x),this.url=v,Bi(this,x)}toString(){return Wt(this._root)}}function Bi(f,v){v.value._routerState=f,v.children.forEach(x=>Bi(f,x))}function Wt(f){const v=f.children.length>0?" { ".concat(f.children.map(Wt).join(", ")," } "):"";return"".concat(f.value).concat(v)}function mo(f){if(f.snapshot){const v=f.snapshot,x=f._futureSnapshot;f.snapshot=x,Te(v.queryParams,x.queryParams)||f.queryParamsSubject.next(x.queryParams),v.fragment!==x.fragment&&f.fragmentSubject.next(x.fragment),Te(v.params,x.params)||f.paramsSubject.next(x.params),function Ve(f,v){if(f.length!==v.length)return!1;for(let x=0;xTe(x.parameters,v[_].parameters))}(f.url,v.url);return x&&!(!f.parent!=!v.parent)&&(!f.parent||pr(f.parent,v.parent))}function Ho(f){return"string"==typeof f.title||null===f.title}let Hn=(()=>{var f;class v{constructor(){this.activated=null,this._activatedRoute=null,this.name=ct,this.activateEvents=new a._w7,this.deactivateEvents=new a._w7,this.attachEvents=new a._w7,this.detachEvents=new a._w7,this.parentContexts=(0,a.uUt)(Oo),this.location=(0,a.uUt)(a.y8U),this.changeDetector=(0,a.uUt)(a.kD9),this.environmentInjector=(0,a.uUt)(a.SIe),this.inputBinder=(0,a.uUt)(zn,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(_){if(_.name){const{firstChange:C,previousValue:L}=_.name;if(C)return;this.isTrackedInParentContexts(L)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(L)),this.initializeOutletWithName()}}ngOnDestroy(){var _;this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),null===(_=this.inputBinder)||void 0===_||_.unsubscribeFromRouteData(this)}isTrackedInParentContexts(_){var C;return(null===(C=this.parentContexts.getContext(_))||void 0===C?void 0:C.outlet)===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const _=this.parentContexts.getContext(this.name);null!=_&&_.route&&(_.attachRef?this.attach(_.attachRef,_.route):this.activateWith(_.route,_.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new a.OBp(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new a.OBp(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new a.OBp(4012,!1);this.location.detach();const _=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(_.instance),_}attach(_,C){var L;this.activated=_,this._activatedRoute=C,this.location.insert(_.hostView),null===(L=this.inputBinder)||void 0===L||L.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(_.instance)}deactivate(){if(this.activated){const _=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(_)}}activateWith(_,C){var L;if(this.isActivated)throw new a.OBp(4013,!1);this._activatedRoute=_;const W=this.location,mt=_.snapshot.component,He=this.parentContexts.getOrCreateContext(this.name).children,kt=new ko(_,He,W.injector);this.activated=W.createComponent(mt,{index:W.length,injector:kt,environmentInjector:null!=C?C:this.environmentInjector}),this.changeDetector.markForCheck(),null===(L=this.inputBinder)||void 0===L||L.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275dir=a.Sc5({type:f,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[a.SYr]}),v})();class ko{constructor(v,x,_){this.route=v,this.childContexts=x,this.parent=_}get(v,x){return v===ci?this.route:v===Oo?this.childContexts:this.parent.get(v,x)}}const zn=new a.UbH("");let Zi=(()=>{var f;class v{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(_){this.unsubscribeFromRouteData(_),this.subscribeToRouteData(_)}unsubscribeFromRouteData(_){var C;null===(C=this.outletDataSubscriptions.get(_))||void 0===C||C.unsubscribe(),this.outletDataSubscriptions.delete(_)}subscribeToRouteData(_){const{activatedRoute:C}=_,L=(0,z.E)([C.queryParams,C.params,C.data]).pipe((0,X.G)(([W,Le,mt],He)=>(mt={...W,...Le,...mt},0===He?(0,J.of)(mt):Promise.resolve(mt)))).subscribe(W=>{if(!_.isActivated||!_.activatedComponentRef||_.activatedRoute!==C||null===C.component)return void this.unsubscribeFromRouteData(_);const Le=(0,a.o9M)(C.component);if(Le)for(const{templateName:mt}of Le.inputs)_.activatedComponentRef.setInput(mt,W[mt]);else this.unsubscribeFromRouteData(_)});this.outletDataSubscriptions.set(_,L)}}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275prov=a.wxM({token:f,factory:f.\u0275fac}),v})();function wo(f,v,x){if(x&&f.shouldReuseRoute(v.value,x.value.snapshot)){const _=x.value;_._futureSnapshot=v.value;const C=function po(f,v,x){return v.children.map(_=>{for(const C of x.children)if(f.shouldReuseRoute(_.value,C.value.snapshot))return wo(f,_,C);return wo(f,_)})}(f,v,x);return new Ct(_,C)}{if(f.shouldAttach(v.value)){const L=f.retrieve(v.value);if(null!==L){const W=L.route;return W.value._futureSnapshot=v.value,W.children=v.children.map(Le=>wo(f,Le)),W}}const _=function ir(f){return new ci(new ce.g(f.url),new ce.g(f.params),new ce.g(f.queryParams),new ce.g(f.fragment),new ce.g(f.data),f.outlet,f.component,f)}(v.value),C=v.children.map(L=>wo(f,L));return new Ct(_,C)}}const go="ngNavigationCancelingError";function un(f,v){const{redirectTo:x,navigationBehaviorOptions:_}=jt(v)?{redirectTo:v,navigationBehaviorOptions:void 0}:v,C=gr(!1,rn.Redirect);return C.url=x,C.navigationBehaviorOptions=_,C}function gr(f,v){const x=new Error("NavigationCancelingError: ".concat(f||""));return x[go]=!0,x.cancellationCode=v,x}function wi(f){return!!f&&f[go]}let or=(()=>{var f;class v{}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275cmp=a.In1({type:f,selectors:[["ng-component"]],standalone:!0,features:[a.UHJ],decls:1,vars:0,template:function(_,C){1&_&&a.wR5(0,"router-outlet")},dependencies:[Hn],encapsulation:2}),v})();function vr(f){const v=f.children&&f.children.map(vr),x=v?{...f,children:v}:{...f};return!x.component&&!x.loadComponent&&(v||x.loadChildren)&&x.outlet&&x.outlet!==ct&&(x.component=or),x}function Xi(f){return f.outlet||ct}function Po(f){var v;if(!f)return null;if(null!==(v=f.routeConfig)&&void 0!==v&&v._injector)return f.routeConfig._injector;for(let x=f.parent;x;x=x.parent){const _=x.routeConfig;if(null!=_&&_._loadedInjector)return _._loadedInjector;if(null!=_&&_._injector)return _._injector}return null}class rs{constructor(v,x,_,C,L){this.routeReuseStrategy=v,this.futureState=x,this.currState=_,this.forwardEvent=C,this.inputBindingEnabled=L}activate(v){const x=this.futureState._root,_=this.currState?this.currState._root:null;this.deactivateChildRoutes(x,_,v),mo(this.futureState.root),this.activateChildRoutes(x,_,v)}deactivateChildRoutes(v,x,_){const C=zt(x);v.children.forEach(L=>{const W=L.value.outlet;this.deactivateRoutes(L,C[W],_),delete C[W]}),Object.values(C).forEach(L=>{this.deactivateRouteAndItsChildren(L,_)})}deactivateRoutes(v,x,_){const C=v.value,L=x?x.value:null;if(C===L)if(C.component){const W=_.getContext(C.outlet);W&&this.deactivateChildRoutes(v,x,W.children)}else this.deactivateChildRoutes(v,x,_);else L&&this.deactivateRouteAndItsChildren(x,_)}deactivateRouteAndItsChildren(v,x){v.value.component&&this.routeReuseStrategy.shouldDetach(v.value.snapshot)?this.detachAndStoreRouteSubtree(v,x):this.deactivateRouteAndOutlet(v,x)}detachAndStoreRouteSubtree(v,x){const _=x.getContext(v.value.outlet),C=_&&v.value.component?_.children:x,L=zt(v);for(const W of Object.values(L))this.deactivateRouteAndItsChildren(W,C);if(_&&_.outlet){const W=_.outlet.detach(),Le=_.children.onOutletDeactivated();this.routeReuseStrategy.store(v.value.snapshot,{componentRef:W,route:v,contexts:Le})}}deactivateRouteAndOutlet(v,x){const _=x.getContext(v.value.outlet),C=_&&v.value.component?_.children:x,L=zt(v);for(const W of Object.values(L))this.deactivateRouteAndItsChildren(W,C);_&&(_.outlet&&(_.outlet.deactivate(),_.children.onOutletDeactivated()),_.attachRef=null,_.route=null)}activateChildRoutes(v,x,_){const C=zt(x);v.children.forEach(L=>{this.activateRoutes(L,C[L.value.outlet],_),this.forwardEvent(new Xn(L.value.snapshot))}),v.children.length&&this.forwardEvent(new tr(v.value.snapshot))}activateRoutes(v,x,_){const C=v.value,L=x?x.value:null;if(mo(C),C===L)if(C.component){const W=_.getOrCreateContext(C.outlet);this.activateChildRoutes(v,x,W.children)}else this.activateChildRoutes(v,x,_);else if(C.component){const W=_.getOrCreateContext(C.outlet);if(this.routeReuseStrategy.shouldAttach(C.snapshot)){const Le=this.routeReuseStrategy.retrieve(C.snapshot);this.routeReuseStrategy.store(C.snapshot,null),W.children.onOutletReAttached(Le.contexts),W.attachRef=Le.componentRef,W.route=Le.route.value,W.outlet&&W.outlet.attach(Le.componentRef,Le.route.value),mo(Le.route.value),this.activateChildRoutes(v,null,W.children)}else{const Le=Po(C.snapshot);W.attachRef=null,W.route=C,W.injector=Le,W.outlet&&W.outlet.activateWith(C,W.injector),this.activateChildRoutes(v,null,W.children)}}else this.activateChildRoutes(v,null,_)}}class Fs{constructor(v){this.path=v,this.route=this.path[this.path.length-1]}}class Ls{constructor(v,x){this.component=v,this.route=x}}function sa(f,v,x){const _=f._root;return Lr(_,v?v._root:null,x,[_.value])}function br(f,v){const x=Symbol(),_=v.get(f,x);return _===x?"function"!=typeof f||(0,a.K_M)(f)?v.get(f):f:_}function Lr(f,v,x,_,C={canDeactivateChecks:[],canActivateChecks:[]}){const L=zt(v);return f.children.forEach(W=>{(function Ra(f,v,x,_,C={canDeactivateChecks:[],canActivateChecks:[]}){const L=f.value,W=v?v.value:null,Le=x?x.getContext(f.value.outlet):null;if(W&&L.routeConfig===W.routeConfig){const mt=function Pa(f,v,x){if("function"==typeof x)return x(f,v);switch(x){case"pathParamsChange":return!gt(f.url,v.url);case"pathParamsOrQueryParamsChange":return!gt(f.url,v.url)||!Te(f.queryParams,v.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!pr(f,v)||!Te(f.queryParams,v.queryParams);default:return!pr(f,v)}}(W,L,L.routeConfig.runGuardsAndResolvers);mt?C.canActivateChecks.push(new Fs(_)):(L.data=W.data,L._resolvedData=W._resolvedData),Lr(f,v,L.component?Le?Le.children:null:x,_,C),mt&&Le&&Le.outlet&&Le.outlet.isActivated&&C.canDeactivateChecks.push(new Ls(Le.outlet.component,W))}else W&&Br(v,Le,C),C.canActivateChecks.push(new Fs(_)),Lr(f,null,L.component?Le?Le.children:null:x,_,C)})(W,L[W.value.outlet],x,_.concat([W.value]),C),delete L[W.value.outlet]}),Object.entries(L).forEach(([W,Le])=>Br(Le,x.getContext(W),C)),C}function Br(f,v,x){const _=zt(f),C=f.value;Object.entries(_).forEach(([L,W])=>{Br(W,C.component?v?v.children.getContext(L):null:v,x)}),x.canDeactivateChecks.push(new Ls(C.component&&v&&v.outlet&&v.outlet.isActivated?v.outlet.component:null,C))}function Ur(f){return"function"==typeof f}function T(f){return f instanceof ae.G||"EmptyError"===(null==f?void 0:f.name)}const Q=Symbol("INITIAL_VALUE");function yt(){return(0,X.G)(f=>(0,z.E)(f.map(v=>v.pipe((0,G.U)(1),(0,ye.W)(Q)))).pipe((0,Oe.k)(v=>{for(const x of v)if(!0!==x){if(x===Q)return Q;if(!1===x||x instanceof Ue)return x}return!0}),(0,re.I)(v=>v!==Q),(0,G.U)(1)))}function Cr(f){return(0,Ce.W)((0,vt.y)(v=>{if(jt(v))throw un(0,v)}),(0,Oe.k)(v=>!0===v))}class Ni{constructor(v){this.segmentGroup=v||null}}class xr extends Error{constructor(v){super(),this.urlTree=v}}function vi(f){return et(new Ni(f))}class Na{constructor(v,x){this.urlSerializer=v,this.urlTree=x}lineralizeSegments(v,x){let _=[],C=x.root;for(;;){if(_=_.concat(C.segments),0===C.numberOfChildren)return(0,J.of)(_);if(C.numberOfChildren>1||!C.children[ct])return et(new a.OBp(4e3,!1));C=C.children[ct]}}applyRedirectCommands(v,x,_){const C=this.applyRedirectCreateUrlTree(x,this.urlSerializer.parse(x),v,_);if(x.startsWith("/"))throw new xr(C);return C}applyRedirectCreateUrlTree(v,x,_,C){const L=this.createSegmentGroup(v,x.root,_,C);return new Ue(L,this.createQueryParams(x.queryParams,this.urlTree.queryParams),x.fragment)}createQueryParams(v,x){const _={};return Object.entries(v).forEach(([C,L])=>{if("string"==typeof L&&L.startsWith(":")){const Le=L.substring(1);_[C]=x[Le]}else _[C]=L}),_}createSegmentGroup(v,x,_,C){const L=this.createSegments(v,x.segments,_,C);let W={};return Object.entries(x.children).forEach(([Le,mt])=>{W[Le]=this.createSegmentGroup(v,mt,_,C)}),new Y(L,W)}createSegments(v,x,_,C){return x.map(L=>L.path.startsWith(":")?this.findPosParam(v,L,C):this.findOrReturn(L,_))}findPosParam(v,x,_){const C=_[x.path.substring(1)];if(!C)throw new a.OBp(4001,!1);return C}findOrReturn(v,x){let _=0;for(const C of x){if(C.path===v.path)return x.splice(_),C;_++}return v}}const No={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function jr(f,v,x,_,C){const L=Er(f,v,x);return L.matched?(_=function Ro(f,v){var x;return f.providers&&!f._injector&&(f._injector=(0,a.SIz)(f.providers,v,"Route: ".concat(f.path))),null!==(x=f._injector)&&void 0!==x?x:v}(v,_),function sr(f,v,x,_){const C=v.canMatch;if(!C||0===C.length)return(0,J.of)(!0);const L=C.map(W=>{const Le=br(W,f);return Xt(function H(f){return f&&Ur(f.canMatch)}(Le)?Le.canMatch(v,x):(0,a.SMS)(f,()=>Le(v,x)))});return(0,J.of)(L).pipe(yt(),Cr())}(_,v,x).pipe((0,Oe.k)(W=>!0===W?L:{...No}))):(0,J.of)(L)}function Er(f,v,x){var _,C;if("**"===v.path)return function Ds(f){return{matched:!0,parameters:f.length>0?Mt(f).parameters:{},consumedSegments:f,remainingSegments:[],positionalParamSegments:{}}}(x);if(""===v.path)return"full"===v.pathMatch&&(f.hasChildren()||x.length>0)?{...No}:{matched:!0,consumedSegments:[],remainingSegments:x,parameters:{},positionalParamSegments:{}};const W=(v.matcher||pe)(x,f,v);if(!W)return{...No};const Le={};Object.entries(null!==(_=W.posParams)&&void 0!==_?_:{}).forEach(([He,kt])=>{Le[He]=kt.path});const mt=W.consumed.length>0?{...Le,...W.consumed[W.consumed.length-1].parameters}:Le;return{matched:!0,consumedSegments:W.consumed,remainingSegments:x.slice(W.consumed.length),parameters:mt,positionalParamSegments:null!==(C=W.posParams)&&void 0!==C?C:{}}}function ss(f,v,x,_){return x.length>0&&function an(f,v,x){return x.some(_=>$r(f,v,_)&&Xi(_)!==ct)}(f,x,_)?{segmentGroup:new Y(v,Fo(_,new Y(x,f.children))),slicedSegments:[]}:0===x.length&&function as(f,v,x){return x.some(_=>$r(f,v,_))}(f,x,_)?{segmentGroup:new Y(f.segments,ws(f,x,_,f.children)),slicedSegments:x}:{segmentGroup:new Y(f.segments,f.children),slicedSegments:x}}function ws(f,v,x,_){const C={};for(const L of x)if($r(f,v,L)&&!_[Xi(L)]){const W=new Y([],{});C[Xi(L)]=W}return{..._,...C}}function Fo(f,v){const x={};x[ct]=v;for(const _ of f)if(""===_.path&&Xi(_)!==ct){const C=new Y([],{});x[Xi(_)]=C}return x}function $r(f,v,x){return(!(f.hasChildren()||v.length>0)||"full"!==x.pathMatch)&&""===x.path}class La{}class $s{constructor(v,x,_,C,L,W,Le){this.injector=v,this.configLoader=x,this.rootComponentType=_,this.config=C,this.urlTree=L,this.paramsInheritanceStrategy=W,this.urlSerializer=Le,this.applyRedirects=new Na(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(v){return new a.OBp(4002,"'".concat(v.segmentGroup,"'"))}recognize(){const v=ss(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(v).pipe((0,Oe.k)(x=>{const _=new Ln([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ct,this.rootComponentType,null,{}),C=new Ct(_,x),L=new Di("",C),W=function dn(f,v,x=null,_=null){return Ci(di(f),v,x,_)}(_,[],this.urlTree.queryParams,this.urlTree.fragment);return W.queryParams=this.urlTree.queryParams,L.url=this.urlSerializer.serialize(W),this.inheritParamsAndData(L._root,null),{state:L,tree:W}}))}match(v){return this.processSegmentGroup(this.injector,this.config,v,ct).pipe(De(_=>{if(_ instanceof xr)return this.urlTree=_.urlTree,this.match(_.urlTree.root);throw _ instanceof Ni?this.noMatchError(_):_}))}inheritParamsAndData(v,x){const _=v.value,C=fo(_,x,this.paramsInheritanceStrategy);_.params=Object.freeze(C.params),_.data=Object.freeze(C.data),v.children.forEach(L=>this.inheritParamsAndData(L,_))}processSegmentGroup(v,x,_,C){return 0===_.segments.length&&_.hasChildren()?this.processChildren(v,x,_):this.processSegment(v,x,_,_.segments,C,!0).pipe((0,Oe.k)(L=>L instanceof Ct?[L]:[]))}processChildren(v,x,_){const C=[];for(const L of Object.keys(_.children))"primary"===L?C.unshift(L):C.push(L);return(0,D.Q)(C).pipe((0,on.m)(L=>{const W=_.children[L],Le=function Es(f,v){const x=f.filter(_=>Xi(_)===v);return x.push(...f.filter(_=>Xi(_)!==v)),x}(x,L);return this.processSegmentGroup(v,Le,W,L)}),function Se(f,v){return(0,Re.i)(function _e(f,v,x,_,C){return(L,W)=>{let Le=x,mt=v,He=0;L.subscribe((0,Ne.e)(W,kt=>{const hn=He++;mt=Le?f(mt,kt,hn):(Le=!0,kt),_&&W.next(mt)},C&&(()=>{Le&&W.next(mt),W.complete()})))}}(f,v,arguments.length>=2,!0))}((L,W)=>(L.push(...W),L)),me(null),function ht(f,v){const x=arguments.length>=2;return _=>_.pipe(f?(0,re.I)((C,L)=>f(C,L,_)):Pt.Z,Ke(1),x?me(v):Xe(()=>new ae.G))}(),(0,ie.O)(L=>{if(null===L)return vi(_);const W=Hr(L);return function ls(f){f.sort((v,x)=>v.value.outlet===ct?-1:x.value.outlet===ct?1:v.value.outlet.localeCompare(x.value.outlet))}(W),(0,J.of)(W)}))}processSegment(v,x,_,C,L,W){return(0,D.Q)(x).pipe((0,on.m)(Le=>{var mt;return this.processSegmentAgainstRoute(null!==(mt=Le._injector)&&void 0!==mt?mt:v,x,Le,_,C,L,W).pipe(De(He=>{if(He instanceof Ni)return(0,J.of)(null);throw He}))}),Tt(Le=>!!Le),De(Le=>{if(T(Le))return function Fa(f,v,x){return 0===v.length&&!f.children[x]}(_,C,L)?(0,J.of)(new La):vi(_);throw Le}))}processSegmentAgainstRoute(v,x,_,C,L,W,Le){return function Vs(f,v,x,_){return!!(Xi(f)===_||_!==ct&&$r(v,x,f))&&Er(v,f,x).matched}(_,C,L,W)?void 0===_.redirectTo?this.matchSegmentAgainstRoute(v,C,_,L,W):this.allowRedirects&&Le?this.expandSegmentAgainstRouteUsingRedirect(v,C,x,_,L,W):vi(C):vi(C)}expandSegmentAgainstRouteUsingRedirect(v,x,_,C,L,W){const{matched:Le,consumedSegments:mt,positionalParamSegments:He,remainingSegments:kt}=Er(x,C,L);if(!Le)return vi(x);C.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const hn=this.applyRedirects.applyRedirectCommands(mt,C.redirectTo,He);return this.applyRedirects.lineralizeSegments(C,hn).pipe((0,ie.O)(ri=>this.processSegment(v,_,x,ri.concat(kt),W,!1)))}matchSegmentAgainstRoute(v,x,_,C,L){const W=jr(x,_,C,v);return"**"===_.path&&(x.children={}),W.pipe((0,X.G)(Le=>{var mt;return Le.matched?(v=null!==(mt=_._injector)&&void 0!==mt?mt:v,this.getChildConfig(v,_,C).pipe((0,X.G)(({routes:He})=>{var kt,hn,ri;const $n=null!==(kt=_._loadedInjector)&&void 0!==kt?kt:v,{consumedSegments:ji,remainingSegments:Ii,parameters:Qt}=Le,Sr=new Ln(ji,Qt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function at(f){return f.data||{}}(_),Xi(_),null!==(hn=null!==(ri=_.component)&&void 0!==ri?ri:_._loadedComponent)&&void 0!==hn?hn:null,_,function _n(f){return f.resolve||{}}(_)),{segmentGroup:Zr,slicedSegments:Tr}=ss(x,ji,Ii,He);if(0===Tr.length&&Zr.hasChildren())return this.processChildren($n,He,Zr).pipe((0,Oe.k)(Ar=>null===Ar?null:new Ct(Sr,Ar)));if(0===He.length&&0===Tr.length)return(0,J.of)(new Ct(Sr,[]));const Wa=Xi(_)===L;return this.processSegment($n,He,Zr,Tr,Wa?ct:L,!0).pipe((0,Oe.k)(Ar=>new Ct(Sr,Ar instanceof Ct?[Ar]:[])))}))):vi(x)}))}getChildConfig(v,x,_){return x.children?(0,J.of)({routes:x.children,injector:v}):x.loadChildren?void 0!==x._loadedRoutes?(0,J.of)({routes:x._loadedRoutes,injector:x._loadedInjector}):function Ko(f,v,x,_){const C=v.canLoad;if(void 0===C||0===C.length)return(0,J.of)(!0);const L=C.map(W=>{const Le=br(W,f);return Xt(function la(f){return f&&Ur(f.canLoad)}(Le)?Le.canLoad(v,x):(0,a.SMS)(f,()=>Le(v,x)))});return(0,J.of)(L).pipe(yt(),Cr())}(v,x,_).pipe((0,ie.O)(C=>C?this.configLoader.loadChildren(v,x).pipe((0,vt.y)(L=>{x._loadedRoutes=L.routes,x._loadedInjector=L.injector})):function Yo(f){return et(gr(!1,rn.GuardRejected))}())):(0,J.of)({routes:[],injector:v})}}function cs(f){const v=f.value.routeConfig;return v&&""===v.path}function Hr(f){const v=[],x=new Set;for(const _ of f){if(!cs(_)){v.push(_);continue}const C=v.find(L=>_.value.routeConfig===L.value.routeConfig);void 0!==C?(C.children.push(..._.children),x.add(C)):v.push(_)}for(const _ of x){const C=Hr(_.children);v.push(new Ct(_.value,C))}return v.filter(_=>!x.has(_))}function Gn(f){const v=f.children.map(x=>Gn(x)).flat();return[f,...v]}function Io(f){return(0,X.G)(v=>{const x=f(v);return x?(0,D.Q)(x).pipe((0,Oe.k)(()=>v)):(0,J.of)(v)})}let ar=(()=>{var f;class v{buildTitle(_){let C,L=_.root;for(;void 0!==L;){var W;C=null!==(W=this.getResolvedTitleForRoute(L))&&void 0!==W?W:C,L=L.children.find(Le=>Le.outlet===ct)}return C}getResolvedTitleForRoute(_){return _.data[Zt]}}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275prov=a.wxM({token:f,factory:()=>(0,a.uUt)(Ua),providedIn:"root"}),v})(),Ua=(()=>{var f;class v extends ar{constructor(_){super(),this.title=_}updateTitle(_){const C=this.buildTitle(_);void 0!==C&&this.title.setTitle(C)}}return(f=v).\u0275fac=function(_){return new(_||f)(a.CoB(Gt.OY))},f.\u0275prov=a.wxM({token:f,factory:f.\u0275fac,providedIn:"root"}),v})();const Dr=new a.UbH("",{providedIn:"root",factory:()=>({})}),lr=new a.UbH("");let bi=(()=>{var f;class v{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,a.uUt)(a.ESV)}loadComponent(_){if(this.componentLoaders.get(_))return this.componentLoaders.get(_);if(_._loadedComponent)return(0,J.of)(_._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(_);const C=Xt(_.loadComponent()).pipe((0,Oe.k)(So),(0,vt.y)(W=>{this.onLoadEndListener&&this.onLoadEndListener(_),_._loadedComponent=W}),(0,Ft.U)(()=>{this.componentLoaders.delete(_)})),L=new xt(C,()=>new lt.E).pipe(ot());return this.componentLoaders.set(_,L),L}loadChildren(_,C){if(this.childrenLoaders.get(C))return this.childrenLoaders.get(C);if(C._loadedRoutes)return(0,J.of)({routes:C._loadedRoutes,injector:C._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(C);const W=function so(f,v,x,_){return Xt(f.loadChildren()).pipe((0,Oe.k)(So),(0,ie.O)(C=>C instanceof a.obV||Array.isArray(C)?(0,J.of)(C):(0,D.Q)(v.compileModuleAsync(C))),(0,Oe.k)(C=>{_&&_(f);let L,W,Le=!1;return Array.isArray(C)?(W=C,!0):(L=C.create(x).injector,W=L.get(lr,[],{optional:!0,self:!0}).flat()),{routes:W.map(vr),injector:L}}))}(C,this.compiler,_,this.onLoadEndListener).pipe((0,Ft.U)(()=>{this.childrenLoaders.delete(C)})),Le=new xt(W,()=>new lt.E).pipe(ot());return this.childrenLoaders.set(C,Le),Le}}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275prov=a.wxM({token:f,factory:f.\u0275fac,providedIn:"root"}),v})();function So(f){return function Ms(f){return f&&"object"==typeof f&&"default"in f}(f)?f.default:f}let g=(()=>{var f;class v{}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275prov=a.wxM({token:f,factory:()=>(0,a.uUt)(S),providedIn:"root"}),v})(),S=(()=>{var f;class v{shouldProcessUrl(_){return!0}extract(_){return _}merge(_,C){return _}}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275prov=a.wxM({token:f,factory:f.\u0275fac,providedIn:"root"}),v})();const Z=new a.UbH(""),M=new a.UbH("");function j(f,v,x){const _=f.get(M),C=f.get(Ge.Ud);return f.get(a.WW2).runOutsideAngular(()=>{if(!C.startViewTransition||_.skipNextTransition)return _.skipNextTransition=!1,Promise.resolve();let L;const W=new Promise(He=>{L=He}),Le=C.startViewTransition(()=>(L(),function ue(f){return new Promise(v=>{(0,a.I44)(v,{injector:f})})}(f))),{onViewTransitionCreated:mt}=_;return mt&&(0,a.SMS)(f,()=>mt({transition:Le,from:v,to:x})),W})}let it=(()=>{var f;class v{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new lt.E,this.transitionAbortSubject=new lt.E,this.configLoader=(0,a.uUt)(bi),this.environmentInjector=(0,a.uUt)(a.SIe),this.urlSerializer=(0,a.uUt)(Lt),this.rootContexts=(0,a.uUt)(Oo),this.location=(0,a.uUt)(Ge.oB),this.inputBindingEnabled=null!==(0,a.uUt)(zn,{optional:!0}),this.titleStrategy=(0,a.uUt)(ar),this.options=(0,a.uUt)(Dr,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,a.uUt)(g),this.createViewTransition=(0,a.uUt)(Z,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,J.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=L=>this.events.next(new hi(L)),this.configLoader.onLoadStartListener=L=>this.events.next(new mr(L))}complete(){var _;null===(_=this.transitions)||void 0===_||_.complete()}handleNavigationRequest(_){var C;const L=++this.navigationId;null===(C=this.transitions)||void 0===C||C.next({...this.transitions.value,..._,id:L})}setupNavigations(_,C,L){return this.transitions=new ce.g({id:0,currentUrlTree:C,currentRawUrl:C,extractedUrl:this.urlHandlingStrategy.extract(C),urlAfterRedirects:this.urlHandlingStrategy.extract(C),rawUrl:C,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:gi,restoredState:null,currentSnapshot:L.snapshot,targetSnapshot:null,currentRouterState:L,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,re.I)(W=>0!==W.id),(0,Oe.k)(W=>({...W,extractedUrl:this.urlHandlingStrategy.extract(W.rawUrl)})),(0,X.G)(W=>{this.currentTransition=W;let Le=!1,mt=!1;return(0,J.of)(W).pipe((0,vt.y)(He=>{this.currentNavigation={id:He.id,initialUrl:He.rawUrl,extractedUrl:He.extractedUrl,trigger:He.source,extras:He.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,X.G)(He=>{var kt;const hn=!_.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),ri=null!==(kt=He.extras.onSameUrlNavigation)&&void 0!==kt?kt:_.onSameUrlNavigation;if(!hn&&"reload"!==ri){const $n="";return this.events.next(new Kn(He.id,this.urlSerializer.serialize(He.rawUrl),$n,Sn.IgnoredSameUrlNavigation)),He.resolve(null),ke.k}if(this.urlHandlingStrategy.shouldProcessUrl(He.rawUrl))return(0,J.of)(He).pipe((0,X.G)($n=>{var ji,Ii;const Qt=null===(ji=this.transitions)||void 0===ji?void 0:ji.getValue();return this.events.next(new ii($n.id,this.urlSerializer.serialize($n.extractedUrl),$n.source,$n.restoredState)),Qt!==(null===(Ii=this.transitions)||void 0===Ii?void 0:Ii.getValue())?ke.k:Promise.resolve($n)}),function ds(f,v,x,_,C,L){return(0,ie.O)(W=>function js(f,v,x,_,C,L,W="emptyOnly"){return new $s(f,v,x,_,C,W,L).recognize()}(f,v,x,_,W.extractedUrl,C,L).pipe((0,Oe.k)(({state:Le,tree:mt})=>({...W,targetSnapshot:Le,urlAfterRedirects:mt}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,_.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,vt.y)($n=>{W.targetSnapshot=$n.targetSnapshot,W.urlAfterRedirects=$n.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:$n.urlAfterRedirects};const ji=new $o($n.id,this.urlSerializer.serialize($n.extractedUrl),this.urlSerializer.serialize($n.urlAfterRedirects),$n.targetSnapshot);this.events.next(ji)}));if(hn&&this.urlHandlingStrategy.shouldProcessUrl(He.currentRawUrl)){const{id:$n,extractedUrl:ji,source:Ii,restoredState:Qt,extras:Sr}=He,Zr=new ii($n,this.urlSerializer.serialize(ji),Ii,Qt);this.events.next(Zr);const Tr=Li(this.rootComponentType).snapshot;return this.currentTransition=W={...He,targetSnapshot:Tr,urlAfterRedirects:ji,extras:{...Sr,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=ji,(0,J.of)(W)}{const $n="";return this.events.next(new Kn(He.id,this.urlSerializer.serialize(He.extractedUrl),$n,Sn.IgnoredByUrlHandlingStrategy)),He.resolve(null),ke.k}}),(0,vt.y)(He=>{const kt=new Eo(He.id,this.urlSerializer.serialize(He.extractedUrl),this.urlSerializer.serialize(He.urlAfterRedirects),He.targetSnapshot);this.events.next(kt)}),(0,Oe.k)(He=>(this.currentTransition=W={...He,guards:sa(He.targetSnapshot,He.currentSnapshot,this.rootContexts)},W)),function Ot(f,v){return(0,ie.O)(x=>{const{targetSnapshot:_,currentSnapshot:C,guards:{canActivateChecks:L,canDeactivateChecks:W}}=x;return 0===W.length&&0===L.length?(0,J.of)({...x,guardsResult:!0}):function ti(f,v,x,_){return(0,D.Q)(f).pipe((0,ie.O)(C=>function zi(f,v,x,_,C){const L=v&&v.routeConfig?v.routeConfig.canDeactivate:null;if(!L||0===L.length)return(0,J.of)(!0);const W=L.map(Le=>{var mt;const He=null!==(mt=Po(v))&&void 0!==mt?mt:C,kt=br(Le,He);return Xt(function E(f){return f&&Ur(f.canDeactivate)}(kt)?kt.canDeactivate(f,v,x,_):(0,a.SMS)(He,()=>kt(f,v,x,_))).pipe(Tt())});return(0,J.of)(W).pipe(yt())}(C.component,C.route,x,v,_)),Tt(C=>!0!==C,!0))}(W,_,C,f).pipe((0,ie.O)(Le=>Le&&function aa(f){return"boolean"==typeof f}(Le)?function Qi(f,v,x,_){return(0,D.Q)(v).pipe((0,on.m)(C=>(0,ve.W)(function An(f,v){return null!==f&&v&&v(new Go(f)),(0,J.of)(!0)}(C.route.parent,_),function rr(f,v){return null!==f&&v&&v(new pn(f)),(0,J.of)(!0)}(C.route,_),function yr(f,v,x){const _=v[v.length-1],L=v.slice(0,v.length-1).reverse().map(W=>function Bs(f){const v=f.routeConfig?f.routeConfig.canActivateChild:null;return v&&0!==v.length?{node:f,guards:v}:null}(W)).filter(W=>null!==W).map(W=>(0,te.Q)(()=>{const Le=W.guards.map(mt=>{var He;const kt=null!==(He=Po(W.node))&&void 0!==He?He:x,hn=br(mt,kt);return Xt(function A(f){return f&&Ur(f.canActivateChild)}(hn)?hn.canActivateChild(_,f):(0,a.SMS)(kt,()=>hn(_,f))).pipe(Tt())});return(0,J.of)(Le).pipe(yt())}));return(0,J.of)(L).pipe(yt())}(f,C.path,x),function Vr(f,v,x){const _=v.routeConfig?v.routeConfig.canActivate:null;if(!_||0===_.length)return(0,J.of)(!0);const C=_.map(L=>(0,te.Q)(()=>{var W;const Le=null!==(W=Po(v))&&void 0!==W?W:x,mt=br(L,Le);return Xt(function Us(f){return f&&Ur(f.canActivate)}(mt)?mt.canActivate(v,f):(0,a.SMS)(Le,()=>mt(v,f))).pipe(Tt())}));return(0,J.of)(C).pipe(yt())}(f,C.route,x))),Tt(C=>!0!==C,!0))}(_,L,f,v):(0,J.of)(Le)),(0,Oe.k)(Le=>({...x,guardsResult:Le})))})}(this.environmentInjector,He=>this.events.next(He)),(0,vt.y)(He=>{if(W.guardsResult=He.guardsResult,jt(He.guardsResult))throw un(0,He.guardsResult);const kt=new Do(He.id,this.urlSerializer.serialize(He.extractedUrl),this.urlSerializer.serialize(He.urlAfterRedirects),He.targetSnapshot,!!He.guardsResult);this.events.next(kt)}),(0,re.I)(He=>!!He.guardsResult||(this.cancelNavigationTransition(He,"",rn.GuardRejected),!1)),Io(He=>{if(He.guards.canActivateChecks.length)return(0,J.of)(He).pipe((0,vt.y)(kt=>{const hn=new hr(kt.id,this.urlSerializer.serialize(kt.extractedUrl),this.urlSerializer.serialize(kt.urlAfterRedirects),kt.targetSnapshot);this.events.next(hn)}),(0,X.G)(kt=>{let hn=!1;return(0,J.of)(kt).pipe(function zr(f,v){return(0,ie.O)(x=>{const{targetSnapshot:_,guards:{canActivateChecks:C}}=x;if(!C.length)return(0,J.of)(x);const L=new Set(C.map(mt=>mt.route)),W=new Set;for(const mt of L)if(!W.has(mt))for(const He of Gn(mt))W.add(He);let Le=0;return(0,D.Q)(W).pipe((0,on.m)(mt=>L.has(mt)?function da(f,v,x,_){const C=f.routeConfig,L=f._resolve;return void 0!==(null==C?void 0:C.title)&&!Ho(C)&&(L[Zt]=C.title),function Wr(f,v,x,_){const C=dt(f);if(0===C.length)return(0,J.of)({});const L={};return(0,D.Q)(C).pipe((0,ie.O)(W=>function Oi(f,v,x,_){var C;const L=null!==(C=Po(v))&&void 0!==C?C:_,W=br(f,L);return Xt(W.resolve?W.resolve(v,x):(0,a.SMS)(L,()=>W(v,x)))}(f[W],v,x,_).pipe(Tt(),(0,vt.y)(Le=>{L[W]=Le}))),Ke(1),(0,st.e)(L),De(W=>T(W)?ke.k:et(W)))}(L,f,v,_).pipe((0,Oe.k)(W=>(f._resolvedData=W,f.data=fo(f,f.parent,x).resolve,null)))}(mt,_,f,v):(mt.data=fo(mt,mt.parent,f).resolve,(0,J.of)(void 0))),(0,vt.y)(()=>Le++),Ke(1),(0,ie.O)(mt=>Le===W.size?(0,J.of)(x):ke.k))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,vt.y)({next:()=>hn=!0,complete:()=>{hn||this.cancelNavigationTransition(kt,"",rn.NoDataFromResolver)}}))}),(0,vt.y)(kt=>{const hn=new fr(kt.id,this.urlSerializer.serialize(kt.extractedUrl),this.urlSerializer.serialize(kt.urlAfterRedirects),kt.targetSnapshot);this.events.next(hn)}))}),Io(He=>{const kt=hn=>{var ri;const $n=[];null!==(ri=hn.routeConfig)&&void 0!==ri&&ri.loadComponent&&!hn.routeConfig._loadedComponent&&$n.push(this.configLoader.loadComponent(hn.routeConfig).pipe((0,vt.y)(ji=>{hn.component=ji}),(0,Oe.k)(()=>{})));for(const ji of hn.children)$n.push(...kt(ji));return $n};return(0,z.E)(kt(He.targetSnapshot.root)).pipe(me(null),(0,G.U)(1))}),Io(()=>this.afterPreactivation()),(0,X.G)(()=>{var He;const{currentSnapshot:kt,targetSnapshot:hn}=W,ri=null===(He=this.createViewTransition)||void 0===He?void 0:He.call(this,this.environmentInjector,kt.root,hn.root);return ri?(0,D.Q)(ri).pipe((0,Oe.k)(()=>W)):(0,J.of)(W)}),(0,Oe.k)(He=>{const kt=function nr(f,v,x){const _=wo(f,v._root,x?x._root:void 0);return new ei(_,v)}(_.routeReuseStrategy,He.targetSnapshot,He.currentRouterState);return this.currentTransition=W={...He,targetRouterState:kt},this.currentNavigation.targetRouterState=kt,W}),(0,vt.y)(()=>{this.events.next(new Yi)}),((f,v,x,_)=>(0,Oe.k)(C=>(new rs(v,C.targetRouterState,C.currentRouterState,x,_).activate(f),C)))(this.rootContexts,_.routeReuseStrategy,He=>this.events.next(He),this.inputBindingEnabled),(0,G.U)(1),(0,vt.y)({next:He=>{var kt;Le=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new oi(He.id,this.urlSerializer.serialize(He.extractedUrl),this.urlSerializer.serialize(He.urlAfterRedirects))),null===(kt=this.titleStrategy)||void 0===kt||kt.updateTitle(He.targetRouterState.snapshot),He.resolve(!0)},complete:()=>{Le=!0}}),(0,Kt.a)(this.transitionAbortSubject.pipe((0,vt.y)(He=>{throw He}))),(0,Ft.U)(()=>{var He;!Le&&!mt&&this.cancelNavigationTransition(W,"",rn.SupersededByNewNavigation),(null===(He=this.currentTransition)||void 0===He?void 0:He.id)===W.id&&(this.currentNavigation=null,this.currentTransition=null)}),De(He=>{if(mt=!0,wi(He))this.events.next(new ui(W.id,this.urlSerializer.serialize(W.extractedUrl),He.message,He.cancellationCode)),function zo(f){return wi(f)&&jt(f.url)}(He)?this.events.next(new _i(He.url)):W.resolve(!1);else{var kt;this.events.next(new Jn(W.id,this.urlSerializer.serialize(W.extractedUrl),He,null!==(kt=W.targetSnapshot)&&void 0!==kt?kt:void 0));try{W.resolve(_.errorHandler(He))}catch(hn){this.options.resolveNavigationPromiseOnError?W.resolve(!1):W.reject(hn)}}return ke.k}))}))}cancelNavigationTransition(_,C,L){const W=new ui(_.id,this.urlSerializer.serialize(_.extractedUrl),C,L);this.events.next(W),_.resolve(!1)}isUpdatingInternalState(){var _,C;return(null===(_=this.currentTransition)||void 0===_?void 0:_.extractedUrl.toString())!==(null===(C=this.currentTransition)||void 0===C?void 0:C.currentUrlTree.toString())}isUpdatedBrowserUrl(){var _,C;return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==(null===(_=this.currentTransition)||void 0===_?void 0:_.extractedUrl.toString())&&!(null!==(C=this.currentTransition)&&void 0!==C&&C.extras.skipLocationChange)}}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275prov=a.wxM({token:f,factory:f.\u0275fac,providedIn:"root"}),v})();function wt(f){return f!==gi}let yn=(()=>{var f;class v{}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275prov=a.wxM({token:f,factory:()=>(0,a.uUt)(Bn),providedIn:"root"}),v})();class kn{shouldDetach(v){return!1}store(v,x){}shouldAttach(v){return!1}retrieve(v){return null}shouldReuseRoute(v,x){return v.routeConfig===x.routeConfig}}let Bn=(()=>{var f;class v extends kn{}return(f=v).\u0275fac=(()=>{let x;return function(C){return(x||(x=a.otF(f)))(C||f)}})(),f.\u0275prov=a.wxM({token:f,factory:f.\u0275fac,providedIn:"root"}),v})(),vn=(()=>{var f;class v{}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275prov=a.wxM({token:f,factory:()=>(0,a.uUt)(Un),providedIn:"root"}),v})(),Un=(()=>{var f;class v extends vn{constructor(){super(...arguments),this.location=(0,a.uUt)(Ge.oB),this.urlSerializer=(0,a.uUt)(Lt),this.options=(0,a.uUt)(Dr,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,a.uUt)(g),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ue,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Li(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){var _,C;return"computed"!==this.canceledNavigationResolution?this.currentPageId:null!==(_=null===(C=this.restoredState())||void 0===C?void 0:C.\u0275routerPageId)&&void 0!==_?_:this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(_){return this.location.subscribe(C=>{"popstate"===C.type&&_(C.url,C.state)})}handleRouterEvent(_,C){if(_ instanceof ii)this.stateMemento=this.createStateMemento();else if(_ instanceof Kn)this.rawUrlTree=C.initialUrl;else if(_ instanceof $o){if("eager"===this.urlUpdateStrategy&&!C.extras.skipLocationChange){const L=this.urlHandlingStrategy.merge(C.finalUrl,C.initialUrl);this.setBrowserUrl(L,C)}}else _ instanceof Yi?(this.currentUrlTree=C.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(C.finalUrl,C.initialUrl),this.routerState=C.targetRouterState,"deferred"===this.urlUpdateStrategy&&(C.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,C))):_ instanceof ui&&(_.code===rn.GuardRejected||_.code===rn.NoDataFromResolver)?this.restoreHistory(C):_ instanceof Jn?this.restoreHistory(C,!0):_ instanceof oi&&(this.lastSuccessfulId=_.id,this.currentPageId=this.browserPageId)}setBrowserUrl(_,C){const L=this.urlSerializer.serialize(_);if(this.location.isCurrentPathEqualTo(L)||C.extras.replaceUrl){const Le={...C.extras.state,...this.generateNgRouterState(C.id,this.browserPageId)};this.location.replaceState(L,"",Le)}else{const W={...C.extras.state,...this.generateNgRouterState(C.id,this.browserPageId+1)};this.location.go(L,"",W)}}restoreHistory(_,C=!1){if("computed"===this.canceledNavigationResolution){const W=this.currentPageId-this.browserPageId;0!==W?this.location.historyGo(W):this.currentUrlTree===_.finalUrl&&0===W&&(this.resetState(_),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(C&&this.resetState(_),this.resetUrlToCurrentUrlTree())}resetState(_){var C;this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,null!==(C=_.finalUrl)&&void 0!==C?C:this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(_,C){return"computed"===this.canceledNavigationResolution?{navigationId:_,\u0275routerPageId:C}:{navigationId:_}}}return(f=v).\u0275fac=(()=>{let x;return function(C){return(x||(x=a.otF(f)))(C||f)}})(),f.\u0275prov=a.wxM({token:f,factory:f.\u0275fac,providedIn:"root"}),v})();var Rn=function(f){return f[f.COMPLETE=0]="COMPLETE",f[f.FAILED=1]="FAILED",f[f.REDIRECTING=2]="REDIRECTING",f}(Rn||{});function yi(f,v){f.events.pipe((0,re.I)(x=>x instanceof oi||x instanceof ui||x instanceof Jn||x instanceof Kn),(0,Oe.k)(x=>x instanceof oi||x instanceof Kn?Rn.COMPLETE:x instanceof ui&&(x.code===rn.Redirect||x.code===rn.SupersededByNewNavigation)?Rn.REDIRECTING:Rn.FAILED),(0,re.I)(x=>x!==Rn.REDIRECTING),(0,G.U)(1)).subscribe(()=>{v()})}function Lo(f){throw f}const Vi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Bo={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Pn=(()=>{var f;class v{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){var _,C;this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,a.uUt)(a.oPY),this.stateManager=(0,a.uUt)(vn),this.options=(0,a.uUt)(Dr,{optional:!0})||{},this.pendingTasks=(0,a.uUt)(a.g9Y),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,a.uUt)(it),this.urlSerializer=(0,a.uUt)(Lt),this.location=(0,a.uUt)(Ge.oB),this.urlHandlingStrategy=(0,a.uUt)(g),this._events=new lt.E,this.errorHandler=this.options.errorHandler||Lo,this.navigated=!1,this.routeReuseStrategy=(0,a.uUt)(yn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=null!==(_=null===(C=(0,a.uUt)(lr,{optional:!0}))||void 0===C?void 0:C.flat())&&void 0!==_?_:[],this.componentInputBindingEnabled=!!(0,a.uUt)(zn,{optional:!0}),this.eventsSubscription=new Be.wH,this.isNgZoneEnabled=(0,a.uUt)(a.WW2)instanceof a.WW2&&a.WW2.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:L=>{this.console.warn(L)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const _=this.navigationTransitions.events.subscribe(C=>{try{const L=this.navigationTransitions.currentTransition,W=this.navigationTransitions.currentNavigation;if(null!==L&&null!==W)if(this.stateManager.handleRouterEvent(C,W),C instanceof ui&&C.code!==rn.Redirect&&C.code!==rn.SupersededByNewNavigation)this.navigated=!0;else if(C instanceof oi)this.navigated=!0;else if(C instanceof _i){const Le=this.urlHandlingStrategy.merge(C.url,L.currentRawUrl),mt={info:L.extras.info,skipLocationChange:L.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||wt(L.source)};this.scheduleNavigation(Le,gi,null,mt,{resolve:L.resolve,reject:L.reject,promise:L.promise})}(function Fn(f){return!(f instanceof Yi||f instanceof _i)})(C)&&this._events.next(C)}catch(L){this.navigationTransitions.transitionAbortSubject.next(L)}});this.eventsSubscription.add(_)}resetRootComponentType(_){this.routerState.root.component=_,this.navigationTransitions.rootComponentType=_}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),gi,this.stateManager.restoredState())}setUpLocationChangeListener(){var _;null!==(_=this.nonRouterCurrentEntryChangeSubscription)&&void 0!==_||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((C,L)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(C,"popstate",L)},0)}))}navigateToSyncWithBrowser(_,C,L){const W={replaceUrl:!0},Le=null!=L&&L.navigationId?L:null;if(L){const He={...L};delete He.navigationId,delete He.\u0275routerPageId,0!==Object.keys(He).length&&(W.state=He)}const mt=this.parseUrl(_);this.scheduleNavigation(mt,C,Le,W)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(_){this.config=_.map(vr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(_,C={}){const{relativeTo:L,queryParams:W,fragment:Le,queryParamsHandling:mt,preserveFragment:He}=C,kt=He?this.currentUrlTree.fragment:Le;let ri,hn=null;switch(mt){case"merge":hn={...this.currentUrlTree.queryParams,...W};break;case"preserve":hn=this.currentUrlTree.queryParams;break;default:hn=W||null}null!==hn&&(hn=this.removeEmptyProps(hn));try{ri=di(L?L.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof _[0]||!_[0].startsWith("/"))&&(_=[]),ri=this.currentUrlTree.root}return Ci(ri,_,hn,null!=kt?kt:null)}navigateByUrl(_,C={skipLocationChange:!1}){const L=jt(_)?_:this.parseUrl(_),W=this.urlHandlingStrategy.merge(L,this.rawUrlTree);return this.scheduleNavigation(W,gi,null,C)}navigate(_,C={skipLocationChange:!1}){return function Wi(f){for(let v=0;v(null!=W&&(C[L]=W),C),{})}scheduleNavigation(_,C,L,W,Le){if(this.disposed)return Promise.resolve(!1);let mt,He,kt;Le?(mt=Le.resolve,He=Le.reject,kt=Le.promise):kt=new Promise((ri,$n)=>{mt=ri,He=$n});const hn=this.pendingTasks.add();return yi(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(hn))}),this.navigationTransitions.handleNavigationRequest({source:C,restoredState:L,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:_,extras:W,resolve:mt,reject:He,promise:kt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),kt.catch(ri=>Promise.reject(ri))}}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275prov=a.wxM({token:f,factory:f.\u0275fac,providedIn:"root"}),v})(),ao=(()=>{var f;class v{constructor(_,C,L,W,Le,mt){var He;this.router=_,this.route=C,this.tabIndexAttribute=L,this.renderer=W,this.el=Le,this.locationStrategy=mt,this.href=null,this.commands=null,this.onChanges=new lt.E,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const kt=null===(He=Le.nativeElement.tagName)||void 0===He?void 0:He.toLowerCase();this.isAnchorElement="a"===kt||"area"===kt,this.isAnchorElement?this.subscription=_.events.subscribe(hn=>{hn instanceof oi&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(_){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",_)}ngOnChanges(_){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(_){null!=_?(this.commands=Array.isArray(_)?_:[_],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(_,C,L,W,Le){const mt=this.urlTree;return!!(null===mt||this.isAnchorElement&&(0!==_||C||L||W||Le||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(mt,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){var _;null===(_=this.subscription)||void 0===_||_.unsubscribe()}updateHref(){var _;const C=this.urlTree;this.href=null!==C&&this.locationStrategy?null===(_=this.locationStrategy)||void 0===_?void 0:_.prepareExternalUrl(this.router.serializeUrl(C)):null;const L=null===this.href?null:(0,a.YFg)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",L)}applyAttributeValue(_,C){const L=this.renderer,W=this.el.nativeElement;null!==C?L.setAttribute(W,_,C):L.removeAttribute(W,_)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return(f=v).\u0275fac=function(_){return new(_||f)(a.GI1(Pn),a.GI1(ci),a.gJ8("tabindex"),a.GI1(a.q87),a.GI1(a.GMv),a.GI1(Ge.Qd))},f.\u0275dir=a.Sc5({type:f,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(_,C){1&_&&a.qCj("click",function(W){return C.onClick(W.button,W.ctrlKey,W.shiftKey,W.altKey,W.metaKey)}),2&_&&a.e48("target",C.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[a.Wk5.HasDecoratorInputTransform,"preserveFragment","preserveFragment",a.cZD],skipLocationChange:[a.Wk5.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",a.cZD],replaceUrl:[a.Wk5.HasDecoratorInputTransform,"replaceUrl","replaceUrl",a.cZD],routerLink:"routerLink"},standalone:!0,features:[a.QJr,a.SYr]}),v})();class ja{}let Gs=(()=>{var f;class v{constructor(_,C,L,W,Le){this.router=_,this.injector=L,this.preloadingStrategy=W,this.loader=Le}setUpPreloading(){this.subscription=this.router.events.pipe((0,re.I)(_=>_ instanceof oi),(0,on.m)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(_,C){const L=[];for(const He of C){var W,Le;He.providers&&!He._injector&&(He._injector=(0,a.SIz)(He.providers,_,"Route: ".concat(He.path)));const kt=null!==(W=He._injector)&&void 0!==W?W:_,hn=null!==(Le=He._loadedInjector)&&void 0!==Le?Le:kt;var mt;(He.loadChildren&&!He._loadedRoutes&&void 0===He.canLoad||He.loadComponent&&!He._loadedComponent)&&L.push(this.preloadConfig(kt,He)),(He.children||He._loadedRoutes)&&L.push(this.processRoutes(hn,null!==(mt=He.children)&&void 0!==mt?mt:He._loadedRoutes))}return(0,D.Q)(L).pipe((0,ln.u)())}preloadConfig(_,C){return this.preloadingStrategy.preload(C,()=>{let L;L=C.loadChildren&&void 0===C.canLoad?this.loader.loadChildren(_,C):(0,J.of)(null);const W=L.pipe((0,ie.O)(Le=>{var mt;return null===Le?(0,J.of)(void 0):(C._loadedRoutes=Le.routes,C._loadedInjector=Le.injector,this.processRoutes(null!==(mt=Le.injector)&&void 0!==mt?mt:_,Le.routes))}));if(C.loadComponent&&!C._loadedComponent){const Le=this.loader.loadComponent(C);return(0,D.Q)([W,Le]).pipe((0,ln.u)())}return W})}}return(f=v).\u0275fac=function(_){return new(_||f)(a.CoB(Pn),a.CoB(a.ESV),a.CoB(a.SIe),a.CoB(ja),a.CoB(bi))},f.\u0275prov=a.wxM({token:f,factory:f.\u0275fac,providedIn:"root"}),v})();const Zo=new a.UbH("");let wr=(()=>{var f;class v{constructor(_,C,L,W,Le={}){this.urlSerializer=_,this.transitions=C,this.viewportScroller=L,this.zone=W,this.options=Le,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Le.scrollPositionRestoration||(Le.scrollPositionRestoration="disabled"),Le.anchorScrolling||(Le.anchorScrolling="disabled")}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(_=>{_ instanceof ii?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=_.navigationTrigger,this.restoredId=_.restoredState?_.restoredState.navigationId:0):_ instanceof oi?(this.lastId=_.id,this.scheduleScrollEvent(_,this.urlSerializer.parse(_.urlAfterRedirects).fragment)):_ instanceof Kn&&_.code===Sn.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(_,this.urlSerializer.parse(_.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(_=>{_ instanceof li&&(_.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(_.position):_.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(_.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(_,C){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new li(_,"popstate"===this.lastSource?this.store[this.restoredId]:null,C))})},0)})}ngOnDestroy(){var _,C;null===(_=this.routerEventsSubscription)||void 0===_||_.unsubscribe(),null===(C=this.scrollEventsSubscription)||void 0===C||C.unsubscribe()}}return(f=v).\u0275fac=function(_){a.KEo()},f.\u0275prov=a.wxM({token:f,factory:f.\u0275fac}),v})();function lo(f,v){return{\u0275kind:f,\u0275providers:v}}function Ss(){const f=(0,a.uUt)(a.zZn);return v=>{var x,_;const C=f.get(a.Swk);if(v!==C.components[0])return;const L=f.get(Pn),W=f.get(Yr);1===f.get(Ts)&&L.initialNavigation(),null===(x=f.get(co,null,a._6O.Optional))||void 0===x||x.setUpPreloading(),null===(_=f.get(Zo,null,a._6O.Optional))||void 0===_||_.init(),L.resetRootComponentType(C.componentTypes[0]),W.closed||(W.next(),W.complete(),W.unsubscribe())}}const Yr=new a.UbH("",{factory:()=>new lt.E}),Ts=new a.UbH("",{providedIn:"root",factory:()=>1}),co=new a.UbH("");function zs(f){return lo(0,[{provide:co,useExisting:Gs},{provide:ja,useExisting:f}])}function fa(f){return lo(9,[{provide:Z,useValue:j},{provide:M,useValue:{skipNextTransition:!(null==f||!f.skipInitialTransition),...f}}])}const ma=new a.UbH("ROUTER_FORROOT_GUARD"),Ha=[Ge.oB,{provide:Lt,useClass:en},Pn,Oo,{provide:ci,useFactory:function Mr(f){return f.routerState.root},deps:[Pn]},bi,[]];let za=(()=>{var f;class v{constructor(_){}static forRoot(_,C){return{ngModule:v,providers:[Ha,[],{provide:lr,multi:!0,useValue:_},{provide:ma,useFactory:Vl,deps:[[Pn,new a.T7N,new a.Qfh]]},{provide:Dr,useValue:C||{}},null!=C&&C.useHash?{provide:Ge.Qd,useClass:Ge.MP}:{provide:Ge.Qd,useClass:Ge.uC},{provide:Zo,useFactory:()=>{const f=(0,a.uUt)(Ge.YZ),v=(0,a.uUt)(a.WW2),x=(0,a.uUt)(Dr),_=(0,a.uUt)(it),C=(0,a.uUt)(Lt);return x.scrollOffset&&f.setOffset(x.scrollOffset),new wr(C,_,f,v,x)}},null!=C&&C.preloadingStrategy?zs(C.preloadingStrategy).\u0275providers:[],null!=C&&C.initialNavigation?Ir(C):[],null!=C&&C.bindToComponentInputs?lo(8,[Zi,{provide:zn,useExisting:Zi}]).\u0275providers:[],null!=C&&C.enableViewTransitions?fa().\u0275providers:[],[{provide:Qn,useFactory:Ss},{provide:a.qid,multi:!0,useExisting:Qn}]]}}static forChild(_){return{ngModule:v,providers:[{provide:lr,multi:!0,useValue:_}]}}}return(f=v).\u0275fac=function(_){return new(_||f)(a.CoB(ma,8))},f.\u0275mod=a.a4G({type:f}),f.\u0275inj=a.s3X({}),v})();function Vl(f){return"guarded"}function Ir(f){return["disabled"===f.initialNavigation?lo(3,[{provide:a.kZF,multi:!0,useFactory:()=>{const v=(0,a.uUt)(Pn);return()=>{v.setUpLocationChangeListener()}}},{provide:Ts,useValue:2}]).\u0275providers:[],"enabledBlocking"===f.initialNavigation?lo(2,[{provide:Ts,useValue:0},{provide:a.kZF,multi:!0,deps:[a.zZn],useFactory:v=>{const x=v.get(Ge.mQ,Promise.resolve());return()=>x.then(()=>new Promise(_=>{const C=v.get(Pn),L=v.get(Yr);yi(C,()=>{_(!0)}),v.get(it).afterPreactivation=()=>(_(!0),L.closed?(0,J.of)(void 0):L),C.initialNavigation()}))}}]).\u0275providers:[]]}const Qn=new a.UbH("")},1528:(Qe,fe,y)=>{function a(D,J,ce,z,ae,ve,te){try{var Ce=D[ve](te),Me=Ce.value}catch(Pe){return void ce(Pe)}Ce.done?J(Me):Promise.resolve(Me).then(z,ae)}function s(D){return function(){var J=this,ce=arguments;return new Promise(function(z,ae){var ve=D.apply(J,ce);function te(Me){a(ve,z,ae,te,Ce,"next",Me)}function Ce(Me){a(ve,z,ae,te,Ce,"throw",Me)}te(void 0)})}}y.d(fe,{c:()=>s})},1316:(Qe,fe,y)=>{function Pe(De,_e,Se,Ke){return new(Se||(Se=Promise))(function(st,Ft){function Kt(ct){try{Gt(Ke.next(ct))}catch(Zt){Ft(Zt)}}function ln(ct){try{Gt(Ke.throw(ct))}catch(Zt){Ft(Zt)}}function Gt(ct){ct.done?st(ct.value):function ht(st){return st instanceof Se?st:new Se(function(Ft){Ft(st)})}(ct.value).then(Kt,ln)}Gt((Ke=Ke.apply(De,_e||[])).next())})}function Ge(De){return this instanceof Ge?(this.v=De,this):new Ge(De)}function Oe(De,_e,Se){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ht,Ke=Se.apply(De,_e||[]),st=[];return ht={},Ft("next"),Ft("throw"),Ft("return"),ht[Symbol.asyncIterator]=function(){return this},ht;function Ft(Ut){Ke[Ut]&&(ht[Ut]=function(le){return new Promise(function(pe,Ve){st.push([Ut,le,pe,Ve])>1||Kt(Ut,le)})})}function Kt(Ut,le){try{!function ln(Ut){Ut.value instanceof Ge?Promise.resolve(Ut.value.v).then(Gt,ct):Zt(st[0][2],Ut)}(Ke[Ut](le))}catch(pe){Zt(st[0][3],pe)}}function Gt(Ut){Kt("next",Ut)}function ct(Ut){Kt("throw",Ut)}function Zt(Ut,le){Ut(le),st.shift(),st.length&&Kt(st[0][0],st[0][1])}}function G(De){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Se,_e=De[Symbol.asyncIterator];return _e?_e.call(De):(De=function Re(De){var _e="function"==typeof Symbol&&Symbol.iterator,Se=_e&&De[_e],Ke=0;if(Se)return Se.call(De);if(De&&"number"==typeof De.length)return{next:function(){return De&&Ke>=De.length&&(De=void 0),{value:De&&De[Ke++],done:!De}}};throw new TypeError(_e?"Object is not iterable.":"Symbol.iterator is not defined.")}(De),Se={},Ke("next"),Ke("throw"),Ke("return"),Se[Symbol.asyncIterator]=function(){return this},Se);function Ke(st){Se[st]=De[st]&&function(Ft){return new Promise(function(Kt,ln){!function ht(st,Ft,Kt,ln){Promise.resolve(ln).then(function(Gt){st({value:Gt,done:Kt})},Ft)}(Kt,ln,(Ft=De[st](Ft)).done,Ft.value)})}}}y.d(fe,{U1:()=>Ge,kH:()=>Pe,mA:()=>G,o7:()=>Oe}),"function"==typeof SuppressedError&&SuppressedError}},Qe=>{Qe(Qe.s=9656)}]); \ No newline at end of file +"use strict";(self.webpackChunkuds=self.webpackChunkuds||[]).push([[590],{9616:(Qe,fe,y)=>{y.d(fe,{Y:()=>D});var a=y(1528),s=y(5184);let D=(()=>{class ce{constructor(ae){this.api=ae,this.delay=ae.config.launcher_wait_time}launchURL(ae){var ve=this;return(0,a.c)(function*(){"udsa://"===ae.substring(0,7)?yield ve.processUDSUrl(ae):yield ve.processExternalUrl(ae)})()}showAlert(ae,ve,te){var Ce=this;return(0,a.c)(function*(){return Ce.api.gui.alert(django.gettext("Launching service"),'

'+ae+'

'+ve+"

",te)})()}launchUDSUrl(ae){this.api.download(ae)}processUDSUrl(ae){var ve=this;return(0,a.c)(function*(){const te=ae.split("//")[1].split("/");if(2!==te.length)return void(yield ve.notifyError(django.gettext("Invalid UDS URL")));const Ce=te[0],Me=te[1],Pe=yield ve.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Remember that you will need the UDS client on your platform to access the service."),0);let et=!1;(0,s.qe)(Pe.afterClosed()).then(()=>et=!0);let ke=-1;try{const Be=yield ve.api.enabler(Ce,Me);if(Be.error)throw Be.error;if(Be.url.startsWith("/"))return Pe.close(),void(yield ve.launchURL(Be.url));for("https:"===window.location.protocol&&(Be.url=Be.url.replace("uds://","udss://")),ve.launchUDSUrl(Be.url);!et;){const Re=yield ve.api.status(Ce,Me);if(ke>0&&Date.now()-ke>5*ve.delay&&(Pe.componentInstance.data.title=django.gettext("Service ready")+" - "+django.gettext("UDS Client not launching"),Pe.componentInstance.data.body=''+django.gettext("It seems that you don't have UDS Client installed. Please, install it from here:")+' '+django.gettext("UDS Client Download")+""),"ready"===Re.status)-1===ke&&(ke=Date.now(),Pe.componentInstance.data.title=django.gettext("Service ready"),Pe.componentInstance.data.body=django.gettext("Launching UDS Client, almost done."));else{if("accessed"===Re.status){Pe.close(),et=!0;continue}if("running"!==Re.status){Pe.close(),yield ve.notifyError(Re.status),et=!0;continue}}yield ve.api.sleep(1e3)}}catch(Be){Pe.close(),yield ve.notifyError(Be)}})()}processExternalUrl(ae){var ve=this;return(0,a.c)(function*(){const te=yield ve.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Remember that you will need the UDS client on your platform to access the service."),0);let Ce=!1;(0,s.qe)(te.afterClosed()).then(()=>Ce=!0);try{for(;!Ce;){const Me=yield ve.api.transportUrl(ae);if(Me.url){te.close();const Pe=yield ve.processCredentials(Me);null!==Pe&&(yield ve.api.updateTransportTicket(Pe.ticket,Pe.scrambler,Pe.username,Pe.password,Pe.domain)),ve.openWindow(Me.url),Ce=!0}else Me.running||(te.close(),yield ve.notifyError(),Ce=!0)}yield ve.api.sleep(1e3)}catch(Me){te.close(),yield ve.notifyError(Me)}})()}processCredentials(ae){var ve=this;return(0,a.c)(function*(){const te=ae.url||"";if(-1!==te.indexOf("&creds=")){const Ce=te.split("&creds=")[1];let Me="",Pe="";ae.url=te.split("&creds=")[0];const et=te.split("data=")[1].split("&")[0].split("."),ke=et[0],Be=et[1];-1!==Ce.indexOf("@")?(Me=Ce.split("@")[0],Pe=Ce.split("@")[1]):Me=Ce;const Re=yield ve.api.gui.askCredentials(Me,Pe);if(!1===Re.success)throw new Error("User canceled credentials dialog");return{ticket:ke,scrambler:Be,username:Re.username,password:Re.password,domain:Re.domain}}return null})()}openWindow(ae){let ve="__global__";if(-1!==ae.indexOf("o_s_w="))ve="__same__",ae=/(.*)[&?]o_s_w=.*/.exec(ae)[1];else if(-1!==ae.indexOf("o_n_w=")){const te=/(.*)[&?]o_n_w=([a-zA-Z0-9._-]*)/.exec(ae);te&&(ve=te[2],ae=te[1])}if("__same__"===ve)window.location.href=ae;else{ce.transportsWindow[ve]&&ce.transportsWindow[ve].close();const te=window.open(ae,"uds_trans_"+ve);te&&(ce.transportsWindow[ve]=te)}}notifyError(ae){var ve=this;return(0,a.c)(function*(){let te=django.gettext("Error communicating with your service. Please, retry again.");"string"==typeof ae?te=ae:ae instanceof Error?te=ae.message:403===ae.status&&(te=django.gettext("Your session has expired. Please, login again")),yield ve.showAlert(django.gettext("Error"),te,5e3),403===ae.status&&ve.api.logout()})()}}return ce.transportsWindow={},ce})()},9552:(Qe,fe,y)=>{y.d(fe,{K:()=>D});var a=y(4496),s=y(4476);let D=(()=>{var J;class ce{constructor(ae){this.sanitizer=ae}transform(ae,ve){return ae=(ae=(ae=ae.replace(/<\s*script\s*/gi,"")).replace(/onclick|onmouseover|onmouseout|onmousemove|onmouseenter|onmouseleave|onmouseup|onmousedown|onkeyup|onkeydown|onkeypress|onkeydown|onkeypress|onkeyup|onchange|onfocus|onblur|onload|onunload|onabort|onerror|onresize|onscroll/gi,"")).replace(/javascript\s*\:/gi,""),this.sanitizer.bypassSecurityTrustHtml(ae)}}return(J=ce).\u0275fac=function(ae){return new(ae||J)(a.GI1(s.mI,16))},J.\u0275pipe=a.UTH({name:"safeHtml",type:J,pure:!0}),ce})()},5184:(Qe,fe,y)=>{y.d(fe,{qe:()=>Oe});var a=y(112),s=y(1252),D=y(5448),J=y(560),ce=y(4912),z=y(7773),ae=y(9399);const ve=(0,ce.w)(G=>function(re=null){G(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=re});function Ce(G){throw new ve(G)}var ke,Me=y(7696),Pe=y(1760);function et(G,ye){const re="object"==typeof ye;return new Promise((ie,me)=>{const Xe=new Pe.ot({next:pt=>{ie(pt),Xe.unsubscribe()},error:me,complete:()=>{re?ie(ye.defaultValue):me(new Me.G)}});G.subscribe(Xe)})}const Oe=(G,ye)=>{let re;if(G instanceof Promise)re=G;else if(G instanceof X)re=G;else{if(ye)return et(G.pipe(function te(G,ye){const{first:re,each:ie,with:me=Ce,scheduler:Xe=(null!=ye?ye:a.M),meta:pt=null}=(0,s.e)(G)?{first:G}:"number"==typeof G?{each:G}:G;if(null==re&&null==ie)throw new TypeError("No timeout provided.");return(0,D.i)((Pt,Tt)=>{let on,vt,qe=null,De=0;const _e=Se=>{vt=(0,ae._)(Tt,Xe,()=>{try{on.unsubscribe(),(0,J.Uv)(me({meta:pt,lastValue:qe,seen:De})).subscribe(Tt)}catch(Ke){Tt.error(Ke)}},Se)};on=Pt.subscribe((0,z.e)(Tt,Se=>{null==vt||vt.unsubscribe(),De++,Tt.next(qe=Se),ie>0&&_e(ie)},void 0,void 0,()=>{null!=vt&&vt.closed||null==vt||vt.unsubscribe(),qe=null})),!De&&_e(null!=re?"number"==typeof re?re:+re-Xe.now():ie)})}(ye)));re=et(G)}return re};class X{constructor(){this[ke]="Future",this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((ye,re)=>{this.resolve=ye,this.reject=re})}then(ye,re){return this.promise.then(ye,re)}catch(ye){return this.promise.catch(ye)}finally(ye){return this.promise.finally(ye)}}ke=Symbol.toStringTag},7196:(Qe,fe,y)=>{y.d(fe,{e:()=>s});var a=y(4496);let s=(()=>{var D;class J{constructor(z){this.el=z}ngOnInit(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim())}}return(D=J).\u0275fac=function(z){return new(z||D)(a.GI1(a.GMv))},D.\u0275dir=a.Sc5({type:D,selectors:[["uds-translate"]]}),J})()},1064:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{E:()=>LoginComponent});var _angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(4496),_services_uds_api_service__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(4692),_angular_common__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1368),_angular_forms__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(4716),_angular_material_button__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(7816),_angular_material_form_field__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(6516),_angular_material_input__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(7536),_angular_material_select__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(2096),_angular_material_core__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(3576),_helpers_translate_directive__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(7196),_helpers_safe_html_pipe__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(9552);function LoginComponent_div_22_mat_option_6_Template(Qe,fe){if(1&Qe&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.I0R(0,"mat-option",19),_angular_core__WEBPACK_IMPORTED_MODULE_1__.OEk(1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.C$Y()),2&Qe){const y=fe.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_1__.E7m("value",y.id),_angular_core__WEBPACK_IMPORTED_MODULE_1__.yG2(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.oRS(" ",y.name," ")}}function LoginComponent_div_22_Template(Qe,fe){if(1&Qe){const y=_angular_core__WEBPACK_IMPORTED_MODULE_1__.KQA();_angular_core__WEBPACK_IMPORTED_MODULE_1__.I0R(0,"div",9)(1,"mat-form-field",16)(2,"mat-label")(3,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.OEk(4,"Authenticator"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.C$Y()(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.I0R(5,"mat-select",17),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qCj("selectionChange",function(s){_angular_core__WEBPACK_IMPORTED_MODULE_1__.usT(y);const D=_angular_core__WEBPACK_IMPORTED_MODULE_1__.GaO();return _angular_core__WEBPACK_IMPORTED_MODULE_1__.CGJ(D.changeAuth(s.value))}),_angular_core__WEBPACK_IMPORTED_MODULE_1__.yuY(6,LoginComponent_div_22_mat_option_6_Template,2,2,"mat-option",18),_angular_core__WEBPACK_IMPORTED_MODULE_1__.C$Y()()()}if(2&Qe){const y=_angular_core__WEBPACK_IMPORTED_MODULE_1__.GaO();_angular_core__WEBPACK_IMPORTED_MODULE_1__.yG2(5),_angular_core__WEBPACK_IMPORTED_MODULE_1__.E7m("value",y.auths[0].id),_angular_core__WEBPACK_IMPORTED_MODULE_1__.yG2(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.E7m("ngForOf",y.auths)}}let LoginComponent=(()=>{var _class;class LoginComponent{constructor(Qe){this.api=Qe,this.auth={},this.title="UDS Enterprise",this.title=Qe.config.site_name,this.auths=Qe.config.authenticators.slice(0),this.auths.sort((fe,y)=>fe.priority-y.priority)}ngOnInit(){document.getElementById("loginform").action=this.api.config.urls.login;const fe=document.getElementById("token");fe.name=this.api.csrfField;const y=document.cookie.split(";").find(a=>a.trim().startsWith("csrftoken="))||"=";fe.value=y.split("=")[1],this.auth=document.getElementById("authenticator"),this.auths.length>0&&(this.auth.value=this.auths[0].id,this.changeAuth(this.auth.value)),this.api.errors.length>0&&this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")}changeAuth(auth){this.auth.value=auth;const doCustomAuth=data=>{eval(data)};for(const Qe of this.auths)Qe.id===auth&&Qe.is_custom&&(document.getElementsByClassName("login-form")[0].setAttribute("style","display: none;"),this.api.getAuthCustomJavascript(Qe.id).then(fe=>doCustomAuth(fe)))}launch(){return document.getElementById("loginform").submit(),!0}}return _class=LoginComponent,_class.\u0275fac=function Qe(fe){return new(fe||_class)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.GI1(_services_uds_api_service__WEBPACK_IMPORTED_MODULE_0__.G))},_class.\u0275cmp=_angular_core__WEBPACK_IMPORTED_MODULE_1__.In1({type:_class,selectors:[["uds-login"]],decls:29,vars:6,consts:[["id","loginform","method","post",3,"ngSubmit"],["name","","id","token","value","","type","hidden"],["name","logouturl","id","id_logouturl","value","","type","hidden"],["name","authenticator","id","authenticator","value","","type","hidden"],[1,"login-container"],[1,"login-brand"],[3,"src"],[1,"login-info"],[1,"login-form"],[1,"login-field"],["matInput","","id","id_user","name","user","value","","required","","autofocus",""],["matInput","","id","id_password","type","password","name","password","data-eye","",1,"form-control"],["class","login-field",4,"ngIf"],[1,"login-button"],["mat-stroked-button","","color","primary","type","submit"],[1,"site-info",3,"innerHTML"],["appaerance","standard"],[3,"value","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function Qe(fe,y){1&fe&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.I0R(0,"form",0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qCj("ngSubmit",function(){return y.launch()}),_angular_core__WEBPACK_IMPORTED_MODULE_1__.wR5(1,"input",1)(2,"input",2)(3,"input",3),_angular_core__WEBPACK_IMPORTED_MODULE_1__.I0R(4,"div",4)(5,"div",5),_angular_core__WEBPACK_IMPORTED_MODULE_1__.wR5(6,"img",6),_angular_core__WEBPACK_IMPORTED_MODULE_1__.C$Y(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.I0R(7,"div",7),_angular_core__WEBPACK_IMPORTED_MODULE_1__.OEk(8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.C$Y(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.I0R(9,"div",8)(10,"div",9)(11,"mat-form-field")(12,"mat-label")(13,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.OEk(14,"Username"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.C$Y()(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.wR5(15,"input",10),_angular_core__WEBPACK_IMPORTED_MODULE_1__.C$Y()(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.I0R(16,"div",9)(17,"mat-form-field")(18,"mat-label")(19,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.OEk(20,"Password"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.C$Y()(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.wR5(21,"input",11),_angular_core__WEBPACK_IMPORTED_MODULE_1__.C$Y()(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.yuY(22,LoginComponent_div_22_Template,7,2,"div",12),_angular_core__WEBPACK_IMPORTED_MODULE_1__.I0R(23,"div",13)(24,"button",14)(25,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.OEk(26,"Login"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.C$Y()()()(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.wR5(27,"div",15),_angular_core__WEBPACK_IMPORTED_MODULE_1__.wVc(28,"safeHtml"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.C$Y()()),2&fe&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.yG2(6),_angular_core__WEBPACK_IMPORTED_MODULE_1__.E7m("src",y.api.staticURL("modern/img/login-img.png"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.K6U),_angular_core__WEBPACK_IMPORTED_MODULE_1__.yG2(2),_angular_core__WEBPACK_IMPORTED_MODULE_1__.oRS(" ",y.title," "),_angular_core__WEBPACK_IMPORTED_MODULE_1__.yG2(14),_angular_core__WEBPACK_IMPORTED_MODULE_1__.E7m("ngIf",y.auths.length>1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.yG2(5),_angular_core__WEBPACK_IMPORTED_MODULE_1__.E7m("innerHTML",_angular_core__WEBPACK_IMPORTED_MODULE_1__.kDX(28,4,y.api.config.site_information),_angular_core__WEBPACK_IMPORTED_MODULE_1__.E3n))},dependencies:[_angular_common__WEBPACK_IMPORTED_MODULE_2__.ay,_angular_common__WEBPACK_IMPORTED_MODULE_2__.u_,_angular_forms__WEBPACK_IMPORTED_MODULE_3__.sz,_angular_forms__WEBPACK_IMPORTED_MODULE_3__.u,_angular_forms__WEBPACK_IMPORTED_MODULE_3__.SC,_angular_material_button__WEBPACK_IMPORTED_MODULE_4__.Gw,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_5__.Up,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_5__.w5,_angular_material_input__WEBPACK_IMPORTED_MODULE_6__.yi,_angular_material_select__WEBPACK_IMPORTED_MODULE_7__.kX,_angular_material_core__WEBPACK_IMPORTED_MODULE_8__.I5,_helpers_translate_directive__WEBPACK_IMPORTED_MODULE_9__.e,_helpers_safe_html_pipe__WEBPACK_IMPORTED_MODULE_10__.K],styles:[".login-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.login-brand[_ngcontent-%COMP%]{margin:1rem 0 0}.login-info[_ngcontent-%COMP%]{margin:1rem 0}.login-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;box-shadow:0 2px 2px #00000024,0 3px 1px -2px #0000001f,0 1px 5px #0003;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.login-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.login-button[_ngcontent-%COMP%]{margin:2rem}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width: 744px){.login-form[_ngcontent-%COMP%]{min-width:80%}}"]}),LoginComponent})()},4692:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{G:()=>UDSApiService});var _home_dkmaster_projects_uds_4_0_gui_user_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(1528),_types_config__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(9916),_helpers_tools__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(5184),_helpers_plugin__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(9616),_environments_environment__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6716),_angular_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(4496),_angular_common_http__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(7048),_uds_gui_service__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(500),_angular_router__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(1056);const DARK_THEME="dark-theme",LIGHT_THEME="light-theme",TIMEOUT=1e4;let UDSApiService=(()=>{var _class;class UDSApiService{constructor(Qe,fe,y){this.http=Qe,this.gui=fe,this.router=y,this.transportsWindow=null,this.user=new _types_config__WEBPACK_IMPORTED_MODULE_4__.i(udsData.profile),this.plugin=new _helpers_plugin__WEBPACK_IMPORTED_MODULE_1__.Y(this)}get config(){return udsData.config}get csrfField(){return csrf.csrfField}get csrfToken(){return csrf.csrfToken}get staffInfo(){return udsData.info}get plugins(){return udsData.plugins}get actors(){return udsData.actors}get errors(){return udsData.errors}enabler(Qe,fe){var y=this;return(0,_home_dkmaster_projects_uds_4_0_gui_user_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__.c)(function*(){const a=y.config.urls.enabler.replace("param1",Qe).replace("param2",fe);return(0,_helpers_tools__WEBPACK_IMPORTED_MODULE_0__.qe)(y.http.get(a))})()}status(Qe,fe){var y=this;return(0,_home_dkmaster_projects_uds_4_0_gui_user_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__.c)(function*(){const a=y.config.urls.status.replace("param1",Qe).replace("param2",fe);return(0,_helpers_tools__WEBPACK_IMPORTED_MODULE_0__.qe)(y.http.get(a))})()}action(Qe,fe){var y=this;return(0,_home_dkmaster_projects_uds_4_0_gui_user_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__.c)(function*(){const a=y.config.urls.action.replace("param1",fe).replace("param2",Qe);return(0,_helpers_tools__WEBPACK_IMPORTED_MODULE_0__.qe)(y.http.get(a))})()}transportUrl(Qe){var fe=this;return(0,_home_dkmaster_projects_uds_4_0_gui_user_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__.c)(function*(){return(0,_helpers_tools__WEBPACK_IMPORTED_MODULE_0__.qe)(fe.http.get(Qe))})()}updateTransportTicket(Qe,fe,y,a,s){var D=this;return(0,_home_dkmaster_projects_uds_4_0_gui_user_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__.c)(function*(){const J=D.config.urls.update_transport_ticket.replace("param1",Qe).replace("param2",fe);return(0,_helpers_tools__WEBPACK_IMPORTED_MODULE_0__.qe)(D.http.post(J,{username:y,password:a,domain:s}))})()}galleryImageURL(Qe){return this.config.urls.gallery_image.replace("param1",Qe)}transportIconURL(Qe){return this.config.urls.transport_icon.replace("param1",Qe)}staticURL(Qe){return _environments_environment__WEBPACK_IMPORTED_MODULE_2__.O.production?this.config.urls.static+Qe:"/static/"+Qe}getServicesInformation(){var Qe=this;return(0,_home_dkmaster_projects_uds_4_0_gui_user_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__.c)(function*(){return(0,_helpers_tools__WEBPACK_IMPORTED_MODULE_0__.qe)(Qe.http.get(Qe.config.urls.services))})()}getErrorInformation(Qe){var fe=this;return(0,_home_dkmaster_projects_uds_4_0_gui_user_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__.c)(function*(){return(0,_helpers_tools__WEBPACK_IMPORTED_MODULE_0__.qe)(fe.http.get(fe.config.urls.error.replace("9999",Qe)))})()}executeCustomJSForServiceLaunch(){void 0!==udsData.custom_js_for_service_launch&&eval(udsData.custom_js_for_service_launch)}gotoAdmin(){window.location.href=this.config.urls.admin}logout(){window.location.href=this.config.urls.logout}download(Qe){return(0,_home_dkmaster_projects_uds_4_0_gui_user_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__.c)(function*(){let fe=document.getElementById("download");fe||(fe=document.createElement("iframe"),fe.id="download",fe.style.display="none",document.body.appendChild(fe)),fe.src=Qe,fe.onload=()=>{alert("Error downloading file. Please try again later.")}})()}sleep(Qe){return new Promise(fe=>setTimeout(fe,Qe))}launchURL(Qe){this.plugin.launchURL(Qe)}getAuthCustomJavascript(Qe){var fe=this;return(0,_home_dkmaster_projects_uds_4_0_gui_user_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__.c)(function*(){return(0,_helpers_tools__WEBPACK_IMPORTED_MODULE_0__.qe)(fe.http.get(fe.config.urls.custom_auth+Qe,{responseType:"text"}))})()}switchTheme(Qe){const fe=document.getElementsByTagName("html")[0];[DARK_THEME,LIGHT_THEME].forEach(y=>{fe.classList.contains(y)&&fe.classList.remove(y)}),fe.classList.add(Qe?DARK_THEME:LIGHT_THEME)}putOnStorage(Qe,fe){void 0!==typeof Storage&&sessionStorage.setItem(Qe,fe)}getFromStorage(Qe){return void 0!==typeof Storage?sessionStorage.getItem(Qe):null}}return _class=UDSApiService,_class.\u0275fac=function Qe(fe){return new(fe||_class)(_angular_core__WEBPACK_IMPORTED_MODULE_6__.CoB(_angular_common_http__WEBPACK_IMPORTED_MODULE_7__.KK),_angular_core__WEBPACK_IMPORTED_MODULE_6__.CoB(_uds_gui_service__WEBPACK_IMPORTED_MODULE_3__._),_angular_core__WEBPACK_IMPORTED_MODULE_6__.CoB(_angular_router__WEBPACK_IMPORTED_MODULE_8__.E5))},_class.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_6__.wxM({token:_class,factory:_class.\u0275fac}),UDSApiService})()},500:(Qe,fe,y)=>{y.d(fe,{_:()=>X});var a=y(1528),s=y(2864),D=y(112),J=y(3120),z=y(4496),ae=y(1368),ve=y(7816),te=y(7196),Ce=y(9552);function Me(G,ye){if(1&G){const re=z.KQA();z.I0R(0,"button",3),z.qCj("click",function(){z.usT(re);const me=z.GaO();return z.CGJ(me.resolveAndClose(!1))}),z.I0R(1,"uds-translate"),z.OEk(2,"Close"),z.C$Y(),z.OEk(3),z.C$Y()}if(2&G){const re=z.GaO();z.yG2(3),z.cNF(re.extra)}}function Pe(G,ye){if(1&G){const re=z.KQA();z.I0R(0,"button",3),z.qCj("click",function(){z.usT(re);const me=z.GaO();return z.CGJ(me.resolveAndClose(!0))}),z.I0R(1,"uds-translate"),z.OEk(2,"Yes"),z.C$Y()()}}function et(G,ye){if(1&G){const re=z.KQA();z.I0R(0,"button",3),z.qCj("click",function(){z.usT(re);const me=z.GaO();return z.CGJ(me.resolveAndClose(!1))}),z.I0R(1,"uds-translate"),z.OEk(2,"No"),z.C$Y()()}}var ke=function(G){return G[G.alert=0]="alert",G[G.yesno=1]="yesno",G[G.credentials=2]="credentials",G}(ke||{});let Be=(()=>{var G;class ye{constructor(ie,me){this.dialogRef=ie,this.data=me,this.extra="",this.subscription=null,this.yesno=new Promise(Xe=>this.resolver=Xe),this.resolver=()=>{}}resolveAndClose(ie){this.resolver(ie),this.close()}close(){this.dialogRef.close()}setExtra(ie){this.extra=" ("+Math.floor(ie/1e3)+" "+django.gettext("seconds")+") "}initAlert(){var ie=this;return(0,a.c)(function*(){const me=ie.data.autoclose||0;me>0&&(ie.dialogRef.afterClosed().subscribe(Xe=>{ie.close()}),ie.setExtra(me),function ce(G=0,ye=D.M){return G<0&&(G=0),(0,J.k)(G,G,ye)}(1e3).subscribe(Xe=>{const pt=me-1e3*(Xe+1);ie.setExtra(pt),pt<=0&&ie.close()}))})()}ngOnInit(){this.data.type===ke.alert&&this.initAlert()}}return(G=ye).\u0275fac=function(ie){return new(ie||G)(z.GI1(s.yI),z.GI1(s.sR))},G.\u0275cmp=z.In1({type:G,selectors:[["uds-modal"]],decls:8,vars:9,consts:[["mat-dialog-title","",3,"innerHtml"],[3,"innerHTML"],["mat-raised-button","","mat-dialog-close","",3,"click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"click"]],template:function(ie,me){1&ie&&(z.wR5(0,"h4",0),z.wVc(1,"safeHtml"),z.wR5(2,"mat-dialog-content",1),z.wVc(3,"safeHtml"),z.I0R(4,"mat-dialog-actions"),z.yuY(5,Me,4,1,"button",2)(6,Pe,3,0,"button",2)(7,et,3,0,"button",2),z.C$Y()),2&ie&&(z.E7m("innerHtml",z.kDX(1,5,me.data.title),z.E3n),z.yG2(2),z.E7m("innerHTML",z.kDX(3,7,me.data.body),z.E3n),z.yG2(3),z.E7m("ngIf",0===me.data.type),z.yG2(),z.E7m("ngIf",1===me.data.type),z.yG2(),z.E7m("ngIf",1===me.data.type))},dependencies:[ae.u_,ve.Gw,s.qq,s.WQ,s.Yp,s.iU,te.e,Ce.K],styles:[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]}),ye})();var Re=y(4716),Ne=y(6516),ot=y(7536);const xt=(G,ye,re)=>({username:G,domain:ye,password:re,success:!1}),lt=(G,ye,re)=>({username:G,domain:ye,password:re,success:!0});let Ge=(()=>{var G;class ye{constructor(ie){this.data=ie,this.labels={username:django.gettext("Username"),password:django.gettext("Password"),domain:django.gettext("Domain")},this.username=ie.username,this.domain=ie.domain,this.password=""}}return(G=ye).\u0275fac=function(ie){return new(ie||G)(z.GI1(s.sR))},G.\u0275cmp=z.In1({type:G,selectors:[["uds-credentials-modal"]],decls:21,vars:19,consts:[["mat-dialog-title",""],["matInput","",3,"placeholder","ngModel","ngModelChange"],["matInput","","type","password",3,"placeholder","ngModel","ngModelChange"],["mat-button","",3,"mat-dialog-close"]],template:function(ie,me){1&ie&&(z.I0R(0,"h2",0)(1,"uds-translate"),z.OEk(2,"Please, enter access credentials"),z.C$Y()(),z.I0R(3,"mat-dialog-content")(4,"mat-form-field")(5,"mat-label"),z.OEk(6),z.C$Y(),z.I0R(7,"input",1),z.iHE("ngModelChange",function(pt){return z.kNx(me.username,pt)||(me.username=pt),pt}),z.C$Y()(),z.I0R(8,"mat-form-field")(9,"mat-label"),z.OEk(10),z.C$Y(),z.I0R(11,"input",2),z.iHE("ngModelChange",function(pt){return z.kNx(me.password,pt)||(me.password=pt),pt}),z.C$Y()(),z.I0R(12,"mat-form-field")(13,"mat-label"),z.OEk(14),z.C$Y(),z.I0R(15,"input",1),z.iHE("ngModelChange",function(pt){return z.kNx(me.domain,pt)||(me.domain=pt),pt}),z.C$Y()()(),z.I0R(16,"mat-dialog-actions")(17,"button",3),z.OEk(18,"Cancel"),z.C$Y(),z.I0R(19,"button",3),z.OEk(20,"Accept"),z.C$Y()()),2&ie&&(z.yG2(6),z.oRS(" ",me.labels.username," "),z.yG2(),z.E7m("placeholder",me.labels.username),z.OKB("ngModel",me.username),z.yG2(3),z.oRS(" ",me.labels.password," "),z.yG2(),z.E7m("placeholder",me.labels.password),z.OKB("ngModel",me.password),z.yG2(3),z.oRS(" ",me.labels.domain," "),z.yG2(),z.E7m("placeholder",me.labels.domain),z.OKB("ngModel",me.domain),z.yG2(2),z.E7m("mat-dialog-close",z.uAc(11,xt,me.username,me.domain,me.password)),z.yG2(2),z.E7m("mat-dialog-close",z.uAc(15,lt,me.username,me.domain,me.password)))},dependencies:[Re.ot,Re.ue,Re._G,ve.Gw,s.qq,s.WQ,s.Yp,s.iU,Ne.Up,Ne.w5,ot.yi,te.e],styles:[".mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]}),ye})();var Oe=y(5184);let X=(()=>{var G;class ye{constructor(ie){this.dialog=ie}alert(ie,me,Xe=0){var pt=this;return(0,a.c)(function*(){const Pt=window.innerWidth<800?"80%":"40%";return pt.dialog.open(Be,{width:Pt,data:{title:ie,body:me,autoclose:Xe,type:ke.alert},disableClose:!0})})()}yesno(ie,me){const Xe=window.innerWidth<800?"80%":"40%";return this.dialog.open(Be,{width:Xe,data:{title:ie,body:me,type:ke.yesno},disableClose:!0}).componentInstance.yesno}askCredentials(ie,me){const Xe=this.dialog.open(Ge,{data:{username:ie,domain:me}});return(0,Oe.qe)(Xe.afterClosed())}}return(G=ye).\u0275fac=function(ie){return new(ie||G)(z.CoB(s.qW))},G.\u0275prov=z.wxM({token:G,factory:G.\u0275fac}),ye})()},9916:(Qe,fe,y)=>{y.d(fe,{i:()=>a});class a{constructor(D){this.user=D.user,this.role=D.role,this.admin=D.admin}get isStaff(){return"staff"===this.role||"admin"===this.role}get isAdmin(){return"admin"===this.role}get isLogged(){return null!=this.user}get isRestricted(){return"restricted"===this.role}}},6716:(Qe,fe,y)=>{y.d(fe,{O:()=>a});const a={production:!0}},9656:(Qe,fe,y)=>{var a=y(4476),s=y(4496),D=y(1216),J=y(7048),ce=y(1056),z=y(4692);let ae=(()=>{var b;class d{constructor(l){this.api=l}canActivate(l,m){return!!this.api.user.isLogged||(this.api.router.navigate(["login"]),!1)}}return(b=d).\u0275fac=function(l){return new(l||b)(s.CoB(z.G))},b.\u0275prov=s.wxM({token:b,factory:b.\u0275fac,providedIn:"root"}),d})();var ve=y(1064),te=y(1368),Ce=y(7196);function Me(b,d){if(1&b){const u=s.KQA();s.I0R(0,"div",6),s.qCj("click",function(){const I=s.usT(u).$implicit,U=s.GaO();return s.CGJ(U.api.download(I.url))}),s.I0R(1,"div",7),s.wR5(2,"img",8),s.C$Y(),s.I0R(3,"div",9),s.OEk(4),s.C$Y(),s.I0R(5,"div",10),s.OEk(6),s.C$Y()()}if(2&b){const u=d.$implicit,l=s.GaO();s.m8U(l.css(u)),s.yG2(2),s.E7m("src",l.img(u.name),s.K6U),s.yG2(2),s.MjK(" ",l.legacy(u)," ",u.name," (",u.url.split(".").pop(),") "),s.yG2(2),s.oRS(" ",u.description," ")}}let Pe=(()=>{var b;class d{constructor(l){this.api=l}ngOnInit(){}img(l){return this.api.staticURL("modern/img/"+l+".png")}css(l){const m=["plugin"];return l.legacy&&m.push("legacy"),m}legacy(l){return l.legacy?"Legacy":""}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(z.G))},b.\u0275cmp=s.In1({type:b,selectors:[["uds-client-download"]],decls:13,vars:1,consts:[[1,"plugins-container"],[1,"banner"],[1,"banner-text"],[1,"plugins"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"platform"],[1,"description"]],template:function(l,m){1&l&&(s.I0R(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1")(4,"uds-translate"),s.OEk(5,"UDS Client"),s.C$Y()()()(),s.I0R(6,"div",3),s.yuY(7,Me,7,7,"div",4),s.C$Y(),s.I0R(8,"div",5)(9,"ul")(10,"li")(11,"uds-translate"),s.OEk(12,"Download UDS client for your platform"),s.C$Y()()()()()),2&l&&(s.yG2(7),s.E7m("ngForOf",m.api.plugins))},dependencies:[te.ay,Ce.e],styles:[".plugins-container[_ngcontent-%COMP%]{margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:2rem}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3rem;text-align:center}.banner-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1rem}.plugins[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:center}.plugin[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;padding:1rem;border-radius:1rem;box-shadow:0 1rem 2rem #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 15%}.plugin.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;flex:1 0 19%;max-width:20%}.plugin.legacy[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:5rem}.plugin[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem #00000040,0 10px 10px #00000038;background-color:#0000001a}.image[_ngcontent-%COMP%]{display:flex;justify-content:center}.platform[_ngcontent-%COMP%]{text-align:center;font-size:2rem}.description[_ngcontent-%COMP%]{display:flex;text-align:center;justify-content:center;margin-top:.5rem} .dark-theme uds-client-download{color:#fff!important} .dark-theme .plugin.legacy{background-color:#a9a9a9} .dark-theme .plugin:hover{background-color:#ffffff1a}"]}),d})();var et=y(9552);function ke(b,d){if(1&b){const u=s.KQA();s.I0R(0,"div",6),s.qCj("click",function(){const I=s.usT(u).$implicit,U=s.GaO();return s.CGJ(U.api.download(I.url))}),s.I0R(1,"div",7),s.wR5(2,"img",8),s.C$Y(),s.wR5(3,"div",9),s.wVc(4,"safeHtml"),s.wR5(5,"div",10),s.wVc(6,"safeHtml"),s.C$Y()}if(2&b){const u=d.$implicit,l=s.GaO();s.m8U(l.css(u.name)),s.yG2(2),s.E7m("src",l.img(u.name),s.K6U),s.yG2(),s.E7m("innerHTML",s.kDX(4,5,u.name),s.E3n),s.yG2(2),s.E7m("innerHTML",s.kDX(6,7,u.description),s.E3n)}}let Be=(()=>{var b;class d{constructor(l){this.api=l,this.actors=[]}ngOnInit(){this.actors=[];const l=[];for(const m of this.api.actors)m.name.includes("legacy")?l.push(m):this.actors.push(m);for(const m of l)this.actors.push(m)}img(l){const m=(l.split(".").pop()||"").toLowerCase();let I="Linux";return"exe"===m?I="Windows":"pkg"===m&&(I="MacOS"),this.api.staticURL("modern/img/"+I+".png")}css(l){const m=["actor"];return l.toLowerCase().includes("legacy")&&m.push("legacy"),m}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(z.G))},b.\u0275cmp=s.In1({type:b,selectors:[["uds-downloads"]],decls:16,vars:1,consts:[[1,"actors-container"],[1,"banner"],[1,"banner-text"],[1,"actors"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"name",3,"innerHTML"],[1,"description",3,"innerHTML"]],template:function(l,m){1&l&&(s.I0R(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1")(4,"uds-translate"),s.OEk(5,"Downloads"),s.C$Y()()()(),s.I0R(6,"div",3),s.yuY(7,ke,7,9,"div",4),s.C$Y(),s.I0R(8,"div",5)(9,"ul")(10,"li")(11,"uds-translate"),s.OEk(12,"Always download the UDS actor matching your platform"),s.C$Y()(),s.I0R(13,"li")(14,"uds-translate"),s.OEk(15,"Legacy actors are only provided for old operating system support. Try to avoid them."),s.C$Y()()()()()),2&l&&(s.yG2(7),s.E7m("ngForOf",m.actors))},dependencies:[te.ay,Ce.e,et.K],styles:[".actors-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2em;text-align:center}.actors[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-around;align-content:center;margin:auto}.actor[_ngcontent-%COMP%]{border:1px solid;margin-top:1rem;padding:1em;border-radius:1rem;box-shadow:0 1rem 2rem #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 34%;margin-right:1em}.actor.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;max-width:50%}.actor[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem #00000040,0 10px 10px #00000038;background-color:#0000001a}.image[_ngcontent-%COMP%]{display:block;float:left;padding-right:1rem;height:100%}.image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:4rem}.name[_ngcontent-%COMP%]{font-size:1.5em;margin-bottom:1em;font-weight:700;overflow:hidden} .dark-theme uds-downloads{color:#fff!important} .dark-theme .actor.legacy{background-color:#464646}"]}),d})();var Re=y(1032),Ne=y(5657),ot=y(6928);let xt=0;const lt=new s.UbH("CdkAccordion");let Ge=(()=>{var b;class d{constructor(){this._stateChanges=new Ne.E,this._openCloseAllActions=new Ne.E,this.id="cdk-accordion-".concat(xt++),this.multi=!1}openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(l){this._stateChanges.next(l)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275dir=s.Sc5({type:b,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[s.Wk5.HasDecoratorInputTransform,"multi","multi",s.cZD]},exportAs:["cdkAccordion"],standalone:!0,features:[s.M5G([{provide:lt,useExisting:b}]),s.QJr,s.SYr]}),d})(),Oe=0,X=(()=>{var b;class d{get expanded(){return this._expanded}set expanded(l){this._expanded!==l&&(this._expanded=l,this.expandedChange.emit(l),l?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}constructor(l,m,I){this.accordion=l,this._changeDetectorRef=m,this._expansionDispatcher=I,this._openCloseAllSubscription=ot.wH.EMPTY,this.closed=new s._w7,this.opened=new s._w7,this.destroyed=new s._w7,this.expandedChange=new s._w7,this.id="cdk-accordion-child-".concat(Oe++),this._expanded=!1,this.disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=I.listen((U,oe)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===oe&&this.id!==U&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(l=>{this.disabled||(this.expanded=l)})}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(lt,12),s.GI1(s.kD9),s.GI1(Re.kT))},b.\u0275dir=s.Sc5({type:b,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[s.Wk5.HasDecoratorInputTransform,"expanded","expanded",s.cZD],disabled:[s.Wk5.HasDecoratorInputTransform,"disabled","disabled",s.cZD]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],standalone:!0,features:[s.M5G([{provide:lt,useValue:void 0}]),s.QJr]}),d})(),G=(()=>{var b;class d{}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275mod=s.a4G({type:b}),b.\u0275inj=s.s3X({}),d})();var ye=y(2488),re=y(3576),ie=y(4723),me=y(4e3),Xe=y(5568),pt=y(6684),Pt=y(3992),Tt=y(7800),on=y(8960),vt=y(3412),qe=y(9684);const De=["body"];function _e(b,d){}const Se=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Ke=["mat-expansion-panel-header","*","mat-action-row"];function ht(b,d){if(1&b&&(s.I0R(0,"span",2),s.S2Z(),s.I0R(1,"svg",3),s.wR5(2,"path",4),s.C$Y()()),2&b){const u=s.GaO();s.E7m("@indicatorRotate",u._getExpandedState())}}const st=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Ft=["mat-panel-title","mat-panel-description","*"],Kt=new s.UbH("MAT_ACCORDION"),ln="225ms cubic-bezier(0.4,0.0,0.2,1)",Gt={indicatorRotate:(0,qe.gV)("indicatorRotate",[(0,qe.K2)("collapsed, void",(0,qe.wb)({transform:"rotate(0deg)"})),(0,qe.K2)("expanded",(0,qe.wb)({transform:"rotate(180deg)"})),(0,qe.aK)("expanded <=> collapsed, void => collapsed",(0,qe.Cs)(ln))]),bodyExpansion:(0,qe.gV)("bodyExpansion",[(0,qe.K2)("collapsed, void",(0,qe.wb)({height:"0px",visibility:"hidden"})),(0,qe.K2)("expanded",(0,qe.wb)({height:"*",visibility:""})),(0,qe.aK)("expanded <=> collapsed, void => collapsed",(0,qe.Cs)(ln))])},ct=new s.UbH("MAT_EXPANSION_PANEL");let Zt=(()=>{var b;class d{constructor(l,m){this._template=l,this._expansionPanel=m}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(s.Yw2),s.GI1(ct,8))},b.\u0275dir=s.Sc5({type:b,selectors:[["ng-template","matExpansionPanelContent",""]],standalone:!0}),d})(),Ut=0;const le=new s.UbH("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let pe=(()=>{var b;class d extends X{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(l){this._hideToggle=l}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(l){this._togglePosition=l}constructor(l,m,I,U,oe,Fe,rt){super(l,m,I),this._viewContainerRef=U,this._animationMode=Fe,this._hideToggle=!1,this.afterExpand=new s._w7,this.afterCollapse=new s._w7,this._inputChanges=new Ne.E,this._headerId="mat-expansion-panel-header-".concat(Ut++),this._bodyAnimationDone=new Ne.E,this.accordion=l,this._document=oe,this._bodyAnimationDone.pipe((0,me.a)((It,St)=>It.fromState===St.fromState&&It.toState===St.toState)).subscribe(It=>{"void"!==It.fromState&&("expanded"===It.toState?this.afterExpand.emit():"collapsed"===It.toState&&this.afterCollapse.emit())}),rt&&(this.hideToggle=rt.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,Xe.W)(null),(0,pt.I)(()=>this.expanded&&!this._portal),(0,Pt.U)(1)).subscribe(()=>{this._portal=new ye.CC(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(l){this._inputChanges.next(l)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const l=this._document.activeElement,m=this._body.nativeElement;return l===m||m.contains(l)}return!1}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(Kt,12),s.GI1(s.kD9),s.GI1(Re.kT),s.GI1(s.y8U),s.GI1(te.Ud),s.GI1(s.qwP,8),s.GI1(le,8))},b.\u0275cmp=s.In1({type:b,selectors:[["mat-expansion-panel"]],contentQueries:function(l,m,I){if(1&l&&s.szK(I,Zt,5),2&l){let U;s.wto(U=s.Gqi())&&(m._lazyContent=U.first)}},viewQuery:function(l,m){if(1&l&&s.CC$(De,5),2&l){let I;s.wto(I=s.Gqi())&&(m._body=I.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(l,m){2&l&&s.eAK("mat-expanded",m.expanded)("_mat-animation-noopable","NoopAnimations"===m._animationMode)("mat-expansion-panel-spacing",m._hasSpacing())},inputs:{hideToggle:[s.Wk5.HasDecoratorInputTransform,"hideToggle","hideToggle",s.cZD],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],standalone:!0,features:[s.M5G([{provide:Kt,useValue:void 0},{provide:ct,useExisting:b}]),s.QJr,s.eg9,s.SYr,s.UHJ],ngContentSelectors:Ke,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(l,m){1&l&&(s.kPM(Se),s._Xx(0),s.I0R(1,"div",0,1),s.qCj("@bodyExpansion.done",function(U){return m._bodyAnimationDone.next(U)}),s.I0R(3,"div",2),s._Xx(4,1),s.yuY(5,_e,0,0,"ng-template",3),s.C$Y(),s._Xx(6,2),s.C$Y()),2&l&&(s.yG2(),s.E7m("@bodyExpansion",m._getExpandedState())("id",m.id),s.e48("aria-labelledby",m._headerId),s.yG2(4),s.E7m("cdkPortalOutlet",m._portal))},dependencies:[ye.IP],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){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)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[Gt.bodyExpansion]},changeDetection:0}),d})(),Te=(()=>{var b;class d{constructor(l,m,I,U,oe,Fe,rt){this.panel=l,this._element=m,this._focusMonitor=I,this._changeDetectorRef=U,this._animationMode=Fe,this._parentChangeSubscription=ot.wH.EMPTY,this.tabIndex=0;const It=l.accordion?l.accordion._stateChanges.pipe((0,pt.I)(St=>!(!St.hideToggle&&!St.togglePosition))):on.k;this.tabIndex=parseInt(rt||"")||0,this._parentChangeSubscription=(0,vt.U)(l.opened,l.closed,It,l._inputChanges.pipe((0,pt.I)(St=>!!(St.hideToggle||St.disabled||St.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),l.closed.pipe((0,pt.I)(()=>l._containsFocus())).subscribe(()=>I.focusVia(m,"program")),oe&&(this.expandedHeight=oe.expandedHeight,this.collapsedHeight=oe.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const l=this._isExpanded();return l&&this.expandedHeight?this.expandedHeight:!l&&this.collapsedHeight?this.collapsedHeight:null}_keydown(l){switch(l.keyCode){case Tt.Gi:case Tt.wJ:(0,Tt.Yp)(l)||(l.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(l))}}focus(l,m){l?this._focusMonitor.focusVia(this._element,l,m):this._element.nativeElement.focus(m)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(l=>{l&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(pe,1),s.GI1(s.GMv),s.GI1(ie.Kk),s.GI1(s.kD9),s.GI1(le,8),s.GI1(s.qwP,8),s.gJ8("tabindex"))},b.\u0275cmp=s.In1({type:b,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(l,m){1&l&&s.qCj("click",function(){return m._toggle()})("keydown",function(U){return m._keydown(U)}),2&l&&(s.e48("id",m.panel._headerId)("tabindex",m.disabled?-1:m.tabIndex)("aria-controls",m._getPanelId())("aria-expanded",m._isExpanded())("aria-disabled",m.panel.disabled),s.m4B("height",m._getHeaderHeight()),s.eAK("mat-expanded",m._isExpanded())("mat-expansion-toggle-indicator-after","after"===m._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===m._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===m._animationMode))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[s.Wk5.HasDecoratorInputTransform,"tabIndex","tabIndex",u=>null==u?0:(0,s.cJ3)(u)]},standalone:!0,features:[s.QJr,s.UHJ],ngContentSelectors:Ft,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(l,m){1&l&&(s.kPM(st),s.I0R(0,"span",0),s._Xx(1),s._Xx(2,1),s._Xx(3,2),s.C$Y(),s.yuY(4,ht,3,1,"span",1)),2&l&&(s.eAK("mat-content-hide-toggle",!m._showToggle()),s.yG2(4),s.C0Y(4,m._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color);display:inline-block;display:var(--mat-expansion-legacy-header-indicator-display, inline-block)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color);display:none;display:var(--mat-expansion-header-indicator-display, none)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[Gt.indicatorRotate]},changeDetection:0}),d})(),dt=(()=>{var b;class d{}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275dir=s.Sc5({type:b,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"],standalone:!0}),d})(),$e=(()=>{var b;class d{}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275dir=s.Sc5({type:b,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"],standalone:!0}),d})(),Mt=(()=>{var b;class d extends Ge{constructor(){super(...arguments),this._ownHeaders=new s.VhX,this.hideToggle=!1,this.displayMode="default",this.togglePosition="after"}ngAfterContentInit(){this._headers.changes.pipe((0,Xe.W)(this._headers)).subscribe(l=>{this._ownHeaders.reset(l.filter(m=>m.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new ie.IH(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(l){this._keyManager.onKeydown(l)}_handleHeaderFocus(l){this._keyManager.updateActiveItem(l)}ngOnDestroy(){var l;super.ngOnDestroy(),null===(l=this._keyManager)||void 0===l||l.destroy(),this._ownHeaders.destroy()}}return(b=d).\u0275fac=(()=>{let u;return function(m){return(u||(u=s.otF(b)))(m||b)}})(),b.\u0275dir=s.Sc5({type:b,selectors:[["mat-accordion"]],contentQueries:function(l,m,I){if(1&l&&s.szK(I,Te,5),2&l){let U;s.wto(U=s.Gqi())&&(m._headers=U)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(l,m){2&l&&s.eAK("mat-accordion-multi",m.multi)},inputs:{hideToggle:[s.Wk5.HasDecoratorInputTransform,"hideToggle","hideToggle",s.cZD],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],standalone:!0,features:[s.M5G([{provide:Kt,useExisting:b}]),s.QJr,s.eg9]}),d})(),Xt=(()=>{var b;class d{}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275mod=s.a4G({type:b}),b.\u0275inj=s.s3X({imports:[re.AN,G,ye.g$]}),d})();var gn=y(1528),cn=y(7816),qn=y(2700),tt=y(1472),P=y(7368),Ee=y(3616),se=y(112),ee=y(7228),Ie=y(5448),Ue=y(7773),Y=y(308),Ye=y(320),gt=y(7400),Et=y(560);function Lt(b,d){return d?u=>(0,ee.W)(d.pipe((0,Pt.U)(1),function he(){return(0,Ie.i)((b,d)=>{b.subscribe((0,Ue.e)(d,Y.K))})}()),u.pipe(Lt(b))):(0,gt.O)((u,l)=>(0,Et.Uv)(b(u,l)).pipe((0,Pt.U)(1),(0,Ye.e)(u)))}var en=y(3120);function sn(b,d=se.M){const u=(0,en.k)(b,d);return Lt(()=>u)}var Dn=y(1900),bn=y(68),ai=y(5792),pi=y(3572);const Ze=["mat-menu-item",""];function V(b,d){1&b&&(s.S2Z(),s.I0R(0,"svg",3),s.wR5(1,"polygon",4),s.C$Y())}const $=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],k=["mat-icon, [matMenuItemIcon]","*"];function O(b,d){if(1&b){const u=s.KQA();s.I0R(0,"div",0),s.qCj("keydown",function(m){s.usT(u);const I=s.GaO();return s.CGJ(I._handleKeydown(m))})("click",function(){s.usT(u);const m=s.GaO();return s.CGJ(m.closed.emit("click"))})("@transformMenu.start",function(m){s.usT(u);const I=s.GaO();return s.CGJ(I._onAnimationStart(m))})("@transformMenu.done",function(m){s.usT(u);const I=s.GaO();return s.CGJ(I._onAnimationDone(m))}),s.I0R(1,"div",1),s._Xx(2),s.C$Y()()}if(2&b){const u=s.GaO();s.E7m("id",u.panelId)("ngClass",u._classList)("@transformMenu",u._panelAnimationState),s.e48("aria-label",u.ariaLabel||null)("aria-labelledby",u.ariaLabelledby||null)("aria-describedby",u.ariaDescribedby||null)}}const B=["*"],N=new s.UbH("MAT_MENU_PANEL");let q=(()=>{var b;class d{constructor(l,m,I,U,oe){var Fe;this._elementRef=l,this._document=m,this._focusMonitor=I,this._parentMenu=U,this._changeDetectorRef=oe,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new Ne.E,this._focused=new Ne.E,this._highlighted=!1,this._triggersSubmenu=!1,null==U||null===(Fe=U.addItem)||void 0===Fe||Fe.call(U,this)}focus(l,m){this._focusMonitor&&l?this._focusMonitor.focusVia(this._getHostElement(),l,m):this._getHostElement().focus(m),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(l){this.disabled&&(l.preventDefault(),l.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var l;const m=this._elementRef.nativeElement.cloneNode(!0),I=m.querySelectorAll("mat-icon, .material-icons");for(let U=0;U enter",(0,qe.Cs)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,qe.wb)({opacity:1,transform:"scale(1)"}))),(0,qe.aK)("* => void",(0,qe.Cs)("100ms 25ms linear",(0,qe.wb)({opacity:0})))]),fadeInItems:(0,qe.gV)("fadeInItems",[(0,qe.K2)("showing",(0,qe.wb)({opacity:1})),(0,qe.aK)("void => *",[(0,qe.wb)({opacity:0}),(0,qe.Cs)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Zn=0;const ho=new s.UbH("mat-menu-default-options",{providedIn:"root",factory:function On(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let jt=(()=>{var b;class d{get xPosition(){return this._xPosition}set xPosition(l){this._xPosition=l,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(l){this._yPosition=l,this.setPositionClasses()}set panelClass(l){const m=this._previousPanelClass;m&&m.length&&m.split(" ").forEach(I=>{this._classList[I]=!1}),this._previousPanelClass=l,l&&l.length&&(l.split(" ").forEach(I=>{this._classList[I]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(l){this.panelClass=l}constructor(l,m,I,U){this._elementRef=l,this._ngZone=m,this._changeDetectorRef=U,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new s.VhX,this._classList={},this._panelAnimationState="void",this._animationDone=new Ne.E,this.closed=new s._w7,this.close=this.closed,this.panelId="mat-menu-panel-".concat(Zn++),this.overlayPanelClass=I.overlayPanelClass||"",this._xPosition=I.xPosition,this._yPosition=I.yPosition,this.backdropClass=I.backdropClass,this.overlapTrigger=I.overlapTrigger,this.hasBackdrop=I.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new ie.IH(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,Xe.W)(this._directDescendantItems),(0,P.G)(l=>(0,vt.U)(...l.map(m=>m._focused)))).subscribe(l=>this._keyManager.updateActiveItem(l)),this._directDescendantItems.changes.subscribe(l=>{var m;const I=this._keyManager;if("enter"===this._panelAnimationState&&null!==(m=I.activeItem)&&void 0!==m&&m._hasFocus()){const U=l.toArray(),oe=Math.max(0,Math.min(U.length-1,I.activeItemIndex||0));U[oe]&&!U[oe].disabled?I.setActiveItem(oe):I.setNextItemActive()}})}ngOnDestroy(){var l,m;null===(l=this._keyManager)||void 0===l||l.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),null===(m=this._firstItemFocusSubscription)||void 0===m||m.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,Xe.W)(this._directDescendantItems),(0,P.G)(m=>(0,vt.U)(...m.map(I=>I._hovered))))}addItem(l){}removeItem(l){}_handleKeydown(l){const m=l.keyCode,I=this._keyManager;switch(m){case Tt.UX:(0,Tt.Yp)(l)||(l.preventDefault(),this.closed.emit("keydown"));break;case Tt.Mx:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case Tt.a4:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(m===Tt.qI||m===Tt.Oq)&&I.setFocusOrigin("keyboard"),void I.onKeydown(l)}l.stopPropagation()}focusFirstItem(l="program"){var m;null===(m=this._firstItemFocusSubscription)||void 0===m||m.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,Pt.U)(1)).subscribe(()=>{let I=null;if(this._directDescendantItems.length&&(I=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!I||!I.contains(document.activeElement)){const U=this._keyManager;U.setFocusOrigin(l).setFirstItemActive(),!U.activeItem&&I&&I.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(l){const m=Math.min(this._baseElevation+l,24),I="".concat(this._elevationPrefix).concat(m),U=Object.keys(this._classList).find(oe=>oe.startsWith(this._elevationPrefix));(!U||U===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[I]=!0,this._previousElevation=I)}setPositionClasses(l=this.xPosition,m=this.yPosition){var I;const U=this._classList;U["mat-menu-before"]="before"===l,U["mat-menu-after"]="after"===l,U["mat-menu-above"]="above"===m,U["mat-menu-below"]="below"===m,null===(I=this._changeDetectorRef)||void 0===I||I.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(l){this._animationDone.next(l),this._isAnimating=!1}_onAnimationStart(l){this._isAnimating=!0,"enter"===l.toState&&0===this._keyManager.activeItemIndex&&(l.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,Xe.W)(this._allItems)).subscribe(l=>{this._directDescendantItems.reset(l.filter(m=>m._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(s.GMv),s.GI1(s.WW2),s.GI1(ho),s.GI1(s.kD9))},b.\u0275cmp=s.In1({type:b,selectors:[["mat-menu"]],contentQueries:function(l,m,I){if(1&l&&(s.szK(I,Ae,5),s.szK(I,q,5),s.szK(I,q,4)),2&l){let U;s.wto(U=s.Gqi())&&(m.lazyContent=U.first),s.wto(U=s.Gqi())&&(m._allItems=U),s.wto(U=s.Gqi())&&(m.items=U)}},viewQuery:function(l,m){if(1&l&&s.CC$(s.Yw2,5),2&l){let I;s.wto(I=s.Gqi())&&(m.templateRef=I.first)}},hostVars:3,hostBindings:function(l,m){2&l&&s.e48("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[s.Wk5.None,"aria-label","ariaLabel"],ariaLabelledby:[s.Wk5.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[s.Wk5.None,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[s.Wk5.HasDecoratorInputTransform,"overlapTrigger","overlapTrigger",s.cZD],hasBackdrop:[s.Wk5.HasDecoratorInputTransform,"hasBackdrop","hasBackdrop",u=>null==u?null:(0,s.cZD)(u)],panelClass:[s.Wk5.None,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[s.M5G([{provide:N,useExisting:b}]),s.QJr,s.UHJ],ngContentSelectors:B,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(l,m){1&l&&(s.kPM(),s.yuY(0,O,3,6,"ng-template"))},dependencies:[te.QF],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;flex:1;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-divider{color:var(--mat-menu-divider-color);margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-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:var(--mat-menu-item-trailing-spacing);padding-right:var(--mat-menu-item-leading-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]),.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon])[dir=rtl]{padding-left:var(--mat-menu-item-with-icon-trailing-spacing);padding-right:var(--mat-menu-item-with-icon-leading-spacing)}.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{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.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{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;padding-right:var(--mat-menu-item-spacing);padding-left:0}.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:[Je.transformMenu,Je.fadeInItems]},changeDetection:0}),d})();const dn=new s.UbH("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const b=(0,s.uUt)(bn.mc);return()=>b.scrollStrategies.reposition()}}),Ci={provide:dn,deps:[bn.mc],useFactory:function di(b){return()=>b.scrollStrategies.reposition()}},xi=(0,ai.W4)({passive:!0});let Fi=(()=>{var b;class d{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(l){this.menu=l}get menu(){return this._menu}set menu(l){var m;l!==this._menu&&(this._menu=l,this._menuCloseSubscription.unsubscribe(),l&&(this._menuCloseSubscription=l.close.subscribe(I=>{this._destroyMenu(I),("click"===I||"tab"===I)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(I)})),null===(m=this._menuItemInstance)||void 0===m||m._setTriggersSubmenu(this.triggersSubmenu()))}constructor(l,m,I,U,oe,Fe,rt,It,St){this._overlay=l,this._element=m,this._viewContainerRef=I,this._menuItemInstance=Fe,this._dir=rt,this._focusMonitor=It,this._ngZone=St,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=ot.wH.EMPTY,this._hoverSubscription=ot.wH.EMPTY,this._menuCloseSubscription=ot.wH.EMPTY,this._changeDetectorRef=(0,s.uUt)(s.kD9),this._handleTouchStart=fn=>{(0,ie.q0)(fn)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new s._w7,this.onMenuOpen=this.menuOpened,this.menuClosed=new s._w7,this.onMenuClose=this.menuClosed,this._scrollStrategy=U,this._parentMaterialMenu=oe instanceof jt?oe:void 0,m.nativeElement.addEventListener("touchstart",this._handleTouchStart,xi)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,xi),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 l=this.menu;if(this._menuOpen||!l)return;const m=this._createOverlay(l),I=m.getConfig(),U=I.positionStrategy;this._setPosition(l,U),I.hasBackdrop=null==l.hasBackdrop?!this.triggersSubmenu():l.hasBackdrop,m.attach(this._getPortal(l)),l.lazyContent&&l.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(l),l instanceof jt&&(l._startAnimation(),l._directDescendantItems.changes.pipe((0,Ee.a)(l.close)).subscribe(()=>{U.withLockedPosition(!1).reapplyLastPosition(),U.withLockedPosition(!0)}))}closeMenu(){var l;null===(l=this.menu)||void 0===l||l.close.emit()}focus(l,m){this._focusMonitor&&l?this._focusMonitor.focusVia(this._element,l,m):this._element.nativeElement.focus(m)}updatePosition(){var l;null===(l=this._overlayRef)||void 0===l||l.updatePosition()}_destroyMenu(l){if(!this._overlayRef||!this.menuOpen)return;const m=this.menu;var I;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===l||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,m instanceof jt?(m._resetAnimation(),m.lazyContent?m._animationDone.pipe((0,pt.I)(U=>"void"===U.toState),(0,Pt.U)(1),(0,Ee.a)(m.lazyContent._attached)).subscribe({next:()=>m.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),null==m||null===(I=m.lazyContent)||void 0===I||I.detach())}_initMenu(l){l.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,l.direction=this.dir,this._setMenuElevation(l),l.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(l){if(l.setElevation){let m=0,I=l.parentMenu;for(;I;)m++,I=I.parentMenu;l.setElevation(m)}}_setIsMenuOpen(l){l!==this._menuOpen&&(this._menuOpen=l,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(l),this._changeDetectorRef.markForCheck())}_createOverlay(l){if(!this._overlayRef){const m=this._getOverlayConfig(l);this._subscribeToPositions(l,m.positionStrategy),this._overlayRef=this._overlay.create(m),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(l){return new bn.o9({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:l.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:l.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(l,m){l.setPositionClasses&&m.positionChanges.subscribe(I=>{const U="start"===I.connectionPair.overlayX?"after":"before",oe="top"===I.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>l.setPositionClasses(U,oe)):l.setPositionClasses(U,oe)})}_setPosition(l,m){let[I,U]="before"===l.xPosition?["end","start"]:["start","end"],[oe,Fe]="above"===l.yPosition?["bottom","top"]:["top","bottom"],[rt,It]=[oe,Fe],[St,fn]=[I,U],qt=0;if(this.triggersSubmenu()){if(fn=I="before"===l.xPosition?"start":"end",U=St="end"===I?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const tn=this._parentMaterialMenu.items.first;this._parentInnerPadding=tn?tn._getHostElement().offsetTop:0}qt="bottom"===oe?this._parentInnerPadding:-this._parentInnerPadding}}else l.overlapTrigger||(rt="top"===oe?"bottom":"top",It="top"===Fe?"bottom":"top");m.withPositions([{originX:I,originY:rt,overlayX:St,overlayY:oe,offsetY:qt},{originX:U,originY:rt,overlayX:fn,overlayY:oe,offsetY:qt},{originX:I,originY:It,overlayX:St,overlayY:Fe,offsetY:-qt},{originX:U,originY:It,overlayX:fn,overlayY:Fe,offsetY:-qt}])}_menuClosingActions(){const l=this._overlayRef.backdropClick(),m=this._overlayRef.detachments(),I=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,qn.of)(),U=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,pt.I)(oe=>oe!==this._menuItemInstance),(0,pt.I)(()=>this._menuOpen)):(0,qn.of)();return(0,vt.U)(l,I,U,m)}_handleMousedown(l){(0,ie.G3)(l)||(this._openedBy=0===l.button?"mouse":void 0,this.triggersSubmenu()&&l.preventDefault())}_handleKeydown(l){const m=l.keyCode;(m===Tt.wJ||m===Tt.Gi)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(m===Tt.a4&&"ltr"===this.dir||m===Tt.Mx&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(l){this.triggersSubmenu()?(l.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,pt.I)(l=>l===this._menuItemInstance&&!l.disabled),sn(0,tt.u)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof jt&&this.menu._isAnimating?this.menu._animationDone.pipe((0,Pt.U)(1),sn(0,tt.u),(0,Ee.a)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(l){return(!this._portal||this._portal.templateRef!==l.templateRef)&&(this._portal=new ye.CC(l.templateRef,this._viewContainerRef)),this._portal}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(bn.mc),s.GI1(s.GMv),s.GI1(s.y8U),s.GI1(dn),s.GI1(N,8),s.GI1(q,10),s.GI1(Dn.yG,8),s.GI1(ie.Kk),s.GI1(s.WW2))},b.\u0275dir=s.Sc5({type:b,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(l,m){1&l&&s.qCj("click",function(U){return m._handleClick(U)})("mousedown",function(U){return m._handleMousedown(U)})("keydown",function(U){return m._handleKeydown(U)}),2&l&&s.e48("aria-haspopup",m.menu?"menu":null)("aria-expanded",m.menuOpen)("aria-controls",m.menuOpen?m.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[s.Wk5.None,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[s.Wk5.None,"matMenuTriggerFor","menu"],menuData:[s.Wk5.None,"matMenuTriggerData","menuData"],restoreFocus:[s.Wk5.None,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0}),d})(),ni=(()=>{var b;class d{}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275mod=s.a4G({type:b}),b.\u0275inj=s.s3X({providers:[Ci],imports:[te.MD,re.KE,re.AN,bn.Y1,pi.uU,re.AN]}),d})();var Ti=y(7712);const er=["tooltip"],We=new s.UbH("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const b=(0,s.uUt)(bn.mc);return()=>b.scrollStrategies.reposition({scrollThrottle:20})}}),bt={provide:We,deps:[bn.mc],useFactory:function je(b){return()=>b.scrollStrategies.reposition({scrollThrottle:20})}},Vt=new s.UbH("mat-tooltip-default-options",{providedIn:"root",factory:function _t(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),xn="tooltip-panel",$t=(0,ai.W4)({passive:!0});let oi=(()=>{var b;class d{get position(){return this._position}set position(l){var m;l!==this._position&&(this._position=l,this._overlayRef)&&(this._updatePosition(this._overlayRef),null===(m=this._tooltipInstance)||void 0===m||m.show(0),this._overlayRef.updatePosition())}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(l){this._positionAtOrigin=(0,Ti.W6)(l),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(l){this._disabled=(0,Ti.W6)(l),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(l){this._showDelay=(0,Ti.wZ)(l)}get hideDelay(){return this._hideDelay}set hideDelay(l){this._hideDelay=(0,Ti.wZ)(l),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(l){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=l?String(l).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(l){this._tooltipClass=l,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(l,m,I,U,oe,Fe,rt,It,St,fn,qt,tn){this._overlay=l,this._elementRef=m,this._scrollDispatcher=I,this._viewContainerRef=U,this._ngZone=oe,this._platform=Fe,this._ariaDescriber=rt,this._focusMonitor=It,this._dir=fn,this._defaultOptions=qt,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=rn,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Ne.E,this._scrollStrategy=St,this._document=tn,qt&&(this._showDelay=qt.showDelay,this._hideDelay=qt.hideDelay,qt.position&&(this.position=qt.position),qt.positionAtOrigin&&(this.positionAtOrigin=qt.positionAtOrigin),qt.touchGestures&&(this.touchGestures=qt.touchGestures)),fn.change.pipe((0,Ee.a)(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,Ee.a)(this._destroyed)).subscribe(l=>{l?"keyboard"===l&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const l=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([m,I])=>{l.removeEventListener(m,I,$t)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(l,this.message,"tooltip"),this._focusMonitor.stopMonitoring(l)}show(l=this.showDelay,m){var I;if(this.disabled||!this.message||this._isTooltipVisible())return void(null===(I=this._tooltipInstance)||void 0===I||I._cancelPendingAnimations());const U=this._createOverlay(m);this._detach(),this._portal=this._portal||new ye.KC(this._tooltipComponent,this._viewContainerRef);const oe=this._tooltipInstance=U.attach(this._portal).instance;oe._triggerElement=this._elementRef.nativeElement,oe._mouseLeaveHideDelay=this._hideDelay,oe.afterHidden().pipe((0,Ee.a)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),oe.show(l)}hide(l=this.hideDelay){const m=this._tooltipInstance;m&&(m.isVisible()?m.hide(l):(m._cancelPendingAnimations(),this._detach()))}toggle(l){this._isTooltipVisible()?this.hide():this.show(void 0,l)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(l){var m;if(this._overlayRef){const oe=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!l)&&oe._origin instanceof s.GMv)return this._overlayRef;this._detach()}const I=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),U=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&l||this._elementRef).withTransformOriginOn(".".concat(this._cssClassPrefix,"-tooltip")).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(I);return U.positionChanges.pipe((0,Ee.a)(this._destroyed)).subscribe(oe=>{this._updateCurrentPositionClass(oe.connectionPair),this._tooltipInstance&&oe.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:U,panelClass:"".concat(this._cssClassPrefix,"-").concat(xn),scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,Ee.a)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,Ee.a)(this._destroyed)).subscribe(()=>{var oe;return null===(oe=this._tooltipInstance)||void 0===oe?void 0:oe._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe((0,Ee.a)(this._destroyed)).subscribe(oe=>{this._isTooltipVisible()&&oe.keyCode===Tt.UX&&!(0,Tt.Yp)(oe)&&(oe.preventDefault(),oe.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),null!==(m=this._defaultOptions)&&void 0!==m&&m.disableTooltipInteractivity&&this._overlayRef.addPanelClass("".concat(this._cssClassPrefix,"-tooltip-panel-non-interactive")),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(l){const m=l.getConfig().positionStrategy,I=this._getOrigin(),U=this._getOverlayPosition();m.withPositions([this._addOffset({...I.main,...U.main}),this._addOffset({...I.fallback,...U.fallback})])}_addOffset(l){const I=!this._dir||"ltr"==this._dir.value;return"top"===l.originY?l.offsetY=-8:"bottom"===l.originY?l.offsetY=8:"start"===l.originX?l.offsetX=I?-8:8:"end"===l.originX&&(l.offsetX=I?8:-8),l}_getOrigin(){const l=!this._dir||"ltr"==this._dir.value,m=this.position;let I;"above"==m||"below"==m?I={originX:"center",originY:"above"==m?"top":"bottom"}:"before"==m||"left"==m&&l||"right"==m&&!l?I={originX:"start",originY:"center"}:("after"==m||"right"==m&&l||"left"==m&&!l)&&(I={originX:"end",originY:"center"});const{x:U,y:oe}=this._invertPosition(I.originX,I.originY);return{main:I,fallback:{originX:U,originY:oe}}}_getOverlayPosition(){const l=!this._dir||"ltr"==this._dir.value,m=this.position;let I;"above"==m?I={overlayX:"center",overlayY:"bottom"}:"below"==m?I={overlayX:"center",overlayY:"top"}:"before"==m||"left"==m&&l||"right"==m&&!l?I={overlayX:"end",overlayY:"center"}:("after"==m||"right"==m&&l||"left"==m&&!l)&&(I={overlayX:"start",overlayY:"center"});const{x:U,y:oe}=this._invertPosition(I.overlayX,I.overlayY);return{main:I,fallback:{overlayX:U,overlayY:oe}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,Pt.U)(1),(0,Ee.a)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(l){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=l,this._tooltipInstance._markForCheck())}_invertPosition(l,m){return"above"===this.position||"below"===this.position?"top"===m?m="bottom":"bottom"===m&&(m="top"):"end"===l?l="start":"start"===l&&(l="end"),{x:l,y:m}}_updateCurrentPositionClass(l){const{overlayY:m,originX:I,originY:U}=l;let oe;if(oe="center"===m?this._dir&&"rtl"===this._dir.value?"end"===I?"left":"right":"start"===I?"left":"right":"bottom"===m&&"top"===U?"above":"below",oe!==this._currentPosition){const Fe=this._overlayRef;if(Fe){const rt="".concat(this._cssClassPrefix,"-").concat(xn,"-");Fe.removePanelClass(rt+this._currentPosition),Fe.addPanelClass(rt+oe)}this._currentPosition=oe}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",l=>{let m;this._setupPointerExitEventsIfNeeded(),void 0!==l.x&&void 0!==l.y&&(m=l),this.show(void 0,m)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",l=>{var m;const I=null===(m=l.targetTouches)||void 0===m?void 0:m[0],U=I?{x:I.clientX,y:I.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 l=[];if(this._platformSupportsMouseEvents())l.push(["mouseleave",m=>{var I;const U=m.relatedTarget;(!U||null===(I=this._overlayRef)||void 0===I||!I.overlayElement.contains(U))&&this.hide()}],["wheel",m=>this._wheelListener(m)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const m=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};l.push(["touchend",m],["touchcancel",m])}this._addListeners(l),this._passiveListeners.push(...l)}_addListeners(l){l.forEach(([m,I])=>{this._elementRef.nativeElement.addEventListener(m,I,$t)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(l){if(this._isTooltipVisible()){const m=this._document.elementFromPoint(l.clientX,l.clientY),I=this._elementRef.nativeElement;m!==I&&!I.contains(m)&&this.hide()}}_disableNativeGesturesIfNecessary(){const l=this.touchGestures;if("off"!==l){const m=this._elementRef.nativeElement,I=m.style;("on"===l||"INPUT"!==m.nodeName&&"TEXTAREA"!==m.nodeName)&&(I.userSelect=I.msUserSelect=I.webkitUserSelect=I.MozUserSelect="none"),("on"===l||!m.draggable)&&(I.webkitUserDrag="none"),I.touchAction="none",I.webkitTapHighlightColor="transparent"}}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(bn.mc),s.GI1(s.GMv),s.GI1(pi.Yn),s.GI1(s.y8U),s.GI1(s.WW2),s.GI1(ai.WU),s.GI1(ie.o9),s.GI1(ie.Kk),s.GI1(We),s.GI1(Dn.yG),s.GI1(Vt,8),s.GI1(te.Ud))},b.\u0275dir=s.Sc5({type:b,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(l,m){2&l&&s.eAK("mat-mdc-tooltip-disabled",m.disabled)},inputs:{position:[s.Wk5.None,"matTooltipPosition","position"],positionAtOrigin:[s.Wk5.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[s.Wk5.None,"matTooltipDisabled","disabled"],showDelay:[s.Wk5.None,"matTooltipShowDelay","showDelay"],hideDelay:[s.Wk5.None,"matTooltipHideDelay","hideDelay"],touchGestures:[s.Wk5.None,"matTooltipTouchGestures","touchGestures"],message:[s.Wk5.None,"matTooltip","message"],tooltipClass:[s.Wk5.None,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0}),d})(),rn=(()=>{var b;class d{constructor(l,m,I){this._changeDetectorRef=l,this._elementRef=m,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new Ne.E,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===I}show(l){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},l)}hide(l){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},l)}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:l}){(!l||!this._triggerElement.contains(l))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const l=this._elementRef.nativeElement.getBoundingClientRect();return l.height>24&&l.width>=200}_handleAnimationEnd({animationName:l}){(l===this._showAnimation||l===this._hideAnimation)&&this._finalizeAnimation(l===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(l){l?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(l){const m=this._tooltip.nativeElement,I=this._showAnimation,U=this._hideAnimation;if(m.classList.remove(l?U:I),m.classList.add(l?I:U),this._isVisible=l,l&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const oe=getComputedStyle(m);("0s"===oe.getPropertyValue("animation-duration")||"none"===oe.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}l&&this._onShow(),this._animationsDisabled&&(m.classList.add("_mat-animation-noopable"),this._finalizeAnimation(l))}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(s.kD9),s.GI1(s.GMv),s.GI1(s.qwP,8))},b.\u0275cmp=s.In1({type:b,selectors:[["mat-tooltip-component"]],viewQuery:function(l,m){if(1&l&&s.CC$(er,7),2&l){let I;s.wto(I=s.Gqi())&&(m._tooltip=I.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(l,m){1&l&&s.qCj("mouseleave",function(U){return m._handleMouseLeave(U)}),2&l&&s.m4B("zoom",m.isVisible()?1:null)},standalone:!0,features:[s.UHJ],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(l,m){1&l&&(s.I0R(0,"div",0,1),s.qCj("animationend",function(U){return m._handleAnimationEnd(U)}),s.I0R(2,"div",2),s.OEk(3),s.C$Y()()),2&l&&(s.eAK("mdc-tooltip--multiline",m._isMultiline),s.E7m("ngClass",m.tooltipClass),s.yG2(3),s.cNF(m.message))},dependencies:[te.QF],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}),d})(),ui=(()=>{var b;class d{}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275mod=s.a4G({type:b}),b.\u0275inj=s.s3X({providers:[bt],imports:[ie.Ux,te.MD,bn.Y1,re.AN,re.AN,pi.uU]}),d})();function Kn(b,d){if(1&b){const u=s.KQA();s.I0R(0,"button",14),s.qCj("click",function(){const I=s.usT(u).$implicit,U=s.GaO(2);return s.CGJ(U.launch(I))}),s.I0R(1,"div",15),s.wR5(2,"img",9),s.OEk(3),s.C$Y()()}if(2&b){const u=d.$implicit,l=s.GaO(2);s.yG2(2),s.E7m("src",l.getTransportIcon(u.id),s.K6U),s.yG2(),s.oRS(" ",u.name," ")}}function Jn(b,d){if(1&b){const u=s.KQA();s.I0R(0,"button",14),s.qCj("click",function(){s.usT(u);const m=s.GaO(2);return s.CGJ(m.action("release"))}),s.I0R(1,"i",16),s.OEk(2,"delete"),s.C$Y(),s.I0R(3,"uds-translate"),s.OEk(4," Release service"),s.C$Y()()}}function $o(b,d){if(1&b){const u=s.KQA();s.I0R(0,"button",14),s.qCj("click",function(){s.usT(u);const m=s.GaO(2);return s.CGJ(m.action("reset"))}),s.I0R(1,"i",16),s.OEk(2,"refresh"),s.C$Y(),s.I0R(3,"uds-translate"),s.OEk(4," Reset service"),s.C$Y()()}}function Eo(b,d){if(1&b&&(s.I0R(0,"button",17)(1,"uds-translate"),s.OEk(2,"Connections"),s.C$Y()()),2&b){s.GaO();const u=s.Gew(2);s.E7m("matMenuTriggerFor",u)}}function Do(b,d){if(1&b&&(s.I0R(0,"button",17)(1,"uds-translate"),s.OEk(2,"Actions"),s.C$Y()()),2&b){s.GaO();const u=s.Gew(5);s.E7m("matMenuTriggerFor",u)}}function hr(b,d){if(1&b&&(s.I0R(0,"button",18)(1,"i",16),s.OEk(2,"menu"),s.C$Y()()),2&b){s.GaO();const u=s.Gew(9);s.E7m("matMenuTriggerFor",u)}}function fr(b,d){if(1&b){const u=s.KQA();s.I0R(0,"div")(1,"mat-menu",null,1),s.yuY(3,Kn,4,2,"button",2),s.C$Y(),s.I0R(4,"mat-menu",null,3),s.yuY(6,Jn,5,0,"button",4)(7,$o,5,0,"button",4),s.C$Y(),s.I0R(8,"mat-menu",null,5),s.yuY(10,Eo,3,1,"button",6)(11,Do,3,1,"button",6),s.C$Y(),s.I0R(12,"div",7)(13,"div",8),s.qCj("click",function(){s.usT(u);const m=s.GaO();return s.CGJ(m.launch(null))}),s.wR5(14,"img",9),s.C$Y(),s.I0R(15,"div",10)(16,"span",11),s.OEk(17),s.C$Y()(),s.I0R(18,"div",12),s.yuY(19,hr,3,1,"button",13),s.C$Y()()()}if(2&b){const u=s.GaO();s.yG2(3),s.E7m("ngForOf",u.service.transports),s.yG2(3),s.E7m("ngIf",u.service.allow_users_remove),s.yG2(),s.E7m("ngIf",u.service.allow_users_reset),s.yG2(3),s.E7m("ngIf",u.showTransportsMenu()),s.yG2(),s.E7m("ngIf",u.hasActions()),s.yG2(),s.E7m("ngClass",u.serviceClass)("matTooltipDisabled",""===u.serviceTooltip)("matTooltip",u.serviceTooltip),s.yG2(2),s.E7m("src",u.serviceImage,s.K6U),s.yG2(2),s.E7m("ngClass",u.serviceNameClass),s.yG2(),s.cNF(u.serviceName),s.yG2(2),s.E7m("ngIf",u.hasMenu())}}let hi=(()=>{var b;class d{constructor(l){this.api=l,this.service={}}get serviceImage(){return this.api.galleryImageURL(this.service.imageId)}get serviceName(){let l=this.service.visual_name;return l.length>32&&(l=l.substring(0,29)+"..."),l}get serviceTooltip(){return null!==this.service.to_be_replaced?this.service.to_be_replaced_text:this.service.maintenance?django.gettext("Service is in maintenance"):this.service.not_accesible?this.service.custom_calendar_text:this.serviceName!==this.service.name?this.service.name:""}get serviceClass(){const l=["service"];return null!=this.service.to_be_replaced?l.push("tobereplaced"):this.service.maintenance?l.push("maintenance"):this.service.not_accesible?l.push("forbidden"):this.service.in_use&&l.push("inuse"),l.length>1&&l.push("alert"),l}get serviceNameClass(){const l=[],m=Math.min(4*Math.floor((this.service.visual_name.length-1)/4),28);return m>=16&&l.push("small-"+m.toString()),l}ngOnInit(){}getTransportIcon(l){return this.api.transportIconURL(l)}hasActions(){return this.service.allow_users_remove||this.service.allow_users_reset}showTransportsMenu(){return this.service.transports.length>1&&this.service.show_transports}hasMenu(){return!1===this.service.maintenance&&!1===this.service.not_accesible&&(this.hasActions()||this.showTransportsMenu())}notifyNotLaunching(l){this.api.gui.alert('

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

",l)}launch(l){var m=this;return(0,gn.c)(function*(){if(m.service.maintenance)m.notifyNotLaunching(django.gettext("Service is in maintenance and cannot be launched"));else if(m.service.not_accesible){const I=m.service.custom_calendar_text||m.api.config.messages.calendarDenied;m.notifyNotLaunching('

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

'+I+'

')}else{if((null===l||!1===m.service.show_transports)&&(l=m.service.transports[0]),null!=m.service.custom_message_text&&!1===(yield m.api.gui.yesno(django.gettext("Service message"),m.service.custom_message_text)))return;m.api.executeCustomJSForServiceLaunch(),m.api.launchURL(l.link)}})()}action(l){const m=("release"===l?django.gettext("Release service: "):django.gettext("Reset service: "))+" "+this.serviceName,I="release"===l?django.gettext("Service released"):django.gettext("Service reseted");this.api.gui.yesno(m,django.gettext("Are you sure?")).then(U=>{U&&this.api.action(l,this.service.id).then(oe=>{oe&&this.api.gui.alert(m,I)})})}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(z.G))},b.\u0275cmp=s.In1({type:b,selectors:[["uds-service"]],inputs:{service:"service"},decls:1,vars:1,consts:[[4,"ngIf"],["transports",""],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["actions",""],["mat-menu-item","",3,"click",4,"ngIf"],["menu",""],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["matTooltipShowDelay","1000","matTooltipPosition","above",3,"ngClass","matTooltipDisabled","matTooltip"],[1,"icon",3,"click"],[3,"src"],[1,"name"],[3,"ngClass"],[1,"menu"],["mat-icon-button","","class","service-menu",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"transport-item"],[1,"material-icons"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-icon-button","",1,"service-menu",3,"matMenuTriggerFor"]],template:function(l,m){1&l&&s.yuY(0,fr,20,12,"div",0),2&l&&s.E7m("ngIf",m.service.transports.length>0)},dependencies:[te.QF,te.ay,te.u_,cn.um,jt,q,Fi,oi,Ce.e],styles:['.service[_ngcontent-%COMP%]{width:10rem;margin:0 1rem 2rem 0;padding:.5rem 0 1rem;border-radius:1rem;box-shadow:0 12px 18px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-color:#00000038;display:flex;flex:1;align-items:center;justify-content:flex-start;flex-flow:column wrap;position:relative}.service-menu[_ngcontent-%COMP%]{border-radius:.6rem!important}.service[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px #00000040,0 10px 10px #00000038}.icon[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:center;transition:all .3s cubic-bezier(.25,.8,.25,1);width:6rem;height:6rem;margin:.5rem}.service[_ngcontent-%COMP%]:not(.forbidden):not(.maintenance):hover .icon[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.25,.8,.25,1);width:7rem;height:7rem;margin:0}.icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden}.forbidden[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .maintenance[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.5;z-index:10}.tobereplaced[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.7;z-index:10}.name[_ngcontent-%COMP%]{margin-top:.5em;font-size:1.05rem;width:calc(100% - 1em);display:flex;flex:1 0 auto;flex-flow:row;align-items:center;justify-content:center;padding:0 .5em;overflow:hidden;height:2.4em;text-align:center}.small-16[_ngcontent-%COMP%]{font-size:1.05rem}.small-20[_ngcontent-%COMP%]{font-size:1rem}.small-24[_ngcontent-%COMP%]{font-size:.95rem}.small-28[_ngcontent-%COMP%]{font-size:.9rem}.menu[_ngcontent-%COMP%]{position:absolute;top:2px;right:2px}.menu[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%]{cursor:pointer;background-color:#fffc}.menu[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1)}.transport-item[_ngcontent-%COMP%]{display:flex;align-items:center}.transport-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2em;margin-right:.4em}.alert[_ngcontent-%COMP%]:before{position:absolute;top:1rem;left:1rem;font-size:8rem;font-weight:500;font-family:Material Icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:"liga";text-shadow:0 6px 8px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);z-index:1}.forbidden[_ngcontent-%COMP%]:before{color:#fc0000;content:"update"}.maintenance[_ngcontent-%COMP%]:before{color:#fcb900;content:"build"}.tobereplaced[_ngcontent-%COMP%]:before{color:#fc0000;content:"delete_forever"} .dark-theme .menu .mat-mdc-icon-button{background-color:#0003!important}']}),d})();function Go(b,d){1&b&&s.wR5(0,"uds-service",8),2&b&&s.E7m("service",d.$implicit)}function tr(b,d){if(1&b&&(s.I0R(0,"mat-expansion-panel",1)(1,"mat-expansion-panel-header",2)(2,"mat-panel-title")(3,"div",3),s.wR5(4,"img",4),s.OEk(5),s.C$Y()(),s.I0R(6,"mat-panel-description",5),s.OEk(7),s.C$Y()(),s.I0R(8,"div",6),s.yuY(9,Go,1,1,"uds-service",7),s.C$Y()()),2&b){const u=s.GaO();s.E7m("expanded",u.expanded),s.yG2(),s.E7m("collapsedHeight","3rem")("expandedHeight","5rem"),s.yG2(3),s.E7m("src",u.groupImage,s.K6U),s.yG2(),s.oRS(" ",u.group.name,""),s.yG2(2),s.oRS(" ",u.group.comments," "),s.yG2(2),s.E7m("ngForOf",u.sortedServices)}}let pn=(()=>{var b;class d{constructor(l){this.api=l,this.services=[],this.group={},this.expanded=!1}get groupImage(){return this.api.galleryImageURL(this.group.imageUuid)}get hasVisibleServices(){return this.services.length>0}get sortedServices(){return this.services.sort((l,m)=>l.name>m.name?1:l.name{var b;class d{constructor(l){this.api=l}ngOnInit(){}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(z.G))},b.\u0275cmp=s.In1({type:b,selectors:[["uds-staff-info"]],decls:1,vars:1,consts:[["class","staff-info",4,"ngIf"],[1,"staff-info"],[1,"staff-panel"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(l,m){1&l&&s.yuY(0,_i,38,4,"div",0),2&l&&s.E7m("ngIf",m.api.staffInfo)},dependencies:[te.ay,te.u_,Mt,pe,Te,$e,dt,Ce.e],styles:[".staff-info[_ngcontent-%COMP%]{margin-top:1rem;padding:1rem;background-color:#ebebeb}.staff-info[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{text-align:center}.staff-panel[_ngcontent-%COMP%]{background-color:#d4d4d4} .dark-theme .staff-info{margin-top:1rem;padding:1rem;background-color:#0f0f0f} .dark-theme .staff-panel{background-color:#2b2b2b}"]}),d})();var ns=y(800),Oo=y(4680),is=y(9212),oo=y(6516),jn=y(7536);const Ct=["input"];let zt=(()=>{var b;class d{constructor(){this.updateEvent=new s._w7,this.input=void 0}ngAfterViewInit(){if(void 0===this.input)throw new Error("input atrribute is not provided");const l=this.input;(0,ns.w)(l.nativeElement,"keyup").pipe((0,pt.I)(Boolean),(0,Oo.o)(600),(0,me.a)(),(0,is.y)(()=>this.update(l.nativeElement.value))).subscribe()}update(l){this.updateEvent.emit(l.toLowerCase())}}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275cmp=s.In1({type:b,selectors:[["uds-filter"]],viewQuery:function(l,m){if(1&l&&s.CC$(Ct,7),2&l){let I;s.wto(I=s.Gqi())&&(m.input=I.first)}},outputs:{updateEvent:"updateEvent"},decls:9,vars:0,consts:[[1,"filter"],["floatLabel","auto",1,"nav-input-field"],["matInput","","type","text"],["input",""],["matSuffix","",1,"material-icons"]],template:function(l,m){1&l&&(s.I0R(0,"div",0)(1,"mat-form-field",1)(2,"mat-label")(3,"uds-translate"),s.OEk(4,"Filter"),s.C$Y()(),s.wR5(5,"input",2,3),s.I0R(7,"i",4),s.OEk(8,"search"),s.C$Y()()())},dependencies:[oo.Up,oo.w5,oo.Gm,jn.yi,Ce.e],styles:[".filter[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;justify-content:flex-end;font-size:.8rem}"]}),d})();function ei(b,d){if(1&b){const u=s.KQA();s.I0R(0,"uds-filter",3),s.qCj("updateEvent",function(m){s.usT(u);const I=s.GaO();return s.CGJ(I.update(m))}),s.C$Y()}}function Li(b,d){if(1&b&&s.wR5(0,"uds-services-group",4),2&b){const u=d.$implicit,l=d.index;s.E7m("services",u.services)("group",u.group)("expanded",0===l)}}function Ai(b,d){if(1&b){const u=s.KQA();s.I0R(0,"uds-filter",3),s.qCj("updateEvent",function(m){s.usT(u);const I=s.GaO();return s.CGJ(I.update(m))}),s.C$Y()}}class ci{constructor(d){this.group=d,this.services=[]}}let fo=(()=>{var b;class d{constructor(l){this.api=l,this.servicesInformation={autorun:!1,ip:"",nets:"",services:[],transports:""},this.group=[]}update(l){this.updateServices(l)}ngOnInit(){this.api.config.urls.launch?this.api.logout():this.loadServices()}autorun(){if(this.servicesInformation.autorun&&1===this.servicesInformation.services.length){if(!this.servicesInformation.services[0].maintenance)return this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(this.servicesInformation.services[0].transports[0].link),!0;this.api.gui.alert(django.gettext("Warning"),django.gettext("Service is in maintenance and cannot be executed"))}return!1}loadServices(){this.api.user.isRestricted&&this.api.logout(),this.api.getServicesInformation().then(l=>{this.servicesInformation=l,this.autorun(),this.updateServices()})}updateServices(l=""){this.group=[];let m=null;this.servicesInformation.services.filter(I=>!l||I.visual_name.toLowerCase().includes(l)||I.group.name.toLowerCase().includes(l)).sort((I,U)=>I.group.priority!==U.group.priority?I.group.priority-U.group.priority:I.group.id>U.group.id?1:I.group.id{(null===m||I.group.id!==m.group.id)&&(null!==m&&this.group.push(m),m=new ci(I.group)),m.services.push(I)}),null!==m&&this.group.push(m)}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(z.G))},b.\u0275cmp=s.In1({type:b,selectors:[["uds-services-page"]],decls:6,vars:3,consts:[[3,"updateEvent",4,"ngIf"],[1,"services-groups"],[3,"services","group","expanded",4,"ngFor","ngForOf"],[3,"updateEvent"],[3,"services","group","expanded"]],template:function(l,m){1&l&&(s.yuY(0,ei,1,0,"uds-filter",0),s.I0R(1,"div",1)(2,"mat-accordion"),s.yuY(3,Li,1,3,"uds-services-group",2),s.C$Y()(),s.yuY(4,Ai,1,0,"uds-filter",0),s.wR5(5,"uds-staff-info")),2&l&&(s.E7m("ngIf",m.servicesInformation.services.length>=m.api.config.min_for_filter&&m.api.config.site_filter_on_top),s.yG2(3),s.E7m("ngForOf",m.group),s.yG2(),s.E7m("ngIf",m.servicesInformation.services.length>=m.api.config.min_for_filter&&!m.api.config.site_filter_on_top))},dependencies:[te.ay,te.u_,Mt,pn,ts,zt],styles:[".services-groups[_ngcontent-%COMP%]{padding-top:1rem}"]}),d})(),Ln=(()=>{var b;class d{constructor(l,m){this.api=l,this.route=m,this.error="",this.returnUrl="/"}ngOnInit(){var l=this;return(0,gn.c)(function*(){yield l.getError()})()}getError(){var l=this;return(0,gn.c)(function*(){const m=l.route.snapshot.paramMap.get("id")||"-1";"19"===m&&(l.returnUrl="/mfa"),l.error=(yield l.api.getErrorInformation(m)).error})()}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(z.G),s.GI1(ce.gV))},b.\u0275cmp=s.In1({type:b,selectors:[["uds-error"]],decls:14,vars:2,consts:[[1,"error-container"],[1,"graph"],["viewBox","0 0 55 41","xmlns","http://www.w3.org/2000/svg",1,"bird"],["d","M35.5 5L54.7.6H32.3L35.5 5zM12.4 40.8l10.3-10.1-6.2-6.7-4.1 16.8zM33.8 5.3L30.5.8l-5.4 4 8.7.5zM20.8 4.6L8.8 0l1.9 4.1 10.1.5zM0 5l15.2 15.4 7.5-14.2L0 5zM34.2 6.8l-9.9-.5-8 15.2 7.4 8.1 8-7.9 2.5-14.9z"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 32 32",1,"gears"],["d","M29.18 19.07c-1.678-2.908-.668-6.634 2.256-8.328L28.29 5.295c-.897.527-1.942.83-3.057.83-3.36 0-6.085-2.743-6.085-6.126h-6.29c.01 1.043-.25 2.102-.81 3.07-1.68 2.907-5.41 3.896-8.34 2.21L.566 10.727c.905.515 1.69 1.268 2.246 2.234 1.677 2.904.673 6.624-2.24 8.32l3.145 5.447c.895-.522 1.935-.82 3.044-.82 3.35 0 6.066 2.725 6.083 6.092h6.29c-.004-1.035.258-2.08.81-3.04 1.676-2.902 5.4-3.893 8.325-2.218l3.145-5.447c-.9-.515-1.678-1.266-2.232-2.226zM16 22.48c-3.578 0-6.48-2.902-6.48-6.48S12.423 9.52 16 9.52c3.578 0 6.48 2.902 6.48 6.48s-2.902 6.48-6.48 6.48z"],[1,"title"],[1,"description"],["mat-raised-button","","color","warn",3,"routerLink"]],template:function(l,m){1&l&&(s.I0R(0,"div",0)(1,"div",1),s.S2Z(),s.I0R(2,"svg",2),s.wR5(3,"path",3),s.C$Y(),s.I0R(4,"svg",4),s.wR5(5,"path",5),s.C$Y()(),s.gRP(),s.I0R(6,"h1",6)(7,"uds-translate"),s.OEk(8,"An error has occurred"),s.C$Y()(),s.I0R(9,"p",7),s.OEk(10),s.C$Y(),s.I0R(11,"a",8)(12,"uds-translate"),s.OEk(13,"Return"),s.C$Y()()()),2&l&&(s.yG2(10),s.oRS(" ",m.error," "),s.yG2(),s.E7m("routerLink",m.returnUrl))},dependencies:[ce.ER,cn.EB,Ce.e],styles:[".error-container[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;position:relative}.title[_ngcontent-%COMP%]{display:block;font-size:2rem;font-weight:lighter;text-align:center}.description[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:lighter}.graph[_ngcontent-%COMP%]{position:relative}.gears[_ngcontent-%COMP%]{width:10rem;height:10rem;fill:#6aafe6;transition:easeInOutQuint();animation:_ngcontent-%COMP%_CogAnimation 5s infinite}.bird[_ngcontent-%COMP%]{position:absolute;width:3rem;height:3rem;fill:#30a9de;left:50%;top:50%;transform:translate(-50%,-50%)}@keyframes _ngcontent-%COMP%_CogAnimation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]}),d})(),Di=(()=>{var b;class d{constructor(l){this.api=l,this.year=(new Date).getFullYear()}ngOnInit(){this.year<2021&&(this.year=2021)}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(z.G))},b.\u0275cmp=s.In1({type:b,selectors:[["uds-about"]],decls:46,vars:3,consts:[[1,"about"],["rel","noopener noreferrer","href","http://www.udsenterprise.com","target","_blank"],["rel","noopener noreferrer","href","https://github.com/dkmstr/openuds","target","_blank"],[1,"components"],["rel","noopener noreferrer","href","https://www.python.org/","target","_blank"],["rel","noopener noreferrer","href","https://www.typescriptlang.org/","target","_blank"],["rel","noopener noreferrer","href","https://www.djangoproject.com/","target","_blank"],["rel","noopener noreferrer","href","https://angular.io","target","_blank"],["rel","noopener noreferrer","href","https://guac-dev.org/","target","_blank"],["rel","noopener noreferrer","href","https://weasyprint.org/","target","_blank"],["rel","noopener noreferrer","href","https://kde-look.org/content/show.php/Crystal+Project?content=60475)","target","_blank"],["rel","noopener noreferrer","href","https://github.com/NitruxSA/flattr-icons","target","_blank"]],template:function(l,m){1&l&&(s.I0R(0,"div",0)(1,"h1"),s.OEk(2),s.C$Y(),s.I0R(3,"h3")(4,"a",1),s.OEk(5),s.C$Y()(),s.I0R(6,"h4")(7,"uds-translate"),s.OEk(8,"You can access UDS Open Source code at"),s.C$Y(),s.OEk(9,"\xa0"),s.I0R(10,"a",2),s.OEk(11,"OpenUDS github repository"),s.C$Y()(),s.I0R(12,"div",3)(13,"h2")(14,"uds-translate"),s.OEk(15,"UDS has been developed using these components:"),s.C$Y()(),s.I0R(16,"ul")(17,"li")(18,"a",4),s.OEk(19,"Python"),s.C$Y()(),s.I0R(20,"li")(21,"a",5),s.OEk(22,"TypeScript"),s.C$Y()(),s.I0R(23,"li")(24,"a",6),s.OEk(25,"Django"),s.C$Y()(),s.I0R(26,"li")(27,"a",7),s.OEk(28,"Angular"),s.C$Y()(),s.I0R(29,"li")(30,"a",8),s.OEk(31,"Guacamole"),s.C$Y()(),s.I0R(32,"li")(33,"a",9),s.OEk(34,"weasyprint"),s.C$Y()(),s.I0R(35,"li")(36,"a",10),s.OEk(37,"Crystal project icons"),s.C$Y()(),s.I0R(38,"li")(39,"a",11),s.OEk(40,"Flattr Icons"),s.C$Y()()(),s.I0R(41,"p")(42,"small"),s.OEk(43,"* "),s.I0R(44,"uds-translate"),s.OEk(45,"If you find that we missed any component, please let us know"),s.C$Y()()()()()),2&l&&(s.yG2(2),s.CAO("Universal Desktop Services ",m.api.config.version," build ",m.api.config.version_stamp,""),s.yG2(3),s.oRS(" \xa9 2012-",m.year," Virtual Cable S.L.U."))},dependencies:[Ce.e],styles:["[_nghost-%COMP%]{display:flex;flex-flow:column;justify-content:center;align-items:center}.about[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{text-align:center}.about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:center;font-size:1em;font-weight:400}.about[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{padding:0}ul[_ngcontent-%COMP%]{list-style:none}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;text-decoration:none;color:#000;background-color:#fff;line-height:30px;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#ccc;padding-left:10px;cursor:pointer}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#3e6b2d}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:10px} .dark-theme .about{color:#fff!important} .dark-theme ul li a{color:#fff!important;background-color:inherit!important} .dark-theme ul li a:hover{color:#3e6b2d!important}"]}),d})(),Bi=(()=>{var b;class d{constructor(l){this.api=l}ngOnInit(){this.api.config.urls.launch&&this.api.launchURL(this.api.config.urls.launch)}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(z.G))},b.\u0275cmp=s.In1({type:b,selectors:[["uds-launcher"]],decls:24,vars:0,consts:[[1,"launcher"],[1,"launcher-box"],["routerLink","/client-download"]],template:function(l,m){1&l&&(s.I0R(0,"div",0)(1,"div",1)(2,"h1")(3,"uds-translate"),s.OEk(4,"UDS Service launcher"),s.C$Y()(),s.I0R(5,"h4")(6,"uds-translate"),s.OEk(7,"The service you have requested is being launched."),s.C$Y()(),s.I0R(8,"h5")(9,"uds-translate"),s.OEk(10,"Please, note that reloading this page will not work."),s.C$Y()(),s.I0R(11,"h5")(12,"uds-translate"),s.OEk(13,"To relaunch service, you will have to do it from origin."),s.C$Y()(),s.I0R(14,"h6")(15,"uds-translate"),s.OEk(16,"If the service does not launchs automatically, probably you dont have the UDS Client installed"),s.C$Y()(),s.I0R(17,"h6")(18,"uds-translate"),s.OEk(19,"You can obtain it from the"),s.C$Y(),s.OEk(20,"\xa0"),s.I0R(21,"a",2)(22,"uds-translate"),s.OEk(23,"UDS Client download page"),s.C$Y()()()()())},dependencies:[ce.ER,Ce.e],styles:[".launcher[_ngcontent-%COMP%]{justify-content:center;display:flex;margin-top:1rem;font-size:larger}.launcher-box[_ngcontent-%COMP%]{box-shadow:0 12px 18px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-radius:.5rem;border-color:#00000038;padding:1rem}.launcher-box[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{text-align:center}.launcher-box[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{margin-top:.6rem;margin-bottom:.6rem;font-weight:400}"]}),d})();var Wt=y(4716);const mo=["input"],pr=["label"],Ho=["*"],Hn=new s.UbH("mat-checkbox-default-options",{providedIn:"root",factory:ko});function ko(){return{color:"accent",clickAction:"check-indeterminate"}}var zn=function(b){return b[b.Init=0]="Init",b[b.Checked=1]="Checked",b[b.Unchecked=2]="Unchecked",b[b.Indeterminate=3]="Indeterminate",b}(zn||{});const Zi={provide:Wt.Y6,useExisting:(0,s.wd)(()=>ir),multi:!0};class nr{}let wo=0;const po=ko();let ir=(()=>{var b;class d{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(l){const m=new nr;return m.source=this,m.checked=l,m}_getAnimationTargetElement(){var l;return null===(l=this._inputElement)||void 0===l?void 0:l.nativeElement}get inputId(){return"".concat(this.id||this._uniqueId,"-input")}constructor(l,m,I,U,oe,Fe){this._elementRef=l,this._changeDetectorRef=m,this._ngZone=I,this._animationMode=oe,this._options=Fe,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new s._w7,this.indeterminateChange=new s._w7,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=zn.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||po,this.color=this._options.color||po.color,this.tabIndex=parseInt(U)||0,this.id=this._uniqueId="mat-mdc-checkbox-".concat(++wo)}ngOnChanges(l){l.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(l){l!=this.checked&&(this._checked=l,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(l){l!==this.disabled&&(this._disabled=l,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(l){const m=l!=this._indeterminate;this._indeterminate=l,m&&(this._transitionCheckState(this._indeterminate?zn.Indeterminate:this.checked?zn.Checked:zn.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(l){this.checked=!!l}registerOnChange(l){this._controlValueAccessorChangeFn=l}registerOnTouched(l){this._onTouched=l}setDisabledState(l){this.disabled=l}validate(l){return this.required&&!0!==l.value?{required:!0}:null}registerOnValidatorChange(l){this._validatorChangeFn=l}_transitionCheckState(l){let m=this._currentCheckState,I=this._getAnimationTargetElement();if(m!==l&&I&&(this._currentAnimationClass&&I.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(m,l),this._currentCheckState=l,this._currentAnimationClass.length>0)){I.classList.add(this._currentAnimationClass);const U=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{I.classList.remove(U)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){var l;const m=null===(l=this._options)||void 0===l?void 0:l.clickAction;this.disabled||"noop"===m?!this.disabled&&"noop"===m&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==m&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?zn.Checked:zn.Unchecked),this._emitChangeEvent())}_onInteractionEvent(l){l.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(l,m){if("NoopAnimations"===this._animationMode)return"";switch(l){case zn.Init:if(m===zn.Checked)return this._animationClasses.uncheckedToChecked;if(m==zn.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case zn.Unchecked:return m===zn.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case zn.Checked:return m===zn.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case zn.Indeterminate:return m===zn.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(l){const m=this._inputElement;m&&(m.nativeElement.indeterminate=l)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(l){l.target&&this._labelElement.nativeElement.contains(l.target)&&l.stopPropagation()}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(s.GMv),s.GI1(s.kD9),s.GI1(s.WW2),s.gJ8("tabindex"),s.GI1(s.qwP,8),s.GI1(Hn,8))},b.\u0275cmp=s.In1({type:b,selectors:[["mat-checkbox"]],viewQuery:function(l,m){if(1&l&&(s.CC$(mo,5),s.CC$(pr,5),s.CC$(re.UZ,5)),2&l){let I;s.wto(I=s.Gqi())&&(m._inputElement=I.first),s.wto(I=s.Gqi())&&(m._labelElement=I.first),s.wto(I=s.Gqi())&&(m.ripple=I.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(l,m){2&l&&(s.SoX("id",m.id),s.e48("tabindex",null)("aria-label",null)("aria-labelledby",null),s.m8U(m.color?"mat-"+m.color:"mat-accent"),s.eAK("_mat-animation-noopable","NoopAnimations"===m._animationMode)("mdc-checkbox--disabled",m.disabled)("mat-mdc-checkbox-disabled",m.disabled)("mat-mdc-checkbox-checked",m.checked))},inputs:{ariaLabel:[s.Wk5.None,"aria-label","ariaLabel"],ariaLabelledby:[s.Wk5.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[s.Wk5.None,"aria-describedby","ariaDescribedby"],id:"id",required:[s.Wk5.HasDecoratorInputTransform,"required","required",s.cZD],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[s.Wk5.HasDecoratorInputTransform,"disableRipple","disableRipple",s.cZD],tabIndex:[s.Wk5.HasDecoratorInputTransform,"tabIndex","tabIndex",u=>null==u?void 0:(0,s.cJ3)(u)],color:"color",checked:[s.Wk5.HasDecoratorInputTransform,"checked","checked",s.cZD],disabled:[s.Wk5.HasDecoratorInputTransform,"disabled","disabled",s.cZD],indeterminate:[s.Wk5.HasDecoratorInputTransform,"indeterminate","indeterminate",s.cZD]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[s.M5G([Zi,{provide:Wt.WM,useExisting:b,multi:!0}]),s.QJr,s.SYr,s.UHJ],ngContentSelectors:Ho,decls:15,vars:19,consts:[["mat-internal-form-field","",3,"labelPosition","click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"],["label",""]],template:function(l,m){if(1&l&&(s.kPM(),s.I0R(0,"div",0),s.qCj("click",function(U){return m._preventBubblingFromLabel(U)}),s.I0R(1,"div",1,2)(3,"div",3),s.qCj("click",function(){return m._onTouchTargetClick()}),s.C$Y(),s.I0R(4,"input",4,5),s.qCj("blur",function(){return m._onBlur()})("click",function(){return m._onInputClick()})("change",function(U){return m._onInteractionEvent(U)}),s.C$Y(),s.wR5(6,"div",6),s.I0R(7,"div",7),s.S2Z(),s.I0R(8,"svg",8),s.wR5(9,"path",9),s.C$Y(),s.gRP(),s.wR5(10,"div",10),s.C$Y(),s.wR5(11,"div",11),s.C$Y(),s.I0R(12,"label",12,13),s._Xx(14),s.C$Y()()),2&l){const I=s.Gew(2);s.E7m("labelPosition",m.labelPosition),s.yG2(4),s.eAK("mdc-checkbox--selected",m.checked),s.E7m("checked",m.checked)("indeterminate",m.indeterminate)("disabled",m.disabled)("id",m.inputId)("required",m.required)("tabIndex",m.disabled?-1:m.tabIndex),s.e48("aria-label",m.ariaLabel||null)("aria-labelledby",m.ariaLabelledby)("aria-describedby",m.ariaDescribedby)("aria-checked",m.indeterminate?"mixed":null)("name",m.name)("value",m.value),s.yG2(7),s.E7m("matRippleTrigger",I)("matRippleDisabled",m.disableRipple||m.disabled)("matRippleCentered",!0),s.yG2(),s.E7m("for",m.inputId)}},dependencies:[re.UZ,re.qI],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__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%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__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-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),d})(),zo=(()=>{var b;class d{}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275mod=s.a4G({type:b}),b.\u0275inj=s.s3X({imports:[ir,re.AN,re.AN]}),d})();function wi(b,d){if(1&b&&(s.I0R(0,"div",6)(1,"mat-checkbox",14)(2,"uds-translate"),s.OEk(3,"Remember me for"),s.C$Y(),s.OEk(4),s.C$Y()()),2&b){const u=s.GaO();s.yG2(4),s.oRS(" ",u.api.config.mfa.remember_device," ")}}function or(b,d){1&b&&s.wR5(0,"input",15)}const fi=[{path:"",redirectTo:"services",pathMatch:"full"},{path:"services",component:fo,canActivate:[ae]},{path:"login",component:ve.E},{path:"login/:id",component:ve.E},{path:"mfa",component:(()=>{var b;class d{constructor(l){this.api=l}ngOnInit(){document.getElementById("mfaform").action=this.api.config.urls.mfa,this.api.user.isLogged&&this.api.router.navigate(["/"]),this.api.errors.length>0&&this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")}launch(){return document.getElementById("mfaform").submit(),!0}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(z.G))},b.\u0275cmp=s.In1({type:b,selectors:[["uds-mfa"]],decls:22,vars:7,consts:[["id","mfaform","method","post",3,"ngSubmit"],[1,"mfa-container"],[1,"mfa-brand"],[3,"src"],[1,"mfa-info"],[1,"mfa-form"],[1,"mfa-field"],["matInput","","id","code","name","code","value","","required","","autofocus",""],["class","mfa-field",4,"ngIf"],["type","hidden","name","remember","value","0",4,"ngIf"],[1,"mfa-button"],["mat-stroked-button","","color","primary","type","submit"],[1,"mfa-html-container"],[1,"mfa-html",3,"innerHtml"],["id","remember","name","remember"],["type","hidden","name","remember","value","0"]],template:function(l,m){1&l&&(s.I0R(0,"form",0),s.qCj("ngSubmit",function(){return m.launch()}),s.I0R(1,"div",1)(2,"div",2),s.wR5(3,"img",3),s.C$Y(),s.I0R(4,"div",4)(5,"uds-translate"),s.OEk(6,"Login Verification"),s.C$Y()(),s.I0R(7,"div",5)(8,"div",6)(9,"mat-form-field")(10,"mat-label"),s.OEk(11),s.C$Y(),s.wR5(12,"input",7),s.C$Y()(),s.yuY(13,wi,5,1,"div",8)(14,or,1,0,"input",9),s.I0R(15,"div",10)(16,"button",11)(17,"uds-translate"),s.OEk(18,"Submit"),s.C$Y()()()()()(),s.I0R(19,"div",12),s.wR5(20,"div",13),s.wVc(21,"safeHtml"),s.C$Y()),2&l&&(s.yG2(3),s.E7m("src",m.api.staticURL("modern/img/login-img.png"),s.K6U),s.yG2(8),s.oRS(" ",m.api.config.mfa.label," "),s.yG2(2),s.E7m("ngIf",""!==m.api.config.mfa.remember_device),s.yG2(),s.E7m("ngIf",""===m.api.config.mfa.remember_device),s.yG2(6),s.E7m("innerHtml",s.kDX(21,5,m.api.config.mfa.html),s.E3n))},dependencies:[te.u_,Wt.sz,Wt.u,Wt.SC,cn.Gw,oo.Up,oo.w5,jn.yi,ir,Ce.e,et.K],styles:[".mfa-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.mfa-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;box-shadow:0 2px 2px #00000024,0 3px 1px -2px #0000001f,0 1px 5px #0003;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.mfa-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.mfa-button[_ngcontent-%COMP%]{margin:2rem}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.mfa-info[_ngcontent-%COMP%]{margin:1rem}.mfa-html-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center;margin:1rem}@media only screen and (max-width: 744px){.mfa-form[_ngcontent-%COMP%]{min-width:80%}}"]}),d})()},{path:"client-download",component:Pe},{path:"downloads",component:Be,canActivate:[ae]},{path:"error/:id",component:Ln},{path:"about",component:Di},{path:"ticket/launcher",component:Bi},{path:"**",redirectTo:"services"}];let Wo=(()=>{var b;class d{}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275mod=s.a4G({type:b}),b.\u0275inj=s.s3X({imports:[ce.qQ.forRoot(fi,{}),ce.qQ]}),d})();function _o(b){return new s.OBp(3e3,!1)}function Ko(b){switch(b.length){case 0:return new qe.kP;case 1:return b[0];default:return new qe.Wq(b)}}function Cr(b,d,u=new Map,l=new Map){const m=[],I=[];let U=-1,oe=null;if(d.forEach(Fe=>{const rt=Fe.get("offset"),It=rt==U,St=It&&oe||new Map;Fe.forEach((fn,qt)=>{let tn=qt,Cn=fn;if("offset"!==qt)switch(tn=b.normalizePropertyName(tn,m),Cn){case qe.aM:Cn=u.get(qt);break;case qe.AN:Cn=l.get(qt);break;default:Cn=b.normalizeStyleValue(qt,tn,Cn,m)}St.set(tn,Cn)}),It||I.push(St),oe=St,U=rt}),m.length)throw function E(b){return new s.OBp(3502,!1)}();return I}function sr(b,d,u,l){switch(d){case"start":b.onStart(()=>l(u&&Ni(u,"start",b)));break;case"done":b.onDone(()=>l(u&&Ni(u,"done",b)));break;case"destroy":b.onDestroy(()=>l(u&&Ni(u,"destroy",b)))}}function Ni(b,d,u){const l=u.totalTime,I=xr(b.element,b.triggerName,b.fromState,b.toState,d||b.phaseName,null==l?b.totalTime:l,!!u.disabled),U=b._data;return null!=U&&(I._data=U),I}function xr(b,d,u,l,m="",I=0,U){return{element:b,triggerName:d,fromState:u,toState:l,phaseName:m,totalTime:I,disabled:!!U}}function vi(b,d,u){let l=b.get(d);return l||b.set(d,l=u),l}function ca(b){const d=b.indexOf(":");return[b.substring(1,d),b.slice(d+1)]}const ro=typeof document>"u"?null:document.documentElement;function Yo(b){const d=b.parentNode||b.host||null;return d===ro?null:d}let No=null,jr=!1;function ws(b,d){for(;d;){if(d===b)return!0;d=Yo(d)}return!1}function Fo(b,d,u){if(u)return Array.from(b.querySelectorAll(d));const l=b.querySelector(d);return l?[l]:[]}let as=(()=>{var b;class d{validateStyleProperty(l){return function Er(b){No||(No=function ss(){return typeof document<"u"?document.body:null}()||{},jr=!!No.style&&"WebkitAppearance"in No.style);let d=!0;return No.style&&!function Na(b){return"ebkit"==b.substring(1,6)}(b)&&(d=b in No.style,!d&&jr&&(d="Webkit"+b.charAt(0).toUpperCase()+b.slice(1)in No.style)),d}(l)}matchesElement(l,m){return!1}containsElement(l,m){return ws(l,m)}getParentElement(l){return Yo(l)}query(l,m,I){return Fo(l,m,I)}computeStyle(l,m,I){return I||""}animate(l,m,I,U,oe,Fe=[],rt){return new qe.kP(I,U)}}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275prov=s.wxM({token:b,factory:b.\u0275fac}),d})();class $r{}$r.NOOP=new as;class Vs{}const La=1e3,$s="ng-enter",ls="ng-leave",cs="ng-trigger",Hr=".ng-trigger",Ba="ng-animating",at=".ng-animating";function _n(b){if("number"==typeof b)return b;const d=b.match(/^(-?[\.\d]+)(m?s)/);return!d||d.length<2?0:ds(parseFloat(d[1]),d[2])}function ds(b,d){return"s"===d?b*La:b}function zr(b,d,u){return b.hasOwnProperty("duration")?b:function Gn(b,d,u){let m,I=0,U="";if("string"==typeof b){const oe=b.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===oe)return d.push(_o()),{duration:0,delay:0,easing:""};m=ds(parseFloat(oe[1]),oe[2]);const Fe=oe[3];null!=Fe&&(I=ds(parseFloat(Fe),oe[4]));const rt=oe[5];rt&&(U=rt)}else m=b;if(!u){let oe=!1,Fe=d.length;m<0&&(d.push(function Mo(){return new s.OBp(3100,!1)}()),oe=!0),I<0&&(d.push(function Ui(){return new s.OBp(3101,!1)}()),oe=!0),oe&&d.splice(Fe,0,_o())}return{duration:m,delay:I,easing:U}}(b,d,u)}function Oi(b,d,u){d.forEach((l,m)=>{const I=Ms(m);u&&!u.has(m)&&u.set(m,b.style[I]),b.style[I]=l})}function Io(b,d){d.forEach((u,l)=>{const m=Ms(l);b.style[m]=""})}function ar(b){return Array.isArray(b)?1==b.length?b[0]:(0,qe.iC)(b):b}const Dr=new RegExp("".concat("{{","\\s*(.+?)\\s*").concat("}}"),"g");function lr(b){let d=[];if("string"==typeof b){let u;for(;u=Dr.exec(b);)d.push(u[1]);Dr.lastIndex=0}return d}function bi(b,d,u){const l="".concat(b),m=l.replace(Dr,(I,U)=>{let oe=d[U];return null==oe&&(u.push(function Xi(b){return new s.OBp(3003,!1)}()),oe=""),oe.toString()});return m==l?b:m}const so=/-+([a-z0-9])/g;function Ms(b){return b.replace(so,(...d)=>d[1].toUpperCase())}function Z(b,d,u){switch(d.type){case qe.m0.Trigger:return b.visitTrigger(d,u);case qe.m0.State:return b.visitState(d,u);case qe.m0.Transition:return b.visitTransition(d,u);case qe.m0.Sequence:return b.visitSequence(d,u);case qe.m0.Group:return b.visitGroup(d,u);case qe.m0.Animate:return b.visitAnimate(d,u);case qe.m0.Keyframes:return b.visitKeyframes(d,u);case qe.m0.Style:return b.visitStyle(d,u);case qe.m0.Reference:return b.visitReference(d,u);case qe.m0.AnimateChild:return b.visitAnimateChild(d,u);case qe.m0.AnimateRef:return b.visitAnimateRef(d,u);case qe.m0.Query:return b.visitQuery(d,u);case qe.m0.Stagger:return b.visitStagger(d,u);default:throw function Es(b){return new s.OBp(3004,!1)}()}}function M(b,d){return window.getComputedStyle(b)[d]}const j=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 ue extends Vs{normalizePropertyName(d,u){return Ms(d)}normalizeStyleValue(d,u,l,m){let I="";const U=l.toString().trim();if(j.has(u)&&0!==l&&"0"!==l)if("number"==typeof l)I="px";else{const oe=l.match(/^[+-]?[\d\.]+([a-z]*)$/);oe&&0==oe[1].length&&m.push(function Po(b,d){return new s.OBp(3005,!1)}())}return U+I}}const Un="*";const Vi=new Set(["true","1"]),Bo=new Set(["false","0"]);function Pn(b,d){const u=Vi.has(b)||Bo.has(b),l=Vi.has(d)||Bo.has(d);return(m,I)=>{let U=b==Un||b==m,oe=d==Un||d==I;return!U&&u&&"boolean"==typeof m&&(U=m?Vi.has(b):Bo.has(b)),!oe&&l&&"boolean"==typeof I&&(oe=I?Vi.has(d):Bo.has(d)),U&&oe}}const Fn=new RegExp("s*".concat(":self","s*,?"),"g");function ao(b,d,u,l){return new Va(b).build(d,u,l)}class Va{constructor(d){this._driver=d}build(d,u,l){const m=new Ll(u);return this._resetContextStyleTimingState(m),Z(this,ar(d),m)}_resetContextStyleTimingState(d){d.currentQuerySelector="",d.collectedStyles=new Map,d.collectedStyles.set("",new Map),d.currentTime=0}visitTrigger(d,u){let l=u.queryCount=0,m=u.depCount=0;const I=[],U=[];return"@"==d.name.charAt(0)&&u.errors.push(function Ns(){return new s.OBp(3006,!1)}()),d.definitions.forEach(oe=>{if(this._resetContextStyleTimingState(u),oe.type==qe.m0.State){const Fe=oe,rt=Fe.name;rt.toString().split(/\s*,\s*/).forEach(It=>{Fe.name=It,I.push(this.visitState(Fe,u))}),Fe.name=rt}else if(oe.type==qe.m0.Transition){const Fe=this.visitTransition(oe,u);l+=Fe.queryCount,m+=Fe.depCount,U.push(Fe)}else u.errors.push(function os(){return new s.OBp(3007,!1)}())}),{type:qe.m0.Trigger,name:d.name,states:I,transitions:U,queryCount:l,depCount:m,options:null}}visitState(d,u){const l=this.visitStyle(d.styles,u),m=d.options&&d.options.params||null;if(l.containsDynamicStyles){const I=new Set,U=m||{};l.styles.forEach(oe=>{oe instanceof Map&&oe.forEach(Fe=>{lr(Fe).forEach(rt=>{U.hasOwnProperty(rt)||I.add(rt)})})}),I.size&&u.errors.push(function rs(b,d){return new s.OBp(3008,!1)}(0,I.values()))}return{type:qe.m0.State,name:d.name,style:l,options:m?{params:m}:null}}visitTransition(d,u){u.queryCount=0,u.depCount=0;const l=Z(this,ar(d.animation),u),m=function Rn(b,d){const u=[];return"string"==typeof b?b.split(/\s*,\s*/).forEach(l=>function yi(b,d,u){if(":"==b[0]){const Fe=function Lo(b,d){switch(b){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(u,l)=>parseFloat(l)>parseFloat(u);case":decrement":return(u,l)=>parseFloat(l) *"}}(b,u);if("function"==typeof Fe)return void d.push(Fe);b=Fe}const l=b.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==l||l.length<4)return u.push(function Ur(b){return new s.OBp(3015,!1)}()),d;const m=l[1],I=l[2],U=l[3];d.push(Pn(m,U)),"<"==I[0]&&(m!=Un||U!=Un)&&d.push(Pn(U,m))}(l,u,d)):u.push(b),u}(d.expr,u.errors);return{type:qe.m0.Transition,matchers:m,animation:l,queryCount:u.queryCount,depCount:u.depCount,options:wr(d.options)}}visitSequence(d,u){return{type:qe.m0.Sequence,steps:d.steps.map(l=>Z(this,l,u)),options:wr(d.options)}}visitGroup(d,u){const l=u.currentTime;let m=0;const I=d.steps.map(U=>{u.currentTime=l;const oe=Z(this,U,u);return m=Math.max(m,u.currentTime),oe});return u.currentTime=m,{type:qe.m0.Group,steps:I,options:wr(d.options)}}visitAnimate(d,u){const l=function Zo(b,d){if(b.hasOwnProperty("duration"))return b;if("number"==typeof b)return Kr(zr(b,d).duration,0,"");const u=b;if(u.split(/\s+/).some(I=>"{"==I.charAt(0)&&"{"==I.charAt(1))){const I=Kr(0,0,"");return I.dynamic=!0,I.strValue=u,I}const m=zr(u,d);return Kr(m.duration,m.delay,m.easing)}(d.timings,u.errors);u.currentAnimateTimings=l;let m,I=d.styles?d.styles:(0,qe.wb)({});if(I.type==qe.m0.Keyframes)m=this.visitKeyframes(I,u);else{let U=d.styles,oe=!1;if(!U){oe=!0;const rt={};l.easing&&(rt.easing=l.easing),U=(0,qe.wb)(rt)}u.currentTime+=l.duration+l.delay;const Fe=this.visitStyle(U,u);Fe.isEmptyStep=oe,m=Fe}return u.currentAnimateTimings=null,{type:qe.m0.Animate,timings:l,style:m,options:null}}visitStyle(d,u){const l=this._makeStyleAst(d,u);return this._validateStyleAst(l,u),l}_makeStyleAst(d,u){const l=[],m=Array.isArray(d.styles)?d.styles:[d.styles];for(let oe of m)"string"==typeof oe?oe===qe.AN?l.push(oe):u.errors.push(new s.OBp(3002,!1)):l.push(new Map(Object.entries(oe)));let I=!1,U=null;return l.forEach(oe=>{if(oe instanceof Map&&(oe.has("easing")&&(U=oe.get("easing"),oe.delete("easing")),!I))for(let Fe of oe.values())if(Fe.toString().indexOf("{{")>=0){I=!0;break}}),{type:qe.m0.Style,styles:l,easing:U,offset:d.offset,containsDynamicStyles:I,options:null}}_validateStyleAst(d,u){const l=u.currentAnimateTimings;let m=u.currentTime,I=u.currentTime;l&&I>0&&(I-=l.duration+l.delay),d.styles.forEach(U=>{"string"!=typeof U&&U.forEach((oe,Fe)=>{const rt=u.collectedStyles.get(u.currentQuerySelector),It=rt.get(Fe);let St=!0;It&&(I!=m&&I>=It.startTime&&m<=It.endTime&&(u.errors.push(function sa(b,d,u,l,m){return new s.OBp(3010,!1)}()),St=!1),I=It.startTime),St&&rt.set(Fe,{startTime:I,endTime:m}),u.options&&function Ua(b,d,u){const l=d.params||{},m=lr(b);m.length&&m.forEach(I=>{l.hasOwnProperty(I)||u.push(function vr(b){return new s.OBp(3001,!1)}())})}(oe,u.options,u.errors)})})}visitKeyframes(d,u){const l={type:qe.m0.Keyframes,styles:[],options:null};if(!u.currentAnimateTimings)return u.errors.push(function Bs(){return new s.OBp(3011,!1)}()),l;let I=0;const U=[];let oe=!1,Fe=!1,rt=0;const It=d.steps.map(Pi=>{const qi=this._makeStyleAst(Pi,u);let yo=null!=qi.offset?qi.offset:function Gs(b){if("string"==typeof b)return null;let d=null;if(Array.isArray(b))b.forEach(u=>{if(u instanceof Map&&u.has("offset")){const l=u;d=parseFloat(l.get("offset")),l.delete("offset")}});else if(b instanceof Map&&b.has("offset")){const u=b;d=parseFloat(u.get("offset")),u.delete("offset")}return d}(qi.styles),Si=0;return null!=yo&&(I++,Si=qi.offset=yo),Fe=Fe||Si<0||Si>1,oe=oe||Si0&&I{const yo=fn>0?qi==qt?1:fn*qi:U[qi],Si=yo*mi;u.currentTime=tn+Cn.delay+Si,Cn.duration=Si,this._validateStyleAst(Pi,u),Pi.offset=yo,l.styles.push(Pi)}),l}visitReference(d,u){return{type:qe.m0.Reference,animation:Z(this,ar(d.animation),u),options:wr(d.options)}}visitAnimateChild(d,u){return u.depCount++,{type:qe.m0.AnimateChild,options:wr(d.options)}}visitAnimateRef(d,u){return{type:qe.m0.AnimateRef,animation:this.visitReference(d.animation,u),options:wr(d.options)}}visitQuery(d,u){const l=u.currentQuerySelector,m=d.options||{};u.queryCount++,u.currentQuery=d;const[I,U]=function ja(b){const d=!!b.split(/\s*,\s*/).find(u=>":self"==u);return d&&(b=b.replace(Fn,"")),b=b.replace(/@\*/g,Hr).replace(/@\w+/g,u=>Hr+"-"+u.slice(1)).replace(/:animating/g,at),[b,d]}(d.selector);u.currentQuerySelector=l.length?l+" "+I:I,vi(u.collectedStyles,u.currentQuerySelector,new Map);const oe=Z(this,ar(d.animation),u);return u.currentQuery=null,u.currentQuerySelector=l,{type:qe.m0.Query,selector:I,limit:m.limit||0,optional:!!m.optional,includeSelf:U,animation:oe,originalSelector:d.selector,options:wr(d.options)}}visitStagger(d,u){u.currentQuery||u.errors.push(function Pa(){return new s.OBp(3013,!1)}());const l="full"===d.timings?{duration:0,delay:0,easing:"full"}:zr(d.timings,u.errors,!0);return{type:qe.m0.Stagger,animation:Z(this,ar(d.animation),u),timings:l,options:null}}}class Ll{constructor(d){this.errors=d,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 wr(b){return b?(b={...b}).params&&(b.params=function Fl(b){return b?{...b}:null}(b.params)):b={},b}function Kr(b,d,u){return{duration:b,delay:d,easing:u}}function Mr(b,d,u,l,m,I,U=null,oe=!1){return{type:1,element:b,keyframes:d,preStyleProps:u,postStyleProps:l,duration:m,delay:I,totalTime:m+I,easing:U,subTimeline:oe}}class lo{constructor(){this._map=new Map}get(d){return this._map.get(d)||[]}append(d,u){let l=this._map.get(d);l||this._map.set(d,l=[]),l.push(...u)}has(d){return this._map.has(d)}clear(){this._map.clear()}}const Is=new RegExp(":enter","g"),Ss=new RegExp(":leave","g");function Yr(b,d,u,l,m,I=new Map,U=new Map,oe,Fe,rt=[]){return(new Ts).buildKeyframes(b,d,u,l,m,I,U,oe,Fe,rt)}class Ts{buildKeyframes(d,u,l,m,I,U,oe,Fe,rt,It=[]){rt=rt||new lo;const St=new Hs(d,u,rt,m,I,It,[]);St.options=Fe;const fn=Fe.delay?_n(Fe.delay):0;St.currentTimeline.delayNextStep(fn),St.currentTimeline.setStyles([U],null,St.errors,Fe),Z(this,l,St);const qt=St.timelines.filter(tn=>tn.containsAnimation());if(qt.length&&oe.size){let tn;for(let Cn=qt.length-1;Cn>=0;Cn--){const mi=qt[Cn];if(mi.element===u){tn=mi;break}}tn&&!tn.allowOnlyTimelineStyles()&&tn.setStyles([oe],null,St.errors,Fe)}return qt.length?qt.map(tn=>tn.buildKeyframes()):[Mr(u,[],[],[],0,fn,"",!1)]}visitTrigger(d,u){}visitState(d,u){}visitTransition(d,u){}visitAnimateChild(d,u){const l=u.subInstructions.get(u.element);if(l){const m=u.createSubContext(d.options),I=u.currentTimeline.currentTime,U=this._visitSubInstructions(l,m,m.options);I!=U&&u.transformIntoNewTimeline(U)}u.previousNode=d}visitAnimateRef(d,u){const l=u.createSubContext(d.options);l.transformIntoNewTimeline(),this._applyAnimationRefDelays([d.options,d.animation.options],u,l),this.visitReference(d.animation,l),u.transformIntoNewTimeline(l.currentTimeline.currentTime),u.previousNode=d}_applyAnimationRefDelays(d,u,l){for(const I of d){const U=null==I?void 0:I.delay;if(U){var m;const oe="number"==typeof U?U:_n(bi(U,null!==(m=null==I?void 0:I.params)&&void 0!==m?m:{},u.errors));l.delayNextStep(oe)}}}_visitSubInstructions(d,u,l){let I=u.currentTimeline.currentTime;const U=null!=l.duration?_n(l.duration):null,oe=null!=l.delay?_n(l.delay):null;return 0!==U&&d.forEach(Fe=>{const rt=u.appendInstructionToTimeline(Fe,U,oe);I=Math.max(I,rt.duration+rt.delay)}),I}visitReference(d,u){u.updateOptions(d.options,!0),Z(this,d.animation,u),u.previousNode=d}visitSequence(d,u){const l=u.subContextCount;let m=u;const I=d.options;if(I&&(I.params||I.delay)&&(m=u.createSubContext(I),m.transformIntoNewTimeline(),null!=I.delay)){m.previousNode.type==qe.m0.Style&&(m.currentTimeline.snapshotCurrentStyles(),m.previousNode=ua);const U=_n(I.delay);m.delayNextStep(U)}d.steps.length&&(d.steps.forEach(U=>Z(this,U,m)),m.currentTimeline.applyStylesToKeyframe(),m.subContextCount>l&&m.transformIntoNewTimeline()),u.previousNode=d}visitGroup(d,u){const l=[];let m=u.currentTimeline.currentTime;const I=d.options&&d.options.delay?_n(d.options.delay):0;d.steps.forEach(U=>{const oe=u.createSubContext(d.options);I&&oe.delayNextStep(I),Z(this,U,oe),m=Math.max(m,oe.currentTimeline.currentTime),l.push(oe.currentTimeline)}),l.forEach(U=>u.currentTimeline.mergeTimelineCollectedStyles(U)),u.transformIntoNewTimeline(m),u.previousNode=d}_visitTiming(d,u){if(d.dynamic){const l=d.strValue;return zr(u.params?bi(l,u.params,u.errors):l,u.errors)}return{duration:d.duration,delay:d.delay,easing:d.easing}}visitAnimate(d,u){const l=u.currentAnimateTimings=this._visitTiming(d.timings,u),m=u.currentTimeline;l.delay&&(u.incrementTime(l.delay),m.snapshotCurrentStyles());const I=d.style;I.type==qe.m0.Keyframes?this.visitKeyframes(I,u):(u.incrementTime(l.duration),this.visitStyle(I,u),m.applyStylesToKeyframe()),u.currentAnimateTimings=null,u.previousNode=d}visitStyle(d,u){const l=u.currentTimeline,m=u.currentAnimateTimings;!m&&l.hasCurrentStyleProperties()&&l.forwardFrame();const I=m&&m.easing||d.easing;d.isEmptyStep?l.applyEmptyStep(I):l.setStyles(d.styles,I,u.errors,u.options),u.previousNode=d}visitKeyframes(d,u){const l=u.currentAnimateTimings,m=u.currentTimeline.duration,I=l.duration,oe=u.createSubContext().currentTimeline;oe.easing=l.easing,d.styles.forEach(Fe=>{oe.forwardTime((Fe.offset||0)*I),oe.setStyles(Fe.styles,Fe.easing,u.errors,u.options),oe.applyStylesToKeyframe()}),u.currentTimeline.mergeTimelineCollectedStyles(oe),u.transformIntoNewTimeline(m+I),u.previousNode=d}visitQuery(d,u){const l=u.currentTimeline.currentTime,m=d.options||{},I=m.delay?_n(m.delay):0;I&&(u.previousNode.type===qe.m0.Style||0==l&&u.currentTimeline.hasCurrentStyleProperties())&&(u.currentTimeline.snapshotCurrentStyles(),u.previousNode=ua);let U=l;const oe=u.invokeQuery(d.selector,d.originalSelector,d.limit,d.includeSelf,!!m.optional,u.errors);u.currentQueryTotal=oe.length;let Fe=null;oe.forEach((rt,It)=>{u.currentQueryIndex=It;const St=u.createSubContext(d.options,rt);I&&St.delayNextStep(I),rt===u.element&&(Fe=St.currentTimeline),Z(this,d.animation,St),St.currentTimeline.applyStylesToKeyframe(),U=Math.max(U,St.currentTimeline.currentTime)}),u.currentQueryIndex=0,u.currentQueryTotal=0,u.transformIntoNewTimeline(U),Fe&&(u.currentTimeline.mergeTimelineCollectedStyles(Fe),u.currentTimeline.snapshotCurrentStyles()),u.previousNode=d}visitStagger(d,u){const l=u.parentContext,m=u.currentTimeline,I=d.timings,U=Math.abs(I.duration),oe=U*(u.currentQueryTotal-1);let Fe=U*u.currentQueryIndex;switch(I.duration<0?"reverse":I.easing){case"reverse":Fe=oe-Fe;break;case"full":Fe=l.currentStaggerTime}const It=u.currentTimeline;Fe&&It.delayNextStep(Fe);const St=It.currentTime;Z(this,d.animation,u),u.previousNode=d,l.currentStaggerTime=m.currentTime-St+(m.startTime-l.currentTimeline.startTime)}}const ua={};class Hs{constructor(d,u,l,m,I,U,oe,Fe){this._driver=d,this.element=u,this.subInstructions=l,this._enterClassName=m,this._leaveClassName=I,this.errors=U,this.timelines=oe,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ua,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Fe||new $a(this._driver,u,0),oe.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(d,u){if(!d)return;const l=d;let m=this.options;null!=l.duration&&(m.duration=_n(l.duration)),null!=l.delay&&(m.delay=_n(l.delay));const I=l.params;if(I){let U=m.params;U||(U=this.options.params={}),Object.keys(I).forEach(oe=>{(!u||!U.hasOwnProperty(oe))&&(U[oe]=bi(I[oe],U,this.errors))})}}_copyOptions(){const d={};if(this.options){const u=this.options.params;if(u){const l=d.params={};Object.keys(u).forEach(m=>{l[m]=u[m]})}}return d}createSubContext(d=null,u,l){const m=u||this.element,I=new Hs(this._driver,m,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(m,l||0));return I.previousNode=this.previousNode,I.currentAnimateTimings=this.currentAnimateTimings,I.options=this._copyOptions(),I.updateOptions(d),I.currentQueryIndex=this.currentQueryIndex,I.currentQueryTotal=this.currentQueryTotal,I.parentContext=this,this.subContextCount++,I}transformIntoNewTimeline(d){return this.previousNode=ua,this.currentTimeline=this.currentTimeline.fork(this.element,d),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(d,u,l){const m={duration:null!=u?u:d.duration,delay:this.currentTimeline.currentTime+(null!=l?l:0)+d.delay,easing:""},I=new co(this._driver,d.element,d.keyframes,d.preStyleProps,d.postStyleProps,m,d.stretchStartingKeyframe);return this.timelines.push(I),m}incrementTime(d){this.currentTimeline.forwardTime(this.currentTimeline.duration+d)}delayNextStep(d){d>0&&this.currentTimeline.delayNextStep(d)}invokeQuery(d,u,l,m,I,U){let oe=[];if(m&&oe.push(this.element),d.length>0){d=(d=d.replace(Is,"."+this._enterClassName)).replace(Ss,"."+this._leaveClassName);let rt=this._driver.query(this.element,d,1!=l);0!==l&&(rt=l<0?rt.slice(rt.length+l,rt.length):rt.slice(0,l)),oe.push(...rt)}return!I&&0==oe.length&&U.push(function Br(b){return new s.OBp(3014,!1)}()),oe}}class $a{constructor(d,u,l,m){this._driver=d,this.element=u,this.startTime=l,this._elementTimelineStylesLookup=m,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(u),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(u,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(d){const u=1===this._keyframes.size&&this._pendingStyles.size;this.duration||u?(this.forwardTime(this.currentTime+d),u&&this.snapshotCurrentStyles()):this.startTime+=d}fork(d,u){return this.applyStylesToKeyframe(),new $a(this._driver,d,u||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(d){this.applyStylesToKeyframe(),this.duration=d,this._loadKeyframe()}_updateStyle(d,u){this._localTimelineStyles.set(d,u),this._globalTimelineStyles.set(d,u),this._styleSummary.set(d,{time:this.currentTime,value:u})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(d){d&&this._previousKeyframe.set("easing",d);for(let[u,l]of this._globalTimelineStyles)this._backFill.set(u,l||qe.AN),this._currentKeyframe.set(u,qe.AN);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(d,u,l,m){u&&this._previousKeyframe.set("easing",u);const I=m&&m.params||{},U=function As(b,d){const u=new Map;let l;return b.forEach(m=>{if("*"===m){var I;null!==(I=l)&&void 0!==I||(l=d.keys());for(let U of l)u.set(U,qe.AN)}else for(let[U,oe]of m)u.set(U,oe)}),u}(d,this._globalTimelineStyles);for(let[Fe,rt]of U){const It=bi(rt,I,l);var oe;this._pendingStyles.set(Fe,It),this._localTimelineStyles.has(Fe)||this._backFill.set(Fe,null!==(oe=this._globalTimelineStyles.get(Fe))&&void 0!==oe?oe:qe.AN),this._updateStyle(Fe,It)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((d,u)=>{this._currentKeyframe.set(u,d)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((d,u)=>{this._currentKeyframe.has(u)||this._currentKeyframe.set(u,d)}))}snapshotCurrentStyles(){for(let[d,u]of this._localTimelineStyles)this._pendingStyles.set(d,u),this._updateStyle(d,u)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const d=[];for(let u in this._currentKeyframe)d.push(u);return d}mergeTimelineCollectedStyles(d){d._styleSummary.forEach((u,l)=>{const m=this._styleSummary.get(l);(!m||u.time>m.time)&&this._updateStyle(l,u.value)})}buildKeyframes(){this.applyStylesToKeyframe();const d=new Set,u=new Set,l=1===this._keyframes.size&&0===this.duration;let m=[];this._keyframes.forEach((oe,Fe)=>{const rt=new Map([...this._backFill,...oe]);rt.forEach((It,St)=>{It===qe.aM?d.add(St):It===qe.AN&&u.add(St)}),l||rt.set("offset",Fe/this.duration),m.push(rt)});const I=[...d.values()],U=[...u.values()];if(l){const oe=m[0],Fe=new Map(oe);oe.set("offset",0),Fe.set("offset",1),m=[oe,Fe]}return Mr(this.element,m,I,U,this.duration,this.startTime,this.easing,!1)}}class co extends $a{constructor(d,u,l,m,I,U,oe=!1){super(d,u,U.delay),this.keyframes=l,this.preStyleProps=m,this.postStyleProps=I,this._stretchStartingKeyframe=oe,this.timings={duration:U.duration,delay:U.delay,easing:U.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let d=this.keyframes,{delay:u,duration:l,easing:m}=this.timings;if(this._stretchStartingKeyframe&&u){const I=[],U=l+u,oe=u/U,Fe=new Map(d[0]);Fe.set("offset",0),I.push(Fe);const rt=new Map(d[0]);rt.set("offset",zs(oe)),I.push(rt);const It=d.length-1;for(let St=1;St<=It;St++){let fn=new Map(d[St]);const qt=fn.get("offset");fn.set("offset",zs((u+qt*l)/U)),I.push(fn)}l=U,u=0,m="",d=I}return Mr(this.element,d,this.preStyleProps,this.postStyleProps,l,u,m,!0)}}function zs(b,d=3){const u=Math.pow(10,d-1);return Math.round(b*u)/u}function $c(b,d,u,l,m,I,U,oe,Fe,rt,It,St,fn){return{type:0,element:b,triggerName:d,isRemovalTransition:m,fromState:u,fromStyles:I,toState:l,toStyles:U,timelines:oe,queriedElements:Fe,preStyleProps:rt,postStyleProps:It,totalTime:St,errors:fn}}const ha={};class Ga{constructor(d,u,l){this._triggerName=d,this.ast=u,this._stateStyles=l}match(d,u,l,m){return function Ws(b,d,u,l,m){return b.some(I=>I(d,u,l,m))}(this.ast.matchers,d,u,l,m)}buildStyles(d,u,l){let m=this._stateStyles.get("*");return void 0!==d&&(m=this._stateStyles.get(null==d?void 0:d.toString())||m),m?m.buildStyles(u,l):new Map}build(d,u,l,m,I,U,oe,Fe,rt,It){var St;const fn=[],qt=this.ast.options&&this.ast.options.params||ha,Cn=this.buildStyles(l,oe&&oe.params||ha,fn),mi=Fe&&Fe.params||ha,Pi=this.buildStyles(m,mi,fn),qi=new Set,yo=new Map,Si=new Map,fs="void"===m,Or={params:ma(mi,qt),delay:null===(St=this.ast.options)||void 0===St?void 0:St.delay},Co=It?[]:Yr(d,u,this.ast.animation,I,U,Cn,Pi,Or,rt,fn);let cr=0;return Co.forEach(ms=>{cr=Math.max(ms.duration+ms.delay,cr)}),fn.length?$c(u,this._triggerName,l,m,fs,Cn,Pi,[],[],yo,Si,cr,fn):(Co.forEach(ms=>{const Uo=ms.element,ed=vi(yo,Uo,new Set);ms.preStyleProps.forEach(Xr=>ed.add(Xr));const ps=vi(Si,Uo,new Set);ms.postStyleProps.forEach(Xr=>ps.add(Xr)),Uo!==u&&qi.add(Uo)}),$c(u,this._triggerName,l,m,fs,Cn,Pi,Co,[...qi.values()],yo,Si,cr))}}function ma(b,d){const u={...d};return Object.entries(b).forEach(([l,m])=>{null!=m&&(u[l]=m)}),u}class Ha{constructor(d,u,l){this.styles=d,this.defaultParams=u,this.normalizer=l}buildStyles(d,u){const l=new Map,m=ma(d,this.defaultParams);return this.styles.styles.forEach(I=>{"string"!=typeof I&&I.forEach((U,oe)=>{U&&(U=bi(U,m,u));const Fe=this.normalizer.normalizePropertyName(oe,u);U=this.normalizer.normalizeStyleValue(oe,Fe,U,u),l.set(oe,U)})}),l}}class Ks{constructor(d,u,l){this.name=d,this.ast=u,this._normalizer=l,this.transitionFactories=[],this.states=new Map,u.states.forEach(m=>{this.states.set(m.name,new Ha(m.style,m.options&&m.options.params||{},l))}),Zs(this.states,"true","1"),Zs(this.states,"false","0"),u.transitions.forEach(m=>{this.transitionFactories.push(new Ga(d,m,this.states))}),this.fallbackTransition=function Ys(b,d,u){return new Ga(b,{type:qe.m0.Transition,animation:{type:qe.m0.Sequence,steps:[],options:null},matchers:[(U,oe)=>!0],options:null,queryCount:0,depCount:0},d)}(d,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(d,u,l,m){return this.transitionFactories.find(U=>U.match(d,u,l,m))||null}matchStyles(d,u,l){return this.fallbackTransition.buildStyles(d,u,l)}}function Zs(b,d,u){b.has(d)?b.has(u)||b.set(u,b.get(d)):b.has(u)&&b.set(d,b.get(u))}const Vl=new lo;class Ir{constructor(d,u,l){this.bodyNode=d,this._driver=u,this._normalizer=l,this._animations=new Map,this._playersById=new Map,this.players=[]}register(d,u){const l=[],I=ao(this._driver,u,l,[]);if(l.length)throw function H(b){return new s.OBp(3503,!1)}();this._animations.set(d,I)}_buildPlayer(d,u,l){const m=d.element,I=Cr(this._normalizer,d.keyframes,u,l);return this._driver.animate(m,I,d.duration,d.delay,d.easing,[],!0)}create(d,u,l={}){const m=[],I=this._animations.get(d);let U;const oe=new Map;if(I?(U=Yr(this._driver,u,I,$s,ls,new Map,new Map,l,Vl,m),U.forEach(It=>{const St=vi(oe,It.element,new Map);It.postStyleProps.forEach(fn=>St.set(fn,null))})):(m.push(function T(){return new s.OBp(3300,!1)}()),U=[]),m.length)throw function Q(b){return new s.OBp(3504,!1)}();oe.forEach((It,St)=>{It.forEach((fn,qt)=>{It.set(qt,this._driver.computeStyle(St,qt,qe.AN))})});const rt=Ko(U.map(It=>{const St=oe.get(It.element);return this._buildPlayer(It,new Map,St)}));return this._playersById.set(d,rt),rt.onDestroy(()=>this.destroy(d)),this.players.push(rt),rt}destroy(d){const u=this._getPlayer(d);u.destroy(),this._playersById.delete(d);const l=this.players.indexOf(u);l>=0&&this.players.splice(l,1)}_getPlayer(d){const u=this._playersById.get(d);if(!u)throw function yt(b){return new s.OBp(3301,!1)}();return u}listen(d,u,l,m){const I=xr(u,"","","");return sr(this._getPlayer(d),l,I,m),()=>{}}command(d,u,l,m){if("register"==l)return void this.register(d,m[0]);if("create"==l)return void this.create(d,u,m[0]||{});const I=this._getPlayer(d);switch(l){case"play":I.play();break;case"pause":I.pause();break;case"reset":I.reset();break;case"restart":I.restart();break;case"finish":I.finish();break;case"init":I.init();break;case"setPosition":I.setPosition(parseFloat(m[0]));break;case"destroy":this.destroy(d)}}}const Qn="ng-animate-queued",Os="ng-animate-disabled",zc=[],Xs={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},f={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},v="__ng_removed";class x{get params(){return this.options.params}constructor(d,u=""){this.namespaceId=u;const l=d&&d.hasOwnProperty("value");if(this.value=function He(b){return null!=b?b:null}(l?d.value:d),l){const{value:I,...U}=d;this.options=U}else this.options={};this.options.params||(this.options.params={})}absorbOptions(d){const u=d.params;if(u){const l=this.options.params;Object.keys(u).forEach(m=>{null==l[m]&&(l[m]=u[m])})}}}const _="void",C=new x(_);class L{constructor(d,u,l){this.id=d,this.hostElement=u,this._engine=l,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+d,Ii(u,this._hostClassName)}listen(d,u,l,m){if(!this._triggers.has(u))throw function Ot(b,d){return new s.OBp(3302,!1)}();if(null==l||0==l.length)throw function ti(b){return new s.OBp(3303,!1)}();if(!function hn(b){return"start"==b||"done"==b}(l))throw function Qi(b,d){return new s.OBp(3400,!1)}();const I=vi(this._elementListeners,d,[]),U={name:u,phase:l,callback:m};I.push(U);const oe=vi(this._engine.statesByElement,d,new Map);return oe.has(u)||(Ii(d,cs),Ii(d,cs+"-"+u),oe.set(u,C)),()=>{this._engine.afterFlush(()=>{const Fe=I.indexOf(U);Fe>=0&&I.splice(Fe,1),this._triggers.has(u)||oe.delete(u)})}}register(d,u){return!this._triggers.has(d)&&(this._triggers.set(d,u),!0)}_getTrigger(d){const u=this._triggers.get(d);if(!u)throw function rr(b){return new s.OBp(3401,!1)}();return u}trigger(d,u,l,m=!0){const I=this._getTrigger(u),U=new Le(this.id,u,d);let oe=this._engine.statesByElement.get(d);oe||(Ii(d,cs),Ii(d,cs+"-"+u),this._engine.statesByElement.set(d,oe=new Map));let Fe=oe.get(u);const rt=new x(l,this.id);if(!(l&&l.hasOwnProperty("value"))&&Fe&&rt.absorbOptions(Fe.options),oe.set(u,rt),Fe||(Fe=C),rt.value!==_&&Fe.value===rt.value){if(!function Wa(b,d){const u=Object.keys(b),l=Object.keys(d);if(u.length!=l.length)return!1;for(let m=0;m{Io(d,mi),Oi(d,Pi)})}return}const fn=vi(this._engine.playersByElement,d,[]);fn.forEach(Cn=>{Cn.namespaceId==this.id&&Cn.triggerName==u&&Cn.queued&&Cn.destroy()});let qt=I.matchTransition(Fe.value,rt.value,d,rt.params),tn=!1;if(!qt){if(!m)return;qt=I.fallbackTransition,tn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:u,transition:qt,fromState:Fe,toState:rt,player:U,isFallbackTransition:tn}),tn||(Ii(d,Qn),U.onStart(()=>{Qt(d,Qn)})),U.onDone(()=>{let Cn=this.players.indexOf(U);Cn>=0&&this.players.splice(Cn,1);const mi=this._engine.playersByElement.get(d);if(mi){let Pi=mi.indexOf(U);Pi>=0&&mi.splice(Pi,1)}}),this.players.push(U),fn.push(U),U}deregister(d){this._triggers.delete(d),this._engine.statesByElement.forEach(u=>u.delete(d)),this._elementListeners.forEach((u,l)=>{this._elementListeners.set(l,u.filter(m=>m.name!=d))})}clearElementCache(d){this._engine.statesByElement.delete(d),this._elementListeners.delete(d);const u=this._engine.playersByElement.get(d);u&&(u.forEach(l=>l.destroy()),this._engine.playersByElement.delete(d))}_signalRemovalForInnerTriggers(d,u){const l=this._engine.driver.query(d,Hr,!0);l.forEach(m=>{if(m[v])return;const I=this._engine.fetchNamespacesByElement(m);I.size?I.forEach(U=>U.triggerLeaveAnimation(m,u,!1,!0)):this.clearElementCache(m)}),this._engine.afterFlushAnimationsDone(()=>l.forEach(m=>this.clearElementCache(m)))}triggerLeaveAnimation(d,u,l,m){const I=this._engine.statesByElement.get(d),U=new Map;if(I){const oe=[];if(I.forEach((Fe,rt)=>{if(U.set(rt,Fe.value),this._triggers.has(rt)){const It=this.trigger(d,rt,_,m);It&&oe.push(It)}}),oe.length)return this._engine.markElementAsRemoved(this.id,d,!0,u,U),l&&Ko(oe).onDone(()=>this._engine.processLeaveNode(d)),!0}return!1}prepareLeaveAnimationListeners(d){const u=this._elementListeners.get(d),l=this._engine.statesByElement.get(d);if(u&&l){const m=new Set;u.forEach(I=>{const U=I.name;if(m.has(U))return;m.add(U);const Fe=this._triggers.get(U).fallbackTransition,rt=l.get(U)||C,It=new x(_),St=new Le(this.id,U,d);this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:U,transition:Fe,fromState:rt,toState:It,player:St,isFallbackTransition:!0})})}}removeNode(d,u){const l=this._engine;if(d.childElementCount&&this._signalRemovalForInnerTriggers(d,u),this.triggerLeaveAnimation(d,u,!0))return;let m=!1;if(l.totalAnimations){const I=l.players.length?l.playersByQueriedElement.get(d):[];if(I&&I.length)m=!0;else{let U=d;for(;U=U.parentNode;)if(l.statesByElement.get(U)){m=!0;break}}}if(this.prepareLeaveAnimationListeners(d),m)l.markElementAsRemoved(this.id,d,!1,u);else{const I=d[v];(!I||I===Xs)&&(l.afterFlush(()=>this.clearElementCache(d)),l.destroyInnerAnimations(d),l._onRemovalComplete(d,u))}}insertNode(d,u){Ii(d,this._hostClassName)}drainQueuedTransitions(d){const u=[];return this._queue.forEach(l=>{const m=l.player;if(m.destroyed)return;const I=l.element,U=this._elementListeners.get(I);U&&U.forEach(oe=>{if(oe.name==l.triggerName){const Fe=xr(I,l.triggerName,l.fromState.value,l.toState.value);Fe._data=d,sr(l.player,oe.phase,Fe,oe.callback)}}),m.markedForDestroy?this._engine.afterFlush(()=>{m.destroy()}):u.push(l)}),this._queue=[],u.sort((l,m)=>{const I=l.transition.ast.depCount,U=m.transition.ast.depCount;return 0==I||0==U?I-U:this._engine.driver.containsElement(l.element,m.element)?1:-1})}destroy(d){this.players.forEach(u=>u.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,d)}}class W{_onRemovalComplete(d,u){this.onRemovalComplete(d,u)}constructor(d,u,l,m){this.bodyNode=d,this.driver=u,this._normalizer=l,this.scheduler=m,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=(I,U)=>{}}get queuedPlayers(){const d=[];return this._namespaceList.forEach(u=>{u.players.forEach(l=>{l.queued&&d.push(l)})}),d}createNamespace(d,u){const l=new L(d,u,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,u)?this._balanceNamespaceList(l,u):(this.newHostElements.set(u,l),this.collectEnterElement(u)),this._namespaceLookup[d]=l}_balanceNamespaceList(d,u){const l=this._namespaceList,m=this.namespacesByHostElement;if(l.length-1>=0){let U=!1,oe=this.driver.getParentElement(u);for(;oe;){const Fe=m.get(oe);if(Fe){const rt=l.indexOf(Fe);l.splice(rt+1,0,d),U=!0;break}oe=this.driver.getParentElement(oe)}U||l.unshift(d)}else l.push(d);return m.set(u,d),d}register(d,u){let l=this._namespaceLookup[d];return l||(l=this.createNamespace(d,u)),l}registerTrigger(d,u,l){let m=this._namespaceLookup[d];m&&m.register(u,l)&&this.totalAnimations++}destroy(d,u){d&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const l=this._fetchNamespace(d);this.namespacesByHostElement.delete(l.hostElement);const m=this._namespaceList.indexOf(l);m>=0&&this._namespaceList.splice(m,1),l.destroy(u),delete this._namespaceLookup[d]}))}_fetchNamespace(d){return this._namespaceLookup[d]}fetchNamespacesByElement(d){const u=new Set,l=this.statesByElement.get(d);if(l)for(let m of l.values())if(m.namespaceId){const I=this._fetchNamespace(m.namespaceId);I&&u.add(I)}return u}trigger(d,u,l,m){if(kt(u)){const I=this._fetchNamespace(d);if(I)return I.trigger(u,l,m),!0}return!1}insertNode(d,u,l,m){if(!kt(u))return;const I=u[v];if(I&&I.setForRemoval){I.setForRemoval=!1,I.setForMove=!0;const U=this.collectedLeaveElements.indexOf(u);U>=0&&this.collectedLeaveElements.splice(U,1)}if(d){const U=this._fetchNamespace(d);U&&U.insertNode(u,l)}m&&this.collectEnterElement(u)}collectEnterElement(d){this.collectedEnterElements.push(d)}markElementAsDisabled(d,u){u?this.disabledNodes.has(d)||(this.disabledNodes.add(d),Ii(d,Os)):this.disabledNodes.has(d)&&(this.disabledNodes.delete(d),Qt(d,Os))}removeNode(d,u,l){if(kt(u)){var m;null===(m=this.scheduler)||void 0===m||m.notify();const I=d?this._fetchNamespace(d):null;I?I.removeNode(u,l):this.markElementAsRemoved(d,u,!1,l);const U=this.namespacesByHostElement.get(u);U&&U.id!==d&&U.removeNode(u,l)}else this._onRemovalComplete(u,l)}markElementAsRemoved(d,u,l,m,I){this.collectedLeaveElements.push(u),u[v]={namespaceId:d,setForRemoval:m,hasAnimation:l,removedBeforeQueried:!1,previousTriggersValues:I}}listen(d,u,l,m,I){return kt(u)?this._fetchNamespace(d).listen(u,l,m,I):()=>{}}_buildInstruction(d,u,l,m,I){return d.transition.build(this.driver,d.element,d.fromState.value,d.toState.value,l,m,d.fromState.options,d.toState.options,u,I)}destroyInnerAnimations(d){let u=this.driver.query(d,Hr,!0);u.forEach(l=>this.destroyActiveAnimationsForElement(l)),0!=this.playersByQueriedElement.size&&(u=this.driver.query(d,at,!0),u.forEach(l=>this.finishActiveQueriedAnimationOnElement(l)))}destroyActiveAnimationsForElement(d){const u=this.playersByElement.get(d);u&&u.forEach(l=>{l.queued?l.markedForDestroy=!0:l.destroy()})}finishActiveQueriedAnimationOnElement(d){const u=this.playersByQueriedElement.get(d);u&&u.forEach(l=>l.finish())}whenRenderingDone(){return new Promise(d=>{if(this.players.length)return Ko(this.players).onDone(()=>d());d()})}processLeaveNode(d){var u;const l=d[v];if(l&&l.setForRemoval){if(d[v]=Xs,l.namespaceId){this.destroyInnerAnimations(d);const m=this._fetchNamespace(l.namespaceId);m&&m.clearElementCache(d)}this._onRemovalComplete(d,l.setForRemoval)}null!==(u=d.classList)&&void 0!==u&&u.contains(Os)&&this.markElementAsDisabled(d,!1),this.driver.query(d,".ng-animate-disabled",!0).forEach(m=>{this.markElementAsDisabled(m,!1)})}flush(d=-1){let u=[];if(this.newHostElements.size&&(this.newHostElements.forEach((l,m)=>this._balanceNamespaceList(l,m)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let l=0;ll()),this._flushFns=[],this._whenQuietFns.length){const l=this._whenQuietFns;this._whenQuietFns=[],u.length?Ko(u).onDone(()=>{l.forEach(m=>m())}):l.forEach(m=>m())}}reportError(d){throw function An(b){return new s.OBp(3402,!1)}()}_flushAnimations(d,u){const l=new lo,m=[],I=new Map,U=[],oe=new Map,Fe=new Map,rt=new Map,It=new Set;this.disabledNodes.forEach(Yt=>{It.add(Yt);const Jt=this.driver.query(Yt,".ng-animate-queued",!0);for(let nn=0;nn{const nn=$s+Cn++;tn.set(Jt,nn),Yt.forEach(Mn=>Ii(Mn,nn))});const mi=[],Pi=new Set,qi=new Set;for(let Yt=0;YtPi.add(Mn)):qi.add(Jt))}const yo=new Map,Si=ji(fn,Array.from(Pi));Si.forEach((Yt,Jt)=>{const nn=ls+Cn++;yo.set(Jt,nn),Yt.forEach(Mn=>Ii(Mn,nn))}),d.push(()=>{qt.forEach((Yt,Jt)=>{const nn=tn.get(Jt);Yt.forEach(Mn=>Qt(Mn,nn))}),Si.forEach((Yt,Jt)=>{const nn=yo.get(Jt);Yt.forEach(Mn=>Qt(Mn,nn))}),mi.forEach(Yt=>{this.processLeaveNode(Yt)})});const fs=[],Or=[];for(let Yt=this._namespaceList.length-1;Yt>=0;Yt--)this._namespaceList[Yt].drainQueuedTransitions(u).forEach(nn=>{const Mn=nn.player,si=nn.element;if(fs.push(Mn),this.collectedEnterElements.length){const uo=si[v];if(uo&&uo.setForMove){if(uo.previousTriggersValues&&uo.previousTriggersValues.has(nn.triggerName)){const kr=uo.previousTriggersValues.get(nn.triggerName),Xo=this.statesByElement.get(nn.element);if(Xo&&Xo.has(nn.triggerName)){const Rr=Xo.get(nn.triggerName);Rr.value=kr,Xo.set(nn.triggerName,Rr)}}return void Mn.destroy()}}const dr=!St||!this.driver.containsElement(St,si),xo=yo.get(si),Vo=tn.get(si),ki=this._buildInstruction(nn,l,Vo,xo,dr);if(ki.errors&&ki.errors.length)return void Or.push(ki);if(dr)return Mn.onStart(()=>Io(si,ki.fromStyles)),Mn.onDestroy(()=>Oi(si,ki.toStyles)),void m.push(Mn);if(nn.isFallbackTransition)return Mn.onStart(()=>Io(si,ki.fromStyles)),Mn.onDestroy(()=>Oi(si,ki.toStyles)),void m.push(Mn);const nd=[];ki.timelines.forEach(uo=>{uo.stretchStartingKeyframe=!0,this.disabledNodes.has(uo.element)||nd.push(uo)}),ki.timelines=nd,l.append(si,ki.timelines),U.push({instruction:ki,player:Mn,element:si}),ki.queriedElements.forEach(uo=>vi(oe,uo,[]).push(Mn)),ki.preStyleProps.forEach((uo,kr)=>{if(uo.size){let Xo=Fe.get(kr);Xo||Fe.set(kr,Xo=new Set),uo.forEach((Rr,Qr)=>Xo.add(Qr))}}),ki.postStyleProps.forEach((uo,kr)=>{let Xo=rt.get(kr);Xo||rt.set(kr,Xo=new Set),uo.forEach((Rr,Qr)=>Xo.add(Qr))})});if(Or.length){const Yt=[];Or.forEach(Jt=>{Yt.push(function yr(b,d){return new s.OBp(3505,!1)}())}),fs.forEach(Jt=>Jt.destroy()),this.reportError(Yt)}const Co=new Map,cr=new Map;U.forEach(Yt=>{const Jt=Yt.element;l.has(Jt)&&(cr.set(Jt,Jt),this._beforeAnimationBuild(Yt.player.namespaceId,Yt.instruction,Co))}),m.forEach(Yt=>{const Jt=Yt.element;this._getPreviousPlayers(Jt,!1,Yt.namespaceId,Yt.triggerName,null).forEach(Mn=>{vi(Co,Jt,[]).push(Mn),Mn.destroy()})});const ms=mi.filter(Yt=>Ar(Yt,Fe,rt)),Uo=new Map;$n(Uo,this.driver,qi,rt,qe.AN).forEach(Yt=>{Ar(Yt,Fe,rt)&&ms.push(Yt)});const ps=new Map;qt.forEach((Yt,Jt)=>{$n(ps,this.driver,new Set(Yt),Fe,qe.aM)}),ms.forEach(Yt=>{var Jt,nn;const Mn=Uo.get(Yt),si=ps.get(Yt);Uo.set(Yt,new Map([...null!==(Jt=null==Mn?void 0:Mn.entries())&&void 0!==Jt?Jt:[],...null!==(nn=null==si?void 0:si.entries())&&void 0!==nn?nn:[]]))});const Xr=[],td=[],Ql={};U.forEach(Yt=>{const{element:Jt,player:nn,instruction:Mn}=Yt;if(l.has(Jt)){if(It.has(Jt))return nn.onDestroy(()=>Oi(Jt,Mn.toStyles)),nn.disabled=!0,nn.overrideTotalTime(Mn.totalTime),void m.push(nn);let si=Ql;if(cr.size>1){let xo=Jt;const Vo=[];for(;xo=xo.parentNode;){const ki=cr.get(xo);if(ki){si=ki;break}Vo.push(xo)}Vo.forEach(ki=>cr.set(ki,si))}const dr=this._buildAnimation(nn.namespaceId,Mn,Co,I,ps,Uo);if(nn.setRealPlayer(dr),si===Ql)Xr.push(nn);else{const xo=this.playersByElement.get(si);xo&&xo.length&&(nn.parentPlayer=Ko(xo)),m.push(nn)}}else Io(Jt,Mn.fromStyles),nn.onDestroy(()=>Oi(Jt,Mn.toStyles)),td.push(nn),It.has(Jt)&&m.push(nn)}),td.forEach(Yt=>{const Jt=I.get(Yt.element);if(Jt&&Jt.length){const nn=Ko(Jt);Yt.setRealPlayer(nn)}}),m.forEach(Yt=>{Yt.parentPlayer?Yt.syncPlayerEvents(Yt.parentPlayer):Yt.destroy()});for(let Yt=0;Yt!dr.destroyed);si.length?Sr(this,Jt,si):this.processLeaveNode(Jt)}return mi.length=0,Xr.forEach(Yt=>{this.players.push(Yt),Yt.onDone(()=>{Yt.destroy();const Jt=this.players.indexOf(Yt);this.players.splice(Jt,1)}),Yt.play()}),Xr}afterFlush(d){this._flushFns.push(d)}afterFlushAnimationsDone(d){this._whenQuietFns.push(d)}_getPreviousPlayers(d,u,l,m,I){let U=[];if(u){const oe=this.playersByQueriedElement.get(d);oe&&(U=oe)}else{const oe=this.playersByElement.get(d);if(oe){const Fe=!I||I==_;oe.forEach(rt=>{rt.queued||!Fe&&rt.triggerName!=m||U.push(rt)})}}return(l||m)&&(U=U.filter(oe=>!(l&&l!=oe.namespaceId||m&&m!=oe.triggerName))),U}_beforeAnimationBuild(d,u,l){const I=u.element,U=u.isRemovalTransition?void 0:d,oe=u.isRemovalTransition?void 0:u.triggerName;for(const Fe of u.timelines){const rt=Fe.element,It=rt!==I,St=vi(l,rt,[]);this._getPreviousPlayers(rt,It,U,oe,u.toState).forEach(qt=>{const tn=qt.getRealPlayer();tn.beforeDestroy&&tn.beforeDestroy(),qt.destroy(),St.push(qt)})}Io(I,u.fromStyles)}_buildAnimation(d,u,l,m,I,U){const oe=u.triggerName,Fe=u.element,rt=[],It=new Set,St=new Set,fn=u.timelines.map(tn=>{const Cn=tn.element;It.add(Cn);const mi=Cn[v];if(mi&&mi.removedBeforeQueried)return new qe.kP(tn.duration,tn.delay);const Pi=Cn!==Fe,qi=function Zr(b){const d=[];return Tr(b,d),d}((l.get(Cn)||zc).map(Co=>Co.getRealPlayer())).filter(Co=>!!Co.element&&Co.element===Cn),yo=I.get(Cn),Si=U.get(Cn),fs=Cr(this._normalizer,tn.keyframes,yo,Si),Or=this._buildPlayer(tn,fs,qi);if(tn.subTimeline&&m&&St.add(Cn),Pi){const Co=new Le(d,oe,Cn);Co.setRealPlayer(Or),rt.push(Co)}return Or});rt.forEach(tn=>{vi(this.playersByQueriedElement,tn.element,[]).push(tn),tn.onDone(()=>function mt(b,d,u){let l=b.get(d);if(l){if(l.length){const m=l.indexOf(u);l.splice(m,1)}0==l.length&&b.delete(d)}return l}(this.playersByQueriedElement,tn.element,tn))}),It.forEach(tn=>Ii(tn,Ba));const qt=Ko(fn);return qt.onDestroy(()=>{It.forEach(tn=>Qt(tn,Ba)),Oi(Fe,u.toStyles)}),St.forEach(tn=>{vi(m,tn,[]).push(qt)}),qt}_buildPlayer(d,u,l){return u.length>0?this.driver.animate(d.element,u,d.duration,d.delay,d.easing,l):new qe.kP(d.duration,d.delay)}}class Le{constructor(d,u,l){this.namespaceId=d,this.triggerName=u,this.element=l,this._player=new qe.kP,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(d){this._containsRealPlayer||(this._player=d,this._queuedCallbacks.forEach((u,l)=>{u.forEach(m=>sr(d,l,void 0,m))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(d.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(d){this.totalTime=d}syncPlayerEvents(d){const u=this._player;u.triggerCallback&&d.onStart(()=>u.triggerCallback("start")),d.onDone(()=>this.finish()),d.onDestroy(()=>this.destroy())}_queueEvent(d,u){vi(this._queuedCallbacks,d,[]).push(u)}onDone(d){this.queued&&this._queueEvent("done",d),this._player.onDone(d)}onStart(d){this.queued&&this._queueEvent("start",d),this._player.onStart(d)}onDestroy(d){this.queued&&this._queueEvent("destroy",d),this._player.onDestroy(d)}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(d){this.queued||this._player.setPosition(d)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(d){const u=this._player;u.triggerCallback&&u.triggerCallback(d)}}function kt(b){return b&&1===b.nodeType}function ri(b,d){const u=b.style.display;return b.style.display=null!=d?d:"none",u}function $n(b,d,u,l,m){const I=[];u.forEach(Fe=>I.push(ri(Fe)));const U=[];l.forEach((Fe,rt)=>{const It=new Map;Fe.forEach(St=>{const fn=d.computeStyle(rt,St,m);It.set(St,fn),(!fn||0==fn.length)&&(rt[v]=f,U.push(rt))}),b.set(rt,It)});let oe=0;return u.forEach(Fe=>ri(Fe,I[oe++])),U}function ji(b,d){const u=new Map;if(b.forEach(oe=>u.set(oe,[])),0==d.length)return u;const m=new Set(d),I=new Map;function U(oe){if(!oe)return 1;let Fe=I.get(oe);if(Fe)return Fe;const rt=oe.parentNode;return Fe=u.has(rt)?rt:m.has(rt)?1:U(rt),I.set(oe,Fe),Fe}return d.forEach(oe=>{const Fe=U(oe);1!==Fe&&u.get(Fe).push(oe)}),u}function Ii(b,d){var u;null===(u=b.classList)||void 0===u||u.add(d)}function Qt(b,d){var u;null===(u=b.classList)||void 0===u||u.remove(d)}function Sr(b,d,u){Ko(u).onDone(()=>b.processLeaveNode(d))}function Tr(b,d){for(let u=0;um.add(I)):d.set(b,l),u.delete(b),!0}class ga{constructor(d,u,l,m){this._driver=u,this._normalizer=l,this._triggerCache={},this.onRemovalComplete=(I,U)=>{},this._transitionEngine=new W(d.body,u,l,m),this._timelineEngine=new Ir(d.body,u,l),this._transitionEngine.onRemovalComplete=(I,U)=>this.onRemovalComplete(I,U)}registerTrigger(d,u,l,m,I){const U=d+"-"+m;let oe=this._triggerCache[U];if(!oe){const Fe=[],It=ao(this._driver,I,Fe,[]);if(Fe.length)throw function A(b,d){return new s.OBp(3404,!1)}();oe=function za(b,d,u){return new Ks(b,d,u)}(m,It,this._normalizer),this._triggerCache[U]=oe}this._transitionEngine.registerTrigger(u,m,oe)}register(d,u){this._transitionEngine.register(d,u)}destroy(d,u){this._transitionEngine.destroy(d,u)}onInsert(d,u,l,m){this._transitionEngine.insertNode(d,u,l,m)}onRemove(d,u,l){this._transitionEngine.removeNode(d,u,l)}disableAnimations(d,u){this._transitionEngine.markElementAsDisabled(d,u)}process(d,u,l,m){if("@"==l.charAt(0)){const[I,U]=ca(l);this._timelineEngine.command(I,u,U,m)}else this._transitionEngine.trigger(d,u,l,m)}listen(d,u,l,m,I){if("@"==l.charAt(0)){const[U,oe]=ca(l);return this._timelineEngine.listen(U,u,oe,I)}return this._transitionEngine.listen(d,u,l,m,I)}flush(d=-1){this._transitionEngine.flush(d)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(d){this._transitionEngine.afterFlushAnimationsDone(d)}}class _a{constructor(d,u,l){this._element=d,this._startStyles=u,this._endStyles=l,this._state=0;let m=_a.initialStylesByElement.get(d);m||_a.initialStylesByElement.set(d,m=new Map),this._initialStyles=m}start(){this._state<1&&(this._startStyles&&Oi(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Oi(this._element,this._initialStyles),this._endStyles&&(Oi(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(_a.initialStylesByElement.delete(this._element),this._startStyles&&(Io(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Io(this._element,this._endStyles),this._endStyles=null),Oi(this._element,this._initialStyles),this._state=3)}}function Wc(b){let d=null;return b.forEach((u,l)=>{(function pm(b){return"display"===b||"position"===b})(l)&&(d=d||new Map,d.set(l,u))}),d}_a.initialStylesByElement=new WeakMap;class Du{constructor(d,u,l,m){this.element=d,this.keyframes=u,this.options=l,this._specialStyles=m,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=l.duration,this._delay=l.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(d=>d()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const d=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,d,this.options),this._finalKeyframe=d.length?d[d.length-1]:new Map;const u=()=>this._onFinish();this.domPlayer.addEventListener("finish",u),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",u)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(d){const u=[];return d.forEach(l=>{u.push(Object.fromEntries(l))}),u}_triggerWebAnimation(d,u,l){return d.animate(this._convertKeyframesToObject(u),l)}onStart(d){this._originalOnStartFns.push(d),this._onStartFns.push(d)}onDone(d){this._originalOnDoneFns.push(d),this._onDoneFns.push(d)}onDestroy(d){this._onDestroyFns.push(d)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(d=>d()),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(d=>d()),this._onDestroyFns=[])}setPosition(d){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=d*this.time}getPosition(){var d;return+(null!==(d=this.domPlayer.currentTime)&&void 0!==d?d:0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const d=new Map;this.hasStarted()&&this._finalKeyframe.forEach((l,m)=>{"offset"!==m&&d.set(m,this._finished?l:M(this.element,m))}),this.currentSnapshot=d}triggerCallback(d){const u="start"===d?this._onStartFns:this._onDoneFns;u.forEach(l=>l()),u.length=0}}class Ka{validateStyleProperty(d){return!0}validateAnimatableStyleProperty(d){return!0}matchesElement(d,u){return!1}containsElement(d,u){return ws(d,u)}getParentElement(d){return Yo(d)}query(d,u,l){return Fo(d,u,l)}computeStyle(d,u,l){return M(d,u)}animate(d,u,l,m,I,U=[]){const Fe={duration:l,delay:m,fill:0==m?"both":"forwards"};I&&(Fe.easing=I);const rt=new Map,It=U.filter(qt=>qt instanceof Du);(function g(b,d){return 0===b||0===d})(l,m)&&It.forEach(qt=>{qt.currentSnapshot.forEach((tn,Cn)=>rt.set(Cn,tn))});let St=function da(b){return b.length?b[0]instanceof Map?b:b.map(d=>new Map(Object.entries(d))):[]}(u).map(qt=>new Map(qt));St=function S(b,d,u){if(u.size&&d.length){let l=d[0],m=[];if(u.forEach((I,U)=>{l.has(U)||m.push(U),l.set(U,I)}),m.length)for(let I=1;IU.set(oe,M(b,oe)))}}return d}(d,St,rt);const fn=function $l(b,d){let u=null,l=null;return Array.isArray(d)&&d.length?(u=Wc(d[0]),d.length>1&&(l=Wc(d[d.length-1]))):d instanceof Map&&(u=Wc(d)),u||l?new _a(b,u,l):null}(d,St);return new Du(d,St,Fe,fn)}}const Kc="@.disabled";class Yc{constructor(d,u,l,m){this.namespaceId=d,this.delegate=u,this.engine=l,this._onDestroy=m,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(d){var u,l;null===(u=(l=this.delegate).destroyNode)||void 0===u||u.call(l,d)}destroy(){var d;this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),null===(d=this._onDestroy)||void 0===d||d.call(this)}createElement(d,u){return this.delegate.createElement(d,u)}createComment(d){return this.delegate.createComment(d)}createText(d){return this.delegate.createText(d)}appendChild(d,u){this.delegate.appendChild(d,u),this.engine.onInsert(this.namespaceId,u,d,!1)}insertBefore(d,u,l,m=!0){this.delegate.insertBefore(d,u,l),this.engine.onInsert(this.namespaceId,u,d,m)}removeChild(d,u,l){this.engine.onRemove(this.namespaceId,u,this.delegate)}selectRootElement(d,u){return this.delegate.selectRootElement(d,u)}parentNode(d){return this.delegate.parentNode(d)}nextSibling(d){return this.delegate.nextSibling(d)}setAttribute(d,u,l,m){this.delegate.setAttribute(d,u,l,m)}removeAttribute(d,u,l){this.delegate.removeAttribute(d,u,l)}addClass(d,u){this.delegate.addClass(d,u)}removeClass(d,u){this.delegate.removeClass(d,u)}setStyle(d,u,l,m){this.delegate.setStyle(d,u,l,m)}removeStyle(d,u,l){this.delegate.removeStyle(d,u,l)}setProperty(d,u,l){"@"==u.charAt(0)&&u==Kc?this.disableAnimations(d,!!l):this.delegate.setProperty(d,u,l)}setValue(d,u){this.delegate.setValue(d,u)}listen(d,u,l){return this.delegate.listen(d,u,l)}disableAnimations(d,u){this.engine.disableAnimations(d,u)}}class gm extends Yc{constructor(d,u,l,m,I){super(u,l,m,I),this.factory=d,this.namespaceId=u}setProperty(d,u,l){"@"==u.charAt(0)?"."==u.charAt(1)&&u==Kc?this.disableAnimations(d,l=void 0===l||!!l):this.engine.process(this.namespaceId,d,u.slice(1),l):this.delegate.setProperty(d,u,l)}listen(d,u,l){if("@"==u.charAt(0)){const m=function wu(b){switch(b){case"body":return document.body;case"document":return document;case"window":return window;default:return b}}(d);let I=u.slice(1),U="";return"@"!=I.charAt(0)&&([I,U]=function Hl(b){const d=b.indexOf(".");return[b.substring(0,d),b.slice(d+1)]}(I)),this.engine.listen(this.namespaceId,m,I,U,oe=>{this.factory.scheduleListenerCallback(oe._data||-1,l,oe)})}return this.delegate.listen(d,u,l)}}class zl{constructor(d,u,l){this.delegate=d,this.engine=u,this._zone=l,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,u.onRemovalComplete=(m,I)=>{const U=null==I?void 0:I.parentNode(m);U&&I.removeChild(U,m)}}createRenderer(d,u){var l;const I=this.delegate.createRenderer(d,u);if(!d||null==u||null===(l=u.data)||void 0===l||!l.animation){const It=this._rendererCache;let St=It.get(I);return St||(St=new Yc("",I,this.engine,()=>It.delete(I)),It.set(I,St)),St}const U=u.id,oe=u.id+"-"+this._currentId;this._currentId++,this.engine.register(oe,d);const Fe=It=>{Array.isArray(It)?It.forEach(Fe):this.engine.registerTrigger(U,oe,d,It.name,It)};return u.data.animation.forEach(Fe),new gm(this,oe,I,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(d,u,l){if(d>=0&&du(l));const m=this._animationCallbacksBuffer;0==m.length&&queueMicrotask(()=>{this._zone.run(()=>{m.forEach(I=>{const[U,oe]=I;U(oe)}),this._animationCallbacksBuffer=[]})}),m.push([u,l])}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 Mu=[{provide:Vs,useFactory:function To(){return new ue}},{provide:ga,useClass:(()=>{var b;class d extends ga{constructor(l,m,I){super(l,m,I,(0,s.uUt)(s.yai,{optional:!0}))}ngOnDestroy(){this.flush()}}return(b=d).\u0275fac=function(l){return new(l||b)(s.CoB(te.Ud),s.CoB($r),s.CoB(Vs))},b.\u0275prov=s.wxM({token:b,factory:b.\u0275fac}),d})()},{provide:s.O8F,useFactory:function Xc(b,d,u){return new zl(b,d,u)},deps:[a.q,ga,s.WW2]}],Qc=[{provide:$r,useFactory:()=>new Ka},{provide:s.qwP,useValue:"BrowserAnimations"},...Mu],Qs=[{provide:$r,useClass:as},{provide:s.qwP,useValue:"NoopAnimations"},...Mu];let Wl=(()=>{var b;class d{static withConfig(l){return{ngModule:d,providers:l.disableAnimations?Qs:Qc}}}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275mod=s.a4G({type:b}),b.\u0275inj=s.s3X({providers:Qc,imports:[a.iE]}),d})();var Iu=y(2864),qc=y(2096);const qs=["*",[["mat-toolbar-row"]]],Su=["*","mat-toolbar-row"];let hs=(()=>{var b;class d{}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275dir=s.Sc5({type:b,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"],standalone:!0}),d})(),Tu=(()=>{var b;class d{constructor(l,m,I){this._elementRef=l,this._platform=m,this._document=I}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(s.GMv),s.GI1(ai.WU),s.GI1(te.Ud))},b.\u0275cmp=s.In1({type:b,selectors:[["mat-toolbar"]],contentQueries:function(l,m,I){if(1&l&&s.szK(I,hs,5),2&l){let U;s.wto(U=s.Gqi())&&(m._toolbarRows=U)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(l,m){2&l&&(s.m8U(m.color?"mat-"+m.color:""),s.eAK("mat-toolbar-multiple-rows",m._toolbarRows.length>0)("mat-toolbar-single-row",0===m._toolbarRows.length))},inputs:{color:"color"},exportAs:["matToolbar"],standalone:!0,features:[s.UHJ],ngContentSelectors:Su,decls:2,vars:0,template:function(l,m){1&l&&(s.kPM(qs),s._Xx(0),s._Xx(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color);--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color)}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0}),d})(),Jc=(()=>{var b;class d{}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275mod=s.a4G({type:b}),b.\u0275inj=s.s3X({imports:[re.AN,re.AN]}),d})(),Vn=(()=>{var b;class d{}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275mod=s.a4G({type:b}),b.\u0275inj=s.s3X({providers:[{provide:oo.uY,useValue:{floatLabel:"always"}}],imports:[Wt.y,Jc,cn.oJ,ni,ui,Xt,Iu.sr,oo.wb,jn.cN,qc.d5,zo]}),d})();function Ya(b,d){if(1&b){const u=s.KQA();s.I0R(0,"button",9),s.qCj("click",function(){const I=s.usT(u).$implicit,U=s.GaO(2);return s.CGJ(U.changeLang(I))}),s.OEk(1),s.C$Y()}if(2&b){const u=d.$implicit;s.yG2(),s.cNF(u.name)}}function Yl(b,d){if(1&b){const u=s.KQA();s.I0R(0,"button",9),s.qCj("click",function(){s.usT(u);const m=s.GaO(2);return s.CGJ(m.admin())}),s.I0R(1,"i",24),s.OEk(2,"dashboard"),s.C$Y(),s.I0R(3,"uds-translate"),s.OEk(4,"Dashboard"),s.C$Y()()}}function va(b,d){1&b&&(s.I0R(0,"button",29)(1,"i",24),s.OEk(2,"file_download"),s.C$Y(),s.I0R(3,"uds-translate"),s.OEk(4,"Downloads"),s.C$Y()())}function Au(b,d){if(1&b&&(s.I0R(0,"button",14),s.OEk(1),s.C$Y()),2&b){s.GaO();const u=s.Gew(8),l=s.GaO();s.E7m("matMenuTriggerFor",u),s.yG2(),s.cNF(l.api.user.user)}}function Ou(b,d){if(1&b&&(s.I0R(0,"button",26),s.OEk(1),s.I0R(2,"i",24),s.OEk(3,"arrow_drop_down"),s.C$Y()()),2&b){s.GaO();const u=s.Gew(8),l=s.GaO();s.E7m("matMenuTriggerFor",u),s.yG2(),s.oRS("",l.api.user.user," ")}}function ku(b,d){if(1&b){const u=s.KQA();s.SAx(0),s.I0R(1,"form",1),s.wR5(2,"input",2)(3,"input",3),s.C$Y(),s.I0R(4,"mat-menu",null,4),s.yuY(6,Ya,2,1,"button",5),s.C$Y(),s.I0R(7,"mat-menu",null,6),s.yuY(9,Yl,5,0,"button",7)(10,va,5,0,"button",8),s.I0R(11,"button",9),s.qCj("click",function(){s.usT(u);const m=s.GaO();return s.CGJ(m.logout())}),s.I0R(12,"i",10),s.OEk(13,"exit_to_app"),s.C$Y(),s.I0R(14,"uds-translate"),s.OEk(15,"Logout"),s.C$Y()()(),s.I0R(16,"mat-menu",11,12),s.yuY(18,Au,2,2,"button",13),s.I0R(19,"button",14),s.OEk(20),s.C$Y(),s.I0R(21,"button",15)(22,"uds-translate"),s.OEk(23,"UDS Client"),s.C$Y()(),s.I0R(24,"button",16)(25,"uds-translate"),s.OEk(26,"About"),s.C$Y()()(),s.I0R(27,"mat-toolbar",17)(28,"button",18)(29,"div",19),s.wR5(30,"img",20),s.OEk(31),s.C$Y()(),s.wR5(32,"span",21),s.I0R(33,"div",22)(34,"button",23)(35,"i",24),s.OEk(36,"file_download"),s.C$Y(),s.I0R(37,"uds-translate"),s.OEk(38,"UDS Client"),s.C$Y()(),s.I0R(39,"button",25)(40,"i",24),s.OEk(41,"info"),s.C$Y(),s.I0R(42,"uds-translate"),s.OEk(43,"About"),s.C$Y()(),s.I0R(44,"button",26),s.OEk(45),s.I0R(46,"i",24),s.OEk(47,"arrow_drop_down"),s.C$Y()(),s.yuY(48,Ou,4,2,"button",27),s.C$Y(),s.I0R(49,"div",28)(50,"button",26)(51,"i",24),s.OEk(52,"menu"),s.C$Y()()()(),s.k70()}if(2&b){const u=s.Gew(5),l=s.Gew(17),m=s.GaO();s.yG2(),s._6D("action",m.api.config.urls.change_language,s.K6U),s.yG2(),s._6D("name",m.api.csrfField),s._6D("value",m.api.csrfToken),s.yG2(),s._6D("value",m.lang.id),s.yG2(3),s.E7m("ngForOf",m.langs),s.yG2(3),s.E7m("ngIf",m.api.user.isStaff),s.yG2(),s.E7m("ngIf",m.api.user.isStaff),s.yG2(8),s.E7m("ngIf",m.api.user.isLogged),s.yG2(),s.E7m("matMenuTriggerFor",u),s.yG2(),s.oRS("",m.lang.name," "),s.yG2(10),s.E7m("src",m.api.staticURL("modern/img/udsicon.png"),s.K6U),s.yG2(),s.oRS(" ","UDS"===m.api.config.site_logo_name?"":m.api.config.site_logo_name," "),s.yG2(13),s.E7m("matMenuTriggerFor",u),s.yG2(),s.oRS("",m.lang.name," "),s.yG2(3),s.E7m("ngIf",m.api.user.isLogged),s.yG2(2),s.E7m("matMenuTriggerFor",l)}}let bm=(()=>{var b;class d{constructor(l){this.api=l,this.lang={},this.langs=[],this.style="";const m=l.config.language;this.langs=[];for(const I of l.config.available_languages)I.id===m?this.lang=I:this.langs.push(I)}ngOnInit(){}changeLang(l){this.lang=l;const m=document.getElementById("id_language");m&&m.setAttribute("value",l.id);const I=document.getElementById("form_language");I&&I.submit()}admin(){this.api.gotoAdmin()}logout(){this.api.logout()}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(z.G))},b.\u0275cmp=s.In1({type:b,selectors:[["uds-navbar"]],decls:1,vars:1,consts:[[4,"ngIf"],["id","form_language","method","post",3,"action"],["type","hidden",3,"name","value"],["id","id_language","type","hidden","name","language",3,"value"],["appMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["userMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","","routerLink","/downloads",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"material-icons","highlight"],["x-position","before"],["shrink","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","","routerLink","/client-download"],["mat-menu-item","","routerLink","/about"],["color","primary",1,"uds-nav"],["mat-button","","routerLink","/"],[1,"logo"],["alt","Universal Desktop Services",3,"src"],[1,"fill-remaining-space"],[1,"expanded"],["mat-button","","routerLink","/client-download"],[1,"material-icons"],["mat-button","","routerLink","/about"],["mat-button","",3,"matMenuTriggerFor"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],[1,"shrinked"],["mat-menu-item","","routerLink","/downloads"]],template:function(l,m){1&l&&s.yuY(0,ku,53,16,"ng-container",0),2&l&&s.E7m("ngIf",""===m.api.config.urls.launch)},dependencies:[te.ay,te.u_,ce.ER,Wt.sz,Wt.u,Wt.SC,Tu,cn.Gw,jt,q,Fi,Ce.e],styles:['.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0);background-color:var(--mat-ripple-color, rgba(0, 0, 0, .1))}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl][_ngcontent-%COMP%] .cdk-visually-hidden[_ngcontent-%COMP%]{left:auto;right:0}.cdk-overlay-container[_ngcontent-%COMP%], .cdk-global-overlay-wrapper[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}.cdk-high-contrast-active[_ngcontent-%COMP%] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:#00000052}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%]{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation[_ngcontent-%COMP%]{transition:none}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-start{}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{animation:_ngcontent-%COMP%_cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){animation:_ngcontent-%COMP%_cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-focus-indicator[_ngcontent-%COMP%]:before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator[_ngcontent-%COMP%]:focus:before{content:""}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:focus:before{content:""}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-mdc-focus-indicator-display: block}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--mat-app-background-color, transparent);color:var(--mat-app-text-color, inherit)}.uds-nav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:1000;background-image:linear-gradient(60deg,#4b5266,#465d9c)}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}.material-icons[_ngcontent-%COMP%]{margin-right:.3rem}.logo[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{display:block;width:2rem}@media only screen and (max-width: 744px){.expanded[_ngcontent-%COMP%]{display:none;visibility:hidden}.shrinked[_ngcontent-%COMP%]{visibility:visible}}@media only screen and (min-width: 745px){.expanded[_ngcontent-%COMP%]{visibility:visible}.shrinked[_ngcontent-%COMP%]{display:none;visibility:hidden}}']}),d})(),ym=(()=>{var b;class d{constructor(l){this.api=l}ngOnInit(){}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(z.G))},b.\u0275cmp=s.In1({type:b,selectors:[["uds-footer"]],decls:3,vars:2,consts:[[3,"href"]],template:function(l,m){1&l&&(s.I0R(0,"div")(1,"a",0),s.OEk(2),s.C$Y()()),2&l&&(s.yG2(),s.E7m("href",m.api.config.site_copyright_link,s.K6U),s.yG2(),s.cNF(m.api.config.site_copyright_info))}}),d})(),Za=(()=>{var b;class d{constructor(l){this.api=l,this.title="UDS"}get blackTheme(){return"true"===this.api.getFromStorage("blackTheme")}set blackTheme(l){this.api.putOnStorage("blackTheme",l.toString())}handleKeyboardEvent(l){l.altKey&&l.ctrlKey&&"b"===l.key&&(this.blackTheme=!this.blackTheme,this.api.switchTheme(this.blackTheme))}ngOnInit(){this.api.switchTheme(this.blackTheme),cookieconsent.initialise({palette:{popup:{background:"#343c66",text:"#cfcfe8"},button:{background:"#f71559"}},content:{message:django.gettext("We use cookies to track usage and preferences"),dismiss:django.gettext("I Understand"),link:django.gettext("Learn more")}})}}return(b=d).\u0275fac=function(l){return new(l||b)(s.GI1(z.G))},b.\u0275cmp=s.In1({type:b,selectors:[["uds-root"]],hostBindings:function(l,m){1&l&&s.qCj("keydown",function(U){return m.handleKeyboardEvent(U)},!1,s.wLc)},decls:6,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(l,m){1&l&&(s.wR5(0,"uds-navbar"),s.I0R(1,"div",0)(2,"div",1),s.wR5(3,"router-outlet"),s.C$Y(),s.I0R(4,"div",2),s.wR5(5,"uds-footer"),s.C$Y()())},dependencies:[ce.cP,bm,ym],styles:[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:1em;height:1em;display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:80%;margin:64px auto 0}@media only screen and (max-width: 744px){.content[_ngcontent-%COMP%]{width:100%}}"]}),d})();var Ru=y(500);let Zl=(()=>{var b;class d{}return(b=d).\u0275fac=function(l){return new(l||b)},b.\u0275mod=s.a4G({type:b,bootstrap:[Za]}),b.\u0275inj=s.s3X({providers:[z.G,Ru._],imports:[a.iE,D.O2,J.SU,Wo,Wl,Vn]}),d})();y(6716).O.production&&(0,s.agy)(),a.o_().bootstrapModule(Zl).catch(b=>console.log(b))},6700:(Qe,fe,y)=>{y.d(fe,{g:()=>s});var a=y(5657);class s extends a.E{constructor(J){super(),this._value=J}get value(){return this.getValue()}_subscribe(J){const ce=super._subscribe(J);return!ce.closed&&J.next(this._value),ce}getValue(){const{hasError:J,thrownError:ce,_value:z}=this;if(J)throw ce;return this._throwIfClosed(),z}next(J){super.next(this._value=J)}}},3252:(Qe,fe,y)=>{y.d(fe,{_:()=>ve});var a=y(1760),s=y(6928),D=y(472),J=y(3928),ce=y(4491),z=y(8880),ae=y(2075);let ve=(()=>{class Pe{constructor(ke){ke&&(this._subscribe=ke)}lift(ke){const Be=new Pe;return Be.source=this,Be.operator=ke,Be}subscribe(ke,Be,Re){const Ne=function Me(Pe){return Pe&&Pe instanceof a.yR||function Ce(Pe){return Pe&&(0,z.m)(Pe.next)&&(0,z.m)(Pe.error)&&(0,z.m)(Pe.complete)}(Pe)&&(0,s.GI)(Pe)}(ke)?ke:new a.ot(ke,Be,Re);return(0,ae.c)(()=>{const{operator:ot,source:xt}=this;Ne.add(ot?ot.call(Ne,xt):xt?this._subscribe(Ne):this._trySubscribe(Ne))}),Ne}_trySubscribe(ke){try{return this._subscribe(ke)}catch(Be){ke.error(Be)}}forEach(ke,Be){return new(Be=te(Be))((Re,Ne)=>{const ot=new a.ot({next:xt=>{try{ke(xt)}catch(lt){Ne(lt),ot.unsubscribe()}},error:Ne,complete:Re});this.subscribe(ot)})}_subscribe(ke){var Be;return null===(Be=this.source)||void 0===Be?void 0:Be.subscribe(ke)}[D.a](){return this}pipe(...ke){return(0,J.Y)(ke)(this)}toPromise(ke){return new(ke=te(ke))((Be,Re)=>{let Ne;this.subscribe(ot=>Ne=ot,ot=>Re(ot),()=>Be(Ne))})}}return Pe.create=et=>new Pe(et),Pe})();function te(Pe){var et;return null!==(et=null!=Pe?Pe:ce.config.Promise)&&void 0!==et?et:Promise}},5657:(Qe,fe,y)=>{y.d(fe,{E:()=>ae});var a=y(3252),s=y(6928);const J=(0,y(4912).w)(te=>function(){te(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ce=y(1248),z=y(2075);let ae=(()=>{class te extends a._{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(Me){const Pe=new ve(this,this);return Pe.operator=Me,Pe}_throwIfClosed(){if(this.closed)throw new J}next(Me){(0,z.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const Pe of this.currentObservers)Pe.next(Me)}})}error(Me){(0,z.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=Me;const{observers:Pe}=this;for(;Pe.length;)Pe.shift().error(Me)}})}complete(){(0,z.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:Me}=this;for(;Me.length;)Me.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var Me;return(null===(Me=this.observers)||void 0===Me?void 0:Me.length)>0}_trySubscribe(Me){return this._throwIfClosed(),super._trySubscribe(Me)}_subscribe(Me){return this._throwIfClosed(),this._checkFinalizedStatuses(Me),this._innerSubscribe(Me)}_innerSubscribe(Me){const{hasError:Pe,isStopped:et,observers:ke}=this;return Pe||et?s.au:(this.currentObservers=null,ke.push(Me),new s.wH(()=>{this.currentObservers=null,(0,ce.k)(ke,Me)}))}_checkFinalizedStatuses(Me){const{hasError:Pe,thrownError:et,isStopped:ke}=this;Pe?Me.error(et):ke&&Me.complete()}asObservable(){const Me=new a._;return Me.source=this,Me}}return te.create=(Ce,Me)=>new ve(Ce,Me),te})();class ve extends ae{constructor(Ce,Me){super(),this.destination=Ce,this.source=Me}next(Ce){var Me,Pe;null===(Pe=null===(Me=this.destination)||void 0===Me?void 0:Me.next)||void 0===Pe||Pe.call(Me,Ce)}error(Ce){var Me,Pe;null===(Pe=null===(Me=this.destination)||void 0===Me?void 0:Me.error)||void 0===Pe||Pe.call(Me,Ce)}complete(){var Ce,Me;null===(Me=null===(Ce=this.destination)||void 0===Ce?void 0:Ce.complete)||void 0===Me||Me.call(Ce)}_subscribe(Ce){var Me,Pe;return null!==(Pe=null===(Me=this.source)||void 0===Me?void 0:Me.subscribe(Ce))&&void 0!==Pe?Pe:s.au}}},1760:(Qe,fe,y)=>{y.d(fe,{ot:()=>Re,yR:()=>Pe});var a=y(8880),s=y(6928),D=y(4491),J=y(1984),ce=y(308);const z=te("C",void 0,void 0);function te(Ge,Oe,X){return{kind:Ge,value:Oe,error:X}}var Ce=y(3376),Me=y(2075);class Pe extends s.wH{constructor(Oe){super(),this.isStopped=!1,Oe?(this.destination=Oe,(0,s.GI)(Oe)&&Oe.add(this)):this.destination=lt}static create(Oe,X,G){return new Re(Oe,X,G)}next(Oe){this.isStopped?xt(function ve(Ge){return te("N",Ge,void 0)}(Oe),this):this._next(Oe)}error(Oe){this.isStopped?xt(function ae(Ge){return te("E",void 0,Ge)}(Oe),this):(this.isStopped=!0,this._error(Oe))}complete(){this.isStopped?xt(z,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Oe){this.destination.next(Oe)}_error(Oe){try{this.destination.error(Oe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const et=Function.prototype.bind;function ke(Ge,Oe){return et.call(Ge,Oe)}class Be{constructor(Oe){this.partialObserver=Oe}next(Oe){const{partialObserver:X}=this;if(X.next)try{X.next(Oe)}catch(G){Ne(G)}}error(Oe){const{partialObserver:X}=this;if(X.error)try{X.error(Oe)}catch(G){Ne(G)}else Ne(Oe)}complete(){const{partialObserver:Oe}=this;if(Oe.complete)try{Oe.complete()}catch(X){Ne(X)}}}class Re extends Pe{constructor(Oe,X,G){let ye;if(super(),(0,a.m)(Oe)||!Oe)ye={next:null!=Oe?Oe:void 0,error:null!=X?X:void 0,complete:null!=G?G:void 0};else{let re;this&&D.config.useDeprecatedNextContext?(re=Object.create(Oe),re.unsubscribe=()=>this.unsubscribe(),ye={next:Oe.next&&ke(Oe.next,re),error:Oe.error&&ke(Oe.error,re),complete:Oe.complete&&ke(Oe.complete,re)}):ye=Oe}this.destination=new Be(ye)}}function Ne(Ge){D.config.useDeprecatedSynchronousErrorHandling?(0,Me.q)(Ge):(0,J.U)(Ge)}function xt(Ge,Oe){const{onStoppedNotification:X}=D.config;X&&Ce.u.setTimeout(()=>X(Ge,Oe))}const lt={closed:!0,next:ce.K,error:function ot(Ge){throw Ge},complete:ce.K}},6928:(Qe,fe,y)=>{y.d(fe,{au:()=>z,wH:()=>ce,GI:()=>ae});var a=y(8880);const D=(0,y(4912).w)(te=>function(Me){te(this),this.message=Me?"".concat(Me.length," errors occurred during unsubscription:\n").concat(Me.map((Pe,et)=>"".concat(et+1,") ").concat(Pe.toString())).join("\n ")):"",this.name="UnsubscriptionError",this.errors=Me});var J=y(1248);class ce{constructor(Ce){this.initialTeardown=Ce,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let Ce;if(!this.closed){this.closed=!0;const{_parentage:Me}=this;if(Me)if(this._parentage=null,Array.isArray(Me))for(const ke of Me)ke.remove(this);else Me.remove(this);const{initialTeardown:Pe}=this;if((0,a.m)(Pe))try{Pe()}catch(ke){Ce=ke instanceof D?ke.errors:[ke]}const{_finalizers:et}=this;if(et){this._finalizers=null;for(const ke of et)try{ve(ke)}catch(Be){Ce=null!=Ce?Ce:[],Be instanceof D?Ce=[...Ce,...Be.errors]:Ce.push(Be)}}if(Ce)throw new D(Ce)}}add(Ce){var Me;if(Ce&&Ce!==this)if(this.closed)ve(Ce);else{if(Ce instanceof ce){if(Ce.closed||Ce._hasParent(this))return;Ce._addParent(this)}(this._finalizers=null!==(Me=this._finalizers)&&void 0!==Me?Me:[]).push(Ce)}}_hasParent(Ce){const{_parentage:Me}=this;return Me===Ce||Array.isArray(Me)&&Me.includes(Ce)}_addParent(Ce){const{_parentage:Me}=this;this._parentage=Array.isArray(Me)?(Me.push(Ce),Me):Me?[Me,Ce]:Ce}_removeParent(Ce){const{_parentage:Me}=this;Me===Ce?this._parentage=null:Array.isArray(Me)&&(0,J.k)(Me,Ce)}remove(Ce){const{_finalizers:Me}=this;Me&&(0,J.k)(Me,Ce),Ce instanceof ce&&Ce._removeParent(this)}}ce.EMPTY=(()=>{const te=new ce;return te.closed=!0,te})();const z=ce.EMPTY;function ae(te){return te instanceof ce||te&&"closed"in te&&(0,a.m)(te.remove)&&(0,a.m)(te.add)&&(0,a.m)(te.unsubscribe)}function ve(te){(0,a.m)(te)?te():te.unsubscribe()}},4491:(Qe,fe,y)=>{y.d(fe,{config:()=>a});const a={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},6040:(Qe,fe,y)=>{y.d(fe,{E:()=>Ce});var a=y(3252),s=y(4300),D=y(2115),J=y(528),ce=y(4187),z=y(6624),ae=y(7904),ve=y(7773),te=y(9399);function Ce(...et){const ke=(0,z.e_)(et),Be=(0,z.yu)(et),{args:Re,keys:Ne}=(0,s.Q)(et);if(0===Re.length)return(0,D.Q)([],ke);const ot=new a._(function Me(et,ke,Be=J.Z){return Re=>{Pe(ke,()=>{const{length:Ne}=et,ot=new Array(Ne);let xt=Ne,lt=Ne;for(let Ge=0;Ge{const Oe=(0,D.Q)(et[Ge],ke);let X=!1;Oe.subscribe((0,ve.e)(Re,G=>{ot[Ge]=G,X||(X=!0,lt--),lt||Re.next(Be(ot.slice()))},()=>{--xt||Re.complete()}))},Re)},Re)}}(Re,ke,Ne?xt=>(0,ae.q)(Ne,xt):J.Z));return Be?ot.pipe((0,ce.j)(Be)):ot}function Pe(et,ke,Be){et?(0,te._)(Be,et,ke):ke()}},7228:(Qe,fe,y)=>{y.d(fe,{W:()=>ce});var a=y(267),D=y(6624),J=y(2115);function ce(...z){return function s(){return(0,a.u)(1)}()((0,J.Q)(z,(0,D.e_)(z)))}},1424:(Qe,fe,y)=>{y.d(fe,{Q:()=>D});var a=y(3252),s=y(560);function D(J){return new a._(ce=>{(0,s.Uv)(J()).subscribe(ce)})}},8960:(Qe,fe,y)=>{y.d(fe,{k:()=>s});const s=new(y(3252)._)(ce=>ce.complete())},2115:(Qe,fe,y)=>{y.d(fe,{Q:()=>G});var a=y(560),s=y(9399),D=y(5448),J=y(7773);function ce(ye,re=0){return(0,D.i)((ie,me)=>{ie.subscribe((0,J.e)(me,Xe=>(0,s._)(me,ye,()=>me.next(Xe),re),()=>(0,s._)(me,ye,()=>me.complete(),re),Xe=>(0,s._)(me,ye,()=>me.error(Xe),re)))})}function z(ye,re=0){return(0,D.i)((ie,me)=>{me.add(ye.schedule(()=>ie.subscribe(me),re))})}var te=y(3252),Me=y(3835),Pe=y(8880);function ke(ye,re){if(!ye)throw new Error("Iterable cannot be null");return new te._(ie=>{(0,s._)(ie,re,()=>{const me=ye[Symbol.asyncIterator]();(0,s._)(ie,re,()=>{me.next().then(Xe=>{Xe.done?ie.complete():ie.next(Xe.value)})},0,!0)})})}var Be=y(5099),Re=y(5432),Ne=y(5428),ot=y(1688),xt=y(376),lt=y(8272),Ge=y(5832);function G(ye,re){return re?function X(ye,re){if(null!=ye){if((0,Be.O)(ye))return function ae(ye,re){return(0,a.Uv)(ye).pipe(z(re),ce(re))}(ye,re);if((0,Ne.G)(ye))return function Ce(ye,re){return new te._(ie=>{let me=0;return re.schedule(function(){me===ye.length?ie.complete():(ie.next(ye[me++]),ie.closed||this.schedule())})})}(ye,re);if((0,Re.u)(ye))return function ve(ye,re){return(0,a.Uv)(ye).pipe(z(re),ce(re))}(ye,re);if((0,xt.E)(ye))return ke(ye,re);if((0,ot.i)(ye))return function et(ye,re){return new te._(ie=>{let me;return(0,s._)(ie,re,()=>{me=ye[Me.w](),(0,s._)(ie,re,()=>{let Xe,pt;try{({value:Xe,done:pt}=me.next())}catch(Pt){return void ie.error(Pt)}pt?ie.complete():ie.next(Xe)},0,!0)}),()=>(0,Pe.m)(null==me?void 0:me.return)&&me.return()})}(ye,re);if((0,Ge.K)(ye))return function Oe(ye,re){return ke((0,Ge._)(ye),re)}(ye,re)}throw(0,lt.W)(ye)}(ye,re):(0,a.Uv)(ye)}},800:(Qe,fe,y)=>{y.d(fe,{w:()=>Ce});var a=y(560),s=y(3252),D=y(7400),J=y(5428),ce=y(8880),z=y(4187);const ae=["addListener","removeListener"],ve=["addEventListener","removeEventListener"],te=["on","off"];function Ce(Be,Re,Ne,ot){if((0,ce.m)(Ne)&&(ot=Ne,Ne=void 0),ot)return Ce(Be,Re,Ne).pipe((0,z.j)(ot));const[xt,lt]=function ke(Be){return(0,ce.m)(Be.addEventListener)&&(0,ce.m)(Be.removeEventListener)}(Be)?ve.map(Ge=>Oe=>Be[Ge](Re,Oe,Ne)):function Pe(Be){return(0,ce.m)(Be.addListener)&&(0,ce.m)(Be.removeListener)}(Be)?ae.map(Me(Be,Re)):function et(Be){return(0,ce.m)(Be.on)&&(0,ce.m)(Be.off)}(Be)?te.map(Me(Be,Re)):[];if(!xt&&(0,J.G)(Be))return(0,D.O)(Ge=>Ce(Ge,Re,Ne))((0,a.Uv)(Be));if(!xt)throw new TypeError("Invalid event target");return new s._(Ge=>{const Oe=(...X)=>Ge.next(1lt(Oe)})}function Me(Be,Re){return Ne=>ot=>Be[Ne](Re,ot)}},560:(Qe,fe,y)=>{y.d(fe,{Uv:()=>et});var a=y(1316),s=y(5428),D=y(5432),J=y(3252),ce=y(5099),z=y(376),ae=y(8272),ve=y(1688),te=y(5832),Ce=y(8880),Me=y(1984),Pe=y(472);function et(Ge){if(Ge instanceof J._)return Ge;if(null!=Ge){if((0,ce.O)(Ge))return function ke(Ge){return new J._(Oe=>{const X=Ge[Pe.a]();if((0,Ce.m)(X.subscribe))return X.subscribe(Oe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Ge);if((0,s.G)(Ge))return function Be(Ge){return new J._(Oe=>{for(let X=0;X{Ge.then(X=>{Oe.closed||(Oe.next(X),Oe.complete())},X=>Oe.error(X)).then(null,Me.U)})}(Ge);if((0,z.E)(Ge))return ot(Ge);if((0,ve.i)(Ge))return function Ne(Ge){return new J._(Oe=>{for(const X of Ge)if(Oe.next(X),Oe.closed)return;Oe.complete()})}(Ge);if((0,te.K)(Ge))return function xt(Ge){return ot((0,te._)(Ge))}(Ge)}throw(0,ae.W)(Ge)}function ot(Ge){return new J._(Oe=>{(function lt(Ge,Oe){var X,G,ye,re;return(0,a.kH)(this,void 0,void 0,function*(){try{for(X=(0,a.mA)(Ge);!(G=yield X.next()).done;)if(Oe.next(G.value),Oe.closed)return}catch(ie){ye={error:ie}}finally{try{G&&!G.done&&(re=X.return)&&(yield re.call(X))}finally{if(ye)throw ye.error}}Oe.complete()})})(Ge,Oe).catch(X=>Oe.error(X))})}},3412:(Qe,fe,y)=>{y.d(fe,{U:()=>z});var a=y(267),s=y(560),D=y(8960),J=y(6624),ce=y(2115);function z(...ae){const ve=(0,J.e_)(ae),te=(0,J._8)(ae,1/0),Ce=ae;return Ce.length?1===Ce.length?(0,s.Uv)(Ce[0]):(0,a.u)(te)((0,ce.Q)(Ce,ve)):D.k}},2700:(Qe,fe,y)=>{y.d(fe,{of:()=>D});var a=y(6624),s=y(2115);function D(...J){const ce=(0,a.e_)(J);return(0,s.Q)(J,ce)}},3120:(Qe,fe,y)=>{y.d(fe,{k:()=>ce});var a=y(3252),s=y(112),D=y(3048),J=y(1252);function ce(z=0,ae,ve=s.a){let te=-1;return null!=ae&&((0,D.G)(ae)?ve=ae:te=ae),new a._(Ce=>{let Me=(0,J.e)(z)?+z-ve.now():z;Me<0&&(Me=0);let Pe=0;return ve.schedule(function(){Ce.closed||(Ce.next(Pe++),0<=te?this.schedule(void 0,te):Ce.complete())},Me)})}},7773:(Qe,fe,y)=>{y.d(fe,{e:()=>s});var a=y(1760);function s(J,ce,z,ae,ve){return new D(J,ce,z,ae,ve)}class D extends a.yR{constructor(ce,z,ae,ve,te,Ce){super(ce),this.onFinalize=te,this.shouldUnsubscribe=Ce,this._next=z?function(Me){try{z(Me)}catch(Pe){ce.error(Pe)}}:super._next,this._error=ve?function(Me){try{ve(Me)}catch(Pe){ce.error(Pe)}finally{this.unsubscribe()}}:super._error,this._complete=ae?function(){try{ae()}catch(Me){ce.error(Me)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var ce;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:z}=this;super.unsubscribe(),!z&&(null===(ce=this.onFinalize)||void 0===ce||ce.call(this))}}}},6020:(Qe,fe,y)=>{y.d(fe,{m:()=>D});var a=y(7400),s=y(8880);function D(J,ce){return(0,s.m)(ce)?(0,a.O)(J,ce,1):(0,a.O)(J,1)}},4680:(Qe,fe,y)=>{y.d(fe,{o:()=>J});var a=y(112),s=y(5448),D=y(7773);function J(ce,z=a.M){return(0,s.i)((ae,ve)=>{let te=null,Ce=null,Me=null;const Pe=()=>{if(te){te.unsubscribe(),te=null;const ke=Ce;Ce=null,ve.next(ke)}};function et(){const ke=Me+ce,Be=z.now();if(Be{Ce=ke,Me=z.now(),te||(te=z.schedule(et,ce),ve.add(te))},()=>{Pe(),ve.complete()},void 0,()=>{Ce=te=null}))})}},4e3:(Qe,fe,y)=>{y.d(fe,{a:()=>J});var a=y(528),s=y(5448),D=y(7773);function J(z,ae=a.Z){return z=null!=z?z:ce,(0,s.i)((ve,te)=>{let Ce,Me=!0;ve.subscribe((0,D.e)(te,Pe=>{const et=ae(Pe);(Me||!z(Ce,et))&&(Me=!1,Ce=et,te.next(Pe))}))})}function ce(z,ae){return z===ae}},6684:(Qe,fe,y)=>{y.d(fe,{I:()=>D});var a=y(5448),s=y(7773);function D(J,ce){return(0,a.i)((z,ae)=>{let ve=0;z.subscribe((0,s.e)(ae,te=>J.call(ce,te,ve++)&&ae.next(te)))})}},8824:(Qe,fe,y)=>{y.d(fe,{U:()=>s});var a=y(5448);function s(D){return(0,a.i)((J,ce)=>{try{J.subscribe(ce)}finally{ce.add(D)}})}},4704:(Qe,fe,y)=>{y.d(fe,{k:()=>D});var a=y(5448),s=y(7773);function D(J,ce){return(0,a.i)((z,ae)=>{let ve=0;z.subscribe((0,s.e)(ae,te=>{ae.next(J.call(ce,te,ve++))}))})}},320:(Qe,fe,y)=>{y.d(fe,{e:()=>s});var a=y(4704);function s(D){return(0,a.k)(()=>D)}},267:(Qe,fe,y)=>{y.d(fe,{u:()=>D});var a=y(7400),s=y(528);function D(J=1/0){return(0,a.O)(s.Z,J)}},7400:(Qe,fe,y)=>{y.d(fe,{O:()=>ve});var a=y(4704),s=y(560),D=y(5448),J=y(9399),ce=y(7773),ae=y(8880);function ve(te,Ce,Me=1/0){return(0,ae.m)(Ce)?ve((Pe,et)=>(0,a.k)((ke,Be)=>Ce(Pe,ke,et,Be))((0,s.Uv)(te(Pe,et))),Me):("number"==typeof Ce&&(Me=Ce),(0,D.i)((Pe,et)=>function z(te,Ce,Me,Pe,et,ke,Be,Re){const Ne=[];let ot=0,xt=0,lt=!1;const Ge=()=>{lt&&!Ne.length&&!ot&&Ce.complete()},Oe=G=>ot{ke&&Ce.next(G),ot++;let ye=!1;(0,s.Uv)(Me(G,xt++)).subscribe((0,ce.e)(Ce,re=>{null==et||et(re),ke?Oe(re):Ce.next(re)},()=>{ye=!0},void 0,()=>{if(ye)try{for(ot--;Ne.length&&otX(re)):X(re)}Ge()}catch(re){Ce.error(re)}}))};return te.subscribe((0,ce.e)(Ce,Oe,()=>{lt=!0,Ge()})),()=>{null==Re||Re()}}(Pe,et,te,Me)))}},2644:(Qe,fe,y)=>{y.d(fe,{s:()=>s});var a=y(6684);function s(D){return(0,a.I)((J,ce)=>D<=ce)}},5568:(Qe,fe,y)=>{y.d(fe,{W:()=>J});var a=y(7228),s=y(6624),D=y(5448);function J(...ce){const z=(0,s.e_)(ce);return(0,D.i)((ae,ve)=>{(z?(0,a.W)(ce,ae,z):(0,a.W)(ce,ae)).subscribe(ve)})}},7368:(Qe,fe,y)=>{y.d(fe,{G:()=>J});var a=y(560),s=y(5448),D=y(7773);function J(ce,z){return(0,s.i)((ae,ve)=>{let te=null,Ce=0,Me=!1;const Pe=()=>Me&&!te&&ve.complete();ae.subscribe((0,D.e)(ve,et=>{null==te||te.unsubscribe();let ke=0;const Be=Ce++;(0,a.Uv)(ce(et,Be)).subscribe(te=(0,D.e)(ve,Re=>ve.next(z?z(et,Re,Be,ke++):Re),()=>{te=null,Pe()}))},()=>{Me=!0,Pe()}))})}},3992:(Qe,fe,y)=>{y.d(fe,{U:()=>J});var a=y(8960),s=y(5448),D=y(7773);function J(ce){return ce<=0?()=>a.k:(0,s.i)((z,ae)=>{let ve=0;z.subscribe((0,D.e)(ae,te=>{++ve<=ce&&(ae.next(te),ce<=ve&&ae.complete())}))})}},3616:(Qe,fe,y)=>{y.d(fe,{a:()=>ce});var a=y(5448),s=y(7773),D=y(560),J=y(308);function ce(z){return(0,a.i)((ae,ve)=>{(0,D.Uv)(z).subscribe((0,s.e)(ve,()=>ve.complete(),J.K)),!ve.closed&&ae.subscribe(ve)})}},9212:(Qe,fe,y)=>{y.d(fe,{y:()=>ce});var a=y(8880),s=y(5448),D=y(7773),J=y(528);function ce(z,ae,ve){const te=(0,a.m)(z)||ae||ve?{next:z,error:ae,complete:ve}:z;return te?(0,s.i)((Ce,Me)=>{var Pe;null===(Pe=te.subscribe)||void 0===Pe||Pe.call(te);let et=!0;Ce.subscribe((0,D.e)(Me,ke=>{var Be;null===(Be=te.next)||void 0===Be||Be.call(te,ke),Me.next(ke)},()=>{var ke;et=!1,null===(ke=te.complete)||void 0===ke||ke.call(te),Me.complete()},ke=>{var Be;et=!1,null===(Be=te.error)||void 0===Be||Be.call(te,ke),Me.error(ke)},()=>{var ke,Be;et&&(null===(ke=te.unsubscribe)||void 0===ke||ke.call(te)),null===(Be=te.finalize)||void 0===Be||Be.call(te)}))}):J.Z}},1364:(Qe,fe,y)=>{y.d(fe,{m:()=>ce});var a=y(6928);class s extends a.wH{constructor(ae,ve){super()}schedule(ae,ve=0){return this}}const D={setInterval(z,ae,...ve){const{delegate:te}=D;return null!=te&&te.setInterval?te.setInterval(z,ae,...ve):setInterval(z,ae,...ve)},clearInterval(z){const{delegate:ae}=D;return((null==ae?void 0:ae.clearInterval)||clearInterval)(z)},delegate:void 0};var J=y(1248);class ce extends s{constructor(ae,ve){super(ae,ve),this.scheduler=ae,this.work=ve,this.pending=!1}schedule(ae,ve=0){var te;if(this.closed)return this;this.state=ae;const Ce=this.id,Me=this.scheduler;return null!=Ce&&(this.id=this.recycleAsyncId(Me,Ce,ve)),this.pending=!0,this.delay=ve,this.id=null!==(te=this.id)&&void 0!==te?te:this.requestAsyncId(Me,this.id,ve),this}requestAsyncId(ae,ve,te=0){return D.setInterval(ae.flush.bind(ae,this),te)}recycleAsyncId(ae,ve,te=0){if(null!=te&&this.delay===te&&!1===this.pending)return ve;null!=ve&&D.clearInterval(ve)}execute(ae,ve){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const te=this._execute(ae,ve);if(te)return te;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(ae,ve){let Ce,te=!1;try{this.work(ae)}catch(Me){te=!0,Ce=Me||new Error("Scheduled action threw falsy error")}if(te)return this.unsubscribe(),Ce}unsubscribe(){if(!this.closed){const{id:ae,scheduler:ve}=this,{actions:te}=ve;this.work=this.state=this.scheduler=null,this.pending=!1,(0,J.k)(te,this),null!=ae&&(this.id=this.recycleAsyncId(ve,ae,null)),this.delay=null,super.unsubscribe()}}}},9816:(Qe,fe,y)=>{y.d(fe,{k:()=>D});var a=y(5960);class s{constructor(ce,z=s.now){this.schedulerActionCtor=ce,this.now=z}schedule(ce,z=0,ae){return new this.schedulerActionCtor(this,ce).schedule(ae,z)}}s.now=a.K.now;class D extends s{constructor(ce,z=s.now){super(ce,z),this.actions=[],this._active=!1}flush(ce){const{actions:z}=this;if(this._active)return void z.push(ce);let ae;this._active=!0;do{if(ae=ce.execute(ce.state,ce.delay))break}while(ce=z.shift());if(this._active=!1,ae){for(;ce=z.shift();)ce.unsubscribe();throw ae}}}},1472:(Qe,fe,y)=>{y.d(fe,{u:()=>ke});var a=y(1364);let D,s=1;const J={};function ce(Re){return Re in J&&(delete J[Re],!0)}const z={setImmediate(Re){const Ne=s++;return J[Ne]=!0,D||(D=Promise.resolve()),D.then(()=>ce(Ne)&&Re()),Ne},clearImmediate(Re){ce(Re)}},{setImmediate:ve,clearImmediate:te}=z,Ce={setImmediate(...Re){const{delegate:Ne}=Ce;return((null==Ne?void 0:Ne.setImmediate)||ve)(...Re)},clearImmediate(Re){const{delegate:Ne}=Ce;return((null==Ne?void 0:Ne.clearImmediate)||te)(Re)},delegate:void 0};var Pe=y(9816);const ke=new class et extends Pe.k{flush(Ne){this._active=!0;const ot=this._scheduled;this._scheduled=void 0;const{actions:xt}=this;let lt;Ne=Ne||xt.shift();do{if(lt=Ne.execute(Ne.state,Ne.delay))break}while((Ne=xt[0])&&Ne.id===ot&&xt.shift());if(this._active=!1,lt){for(;(Ne=xt[0])&&Ne.id===ot&&xt.shift();)Ne.unsubscribe();throw lt}}}(class Me extends a.m{constructor(Ne,ot){super(Ne,ot),this.scheduler=Ne,this.work=ot}requestAsyncId(Ne,ot,xt=0){return null!==xt&&xt>0?super.requestAsyncId(Ne,ot,xt):(Ne.actions.push(this),Ne._scheduled||(Ne._scheduled=Ce.setImmediate(Ne.flush.bind(Ne,void 0))))}recycleAsyncId(Ne,ot,xt=0){var lt;if(null!=xt?xt>0:this.delay>0)return super.recycleAsyncId(Ne,ot,xt);const{actions:Ge}=Ne;null!=ot&&(null===(lt=Ge[Ge.length-1])||void 0===lt?void 0:lt.id)!==ot&&(Ce.clearImmediate(ot),Ne._scheduled===ot&&(Ne._scheduled=void 0))}})},112:(Qe,fe,y)=>{y.d(fe,{M:()=>D,a:()=>J});var a=y(1364);const D=new(y(9816).k)(a.m),J=D},5960:(Qe,fe,y)=>{y.d(fe,{K:()=>a});const a={now:()=>(a.delegate||Date).now(),delegate:void 0}},3376:(Qe,fe,y)=>{y.d(fe,{u:()=>a});const a={setTimeout(s,D,...J){const{delegate:ce}=a;return null!=ce&&ce.setTimeout?ce.setTimeout(s,D,...J):setTimeout(s,D,...J)},clearTimeout(s){const{delegate:D}=a;return((null==D?void 0:D.clearTimeout)||clearTimeout)(s)},delegate:void 0}},3835:(Qe,fe,y)=>{y.d(fe,{w:()=>s});const s=function a(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},472:(Qe,fe,y)=>{y.d(fe,{a:()=>a});const a="function"==typeof Symbol&&Symbol.observable||"@@observable"},7696:(Qe,fe,y)=>{y.d(fe,{G:()=>s});const s=(0,y(4912).w)(D=>function(){D(this),this.name="EmptyError",this.message="no elements in sequence"})},6624:(Qe,fe,y)=>{y.d(fe,{_8:()=>z,e_:()=>ce,yu:()=>J});var a=y(8880),s=y(3048);function D(ae){return ae[ae.length-1]}function J(ae){return(0,a.m)(D(ae))?ae.pop():void 0}function ce(ae){return(0,s.G)(D(ae))?ae.pop():void 0}function z(ae,ve){return"number"==typeof D(ae)?ae.pop():ve}},4300:(Qe,fe,y)=>{y.d(fe,{Q:()=>ce});const{isArray:a}=Array,{getPrototypeOf:s,prototype:D,keys:J}=Object;function ce(ae){if(1===ae.length){const ve=ae[0];if(a(ve))return{args:ve,keys:null};if(function z(ae){return ae&&"object"==typeof ae&&s(ae)===D}(ve)){const te=J(ve);return{args:te.map(Ce=>ve[Ce]),keys:te}}}return{args:ae,keys:null}}},1248:(Qe,fe,y)=>{function a(s,D){if(s){const J=s.indexOf(D);0<=J&&s.splice(J,1)}}y.d(fe,{k:()=>a})},4912:(Qe,fe,y)=>{function a(s){const J=s(ce=>{Error.call(ce),ce.stack=(new Error).stack});return J.prototype=Object.create(Error.prototype),J.prototype.constructor=J,J}y.d(fe,{w:()=>a})},7904:(Qe,fe,y)=>{function a(s,D){return s.reduce((J,ce,z)=>(J[ce]=D[z],J),{})}y.d(fe,{q:()=>a})},2075:(Qe,fe,y)=>{y.d(fe,{c:()=>D,q:()=>J});var a=y(4491);let s=null;function D(ce){if(a.config.useDeprecatedSynchronousErrorHandling){const z=!s;if(z&&(s={errorThrown:!1,error:null}),ce(),z){const{errorThrown:ae,error:ve}=s;if(s=null,ae)throw ve}}else ce()}function J(ce){a.config.useDeprecatedSynchronousErrorHandling&&s&&(s.errorThrown=!0,s.error=ce)}},9399:(Qe,fe,y)=>{function a(s,D,J,ce=0,z=!1){const ae=D.schedule(function(){J(),z?s.add(this.schedule(null,ce)):this.unsubscribe()},ce);if(s.add(ae),!z)return ae}y.d(fe,{_:()=>a})},528:(Qe,fe,y)=>{function a(s){return s}y.d(fe,{Z:()=>a})},5428:(Qe,fe,y)=>{y.d(fe,{G:()=>a});const a=s=>s&&"number"==typeof s.length&&"function"!=typeof s},376:(Qe,fe,y)=>{y.d(fe,{E:()=>s});var a=y(8880);function s(D){return Symbol.asyncIterator&&(0,a.m)(null==D?void 0:D[Symbol.asyncIterator])}},1252:(Qe,fe,y)=>{function a(s){return s instanceof Date&&!isNaN(s)}y.d(fe,{e:()=>a})},8880:(Qe,fe,y)=>{function a(s){return"function"==typeof s}y.d(fe,{m:()=>a})},5099:(Qe,fe,y)=>{y.d(fe,{O:()=>D});var a=y(472),s=y(8880);function D(J){return(0,s.m)(J[a.a])}},1688:(Qe,fe,y)=>{y.d(fe,{i:()=>D});var a=y(3835),s=y(8880);function D(J){return(0,s.m)(null==J?void 0:J[a.w])}},1116:(Qe,fe,y)=>{y.d(fe,{X:()=>D});var a=y(3252),s=y(8880);function D(J){return!!J&&(J instanceof a._||(0,s.m)(J.lift)&&(0,s.m)(J.subscribe))}},5432:(Qe,fe,y)=>{y.d(fe,{u:()=>s});var a=y(8880);function s(D){return(0,a.m)(null==D?void 0:D.then)}},5832:(Qe,fe,y)=>{y.d(fe,{K:()=>J,_:()=>D});var a=y(1316),s=y(8880);function D(ce){return(0,a.o7)(this,arguments,function*(){const ae=ce.getReader();try{for(;;){const{value:ve,done:te}=yield(0,a.U1)(ae.read());if(te)return yield(0,a.U1)(void 0);yield yield(0,a.U1)(ve)}}finally{ae.releaseLock()}})}function J(ce){return(0,s.m)(null==ce?void 0:ce.getReader)}},3048:(Qe,fe,y)=>{y.d(fe,{G:()=>s});var a=y(8880);function s(D){return D&&(0,a.m)(D.schedule)}},5448:(Qe,fe,y)=>{y.d(fe,{e:()=>s,i:()=>D});var a=y(8880);function s(J){return(0,a.m)(null==J?void 0:J.lift)}function D(J){return ce=>{if(s(ce))return ce.lift(function(z){try{return J(z,this)}catch(ae){this.error(ae)}});throw new TypeError("Unable to lift unknown Observable type")}}},4187:(Qe,fe,y)=>{y.d(fe,{j:()=>J});var a=y(4704);const{isArray:s}=Array;function J(ce){return(0,a.k)(z=>function D(ce,z){return s(z)?ce(...z):ce(z)}(ce,z))}},308:(Qe,fe,y)=>{function a(){}y.d(fe,{K:()=>a})},3928:(Qe,fe,y)=>{y.d(fe,{W:()=>s,Y:()=>D});var a=y(528);function s(...J){return D(J)}function D(J){return 0===J.length?a.Z:1===J.length?J[0]:function(z){return J.reduce((ae,ve)=>ve(ae),z)}}},1984:(Qe,fe,y)=>{y.d(fe,{U:()=>D});var a=y(4491),s=y(3376);function D(J){s.u.setTimeout(()=>{const{onUnhandledError:ce}=a.config;if(!ce)throw J;ce(J)})}},8272:(Qe,fe,y)=>{function a(s){return new TypeError("You provided ".concat(null!==s&&"object"==typeof s?"an invalid object":"'".concat(s,"'")," where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable."))}y.d(fe,{W:()=>a})},9684:(Qe,fe,y)=>{y.d(fe,{AN:()=>s,Cs:()=>J,K2:()=>ve,Ql:()=>Pe,Wq:()=>ye,aK:()=>Ce,aM:()=>re,gV:()=>D,iC:()=>z,kP:()=>G,kt:()=>ke,m0:()=>a,wb:()=>ae,yA:()=>ce});var a=function(ie){return ie[ie.State=0]="State",ie[ie.Transition=1]="Transition",ie[ie.Sequence=2]="Sequence",ie[ie.Group=3]="Group",ie[ie.Animate=4]="Animate",ie[ie.Keyframes=5]="Keyframes",ie[ie.Style=6]="Style",ie[ie.Trigger=7]="Trigger",ie[ie.Reference=8]="Reference",ie[ie.AnimateChild=9]="AnimateChild",ie[ie.AnimateRef=10]="AnimateRef",ie[ie.Query=11]="Query",ie[ie.Stagger=12]="Stagger",ie}(a||{});const s="*";function D(ie,me){return{type:a.Trigger,name:ie,definitions:me,options:{}}}function J(ie,me=null){return{type:a.Animate,styles:me,timings:ie}}function ce(ie,me=null){return{type:a.Group,steps:ie,options:me}}function z(ie,me=null){return{type:a.Sequence,steps:ie,options:me}}function ae(ie){return{type:a.Style,styles:ie,offset:null}}function ve(ie,me,Xe){return{type:a.State,name:ie,styles:me,options:Xe}}function Ce(ie,me,Xe=null){return{type:a.Transition,expr:ie,animation:me,options:Xe}}function Pe(ie=null){return{type:a.AnimateChild,options:ie}}function ke(ie,me,Xe=null){return{type:a.Query,selector:ie,animation:me,options:Xe}}class G{constructor(me=0,Xe=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+Xe}_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 Xe="start"==me?this._onStartFns:this._onDoneFns;Xe.forEach(pt=>pt()),Xe.length=0}}class ye{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 Xe=0,pt=0,Pt=0;const Tt=this.players.length;0==Tt?queueMicrotask(()=>this._onFinish()):this.players.forEach(on=>{on.onDone(()=>{++Xe==Tt&&this._onFinish()}),on.onDestroy(()=>{++pt==Tt&&this._onDestroy()}),on.onStart(()=>{++Pt==Tt&&this._onStart()})}),this.totalTime=this.players.reduce((on,vt)=>Math.max(on,vt.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 Xe=me*this.totalTime;this.players.forEach(pt=>{const Pt=pt.totalTime?Math.min(1,Xe/pt.totalTime):1;pt.setPosition(Pt)})}getPosition(){const me=this.players.reduce((Xe,pt)=>null===Xe||pt.totalTime>Xe.totalTime?pt:Xe,null);return null!=me?me.getPosition():0}beforeDestroy(){this.players.forEach(me=>{me.beforeDestroy&&me.beforeDestroy()})}triggerCallback(me){const Xe="start"==me?this._onStartFns:this._onDoneFns;Xe.forEach(pt=>pt()),Xe.length=0}}const re="!"},4723:(Qe,fe,y)=>{y.d(fe,{AZ:()=>Ge,Cs:()=>Oe,G:()=>le,G3:()=>Xt,IH:()=>on,Kk:()=>Lt,MM:()=>pi,OE:()=>qe,Ux:()=>Ze,mE:()=>Y,mJ:()=>Tt,o9:()=>me,q0:()=>gn});var a=y(1368),s=y(4496),D=y(5792),J=y(5657),ce=y(6928),z=y(6700),ae=y(2700),ve=y(7800),te=y(9212),Ce=y(4680),Me=y(6684),Pe=y(4704),et=y(3992),ke=y(2644),Be=y(4e3),Re=y(3616),Ne=y(6640),ot=y(7712),xt=y(1216);const lt=" ";function Ge(V,$,k){const O=X(V,$);k=k.trim(),!O.some(B=>B.trim()===k)&&(O.push(k),V.setAttribute($,O.join(lt)))}function Oe(V,$,k){const O=X(V,$);k=k.trim();const B=O.filter(N=>N!==k);B.length?V.setAttribute($,B.join(lt)):V.removeAttribute($)}function X(V,$){var k;const O=V.getAttribute($);return null!==(k=null==O?void 0:O.match(/\S+/g))&&void 0!==k?k:[]}const ye="cdk-describedby-message",re="cdk-describedby-host";let ie=0,me=(()=>{var V;class ${constructor(O,B){this._platform=B,this._messageRegistry=new Map,this._messagesContainer=null,this._id="".concat(ie++),this._document=O,this._id=(0,s.uUt)(s.QHP)+"-"+ie++}describe(O,B,N){if(!this._canBeDescribed(O,B))return;const q=Xe(B,N);"string"!=typeof B?(pt(B,this._id),this._messageRegistry.set(q,{messageElement:B,referenceCount:0})):this._messageRegistry.has(q)||this._createMessageElement(B,N),this._isElementDescribedByMessage(O,q)||this._addMessageReference(O,q)}removeDescription(O,B,N){var q;if(!B||!this._isElementNode(O))return;const nt=Xe(B,N);if(this._isElementDescribedByMessage(O,nt)&&this._removeMessageReference(O,nt),"string"==typeof B){const xe=this._messageRegistry.get(nt);xe&&0===xe.referenceCount&&this._deleteMessageElement(nt)}0===(null===(q=this._messagesContainer)||void 0===q?void 0:q.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var O;const B=this._document.querySelectorAll("[".concat(re,'="').concat(this._id,'"]'));for(let N=0;N0!=N.indexOf(ye));O.setAttribute("aria-describedby",B.join(" "))}_addMessageReference(O,B){const N=this._messageRegistry.get(B);Ge(O,"aria-describedby",N.messageElement.id),O.setAttribute(re,this._id),N.referenceCount++}_removeMessageReference(O,B){const N=this._messageRegistry.get(B);N.referenceCount--,Oe(O,"aria-describedby",N.messageElement.id),O.removeAttribute(re)}_isElementDescribedByMessage(O,B){const N=X(O,"aria-describedby"),q=this._messageRegistry.get(B),nt=q&&q.messageElement.id;return!!nt&&-1!=N.indexOf(nt)}_canBeDescribed(O,B){if(!this._isElementNode(O))return!1;if(B&&"object"==typeof B)return!0;const N=null==B?"":"".concat(B).trim(),q=O.getAttribute("aria-label");return!(!N||q&&q.trim()===N)}_isElementNode(O){return O.nodeType===this._document.ELEMENT_NODE}}return(V=$).\u0275fac=function(O){return new(O||V)(s.CoB(a.Ud),s.CoB(D.WU))},V.\u0275prov=s.wxM({token:V,factory:V.\u0275fac,providedIn:"root"}),$})();function Xe(V,$){return"string"==typeof V?"".concat($||"","/").concat(V):V}function pt(V,$){V.id||(V.id="".concat(ye,"-").concat($,"-").concat(ie++))}class Pt{constructor($){this._items=$,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new J.E,this._typeaheadSubscription=ce.wH.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=k=>k.disabled,this._pressedLetters=[],this.tabOut=new J.E,this.change=new J.E,$ instanceof s.VhX&&(this._itemChangesSubscription=$.changes.subscribe(k=>{if(this._activeItem){const B=k.toArray().indexOf(this._activeItem);B>-1&&B!==this._activeItemIndex&&(this._activeItemIndex=B)}}))}skipPredicate($){return this._skipPredicateFn=$,this}withWrap($=!0){return this._wrap=$,this}withVerticalOrientation($=!0){return this._vertical=$,this}withHorizontalOrientation($){return this._horizontal=$,this}withAllowedModifierKeys($){return this._allowedModifierKeys=$,this}withTypeAhead($=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,te.y)(k=>this._pressedLetters.push(k)),(0,Ce.o)($),(0,Me.I)(()=>this._pressedLetters.length>0),(0,Pe.k)(()=>this._pressedLetters.join(""))).subscribe(k=>{const O=this._getItemsArray();for(let B=1;B!$[N]||this._allowedModifierKeys.indexOf(N)>-1);switch(k){case ve.k0:return void this.tabOut.next();case ve.Oq:if(this._vertical&&B){this.setNextItemActive();break}return;case ve.qI:if(this._vertical&&B){this.setPreviousItemActive();break}return;case ve.a4:if(this._horizontal&&B){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case ve.Mx:if(this._horizontal&&B){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case ve.qU:if(this._homeAndEnd&&B){this.setFirstItemActive();break}return;case ve.Mp:if(this._homeAndEnd&&B){this.setLastItemActive();break}return;case ve.u_:if(this._pageUpAndDown.enabled&&B){const N=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(N>0?N:0,1);break}return;case ve.yI:if(this._pageUpAndDown.enabled&&B){const N=this._activeItemIndex+this._pageUpAndDown.delta,q=this._getItemsArray().length;this._setActiveItemByIndex(N=ve.A&&k<=ve.Z||k>=ve._I&&k<=ve.SQ)&&this._letterKeyStream.next(String.fromCharCode(k))))}this._pressedLetters=[],$.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($){const k=this._getItemsArray(),O="number"==typeof $?$:k.indexOf($),B=k[O];this._activeItem=null==B?null:B,this._activeItemIndex=O}destroy(){var $;this._typeaheadSubscription.unsubscribe(),null===($=this._itemChangesSubscription)||void 0===$||$.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta($){this._wrap?this._setActiveInWrapMode($):this._setActiveInDefaultMode($)}_setActiveInWrapMode($){const k=this._getItemsArray();for(let O=1;O<=k.length;O++){const B=(this._activeItemIndex+$*O+k.length)%k.length;if(!this._skipPredicateFn(k[B]))return void this.setActiveItem(B)}}_setActiveInDefaultMode($){this._setActiveItemByIndex(this._activeItemIndex+$,$)}_setActiveItemByIndex($,k){const O=this._getItemsArray();if(O[$]){for(;this._skipPredicateFn(O[$]);)if(!O[$+=k])return;this.setActiveItem($)}}_getItemsArray(){return this._items instanceof s.VhX?this._items.toArray():this._items}}class Tt extends Pt{setActiveItem($){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem($),this.activeItem&&this.activeItem.setActiveStyles()}}class on extends Pt{constructor(){super(...arguments),this._origin="program"}setFocusOrigin($){return this._origin=$,this}setActiveItem($){super.setActiveItem($),this.activeItem&&this.activeItem.focus(this._origin)}}let qe=(()=>{var V;class ${constructor(O){this._platform=O}isDisabled(O){return O.hasAttribute("disabled")}isVisible(O){return function _e(V){return!!(V.offsetWidth||V.offsetHeight||"function"==typeof V.getClientRects&&V.getClientRects().length)}(O)&&"visible"===getComputedStyle(O).visibility}isTabbable(O){if(!this._platform.isBrowser)return!1;const B=function De(V){try{return V.frameElement}catch{return null}}(function Zt(V){return V.ownerDocument&&V.ownerDocument.defaultView||window}(O));if(B&&(-1===ln(B)||!this.isVisible(B)))return!1;let N=O.nodeName.toLowerCase(),q=ln(O);return O.hasAttribute("contenteditable")?-1!==q:!("iframe"===N||"object"===N||this._platform.WEBKIT&&this._platform.IOS&&!function Gt(V){let $=V.nodeName.toLowerCase(),k="input"===$&&V.type;return"text"===k||"password"===k||"select"===$||"textarea"===$}(O))&&("audio"===N?!!O.hasAttribute("controls")&&-1!==q:"video"===N?-1!==q&&(null!==q||this._platform.FIREFOX||O.hasAttribute("controls")):O.tabIndex>=0)}isFocusable(O,B){return function ct(V){return!function Ke(V){return function st(V){return"input"==V.nodeName.toLowerCase()}(V)&&"hidden"==V.type}(V)&&(function Se(V){let $=V.nodeName.toLowerCase();return"input"===$||"select"===$||"button"===$||"textarea"===$}(V)||function ht(V){return function Ft(V){return"a"==V.nodeName.toLowerCase()}(V)&&V.hasAttribute("href")}(V)||V.hasAttribute("contenteditable")||Kt(V))}(O)&&!this.isDisabled(O)&&((null==B?void 0:B.ignoreVisibility)||this.isVisible(O))}}return(V=$).\u0275fac=function(O){return new(O||V)(s.CoB(D.WU))},V.\u0275prov=s.wxM({token:V,factory:V.\u0275fac,providedIn:"root"}),$})();function Kt(V){if(!V.hasAttribute("tabindex")||void 0===V.tabIndex)return!1;let $=V.getAttribute("tabindex");return!(!$||isNaN(parseInt($,10)))}function ln(V){if(!Kt(V))return null;const $=parseInt(V.getAttribute("tabindex")||"",10);return isNaN($)?-1:$}class Ut{get enabled(){return this._enabled}set enabled($){this._enabled=$,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex($,this._startAnchor),this._toggleAnchorTabIndex($,this._endAnchor))}constructor($,k,O,B,N=!1){this._element=$,this._checker=k,this._ngZone=O,this._document=B,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,N||this.attachAnchors()}destroy(){const $=this._startAnchor,k=this._endAnchor;$&&($.removeEventListener("focus",this.startAnchorListener),$.remove()),k&&(k.removeEventListener("focus",this.endAnchorListener),k.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($){return new Promise(k=>{this._executeOnStable(()=>k(this.focusInitialElement($)))})}focusFirstTabbableElementWhenReady($){return new Promise(k=>{this._executeOnStable(()=>k(this.focusFirstTabbableElement($)))})}focusLastTabbableElementWhenReady($){return new Promise(k=>{this._executeOnStable(()=>k(this.focusLastTabbableElement($)))})}_getRegionBoundary($){const k=this._element.querySelectorAll("[cdk-focus-region-".concat($,"], ")+"[cdkFocusRegion".concat($,"], ")+"[cdk-focus-".concat($,"]"));return"start"==$?k.length?k[0]:this._getFirstTabbableElement(this._element):k.length?k[k.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement($){const k=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(k){if(!this._checker.isFocusable(k)){const O=this._getFirstTabbableElement(k);return null==O||O.focus($),!!O}return k.focus($),!0}return this.focusFirstTabbableElement($)}focusFirstTabbableElement($){const k=this._getRegionBoundary("start");return k&&k.focus($),!!k}focusLastTabbableElement($){const k=this._getRegionBoundary("end");return k&&k.focus($),!!k}hasAttached(){return this._hasAttached}_getFirstTabbableElement($){if(this._checker.isFocusable($)&&this._checker.isTabbable($))return $;const k=$.children;for(let O=0;O=0;O--){const B=k[O].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(k[O]):null;if(B)return B}return null}_createAnchor(){const $=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,$),$.classList.add("cdk-visually-hidden"),$.classList.add("cdk-focus-trap-anchor"),$.setAttribute("aria-hidden","true"),$}_toggleAnchorTabIndex($,k){$?k.setAttribute("tabindex","0"):k.removeAttribute("tabindex")}toggleAnchors($){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex($,this._startAnchor),this._toggleAnchorTabIndex($,this._endAnchor))}_executeOnStable($){this._ngZone.isStable?$():this._ngZone.onStable.pipe((0,et.U)(1)).subscribe($)}}let le=(()=>{var V;class ${constructor(O,B,N){this._checker=O,this._ngZone=B,this._document=N}create(O,B=!1){return new Ut(O,this._checker,this._ngZone,this._document,B)}}return(V=$).\u0275fac=function(O){return new(O||V)(s.CoB(qe),s.CoB(s.WW2),s.CoB(a.Ud))},V.\u0275prov=s.wxM({token:V,factory:V.\u0275fac,providedIn:"root"}),$})();function Xt(V){return 0===V.buttons||0===V.detail}function gn(V){const $=V.touches&&V.touches[0]||V.changedTouches&&V.changedTouches[0];return!(!$||-1!==$.identifier||null!=$.radiusX&&1!==$.radiusX||null!=$.radiusY&&1!==$.radiusY)}const cn=new s.UbH("cdk-input-modality-detector-options"),qn={ignoreKeys:[ve.A$,ve.s9,ve.GW,ve._Y,ve._u]},P=(0,D.W4)({passive:!0,capture:!0});let Ee=(()=>{var V;class ${get mostRecentModality(){return this._modality.value}constructor(O,B,N,q){this._platform=O,this._mostRecentTarget=null,this._modality=new z.g(null),this._lastTouchMs=0,this._onKeydown=nt=>{var xe;null!==(xe=this._options)&&void 0!==xe&&null!==(xe=xe.ignoreKeys)&&void 0!==xe&&xe.some(be=>be===nt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,D.oZ)(nt))},this._onMousedown=nt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Xt(nt)?"keyboard":"mouse"),this._mostRecentTarget=(0,D.oZ)(nt))},this._onTouchstart=nt=>{gn(nt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,D.oZ)(nt))},this._options={...qn,...q},this.modalityDetected=this._modality.pipe((0,ke.s)(1)),this.modalityChanged=this.modalityDetected.pipe((0,Be.a)()),O.isBrowser&&B.runOutsideAngular(()=>{N.addEventListener("keydown",this._onKeydown,P),N.addEventListener("mousedown",this._onMousedown,P),N.addEventListener("touchstart",this._onTouchstart,P)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,P),document.removeEventListener("mousedown",this._onMousedown,P),document.removeEventListener("touchstart",this._onTouchstart,P))}}return(V=$).\u0275fac=function(O){return new(O||V)(s.CoB(D.WU),s.CoB(s.WW2),s.CoB(a.Ud),s.CoB(cn,8))},V.\u0275prov=s.wxM({token:V,factory:V.\u0275fac,providedIn:"root"}),$})();const se=new s.UbH("liveAnnouncerElement",{providedIn:"root",factory:function ee(){return null}}),Ie=new s.UbH("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Ue=0,Y=(()=>{var V;class ${constructor(O,B,N,q){this._ngZone=B,this._defaultOptions=q,this._document=N,this._liveElement=O||this._createLiveElement()}announce(O,...B){const N=this._defaultOptions;let q,nt;return 1===B.length&&"number"==typeof B[0]?nt=B[0]:[q,nt]=B,this.clear(),clearTimeout(this._previousTimeout),q||(q=N&&N.politeness?N.politeness:"polite"),null==nt&&N&&(nt=N.duration),this._liveElement.setAttribute("aria-live",q),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(xe=>this._currentResolve=xe)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=O,"number"==typeof nt&&(this._previousTimeout=setTimeout(()=>this.clear(),nt)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var O,B;clearTimeout(this._previousTimeout),null===(O=this._liveElement)||void 0===O||O.remove(),this._liveElement=null,null===(B=this._currentResolve)||void 0===B||B.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const O="cdk-live-announcer-element",B=this._document.getElementsByClassName(O),N=this._document.createElement("div");for(let q=0;q .cdk-overlay-container [aria-modal="true"]');for(let N=0;N{var V;class ${constructor(O,B,N,q,nt){this._ngZone=O,this._platform=B,this._inputModalityDetector=N,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 J.E,this._rootNodeFocusAndBlurListener=xe=>{for(let Ae=(0,D.oZ)(xe);Ae;Ae=Ae.parentElement)"focus"===xe.type?this._onFocus(xe,Ae):this._onBlur(xe,Ae)},this._document=q,this._detectionMode=(null==nt?void 0:nt.detectionMode)||Ye.IMMEDIATE}monitor(O,B=!1){const N=(0,ot.mk)(O);if(!this._platform.isBrowser||1!==N.nodeType)return(0,ae.of)();const q=(0,D.C8)(N)||this._getDocument(),nt=this._elementInfo.get(N);if(nt)return B&&(nt.checkChildren=!0),nt.subject;const xe={checkChildren:B,subject:new J.E,rootNode:q};return this._elementInfo.set(N,xe),this._registerGlobalListeners(xe),xe.subject}stopMonitoring(O){const B=(0,ot.mk)(O),N=this._elementInfo.get(B);N&&(N.subject.complete(),this._setClasses(B),this._elementInfo.delete(B),this._removeGlobalListeners(N))}focusVia(O,B,N){const q=(0,ot.mk)(O);q===this._getDocument().activeElement?this._getClosestElementsInfo(q).forEach(([xe,be])=>this._originChanged(xe,B,be)):(this._setOrigin(B),"function"==typeof q.focus&&q.focus(N))}ngOnDestroy(){this._elementInfo.forEach((O,B)=>this.stopMonitoring(B))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(O){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(O)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:O&&this._isLastInteractionFromInputLabel(O)?"mouse":"program"}_shouldBeAttributedToTouch(O){return this._detectionMode===Ye.EVENTUAL||!(null==O||!O.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(O,B){O.classList.toggle("cdk-focused",!!B),O.classList.toggle("cdk-touch-focused","touch"===B),O.classList.toggle("cdk-keyboard-focused","keyboard"===B),O.classList.toggle("cdk-mouse-focused","mouse"===B),O.classList.toggle("cdk-program-focused","program"===B)}_setOrigin(O,B=!1){this._ngZone.runOutsideAngular(()=>{this._origin=O,this._originFromTouchInteraction="touch"===O&&B,this._detectionMode===Ye.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(O,B){const N=this._elementInfo.get(B),q=(0,D.oZ)(O);!N||!N.checkChildren&&B!==q||this._originChanged(B,this._getFocusOrigin(q),N)}_onBlur(O,B){const N=this._elementInfo.get(B);!N||N.checkChildren&&O.relatedTarget instanceof Node&&B.contains(O.relatedTarget)||(this._setClasses(B),this._emitOrigin(N,null))}_emitOrigin(O,B){O.subject.observers.length&&this._ngZone.run(()=>O.subject.next(B))}_registerGlobalListeners(O){if(!this._platform.isBrowser)return;const B=O.rootNode,N=this._rootNodeFocusListenerCount.get(B)||0;N||this._ngZone.runOutsideAngular(()=>{B.addEventListener("focus",this._rootNodeFocusAndBlurListener,Et),B.addEventListener("blur",this._rootNodeFocusAndBlurListener,Et)}),this._rootNodeFocusListenerCount.set(B,N+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Re.a)(this._stopInputModalityDetector)).subscribe(q=>{this._setOrigin(q,!0)}))}_removeGlobalListeners(O){const B=O.rootNode;if(this._rootNodeFocusListenerCount.has(B)){const N=this._rootNodeFocusListenerCount.get(B);N>1?this._rootNodeFocusListenerCount.set(B,N-1):(B.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Et),B.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Et),this._rootNodeFocusListenerCount.delete(B))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(O,B,N){this._setClasses(O,B),this._emitOrigin(N,B),this._lastFocusOrigin=B}_getClosestElementsInfo(O){const B=[];return this._elementInfo.forEach((N,q)=>{(q===O||N.checkChildren&&q.contains(O))&&B.push([q,N])}),B}_isLastInteractionFromInputLabel(O){const{_mostRecentTarget:B,mostRecentModality:N}=this._inputModalityDetector;if("mouse"!==N||!B||B===O||"INPUT"!==O.nodeName&&"TEXTAREA"!==O.nodeName||O.disabled)return!1;const q=O.labels;if(q)for(let nt=0;nt{var V;class ${constructor(O,B){this._platform=O,this._document=B,this._breakpointSubscription=(0,s.uUt)(xt.w$).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return sn.NONE;const O=this._document.createElement("div");O.style.backgroundColor="rgb(1,2,3)",O.style.position="absolute",this._document.body.appendChild(O);const B=this._document.defaultView||window,N=B&&B.getComputedStyle?B.getComputedStyle(O):null,q=(N&&N.backgroundColor||"").replace(/ /g,"");switch(O.remove(),q){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return sn.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return sn.BLACK_ON_WHITE}return sn.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const O=this._document.body.classList;O.remove(ai,Dn,bn),this._hasCheckedHighContrastMode=!0;const B=this.getHighContrastMode();B===sn.BLACK_ON_WHITE?O.add(ai,Dn):B===sn.WHITE_ON_BLACK&&O.add(ai,bn)}}}return(V=$).\u0275fac=function(O){return new(O||V)(s.CoB(D.WU),s.CoB(a.Ud))},V.\u0275prov=s.wxM({token:V,factory:V.\u0275fac,providedIn:"root"}),$})(),Ze=(()=>{var V;class ${constructor(O){O._applyBodyHighContrastModeCssClasses()}}return(V=$).\u0275fac=function(O){return new(O||V)(s.CoB(pi))},V.\u0275mod=s.a4G({type:V}),V.\u0275inj=s.s3X({imports:[Ne.IT]}),$})()},1900:(Qe,fe,y)=>{y.d(fe,{gN:()=>te,yG:()=>ae});var a=y(4496),s=y(1368);const D=new a.UbH("cdk-dir-doc",{providedIn:"root",factory:function J(){return(0,a.uUt)(s.Ud)}}),ce=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let ae=(()=>{var Ce;class Me{constructor(et){this.value="ltr",this.change=new a._w7,et&&(this.value=function z(Ce){var Me;const Pe=(null==Ce?void 0:Ce.toLowerCase())||"";return"auto"===Pe&&typeof navigator<"u"&&null!==(Me=navigator)&&void 0!==Me&&Me.language?ce.test(navigator.language)?"rtl":"ltr":"rtl"===Pe?"rtl":"ltr"}((et.body?et.body.dir:null)||(et.documentElement?et.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return(Ce=Me).\u0275fac=function(et){return new(et||Ce)(a.CoB(D,8))},Ce.\u0275prov=a.wxM({token:Ce,factory:Ce.\u0275fac,providedIn:"root"}),Me})(),te=(()=>{var Ce;class Me{}return(Ce=Me).\u0275fac=function(et){return new(et||Ce)},Ce.\u0275mod=a.a4G({type:Ce}),Ce.\u0275inj=a.s3X({}),Me})()},7712:(Qe,fe,y)=>{y.d(fe,{Mt:()=>ce,W6:()=>s,mk:()=>ae,ph:()=>z,wZ:()=>D});var a=y(4496);function s(te){return null!=te&&"false"!=="".concat(te)}function D(te,Ce=0){return function J(te){return!isNaN(parseFloat(te))&&!isNaN(Number(te))}(te)?Number(te):Ce}function ce(te){return Array.isArray(te)?te:[te]}function z(te){return null==te?"":"string"==typeof te?te:"".concat(te,"px")}function ae(te){return te instanceof a.GMv?te.nativeElement:te}},1032:(Qe,fe,y)=>{y.d(fe,{e2:()=>Pe,kT:()=>ke}),y(1116),y(2700);var D=y(5657),J=y(4496);class Pe{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(Re=!1,Ne,ot=!0,xt){this._multiple=Re,this._emitChanges=ot,this.compareWith=xt,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new D.E,Ne&&Ne.length&&(Re?Ne.forEach(lt=>this._markSelected(lt)):this._markSelected(Ne[0]),this._selectedToEmit.length=0)}select(...Re){this._verifyValueAssignment(Re),Re.forEach(ot=>this._markSelected(ot));const Ne=this._hasQueuedChanges();return this._emitChangeEvent(),Ne}deselect(...Re){this._verifyValueAssignment(Re),Re.forEach(ot=>this._unmarkSelected(ot));const Ne=this._hasQueuedChanges();return this._emitChangeEvent(),Ne}setSelection(...Re){this._verifyValueAssignment(Re);const Ne=this.selected,ot=new Set(Re);Re.forEach(lt=>this._markSelected(lt)),Ne.filter(lt=>!ot.has(this._getConcreteValue(lt,ot))).forEach(lt=>this._unmarkSelected(lt));const xt=this._hasQueuedChanges();return this._emitChangeEvent(),xt}toggle(Re){return this.isSelected(Re)?this.deselect(Re):this.select(Re)}clear(Re=!0){this._unmarkAll();const Ne=this._hasQueuedChanges();return Re&&this._emitChangeEvent(),Ne}isSelected(Re){return this._selection.has(this._getConcreteValue(Re))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(Re){this._multiple&&this.selected&&this._selected.sort(Re)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(Re){Re=this._getConcreteValue(Re),this.isSelected(Re)||(this._multiple||this._unmarkAll(),this.isSelected(Re)||this._selection.add(Re),this._emitChanges&&this._selectedToEmit.push(Re))}_unmarkSelected(Re){Re=this._getConcreteValue(Re),this.isSelected(Re)&&(this._selection.delete(Re),this._emitChanges&&this._deselectedToEmit.push(Re))}_unmarkAll(){this.isEmpty()||this._selection.forEach(Re=>this._unmarkSelected(Re))}_verifyValueAssignment(Re){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(Re,Ne){if(this.compareWith){var ot;Ne=null!==(ot=Ne)&&void 0!==ot?ot:this._selection;for(let xt of Ne)if(this.compareWith(Re,xt))return xt;return Re}return Re}}let ke=(()=>{var Be;class Re{constructor(){this._listeners=[]}notify(ot,xt){for(let lt of this._listeners)lt(ot,xt)}listen(ot){return this._listeners.push(ot),()=>{this._listeners=this._listeners.filter(xt=>ot!==xt)}}ngOnDestroy(){this._listeners=[]}}return(Be=Re).\u0275fac=function(ot){return new(ot||Be)},Be.\u0275prov=J.wxM({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Re})()},7800:(Qe,fe,y)=>{y.d(fe,{A:()=>Ke,A$:()=>ve,GW:()=>gi,Gi:()=>Pe,Mp:()=>Be,Mx:()=>Ne,Oq:()=>lt,SQ:()=>vt,UX:()=>Me,Yp:()=>Nt,Z:()=>ee,_I:()=>ye,_Y:()=>Ie,_u:()=>z,a4:()=>xt,k0:()=>D,qI:()=>ot,qU:()=>Re,s9:()=>ae,u_:()=>et,wJ:()=>ce,yI:()=>ke});const D=9,ce=13,z=16,ae=17,ve=18,Me=27,Pe=32,et=33,ke=34,Be=35,Re=36,Ne=37,ot=38,xt=39,lt=40,ye=48,vt=57,Ke=65,ee=90,Ie=91,gi=224;function Nt(Tn,...ii){return ii.length?ii.some(oi=>Tn[oi]):Tn.altKey||Tn.shiftKey||Tn.ctrlKey||Tn.metaKey}},1216:(Qe,fe,y)=>{y.d(fe,{O2:()=>ke,w$:()=>lt});var a=y(4496),s=y(7712),D=y(5657),J=y(6040),ce=y(7228),z=y(3252),ae=y(3992),ve=y(2644),te=y(4680),Ce=y(4704),Me=y(5568),Pe=y(3616),et=y(5792);let ke=(()=>{var X;class G{}return(X=G).\u0275fac=function(re){return new(re||X)},X.\u0275mod=a.a4G({type:X}),X.\u0275inj=a.s3X({}),G})();const Be=new Set;let Re,Ne=(()=>{var X;class G{constructor(re,ie){this._platform=re,this._nonce=ie,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):xt}matchMedia(re){return(this._platform.WEBKIT||this._platform.BLINK)&&function ot(X,G){if(!Be.has(X))try{Re||(Re=document.createElement("style"),G&&(Re.nonce=G),Re.setAttribute("type","text/css"),document.head.appendChild(Re)),Re.sheet&&(Re.sheet.insertRule("@media ".concat(X," {body{ }}"),0),Be.add(X))}catch(ye){console.error(ye)}}(re,this._nonce),this._matchMedia(re)}}return(X=G).\u0275fac=function(re){return new(re||X)(a.CoB(et.WU),a.CoB(a.YND,8))},X.\u0275prov=a.wxM({token:X,factory:X.\u0275fac,providedIn:"root"}),G})();function xt(X){return{matches:"all"===X||""===X,media:X,addListener:()=>{},removeListener:()=>{}}}let lt=(()=>{var X;class G{constructor(re,ie){this._mediaMatcher=re,this._zone=ie,this._queries=new Map,this._destroySubject=new D.E}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(re){return Ge((0,s.Mt)(re)).some(me=>this._registerQuery(me).mql.matches)}observe(re){const me=Ge((0,s.Mt)(re)).map(pt=>this._registerQuery(pt).observable);let Xe=(0,J.E)(me);return Xe=(0,ce.W)(Xe.pipe((0,ae.U)(1)),Xe.pipe((0,ve.s)(1),(0,te.o)(0))),Xe.pipe((0,Ce.k)(pt=>{const Pt={matches:!1,breakpoints:{}};return pt.forEach(({matches:Tt,query:on})=>{Pt.matches=Pt.matches||Tt,Pt.breakpoints[on]=Tt}),Pt}))}_registerQuery(re){if(this._queries.has(re))return this._queries.get(re);const ie=this._mediaMatcher.matchMedia(re),Xe={observable:new z._(pt=>{const Pt=Tt=>this._zone.run(()=>pt.next(Tt));return ie.addListener(Pt),()=>{ie.removeListener(Pt)}}).pipe((0,Me.W)(ie),(0,Ce.k)(({matches:pt})=>({query:re,matches:pt})),(0,Pe.a)(this._destroySubject)),mql:ie};return this._queries.set(re,Xe),Xe}}return(X=G).\u0275fac=function(re){return new(re||X)(a.CoB(Ne),a.CoB(a.WW2))},X.\u0275prov=a.wxM({token:X,factory:X.\u0275fac,providedIn:"root"}),G})();function Ge(X){return X.map(G=>G.split(",")).reduce((G,ye)=>G.concat(ye)).map(G=>G.trim())}},6640:(Qe,fe,y)=>{y.d(fe,{IT:()=>ce});var a=y(4496);let s=(()=>{var z;class ae{create(te){return typeof MutationObserver>"u"?null:new MutationObserver(te)}}return(z=ae).\u0275fac=function(te){return new(te||z)},z.\u0275prov=a.wxM({token:z,factory:z.\u0275fac,providedIn:"root"}),ae})(),ce=(()=>{var z;class ae{}return(z=ae).\u0275fac=function(te){return new(te||z)},z.\u0275mod=a.a4G({type:z}),z.\u0275inj=a.s3X({providers:[s]}),ae})()},68:(Qe,fe,y)=>{y.d(fe,{eC:()=>Mt,wW:()=>$e,mc:()=>Ve,o9:()=>ie,Y:()=>De,Y1:()=>cn,aq:()=>_e});var a=y(3572),s=y(1368),D=y(4496),J=y(7712),ce=y(5792),z=y(6684),ae=y(3992),ve=y(3616),te=y(5448),Ce=y(7773),Pe=y(1900),et=y(2488),ke=y(5657),Be=y(6928),Re=y(3412),Ne=y(7800);const ot=(0,ce.kk)();class xt{constructor(P,Ee){this._viewportRuler=P,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Ee}attach(){}enable(){if(this._canBeEnabled()){const P=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=P.style.left||"",this._previousHTMLStyles.top=P.style.top||"",P.style.left=(0,J.ph)(-this._previousScrollPosition.left),P.style.top=(0,J.ph)(-this._previousScrollPosition.top),P.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const P=this._document.documentElement,se=P.style,ee=this._document.body.style,Ie=se.scrollBehavior||"",Ue=ee.scrollBehavior||"";this._isEnabled=!1,se.left=this._previousHTMLStyles.left,se.top=this._previousHTMLStyles.top,P.classList.remove("cdk-global-scrollblock"),ot&&(se.scrollBehavior=ee.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ot&&(se.scrollBehavior=Ie,ee.scrollBehavior=Ue)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Ee=this._document.body,se=this._viewportRuler.getViewportSize();return Ee.scrollHeight>se.height||Ee.scrollWidth>se.width}}class Ge{constructor(P,Ee,se,ee){this._scrollDispatcher=P,this._ngZone=Ee,this._viewportRuler=se,this._config=ee,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(P){this._overlayRef=P}enable(){if(this._scrollSubscription)return;const P=this._scrollDispatcher.scrolled(0).pipe((0,z.I)(Ee=>!Ee||!this._overlayRef.overlayElement.contains(Ee.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=P.subscribe(()=>{const Ee=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Ee-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=P.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Oe{enable(){}disable(){}attach(){}}function X(tt,P){return P.some(Ee=>tt.bottomEe.bottom||tt.rightEe.right)}function G(tt,P){return P.some(Ee=>tt.topEe.bottom||tt.leftEe.right)}class ye{constructor(P,Ee,se,ee){this._scrollDispatcher=P,this._viewportRuler=Ee,this._ngZone=se,this._config=ee,this._scrollSubscription=null}attach(P){this._overlayRef=P}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 Ee=this._overlayRef.overlayElement.getBoundingClientRect(),{width:se,height:ee}=this._viewportRuler.getViewportSize();X(Ee,[{width:se,height:ee,bottom:ee,right:se,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 re=(()=>{var tt;class P{constructor(se,ee,Ie,Ue){this._scrollDispatcher=se,this._viewportRuler=ee,this._ngZone=Ie,this.noop=()=>new Oe,this.close=Y=>new Ge(this._scrollDispatcher,this._ngZone,this._viewportRuler,Y),this.block=()=>new xt(this._viewportRuler,this._document),this.reposition=Y=>new ye(this._scrollDispatcher,this._viewportRuler,this._ngZone,Y),this._document=Ue}}return(tt=P).\u0275fac=function(se){return new(se||tt)(D.CoB(a.Yn),D.CoB(a.S8),D.CoB(D.WW2),D.CoB(s.Ud))},tt.\u0275prov=D.wxM({token:tt,factory:tt.\u0275fac,providedIn:"root"}),P})();class ie{constructor(P){if(this.scrollStrategy=new Oe,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,P){const Ee=Object.keys(P);for(const se of Ee)void 0!==P[se]&&(this[se]=P[se])}}}class pt{constructor(P,Ee){this.connectionPair=P,this.scrollableViewProperties=Ee}}let on=(()=>{var tt;class P{constructor(se){this._attachedOverlays=[],this._document=se}ngOnDestroy(){this.detach()}add(se){this.remove(se),this._attachedOverlays.push(se)}remove(se){const ee=this._attachedOverlays.indexOf(se);ee>-1&&this._attachedOverlays.splice(ee,1),0===this._attachedOverlays.length&&this.detach()}}return(tt=P).\u0275fac=function(se){return new(se||tt)(D.CoB(s.Ud))},tt.\u0275prov=D.wxM({token:tt,factory:tt.\u0275fac,providedIn:"root"}),P})(),vt=(()=>{var tt;class P extends on{constructor(se,ee){super(se),this._ngZone=ee,this._keydownListener=Ie=>{const Ue=this._attachedOverlays;for(let Y=Ue.length-1;Y>-1;Y--)if(Ue[Y]._keydownEvents.observers.length>0){const he=Ue[Y]._keydownEvents;this._ngZone?this._ngZone.run(()=>he.next(Ie)):he.next(Ie);break}}}add(se){super.add(se),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)}}return(tt=P).\u0275fac=function(se){return new(se||tt)(D.CoB(s.Ud),D.CoB(D.WW2,8))},tt.\u0275prov=D.wxM({token:tt,factory:tt.\u0275fac,providedIn:"root"}),P})(),qe=(()=>{var tt;class P extends on{constructor(se,ee,Ie){super(se),this._platform=ee,this._ngZone=Ie,this._cursorStyleIsSet=!1,this._pointerDownListener=Ue=>{this._pointerDownEventTarget=(0,ce.oZ)(Ue)},this._clickListener=Ue=>{const Y=(0,ce.oZ)(Ue),he="click"===Ue.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Y;this._pointerDownEventTarget=null;const Ye=this._attachedOverlays.slice();for(let gt=Ye.length-1;gt>-1;gt--){const Et=Ye[gt];if(Et._outsidePointerEvents.observers.length<1||!Et.hasAttached())continue;if(Et.overlayElement.contains(Y)||Et.overlayElement.contains(he))break;const Lt=Et._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Lt.next(Ue)):Lt.next(Ue)}}}add(se){if(super.add(se),!this._isAttached){const ee=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(ee)):this._addEventListeners(ee),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=ee.style.cursor,ee.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const se=this._document.body;se.removeEventListener("pointerdown",this._pointerDownListener,!0),se.removeEventListener("click",this._clickListener,!0),se.removeEventListener("auxclick",this._clickListener,!0),se.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(se.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(se){se.addEventListener("pointerdown",this._pointerDownListener,!0),se.addEventListener("click",this._clickListener,!0),se.addEventListener("auxclick",this._clickListener,!0),se.addEventListener("contextmenu",this._clickListener,!0)}}return(tt=P).\u0275fac=function(se){return new(se||tt)(D.CoB(s.Ud),D.CoB(ce.WU),D.CoB(D.WW2,8))},tt.\u0275prov=D.wxM({token:tt,factory:tt.\u0275fac,providedIn:"root"}),P})(),De=(()=>{var tt;class P{constructor(se,ee){this._platform=ee,this._document=se}ngOnDestroy(){var se;null===(se=this._containerElement)||void 0===se||se.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const se="cdk-overlay-container";if(this._platform.isBrowser||(0,ce.mW)()){const Ie=this._document.querySelectorAll(".".concat(se,'[platform="server"], ')+".".concat(se,'[platform="test"]'));for(let Ue=0;Uethis._backdropClick.next(Et),this._backdropTransitionendHandler=Et=>{this._disposeBackdrop(Et.target)},this._keydownEvents=new ke.E,this._outsidePointerEvents=new ke.E,ee.scrollStrategy&&(this._scrollStrategy=ee.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=ee.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(P){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Ee=this._portalOutlet.attach(P);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,ae.U)(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(null==Ee?void 0:Ee.onDestroy)&&Ee.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Ee}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const P=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),P}dispose(){var P;const Ee=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),null===(P=this._host)||void 0===P||P.remove(),this._previousHostParent=this._pane=this._host=null,Ee&&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(P){P!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=P,this.hasAttached()&&(P.attach(this),this.updatePosition()))}updateSize(P){this._config={...this._config,...P},this._updateElementSize()}setDirection(P){this._config={...this._config,direction:P},this._updateElementDirection()}addPanelClass(P){this._pane&&this._toggleClasses(this._pane,P,!0)}removePanelClass(P){this._pane&&this._toggleClasses(this._pane,P,!1)}getDirection(){const P=this._config.direction;return P?"string"==typeof P?P:P.value:"ltr"}updateScrollStrategy(P){P!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=P,this.hasAttached()&&(P.attach(this),P.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const P=this._pane.style;P.width=(0,J.ph)(this._config.width),P.height=(0,J.ph)(this._config.height),P.minWidth=(0,J.ph)(this._config.minWidth),P.minHeight=(0,J.ph)(this._config.minHeight),P.maxWidth=(0,J.ph)(this._config.maxWidth),P.maxHeight=(0,J.ph)(this._config.maxHeight)}_togglePointerEvents(P){this._pane.style.pointerEvents=P?"":"none"}_attachBackdrop(){const P="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(P)})}):this._backdropElement.classList.add(P)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const P=this._backdropElement;if(P){if(this._animationsDisabled)return void this._disposeBackdrop(P);P.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{P.addEventListener("transitionend",this._backdropTransitionendHandler)}),P.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(P)},500))}}_toggleClasses(P,Ee,se){const ee=(0,J.Mt)(Ee||[]).filter(Ie=>!!Ie);ee.length&&(se?P.classList.add(...ee):P.classList.remove(...ee))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const P=this._ngZone.onStable.pipe((0,ve.a)((0,Re.U)(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()),P.unsubscribe())})})}_disposeScrollStrategy(){const P=this._scrollStrategy;P&&(P.disable(),P.detach&&P.detach())}_disposeBackdrop(P){P&&(P.removeEventListener("click",this._backdropClickHandler),P.removeEventListener("transitionend",this._backdropTransitionendHandler),P.remove(),this._backdropElement===P&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const Se="cdk-overlay-connected-position-bounding-box",Ke=/([A-Za-z%]+)$/;class ht{get positions(){return this._preferredPositions}constructor(P,Ee,se,ee,Ie){this._viewportRuler=Ee,this._document=se,this._platform=ee,this._overlayContainer=Ie,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 ke.E,this._resizeSubscription=Be.wH.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(P)}attach(P){this._validatePositions(),P.hostElement.classList.add(Se),this._overlayRef=P,this._boundingBox=P.hostElement,this._pane=P.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 P=this._originRect,Ee=this._overlayRect,se=this._viewportRect,ee=this._containerRect,Ie=[];let Ue;for(let Y of this._preferredPositions){let he=this._getOriginPoint(P,ee,Y),Ye=this._getOverlayPoint(he,Ee,Y),gt=this._getOverlayFit(Ye,Ee,se,Y);if(gt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Y,he);this._canFitWithFlexibleDimensions(gt,Ye,se)?Ie.push({position:Y,origin:he,overlayRect:Ee,boundingBoxRect:this._calculateBoundingBoxRect(he,Y)}):(!Ue||Ue.overlayFit.visibleAreahe&&(he=gt,Y=Ye)}return this._isPushed=!1,void this._applyPosition(Y.position,Y.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Ue.position,Ue.originPoint);this._applyPosition(Ue.position,Ue.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&st(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Se),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const P=this._lastPosition;if(P){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Ee=this._getOriginPoint(this._originRect,this._containerRect,P);this._applyPosition(P,Ee)}else this.apply()}withScrollableContainers(P){return this._scrollables=P,this}withPositions(P){return this._preferredPositions=P,-1===P.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(P){return this._viewportMargin=P,this}withFlexibleDimensions(P=!0){return this._hasFlexibleDimensions=P,this}withGrowAfterOpen(P=!0){return this._growAfterOpen=P,this}withPush(P=!0){return this._canPush=P,this}withLockedPosition(P=!0){return this._positionLocked=P,this}setOrigin(P){return this._origin=P,this}withDefaultOffsetX(P){return this._offsetX=P,this}withDefaultOffsetY(P){return this._offsetY=P,this}withTransformOriginOn(P){return this._transformOriginSelector=P,this}_getOriginPoint(P,Ee,se){let ee,Ie;if("center"==se.originX)ee=P.left+P.width/2;else{const Ue=this._isRtl()?P.right:P.left,Y=this._isRtl()?P.left:P.right;ee="start"==se.originX?Ue:Y}return Ee.left<0&&(ee-=Ee.left),Ie="center"==se.originY?P.top+P.height/2:"top"==se.originY?P.top:P.bottom,Ee.top<0&&(Ie-=Ee.top),{x:ee,y:Ie}}_getOverlayPoint(P,Ee,se){let ee,Ie;return ee="center"==se.overlayX?-Ee.width/2:"start"===se.overlayX?this._isRtl()?-Ee.width:0:this._isRtl()?0:-Ee.width,Ie="center"==se.overlayY?-Ee.height/2:"top"==se.overlayY?0:-Ee.height,{x:P.x+ee,y:P.y+Ie}}_getOverlayFit(P,Ee,se,ee){const Ie=Kt(Ee);let{x:Ue,y:Y}=P,he=this._getOffset(ee,"x"),Ye=this._getOffset(ee,"y");he&&(Ue+=he),Ye&&(Y+=Ye);let Lt=0-Y,en=Y+Ie.height-se.height,sn=this._subtractOverflows(Ie.width,0-Ue,Ue+Ie.width-se.width),Dn=this._subtractOverflows(Ie.height,Lt,en),bn=sn*Dn;return{visibleArea:bn,isCompletelyWithinViewport:Ie.width*Ie.height===bn,fitsInViewportVertically:Dn===Ie.height,fitsInViewportHorizontally:sn==Ie.width}}_canFitWithFlexibleDimensions(P,Ee,se){if(this._hasFlexibleDimensions){const ee=se.bottom-Ee.y,Ie=se.right-Ee.x,Ue=Ft(this._overlayRef.getConfig().minHeight),Y=Ft(this._overlayRef.getConfig().minWidth);return(P.fitsInViewportVertically||null!=Ue&&Ue<=ee)&&(P.fitsInViewportHorizontally||null!=Y&&Y<=Ie)}return!1}_pushOverlayOnScreen(P,Ee,se){if(this._previousPushAmount&&this._positionLocked)return{x:P.x+this._previousPushAmount.x,y:P.y+this._previousPushAmount.y};const ee=Kt(Ee),Ie=this._viewportRect,Ue=Math.max(P.x+ee.width-Ie.width,0),Y=Math.max(P.y+ee.height-Ie.height,0),he=Math.max(Ie.top-se.top-P.y,0),Ye=Math.max(Ie.left-se.left-P.x,0);let gt=0,Et=0;return gt=ee.width<=Ie.width?Ye||-Ue:P.xsn&&!this._isInitialRender&&!this._growAfterOpen&&(Ue=P.y-sn/2)}if("end"===Ee.overlayX&&!ee||"start"===Ee.overlayX&&ee)Lt=se.width-P.x+this._viewportMargin,gt=P.x-this._viewportMargin;else if("start"===Ee.overlayX&&!ee||"end"===Ee.overlayX&&ee)Et=P.x,gt=se.right-P.x;else{const en=Math.min(se.right-P.x+se.left,P.x),sn=this._lastBoundingBoxSize.width;gt=2*en,Et=P.x-en,gt>sn&&!this._isInitialRender&&!this._growAfterOpen&&(Et=P.x-sn/2)}return{top:Ue,left:Et,bottom:Y,right:Lt,width:gt,height:Ie}}_setBoundingBoxStyles(P,Ee){const se=this._calculateBoundingBoxRect(P,Ee);!this._isInitialRender&&!this._growAfterOpen&&(se.height=Math.min(se.height,this._lastBoundingBoxSize.height),se.width=Math.min(se.width,this._lastBoundingBoxSize.width));const ee={};if(this._hasExactPosition())ee.top=ee.left="0",ee.bottom=ee.right=ee.maxHeight=ee.maxWidth="",ee.width=ee.height="100%";else{const Ie=this._overlayRef.getConfig().maxHeight,Ue=this._overlayRef.getConfig().maxWidth;ee.height=(0,J.ph)(se.height),ee.top=(0,J.ph)(se.top),ee.bottom=(0,J.ph)(se.bottom),ee.width=(0,J.ph)(se.width),ee.left=(0,J.ph)(se.left),ee.right=(0,J.ph)(se.right),ee.alignItems="center"===Ee.overlayX?"center":"end"===Ee.overlayX?"flex-end":"flex-start",ee.justifyContent="center"===Ee.overlayY?"center":"bottom"===Ee.overlayY?"flex-end":"flex-start",Ie&&(ee.maxHeight=(0,J.ph)(Ie)),Ue&&(ee.maxWidth=(0,J.ph)(Ue))}this._lastBoundingBoxSize=se,st(this._boundingBox.style,ee)}_resetBoundingBoxStyles(){st(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){st(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(P,Ee){const se={},ee=this._hasExactPosition(),Ie=this._hasFlexibleDimensions,Ue=this._overlayRef.getConfig();if(ee){const gt=this._viewportRuler.getViewportScrollPosition();st(se,this._getExactOverlayY(Ee,P,gt)),st(se,this._getExactOverlayX(Ee,P,gt))}else se.position="static";let Y="",he=this._getOffset(Ee,"x"),Ye=this._getOffset(Ee,"y");he&&(Y+="translateX(".concat(he,"px) ")),Ye&&(Y+="translateY(".concat(Ye,"px)")),se.transform=Y.trim(),Ue.maxHeight&&(ee?se.maxHeight=(0,J.ph)(Ue.maxHeight):Ie&&(se.maxHeight="")),Ue.maxWidth&&(ee?se.maxWidth=(0,J.ph)(Ue.maxWidth):Ie&&(se.maxWidth="")),st(this._pane.style,se)}_getExactOverlayY(P,Ee,se){let ee={top:"",bottom:""},Ie=this._getOverlayPoint(Ee,this._overlayRect,P);return this._isPushed&&(Ie=this._pushOverlayOnScreen(Ie,this._overlayRect,se)),"bottom"===P.overlayY?ee.bottom="".concat(this._document.documentElement.clientHeight-(Ie.y+this._overlayRect.height),"px"):ee.top=(0,J.ph)(Ie.y),ee}_getExactOverlayX(P,Ee,se){let Ue,ee={left:"",right:""},Ie=this._getOverlayPoint(Ee,this._overlayRect,P);return this._isPushed&&(Ie=this._pushOverlayOnScreen(Ie,this._overlayRect,se)),Ue=this._isRtl()?"end"===P.overlayX?"left":"right":"end"===P.overlayX?"right":"left","right"===Ue?ee.right="".concat(this._document.documentElement.clientWidth-(Ie.x+this._overlayRect.width),"px"):ee.left=(0,J.ph)(Ie.x),ee}_getScrollVisibility(){const P=this._getOriginRect(),Ee=this._pane.getBoundingClientRect(),se=this._scrollables.map(ee=>ee.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:G(P,se),isOriginOutsideView:X(P,se),isOverlayClipped:G(Ee,se),isOverlayOutsideView:X(Ee,se)}}_subtractOverflows(P,...Ee){return Ee.reduce((se,ee)=>se-Math.max(ee,0),P)}_getNarrowedViewportRect(){const P=this._document.documentElement.clientWidth,Ee=this._document.documentElement.clientHeight,se=this._viewportRuler.getViewportScrollPosition();return{top:se.top+this._viewportMargin,left:se.left+this._viewportMargin,right:se.left+P-this._viewportMargin,bottom:se.top+Ee-this._viewportMargin,width:P-2*this._viewportMargin,height:Ee-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(P,Ee){return"x"===Ee?null==P.offsetX?this._offsetX:P.offsetX:null==P.offsetY?this._offsetY:P.offsetY}_validatePositions(){}_addPanelClasses(P){this._pane&&(0,J.Mt)(P).forEach(Ee=>{""!==Ee&&-1===this._appliedPanelClasses.indexOf(Ee)&&(this._appliedPanelClasses.push(Ee),this._pane.classList.add(Ee))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(P=>{this._pane.classList.remove(P)}),this._appliedPanelClasses=[])}_getOriginRect(){const P=this._origin;if(P instanceof D.GMv)return P.nativeElement.getBoundingClientRect();if(P instanceof Element)return P.getBoundingClientRect();const Ee=P.width||0,se=P.height||0;return{top:P.y,bottom:P.y+se,left:P.x,right:P.x+Ee,height:se,width:Ee}}}function st(tt,P){for(let Ee in P)P.hasOwnProperty(Ee)&&(tt[Ee]=P[Ee]);return tt}function Ft(tt){if("number"!=typeof tt&&null!=tt){const[P,Ee]=tt.split(Ke);return Ee&&"px"!==Ee?null:parseFloat(P)}return tt||null}function Kt(tt){return{top:Math.floor(tt.top),right:Math.floor(tt.right),bottom:Math.floor(tt.bottom),left:Math.floor(tt.left),width:Math.floor(tt.width),height:Math.floor(tt.height)}}const Zt="cdk-global-overlay-wrapper";class Ut{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(P){const Ee=P.getConfig();this._overlayRef=P,this._width&&!Ee.width&&P.updateSize({width:this._width}),this._height&&!Ee.height&&P.updateSize({height:this._height}),P.hostElement.classList.add(Zt),this._isDisposed=!1}top(P=""){return this._bottomOffset="",this._topOffset=P,this._alignItems="flex-start",this}left(P=""){return this._xOffset=P,this._xPosition="left",this}bottom(P=""){return this._topOffset="",this._bottomOffset=P,this._alignItems="flex-end",this}right(P=""){return this._xOffset=P,this._xPosition="right",this}start(P=""){return this._xOffset=P,this._xPosition="start",this}end(P=""){return this._xOffset=P,this._xPosition="end",this}width(P=""){return this._overlayRef?this._overlayRef.updateSize({width:P}):this._width=P,this}height(P=""){return this._overlayRef?this._overlayRef.updateSize({height:P}):this._height=P,this}centerHorizontally(P=""){return this.left(P),this._xPosition="center",this}centerVertically(P=""){return this.top(P),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const P=this._overlayRef.overlayElement.style,Ee=this._overlayRef.hostElement.style,se=this._overlayRef.getConfig(),{width:ee,height:Ie,maxWidth:Ue,maxHeight:Y}=se,he=!("100%"!==ee&&"100vw"!==ee||Ue&&"100%"!==Ue&&"100vw"!==Ue),Ye=!("100%"!==Ie&&"100vh"!==Ie||Y&&"100%"!==Y&&"100vh"!==Y),gt=this._xPosition,Et=this._xOffset,Lt="rtl"===this._overlayRef.getConfig().direction;let en="",sn="",Dn="";he?Dn="flex-start":"center"===gt?(Dn="center",Lt?sn=Et:en=Et):Lt?"left"===gt||"end"===gt?(Dn="flex-end",en=Et):("right"===gt||"start"===gt)&&(Dn="flex-start",sn=Et):"left"===gt||"start"===gt?(Dn="flex-start",en=Et):("right"===gt||"end"===gt)&&(Dn="flex-end",sn=Et),P.position=this._cssPosition,P.marginLeft=he?"0":en,P.marginTop=Ye?"0":this._topOffset,P.marginBottom=this._bottomOffset,P.marginRight=he?"0":sn,Ee.justifyContent=Dn,Ee.alignItems=Ye?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const P=this._overlayRef.overlayElement.style,Ee=this._overlayRef.hostElement,se=Ee.style;Ee.classList.remove(Zt),se.justifyContent=se.alignItems=P.marginTop=P.marginBottom=P.marginLeft=P.marginRight=P.position="",this._overlayRef=null,this._isDisposed=!0}}let le=(()=>{var tt;class P{constructor(se,ee,Ie,Ue){this._viewportRuler=se,this._document=ee,this._platform=Ie,this._overlayContainer=Ue}global(){return new Ut}flexibleConnectedTo(se){return new ht(se,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return(tt=P).\u0275fac=function(se){return new(se||tt)(D.CoB(a.S8),D.CoB(s.Ud),D.CoB(ce.WU),D.CoB(De))},tt.\u0275prov=D.wxM({token:tt,factory:tt.\u0275fac,providedIn:"root"}),P})(),pe=0,Ve=(()=>{var tt;class P{constructor(se,ee,Ie,Ue,Y,he,Ye,gt,Et,Lt,en,sn){this.scrollStrategies=se,this._overlayContainer=ee,this._componentFactoryResolver=Ie,this._positionBuilder=Ue,this._keyboardDispatcher=Y,this._injector=he,this._ngZone=Ye,this._document=gt,this._directionality=Et,this._location=Lt,this._outsideClickDispatcher=en,this._animationsModuleType=sn}create(se){const ee=this._createHostElement(),Ie=this._createPaneElement(ee),Ue=this._createPortalOutlet(Ie),Y=new ie(se);return Y.direction=Y.direction||this._directionality.value,new _e(Ue,ee,Ie,Y,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(se){const ee=this._document.createElement("div");return ee.id="cdk-overlay-".concat(pe++),ee.classList.add("cdk-overlay-pane"),se.appendChild(ee),ee}_createHostElement(){const se=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(se),se}_createPortalOutlet(se){return this._appRef||(this._appRef=this._injector.get(D.Swk)),new et.S4(se,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return(tt=P).\u0275fac=function(se){return new(se||tt)(D.CoB(re),D.CoB(De),D.CoB(D.ce5),D.CoB(le),D.CoB(vt),D.CoB(D.zZn),D.CoB(D.WW2),D.CoB(s.Ud),D.CoB(Pe.yG),D.CoB(s.oB),D.CoB(qe),D.CoB(D.qwP,8))},tt.\u0275prov=D.wxM({token:tt,factory:tt.\u0275fac,providedIn:"root"}),P})();const Te=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],dt=new D.UbH("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const tt=(0,D.uUt)(Ve);return()=>tt.scrollStrategies.reposition()}});let $e=(()=>{var tt;class P{constructor(se){this.elementRef=se}}return(tt=P).\u0275fac=function(se){return new(se||tt)(D.GI1(D.GMv))},tt.\u0275dir=D.Sc5({type:tt,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),P})(),Mt=(()=>{var tt;class P{get offsetX(){return this._offsetX}set offsetX(se){this._offsetX=se,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(se){this._offsetY=se,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(se){this._disposeOnNavigation=se}constructor(se,ee,Ie,Ue,Y){this._overlay=se,this._dir=Y,this._backdropSubscription=Be.wH.EMPTY,this._attachSubscription=Be.wH.EMPTY,this._detachSubscription=Be.wH.EMPTY,this._positionSubscription=Be.wH.EMPTY,this._disposeOnNavigation=!1,this._ngZone=(0,D.uUt)(D.WW2),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new D._w7,this.positionChange=new D._w7,this.attach=new D._w7,this.detach=new D._w7,this.overlayKeydown=new D._w7,this.overlayOutsideClick=new D._w7,this._templatePortal=new et.CC(ee,Ie),this._scrollStrategyFactory=Ue,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(se){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),se.origin&&this.open&&this._position.apply()),se.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Te);const se=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=se.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=se.detachments().subscribe(()=>this.detach.emit()),se.keydownEvents().subscribe(ee=>{this.overlayKeydown.next(ee),ee.keyCode===Ne.UX&&!this.disableClose&&!(0,Ne.Yp)(ee)&&(ee.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(ee=>{this.overlayOutsideClick.next(ee)})}_buildConfig(){const se=this._position=this.positionStrategy||this._createPositionStrategy(),ee=new ie({direction:this._dir,positionStrategy:se,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(ee.width=this.width),(this.height||0===this.height)&&(ee.height=this.height),(this.minWidth||0===this.minWidth)&&(ee.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(ee.minHeight=this.minHeight),this.backdropClass&&(ee.backdropClass=this.backdropClass),this.panelClass&&(ee.panelClass=this.panelClass),ee}_updatePositionStrategy(se){const ee=this.positions.map(Ie=>({originX:Ie.originX,originY:Ie.originY,overlayX:Ie.overlayX,overlayY:Ie.overlayY,offsetX:Ie.offsetX||this.offsetX,offsetY:Ie.offsetY||this.offsetY,panelClass:Ie.panelClass||void 0}));return se.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(ee).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const se=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(se),se}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof $e?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(se=>{this.backdropClick.emit(se)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function Me(tt,P=!1){return(0,te.i)((Ee,se)=>{let ee=0;Ee.subscribe((0,Ce.e)(se,Ie=>{const Ue=tt(Ie,ee++);(Ue||P)&&se.next(Ie),!Ue&&se.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(se=>{this._ngZone.run(()=>this.positionChange.emit(se)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return(tt=P).\u0275fac=function(se){return new(se||tt)(D.GI1(Ve),D.GI1(D.Yw2),D.GI1(D.y8U),D.GI1(dt),D.GI1(Pe.yG,8))},tt.\u0275dir=D.Sc5({type:tt,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[D.Wk5.None,"cdkConnectedOverlayOrigin","origin"],positions:[D.Wk5.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[D.Wk5.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[D.Wk5.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[D.Wk5.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[D.Wk5.None,"cdkConnectedOverlayWidth","width"],height:[D.Wk5.None,"cdkConnectedOverlayHeight","height"],minWidth:[D.Wk5.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[D.Wk5.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[D.Wk5.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[D.Wk5.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[D.Wk5.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[D.Wk5.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[D.Wk5.None,"cdkConnectedOverlayOpen","open"],disableClose:[D.Wk5.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[D.Wk5.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[D.Wk5.HasDecoratorInputTransform,"cdkConnectedOverlayHasBackdrop","hasBackdrop",D.cZD],lockPosition:[D.Wk5.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",D.cZD],flexibleDimensions:[D.Wk5.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",D.cZD],growAfterOpen:[D.Wk5.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",D.cZD],push:[D.Wk5.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",D.cZD],disposeOnNavigation:[D.Wk5.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",D.cZD]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[D.QJr,D.SYr]}),P})();const gn={provide:dt,deps:[Ve],useFactory:function Xt(tt){return()=>tt.scrollStrategies.reposition()}};let cn=(()=>{var tt;class P{}return(tt=P).\u0275fac=function(se){return new(se||tt)},tt.\u0275mod=D.a4G({type:tt}),tt.\u0275inj=D.s3X({providers:[Ve,gn],imports:[Pe.gN,et.g$,a.c$,a.c$]}),P})()},5792:(Qe,fe,y)=>{y.d(fe,{C8:()=>xt,W4:()=>Me,WU:()=>J,Yx:()=>lt,kk:()=>Be,mU:()=>ve,mW:()=>Oe,oZ:()=>Ge});var a=y(4496),s=y(1368);let D;try{D=typeof Intl<"u"&&Intl.v8BreakIterator}catch{D=!1}let z,J=(()=>{var X;class G{constructor(re){this._platformId=re,this.isBrowser=this._platformId?(0,s.c0)(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&&!D)&&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}}return(X=G).\u0275fac=function(re){return new(re||X)(a.CoB(a.AHE))},X.\u0275prov=a.wxM({token:X,factory:X.\u0275fac,providedIn:"root"}),G})();const ae=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function ve(){if(z)return z;if("object"!=typeof document||!document)return z=new Set(ae),z;let X=document.createElement("input");return z=new Set(ae.filter(G=>(X.setAttribute("type",G),X.type===G))),z}let te,ke,Ne;function Me(X){return function Ce(){if(null==te&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>te=!0}))}finally{te=te||!1}return te}()?X:!!X.capture}function Be(){if(null==ke){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ke=!1,ke;if("scrollBehavior"in document.documentElement.style)ke=!0;else{const X=Element.prototype.scrollTo;ke=!!X&&!/\{\s*\[native code\]\s*\}/.test(X.toString())}}return ke}function xt(X){if(function ot(){if(null==Ne){const X=typeof document<"u"?document.head:null;Ne=!(!X||!X.createShadowRoot&&!X.attachShadow)}return Ne}()){const G=X.getRootNode?X.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&G instanceof ShadowRoot)return G}return null}function lt(){let X=typeof document<"u"&&document?document.activeElement:null;for(;X&&X.shadowRoot;){const G=X.shadowRoot.activeElement;if(G===X)break;X=G}return X}function Ge(X){return X.composedPath?X.composedPath()[0]:X.target}function Oe(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},2488:(Qe,fe,y)=>{y.d(fe,{CC:()=>Me,Ef:()=>et,IP:()=>xt,KC:()=>Ce,S4:()=>Be,g$:()=>Ge});var a=y(4496),s=y(1368);class te{attach(G){return this._attachedHost=G,G.attach(this)}detach(){let G=this._attachedHost;null!=G&&(this._attachedHost=null,G.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(G){this._attachedHost=G}}class Ce extends te{constructor(G,ye,re,ie,me){super(),this.component=G,this.viewContainerRef=ye,this.injector=re,this.componentFactoryResolver=ie,this.projectableNodes=me}}class Me extends te{constructor(G,ye,re,ie){super(),this.templateRef=G,this.viewContainerRef=ye,this.context=re,this.injector=ie}get origin(){return this.templateRef.elementRef}attach(G,ye=this.context){return this.context=ye,super.attach(G)}detach(){return this.context=void 0,super.detach()}}class Pe extends te{constructor(G){super(),this.element=G instanceof a.GMv?G.nativeElement:G}}class et{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(G){return G instanceof Ce?(this._attachedPortal=G,this.attachComponentPortal(G)):G instanceof Me?(this._attachedPortal=G,this.attachTemplatePortal(G)):this.attachDomPortal&&G instanceof Pe?(this._attachedPortal=G,this.attachDomPortal(G)):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(G){this._disposeFn=G}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Be extends et{constructor(G,ye,re,ie,me){super(),this.outletElement=G,this._componentFactoryResolver=ye,this._appRef=re,this._defaultInjector=ie,this.attachDomPortal=Xe=>{const pt=Xe.element,Pt=this._document.createComment("dom-portal");pt.parentNode.insertBefore(Pt,pt),this.outletElement.appendChild(pt),this._attachedPortal=Xe,super.setDisposeFn(()=>{Pt.parentNode&&Pt.parentNode.replaceChild(pt,Pt)})},this._document=me}attachComponentPortal(G){const re=(G.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(G.component);let ie;return G.viewContainerRef?(ie=G.viewContainerRef.createComponent(re,G.viewContainerRef.length,G.injector||G.viewContainerRef.injector,G.projectableNodes||void 0),this.setDisposeFn(()=>ie.destroy())):(ie=re.create(G.injector||this._defaultInjector||a.zZn.NULL),this._appRef.attachView(ie.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(ie.hostView),ie.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(ie)),this._attachedPortal=G,ie}attachTemplatePortal(G){let ye=G.viewContainerRef,re=ye.createEmbeddedView(G.templateRef,G.context,{injector:G.injector});return re.rootNodes.forEach(ie=>this.outletElement.appendChild(ie)),re.detectChanges(),this.setDisposeFn(()=>{let ie=ye.indexOf(re);-1!==ie&&ye.remove(ie)}),this._attachedPortal=G,re}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(G){return G.hostView.rootNodes[0]}}let xt=(()=>{var X;class G extends et{constructor(re,ie,me){super(),this._componentFactoryResolver=re,this._viewContainerRef=ie,this._isInitialized=!1,this.attached=new a._w7,this.attachDomPortal=Xe=>{const pt=Xe.element,Pt=this._document.createComment("dom-portal");Xe.setAttachedHost(this),pt.parentNode.insertBefore(Pt,pt),this._getRootNode().appendChild(pt),this._attachedPortal=Xe,super.setDisposeFn(()=>{Pt.parentNode&&Pt.parentNode.replaceChild(pt,Pt)})},this._document=me}get portal(){return this._attachedPortal}set portal(re){this.hasAttached()&&!re&&!this._isInitialized||(this.hasAttached()&&super.detach(),re&&super.attach(re),this._attachedPortal=re||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(re){re.setAttachedHost(this);const ie=null!=re.viewContainerRef?re.viewContainerRef:this._viewContainerRef,Xe=(re.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(re.component),pt=ie.createComponent(Xe,ie.length,re.injector||ie.injector,re.projectableNodes||void 0);return ie!==this._viewContainerRef&&this._getRootNode().appendChild(pt.hostView.rootNodes[0]),super.setDisposeFn(()=>pt.destroy()),this._attachedPortal=re,this._attachedRef=pt,this.attached.emit(pt),pt}attachTemplatePortal(re){re.setAttachedHost(this);const ie=this._viewContainerRef.createEmbeddedView(re.templateRef,re.context,{injector:re.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=re,this._attachedRef=ie,this.attached.emit(ie),ie}_getRootNode(){const re=this._viewContainerRef.element.nativeElement;return re.nodeType===re.ELEMENT_NODE?re:re.parentNode}}return(X=G).\u0275fac=function(re){return new(re||X)(a.GI1(a.ce5),a.GI1(a.y8U),a.GI1(s.Ud))},X.\u0275dir=a.Sc5({type:X,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[a.Wk5.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[a.eg9]}),G})(),Ge=(()=>{var X;class G{}return(X=G).\u0275fac=function(re){return new(re||X)},X.\u0275mod=a.a4G({type:X}),X.\u0275inj=a.s3X({}),G})()},3572:(Qe,fe,y)=>{y.d(fe,{uU:()=>Zt,Yn:()=>vt,c$:()=>Ut,S8:()=>_e});var a=y(7712),s=y(4496),D=y(5657),J=y(2700),ce=y(3252),z=y(800),ae=y(1364),ve=y(6928);const te={schedule(le){let pe=requestAnimationFrame,Ve=cancelAnimationFrame;const{delegate:Te}=te;Te&&(pe=Te.requestAnimationFrame,Ve=Te.cancelAnimationFrame);const dt=pe($e=>{Ve=void 0,le($e)});return new ve.wH(()=>null==Ve?void 0:Ve(dt))},requestAnimationFrame(...le){const{delegate:pe}=te;return((null==pe?void 0:pe.requestAnimationFrame)||requestAnimationFrame)(...le)},cancelAnimationFrame(...le){const{delegate:pe}=te;return((null==pe?void 0:pe.cancelAnimationFrame)||cancelAnimationFrame)(...le)},delegate:void 0};var Me=y(9816);new class Pe extends Me.k{flush(pe){this._active=!0;const Ve=this._scheduled;this._scheduled=void 0;const{actions:Te}=this;let dt;pe=pe||Te.shift();do{if(dt=pe.execute(pe.state,pe.delay))break}while((pe=Te[0])&&pe.id===Ve&&Te.shift());if(this._active=!1,dt){for(;(pe=Te[0])&&pe.id===Ve&&Te.shift();)pe.unsubscribe();throw dt}}}(class Ce extends ae.m{constructor(pe,Ve){super(pe,Ve),this.scheduler=pe,this.work=Ve}requestAsyncId(pe,Ve,Te=0){return null!==Te&&Te>0?super.requestAsyncId(pe,Ve,Te):(pe.actions.push(this),pe._scheduled||(pe._scheduled=te.requestAnimationFrame(()=>pe.flush(void 0))))}recycleAsyncId(pe,Ve,Te=0){var dt;if(null!=Te?Te>0:this.delay>0)return super.recycleAsyncId(pe,Ve,Te);const{actions:$e}=pe;null!=Ve&&(null===(dt=$e[$e.length-1])||void 0===dt?void 0:dt.id)!==Ve&&(te.cancelAnimationFrame(Ve),pe._scheduled=void 0)}});y(1472);var Re=y(112),Ne=y(5448),ot=y(560),xt=y(7773),Ge=y(3120);function Oe(le,pe=Re.M){return function lt(le){return(0,Ne.i)((pe,Ve)=>{let Te=!1,dt=null,$e=null,Mt=!1;const Xt=()=>{if(null==$e||$e.unsubscribe(),$e=null,Te){Te=!1;const cn=dt;dt=null,Ve.next(cn)}Mt&&Ve.complete()},gn=()=>{$e=null,Mt&&Ve.complete()};pe.subscribe((0,xt.e)(Ve,cn=>{Te=!0,dt=cn,$e||(0,ot.Uv)(le(cn)).subscribe($e=(0,xt.e)(Ve,Xt,gn))},()=>{Mt=!0,(!Te||!$e||$e.closed)&&Ve.complete()}))})}(()=>(0,Ge.k)(le,pe))}var X=y(6684),G=y(5792),ye=y(1368),re=y(1900);let vt=(()=>{var le;class pe{constructor(Te,dt,$e){this._ngZone=Te,this._platform=dt,this._scrolled=new D.E,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=$e}register(Te){this.scrollContainers.has(Te)||this.scrollContainers.set(Te,Te.elementScrolled().subscribe(()=>this._scrolled.next(Te)))}deregister(Te){const dt=this.scrollContainers.get(Te);dt&&(dt.unsubscribe(),this.scrollContainers.delete(Te))}scrolled(Te=20){return this._platform.isBrowser?new ce._(dt=>{this._globalSubscription||this._addGlobalListener();const $e=Te>0?this._scrolled.pipe(Oe(Te)).subscribe(dt):this._scrolled.subscribe(dt);return this._scrolledCount++,()=>{$e.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,J.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((Te,dt)=>this.deregister(dt)),this._scrolled.complete()}ancestorScrolled(Te,dt){const $e=this.getAncestorScrollContainers(Te);return this.scrolled(dt).pipe((0,X.I)(Mt=>!Mt||$e.indexOf(Mt)>-1))}getAncestorScrollContainers(Te){const dt=[];return this.scrollContainers.forEach(($e,Mt)=>{this._scrollableContainsElement(Mt,Te)&&dt.push(Mt)}),dt}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(Te,dt){let $e=(0,a.mk)(dt),Mt=Te.getElementRef().nativeElement;do{if($e==Mt)return!0}while($e=$e.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const Te=this._getWindow();return(0,z.w)(Te.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return(le=pe).\u0275fac=function(Te){return new(Te||le)(s.CoB(s.WW2),s.CoB(G.WU),s.CoB(ye.Ud,8))},le.\u0275prov=s.wxM({token:le,factory:le.\u0275fac,providedIn:"root"}),pe})(),_e=(()=>{var le;class pe{constructor(Te,dt,$e){this._platform=Te,this._change=new D.E,this._changeListener=Mt=>{this._change.next(Mt)},this._document=$e,dt.runOutsideAngular(()=>{if(Te.isBrowser){const Mt=this._getWindow();Mt.addEventListener("resize",this._changeListener),Mt.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const Te=this._getWindow();Te.removeEventListener("resize",this._changeListener),Te.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const Te={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),Te}getViewportRect(){const Te=this.getViewportScrollPosition(),{width:dt,height:$e}=this.getViewportSize();return{top:Te.top,left:Te.left,bottom:Te.top+$e,right:Te.left+dt,height:$e,width:dt}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const Te=this._document,dt=this._getWindow(),$e=Te.documentElement,Mt=$e.getBoundingClientRect();return{top:-Mt.top||Te.body.scrollTop||dt.scrollY||$e.scrollTop||0,left:-Mt.left||Te.body.scrollLeft||dt.scrollX||$e.scrollLeft||0}}change(Te=20){return Te>0?this._change.pipe(Oe(Te)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const Te=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:Te.innerWidth,height:Te.innerHeight}:{width:0,height:0}}}return(le=pe).\u0275fac=function(Te){return new(Te||le)(s.CoB(G.WU),s.CoB(s.WW2),s.CoB(ye.Ud,8))},le.\u0275prov=s.wxM({token:le,factory:le.\u0275fac,providedIn:"root"}),pe})(),Zt=(()=>{var le;class pe{}return(le=pe).\u0275fac=function(Te){return new(Te||le)},le.\u0275mod=s.a4G({type:le}),le.\u0275inj=s.s3X({}),pe})(),Ut=(()=>{var le;class pe{}return(le=pe).\u0275fac=function(Te){return new(Te||le)},le.\u0275mod=s.a4G({type:le}),le.\u0275inj=s.s3X({imports:[re.gN,Zt,re.gN,Zt]}),pe})()},1368:(Qe,fe,y)=>{y.d(fe,{MD:()=>Hn,MP:()=>Ne,OM:()=>Ro,QF:()=>_t,Qd:()=>ke,Sg:()=>We,Ud:()=>ae,XV:()=>fr,YZ:()=>gr,_k:()=>ko,ay:()=>$t,c0:()=>wo,mQ:()=>te,mg:()=>ce,oB:()=>ot,uC:()=>Re,u_:()=>Nt,uf:()=>po,ug:()=>J,uy:()=>D});var a=y(4496);let s=null;function D(){return s}function J(g){var S;null!==(S=s)&&void 0!==S||(s=g)}class ce{}const ae=new a.UbH("");let ve=(()=>{var g;class S{historyGo(M){throw new Error("")}}return(g=S).\u0275fac=function(M){return new(M||g)},g.\u0275prov=a.wxM({token:g,factory:()=>(0,a.uUt)(Ce),providedIn:"platform"}),S})();const te=new a.UbH("");let Ce=(()=>{var g;class S extends ve{constructor(){super(),this._doc=(0,a.uUt)(ae),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return D().getBaseHref(this._doc)}onPopState(M){const j=D().getGlobalEventTarget(this._doc,"window");return j.addEventListener("popstate",M,!1),()=>j.removeEventListener("popstate",M)}onHashChange(M){const j=D().getGlobalEventTarget(this._doc,"window");return j.addEventListener("hashchange",M,!1),()=>j.removeEventListener("hashchange",M)}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(M){this._location.pathname=M}pushState(M,j,ue){this._history.pushState(M,j,ue)}replaceState(M,j,ue){this._history.replaceState(M,j,ue)}forward(){this._history.forward()}back(){this._history.back()}historyGo(M=0){this._history.go(M)}getState(){return this._history.state}}return(g=S).\u0275fac=function(M){return new(M||g)},g.\u0275prov=a.wxM({token:g,factory:()=>new g,providedIn:"platform"}),S})();function Me(g,S){if(0==g.length)return S;if(0==S.length)return g;let Z=0;return g.endsWith("/")&&Z++,S.startsWith("/")&&Z++,2==Z?g+S.substring(1):1==Z?g+S:g+"/"+S}function Pe(g){const S=g.match(/#|\?|$/),Z=S&&S.index||g.length;return g.slice(0,Z-("/"===g[Z-1]?1:0))+g.slice(Z)}function et(g){return g&&"?"!==g[0]?"?"+g:g}let ke=(()=>{var g;class S{historyGo(M){throw new Error("")}}return(g=S).\u0275fac=function(M){return new(M||g)},g.\u0275prov=a.wxM({token:g,factory:()=>(0,a.uUt)(Re),providedIn:"root"}),S})();const Be=new a.UbH("");let Re=(()=>{var g;class S extends ke{constructor(M,j){var ue,it,wt;super(),this._platformLocation=M,this._removeListenerFns=[],this._baseHref=null!==(ue=null!==(it=null!=j?j:this._platformLocation.getBaseHrefFromDOM())&&void 0!==it?it:null===(wt=(0,a.uUt)(ae).location)||void 0===wt?void 0:wt.origin)&&void 0!==ue?ue:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(M){this._removeListenerFns.push(this._platformLocation.onPopState(M),this._platformLocation.onHashChange(M))}getBaseHref(){return this._baseHref}prepareExternalUrl(M){return Me(this._baseHref,M)}path(M=!1){const j=this._platformLocation.pathname+et(this._platformLocation.search),ue=this._platformLocation.hash;return ue&&M?"".concat(j).concat(ue):j}pushState(M,j,ue,it){const wt=this.prepareExternalUrl(ue+et(it));this._platformLocation.pushState(M,j,wt)}replaceState(M,j,ue,it){const wt=this.prepareExternalUrl(ue+et(it));this._platformLocation.replaceState(M,j,wt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(M=0){var j,ue;null===(j=(ue=this._platformLocation).historyGo)||void 0===j||j.call(ue,M)}}return(g=S).\u0275fac=function(M){return new(M||g)(a.CoB(ve),a.CoB(Be,8))},g.\u0275prov=a.wxM({token:g,factory:g.\u0275fac,providedIn:"root"}),S})(),Ne=(()=>{var g;class S extends ke{constructor(M,j){super(),this._platformLocation=M,this._baseHref="",this._removeListenerFns=[],null!=j&&(this._baseHref=j)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(M){this._removeListenerFns.push(this._platformLocation.onPopState(M),this._platformLocation.onHashChange(M))}getBaseHref(){return this._baseHref}path(M=!1){var j;const ue=null!==(j=this._platformLocation.hash)&&void 0!==j?j:"#";return ue.length>0?ue.substring(1):ue}prepareExternalUrl(M){const j=Me(this._baseHref,M);return j.length>0?"#"+j:j}pushState(M,j,ue,it){let wt=this.prepareExternalUrl(ue+et(it));0==wt.length&&(wt=this._platformLocation.pathname),this._platformLocation.pushState(M,j,wt)}replaceState(M,j,ue,it){let wt=this.prepareExternalUrl(ue+et(it));0==wt.length&&(wt=this._platformLocation.pathname),this._platformLocation.replaceState(M,j,wt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(M=0){var j,ue;null===(j=(ue=this._platformLocation).historyGo)||void 0===j||j.call(ue,M)}}return(g=S).\u0275fac=function(M){return new(M||g)(a.CoB(ve),a.CoB(Be,8))},g.\u0275prov=a.wxM({token:g,factory:g.\u0275fac}),S})(),ot=(()=>{var g;class S{constructor(M){this._subject=new a._w7,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=M;const j=this._locationStrategy.getBaseHref();this._basePath=function Oe(g){if(new RegExp("^(https?:)?//").test(g)){const[,Z]=g.split(/\/\/[^\/]+/);return Z}return g}(Pe(Ge(j))),this._locationStrategy.onPopState(ue=>{this._subject.emit({url:this.path(!0),pop:!0,state:ue.state,type:ue.type})})}ngOnDestroy(){var M;null===(M=this._urlChangeSubscription)||void 0===M||M.unsubscribe(),this._urlChangeListeners=[]}path(M=!1){return this.normalize(this._locationStrategy.path(M))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(M,j=""){return this.path()==this.normalize(M+et(j))}normalize(M){return S.stripTrailingSlash(function lt(g,S){if(!g||!S.startsWith(g))return S;const Z=S.substring(g.length);return""===Z||["/",";","?","#"].includes(Z[0])?Z:S}(this._basePath,Ge(M)))}prepareExternalUrl(M){return M&&"/"!==M[0]&&(M="/"+M),this._locationStrategy.prepareExternalUrl(M)}go(M,j="",ue=null){this._locationStrategy.pushState(ue,"",M,j),this._notifyUrlChangeListeners(this.prepareExternalUrl(M+et(j)),ue)}replaceState(M,j="",ue=null){this._locationStrategy.replaceState(ue,"",M,j),this._notifyUrlChangeListeners(this.prepareExternalUrl(M+et(j)),ue)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(M=0){var j,ue;null===(j=(ue=this._locationStrategy).historyGo)||void 0===j||j.call(ue,M)}onUrlChange(M){var j;return this._urlChangeListeners.push(M),null!==(j=this._urlChangeSubscription)&&void 0!==j||(this._urlChangeSubscription=this.subscribe(ue=>{this._notifyUrlChangeListeners(ue.url,ue.state)})),()=>{const ue=this._urlChangeListeners.indexOf(M);var it;this._urlChangeListeners.splice(ue,1),0===this._urlChangeListeners.length&&(null===(it=this._urlChangeSubscription)||void 0===it||it.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(M="",j){this._urlChangeListeners.forEach(ue=>ue(M,j))}subscribe(M,j,ue){return this._subject.subscribe({next:M,error:j,complete:ue})}}return(g=S).normalizeQueryParams=et,g.joinWithSlash=Me,g.stripTrailingSlash=Pe,g.\u0275fac=function(M){return new(M||g)(a.CoB(ke))},g.\u0275prov=a.wxM({token:g,factory:()=>function xt(){return new ot((0,a.CoB)(ke))}(),providedIn:"root"}),S})();function Ge(g){return g.replace(/\/index.html$/,"")}function We(g,S){S=encodeURIComponent(S);for(const Z of g.split(";")){const M=Z.indexOf("="),[j,ue]=-1==M?[Z,""]:[Z.slice(0,M),Z.slice(M+1)];if(j.trim()===S)return decodeURIComponent(ue)}return null}const je=/\s+/,bt=[];let _t=(()=>{var g;class S{constructor(M,j){this._ngEl=M,this._renderer=j,this.initialClasses=bt,this.stateMap=new Map}set klass(M){this.initialClasses=null!=M?M.trim().split(je):bt}set ngClass(M){this.rawClass="string"==typeof M?M.trim().split(je):M}ngDoCheck(){for(const j of this.initialClasses)this._updateState(j,!0);const M=this.rawClass;if(Array.isArray(M)||M instanceof Set)for(const j of M)this._updateState(j,!0);else if(null!=M)for(const j of Object.keys(M))this._updateState(j,!!M[j]);this._applyStateDiff()}_updateState(M,j){const ue=this.stateMap.get(M);void 0!==ue?(ue.enabled!==j&&(ue.changed=!0,ue.enabled=j),ue.touched=!0):this.stateMap.set(M,{enabled:j,changed:!0,touched:!0})}_applyStateDiff(){for(const M of this.stateMap){const j=M[0],ue=M[1];ue.changed?(this._toggleClass(j,ue.enabled),ue.changed=!1):ue.touched||(ue.enabled&&this._toggleClass(j,!1),this.stateMap.delete(j)),ue.touched=!1}}_toggleClass(M,j){(M=M.trim()).length>0&&M.split(je).forEach(ue=>{j?this._renderer.addClass(this._ngEl.nativeElement,ue):this._renderer.removeClass(this._ngEl.nativeElement,ue)})}}return(g=S).\u0275fac=function(M){return new(M||g)(a.GI1(a.GMv),a.GI1(a.q87))},g.\u0275dir=a.Sc5({type:g,selectors:[["","ngClass",""]],inputs:{klass:[a.Wk5.None,"class","klass"],ngClass:"ngClass"},standalone:!0}),S})();class xn{constructor(S,Z,M,j){this.$implicit=S,this.ngForOf=Z,this.index=M,this.count=j}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 $t=(()=>{var g;class S{set ngForOf(M){this._ngForOf=M,this._ngForOfDirty=!0}set ngForTrackBy(M){this._trackByFn=M}get ngForTrackBy(){return this._trackByFn}constructor(M,j,ue){this._viewContainer=M,this._template=j,this._differs=ue,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(M){M&&(this._template=M)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const M=this._ngForOf;!this._differ&&M&&(this._differ=this._differs.find(M).create(this.ngForTrackBy))}if(this._differ){const M=this._differ.diff(this._ngForOf);M&&this._applyChanges(M)}}_applyChanges(M){const j=this._viewContainer;M.forEachOperation((ue,it,wt)=>{if(null==ue.previousIndex)j.createEmbeddedView(this._template,new xn(ue.item,this._ngForOf,-1,-1),null===wt?void 0:wt);else if(null==wt)j.remove(null===it?void 0:it);else if(null!==it){const yn=j.get(it);j.move(yn,wt),Nn(yn,ue)}});for(let ue=0,it=j.length;ue{Nn(j.get(ue.currentIndex),ue)})}static ngTemplateContextGuard(M,j){return!0}}return(g=S).\u0275fac=function(M){return new(M||g)(a.GI1(a.y8U),a.GI1(a.Yw2),a.GI1(a.Uj7))},g.\u0275dir=a.Sc5({type:g,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),S})();function Nn(g,S){g.context.$implicit=S.item}let Nt=(()=>{var g;class S{constructor(M,j){this._viewContainer=M,this._context=new Tn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=j}set ngIf(M){this._context.$implicit=this._context.ngIf=M,this._updateView()}set ngIfThen(M){ii("ngIfThen",M),this._thenTemplateRef=M,this._thenViewRef=null,this._updateView()}set ngIfElse(M){ii("ngIfElse",M),this._elseTemplateRef=M,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(M,j){return!0}}return(g=S).\u0275fac=function(M){return new(M||g)(a.GI1(a.y8U),a.GI1(a.Yw2))},g.\u0275dir=a.Sc5({type:g,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),S})();class Tn{constructor(){this.$implicit=null,this.ngIf=null}}function ii(g,S){if(S&&!S.createEmbeddedView)throw new Error("".concat(g," must be a TemplateRef, but received '").concat((0,a.GEN)(S),"'."))}let fr=(()=>{var g;class S{constructor(M){this._viewContainerRef=M,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(M){if(this._shouldRecreateView(M)){var j;const ue=this._viewContainerRef;if(this._viewRef&&ue.remove(ue.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const it=this._createContextForwardProxy();this._viewRef=ue.createEmbeddedView(this.ngTemplateOutlet,it,{injector:null!==(j=this.ngTemplateOutletInjector)&&void 0!==j?j:void 0})}}_shouldRecreateView(M){return!!M.ngTemplateOutlet||!!M.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(M,j,ue)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,j,ue),get:(M,j,ue)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,j,ue)}})}}return(g=S).\u0275fac=function(M){return new(M||g)(a.GI1(a.y8U))},g.\u0275dir=a.Sc5({type:g,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[a.SYr]}),S})(),Hn=(()=>{var g;class S{}return(g=S).\u0275fac=function(M){return new(M||g)},g.\u0275mod=a.a4G({type:g}),g.\u0275inj=a.s3X({}),S})();const ko="browser",zn="server";function wo(g){return g===ko}function po(g){return g===zn}let gr=(()=>{var g;class S{}return(g=S).\u0275prov=(0,a.wxM)({token:g,providedIn:"root",factory:()=>wo((0,a.uUt)(a.AHE))?new zo((0,a.uUt)(ae),window):new or}),S})();class zo{constructor(S,Z){this.document=S,this.window=Z,this.offset=()=>[0,0]}setOffset(S){this.offset=Array.isArray(S)?()=>S:S}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(S){this.window.scrollTo(S[0],S[1])}scrollToAnchor(S){const Z=function wi(g,S){const Z=g.getElementById(S)||g.getElementsByName(S)[0];if(Z)return Z;if("function"==typeof g.createTreeWalker&&g.body&&"function"==typeof g.body.attachShadow){const M=g.createTreeWalker(g.body,NodeFilter.SHOW_ELEMENT);let j=M.currentNode;for(;j;){const ue=j.shadowRoot;if(ue){const it=ue.getElementById(S)||ue.querySelector('[name="'.concat(S,'"]'));if(it)return it}j=M.nextNode()}}return null}(this.document,S);Z&&(this.scrollToElement(Z),Z.focus())}setHistoryScrollRestoration(S){this.window.history.scrollRestoration=S}scrollToElement(S){const Z=S.getBoundingClientRect(),M=Z.left+this.window.pageXOffset,j=Z.top+this.window.pageYOffset,ue=this.offset();this.window.scrollTo(M-ue[0],j-ue[1])}}class or{setOffset(S){}getScrollPosition(){return[0,0]}scrollToPosition(S){}scrollToAnchor(S){}setHistoryScrollRestoration(S){}}class Ro{}},7048:(Qe,fe,y)=>{y.d(fe,{KK:()=>Se,SU:()=>Je}),y(1528);var s=y(4496),D=y(2700),J=y(3252),ce=y(2115),z=y(6020),ae=y(6684),ve=y(4704),te=y(8824),Ce=y(7368),Me=y(1368);class Pe{}class et{}class ke{constructor(ge){this.normalizedNames=new Map,this.lazyUpdate=null,ge?"string"==typeof ge?this.lazyInit=()=>{this.headers=new Map,ge.split("\n").forEach(We=>{const je=We.indexOf(":");if(je>0){const bt=We.slice(0,je),_t=bt.toLowerCase(),Vt=We.slice(je+1).trim();this.maybeSetNormalizedName(bt,_t),this.headers.has(_t)?this.headers.get(_t).push(Vt):this.headers.set(_t,[Vt])}})}:typeof Headers<"u"&&ge instanceof Headers?(this.headers=new Map,ge.forEach((We,je)=>{this.setHeaderEntries(je,We)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(ge).forEach(([We,je])=>{this.setHeaderEntries(We,je)})}:this.headers=new Map}has(ge){return this.init(),this.headers.has(ge.toLowerCase())}get(ge){this.init();const We=this.headers.get(ge.toLowerCase());return We&&We.length>0?We[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ge){return this.init(),this.headers.get(ge.toLowerCase())||null}append(ge,We){return this.clone({name:ge,value:We,op:"a"})}set(ge,We){return this.clone({name:ge,value:We,op:"s"})}delete(ge,We){return this.clone({name:ge,value:We,op:"d"})}maybeSetNormalizedName(ge,We){this.normalizedNames.has(We)||this.normalizedNames.set(We,ge)}init(){this.lazyInit&&(this.lazyInit instanceof ke?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(We=>{this.headers.set(We,ge.headers.get(We)),this.normalizedNames.set(We,ge.normalizedNames.get(We))})}clone(ge){const We=new ke;return We.lazyInit=this.lazyInit&&this.lazyInit instanceof ke?this.lazyInit:this,We.lazyUpdate=(this.lazyUpdate||[]).concat([ge]),We}applyUpdate(ge){const We=ge.name.toLowerCase();switch(ge.op){case"a":case"s":let je=ge.value;if("string"==typeof je&&(je=[je]),0===je.length)return;this.maybeSetNormalizedName(ge.name,We);const bt=("a"===ge.op?this.headers.get(We):void 0)||[];bt.push(...je),this.headers.set(We,bt);break;case"d":const _t=ge.value;if(_t){let Vt=this.headers.get(We);if(!Vt)return;Vt=Vt.filter(At=>-1===_t.indexOf(At)),0===Vt.length?(this.headers.delete(We),this.normalizedNames.delete(We)):this.headers.set(We,Vt)}else this.headers.delete(We),this.normalizedNames.delete(We)}}setHeaderEntries(ge,We){const je=(Array.isArray(We)?We:[We]).map(_t=>_t.toString()),bt=ge.toLowerCase();this.headers.set(bt,je),this.maybeSetNormalizedName(ge,bt)}forEach(ge){this.init(),Array.from(this.normalizedNames.keys()).forEach(We=>ge(this.normalizedNames.get(We),this.headers.get(We)))}}class Re{encodeKey(ge){return lt(ge)}encodeValue(ge){return lt(ge)}decodeKey(ge){return decodeURIComponent(ge)}decodeValue(ge){return decodeURIComponent(ge)}}const ot=/%(\d[a-f0-9])/gi,xt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function lt(K){return encodeURIComponent(K).replace(ot,(ge,We)=>{var je;return null!==(je=xt[We])&&void 0!==je?je:ge})}function Ge(K){return"".concat(K)}class Oe{constructor(ge={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ge.encoder||new Re,ge.fromString){if(ge.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ne(K,ge){const We=new Map;return K.length>0&&K.replace(/^\?/,"").split("&").forEach(bt=>{const _t=bt.indexOf("="),[Vt,At]=-1==_t?[ge.decodeKey(bt),""]:[ge.decodeKey(bt.slice(0,_t)),ge.decodeValue(bt.slice(_t+1))],xn=We.get(Vt)||[];xn.push(At),We.set(Vt,xn)}),We}(ge.fromString,this.encoder)}else ge.fromObject?(this.map=new Map,Object.keys(ge.fromObject).forEach(We=>{const je=ge.fromObject[We],bt=Array.isArray(je)?je.map(Ge):[Ge(je)];this.map.set(We,bt)})):this.map=null}has(ge){return this.init(),this.map.has(ge)}get(ge){this.init();const We=this.map.get(ge);return We?We[0]:null}getAll(ge){return this.init(),this.map.get(ge)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ge,We){return this.clone({param:ge,value:We,op:"a"})}appendAll(ge){const We=[];return Object.keys(ge).forEach(je=>{const bt=ge[je];Array.isArray(bt)?bt.forEach(_t=>{We.push({param:je,value:_t,op:"a"})}):We.push({param:je,value:bt,op:"a"})}),this.clone(We)}set(ge,We){return this.clone({param:ge,value:We,op:"s"})}delete(ge,We){return this.clone({param:ge,value:We,op:"d"})}toString(){return this.init(),this.keys().map(ge=>{const We=this.encoder.encodeKey(ge);return this.map.get(ge).map(je=>We+"="+this.encoder.encodeValue(je)).join("&")}).filter(ge=>""!==ge).join("&")}clone(ge){const We=new Oe({encoder:this.encoder});return We.cloneFrom=this.cloneFrom||this,We.updates=(this.updates||[]).concat(ge),We}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 We=("a"===ge.op?this.map.get(ge.param):void 0)||[];We.push(Ge(ge.value)),this.map.set(ge.param,We);break;case"d":if(void 0===ge.value){this.map.delete(ge.param);break}{let je=this.map.get(ge.param)||[];const bt=je.indexOf(Ge(ge.value));-1!==bt&&je.splice(bt,1),je.length>0?this.map.set(ge.param,je):this.map.delete(ge.param)}}}),this.cloneFrom=this.updates=null)}}class G{constructor(){this.map=new Map}set(ge,We){return this.map.set(ge,We),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 re(K){return typeof ArrayBuffer<"u"&&K instanceof ArrayBuffer}function ie(K){return typeof Blob<"u"&&K instanceof Blob}function me(K){return typeof FormData<"u"&&K instanceof FormData}class pt{constructor(ge,We,je,bt){var _t,Vt;let At;if(this.url=We,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ge.toUpperCase(),function ye(K){switch(K){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||bt?(this.body=void 0!==je?je:null,At=bt):At=je,At&&(this.reportProgress=!!At.reportProgress,this.withCredentials=!!At.withCredentials,At.responseType&&(this.responseType=At.responseType),At.headers&&(this.headers=At.headers),At.context&&(this.context=At.context),At.params&&(this.params=At.params),this.transferCache=At.transferCache),null!==(_t=this.headers)&&void 0!==_t||(this.headers=new ke),null!==(Vt=this.context)&&void 0!==Vt||(this.context=new G),this.params){const xn=this.params.toString();if(0===xn.length)this.urlWithParams=We;else{const $t=We.indexOf("?");this.urlWithParams=We+(-1===$t?"?":$tNt.set(Tn,ge.setHeaders[Tn]),$t)),ge.setParams&&(Nn=Object.keys(ge.setParams).reduce((Nt,Tn)=>Nt.set(Tn,ge.setParams[Tn]),Nn)),new pt(je,bt,Vt,{params:Nn,headers:$t,context:gi,reportProgress:xn,responseType:_t,withCredentials:At})}}var Pt=function(K){return K[K.Sent=0]="Sent",K[K.UploadProgress=1]="UploadProgress",K[K.ResponseHeader=2]="ResponseHeader",K[K.DownloadProgress=3]="DownloadProgress",K[K.Response=4]="Response",K[K.User=5]="User",K}(Pt||{});class Tt{constructor(ge,We=De.Ok,je="OK"){this.headers=ge.headers||new ke,this.status=void 0!==ge.status?ge.status:We,this.statusText=ge.statusText||je,this.url=ge.url||null,this.ok=this.status>=200&&this.status<300}}class on extends Tt{constructor(ge={}){super(ge),this.type=Pt.ResponseHeader}clone(ge={}){return new on({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 vt extends Tt{constructor(ge={}){super(ge),this.type=Pt.Response,this.body=void 0!==ge.body?ge.body:null}clone(ge={}){return new vt({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 qe extends Tt{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 ".concat(ge.url||"(unknown url)"):"Http failure response for ".concat(ge.url||"(unknown url)",": ").concat(ge.status," ").concat(ge.statusText),this.error=ge.error||null}}var De=function(K){return K[K.Continue=100]="Continue",K[K.SwitchingProtocols=101]="SwitchingProtocols",K[K.Processing=102]="Processing",K[K.EarlyHints=103]="EarlyHints",K[K.Ok=200]="Ok",K[K.Created=201]="Created",K[K.Accepted=202]="Accepted",K[K.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",K[K.NoContent=204]="NoContent",K[K.ResetContent=205]="ResetContent",K[K.PartialContent=206]="PartialContent",K[K.MultiStatus=207]="MultiStatus",K[K.AlreadyReported=208]="AlreadyReported",K[K.ImUsed=226]="ImUsed",K[K.MultipleChoices=300]="MultipleChoices",K[K.MovedPermanently=301]="MovedPermanently",K[K.Found=302]="Found",K[K.SeeOther=303]="SeeOther",K[K.NotModified=304]="NotModified",K[K.UseProxy=305]="UseProxy",K[K.Unused=306]="Unused",K[K.TemporaryRedirect=307]="TemporaryRedirect",K[K.PermanentRedirect=308]="PermanentRedirect",K[K.BadRequest=400]="BadRequest",K[K.Unauthorized=401]="Unauthorized",K[K.PaymentRequired=402]="PaymentRequired",K[K.Forbidden=403]="Forbidden",K[K.NotFound=404]="NotFound",K[K.MethodNotAllowed=405]="MethodNotAllowed",K[K.NotAcceptable=406]="NotAcceptable",K[K.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",K[K.RequestTimeout=408]="RequestTimeout",K[K.Conflict=409]="Conflict",K[K.Gone=410]="Gone",K[K.LengthRequired=411]="LengthRequired",K[K.PreconditionFailed=412]="PreconditionFailed",K[K.PayloadTooLarge=413]="PayloadTooLarge",K[K.UriTooLong=414]="UriTooLong",K[K.UnsupportedMediaType=415]="UnsupportedMediaType",K[K.RangeNotSatisfiable=416]="RangeNotSatisfiable",K[K.ExpectationFailed=417]="ExpectationFailed",K[K.ImATeapot=418]="ImATeapot",K[K.MisdirectedRequest=421]="MisdirectedRequest",K[K.UnprocessableEntity=422]="UnprocessableEntity",K[K.Locked=423]="Locked",K[K.FailedDependency=424]="FailedDependency",K[K.TooEarly=425]="TooEarly",K[K.UpgradeRequired=426]="UpgradeRequired",K[K.PreconditionRequired=428]="PreconditionRequired",K[K.TooManyRequests=429]="TooManyRequests",K[K.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",K[K.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",K[K.InternalServerError=500]="InternalServerError",K[K.NotImplemented=501]="NotImplemented",K[K.BadGateway=502]="BadGateway",K[K.ServiceUnavailable=503]="ServiceUnavailable",K[K.GatewayTimeout=504]="GatewayTimeout",K[K.HttpVersionNotSupported=505]="HttpVersionNotSupported",K[K.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",K[K.InsufficientStorage=507]="InsufficientStorage",K[K.LoopDetected=508]="LoopDetected",K[K.NotExtended=510]="NotExtended",K[K.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",K}(De||{});function _e(K,ge){return{body:ge,headers:K.headers,context:K.context,observe:K.observe,params:K.params,reportProgress:K.reportProgress,responseType:K.responseType,withCredentials:K.withCredentials,transferCache:K.transferCache}}let Se=(()=>{var K;class ge{constructor(je){this.handler=je}request(je,bt,_t={}){let Vt;if(je instanceof pt)Vt=je;else{let $t,Nn;$t=_t.headers instanceof ke?_t.headers:new ke(_t.headers),_t.params&&(Nn=_t.params instanceof Oe?_t.params:new Oe({fromObject:_t.params})),Vt=new pt(je,bt,void 0!==_t.body?_t.body:null,{headers:$t,context:_t.context,params:Nn,reportProgress:_t.reportProgress,responseType:_t.responseType||"json",withCredentials:_t.withCredentials,transferCache:_t.transferCache})}const At=(0,D.of)(Vt).pipe((0,z.m)($t=>this.handler.handle($t)));if(je instanceof pt||"events"===_t.observe)return At;const xn=At.pipe((0,ae.I)($t=>$t instanceof vt));switch(_t.observe||"body"){case"body":switch(Vt.responseType){case"arraybuffer":return xn.pipe((0,ve.k)($t=>{if(null!==$t.body&&!($t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return $t.body}));case"blob":return xn.pipe((0,ve.k)($t=>{if(null!==$t.body&&!($t.body instanceof Blob))throw new Error("Response is not a Blob.");return $t.body}));case"text":return xn.pipe((0,ve.k)($t=>{if(null!==$t.body&&"string"!=typeof $t.body)throw new Error("Response is not a string.");return $t.body}));default:return xn.pipe((0,ve.k)($t=>$t.body))}case"response":return xn;default:throw new Error("Unreachable: unhandled observe type ".concat(_t.observe,"}"))}}delete(je,bt={}){return this.request("DELETE",je,bt)}get(je,bt={}){return this.request("GET",je,bt)}head(je,bt={}){return this.request("HEAD",je,bt)}jsonp(je,bt){return this.request("JSONP",je,{params:(new Oe).append(bt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(je,bt={}){return this.request("OPTIONS",je,bt)}patch(je,bt,_t={}){return this.request("PATCH",je,_e(_t,bt))}post(je,bt,_t={}){return this.request("POST",je,_e(_t,bt))}put(je,bt,_t={}){return this.request("PUT",je,_e(_t,bt))}}return(K=ge).\u0275fac=function(je){return new(je||K)(s.CoB(Pe))},K.\u0275prov=s.wxM({token:K,factory:K.\u0275fac}),ge})();function ct(K,ge){return ge(K)}function Zt(K,ge){return(We,je)=>ge.intercept(We,{handle:bt=>K(bt,je)})}const le=new s.UbH(""),pe=new s.UbH(""),Ve=new s.UbH(""),Te=new s.UbH("");function dt(){let K=null;return(ge,We)=>{var je;null===K&&(K=(null!==(je=(0,s.uUt)(le,{optional:!0}))&&void 0!==je?je:[]).reduceRight(Zt,ct));const bt=(0,s.uUt)(s.g9Y),_t=bt.add();return K(ge,We).pipe((0,te.U)(()=>bt.remove(_t)))}}let Xt=(()=>{var K;class ge extends Pe{constructor(je,bt){super(),this.backend=je,this.injector=bt,this.chain=null,this.pendingTasks=(0,s.uUt)(s.g9Y);const _t=(0,s.uUt)(Te,{optional:!0});this.backend=null!=_t?_t:je}handle(je){if(null===this.chain){const _t=Array.from(new Set([...this.injector.get(pe),...this.injector.get(Ve,[])]));this.chain=_t.reduceRight((Vt,At)=>function Ut(K,ge,We){return(je,bt)=>(0,s.SMS)(We,()=>ge(je,_t=>K(_t,bt)))}(Vt,At,this.injector),ct)}const bt=this.pendingTasks.add();return this.chain(je,_t=>this.backend.handle(_t)).pipe((0,te.U)(()=>this.pendingTasks.remove(bt)))}}return(K=ge).\u0275fac=function(je){return new(je||K)(s.CoB(et),s.CoB(s.SIe))},K.\u0275prov=s.wxM({token:K,factory:K.\u0275fac}),ge})();const he=/^\)\]\}',?\n/;let gt=(()=>{var K;class ge{constructor(je){this.xhrFactory=je}handle(je){if("JSONP"===je.method)throw new s.OBp(-2800,!1);const bt=this.xhrFactory;return(bt.\u0275loadImpl?(0,ce.Q)(bt.\u0275loadImpl()):(0,D.of)(null)).pipe((0,Ce.G)(()=>new J._(Vt=>{const At=bt.build();if(At.open(je.method,je.urlWithParams),je.withCredentials&&(At.withCredentials=!0),je.headers.forEach((rn,Sn)=>At.setRequestHeader(rn,Sn.join(","))),je.headers.has("Accept")||At.setRequestHeader("Accept","application/json, text/plain, */*"),!je.headers.has("Content-Type")){const rn=je.detectContentTypeHeader();null!==rn&&At.setRequestHeader("Content-Type",rn)}if(je.responseType){const rn=je.responseType.toLowerCase();At.responseType="json"!==rn?rn:"text"}const xn=je.serializeBody();let $t=null;const Nn=()=>{if(null!==$t)return $t;const rn=At.statusText||"OK",Sn=new ke(At.getAllResponseHeaders()),ui=function Ye(K){return"responseURL"in K&&K.responseURL?K.responseURL:/^X-Request-URL:/m.test(K.getAllResponseHeaders())?K.getResponseHeader("X-Request-URL"):null}(At)||je.url;return $t=new on({headers:Sn,status:At.status,statusText:rn,url:ui}),$t},gi=()=>{let{headers:rn,status:Sn,statusText:ui,url:Kn}=Nn(),Jn=null;Sn!==De.NoContent&&(Jn=typeof At.response>"u"?At.responseText:At.response),0===Sn&&(Sn=Jn?De.Ok:0);let $o=Sn>=200&&Sn<300;if("json"===je.responseType&&"string"==typeof Jn){const Eo=Jn;Jn=Jn.replace(he,"");try{Jn=""!==Jn?JSON.parse(Jn):null}catch(Do){Jn=Eo,$o&&($o=!1,Jn={error:Do,text:Jn})}}$o?(Vt.next(new vt({body:Jn,headers:rn,status:Sn,statusText:ui,url:Kn||void 0})),Vt.complete()):Vt.error(new qe({error:Jn,headers:rn,status:Sn,statusText:ui,url:Kn||void 0}))},Nt=rn=>{const{url:Sn}=Nn(),ui=new qe({error:rn,status:At.status||0,statusText:At.statusText||"Unknown Error",url:Sn||void 0});Vt.error(ui)};let Tn=!1;const ii=rn=>{Tn||(Vt.next(Nn()),Tn=!0);let Sn={type:Pt.DownloadProgress,loaded:rn.loaded};rn.lengthComputable&&(Sn.total=rn.total),"text"===je.responseType&&At.responseText&&(Sn.partialText=At.responseText),Vt.next(Sn)},oi=rn=>{let Sn={type:Pt.UploadProgress,loaded:rn.loaded};rn.lengthComputable&&(Sn.total=rn.total),Vt.next(Sn)};return At.addEventListener("load",gi),At.addEventListener("error",Nt),At.addEventListener("timeout",Nt),At.addEventListener("abort",Nt),je.reportProgress&&(At.addEventListener("progress",ii),null!==xn&&At.upload&&At.upload.addEventListener("progress",oi)),At.send(xn),Vt.next({type:Pt.Sent}),()=>{At.removeEventListener("error",Nt),At.removeEventListener("abort",Nt),At.removeEventListener("load",gi),At.removeEventListener("timeout",Nt),je.reportProgress&&(At.removeEventListener("progress",ii),null!==xn&&At.upload&&At.upload.removeEventListener("progress",oi)),At.readyState!==At.DONE&&At.abort()}})))}}return(K=ge).\u0275fac=function(je){return new(je||K)(s.CoB(Me.OM))},K.\u0275prov=s.wxM({token:K,factory:K.\u0275fac}),ge})();const Et=new s.UbH(""),en=new s.UbH("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Dn=new s.UbH("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class bn{}let ai=(()=>{var K;class ge{constructor(je,bt,_t){this.doc=je,this.platform=bt,this.cookieName=_t,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const je=this.doc.cookie||"";return je!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,Me.Sg)(je,this.cookieName),this.lastCookieString=je),this.lastToken}}return(K=ge).\u0275fac=function(je){return new(je||K)(s.CoB(Me.Ud),s.CoB(s.AHE),s.CoB(en))},K.\u0275prov=s.wxM({token:K,factory:K.\u0275fac}),ge})();function pi(K,ge){const We=K.url.toLowerCase();if(!(0,s.uUt)(Et)||"GET"===K.method||"HEAD"===K.method||We.startsWith("http://")||We.startsWith("https://"))return ge(K);const je=(0,s.uUt)(bn).getToken(),bt=(0,s.uUt)(Dn);return null!=je&&!K.headers.has(bt)&&(K=K.clone({headers:K.headers.set(bt,je)})),ge(K)}var V=function(K){return K[K.Interceptors=0]="Interceptors",K[K.LegacyInterceptors=1]="LegacyInterceptors",K[K.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",K[K.NoXsrfProtection=3]="NoXsrfProtection",K[K.JsonpSupport=4]="JsonpSupport",K[K.RequestsMadeViaParent=5]="RequestsMadeViaParent",K[K.Fetch=6]="Fetch",K}(V||{});function $(K,ge){return{\u0275kind:K,\u0275providers:ge}}function k(...K){const ge=[Se,gt,Xt,{provide:Pe,useExisting:Xt},{provide:et,useExisting:gt},{provide:pe,useValue:pi,multi:!0},{provide:Et,useValue:!0},{provide:bn,useClass:ai}];for(const We of K)ge.push(...We.\u0275providers);return(0,s.AFj)(ge)}const B=new s.UbH("");let Je=(()=>{var K;class ge{}return(K=ge).\u0275fac=function(je){return new(je||K)},K.\u0275mod=s.a4G({type:K}),K.\u0275inj=s.s3X({providers:[k($(V.LegacyInterceptors,[{provide:B,useFactory:dt},{provide:pe,useExisting:B,multi:!0}]))]}),ge})()},4496:(Qe,fe,y)=>{y.d(fe,{qwP:()=>kt,qid:()=>rm,QHP:()=>L,kZF:()=>Iy,Ev2:()=>CT,Swk:()=>Oa,YND:()=>hn,kD9:()=>Rg,ESV:()=>iT,ce5:()=>vc,ayF:()=>uT,syz:()=>Qr,GMv:()=>Mr,SIe:()=>gs,eAe:()=>Js,_w7:()=>se,_6O:()=>he,UbH:()=>C,zZn:()=>Pr,Uj7:()=>$h,YNh:()=>Gh,KYU:()=>gu,obV:()=>x_,oF$:()=>Ma,WW2:()=>$i,T7N:()=>Xa,AHE:()=>mt,crf:()=>Le,VhX:()=>fa,q87:()=>xE,O8F:()=>Dg,yzm:()=>Dd,SI6:()=>xa,Qfh:()=>kr,Yw2:()=>fc,G4X:()=>qS,eOv:()=>wy,a8Z:()=>vy,y8U:()=>zd,K6R:()=>Je,I44:()=>jg,cZD:()=>YT,SIz:()=>D_,Gk1:()=>zD,grM:()=>Ly,agy:()=>gT,wd:()=>Ii,uUt:()=>Vn,_Ap:()=>Yi,AFj:()=>od,cJ3:()=>ZT,m4O:()=>yT,o9M:()=>QT,SMS:()=>y0,sRj:()=>IE,yai:()=>Uh,oPY:()=>by,i4S:()=>Lu,GUM:()=>Al,g9Y:()=>Dc,OBp:()=>$e,aS5:()=>Ey,Mn9:()=>Dy,Y8L:()=>dt,Om8:()=>dp,ozE:()=>yd,K2p:()=>ol,GM_:()=>dC,u8n:()=>mC,ER9:()=>hC,Vfw:()=>uC,Gc:()=>fC,iMv:()=>Rf,G58:()=>Mt,y02:()=>Iv,IHs:()=>Ht,K_M:()=>Hc,Guz:()=>ta,w5$:()=>im,gX2:()=>My,auf:()=>Vl,GEN:()=>Ye,E2t:()=>ks,eg9:()=>sf,Wk5:()=>K,QJr:()=>C_,SYr:()=>Gu,M5G:()=>Bb,UHJ:()=>Ub,yG2:()=>Hp,e48:()=>vf,m8U:()=>dv,uQ9:()=>_v,eAK:()=>wf,C0Y:()=>Cv,szK:()=>mb,In1:()=>Do,Sc5:()=>Go,wxM:()=>Qn,s3X:()=>Os,a4G:()=>mr,UTH:()=>tr,GI1:()=>al,wR5:()=>Of,k70:()=>su,SAx:()=>ru,C$Y:()=>ou,I0R:()=>iu,KQA:()=>wv,otF:()=>Gm,SoX:()=>kf,CoB:()=>bo,gJ8:()=>qu,KEo:()=>Wp,qCj:()=>Ff,Gqi:()=>_b,gRP:()=>Va,S2Z:()=>ao,GaO:()=>ib,wVc:()=>ey,kDX:()=>ty,_Xx:()=>rb,kPM:()=>ob,E7m:()=>xf,_6D:()=>Bf,uAc:()=>Yb,wto:()=>gb,Gew:()=>vb,CGJ:()=>zr,wLc:()=>Dp,usT:()=>ds,E3n:()=>up,K6U:()=>sh,YFg:()=>fp,m4B:()=>Df,yuY:()=>hl,gJz:()=>ny,OEk:()=>Sb,cNF:()=>Vf,oRS:()=>uu,CAO:()=>jf,MjK:()=>$f,kNx:()=>Fb,iHE:()=>Hf,OKB:()=>Gf,CC$:()=>pb}),y(1528);let D=null,ce=1;const z=Symbol("SIGNAL");function ae(e){const t=D;return D=e,t}function ke(e){if((!G(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==ce)){if(!e.producerMustRecompute(e)&&!lt(e))return e.dirty=!1,void(e.lastCleanEpoch=ce);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=ce}}function lt(e){ye(e);for(let t=0;t0}function ye(e){var t,n,i;null!==(t=e.producerNode)&&void 0!==t||(e.producerNode=[]),null!==(n=e.producerIndexOfThis)&&void 0!==n||(e.producerIndexOfThis=[]),null!==(i=e.producerLastReadVersion)&&void 0!==i||(e.producerLastReadVersion=[])}let on=null;var Ut=y(5657),le=y(6928),pe=y(6700),Ve=y(4704);const dt="https://g.co/ng/security#xss";class $e extends Error{constructor(t,n){super(Mt(t,n)),this.code=t}}function Mt(e,t){const n="NG0".concat(Math.abs(e));return"".concat(n).concat(t?": "+t:"")}function Ee(e){return t=>{setTimeout(e,void 0,t)}}const se=class P extends Ut.E{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let o=t,r=n||(()=>null),c=i;if(t&&"object"==typeof t){var h,p,w;const F=t;o=null===(h=F.next)||void 0===h?void 0:h.bind(F),r=null===(p=F.error)||void 0===p?void 0:p.bind(F),c=null===(w=F.complete)||void 0===w?void 0:w.bind(F)}this.__isAsync&&(r=Ee(r),o&&(o=Ee(o)),c&&(c=Ee(c)));const R=super.subscribe({next:o,error:r,complete:c});return t instanceof le.wH&&t.add(R),R}};var he=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}(he||{});function Ye(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ye).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(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 gt(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var de=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(de||{}),Je=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Je||{});function Bt(e){return{toString:e}.toString()}const Ht=globalThis,On={},jt=[];function dn(e){for(let t in e)if(e[t]===dn)return t;throw Error("Could not find renamed property on target object.")}function di(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}const Ci=dn({\u0275cmp:dn}),xi=dn({\u0275dir:dn}),Ei=dn({\u0275pipe:dn}),Fi=dn({\u0275mod:dn}),ni=dn({\u0275fac:dn}),Ti=dn({__NG_ELEMENT_ID__:dn}),er=dn({__NG_ENV_ID__:dn});var K=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(K||{});function ge(e,t,n){let i=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const r=t.length;if(o+r===i||e.charCodeAt(o+r)<=32)return o}n=o+1}}function We(e,t,n){let i=0;for(;it){c=r-1;break}}}for(;rr?"":o[F+1].toLowerCase();const we=8&i?ne:null;if(we&&-1!==ge(we,w,0)||2&i&&w!==ne){if(Nt(i))return!1;c=!0}}}}else{if(!c&&!Nt(i)&&!Nt(p))return!1;if(c&&Nt(p))continue;c=!1,i=p|1&i}}return Nt(i)||c}function Nt(e){return 0==(1&e)}function Tn(e,t,n,i){if(null===t)return-1;let o=0;if(i||!n){let r=!1;for(;o-1)for(n++;n0?'="'+h+'"':"")+"]"}else 8&i?o+="."+c:4&i&&(o+=" "+c);else""!==o&&!Nt(c)&&(t+=Kn(r,o),o=""),i=c,r=r||!Nt(i);n++}return""!==o&&(t+=Kn(r,o)),t}function Do(e){return Bt(()=>{var t;const n=ts(e),i={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===de.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:null!==(t=e.signals)&&void 0!==t&&t,data:e.data||{},encapsulation:e.encapsulation||Je.Emulated,styles:e.styles||jt,_:null,schemas:e.schemas||null,tView:null,id:""};ns(i);const o=e.dependencies;return i.directiveDefs=Oo(o,!1),i.pipeDefs=Oo(o,!0),i.id=function oo(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 o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(i),i})}function hr(e){return pn(e)||Xn(e)}function fr(e){return null!==e}function mr(e){return Bt(()=>({type:e.type,bootstrap:e.bootstrap||jt,declarations:e.declarations||jt,imports:e.imports||jt,exports:e.exports||jt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function hi(e,t){if(null==e)return On;const n={};for(const o in e)if(e.hasOwnProperty(o)){const r=e[o];let c,h,p=K.None;var i;Array.isArray(r)?(p=r[0],c=r[1],h=null!==(i=r[2])&&void 0!==i?i:c):(c=r,h=r),t?(n[c]=p!==K.None?[o,p]:o,t[c]=h):n[c]=o}return n}function Go(e){return Bt(()=>{const t=ts(e);return ns(t),t})}function tr(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 pn(e){return e[Ci]||null}function Xn(e){return e[xi]||null}function li(e){return e[Ei]||null}function Yi(e){const t=pn(e)||Xn(e)||li(e);return null!==t&&t.standalone}function _i(e,t){const n=e[Fi]||null;if(!n&&!0===t)throw new Error("Type ".concat(Ye(e)," does not have '\u0275mod' property."));return n}function ts(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||On,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||jt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:hi(e.inputs,t),outputs:hi(e.outputs),debugInfo:null}}function ns(e){var t;null===(t=e.features)||void 0===t||t.forEach(n=>n(e))}function Oo(e,t){if(!e)return null;const n=t?li:hr;return()=>("function"==typeof e?e():e).map(i=>n(i)).filter(fr)}const jn=0,Ct=1,zt=2,ei=3,Li=4,Ai=5,ci=6,fo=7,Ln=8,Di=9,Bi=10,Wt=11,mo=12,pr=13,Ho=14,Hn=15,ko=16,zn=17,Zi=18,nr=19,wo=20,po=21,ir=22,go=23,un=25,gr=1,wi=7,Ro=9,fi=10;var Wo=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Wo||{});function Ri(e){return Array.isArray(e)&&"object"==typeof e[gr]}function Mi(e){return Array.isArray(e)&&!0===e[gr]}function _r(e){return 0!=(4&e.flags)}function _o(e){return e.componentOffset>-1}function Mo(e){return 1==(1&e.flags)}function Ui(e){return!!e.template}function vr(e){return 0!=(512&e[zt])}const yt="svg";let ti=!1;function An(e){for(;Array.isArray(e);)e=e[jn];return e}function yr(e,t){return An(t[e])}function zi(e,t){return An(t[e.index])}function Cr(e,t){return e.data[t]}function sr(e,t){return e[t]}function Ni(e,t){const n=t[e];return Ri(n)?n:n[jn]}function vi(e){return 128==(128&e[zt])}function ro(e,t){return null==t?null:e[t]}function Yo(e){e[zn]=0}function Na(e){1024&e[zt]||(e[zt]|=1024,vi(e)&&Ds(e))}function jr(e){var t;return!!(9216&e[zt]||null!==(t=e[go])&&void 0!==t&&t.dirty)}function Er(e){if(jr(e))Ds(e);else if(64&e[zt])if(function Qi(){return ti}())e[zt]|=1024,Ds(e);else{var t;null===(t=e[Bi].changeDetectionScheduler)||void 0===t||t.notify()}}function Ds(e){var t;null===(t=e[Bi].changeDetectionScheduler)||void 0===t||t.notify();let n=Fo(e);for(;null!==n&&!(8192&n[zt])&&(n[zt]|=8192,vi(n));)n=Fo(n)}function ss(e,t){if(256==(256&e[zt]))throw new $e(911,!1);null===e[po]&&(e[po]=[]),e[po].push(t)}function Fo(e){const t=e[ei];return Mi(t)?t[ei]:t}const an={lFrame:Rn(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function js(){return an.bindingsEnabled}function Gr(){return null!==an.skipHydrationRootTNode}function at(){return an.lFrame.lView}function _n(){return an.lFrame.tView}function ds(e){return an.lFrame.contextLView=e,e[Ln]}function zr(e){return an.lFrame.contextLView=null,e}function Gn(){let e=da();for(;null!==e&&64===e.type;)e=e.parent;return e}function da(){return an.lFrame.currentTNode}function Oi(e,t){const n=an.lFrame;n.currentTNode=e,n.isParent=t}function Io(){return an.lFrame.isParent}function ar(){an.lFrame.isParent=!1}function bi(){const e=an.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function so(){return an.lFrame.bindingIndex}function So(){return an.lFrame.bindingIndex++}function g(e){const t=an.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function M(e,t){const n=an.lFrame;n.bindingIndex=n.bindingRootIndex=e,ue(t)}function ue(e){an.lFrame.currentDirectiveIndex=e}function wt(){return an.lFrame.currentQueryIndex}function yn(e){an.lFrame.currentQueryIndex=e}function kn(e){const t=e[Ct];return 2===t.type?t.declTNode:1===t.type?e[Ai]:null}function Bn(e,t,n){if(n&he.SkipSelf){let o=t,r=e;for(;!(o=o.parent,null!==o||n&he.Host||(o=kn(r),null===o||(r=r[Ho],10&o.type))););if(null===o)return!1;t=o,e=r}const i=an.lFrame=Un();return i.currentTNode=t,i.lView=e,!0}function vn(e){const t=Un(),n=e[Ct];an.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Un(){const e=an.lFrame,t=null===e?null:e.child;return null===t?Rn(e):t}function Rn(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 yi(){const e=an.lFrame;return an.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Lo=yi;function Vi(){const e=yi();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 Pn(){return an.lFrame.selectedIndex}function Wi(e){an.lFrame.selectedIndex=e}function Fn(){const e=an.lFrame;return Cr(e.tView,e.selectedIndex)}function ao(){an.lFrame.currentNamespace=yt}function Va(){!function ja(){an.lFrame.currentNamespace=null}()}let Ll=!0;function Gs(){return Ll}function Zo(e){Ll=e}function wr(){return Kr(Gn(),at())}function Kr(e,t){return new Mr(zi(e,t))}let Zs,Mr=(()=>{class t{constructor(i){this.nativeElement=i}}return t.__NG_ELEMENT_ID__=wr,t})();function lo(e){return e instanceof Mr?e.nativeElement:e}function Is(e,t){e.forEach(n=>Array.isArray(n)?Is(n,t):t(n))}function Ul(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ss(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function co(e,t,n){let i=As(e,t);return i>=0?e[1|i]=n:(i=~i,function Hs(e,t,n,i){let o=e.length;if(o==t)e.push(n,i);else if(1===o)e.push(i,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function zs(e,t){const n=As(e,t);if(n>=0)return e[1|n]}function As(e,t){return function ha(e,t,n){let i=0,o=e.length>>n;for(;o!==i;){const r=i+(o-i>>1),c=e[r<t?o=r:i=r+1}return~(o<W}),W="ng",Le=new C(""),mt=new C("",{providedIn:"platform",factory:()=>"unknown"}),kt=new C(""),hn=new C("",{providedIn:"root",factory:()=>{var e;return(null===(e=Ir().body)||void 0===e||null===(e=e.querySelector("[ngCspNonce]"))||void 0===e?void 0:e.getAttribute("ngCspNonce"))||null}}),ji=dn({__forward_ref__:dn});function Ii(e){return e.__forward_ref__=Ii,e.toString=function(){return Ye(this())},e}function Qt(e){return Sr(e)?e():e}function Sr(e){return"function"==typeof e&&e.hasOwnProperty(ji)&&e.__forward_ref__===Ii}function Ka(e){return e&&!!e.\u0275providers}function En(e){return"string"==typeof e?e:null==e?"":String(e)}function Hl(e,t){throw new $e(-201,!1)}let zl;function Zc(){return zl}function To(e){const t=zl;return zl=e,t}function Xc(e,t,n){const i=pa(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&he.Optional?null:void 0!==t?t:void Hl()}const Qs={},Wl="__NG_DI_FLAG__",Kl="ngTempTokenPath",vm=/\n/gm,qc="__source";let qs;function hs(e){const t=qs;return qs=e,t}function Tu(e,t=he.Default){if(void 0===qs)throw new $e(-203,!1);return null===qs?Xc(e,void 0,t):qs.get(e,t&he.Optional?null:void 0,t)}function bo(e,t=he.Default){return(Zc()||Tu)(Qt(e),t)}function Vn(e,t=he.Default){return bo(e,Ya(t))}function Ya(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Yl(e){const t=[];for(let n=0;nnull;function mi(e,t,n=!1){return qt(e,t,n)}const Mn="__parameters__";function Vo(e,t,n){return Bt(()=>{const i=function xo(e){return function(...n){if(e){const i=e(...n);for(const o in i)this[o]=i[o]}}}(t);function o(...r){if(this instanceof o)return i.apply(this,r),this;const c=new o(...r);return h.annotation=c,h;function h(p,w,R){const F=p.hasOwnProperty(Mn)?p[Mn]:Object.defineProperty(p,Mn,{value:[]})[Mn];for(;F.length<=R;)F.push(null);return(F[R]=F[R]||[]).push(c),p}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}const Xa=va(Vo("Optional"),8),kr=va(Vo("SkipSelf"),4);function Rr(e,t){return e.hasOwnProperty(ni)?e[ni]:null}const Qr=new C(""),Cm=new C("",-1),Pu=new C("");class id{get(t,n=Qs){if(n===Qs){const i=new Error("NullInjectorError: No provider for ".concat(Ye(t),"!"));throw i.name="NullInjectorError",i}return n}}function od(e){return{\u0275providers:e}}function u0(...e){return{\u0275providers:xm(0,e),\u0275fromNgModule:!0}}function xm(e,...t){const n=[],i=new Set;let o;const r=c=>{n.push(c)};return Is(t,c=>{const h=c;rd(h,r,[],i)&&(o||(o=[]),o.push(h))}),void 0!==o&&Em(o,r),n}function Em(e,t){for(let n=0;n{t(r,i)})}}function rd(e,t,n,i){if(!(e=Qt(e)))return!1;let o=null,r=Xs(e);const c=!r&&pn(e);if(r||c){if(c&&!c.standalone)return!1;o=e}else{const p=e.ngModule;if(r=Xs(p),!r)return!1;o=p}const h=i.has(o);if(c){if(h)return!1;if(i.add(o),c.dependencies){const p="function"==typeof c.dependencies?c.dependencies():c.dependencies;for(const w of p)rd(w,t,n,i)}}else{if(!r)return!1;{if(null!=r.imports&&!h){let w;i.add(o);try{Is(r.imports,R=>{rd(R,t,n,i)&&(w||(w=[]),w.push(R))})}finally{}void 0!==w&&Em(w,t)}if(!h){const w=Rr(o)||(()=>new o);t({provide:o,useFactory:w,deps:jt},o),t({provide:Pu,useValue:o,multi:!0},o),t({provide:Qr,useValue:()=>bo(o),multi:!0},o)}const p=r.providers;if(null!=p&&!h){const w=e;Nu(p,R=>{t(R,w)})}}}return o!==e&&void 0!==e.providers}function Nu(e,t){for(let n of e)Ka(n)&&(n=n.\u0275providers),Array.isArray(n)?Nu(n,t):t(n)}const h0=dn({provide:String,useValue:dn});function Fu(e){return null!==e&&"object"==typeof e&&h0 in e}function ba(e){return"function"==typeof e}const Lu=new C(""),sd={},m0={};let Bu;function ad(){return void 0===Bu&&(Bu=new id),Bu}class gs{}class Qa extends gs{get destroyed(){return this._destroyed}constructor(t,n,i,o){super(),this.parent=n,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Vu(t,c=>this.processProvider(c)),this.records.set(Cm,qa(void 0,this)),o.has("environment")&&this.records.set(gs,qa(void 0,this));const r=this.records.get(Lu);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Pu,jt,he.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=hs(this),i=To(void 0);try{return t()}finally{hs(n),To(i)}}get(t,n=Qs,i=he.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(er))return t[er](this);i=Ya(i);const r=hs(this),c=To(void 0);try{if(!(i&he.SkipSelf)){let p=this.records.get(t);if(void 0===p){const w=function b0(e){return"function"==typeof e||"object"==typeof e&&e instanceof C}(t)&&pa(t);p=w&&this.injectableDefInScope(w)?qa(Uu(t),sd):null,this.records.set(t,p)}if(null!=p)return this.hydrate(t,p)}return(i&he.Self?ad():this.parent).get(t,n=i&he.Optional&&n===Qs?null:n)}catch(h){if("NullInjectorError"===h.name){if((h[Kl]=h[Kl]||[]).unshift(Ye(t)),r)throw h;return function Ou(e,t,n,i){const o=e[Kl];throw t[qc]&&o.unshift(t[qc]),e.message=function ku(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Ye(t);if(Array.isArray(t))o=t.map(Ye).join(" -> ");else if("object"==typeof t){let r=[];for(let c in t)if(t.hasOwnProperty(c)){let h=t[c];r.push(c+":"+("string"==typeof h?JSON.stringify(h):Ye(h)))}o="{".concat(r.join(", "),"}")}return"".concat(n).concat(i?"("+i+")":"","[").concat(o,"]: ").concat(e.replace(vm,"\n "))}("\n"+e.message,o,n,i),e.ngTokenPath=o,e[Kl]=null,e}(h,t,"R3InjectorError",this.source)}throw h}finally{To(c),hs(r)}}resolveInjectorInitializers(){const t=hs(this),n=To(void 0);try{const o=this.get(Qr,jt,he.Self);for(const r of o)r()}finally{hs(t),To(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(Ye(i));return"R3Injector[".concat(t.join(", "),"]")}assertNotDestroyed(){if(this._destroyed)throw new $e(205,!1)}processProvider(t){let n=ba(t=Qt(t))?t:Qt(t&&t.provide);const i=function g0(e){return Fu(e)?qa(void 0,e.useValue):qa(Mm(e),sd)}(t);if(!ba(t)&&!0===t.multi){let o=this.records.get(n);o||(o=qa(void 0,sd,!0),o.factory=()=>Yl(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===sd&&(n.value=m0,n.value=n.factory()),"object"==typeof n.value&&n.value&&function v0(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=Qt(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 Uu(e){const t=pa(e),n=null!==t?t.factory:Rr(e);if(null!==n)return n;if(e instanceof C)throw new $e(204,!1);if(e instanceof Function)return function p0(e){if(e.length>0)throw new $e(204,!1);const n=function zc(e){return e&&(e[f]||e[x])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new $e(204,!1)}function Mm(e,t,n){let i;if(ba(e)){const o=Qt(e);return Rr(o)||Uu(o)}if(Fu(e))i=()=>Qt(e.useValue);else if(function wm(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Yl(e.deps||[]));else if(function Dm(e){return!(!e||!e.useExisting)}(e))i=()=>bo(Qt(e.useExisting));else{const o=Qt(e&&(e.useClass||e.provide));if(!function _0(e){return!!e.deps}(e))return Rr(o)||Uu(o);i=()=>new o(...Yl(e.deps))}return i}function qa(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Vu(e,t){for(const n of e)Array.isArray(n)?Vu(n,t):n&&Ka(n)?Vu(n.\u0275providers,t):t(n)}function y0(e,t){e instanceof Qa&&e.assertNotDestroyed();const i=hs(e),o=To(void 0);try{return t()}finally{hs(i),To(o)}}class A0{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Sm(e,t,n,i){null!==t?t.applyValueToInputSignal(t,i):e[n]=i}function Gu(){return Tm}function Tm(e){return e.type.prototype.ngOnChanges&&(e.setInput=k0),O0}function O0(){const e=Om(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===On)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function k0(e,t,n,i,o){const r=this.declaredInputs[i],c=Om(e)||function R0(e,t){return e[Am]=t}(e,{previous:On,current:null}),h=c.current||(c.current={}),p=c.previous,w=p[r];h[r]=new A0(w&&w.currentValue,n,p===On),Sm(e,t,o,n)}Gu.ngInherit=!0;const Am="__ngSimpleChanges__";function Om(e){return e[Am]||null}const _s=function(e,t,n){};function cd(e,t){for(let w=t.directiveStart,R=t.directiveEnd;w=i)break}else t[p]<0&&(e[zn]+=65536),(h>14>16&&(3&e[zt])===t&&(e[zt]+=16384,Rm(h,r)):Rm(h,r)}const el=-1;class Jl{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function Ku(e){return e!==el}function ec(e){return 32767&e}function tc(e,t){let n=function j0(e){return e>>16}(e),i=t;for(;n>0;)i=i[Ho],n--;return i}let Yu=!0;function hd(e){const t=Yu;return Yu=e,t}const Pm=255,Nm=5;let $0=0;const vs={};function fd(e,t){const n=Fm(e,t);if(-1!==n)return n;const i=t[Ct];i.firstCreatePass&&(e.injectorIndex=t.length,Zu(i.data,e),Zu(t,null),Zu(i.blueprint,null));const o=md(e,t),r=e.injectorIndex;if(Ku(o)){const c=ec(o),h=tc(o,t),p=h[Ct].data;for(let w=0;w<8;w++)t[r+w]=h[c+w]|p[c+w]}return t[r+8]=o,r}function Zu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Fm(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function md(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,o=t;for(;null!==o;){if(i=Hm(o),null===i)return el;if(n++,o=o[Ho],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return el}function Xu(e,t,n){!function G0(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Ti)&&(i=n[Ti]),null==i&&(i=n[Ti]=$0++);const o=i&Pm;t.data[e+(o>>Nm)]|=1<=0?t&Pm:K0:t}(n);if("function"==typeof r){if(!Bn(t,e,i))return i&he.Host?Lm(o,0,i):Bm(t,n,i,o);try{let c;if(c=r(i),null!=c||i&he.Optional)return c;Hl()}finally{Lo()}}else if("number"==typeof r){let c=null,h=Fm(e,t),p=el,w=i&he.Host?t[Hn][Ai]:null;for((-1===h||i&he.SkipSelf)&&(p=-1===h?md(e,t):t[h+8],p!==el&&$m(i,!1)?(c=t[Ct],h=ec(p),t=tc(p,t)):h=-1);-1!==h;){const R=t[Ct];if(jm(r,h,R.data)){const F=z0(h,t,n,c,i,w);if(F!==vs)return F}p=t[h+8],p!==el&&$m(i,t[Ct].data[h+8]===w)&&jm(r,h,t)?(c=R,h=ec(p),t=tc(p,t)):h=-1}}return o}function z0(e,t,n,i,o,r){const c=t[Ct],h=c.data[e+8],R=pd(h,c,n,null==i?_o(h)&&Yu:i!=c&&0!=(3&h.type),o&he.Host&&r===h);return null!==R?ya(t,c,R,h):vs}function pd(e,t,n,i,o){const r=e.providerIndexes,c=t.data,h=1048575&r,p=e.directiveStart,R=r>>20,ne=o?h+R:e.directiveEnd;for(let we=i?h:h+R;we=p&&ze.type===n)return we}if(o){const we=c[p];if(we&&Ui(we)&&we.type===n)return p}return null}function ya(e,t,n,i){let o=e[n];const r=t.data;if(function L0(e){return e instanceof Jl}(o)){const c=o;c.resolving&&function Yc(e,t){throw t&&". Dependency path: ".concat(t.join(" > ")," > ").concat(e),new $e(-200,e)}(function Yn(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():En(e)}(r[n]));const h=hd(c.canSeeViewProviders);c.resolving=!0;const w=c.injectImpl?To(c.injectImpl):null;Bn(e,i,he.Default);try{o=e[n]=c.factory(void 0,r,e,i),t.firstCreatePass&&n>=i.directiveStart&&function N0(e,t,n){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=t.type.prototype;if(i){var c,h;const F=Tm(t);(null!==(c=n.preOrderHooks)&&void 0!==c?c:n.preOrderHooks=[]).push(e,F),(null!==(h=n.preOrderCheckHooks)&&void 0!==h?h:n.preOrderCheckHooks=[]).push(e,F)}var p,w,R;o&&(null!==(p=n.preOrderHooks)&&void 0!==p?p:n.preOrderHooks=[]).push(0-e,o),r&&((null!==(w=n.preOrderHooks)&&void 0!==w?w:n.preOrderHooks=[]).push(e,r),(null!==(R=n.preOrderCheckHooks)&&void 0!==R?R:n.preOrderCheckHooks=[]).push(e,r))}(n,r[n],t)}finally{null!==w&&To(w),hd(h),c.resolving=!1,Lo()}}return o}function jm(e,t,n){return!!(n[t+(e>>Nm)]&1<{const t=e.prototype.constructor,n=t[ni]||Qu(t),i=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==i;){const r=o[ni]||Qu(o);if(r&&r!==n)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function Qu(e){return Sr(e)?()=>{const t=Qu(Qt(e));return t&&t()}:Rr(e)}function Hm(e){const t=e[Ct],n=t.type;return 2===n?t.declTNode:1===n?e[Ai]:null}function qu(e){return function H0(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let o=0;for(;o{var e;class t{static create(i,o){if(Array.isArray(i))return Zm({name:""},o,i,"");{var r;const c=null!==(r=i.name)&&void 0!==r?r:"";return Zm({name:c},i.parent,i.providers,c)}}}return(e=t).THROW_IF_NOT_FOUND=Qs,e.NULL=new id,e.\u0275prov=Qn({token:e,providedIn:"any",factory:()=>bo(Cm)}),e.__NG_ELEMENT_ID__=-1,t})();function eh(e){return e.ngOriginalError}class Js{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&&eh(t);for(;n&&eh(n);)n=eh(n);return n||null}}const qm=new C("",{providedIn:"root",factory:()=>Vn(Js).handleError.bind(void 0)}),ep=new C("",{providedIn:"root",factory:()=>!1});let vd,bd;function il(e){var t;return(null===(t=function th(){if(void 0===vd&&(vd=null,Ht.trustedTypes))try{vd=Ht.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return vd}())||void 0===t?void 0:t.createHTML(e))||e}function nh(){if(void 0===bd&&(bd=null,Ht.trustedTypes))try{bd=Ht.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return bd}function tp(e){var t;return(null===(t=nh())||void 0===t?void 0:t.createHTML(e))||e}function ip(e){var t;return(null===(t=nh())||void 0===t?void 0:t.createScriptURL(e))||e}class Ca{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see ".concat(dt,")")}}class oC extends Ca{getTypeName(){return"HTML"}}class rC extends Ca{getTypeName(){return"Style"}}class sC extends Ca{getTypeName(){return"Script"}}class aC extends Ca{getTypeName(){return"URL"}}class lC extends Ca{getTypeName(){return"ResourceURL"}}function ks(e){return e instanceof Ca?e.changingThisBreaksApplicationSecurity:e}function ol(e,t){const n=function cC(e){return e instanceof Ca&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error("Required a safe ".concat(t,", got a ").concat(n," (see ").concat(dt,")"))}return n===t}function dC(e){return new oC(e)}function uC(e){return new rC(e)}function hC(e){return new sC(e)}function fC(e){return new aC(e)}function mC(e){return new lC(e)}class pC{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(il(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class gC{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=il(t),n}}const vC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function yd(e){return(e=String(e)).match(vC)?e:"unsafe:"+e}function Rs(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function nc(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const rp=Rs("area,br,col,hr,img,wbr"),sp=Rs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ap=Rs("rp,rt"),ih=nc(rp,nc(sp,Rs("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")),nc(ap,Rs("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")),nc(ap,sp)),oh=Rs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),lp=nc(oh,Rs("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"),Rs("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")),bC=Rs("script,style,template");class yC{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!ih.hasOwnProperty(n))return this.sanitizedSomething=!0,!bC.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let o=0;o"),!0}endElement(t){const n=t.nodeName.toLowerCase();ih.hasOwnProperty(n)&&!rp.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(cp(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: ".concat(t.outerHTML));return n}}const CC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,xC=/([^\#-~ |!])/g;function cp(e){return e.replace(/&/g,"&").replace(CC,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(xC,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Cd;function dp(e,t){let n=null;try{Cd=Cd||function op(e){const t=new gC(e);return function _C(){try{return!!(new window.DOMParser).parseFromString(il(""),"text/html")}catch{return!1}}()?new pC(t):t}(e);let i=t?String(t):"";n=Cd.getInertBodyElement(i);let o=5,r=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=r,r=n.innerHTML,n=Cd.getInertBodyElement(i)}while(i!==r);return il((new yC).sanitizeChildren(rh(n)||n))}finally{if(n){const i=rh(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function rh(e){return"content"in e&&function EC(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var xa=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}(xa||{});function up(e){const t=ic();return t?tp(t.sanitize(xa.HTML,e)||""):ol(e,"HTML")?tp(ks(e)):dp(Ir(),En(e))}function sh(e){const t=ic();return t?t.sanitize(xa.URL,e)||"":ol(e,"URL")?ks(e):yd(En(e))}function hp(e){const t=ic();if(t)return ip(t.sanitize(xa.RESOURCE_URL,e)||"");if(ol(e,"ResourceURL"))return ip(ks(e));throw new $e(904,!1)}function fp(e,t,n){return function SC(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?hp:sh}(t,n)(e)}function ic(){const e=at();return e&&e[Bi].sanitizer}const TC=/^>|^->||--!>|)/g,OC="\u200b$1\u200b";const ah=new Map;let FC=0;const ch="__ngContext__";function Ao(e,t){Ri(t)?(e[ch]=t[nr],function BC(e){ah.set(e[nr],e)}(t)):e[ch]=t}function Dp(e){return e.ownerDocument}function ur(e){return e instanceof Function?e():e}var Dd=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Dd||{});let fh;function mh(e,t){return fh(e,t)}function sl(e,t,n,i,o){if(null!=i){let r,c=!1;Mi(i)?r=i:Ri(i)&&(c=!0,i=i[jn]);const h=An(i);0===e&&null!==n?null==o?Rp(t,n,h):Ea(t,n,h,o||null,!0):1===e&&null!==n?Ea(t,n,h,o||null,!0):2===e?function Ad(e,t,n){const i=Sd(e,t);i&&function rx(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,h,c):3===e&&t.destroyNode(h),null!=r&&function lx(e,t,n,i,o){const r=n[wi];r!==An(n)&&sl(t,e,i,r,o);for(let h=fi;ht.replace(AC,OC))}(t))}function Md(e,t,n){return e.createElement(t,n)}function Ap(e,t){Od(e,t,t[Wt],2,null,null)}function Op(e,t){const n=e[Ro],i=n.indexOf(t);n.splice(i,1)}function rc(e,t){if(e.length<=fi)return;const n=fi+t,i=e[n];if(i){const o=i[ko];null!==o&&o!==e&&Op(o,i),t>0&&(e[n-1][Li]=i[Li]);const r=Ss(e,fi+t);!function qC(e,t){Ap(e,t),t[jn]=null,t[Ai]=null}(i[Ct],i);const c=r[Zi];null!==c&&c.detachView(r[Ct]),i[ei]=null,i[Li]=null,i[zt]&=-129}return i}function Id(e,t){if(!(256&t[zt])){const n=t[Wt];n.destroyNode&&Od(e,t,n,3,null,null),function ex(e){let t=e[mo];if(!t)return gh(e[Ct],e);for(;t;){let n=null;if(Ri(t))n=t[mo];else{const i=t[fi];i&&(n=i)}if(!n){for(;t&&!t[Li]&&t!==e;)Ri(t)&&gh(t[Ct],t),t=t[ei];null===t&&(t=e),Ri(t)&&gh(t[Ct],t),n=t&&t[Li]}t=n}}(t)}}function gh(e,t){if(!(256&t[zt])){t[zt]&=-129,t[zt]|=256,t[go]&&function Ge(e){if(ye(e),G(e))for(let t=0;t=0?i[c]():i[-c].unsubscribe(),r+=2}else n[r].call(i[n[r+1]]);null!==i&&(t[fo]=null);const o=t[po];if(null!==o){t[po]=null;for(let r=0;r-1){const{encapsulation:r}=e.data[i.directiveStart+o];if(r===Je.None||r===Je.Emulated)return null}return zi(i,n)}}(e,t.parent,n)}function Ea(e,t,n,i,o){e.insertBefore(t,n,i,o)}function Rp(e,t,n){e.appendChild(t,n)}function Pp(e,t,n,i,o){null!==i?Ea(e,t,n,i,o):Rp(e,t,n)}function Sd(e,t){return e.parentNode(t)}function Np(e,t,n){return Lp(e,t,n)}let vh,Lp=function Fp(e,t,n){return 40&e.type?zi(e,n):null};function Td(e,t,n,i){const o=_h(e,i,t),r=t[Wt],h=Np(i.parent||t[Ai],i,t);if(null!=o)if(Array.isArray(n))for(let p=0;pun&&zp(e,t,un,!1),_s(c?2:0,o),n(i,o)}finally{Wi(r),_s(c?3:1,o)}}function xh(e,t,n){if(_r(t)){const i=ae(null);try{const r=t.directiveEnd;for(let c=t.directiveStart;cnull;function Qp(e,t,n,i,o){for(let c in t){var r;if(!t.hasOwnProperty(c))continue;const h=t[c];if(void 0===h)continue;null!==(r=i)&&void 0!==r||(i={});let p,w=K.None;Array.isArray(h)?(p=h[0],w=h[1]):p=h;let R=c;if(null!==o){if(!o.hasOwnProperty(c))continue;R=o[c]}0===e?qp(i,n,R,p,w):qp(i,n,R,p)}return i}function qp(e,t,n,i,o){let r;e.hasOwnProperty(n)?(r=e[n]).push(t,i):r=e[n]=[t,i],void 0!==o&&r.push(o)}function qo(e,t,n,i,o,r,c,h){const p=zi(t,n);let R,w=t.inputs;!h&&null!=w&&(R=w[i])?(Ah(e,n,R,i,o),_o(t)&&function Cx(e,t){const n=Ni(t,e);16&n[zt]||(n[zt]|=64)}(n,t.index)):3&t.type&&(i=function yx(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),o=null!=c?c(o,t.value||"",i):o,r.setProperty(p,i,o))}function Mh(e,t,n,i){if(js()){const o=null===i?null:{"":-1},r=function Ix(e,t){const n=e.directiveRegistry;let i=null,o=null;if(n)for(let c=0;c0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(c)!=h&&c.push(h),c.push(n,i,r)}}(e,t,i,ac(e,n,o.hostVars,In),o)}function bs(e,t,n,i,o,r){const c=zi(e,t);!function Sh(e,t,n,i,o,r,c){if(null==r)e.removeAttribute(t,o,n);else{const h=null==c?En(r):c(r,i||"",o);e.setAttribute(t,o,h,n)}}(t[Wt],c,r,e.value,n,i,o)}function Rx(e,t,n,i,o,r){const c=r[t];if(null!==c)for(let h=0;h0&&(n[o-1][Li]=t),i!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Ds(e.lView)},consumerOnSignalRead(){this.lView[go]=this}};function cg(e){return ug(e[mo])}function dg(e){return ug(e[Li])}function ug(e){for(;null!==e&&!Mi(e);)e=e[Li];return e}function Nd(e,t=!0,n=0){const i=e[Bi],o=i.rendererFactory;var c;null===(c=o.begin)||void 0===c||c.call(o);try{!function Hx(e,t){Rh(e,t);let n=0;for(;jr(e);){if(100===n)throw new $e(103,!1);n++,Rh(e,1)}}(e,n)}catch(w){throw t&&Pd(e,w),w}finally{var h,p;null===(h=o.end)||void 0===h||h.call(o),null===(p=i.inlineEffectRunner)||void 0===p||p.flush()}}function zx(e,t,n,i){var o;const r=t[zt];if(256==(256&r))return;null===(o=t[Bi].inlineEffectRunner)||void 0===o||o.flush(),vn(t);let h=null,p=null;(function Wx(e){return 2!==e.type})(e)&&(p=function Bx(e){var t;return null!==(t=e[go])&&void 0!==t?t:function Ux(e){var t;const n=null!==(t=lg.pop())&&void 0!==t?t:Object.create(jx);return n.lView=e,n}(e)}(t),h=function ot(e){return e&&(e.nextProducerIndex=0),ae(e)}(p));try{Yo(t),function Ms(e){return an.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Yp(e,t,n,2,i);const w=3==(3&r);if(w){const ne=e.preOrderCheckHooks;null!==ne&&dd(t,ne,null)}else{const ne=e.preOrderHooks;null!==ne&&ud(t,ne,0,null),zu(t,0)}if(function Kx(e){for(let t=cg(e);null!==t;t=dg(t)){if(!(t[zt]&Wo.HasTransplantedViews))continue;const n=t[Ro];for(let i=0;ie.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(p,h),function Vx(e){e.lView[go]!==e&&(e.lView=null,lg.push(e))}(p)),Vi()}}function fg(e,t){for(let n=cg(e);null!==n;n=dg(n))for(let i=fi;i-1&&(rc(t,i),Ss(n,i))}this._attachedToViewContainer=!1}Id(this._lView[Ct],this._lView)}onDestroy(t){ss(this._lView,t)}markForCheck(){uc(this._cdRefInjectingView||this._lView)}detach(){this._lView[zt]&=-129}reattach(){Er(this._lView),this._lView[zt]|=128}detectChanges(){this._lView[zt]|=1024,Nd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new $e(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Ap(this._lView[Ct],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new $e(902,!1);this._appRef=t,Er(this._lView)}}let fc=(()=>{class t{}return t.__NG_ELEMENT_ID__=Qx,t})();const Zx=fc,Xx=class extends Zx{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}get ssrId(){var t;return(null===(t=this._declarationTContainer.tView)||void 0===t?void 0:t.ssrId)||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,i){const o=lc(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:i});return new hc(o)}};function Qx(){return Fd(Gn(),at())}function Fd(e,t){return 4&e.type?new Xx(t,e,Kr(e,t)):null}"^(\\d+)*(".concat("b","|").concat("h",")*(.*)");let Cg=()=>null;function dl(e,t){return Cg(e,t)}class Uh{}class bE{}class xg{}class CE{resolveComponentFactory(t){throw function yE(e){const t=Error("No component factory found for ".concat(Ye(e),"."));return t.ngComponent=e,t}(t)}}let vc=(()=>{class t{}return t.NULL=new CE,t})();class Dg{}let xE=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function EE(){const e=at(),n=Ni(Gn().index,e);return(Ri(n)?n:e)[Wt]}(),t})(),DE=(()=>{var e;class t{}return(e=t).\u0275prov=Qn({token:e,providedIn:"root",factory:()=>null}),t})();const Vh={};function Mg(e){return function wg(e){return"function"==typeof e&&void 0!==e[z]}(e)&&"function"==typeof e.set}function IE(e){const t=ae(null);try{return e()}finally{ae(t)}}function jd(e){return!!jh(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function jh(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class Ig{constructor(){}supports(t){return jd(t)}create(t){return new OE(t)}}const AE=(e,t)=>t;class OE{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||AE}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,o=0,r=null;for(;n||i;){const c=!i||n&&n.currentIndex{c=this._trackByFn(o,h),null!==n&&Object.is(n.trackById,c)?(i&&(n=this._verifyReinsertion(n,h,c,o)),Object.is(n.item,h)||this._addIdentityChange(n,h)):(n=this._mismatch(n,h,c,o),i=!0),n=n._next,o++}),this.length=o;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,i,o){let r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,r,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,r,o)):t=this._addAfter(new kE(n,i),r,o),t}_verifyReinsertion(t,n,i,o){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==r?t=this._reinsertAfter(r,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),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,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,r=t._nextRemoved;return null===o?this._removalsHead=r:o._nextRemoved=r,null===r?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Sg),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._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 Sg),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 kE{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 RE{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 i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class Sg{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new RE,this.map.set(n,i)),i.add(t)}get(t,n){const o=this.map.get(t);return o?o.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 Tg(e,t,n){const i=e.previousIndex;if(null===i)return i;let o=0;return n&&i{if(n&&n.key===o)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const r=this._getOrCreateRecordForKey(o,i);n=this._insertBeforeOrAppend(n,r)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._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 o=this._records.get(t);this._maybeAddToChanges(o,n);const r=o._prev,c=o._next;return r&&(r._next=c),c&&(c._prev=r),o._next=null,o._prev=null,o}const i=new NE(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_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(i=>n(t[i],i))}}class NE{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 Og(){return new $h([new Ig])}let $h=(()=>{var e;class t{constructor(i){this.factories=i}static create(i,o){if(null!=o){const r=o.factories.slice();i=i.concat(r)}return new t(i)}static extend(i){return{provide:t,useFactory:o=>t.create(i,o||Og()),deps:[[t,new kr,new Xa]]}}find(i){const o=this.factories.find(r=>r.supports(i));if(null!=o)return o;throw new $e(901,!1)}}return(e=t).\u0275prov=Qn({token:e,providedIn:"root",factory:Og}),t})();function kg(){return new Gh([new Ag])}let Gh=(()=>{var e;class t{constructor(i){this.factories=i}static create(i,o){if(o){const r=o.factories.slice();i=i.concat(r)}return new t(i)}static extend(i){return{provide:t,useFactory:o=>t.create(i,o||kg()),deps:[[t,new kr,new Xa]]}}find(i){const o=this.factories.find(r=>r.supports(i));if(o)return o;throw new $e(901,!1)}}return(e=t).\u0275prov=Qn({token:e,providedIn:"root",factory:kg}),t})(),Rg=(()=>{class t{}return t.__NG_ELEMENT_ID__=LE,t})();function LE(e){return function BE(e,t,n){if(_o(e)&&!n){const i=Ni(e.index,t);return new hc(i,i)}return 47&e.type?new hc(t[Hn],t):null}(Gn(),at(),16==(16&e))}let $d=(()=>{var e;class t{}return(e=t).__NG_ELEMENT_ID__=$E,e.__NG_ENV_ID__=n=>n,t})();class jE extends $d{constructor(t){super(),this._lView=t}onDestroy(t){return ss(this._lView,t),()=>function ws(e,t){if(null===e[po])return;const n=e[po].indexOf(t);-1!==n&&e[po].splice(n,1)}(this._lView,t)}}function $E(){return new jE(at())}const Pg=new Set;function Da(e){var t,n;Pg.has(e)||(Pg.add(e),null===(t=performance)||void 0===t||null===(n=t.mark)||void 0===n||n.call(t,"mark_feature_usage",{detail:{feature:e}}))}function Ng(...e){}class $i{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new se(!1),this.onMicrotaskEmpty=new se(!1),this.onStable=new se(!1),this.onError=new se(!1),typeof Zone>"u")throw new $e(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&n,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function YE(){const e="function"==typeof Ht.requestAnimationFrame;let t=Ht[e?"requestAnimationFrame":"setTimeout"],n=Ht[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function QE(e){const t=()=>{!function XE(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ht,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,zh(e),e.isCheckStableRunning=!0,Hh(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),zh(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,o,r,c,h)=>{if(function qE(e){var t;return!(!Array.isArray(e)||1!==e.length)&&!0===(null===(t=e[0].data)||void 0===t?void 0:t.__ignore_ng_zone__)}(h))return n.invokeTask(o,r,c,h);try{return Fg(e),n.invokeTask(o,r,c,h)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||e.shouldCoalesceRunChangeDetection)&&t(),Lg(e)}},onInvoke:(n,i,o,r,c,h,p)=>{try{return Fg(e),n.invoke(o,r,c,h,p)}finally{e.shouldCoalesceRunChangeDetection&&t(),Lg(e)}},onHasTask:(n,i,o,r)=>{n.hasTask(o,r),i===o&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,zh(e),Hh(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(n,i,o,r)=>(n.handleError(o,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!$i.isInAngularZone())throw new $e(909,!1)}static assertNotInAngularZone(){if($i.isInAngularZone())throw new $e(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,o){const r=this._inner,c=r.scheduleEventTask("NgZoneEvent: "+o,t,ZE,Ng,Ng);try{return r.runTask(c,n,i)}finally{r.cancelTask(c)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const ZE={};function Hh(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 zh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Fg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Lg(e){e._nesting--,Hh(e)}class Bg{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new se,this.onMicrotaskEmpty=new se,this.onStable=new se,this.onError=new se}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,o){return t.apply(n,i)}}var wa=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(wa||{});const Ug={destroy(){}};function jg(e,t){var n,i,o;!t&&function ju(e){if(!Zc()&&!function Su(){return qs}())throw new $e(-203,!1)}();const r=null!==(n=null==t?void 0:t.injector)&&void 0!==n?n:Vn(Pr);if(!function ea(e){return"browser"===(null!=e?e:Vn(Pr)).get(mt)}(r))return Ug;Da("NgAfterNextRender");const c=r.get(bc),h=null!==(i=c.handler)&&void 0!==i?i:c.handler=new Gg,p=null!==(o=null==t?void 0:t.phase)&&void 0!==o?o:wa.MixedReadWrite,w=()=>{h.unregister(F),R()},R=r.get($d).onDestroy(w),F=new $g(r,p,()=>{w(),e()});return h.register(F),{destroy:w}}class $g{constructor(t,n,i){this.phase=n,this.callbackFn=i,this.zone=t.get($i),this.errorHandler=t.get(Js,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(n){var t;null===(t=this.errorHandler)||void 0===t||t.handleError(n)}}}class Gg{constructor(){this.executingCallbacks=!1,this.buckets={[wa.EarlyRead]:new Set,[wa.Write]:new Set,[wa.MixedReadWrite]:new Set,[wa.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const n of t)n.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let bc=(()=>{var e;class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){var i;const o=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const r of o)r();null===(i=this.handler)||void 0===i||i.execute()}ngOnDestroy(){var i;null===(i=this.handler)||void 0===i||i.destroy(),this.handler=null,this.internalCallbacks.length=0}}return(e=t).\u0275prov=Qn({token:e,providedIn:"root",factory:()=>new e}),t})();function ta(e){return!!_i(e)}function Hd(e,t,n){let i=n?e.styles:null,o=n?e.classes:null,r=0;if(null!==t)for(let c=0;c0&&$p(e,n,r.join(" "))}}(ze,es,Dt,i),void 0!==n&&function uD(e,t,n){const i=e.projection=[];for(let o=0;o{class t{}return t.__NG_ELEMENT_ID__=fD,t})();function fD(){return Xg(Gn(),at())}const mD=zd,Yg=class extends mD{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return Kr(this._hostTNode,this._hostLView)}get injector(){return new eo(this._hostTNode,this._hostLView)}get parentInjector(){const t=md(this._hostTNode,this._hostLView);if(Ku(t)){const n=tc(t,this._hostLView),i=ec(t);return new eo(n[Ct].data[i+8],n)}return new eo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Zg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-fi}createEmbeddedView(t,n,i){let o,r;"number"==typeof i?o=i:null!=i&&(o=i.index,r=i.injector);const c=dl(this._lContainer,t.ssrId),h=t.createEmbeddedViewImpl(n||{},r,c);return this.insertImpl(h,o,cl(this._hostTNode,c)),h}createComponent(t,n,i,o,r){var c,h,p;const w=t&&!function ql(e){return"function"==typeof e}(t);let R;if(w)R=n;else{const Rt=n||{};R=Rt.index,i=Rt.injector,o=Rt.projectableNodes,r=Rt.environmentInjector||Rt.ngModuleRef}const F=w?t:new xc(pn(t)),ne=i||this.parentInjector;if(!r&&null==F.ngModule){const ft=(w?ne:this.parentInjector).get(gs,null);ft&&(r=ft)}const we=pn(null!==(c=F.componentType)&&void 0!==c?c:{}),ze=dl(this._lContainer,null!==(h=null==we?void 0:we.id)&&void 0!==h?h:null),ut=null!==(p=null==ze?void 0:ze.firstChild)&&void 0!==p?p:null,Dt=F.create(ne,o,ut,r);return this.insertImpl(Dt.hostView,R,cl(this._hostTNode,ze)),Dt}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,i){const o=t._lView;if(function ca(e){return Mi(e[ei])}(o)){const h=this.indexOf(t);if(-1!==h)this.detach(h);else{const p=o[ei],w=new Yg(p,p[Ai],p[ei]);w.detach(w.indexOf(t))}}const r=this._adjustIndex(n),c=this._lContainer;return cc(c,o,r,i),t.attachToViewContainerRef(),Ul(Yh(c),r,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Zg(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=rc(this._lContainer,n);i&&(Ss(Yh(this._lContainer),n),Id(i[Ct],i))}detach(t){const n=this._adjustIndex(t,-1),i=rc(this._lContainer,n);return i&&null!=Ss(Yh(this._lContainer),n)?new hc(i):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function Zg(e){return e[8]}function Yh(e){return e[8]||(e[8]=[])}function Xg(e,t){let n;const i=t[e.index];return Mi(i)?n=i:(n=tg(i,t,null,e),t[e.index]=n,Rd(t,n)),Qg(n,t,e,i),new Yg(n,e,t)}let Qg=function Jg(e,t,n,i){if(e[wi])return;let o;o=8&n.type?An(i):function pD(e,t){const n=e[Wt],i=n.createComment(""),o=zi(t,e);return Ea(n,Sd(n,o),i,function sx(e,t){return e.nextSibling(t)}(n,o),!1),i}(t,n),e[wi]=o},Zh=()=>!1;class Xh{constructor(t){this.queryList=t,this.matches=null}clone(){return new Xh(this.queryList)}setDirty(){this.queryList.setDirty()}}class Qh{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let r=0;rt.trim())}(t):t}}class qh{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i0)i.push(c[h/2]);else{const w=r[h+1],R=t[-p];for(let F=fi;F=0;i--){const o=e[i];o.hostVars=t+=o.hostVars,o.hostAttrs=_t(o.hostAttrs,n=_t(n,o.hostAttrs))}}(i)}function PD(e,t){for(const i in t.inputs){if(!t.inputs.hasOwnProperty(i)||e.inputs.hasOwnProperty(i))continue;const o=t.inputs[i];if(void 0!==o&&(e.inputs[i]=o,e.declaredInputs[i]=t.declaredInputs[i],null!==t.inputTransforms)){var n;const r=Array.isArray(o)?o[0]:o;if(!t.inputTransforms.hasOwnProperty(r))continue;null!==(n=e.inputTransforms)&&void 0!==n||(e.inputTransforms={}),e.inputTransforms[r]=t.inputTransforms[r]}}}function Kd(e){return e===On?{}:e===jt?[]:e}function FD(e,t){const n=e.viewQuery;e.viewQuery=n?(i,o)=>{t(i,o),n(i,o)}:t}function LD(e,t){const n=e.contentQueries;e.contentQueries=n?(i,o,r)=>{t(i,o,r),n(i,o,r)}:t}function BD(e,t){const n=e.hostBindings;e.hostBindings=n?(i,o)=>{t(i,o),n(i,o)}:t}function C_(e){const t=e.inputConfig,n={};for(const i in t)if(t.hasOwnProperty(i)){const o=t[i];Array.isArray(o)&&o[3]&&(n[i]=o[3])}e.inputTransforms=n}class Ma{}class x_{}function zD(e,t){return new af(e,null!=t?t:null,[])}class af extends Ma{constructor(t,n,i){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Wg(this);const o=_i(t);this._bootstrapComponents=ur(o.bootstrap),this._r3Injector=Xm(t,n,[{provide:Ma,useValue:this},{provide:vc,useValue:this.componentFactoryResolver},...i],Ye(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 lf extends x_{constructor(t){super(),this.moduleType=t}create(t){return new af(this.moduleType,t,[])}}class E_ extends Ma{constructor(t){super(),this.componentFactoryResolver=new Wg(this),this.instance=null;const n=new Qa([...t.providers,{provide:Ma,useValue:this},{provide:vc,useValue:this.componentFactoryResolver}],t.parent||ad(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function D_(e,t,n=null){return new E_({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let Dc=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new pe.g(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const i=this.taskId++;return this.pendingTasks.add(i),i}remove(i){this.pendingTasks.delete(i),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=Qn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function ys(e,t,n){return e[t]=n}function Gi(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Ia(e,t,n,i){const o=Gi(e,t,n);return Gi(e,t+1,i)||o}function Zd(e,t,n,i,o){const r=Ia(e,t,n,i);return Gi(e,t+2,o)||r}function hl(e,t,n,i,o,r,c,h){const p=at(),w=_n(),R=e+un,F=w.firstCreatePass?function KD(e,t,n,i,o,r,c,h,p){const w=t.consts,R=ll(t,e,4,c||null,ro(w,h));Mh(t,n,R,ro(w,p)),cd(t,R);const F=R.tView=wh(2,R,i,o,r,t.directiveRegistry,t.pipeRegistry,null,t.schemas,w,null);return null!==t.queries&&(t.queries.template(t,R),F.queries=t.queries.embeddedTView(R)),R}(R,w,p,t,n,i,o,r,c):w.data[R];Oi(F,!1);const ne=w_(w,p,F,e);Gs()&&Td(w,p,ne,F),Ao(ne,p);const we=tg(ne,p,ne,F);return p[R]=we,Rd(p,we),function qg(e,t,n){return Zh(e,t,n)}(we,F,p),Mo(F)&&Eh(w,p,F),null!=c&&Dh(p,F,h),hl}let w_=function M_(e,t,n,i){return Zo(!0),t[Wt].createComment("")};function vf(e,t,n,i){const o=at();return Gi(o,So(),t)&&(_n(),bs(Fn(),o,e,t,n,i)),vf}function yl(e,t,n,i){return Gi(e,So(),n)?t+En(n)+i:In}function tu(e,t){return e<<17|t<<2}function oa(e){return e>>17&32767}function bf(e){return 2|e}function Ta(e){return(131068&e)>>2}function yf(e,t){return-131069&e|t<<2}function Cf(e){return 1|e}function iv(e,t,n,i){const o=e[n+1],r=null===t;let c=i?oa(o):Ta(o),h=!1;for(;0!==c&&(!1===h||r);){const w=e[c+1];Ow(e[c],t)&&(h=!0,e[c+1]=i?Cf(w):bf(w)),c=i?oa(w):Ta(w)}h&&(e[n+1]=i?bf(o):Cf(o))}function Ow(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&As(e,t)>=0}const to={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ov(e){return e.substring(to.key,to.keyEnd)}function rv(e,t){const n=to.textEnd;return n===t?-1:(t=to.keyEnd=function Nw(e,t,n){for(;t32;)t++;return t}(e,to.key=t,n),Sl(e,t,n))}function Sl(e,t,n){for(;t=0;n=rv(t,n))co(e,ov(t),!0)}function qr(e,t,n,i){const o=at(),r=_n(),c=g(2);r.firstUpdatePass&&hv(r,e,c,i),t!==In&&Gi(o,c,t)&&mv(r,r.data[Pn()],o,o[Wt],e,o[c+1]=function Ww(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Ye(ks(e)))),e}(t,n),i,c)}function Jr(e,t,n,i){const o=_n(),r=g(2);o.firstUpdatePass&&hv(o,null,r,i);const c=at();if(n!==In&&Gi(c,r,n)){const h=o.data[Pn()];if(gv(h,i)&&!uv(o,r)){let p=i?h.classesWithoutHost:h.stylesWithoutHost;null!==p&&(n=gt(p,n||"")),Ef(o,h,c,n,i)}else!function zw(e,t,n,i,o,r,c,h){o===In&&(o=jt);let p=0,w=0,R=0=e.expandoStartIndex}function hv(e,t,n,i){const o=e.data;if(null===o[n+1]){const r=o[Pn()],c=uv(e,n);gv(r,i)&&null===t&&!c&&(t=!1),t=function Uw(e,t,n,i){const o=function it(e){const t=an.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let r=i?t.residualClasses:t.residualStyles;if(null===o)0===(i?t.classBindings:t.styleBindings)&&(n=Tc(n=Mf(null,e,t,n,i),t.attrs,i),r=null);else{const c=t.directiveStylingLast;if(-1===c||e[c]!==o)if(n=Mf(o,e,t,n,i),null===r){let p=function Vw(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Ta(i))return e[oa(i)]}(e,t,i);void 0!==p&&Array.isArray(p)&&(p=Mf(null,e,t,p[1],i),p=Tc(p,t.attrs,i),function jw(e,t,n,i){e[oa(n?t.classBindings:t.styleBindings)]=i}(e,t,i,p))}else r=function $w(e,t,n){let i;const o=t.directiveEnd;for(let r=1+t.directiveStylingLast;r0)&&(w=!0)):R=n,o)if(0!==p){const ne=oa(e[h+1]);e[i+1]=tu(ne,h),0!==ne&&(e[ne+1]=yf(e[ne+1],i)),e[h+1]=function Iw(e,t){return 131071&e|t<<17}(e[h+1],i)}else e[i+1]=tu(h,0),0!==h&&(e[h+1]=yf(e[h+1],i)),h=i;else e[i+1]=tu(p,0),0===h?h=i:e[p+1]=yf(e[p+1],i),p=i;w&&(e[i+1]=bf(e[i+1])),iv(e,R,i,!0),iv(e,R,i,!1),function Aw(e,t,n,i,o){const r=o?e.residualClasses:e.residualStyles;null!=r&&"string"==typeof t&&As(r,t)>=0&&(n[i+1]=Cf(n[i+1]))}(t,R,e,i,r),c=tu(h,p),r?t.classBindings=c:t.styleBindings=c}(o,r,t,n,c,i)}}function Mf(e,t,n,i,o){let r=null;const c=n.directiveEnd;let h=n.directiveStylingLast;for(-1===h?h=n.directiveStart:h++;h0;){const p=e[o],w=Array.isArray(p),R=w?p[1]:p,F=null===R;let ne=n[o+1];ne===In&&(ne=F?jt:void 0);let we=F?zs(ne,i):R===i?ne:void 0;if(w&&!nu(we)&&(we=zs(p,i)),nu(we)&&(h=we,c))return h;const ze=e[o+1];o=c?oa(ze):Ta(ze)}if(null!==t){let p=r?t.residualClasses:t.residualStyles;null!=p&&(h=zs(p,i))}return h}function nu(e){return void 0!==e}function gv(e,t){return 0!=(e.flags&(t?8:16))}function _v(e,t,n){Jr(co,xs,yl(at(),e,t,n),!0)}function Cv(e,t,n){Da("NgControlFlow");const i=at(),o=So(),r=function Tf(e,t){return e[t]}(i,un+e);if(Gi(i,o,t)){const h=ae(null);try{if(function kh(e,t){const n=rc(e,t);return void 0!==n&&Id(n[Ct],n),n}(r,0),-1!==t){const p=function Af(e,t){return Cr(e,t)}(i[Ct],un+t),w=dl(r,p.tView.ssrId);cc(r,lc(i,p,n,{dehydratedView:w}),0,cl(p,w))}}finally{ae(h)}}else{const h=function sg(e,t){const n=fi+t;if(n(Zo(!0),Md(i,o,function Fl(){return an.lFrame.currentNamespace}()));function ru(e,t,n){const i=at(),o=_n(),r=e+un,c=o.firstCreatePass?function gM(e,t,n,i,o){const r=t.consts,c=ro(r,i),h=ll(t,e,8,"ng-container",c);return null!==c&&Hd(h,c,!0),Mh(t,n,h,ro(r,o)),null!==t.queries&&t.queries.elementStart(t,h),h}(r,o,i,t,n):o.data[r];Oi(c,!0);const h=Dv(o,i,c,e);return i[r]=h,Gs()&&Td(o,i,h,c),Ao(h,i),Mo(c)&&(Eh(o,i,c),xh(o,c,i)),null!=n&&Dh(i,c),ru}function su(){let e=Gn();const t=_n();return Io()?ar():(e=e.parent,Oi(e,!1)),t.firstCreatePass&&(cd(t,e),_r(e)&&t.queries.elementEnd(e)),su}let Dv=(e,t,n,i)=>(Zo(!0),ph(t[Wt],""));function wv(){return at()}function kf(e,t,n){const i=at();return Gi(i,So(),t)&&qo(_n(),Fn(),i,e,t,i[Wt],n,!0),kf}const Aa=void 0;var yM=["en",[["a","p"],["AM","PM"],Aa],[["AM","PM"],Aa,Aa],[["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"]],Aa,[["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"]],Aa,[["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}",Aa,"{1} 'at' {0}",Aa],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function bM(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let Tl={};function Rf(e){const t=function CM(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Sv(t);if(n)return n;const i=t.split("-")[0];if(n=Sv(i),n)return n;if("en"===i)return yM;throw new $e(701,!1)}function Iv(e){return Rf(e)[Al.PluralCase]}function Sv(e){return e in Tl||(Tl[e]=Ht.ng&&Ht.ng.common&&Ht.ng.common.locales&&Ht.ng.common.locales[e]),Tl[e]}var Al=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}(Al||{});const Ol="en-US";let Tv=Ol;function Ff(e,t,n,i){const o=at(),r=_n(),c=Gn();return Lf(r,o,o[Wt],c,e,t,i),Ff}function Lf(e,t,n,i,o,r,c){const h=Mo(i),w=e.firstCreatePass&&og(e),R=t[Ln],F=ig(t);let ne=!0;if(3&i.type||c){const ut=zi(i,t),Dt=c?c(ut):ut,Rt=F.length,ft=c?wn=>c(An(wn[i.index])):i.index;let mn=null;if(!c&&h&&(mn=function pI(e,t,n,i){const o=e.cleanup;if(null!=o)for(let r=0;rp?h[p]:null}"string"==typeof c&&(r+=2)}return null}(e,t,o,i.index)),null!==mn)(mn.__ngLastListenerFn__||mn).__ngNextListenerFn__=r,mn.__ngLastListenerFn__=r,ne=!1;else{r=nb(i,t,R,r,!1);const wn=n.listen(Dt,o,r);F.push(r,wn),w&&w.push(o,ft,Rt,Rt+1)}}else r=nb(i,t,R,r,!1);const we=i.outputs;let ze;if(ne&&null!==we&&(ze=we[o])){const ut=ze.length;if(ut)for(let Dt=0;Dt-1?Ni(e.index,t):t);let p=tb(t,n,i,c),w=r.__ngNextListenerFn__;for(;w;)p=tb(t,n,w,c)&&p,w=w.__ngNextListenerFn__;return o&&!1===p&&c.preventDefault(),p}}function ib(e=1){return function Bo(e){return(an.lFrame.contextLView=function No(e,t){for(;e>0;)t=t[Ho],e--;return t}(e,an.lFrame.contextLView))[Ln]}(e)}function gI(e,t){let n=null;const i=function oi(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 o=0;o(Zo(!0),function wd(e,t){return e.createText(t)}(t[Wt],i));function Vf(e){return uu("",e,""),Vf}function uu(e,t,n){const i=at(),o=yl(i,e,t,n);return o!==In&&Ps(i,Pn(),o),uu}function jf(e,t,n,i,o){const r=at(),c=function Cl(e,t,n,i,o,r){const h=Ia(e,so(),n,o);return g(2),h?t+En(n)+i+En(o)+r:In}(r,e,t,n,i,o);return c!==In&&Ps(r,Pn(),c),jf}function $f(e,t,n,i,o,r,c){const h=at(),p=function xl(e,t,n,i,o,r,c,h){const w=Zd(e,so(),n,o,c);return g(3),w?t+En(n)+i+En(o)+r+En(c)+h:In}(h,e,t,n,i,o,r,c);return p!==In&&Ps(h,Pn(),p),$f}function Gf(e,t,n){Mg(t)&&(t=t());const i=at();return Gi(i,So(),t)&&qo(_n(),Fn(),i,e,t,i[Wt],n,!1),Gf}function Fb(e,t){const n=Mg(e);return n&&e.set(t),n}function Hf(e,t){const n=at(),i=_n(),o=Gn();return Lf(i,n,n[Wt],o,e,t),Hf}function zf(e,t,n,i,o){if(e=Qt(e),Array.isArray(e))for(let r=0;r>20;if(ba(e)||!e.multi){const we=new Jl(w,o,al),ze=Kf(p,t,o?R:R+ne,F);-1===ze?(Xu(fd(h,c),r,p),Wf(r,e,t.length),t.push(p),h.directiveStart++,h.directiveEnd++,o&&(h.providerIndexes+=1048576),n.push(we),c.push(we)):(n[ze]=we,c[ze]=we)}else{const we=Kf(p,t,R+ne,F),ze=Kf(p,t,R,R+ne),Dt=ze>=0&&n[ze];if(o&&!Dt||!o&&!(we>=0&&n[we])){Xu(fd(h,c),r,p);const Rt=function NI(e,t,n,i,o){const r=new Jl(e,n,al);return r.multi=[],r.index=t,r.componentProviders=0,Lb(r,o,i&&!n),r}(o?PI:RI,n.length,o,i,w);!o&&Dt&&(n[ze].providerFactory=Rt),Wf(r,e,t.length,0),t.push(p),h.directiveStart++,h.directiveEnd++,o&&(h.providerIndexes+=1048576),n.push(Rt),c.push(Rt)}else Wf(r,e,we>-1?we:ze,Lb(n[o?ze:we],w,!o&&i));!o&&i&&Dt&&n[ze].componentProviders++}}}function Wf(e,t,n,i){const o=ba(t),r=function f0(e){return!!e.useClass}(t);if(o||r){const p=(r?Qt(t.useClass):t).prototype.ngOnDestroy;if(p){const w=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const R=w.indexOf(n);-1===R?w.push(n,[i,p]):w[R+1].push(i,p)}else w.push(n,p)}}}function Lb(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Kf(e,t,n,i){for(let o=n;o{n.providersResolver=(i,o)=>function kI(e,t,n){const i=_n();if(i.firstCreatePass){const o=Ui(e);zf(n,i.data,i.blueprint,o,!0),zf(t,i.data,i.blueprint,o,!1)}}(i,o?o(e):e,t)}}let FI=(()=>{var e;class t{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){const o=xm(0,i.type),r=o.length>0?D_([o],this._injector,"Standalone[".concat(i.type.name,"]")):null;this.cachedInjectors.set(i,r)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}}return(e=t).\u0275prov=Qn({token:e,providedIn:"environment",factory:()=>new e(bo(gs))}),t})();function Ub(e){Da("NgStandalone"),e.getStandaloneInjector=t=>t.get(FI).getOrCreateStandaloneInjector(e)}function Yb(e,t,n,i,o,r){return function Qb(e,t,n,i,o,r,c,h){const p=t+n;return Zd(e,p,o,r,c)?ys(e,p+3,h?i.call(h,o,r,c):i(o,r,c)):Nc(e,p+3)}(at(),bi(),e,t,n,i,o,r)}function Nc(e,t){const n=e[t];return n===In?void 0:n}function ey(e,t){const n=_n();let i;const o=e+un;var r;n.firstCreatePass?(i=function tS(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[o]=i,i.onDestroy&&(null!==(r=n.destroyHooks)&&void 0!==r?r:n.destroyHooks=[]).push(o,i.onDestroy)):i=n.data[o];const c=i.factory||(i.factory=Rr(i.type)),p=To(al);try{const w=hd(!1),R=c();return hd(w),function yI(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,at(),o,R),R}finally{To(p)}}function ty(e,t,n){const i=e+un,o=at(),r=sr(o,i);return function Fc(e,t){return e[Ct].data[t].pure}(o,i)?function Zb(e,t,n,i,o,r){const c=t+n;return Gi(e,c,o)?ys(e,c+1,r?i.call(r,o):i(o)):Nc(e,c+1)}(o,bi(),t,r.transform,n,r):r.transform(n)}function ny(e,t){return Fd(e,t)}class vy{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let by=(()=>{var e;class t{log(i){console.log(i)}warn(i){console.warn(i)}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=Qn({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const Ey=new C(""),Dy=new C("");let nm,qS=(()=>{var e;class t{constructor(i,o,r){this._ngZone=i,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,nm||(function JS(e){nm=e}(r),r.addToWindow(o)),this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{$i.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,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 i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb()}});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(i)||(clearTimeout(o.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,o,r){let c=-1;o&&o>0&&(c=setTimeout(()=>{this._callbacks=this._callbacks.filter(h=>h.timeoutId!==c),i()},o)),this._callbacks.push({doneCb:i,timeoutId:c,updateCb:r})}whenStable(i,o,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(i,o,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,o,r){return[]}}return(e=t).\u0275fac=function(i){return new(i||e)(bo($i),bo(wy),bo(Dy))},e.\u0275prov=Qn({token:e,factory:e.\u0275fac}),t})(),wy=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(i,o){this._applications.set(i,o)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,o=!0){var r,c;return null!==(r=null===(c=nm)||void 0===c?void 0:c.findTestabilityInTree(this,i,o))&&void 0!==r?r:null}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=Qn({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function im(e){return!!e&&"function"==typeof e.then}function My(e){return!!e&&"function"==typeof e.subscribe}const Iy=new C("");let om=(()=>{var e;class t{constructor(){var i;this.initialized=!1,this.done=!1,this.donePromise=new Promise((o,r)=>{this.resolve=o,this.reject=r}),this.appInits=null!==(i=Vn(Iy,{optional:!0}))&&void 0!==i?i:[]}runInitializers(){if(this.initialized)return;const i=[];for(const r of this.appInits){const c=r();if(im(c))i.push(c);else if(My(c)){const h=new Promise((p,w)=>{c.subscribe({complete:p,error:w})});i.push(h)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{o()}).catch(r=>{this.reject(r)}),0===i.length&&o(),this.initialized=!0}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=Qn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const rm=new C("");function Ay(e,t){return Array.isArray(t)?t.reduce(Ay,e):{...e,...t}}let Oa=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Vn(qm),this.afterRenderEffectManager=Vn(bc),this.componentTypes=[],this.components=[],this.isStable=Vn(Dc).hasPendingTasks.pipe((0,Ve.k)(i=>!i)),this._injector=Vn(gs)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,o){const r=i instanceof xg;if(!this._injector.get(om).done)throw!r&&Yi(i),new $e(405,!1);let h;h=r?i:this._injector.get(vc).resolveComponentFactory(i),this.componentTypes.push(h.componentType);const p=function eT(e){return e.isBoundToModule}(h)?void 0:this._injector.get(Ma),R=h.create(Pr.NULL,[],o||h.selector,p),F=R.location.nativeElement,ne=R.injector.get(Ey,null);return null==ne||ne.registerApplication(F),R.onDestroy(()=>{this.detachView(R.hostView),pu(this.components,R),null==ne||ne.unregisterApplication(F)}),this._loadComponent(R),R}tick(){if(this._runningTick)throw new $e(101,!1);try{this._runningTick=!0,this.detectChangesInAttachedViews()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1}}detectChangesInAttachedViews(){let i=0;do{if(100===i)throw new $e(103,!1);const o=0===i;for(let{_lView:r,notifyErrorHandler:c}of this._views)!o&&!Oy(r)||this.detectChangesInView(r,c,o);this.afterRenderEffectManager.execute(),i++}while(this._views.some(({_lView:o})=>Oy(o)))}detectChangesInView(i,o,r){let c;r?(c=0,i[zt]|=1024):c=64&i[zt]?0:1,Nd(i,o,c)}attachView(i){const o=i;this._views.push(o),o.attachToAppRef(this)}detachView(i){const o=i;pu(this._views,o),o.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const o=this._injector.get(rm,[]);[...this._bootstrapListeners,...o].forEach(r=>r(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>pu(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new $e(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=Qn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function pu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Oy(e){return jr(e)}class nT{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let iT=(()=>{var e;class t{compileModuleSync(i){return new lf(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const o=this.compileModuleSync(i),c=ur(_i(i).declarations).reduce((h,p)=>{const w=pn(p);return w&&h.push(new xc(w)),h},[]);return new nT(o,c)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=Qn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),sT=(()=>{var e;class t{constructor(){this.zone=Vn($i),this.applicationRef=Vn(Oa)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var i;null===(i=this._onMicrotaskEmptySubscription)||void 0===i||i.unsubscribe()}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=Qn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function aT(){const e=Vn($i),t=Vn(Js);return n=>e.runOutsideAngular(()=>t.handleError(n))}let cT=(()=>{var e;class t{constructor(){this.subscription=new le.wH,this.initialized=!1,this.zone=Vn($i),this.pendingTasks=Vn(Dc)}initialize(){if(this.initialized)return;this.initialized=!0;let i=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(i=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{$i.assertNotInAngularZone(),queueMicrotask(()=>{null!==i&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(i),i=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{var o;$i.assertInAngularZone(),null!==(o=i)&&void 0!==o||(i=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=Qn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const gu=new C("",{providedIn:"root",factory:()=>Vn(gu,he.Optional|he.SkipSelf)||function dT(){return typeof $localize<"u"&&$localize.locale||Ol}()}),uT=new C("",{providedIn:"root",factory:()=>"USD"}),sm=new C("");let Ny=(()=>{var e;class t{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,o){const r=function JE(e="zone.js",t){return"noop"===e?new Bg:"zone.js"===e?new $i(t):e}(null==o?void 0:o.ngZone,function Py(e){var t,n;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:null!==(t=null==e?void 0:e.eventCoalescing)&&void 0!==t&&t,shouldCoalesceRunChangeDetection:null!==(n=null==e?void 0:e.runCoalescing)&&void 0!==n&&n}}({eventCoalescing:null==o?void 0:o.ngZoneEventCoalescing,runCoalescing:null==o?void 0:o.ngZoneRunCoalescing}));return r.run(()=>{const c=function WD(e,t,n){return new af(e,t,n)}(i.moduleType,this.injector,function Ry(e){return[{provide:$i,useFactory:e},{provide:Qr,multi:!0,useFactory:()=>{const t=Vn(sT,{optional:!0});return()=>t.initialize()}},{provide:Qr,multi:!0,useFactory:()=>{const t=Vn(cT);return()=>{t.initialize()}}},{provide:qm,useFactory:aT}]}(()=>r)),h=c.injector.get(Js,null);return r.runOutsideAngular(()=>{const p=r.onError.subscribe({next:w=>{h.handleError(w)}});c.onDestroy(()=>{pu(this._modules,c),p.unsubscribe()})}),function Ty(e,t,n){try{const i=n();return im(i)?i.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(h,r,()=>{const p=c.injector.get(om);return p.runInitializers(),p.donePromise.then(()=>(function Av(e){"string"==typeof e&&(Tv=e.toLowerCase().replace(/_/g,"-"))}(c.injector.get(gu,Ol)||Ol),this._moduleDoBootstrap(c),c))})})}bootstrapModule(i,o=[]){const r=Ay({},o);return function rT(e,t,n){const i=new lf(n);return Promise.resolve(i)}(0,0,i).then(c=>this.bootstrapModuleFactory(c,r))}_moduleDoBootstrap(i){const o=i.injector.get(Oa);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(r=>o.bootstrap(r));else{if(!i.instance.ngDoBootstrap)throw new $e(-403,!1);i.instance.ngDoBootstrap(o)}this._modules.push(i)}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new $e(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const i=this._injector.get(sm,null);i&&(i.forEach(o=>o()),i.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(i){return new(i||e)(bo(Pr))},e.\u0275prov=Qn({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),ra=null;const Fy=new C("");function Ly(e,t,n=[]){const i="Platform: ".concat(t),o=new C(i);return(r=[])=>{let c=am();if(!c||c.injector.get(Fy,!1)){const h=[...n,...r,{provide:o,useValue:!0}];e?e(h):function fT(e){if(ra&&!ra.get(Fy,!1))throw new $e(400,!1);(function Sy(){!function qe(e){on=e}(()=>{throw new $e(600,!1)})})(),ra=e;const t=e.get(Ny);(function Uy(e){const t=e.get(Le,null);null==t||t.forEach(n=>n())})(e)}(function By(e=[],t){return Pr.create({name:t,providers:[{provide:Lu,useValue:"platform"},{provide:sm,useValue:new Set([()=>ra=null])},...e]})}(h,i))}return function mT(e){const t=am();if(!t)throw new $e(401,!1);return t}()}}function am(){var e,t;return null!==(e=null===(t=ra)||void 0===t?void 0:t.get(Ny))&&void 0!==e?e:null}function gT(){}const yT=Ly(null,"core",[]);let CT=(()=>{var e;class t{constructor(i){}}return(e=t).\u0275fac=function(i){return new(i||e)(bo(Oa))},e.\u0275mod=mr({type:e}),e.\u0275inj=Os({}),t})();function YT(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function ZT(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function QT(e){const t=pn(e);if(!t)return null;const n=new xc(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},4716:(Qe,fe,y)=>{y.d(fe,{cX:()=>_o,ot:()=>Ge,uW:()=>ci,y:()=>la,WM:()=>G,Y6:()=>Be,eq:()=>Xt,ue:()=>tt,u:()=>P,SC:()=>Sn,_G:()=>li,AQ:()=>ie,sz:()=>Yi});var a=y(4496),s=y(1368),D=y(2115),J=y(3252),ce=y(4300),z=y(560),ae=y(6624),ve=y(7773),te=y(4187),Ce=y(7904),Pe=y(4704);let et=(()=>{var A;class E{constructor(T,Q){this._renderer=T,this._elementRef=Q,this.onChange=yt=>{},this.onTouched=()=>{}}setProperty(T,Q){this._renderer.setProperty(this._elementRef.nativeElement,T,Q)}registerOnTouched(T){this.onTouched=T}registerOnChange(T){this.onChange=T}setDisabledState(T){this.setProperty("disabled",T)}}return(A=E).\u0275fac=function(T){return new(T||A)(a.GI1(a.q87),a.GI1(a.GMv))},A.\u0275dir=a.Sc5({type:A}),E})(),ke=(()=>{var A;class E extends et{}return(A=E).\u0275fac=(()=>{let H;return function(Q){return(H||(H=a.otF(A)))(Q||A)}})(),A.\u0275dir=a.Sc5({type:A,features:[a.eg9]}),E})();const Be=new a.UbH(""),ot={provide:Be,useExisting:(0,a.wd)(()=>Ge),multi:!0},lt=new a.UbH("");let Ge=(()=>{var A;class E extends et{constructor(T,Q,yt){super(T,Q),this._compositionMode=yt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function xt(){const A=(0,s.uy)()?(0,s.uy)().getUserAgent():"";return/android (\d+)/.test(A.toLowerCase())}())}writeValue(T){this.setProperty("value",null==T?"":T)}_handleInput(T){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(T)}_compositionStart(){this._composing=!0}_compositionEnd(T){this._composing=!1,this._compositionMode&&this.onChange(T)}}return(A=E).\u0275fac=function(T){return new(T||A)(a.GI1(a.q87),a.GI1(a.GMv),a.GI1(lt,8))},A.\u0275dir=a.Sc5({type:A,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(T,Q){1&T&&a.qCj("input",function(Ot){return Q._handleInput(Ot.target.value)})("blur",function(){return Q.onTouched()})("compositionstart",function(){return Q._compositionStart()})("compositionend",function(Ot){return Q._compositionEnd(Ot.target.value)})},features:[a.M5G([ot]),a.eg9]}),E})();function Oe(A){return null==A||("string"==typeof A||Array.isArray(A))&&0===A.length}function X(A){return null!=A&&"number"==typeof A.length}const G=new a.UbH(""),ye=new a.UbH(""),re=/^(?=.{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 ie{static min(E){return function me(A){return E=>{if(Oe(E.value)||Oe(A))return null;const H=parseFloat(E.value);return!isNaN(H)&&H{if(Oe(E.value)||Oe(A))return null;const H=parseFloat(E.value);return!isNaN(H)&&H>A?{max:{max:A,actual:E.value}}:null}}(E)}static required(E){return pt(E)}static requiredTrue(E){return Pt(E)}static email(E){return function Tt(A){return Oe(A.value)||re.test(A.value)?null:{email:!0}}(E)}static minLength(E){return function on(A){return E=>Oe(E.value)||!X(E.value)?null:E.value.lengthX(E.value)&&E.value.length>A?{maxlength:{requiredLength:A,actualLength:E.value.length}}:null}(E)}static pattern(E){return function qe(A){if(!A)return De;let E,H;return"string"==typeof A?(H="","^"!==A.charAt(0)&&(H+="^"),H+=A,"$"!==A.charAt(A.length-1)&&(H+="$"),E=new RegExp(H)):(H=A.toString(),E=A),T=>{if(Oe(T.value))return null;const Q=T.value;return E.test(Q)?null:{pattern:{requiredPattern:H,actualValue:Q}}}}(E)}static nullValidator(E){return null}static compose(E){return Kt(E)}static composeAsync(E){return Gt(E)}}function pt(A){return Oe(A.value)?{required:!0}:null}function Pt(A){return!0===A.value?null:{required:!0}}function De(A){return null}function _e(A){return null!=A}function Se(A){return(0,a.w5$)(A)?(0,D.Q)(A):A}function Ke(A){let E={};return A.forEach(H=>{E=null!=H?{...E,...H}:E}),0===Object.keys(E).length?null:E}function ht(A,E){return E.map(H=>H(A))}function Ft(A){return A.map(E=>function st(A){return!A.validate}(E)?E:H=>E.validate(H))}function Kt(A){if(!A)return null;const E=A.filter(_e);return 0==E.length?null:function(H){return Ke(ht(H,E))}}function ln(A){return null!=A?Kt(Ft(A)):null}function Gt(A){if(!A)return null;const E=A.filter(_e);return 0==E.length?null:function(H){return function Me(...A){const E=(0,ae.yu)(A),{args:H,keys:T}=(0,ce.Q)(A),Q=new J._(yt=>{const{length:Ot}=H;if(!Ot)return void yt.complete();const ti=new Array(Ot);let Qi=Ot,rr=Ot;for(let An=0;An{Vr||(Vr=!0,rr--),ti[An]=yr},()=>Qi--,void 0,()=>{(!Qi||!Vr)&&(rr||yt.next(T?(0,Ce.q)(T,ti):ti),yt.complete())}))}});return E?Q.pipe((0,te.j)(E)):Q}(ht(H,E).map(Se)).pipe((0,Pe.k)(Ke))}}function ct(A){return null!=A?Gt(Ft(A)):null}function Zt(A,E){return null===A?[E]:Array.isArray(A)?[...A,E]:[A,E]}function Ut(A){return A._rawValidators}function le(A){return A._rawAsyncValidators}function pe(A){return A?Array.isArray(A)?A:[A]:[]}function Ve(A,E){return Array.isArray(A)?A.includes(E):A===E}function Te(A,E){const H=pe(E);return pe(A).forEach(Q=>{Ve(H,Q)||H.push(Q)}),H}function dt(A,E){return pe(E).filter(H=>!Ve(A,H))}class $e{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(E){this._rawValidators=E||[],this._composedValidatorFn=ln(this._rawValidators)}_setAsyncValidators(E){this._rawAsyncValidators=E||[],this._composedAsyncValidatorFn=ct(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(E){this._onDestroyCallbacks.push(E)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(E=>E()),this._onDestroyCallbacks=[]}reset(E=void 0){this.control&&this.control.reset(E)}hasError(E,H){return!!this.control&&this.control.hasError(E,H)}getError(E,H){return this.control?this.control.getError(E,H):null}}class Mt extends $e{get formDirective(){return null}get path(){return null}}class Xt extends $e{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class gn{constructor(E){this._cd=E}get isTouched(){var E;return!(null===(E=this._cd)||void 0===E||null===(E=E.control)||void 0===E||!E.touched)}get isUntouched(){var E;return!(null===(E=this._cd)||void 0===E||null===(E=E.control)||void 0===E||!E.untouched)}get isPristine(){var E;return!(null===(E=this._cd)||void 0===E||null===(E=E.control)||void 0===E||!E.pristine)}get isDirty(){var E;return!(null===(E=this._cd)||void 0===E||null===(E=E.control)||void 0===E||!E.dirty)}get isValid(){var E;return!(null===(E=this._cd)||void 0===E||null===(E=E.control)||void 0===E||!E.valid)}get isInvalid(){var E;return!(null===(E=this._cd)||void 0===E||null===(E=E.control)||void 0===E||!E.invalid)}get isPending(){var E;return!(null===(E=this._cd)||void 0===E||null===(E=E.control)||void 0===E||!E.pending)}get isSubmitted(){var E;return!(null===(E=this._cd)||void 0===E||!E.submitted)}}let tt=(()=>{var A;class E extends gn{constructor(T){super(T)}}return(A=E).\u0275fac=function(T){return new(T||A)(a.GI1(Xt,2))},A.\u0275dir=a.Sc5({type:A,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(T,Q){2&T&&a.eAK("ng-untouched",Q.isUntouched)("ng-touched",Q.isTouched)("ng-pristine",Q.isPristine)("ng-dirty",Q.isDirty)("ng-valid",Q.isValid)("ng-invalid",Q.isInvalid)("ng-pending",Q.isPending)},features:[a.eg9]}),E})(),P=(()=>{var A;class E extends gn{constructor(T){super(T)}}return(A=E).\u0275fac=function(T){return new(T||A)(a.GI1(Mt,10))},A.\u0275dir=a.Sc5({type:A,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(T,Q){2&T&&a.eAK("ng-untouched",Q.isUntouched)("ng-touched",Q.isTouched)("ng-pristine",Q.isPristine)("ng-dirty",Q.isDirty)("ng-valid",Q.isValid)("ng-invalid",Q.isInvalid)("ng-pending",Q.isPending)("ng-submitted",Q.isSubmitted)},features:[a.eg9]}),E})();const Ze="VALID",V="INVALID",$="PENDING",k="DISABLED";function O(A){return(nt(A)?A.validators:A)||null}function N(A,E){return(nt(E)?E.asyncValidators:A)||null}function nt(A){return null!=A&&!Array.isArray(A)&&"object"==typeof A}class Ae{constructor(E,H){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(E),this._assignAsyncValidators(H)}get validator(){return this._composedValidatorFn}set validator(E){this._rawValidators=this._composedValidatorFn=E}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(E){this._rawAsyncValidators=this._composedAsyncValidatorFn=E}get parent(){return this._parent}get valid(){return this.status===Ze}get invalid(){return this.status===V}get pending(){return this.status==$}get disabled(){return this.status===k}get enabled(){return this.status!==k}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(E){this._assignValidators(E)}setAsyncValidators(E){this._assignAsyncValidators(E)}addValidators(E){this.setValidators(Te(E,this._rawValidators))}addAsyncValidators(E){this.setAsyncValidators(Te(E,this._rawAsyncValidators))}removeValidators(E){this.setValidators(dt(E,this._rawValidators))}removeAsyncValidators(E){this.setAsyncValidators(dt(E,this._rawAsyncValidators))}hasValidator(E){return Ve(this._rawValidators,E)}hasAsyncValidator(E){return Ve(this._rawAsyncValidators,E)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(E={}){this.touched=!0,this._parent&&!E.onlySelf&&this._parent.markAsTouched(E)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(E=>E.markAllAsTouched())}markAsUntouched(E={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(H=>{H.markAsUntouched({onlySelf:!0})}),this._parent&&!E.onlySelf&&this._parent._updateTouched(E)}markAsDirty(E={}){this.pristine=!1,this._parent&&!E.onlySelf&&this._parent.markAsDirty(E)}markAsPristine(E={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(H=>{H.markAsPristine({onlySelf:!0})}),this._parent&&!E.onlySelf&&this._parent._updatePristine(E)}markAsPending(E={}){this.status=$,!1!==E.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!E.onlySelf&&this._parent.markAsPending(E)}disable(E={}){const H=this._parentMarkedDirty(E.onlySelf);this.status=k,this.errors=null,this._forEachChild(T=>{T.disable({...E,onlySelf:!0})}),this._updateValue(),!1!==E.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...E,skipPristineCheck:H}),this._onDisabledChange.forEach(T=>T(!0))}enable(E={}){const H=this._parentMarkedDirty(E.onlySelf);this.status=Ze,this._forEachChild(T=>{T.enable({...E,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent}),this._updateAncestors({...E,skipPristineCheck:H}),this._onDisabledChange.forEach(T=>T(!1))}_updateAncestors(E){this._parent&&!E.onlySelf&&(this._parent.updateValueAndValidity(E),E.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(E){this._parent=E}getRawValue(){return this.value}updateValueAndValidity(E={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ze||this.status===$)&&this._runAsyncValidator(E.emitEvent)),!1!==E.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!E.onlySelf&&this._parent.updateValueAndValidity(E)}_updateTreeValidity(E={emitEvent:!0}){this._forEachChild(H=>H._updateTreeValidity(E)),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?k:Ze}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(E){if(this.asyncValidator){this.status=$,this._hasOwnPendingAsyncValidator=!0;const H=Se(this.asyncValidator(this));this._asyncValidationSubscription=H.subscribe(T=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(T,{emitEvent:E})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(E,H={}){this.errors=E,this._updateControlsErrors(!1!==H.emitEvent)}get(E){let H=E;return null==H||(Array.isArray(H)||(H=H.split(".")),0===H.length)?null:H.reduce((T,Q)=>T&&T._find(Q),this)}getError(E,H){const T=H?this.get(H):this;return T&&T.errors?T.errors[E]:null}hasError(E,H){return!!this.getError(E,H)}get root(){let E=this;for(;E._parent;)E=E._parent;return E}_updateControlsErrors(E){this.status=this._calculateStatus(),E&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(E)}_initObservables(){this.valueChanges=new a._w7,this.statusChanges=new a._w7}_calculateStatus(){return this._allControlsDisabled()?k:this.errors?V:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($)?$:this._anyControlsHaveStatus(V)?V:Ze}_anyControlsHaveStatus(E){return this._anyControls(H=>H.status===E)}_anyControlsDirty(){return this._anyControls(E=>E.dirty)}_anyControlsTouched(){return this._anyControls(E=>E.touched)}_updatePristine(E={}){this.pristine=!this._anyControlsDirty(),this._parent&&!E.onlySelf&&this._parent._updatePristine(E)}_updateTouched(E={}){this.touched=this._anyControlsTouched(),this._parent&&!E.onlySelf&&this._parent._updateTouched(E)}_registerOnCollectionChange(E){this._onCollectionChange=E}_setUpdateStrategy(E){nt(E)&&null!=E.updateOn&&(this._updateOn=E.updateOn)}_parentMarkedDirty(E){return!E&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(E){return null}_assignValidators(E){this._rawValidators=Array.isArray(E)?E.slice():E,this._composedValidatorFn=function B(A){return Array.isArray(A)?ln(A):A||null}(this._rawValidators)}_assignAsyncValidators(E){this._rawAsyncValidators=Array.isArray(E)?E.slice():E,this._composedAsyncValidatorFn=function q(A){return Array.isArray(A)?ct(A):A||null}(this._rawAsyncValidators)}}class de extends Ae{constructor(E,H,T){super(O(H),N(T,H)),this.controls=E,this._initObservables(),this._setUpdateStrategy(H),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(E,H){return this.controls[E]?this.controls[E]:(this.controls[E]=H,H.setParent(this),H._registerOnCollectionChange(this._onCollectionChange),H)}addControl(E,H,T={}){this.registerControl(E,H),this.updateValueAndValidity({emitEvent:T.emitEvent}),this._onCollectionChange()}removeControl(E,H={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),delete this.controls[E],this.updateValueAndValidity({emitEvent:H.emitEvent}),this._onCollectionChange()}setControl(E,H,T={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),delete this.controls[E],H&&this.registerControl(E,H),this.updateValueAndValidity({emitEvent:T.emitEvent}),this._onCollectionChange()}contains(E){return this.controls.hasOwnProperty(E)&&this.controls[E].enabled}setValue(E,H={}){(function be(A,E,H){A._forEachChild((T,Q)=>{if(void 0===H[Q])throw new a.OBp(1002,"")})})(this,0,E),Object.keys(E).forEach(T=>{(function xe(A,E,H){const T=A.controls;if(!(E?Object.keys(T):T).length)throw new a.OBp(1e3,"");if(!T[H])throw new a.OBp(1001,"")})(this,!0,T),this.controls[T].setValue(E[T],{onlySelf:!0,emitEvent:H.emitEvent})}),this.updateValueAndValidity(H)}patchValue(E,H={}){null!=E&&(Object.keys(E).forEach(T=>{const Q=this.controls[T];Q&&Q.patchValue(E[T],{onlySelf:!0,emitEvent:H.emitEvent})}),this.updateValueAndValidity(H))}reset(E={},H={}){this._forEachChild((T,Q)=>{T.reset(E?E[Q]:null,{onlySelf:!0,emitEvent:H.emitEvent})}),this._updatePristine(H),this._updateTouched(H),this.updateValueAndValidity(H)}getRawValue(){return this._reduceChildren({},(E,H,T)=>(E[T]=H.getRawValue(),E))}_syncPendingControls(){let E=this._reduceChildren(!1,(H,T)=>!!T._syncPendingControls()||H);return E&&this.updateValueAndValidity({onlySelf:!0}),E}_forEachChild(E){Object.keys(this.controls).forEach(H=>{const T=this.controls[H];T&&E(T,H)})}_setUpControls(){this._forEachChild(E=>{E.setParent(this),E._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(E){for(const[H,T]of Object.entries(this.controls))if(this.contains(H)&&E(T))return!0;return!1}_reduceValue(){return this._reduceChildren({},(H,T,Q)=>((T.enabled||this.disabled)&&(H[Q]=T.value),H))}_reduceChildren(E,H){let T=E;return this._forEachChild((Q,yt)=>{T=H(T,Q,yt)}),T}_allControlsDisabled(){for(const E of Object.keys(this.controls))if(this.controls[E].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(E){return this.controls.hasOwnProperty(E)?this.controls[E]:null}}const On=new a.UbH("CallSetDisabledState",{providedIn:"root",factory:()=>jt}),jt="always";function di(A,E,H=jt){var T,Q;Fi(A,E),E.valueAccessor.writeValue(A.value),(A.disabled||"always"===H)&&(null===(T=(Q=E.valueAccessor).setDisabledState)||void 0===T||T.call(Q,A.disabled)),function Ti(A,E){E.valueAccessor.registerOnChange(H=>{A._pendingValue=H,A._pendingChange=!0,A._pendingDirty=!0,"change"===A.updateOn&&K(A,E)})}(A,E),function ge(A,E){const H=(T,Q)=>{E.valueAccessor.writeValue(T),Q&&E.viewToModelUpdate(T)};A.registerOnChange(H),E._registerOnDestroy(()=>{A._unregisterOnChange(H)})}(A,E),function er(A,E){E.valueAccessor.registerOnTouched(()=>{A._pendingTouched=!0,"blur"===A.updateOn&&A._pendingChange&&K(A,E),"submit"!==A.updateOn&&A.markAsTouched()})}(A,E),function Ei(A,E){if(E.valueAccessor.setDisabledState){const H=T=>{E.valueAccessor.setDisabledState(T)};A.registerOnDisabledChange(H),E._registerOnDestroy(()=>{A._unregisterOnDisabledChange(H)})}}(A,E)}function Ci(A,E,H=!0){const T=()=>{};E.valueAccessor&&(E.valueAccessor.registerOnChange(T),E.valueAccessor.registerOnTouched(T)),ni(A,E),A&&(E._invokeOnDestroyCallbacks(),A._registerOnCollectionChange(()=>{}))}function xi(A,E){A.forEach(H=>{H.registerOnValidatorChange&&H.registerOnValidatorChange(E)})}function Fi(A,E){const H=Ut(A);null!==E.validator?A.setValidators(Zt(H,E.validator)):"function"==typeof H&&A.setValidators([H]);const T=le(A);null!==E.asyncValidator?A.setAsyncValidators(Zt(T,E.asyncValidator)):"function"==typeof T&&A.setAsyncValidators([T]);const Q=()=>A.updateValueAndValidity();xi(E._rawValidators,Q),xi(E._rawAsyncValidators,Q)}function ni(A,E){let H=!1;if(null!==A){if(null!==E.validator){const Q=Ut(A);if(Array.isArray(Q)&&Q.length>0){const yt=Q.filter(Ot=>Ot!==E.validator);yt.length!==Q.length&&(H=!0,A.setValidators(yt))}}if(null!==E.asyncValidator){const Q=le(A);if(Array.isArray(Q)&&Q.length>0){const yt=Q.filter(Ot=>Ot!==E.asyncValidator);yt.length!==Q.length&&(H=!0,A.setAsyncValidators(yt))}}}const T=()=>{};return xi(E._rawValidators,T),xi(E._rawAsyncValidators,T),H}function K(A,E){A._pendingDirty&&A.markAsDirty(),A.setValue(A._pendingValue,{emitModelToViewChange:!1}),E.viewToModelUpdate(A._pendingValue),A._pendingChange=!1}function We(A,E){Fi(A,E)}function gi(A,E){A._syncPendingControls(),E.forEach(H=>{const T=H.control;"submit"===T.updateOn&&T._pendingChange&&(H.viewToModelUpdate(T._pendingValue),T._pendingChange=!1)})}const oi={provide:Mt,useExisting:(0,a.wd)(()=>Sn)},rn=Promise.resolve();let Sn=(()=>{var A;class E extends Mt{constructor(T,Q,yt){super(),this.callSetDisabledState=yt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new a._w7,this.form=new de({},ln(T),ct(Q))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(T){rn.then(()=>{const Q=this._findContainer(T.path);T.control=Q.registerControl(T.name,T.control),di(T.control,T,this.callSetDisabledState),T.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(T)})}getControl(T){return this.form.get(T.path)}removeControl(T){rn.then(()=>{const Q=this._findContainer(T.path);Q&&Q.removeControl(T.name),this._directives.delete(T)})}addFormGroup(T){rn.then(()=>{const Q=this._findContainer(T.path),yt=new de({});We(yt,T),Q.registerControl(T.name,yt),yt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(T){rn.then(()=>{const Q=this._findContainer(T.path);Q&&Q.removeControl(T.name)})}getFormGroup(T){return this.form.get(T.path)}updateModel(T,Q){rn.then(()=>{this.form.get(T.path).setValue(Q)})}setValue(T){this.control.setValue(T)}onSubmit(T){var Q;return this.submitted=!0,gi(this.form,this._directives),this.ngSubmit.emit(T),"dialog"===(null==T||null===(Q=T.target)||void 0===Q?void 0:Q.method)}onReset(){this.resetForm()}resetForm(T=void 0){this.form.reset(T),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(T){return T.pop(),T.length?this.form.get(T):this.form}}return(A=E).\u0275fac=function(T){return new(T||A)(a.GI1(G,10),a.GI1(ye,10),a.GI1(On,8))},A.\u0275dir=a.Sc5({type:A,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(T,Q){1&T&&a.qCj("submit",function(Ot){return Q.onSubmit(Ot)})("reset",function(){return Q.onReset()})},inputs:{options:[a.Wk5.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a.M5G([oi]),a.eg9]}),E})();function ui(A,E){const H=A.indexOf(E);H>-1&&A.splice(H,1)}function Kn(A){return"object"==typeof A&&null!==A&&2===Object.keys(A).length&&"value"in A&&"disabled"in A}const Jn=class extends Ae{constructor(E=null,H,T){super(O(H),N(T,H)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(E),this._setUpdateStrategy(H),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),nt(H)&&(H.nonNullable||H.initialValueIsDefault)&&(this.defaultValue=Kn(E)?E.value:E)}setValue(E,H={}){this.value=this._pendingValue=E,this._onChange.length&&!1!==H.emitModelToViewChange&&this._onChange.forEach(T=>T(this.value,!1!==H.emitViewToModelChange)),this.updateValueAndValidity(H)}patchValue(E,H={}){this.setValue(E,H)}reset(E=this.defaultValue,H={}){this._applyFormState(E),this.markAsPristine(H),this.markAsUntouched(H),this.setValue(this.value,H),this._pendingChange=!1}_updateValue(){}_anyControls(E){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(E){this._onChange.push(E)}_unregisterOnChange(E){ui(this._onChange,E)}registerOnDisabledChange(E){this._onDisabledChange.push(E)}_unregisterOnDisabledChange(E){ui(this._onDisabledChange,E)}_forEachChild(E){}_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(E){Kn(E)?(this.value=this._pendingValue=E.value,E.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=E}},pn={provide:Xt,useExisting:(0,a.wd)(()=>li)},Xn=Promise.resolve();let li=(()=>{var A;class E extends Xt{constructor(T,Q,yt,Ot,ti,Qi){super(),this._changeDetectorRef=ti,this.callSetDisabledState=Qi,this.control=new Jn,this._registered=!1,this.name="",this.update=new a._w7,this._parent=T,this._setValidators(Q),this._setAsyncValidators(yt),this.valueAccessor=function Nt(A,E){if(!E)return null;let H,T,Q;return Array.isArray(E),E.forEach(yt=>{yt.constructor===Ge?H=yt:function Nn(A){return Object.getPrototypeOf(A.constructor)===ke}(yt)?T=yt:Q=yt}),Q||T||H||null}(0,Ot)}ngOnChanges(T){if(this._checkForErrors(),!this._registered||"name"in T){if(this._registered&&(this._checkName(),this.formDirective)){const Q=T.name.previousValue;this.formDirective.removeControl({name:Q,path:this._getPath(Q)})}this._setUpControl()}"isDisabled"in T&&this._updateDisabled(T),function $t(A,E){if(!A.hasOwnProperty("model"))return!1;const H=A.model;return!!H.isFirstChange()||!Object.is(E,H.currentValue)}(T,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(T){this.viewModel=T,this.update.emit(T)}_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(){di(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(T){Xn.then(()=>{var Q;this.control.setValue(T,{emitViewToModelChange:!1}),null===(Q=this._changeDetectorRef)||void 0===Q||Q.markForCheck()})}_updateDisabled(T){const Q=T.isDisabled.currentValue,yt=0!==Q&&(0,a.cZD)(Q);Xn.then(()=>{var Ot;yt&&!this.control.disabled?this.control.disable():!yt&&this.control.disabled&&this.control.enable(),null===(Ot=this._changeDetectorRef)||void 0===Ot||Ot.markForCheck()})}_getPath(T){return this._parent?function dn(A,E){return[...E.path,A]}(T,this._parent):[T]}}return(A=E).\u0275fac=function(T){return new(T||A)(a.GI1(Mt,9),a.GI1(G,10),a.GI1(ye,10),a.GI1(Be,10),a.GI1(a.kD9,8),a.GI1(On,8))},A.\u0275dir=a.Sc5({type:A,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[a.Wk5.None,"disabled","isDisabled"],model:[a.Wk5.None,"ngModel","model"],options:[a.Wk5.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[a.M5G([pn]),a.eg9,a.SYr]}),E})(),Yi=(()=>{var A;class E{}return(A=E).\u0275fac=function(T){return new(T||A)},A.\u0275dir=a.Sc5({type:A,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),E})();const Ai={provide:Mt,useExisting:(0,a.wd)(()=>ci)};let ci=(()=>{var A;class E extends Mt{constructor(T,Q,yt){super(),this.callSetDisabledState=yt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new a._w7,this._setValidators(T),this._setAsyncValidators(Q)}ngOnChanges(T){this._checkFormPresent(),T.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ni(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(T){const Q=this.form.get(T.path);return di(Q,T,this.callSetDisabledState),Q.updateValueAndValidity({emitEvent:!1}),this.directives.push(T),Q}getControl(T){return this.form.get(T.path)}removeControl(T){Ci(T.control||null,T,!1),function Tn(A,E){const H=A.indexOf(E);H>-1&&A.splice(H,1)}(this.directives,T)}addFormGroup(T){this._setUpFormContainer(T)}removeFormGroup(T){this._cleanUpFormContainer(T)}getFormGroup(T){return this.form.get(T.path)}addFormArray(T){this._setUpFormContainer(T)}removeFormArray(T){this._cleanUpFormContainer(T)}getFormArray(T){return this.form.get(T.path)}updateModel(T,Q){this.form.get(T.path).setValue(Q)}onSubmit(T){var Q;return this.submitted=!0,gi(this.form,this.directives),this.ngSubmit.emit(T),"dialog"===(null==T||null===(Q=T.target)||void 0===Q?void 0:Q.method)}onReset(){this.resetForm()}resetForm(T=void 0){this.form.reset(T),this.submitted=!1}_updateDomValue(){this.directives.forEach(T=>{const Q=T.control,yt=this.form.get(T.path);Q!==yt&&(Ci(Q||null,T),(A=>A instanceof Jn)(yt)&&(di(yt,T,this.callSetDisabledState),T.control=yt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(T){const Q=this.form.get(T.path);We(Q,T),Q.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(T){if(this.form){const Q=this.form.get(T.path);Q&&function je(A,E){return ni(A,E)}(Q,T)&&Q.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Fi(this.form,this),this._oldForm&&ni(this._oldForm,this)}_checkFormPresent(){}}return(A=E).\u0275fac=function(T){return new(T||A)(a.GI1(G,10),a.GI1(ye,10),a.GI1(On,8))},A.\u0275dir=a.Sc5({type:A,selectors:[["","formGroup",""]],hostBindings:function(T,Q){1&T&&a.qCj("submit",function(Ot){return Q.onSubmit(Ot)})("reset",function(){return Q.onReset()})},inputs:{form:[a.Wk5.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a.M5G([Ai]),a.eg9,a.SYr]}),E})(),wi=(()=>{var A;class E{constructor(){this._validator=De}ngOnChanges(T){if(this.inputName in T){const Q=this.normalizeInput(T[this.inputName].currentValue);this._enabled=this.enabled(Q),this._validator=this._enabled?this.createValidator(Q):De,this._onChange&&this._onChange()}}validate(T){return this._validator(T)}registerOnValidatorChange(T){this._onChange=T}enabled(T){return null!=T}}return(A=E).\u0275fac=function(T){return new(T||A)},A.\u0275dir=a.Sc5({type:A,features:[a.SYr]}),E})();const Ri={provide:G,useExisting:(0,a.wd)(()=>_r),multi:!0},Mi={provide:G,useExisting:(0,a.wd)(()=>_o),multi:!0};let _r=(()=>{var A;class E extends wi{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=a.cZD,this.createValidator=T=>pt}enabled(T){return T}}return(A=E).\u0275fac=(()=>{let H;return function(Q){return(H||(H=a.otF(A)))(Q||A)}})(),A.\u0275dir=a.Sc5({type:A,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(T,Q){2&T&&a.e48("required",Q._enabled?"":null)},inputs:{required:"required"},features:[a.M5G([Ri]),a.eg9]}),E})(),_o=(()=>{var A;class E extends _r{constructor(){super(...arguments),this.createValidator=T=>Pt}}return(A=E).\u0275fac=(()=>{let H;return function(Q){return(H||(H=a.otF(A)))(Q||A)}})(),A.\u0275dir=a.Sc5({type:A,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(T,Q){2&T&&a.e48("required",Q._enabled?"":null)},features:[a.M5G([Mi]),a.eg9]}),E})(),sa=(()=>{var A;class E{}return(A=E).\u0275fac=function(T){return new(T||A)},A.\u0275mod=a.a4G({type:A}),A.\u0275inj=a.s3X({}),E})(),la=(()=>{var A;class E{static withConfig(T){var Q;return{ngModule:E,providers:[{provide:On,useValue:null!==(Q=T.callSetDisabledState)&&void 0!==Q?Q:jt}]}}}return(A=E).\u0275fac=function(T){return new(T||A)},A.\u0275mod=a.a4G({type:A}),A.\u0275inj=a.s3X({imports:[sa]}),E})()},7816:(Qe,fe,y)=>{y.d(fe,{EB:()=>X,Gw:()=>Oe,oJ:()=>on,um:()=>Pt});var a=y(5792),s=y(4496),D=y(4723),J=y(3576);const ce=["mat-button",""],z=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],ae=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],te=".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}",et=["mat-icon-button",""],ke=["*"],Re=new s.UbH("MAT_BUTTON_CONFIG"),ot=[{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 xt=(()=>{var vt;class qe{get ripple(){var _e;return null===(_e=this._rippleLoader)||void 0===_e?void 0:_e.getRipple(this._elementRef.nativeElement)}set ripple(_e){var Se;null===(Se=this._rippleLoader)||void 0===Se||Se.attachRipple(this._elementRef.nativeElement,_e)}get disableRipple(){return this._disableRipple}set disableRipple(_e){this._disableRipple=_e,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(_e){this._disabled=_e,this._updateRippleDisabled()}constructor(_e,Se,Ke,ht){var st,Ft;this._elementRef=_e,this._platform=Se,this._ngZone=Ke,this._animationMode=ht,this._focusMonitor=(0,s.uUt)(D.Kk),this._rippleLoader=(0,s.uUt)(J.Ii),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;const Kt=(0,s.uUt)(Re,{optional:!0}),ln=_e.nativeElement,Gt=ln.classList;this.disabledInteractive=null!==(st=null==Kt?void 0:Kt.disabledInteractive)&&void 0!==st&&st,null===(Ft=this._rippleLoader)||void 0===Ft||Ft.configureRipple(ln,{className:"mat-mdc-button-ripple"});for(const{attribute:ct,mdcClasses:Zt}of ot)ln.hasAttribute(ct)&&Gt.add(...Zt)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){var _e;this._focusMonitor.stopMonitoring(this._elementRef),null===(_e=this._rippleLoader)||void 0===_e||_e.destroyRipple(this._elementRef.nativeElement)}focus(_e="program",Se){_e?this._focusMonitor.focusVia(this._elementRef.nativeElement,_e,Se):this._elementRef.nativeElement.focus(Se)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){var _e;null===(_e=this._rippleLoader)||void 0===_e||_e.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}}return(vt=qe).\u0275fac=function(_e){s.KEo()},vt.\u0275dir=s.Sc5({type:vt,inputs:{color:"color",disableRipple:[s.Wk5.HasDecoratorInputTransform,"disableRipple","disableRipple",s.cZD],disabled:[s.Wk5.HasDecoratorInputTransform,"disabled","disabled",s.cZD],ariaDisabled:[s.Wk5.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",s.cZD],disabledInteractive:[s.Wk5.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",s.cZD]},features:[s.QJr]}),qe})(),Ge=(()=>{var vt;class qe extends xt{constructor(_e,Se,Ke,ht){super(_e,Se,Ke,ht),this._haltDisabledEvents=st=>{this.disabled&&(st.preventDefault(),st.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_getAriaDisabled(){return null==this.ariaDisabled?this.disabled:this.ariaDisabled}}return(vt=qe).\u0275fac=function(_e){s.KEo()},vt.\u0275dir=s.Sc5({type:vt,inputs:{tabIndex:[s.Wk5.HasDecoratorInputTransform,"tabIndex","tabIndex",De=>null==De?void 0:(0,s.cJ3)(De)]},features:[s.QJr,s.eg9]}),qe})(),Oe=(()=>{var vt;class qe extends xt{constructor(_e,Se,Ke,ht){super(_e,Se,Ke,ht)}}return(vt=qe).\u0275fac=function(_e){return new(_e||vt)(s.GI1(s.GMv),s.GI1(a.WU),s.GI1(s.WW2),s.GI1(s.qwP,8))},vt.\u0275cmp=s.In1({type:vt,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(_e,Se){2&_e&&(s.e48("disabled",Se._getDisabledAttribute())("aria-disabled",Se._getAriaDisabled()),s.m8U(Se.color?"mat-"+Se.color:""),s.eAK("mat-mdc-button-disabled",Se.disabled)("mat-mdc-button-disabled-interactive",Se.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===Se._animationMode)("mat-unthemed",!Se.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[s.eg9,s.UHJ],attrs:ce,ngContentSelectors:ae,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(_e,Se){1&_e&&(s.kPM(z),s.wR5(0,"span",0),s._Xx(1),s.I0R(2,"span",1),s._Xx(3,1),s.C$Y(),s._Xx(4,2),s.wR5(5,"span",2)(6,"span",3)),2&_e&&s.eAK("mdc-button__ripple",!Se._isFab)("mdc-fab__ripple",Se._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);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.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:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-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,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .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 .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.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-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-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,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .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 .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-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-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.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-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-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,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .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 .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-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].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.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-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-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,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .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 .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-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-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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-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,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.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}),qe})(),X=(()=>{var vt;class qe extends Ge{constructor(_e,Se,Ke,ht){super(_e,Se,Ke,ht)}}return(vt=qe).\u0275fac=function(_e){return new(_e||vt)(s.GI1(s.GMv),s.GI1(a.WU),s.GI1(s.WW2),s.GI1(s.qwP,8))},vt.\u0275cmp=s.In1({type:vt,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(_e,Se){2&_e&&(s.e48("disabled",Se._getDisabledAttribute())("tabindex",Se.disabled&&!Se.disabledInteractive?-1:Se.tabIndex)("aria-disabled",Se._getDisabledAttribute()),s.m8U(Se.color?"mat-"+Se.color:""),s.eAK("mat-mdc-button-disabled",Se.disabled)("mat-mdc-button-disabled-interactive",Se.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===Se._animationMode)("mat-unthemed",!Se.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[s.eg9,s.UHJ],attrs:ce,ngContentSelectors:ae,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(_e,Se){1&_e&&(s.kPM(z),s.wR5(0,"span",0),s._Xx(1),s.I0R(2,"span",1),s._Xx(3,1),s.C$Y(),s._Xx(4,2),s.wR5(5,"span",2)(6,"span",3)),2&_e&&s.eAK("mdc-button__ripple",!Se._isFab)("mdc-fab__ripple",Se._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);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.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:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-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,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .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 .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.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-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-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,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .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 .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-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-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.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-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-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,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .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 .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-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].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.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-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-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,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .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 .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-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-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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-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,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.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)}',te],encapsulation:2,changeDetection:0}),qe})(),Pt=(()=>{var vt;class qe extends xt{constructor(_e,Se,Ke,ht){super(_e,Se,Ke,ht),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}}return(vt=qe).\u0275fac=function(_e){return new(_e||vt)(s.GI1(s.GMv),s.GI1(a.WU),s.GI1(s.WW2),s.GI1(s.qwP,8))},vt.\u0275cmp=s.In1({type:vt,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(_e,Se){2&_e&&(s.e48("disabled",Se._getDisabledAttribute())("aria-disabled",Se._getAriaDisabled()),s.m8U(Se.color?"mat-"+Se.color:""),s.eAK("mat-mdc-button-disabled",Se.disabled)("mat-mdc-button-disabled-interactive",Se.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===Se._animationMode)("mat-unthemed",!Se.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[s.eg9,s.UHJ],attrs:et,ngContentSelectors:ke,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(_e,Se){1&_e&&(s.kPM(),s.wR5(0,"span",0),s._Xx(1),s.wR5(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{color:var(--mdc-icon-button-icon-color)}.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{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);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],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-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,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .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%);display:var(--mat-icon-button-touch-target-display)}.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}',te],encapsulation:2,changeDetection:0}),qe})(),on=(()=>{var vt;class qe{}return(vt=qe).\u0275fac=function(_e){return new(_e||vt)},vt.\u0275mod=s.a4G({type:vt}),vt.\u0275inj=s.s3X({imports:[J.AN,J.KE,J.AN]}),qe})()},3576:(Qe,fe,y)=>{y.d(fe,{u9:()=>le,KG:()=>Lt,K6:()=>gt,AN:()=>re,I5:()=>bn,Ax:()=>Ze,UZ:()=>Ue,Ii:()=>q,KE:()=>Y,mY:()=>vt,qI:()=>nt,aq:()=>ai,ms:()=>pi});var a=y(4496),s=y(4723),D=y(1900),ce=y(1368),z=y(5792),ae=y(7712),ve=y(5657),te=y(7800);const et=["text"];function ke(xe,be){if(1&xe&&a.wR5(0,"mat-pseudo-checkbox",6),2&xe){const Ae=a.GaO();a.E7m("disabled",Ae.disabled)("state",Ae.selected?"checked":"unchecked")}}function Be(xe,be){if(1&xe&&a.wR5(0,"mat-pseudo-checkbox",7),2&xe){const Ae=a.GaO();a.E7m("disabled",Ae.disabled)}}function Re(xe,be){if(1&xe&&(a.I0R(0,"span",8),a.OEk(1),a.C$Y()),2&xe){const Ae=a.GaO();a.yG2(),a.oRS("(",Ae.group.label,")")}}const Ne=[[["mat-icon"]],"*"],ot=["mat-icon","*"],xt=["mat-internal-form-field",""],lt=["*"],ye=new a.UbH("mat-sanity-checks",{providedIn:"root",factory:function G(){return!0}});let re=(()=>{var xe;class be{constructor(de,Je,Bt){this._sanityChecks=Je,this._document=Bt,this._hasDoneGlobalChecks=!1,de._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(de){return!(0,z.mW)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[de])}}return(xe=be).\u0275fac=function(de){return new(de||xe)(a.CoB(s.MM),a.CoB(ye,8),a.CoB(ce.Ud))},xe.\u0275mod=a.a4G({type:xe}),xe.\u0275inj=a.s3X({imports:[D.gN,D.gN]}),be})();class vt{constructor(be,Ae,de,Je,Bt){this._defaultMatcher=be,this.ngControl=Ae,this._parentFormGroup=de,this._parentForm=Je,this._stateChanges=Bt,this.errorState=!1}updateErrorState(){var be;const Ae=this.errorState,Je=this.matcher||this._defaultMatcher,Ht=null!==(be=null==Je?void 0:Je.isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm))&&void 0!==be&&be;Ht!==Ae&&(this.errorState=Ht,this._stateChanges.next())}}let le=(()=>{var xe;class be{isErrorState(de,Je){return!!(de&&de.invalid&&(de.touched||Je&&Je.submitted))}}return(xe=be).\u0275fac=function(de){return new(de||xe)},xe.\u0275prov=a.wxM({token:xe,factory:xe.\u0275fac,providedIn:"root"}),be})();var $e=function(xe){return xe[xe.FADING_IN=0]="FADING_IN",xe[xe.VISIBLE=1]="VISIBLE",xe[xe.FADING_OUT=2]="FADING_OUT",xe[xe.HIDDEN=3]="HIDDEN",xe}($e||{});class Mt{constructor(be,Ae,de,Je=!1){this._renderer=be,this.element=Ae,this.config=de,this._animationForciblyDisabledThroughCss=Je,this.state=$e.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const Xt=(0,z.W4)({passive:!0,capture:!0});class gn{constructor(){this._events=new Map,this._delegateEventHandler=be=>{const Ae=(0,z.oZ)(be);var de;Ae&&(null===(de=this._events.get(be.type))||void 0===de||de.forEach((Je,Bt)=>{(Bt===Ae||Bt.contains(Ae))&&Je.forEach(Ht=>Ht.handleEvent(be))}))}}addHandler(be,Ae,de,Je){const Bt=this._events.get(Ae);if(Bt){const Ht=Bt.get(de);Ht?Ht.add(Je):Bt.set(de,new Set([Je]))}else this._events.set(Ae,new Map([[de,new Set([Je])]])),be.runOutsideAngular(()=>{document.addEventListener(Ae,this._delegateEventHandler,Xt)})}removeHandler(be,Ae,de){const Je=this._events.get(be);if(!Je)return;const Bt=Je.get(Ae);Bt&&(Bt.delete(de),0===Bt.size&&Je.delete(Ae),0===Je.size&&(this._events.delete(be),document.removeEventListener(be,this._delegateEventHandler,Xt)))}}const cn={enterDuration:225,exitDuration:150},tt=(0,z.W4)({passive:!0,capture:!0}),P=["mousedown","touchstart"],Ee=["mouseup","mouseleave","touchend","touchcancel"];class se{constructor(be,Ae,de,Je){this._target=be,this._ngZone=Ae,this._platform=Je,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Je.isBrowser&&(this._containerElement=(0,ae.mk)(de))}fadeInRipple(be,Ae,de={}){const Je=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Bt={...cn,...de.animation};de.centered&&(be=Je.left+Je.width/2,Ae=Je.top+Je.height/2);const Ht=de.radius||function ee(xe,be,Ae){const de=Math.max(Math.abs(xe-Ae.left),Math.abs(xe-Ae.right)),Je=Math.max(Math.abs(be-Ae.top),Math.abs(be-Ae.bottom));return Math.sqrt(de*de+Je*Je)}(be,Ae,Je),Zn=be-Je.left,ho=Ae-Je.top,On=Bt.enterDuration,jt=document.createElement("div");jt.classList.add("mat-ripple-element"),jt.style.left="".concat(Zn-Ht,"px"),jt.style.top="".concat(ho-Ht,"px"),jt.style.height="".concat(2*Ht,"px"),jt.style.width="".concat(2*Ht,"px"),null!=de.color&&(jt.style.backgroundColor=de.color),jt.style.transitionDuration="".concat(On,"ms"),this._containerElement.appendChild(jt);const dn=window.getComputedStyle(jt),Ci=dn.transitionDuration,xi="none"===dn.transitionProperty||"0s"===Ci||"0s, 0s"===Ci||0===Je.width&&0===Je.height,Ei=new Mt(this,jt,de,xi);jt.style.transform="scale3d(1, 1, 1)",Ei.state=$e.FADING_IN,de.persistent||(this._mostRecentTransientRipple=Ei);let Fi=null;return!xi&&(On||Bt.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const ni=()=>this._finishRippleTransition(Ei),Ti=()=>this._destroyRipple(Ei);jt.addEventListener("transitionend",ni),jt.addEventListener("transitioncancel",Ti),Fi={onTransitionEnd:ni,onTransitionCancel:Ti}}),this._activeRipples.set(Ei,Fi),(xi||!On)&&this._finishRippleTransition(Ei),Ei}fadeOutRipple(be){if(be.state===$e.FADING_OUT||be.state===$e.HIDDEN)return;const Ae=be.element,de={...cn,...be.config.animation};Ae.style.transitionDuration="".concat(de.exitDuration,"ms"),Ae.style.opacity="0",be.state=$e.FADING_OUT,(be._animationForciblyDisabledThroughCss||!de.exitDuration)&&this._finishRippleTransition(be)}fadeOutAll(){this._getActiveRipples().forEach(be=>be.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(be=>{be.config.persistent||be.fadeOut()})}setupTriggerEvents(be){const Ae=(0,ae.mk)(be);!this._platform.isBrowser||!Ae||Ae===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Ae,P.forEach(de=>{se._eventManager.addHandler(this._ngZone,de,Ae,this)}))}handleEvent(be){"mousedown"===be.type?this._onMousedown(be):"touchstart"===be.type?this._onTouchStart(be):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Ee.forEach(Ae=>{this._triggerElement.addEventListener(Ae,this,tt)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(be){be.state===$e.FADING_IN?this._startFadeOutTransition(be):be.state===$e.FADING_OUT&&this._destroyRipple(be)}_startFadeOutTransition(be){const Ae=be===this._mostRecentTransientRipple,{persistent:de}=be.config;be.state=$e.VISIBLE,!de&&(!Ae||!this._isPointerDown)&&be.fadeOut()}_destroyRipple(be){var Ae;const de=null!==(Ae=this._activeRipples.get(be))&&void 0!==Ae?Ae:null;this._activeRipples.delete(be),this._activeRipples.size||(this._containerRect=null),be===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),be.state=$e.HIDDEN,null!==de&&(be.element.removeEventListener("transitionend",de.onTransitionEnd),be.element.removeEventListener("transitioncancel",de.onTransitionCancel)),be.element.remove()}_onMousedown(be){const Ae=(0,s.G3)(be),de=this._lastTouchStartEvent&&Date.now(){!be.config.persistent&&(be.state===$e.VISIBLE||be.config.terminateOnPointerUp&&be.state===$e.FADING_IN)&&be.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const be=this._triggerElement;be&&(P.forEach(Ae=>se._eventManager.removeHandler(Ae,be,this)),this._pointerUpEventsRegistered&&Ee.forEach(Ae=>be.removeEventListener(Ae,this,tt)))}}se._eventManager=new gn;const Ie=new a.UbH("mat-ripple-global-options");let Ue=(()=>{var xe;class be{get disabled(){return this._disabled}set disabled(de){de&&this.fadeOutAllNonPersistent(),this._disabled=de,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(de){this._trigger=de,this._setupTriggerEventsIfEnabled()}constructor(de,Je,Bt,Ht,Zn){this._elementRef=de,this._animationMode=Zn,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Ht||{},this._rippleRenderer=new se(this,Je,de,Bt)}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(de,Je=0,Bt){return"number"==typeof de?this._rippleRenderer.fadeInRipple(de,Je,{...this.rippleConfig,...Bt}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...de})}}return(xe=be).\u0275fac=function(de){return new(de||xe)(a.GI1(a.GMv),a.GI1(a.WW2),a.GI1(z.WU),a.GI1(Ie,8),a.GI1(a.qwP,8))},xe.\u0275dir=a.Sc5({type:xe,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(de,Je){2&de&&a.eAK("mat-ripple-unbounded",Je.unbounded)},inputs:{color:[a.Wk5.None,"matRippleColor","color"],unbounded:[a.Wk5.None,"matRippleUnbounded","unbounded"],centered:[a.Wk5.None,"matRippleCentered","centered"],radius:[a.Wk5.None,"matRippleRadius","radius"],animation:[a.Wk5.None,"matRippleAnimation","animation"],disabled:[a.Wk5.None,"matRippleDisabled","disabled"],trigger:[a.Wk5.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0}),be})(),Y=(()=>{var xe;class be{}return(xe=be).\u0275fac=function(de){return new(de||xe)},xe.\u0275mod=a.a4G({type:xe}),xe.\u0275inj=a.s3X({imports:[re,re]}),be})(),he=(()=>{var xe;class be{constructor(de){this._animationMode=de,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return(xe=be).\u0275fac=function(de){return new(de||xe)(a.GI1(a.qwP,8))},xe.\u0275cmp=a.In1({type:xe,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(de,Je){2&de&&a.eAK("mat-pseudo-checkbox-indeterminate","indeterminate"===Je.state)("mat-pseudo-checkbox-checked","checked"===Je.state)("mat-pseudo-checkbox-disabled",Je.disabled)("mat-pseudo-checkbox-minimal","minimal"===Je.appearance)("mat-pseudo-checkbox-full","full"===Je.appearance)("_mat-animation-noopable","NoopAnimations"===Je._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[a.UHJ],decls:0,vars:0,template:function(de,Je){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),be})(),Ye=(()=>{var xe;class be{}return(xe=be).\u0275fac=function(de){return new(de||xe)},xe.\u0275mod=a.a4G({type:xe}),xe.\u0275inj=a.s3X({imports:[re]}),be})();const gt=new a.UbH("MAT_OPTION_PARENT_COMPONENT"),Lt=new a.UbH("MatOptgroup");let sn=0;class Dn{constructor(be,Ae=!1){this.source=be,this.isUserInput=Ae}}let bn=(()=>{var xe;class be{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(de){this._disabled=de}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(de,Je,Bt,Ht){this._element=de,this._changeDetectorRef=Je,this._parent=Bt,this.group=Ht,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-".concat(sn++),this.onSelectionChange=new a._w7,this._stateChanges=new ve.E}get active(){return this._active}get viewValue(){var de;return((null===(de=this._text)||void 0===de?void 0:de.nativeElement.textContent)||"").trim()}select(de=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),de&&this._emitSelectionChangeEvent())}deselect(de=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),de&&this._emitSelectionChangeEvent())}focus(de,Je){const Bt=this._getHostElement();"function"==typeof Bt.focus&&Bt.focus(Je)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(de){(de.keyCode===te.wJ||de.keyCode===te.Gi)&&!(0,te.Yp)(de)&&(this._selectViaInteraction(),de.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const de=this.viewValue;de!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=de)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(de=!1){this.onSelectionChange.emit(new Dn(this,de))}}return(xe=be).\u0275fac=function(de){return new(de||xe)(a.GI1(a.GMv),a.GI1(a.kD9),a.GI1(gt,8),a.GI1(Lt,8))},xe.\u0275cmp=a.In1({type:xe,selectors:[["mat-option"]],viewQuery:function(de,Je){if(1&de&&a.CC$(et,7),2&de){let Bt;a.wto(Bt=a.Gqi())&&(Je._text=Bt.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(de,Je){1&de&&a.qCj("click",function(){return Je._selectViaInteraction()})("keydown",function(Ht){return Je._handleKeydown(Ht)}),2&de&&(a.SoX("id",Je.id),a.e48("aria-selected",Je.selected)("aria-disabled",Je.disabled.toString()),a.eAK("mdc-list-item--selected",Je.selected)("mat-mdc-option-multiple",Je.multiple)("mat-mdc-option-active",Je.active)("mdc-list-item--disabled",Je.disabled))},inputs:{value:"value",id:"id",disabled:[a.Wk5.HasDecoratorInputTransform,"disabled","disabled",a.cZD]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[a.QJr,a.UHJ],ngContentSelectors:ot,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled"],["class","cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(de,Je){1&de&&(a.kPM(Ne),a.yuY(0,ke,1,2,"mat-pseudo-checkbox",0),a._Xx(1),a.I0R(2,"span",1,2),a._Xx(4,1),a.C$Y(),a.yuY(5,Be,1,1,"mat-pseudo-checkbox",3)(6,Re,2,1,"span",4),a.wR5(7,"div",5)),2&de&&(a.C0Y(0,Je.multiple?0:-1),a.yG2(5),a.C0Y(5,Je.multiple||!Je.selected||Je.hideSingleSelectionIndicator?-1:5),a.yG2(),a.C0Y(6,Je.group&&Je.group._inert?6:-1),a.yG2(),a.E7m("matRippleTrigger",Je._getHostElement())("matRippleDisabled",Je.disabled||Je.disableRipple))},dependencies:[he,Ue],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),be})();function ai(xe,be,Ae){if(Ae.length){let de=be.toArray(),Je=Ae.toArray(),Bt=0;for(let Ht=0;HtAe+de?Math.max(0,xe-de+be):Ae}let Ze=(()=>{var xe;class be{}return(xe=be).\u0275fac=function(de){return new(de||xe)},xe.\u0275mod=a.a4G({type:xe}),xe.\u0275inj=a.s3X({imports:[Y,re,Ye]}),be})();const V={capture:!0},$=["focus","click","mouseenter","touchstart"],k="mat-ripple-loader-uninitialized",O="mat-ripple-loader-class-name",B="mat-ripple-loader-centered",N="mat-ripple-loader-disabled";let q=(()=>{var xe;class be{constructor(){this._document=(0,a.uUt)(ce.Ud,{optional:!0}),this._animationMode=(0,a.uUt)(a.qwP,{optional:!0}),this._globalRippleOptions=(0,a.uUt)(Ie,{optional:!0}),this._platform=(0,a.uUt)(z.WU),this._ngZone=(0,a.uUt)(a.WW2),this._hosts=new Map,this._onInteraction=de=>{if(!(de.target instanceof HTMLElement))return;const Bt=de.target.closest("[".concat(k,"]"));Bt&&this._createRipple(Bt)},this._ngZone.runOutsideAngular(()=>{for(const Je of $){var de;null===(de=this._document)||void 0===de||de.addEventListener(Je,this._onInteraction,V)}})}ngOnDestroy(){const de=this._hosts.keys();for(const Bt of de)this.destroyRipple(Bt);for(const Bt of $){var Je;null===(Je=this._document)||void 0===Je||Je.removeEventListener(Bt,this._onInteraction,V)}}configureRipple(de,Je){de.setAttribute(k,""),(Je.className||!de.hasAttribute(O))&&de.setAttribute(O,Je.className||""),Je.centered&&de.setAttribute(B,""),Je.disabled&&de.setAttribute(N,"")}getRipple(de){return this._hosts.get(de)||this._createRipple(de)}setDisabled(de,Je){const Bt=this._hosts.get(de);Bt?Bt.disabled=Je:Je?de.setAttribute(N,""):de.removeAttribute(N)}_createRipple(de){var Je;if(!this._document)return;const Bt=this._hosts.get(de);if(Bt)return Bt;null===(Je=de.querySelector(".mat-ripple"))||void 0===Je||Je.remove();const Ht=this._document.createElement("span");Ht.classList.add("mat-ripple",de.getAttribute(O)),de.append(Ht);const Zn=new Ue(new a.GMv(Ht),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Zn._isInitialized=!0,Zn.trigger=de,Zn.centered=de.hasAttribute(B),Zn.disabled=de.hasAttribute(N),this.attachRipple(de,Zn),Zn}attachRipple(de,Je){de.removeAttribute(k),this._hosts.set(de,Je)}destroyRipple(de){const Je=this._hosts.get(de);Je&&(Je.ngOnDestroy(),this._hosts.delete(de))}}return(xe=be).\u0275fac=function(de){return new(de||xe)},xe.\u0275prov=a.wxM({token:xe,factory:xe.\u0275fac,providedIn:"root"}),be})(),nt=(()=>{var xe;class be{}return(xe=be).\u0275fac=function(de){return new(de||xe)},xe.\u0275cmp=a.In1({type:xe,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(de,Je){2&de&&a.eAK("mdc-form-field--align-end","before"===Je.labelPosition)},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[a.UHJ],attrs:xt,ngContentSelectors:lt,decls:1,vars:0,template:function(de,Je){1&de&&(a.kPM(),a._Xx(0))},styles:[".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-form-field{font-family:var(--mdc-form-field-label-text-font);line-height:var(--mdc-form-field-label-text-line-height);font-size:var(--mdc-form-field-label-text-size);font-weight:var(--mdc-form-field-label-text-weight);letter-spacing:var(--mdc-form-field-label-text-tracking);color:var(--mdc-form-field-label-text-color)}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}"],encapsulation:2,changeDetection:0}),be})()},2864:(Qe,fe,y)=>{y.d(fe,{sR:()=>ct,qW:()=>Te,Yp:()=>cn,qq:()=>$e,iU:()=>gn,sr:()=>P,yI:()=>ln,WQ:()=>Xt});var a=y(68),s=y(1368),D=y(4496),J=y(4723),ce=y(5792),z=y(2488),ae=y(7800),ve=y(5657),te=y(1424),Ce=y(2700),Me=y(1900),Pe=y(5568);function et(ee,Ie){}class ke{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 Re=(()=>{var ee;class Ie extends z.Ef{constructor(Y,he,Ye,gt,Et,Lt,en,sn){super(),this._elementRef=Y,this._focusTrapFactory=he,this._config=gt,this._interactivityChecker=Et,this._ngZone=Lt,this._overlayRef=en,this._focusMonitor=sn,this._platform=(0,D.uUt)(ce.WU),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=(0,D.uUt)(D.kD9),this.attachDomPortal=Dn=>{this._portalOutlet.hasAttached();const bn=this._portalOutlet.attachDomPortal(Dn);return this._contentAttached(),bn},this._document=Ye,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(Y){this._ariaLabelledByQueue.push(Y),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(Y){const he=this._ariaLabelledByQueue.indexOf(Y);he>-1&&(this._ariaLabelledByQueue.splice(he,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(Y){this._portalOutlet.hasAttached();const he=this._portalOutlet.attachComponentPortal(Y);return this._contentAttached(),he}attachTemplatePortal(Y){this._portalOutlet.hasAttached();const he=this._portalOutlet.attachTemplatePortal(Y);return this._contentAttached(),he}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(Y,he){this._interactivityChecker.isFocusable(Y)||(Y.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Ye=()=>{Y.removeEventListener("blur",Ye),Y.removeEventListener("mousedown",Ye),Y.removeAttribute("tabindex")};Y.addEventListener("blur",Ye),Y.addEventListener("mousedown",Ye)})),Y.focus(he)}_focusByCssSelector(Y,he){let Ye=this._elementRef.nativeElement.querySelector(Y);Ye&&this._forceFocus(Ye,he)}_trapFocus(){var Y;const he=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||he.focus();break;case!0:case"first-tabbable":null===(Y=this._focusTrap)||void 0===Y||Y.focusInitialElementWhenReady().then(Ye=>{Ye||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 Y=this._config.restoreFocus;let he=null;if("string"==typeof Y?he=this._document.querySelector(Y):"boolean"==typeof Y?he=Y?this._elementFocusedBeforeDialogWasOpened:null:Y&&(he=Y),this._config.restoreFocus&&he&&"function"==typeof he.focus){const Ye=(0,ce.Yx)(),gt=this._elementRef.nativeElement;(!Ye||Ye===this._document.body||Ye===gt||gt.contains(Ye))&&(this._focusMonitor?(this._focusMonitor.focusVia(he,this._closeInteractionType),this._closeInteractionType=null):he.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const Y=this._elementRef.nativeElement,he=(0,ce.Yx)();return Y===he||Y.contains(he)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,ce.Yx)()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return(ee=Ie).\u0275fac=function(Y){return new(Y||ee)(D.GI1(D.GMv),D.GI1(J.G),D.GI1(s.Ud,8),D.GI1(ke),D.GI1(J.OE),D.GI1(D.WW2),D.GI1(a.aq),D.GI1(J.Kk))},ee.\u0275cmp=D.In1({type:ee,selectors:[["cdk-dialog-container"]],viewQuery:function(Y,he){if(1&Y&&D.CC$(z.IP,7),2&Y){let Ye;D.wto(Ye=D.Gqi())&&(he._portalOutlet=Ye.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(Y,he){2&Y&&D.e48("id",he._config.id||null)("role",he._config.role)("aria-modal",he._config.ariaModal)("aria-labelledby",he._config.ariaLabel?null:he._ariaLabelledByQueue[0])("aria-label",he._config.ariaLabel)("aria-describedby",he._config.ariaDescribedBy||null)},standalone:!0,features:[D.eg9,D.UHJ],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(Y,he){1&Y&&D.yuY(0,et,0,0,"ng-template",0)},dependencies:[z.IP],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),Ie})();class Ne{constructor(Ie,Ue){this.overlayRef=Ie,this.config=Ue,this.closed=new ve.E,this.disableClose=Ue.disableClose,this.backdropClick=Ie.backdropClick(),this.keydownEvents=Ie.keydownEvents(),this.outsidePointerEvents=Ie.outsidePointerEvents(),this.id=Ue.id,this.keydownEvents.subscribe(Y=>{Y.keyCode===ae.UX&&!this.disableClose&&!(0,ae.Yp)(Y)&&(Y.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=Ie.detachments().subscribe(()=>{!1!==Ue.closeOnOverlayDetachments&&this.close()})}close(Ie,Ue){if(this.containerInstance){const Y=this.closed;this.containerInstance._closeInteractionType=(null==Ue?void 0:Ue.focusOrigin)||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),Y.next(Ie),Y.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Ie="",Ue=""){return this.overlayRef.updateSize({width:Ie,height:Ue}),this}addPanelClass(Ie){return this.overlayRef.addPanelClass(Ie),this}removePanelClass(Ie){return this.overlayRef.removePanelClass(Ie),this}}const ot=new D.UbH("DialogScrollStrategy",{providedIn:"root",factory:()=>{const ee=(0,D.uUt)(a.mc);return()=>ee.scrollStrategies.block()}}),xt=new D.UbH("DialogData"),lt=new D.UbH("DefaultDialogConfig");let X=0,G=(()=>{var ee;class Ie{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(Y,he,Ye,gt,Et,Lt){this._overlay=Y,this._injector=he,this._defaultOptions=Ye,this._parentDialog=gt,this._overlayContainer=Et,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ve.E,this._afterOpenedAtThisLevel=new ve.E,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,te.Q)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,Pe.W)(void 0))),this._scrollStrategy=Lt}open(Y,he){(he={...this._defaultOptions||new ke,...he}).id=he.id||"cdk-dialog-".concat(X++),he.id&&this.getDialogById(he.id);const gt=this._getOverlayConfig(he),Et=this._overlay.create(gt),Lt=new Ne(Et,he),en=this._attachContainer(Et,Lt,he);return Lt.containerInstance=en,this._attachDialogContent(Y,Lt,en,he),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Lt),Lt.closed.subscribe(()=>this._removeOpenDialog(Lt,!0)),this.afterOpened.next(Lt),Lt}closeAll(){ye(this.openDialogs,Y=>Y.close())}getDialogById(Y){return this.openDialogs.find(he=>he.id===Y)}ngOnDestroy(){ye(this._openDialogsAtThisLevel,Y=>{!1===Y.config.closeOnDestroy&&this._removeOpenDialog(Y,!1)}),ye(this._openDialogsAtThisLevel,Y=>Y.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(Y){const he=new a.o9({positionStrategy:Y.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:Y.scrollStrategy||this._scrollStrategy(),panelClass:Y.panelClass,hasBackdrop:Y.hasBackdrop,direction:Y.direction,minWidth:Y.minWidth,minHeight:Y.minHeight,maxWidth:Y.maxWidth,maxHeight:Y.maxHeight,width:Y.width,height:Y.height,disposeOnNavigation:Y.closeOnNavigation});return Y.backdropClass&&(he.backdropClass=Y.backdropClass),he}_attachContainer(Y,he,Ye){var gt;const Et=Ye.injector||(null===(gt=Ye.viewContainerRef)||void 0===gt?void 0:gt.injector),Lt=[{provide:ke,useValue:Ye},{provide:Ne,useValue:he},{provide:a.aq,useValue:Y}];let en;Ye.container?"function"==typeof Ye.container?en=Ye.container:(en=Ye.container.type,Lt.push(...Ye.container.providers(Ye))):en=Re;const sn=new z.KC(en,Ye.viewContainerRef,D.zZn.create({parent:Et||this._injector,providers:Lt}),Ye.componentFactoryResolver);return Y.attach(sn).instance}_attachDialogContent(Y,he,Ye,gt){if(Y instanceof D.Yw2){const Et=this._createInjector(gt,he,Ye,void 0);let Lt={$implicit:gt.data,dialogRef:he};gt.templateContext&&(Lt={...Lt,..."function"==typeof gt.templateContext?gt.templateContext():gt.templateContext}),Ye.attachTemplatePortal(new z.CC(Y,null,Lt,Et))}else{const Et=this._createInjector(gt,he,Ye,this._injector),Lt=Ye.attachComponentPortal(new z.KC(Y,gt.viewContainerRef,Et,gt.componentFactoryResolver));he.componentRef=Lt,he.componentInstance=Lt.instance}}_createInjector(Y,he,Ye,gt){var Et;const Lt=Y.injector||(null===(Et=Y.viewContainerRef)||void 0===Et?void 0:Et.injector),en=[{provide:xt,useValue:Y.data},{provide:Ne,useValue:he}];return Y.providers&&("function"==typeof Y.providers?en.push(...Y.providers(he,Y,Ye)):en.push(...Y.providers)),Y.direction&&(!Lt||!Lt.get(Me.yG,null,{optional:!0}))&&en.push({provide:Me.yG,useValue:{value:Y.direction,change:(0,Ce.of)()}}),D.zZn.create({parent:Lt||gt,providers:en})}_removeOpenDialog(Y,he){const Ye=this.openDialogs.indexOf(Y);Ye>-1&&(this.openDialogs.splice(Ye,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((gt,Et)=>{gt?Et.setAttribute("aria-hidden",gt):Et.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),he&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const Y=this._overlayContainer.getContainerElement();if(Y.parentElement){const he=Y.parentElement.children;for(let Ye=he.length-1;Ye>-1;Ye--){const gt=he[Ye];gt!==Y&&"SCRIPT"!==gt.nodeName&&"STYLE"!==gt.nodeName&&!gt.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(gt,gt.getAttribute("aria-hidden")),gt.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const Y=this._parentDialog;return Y?Y._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return(ee=Ie).\u0275fac=function(Y){return new(Y||ee)(D.CoB(a.mc),D.CoB(D.zZn),D.CoB(lt,8),D.CoB(ee,12),D.CoB(a.Y),D.CoB(ot))},ee.\u0275prov=D.wxM({token:ee,factory:ee.\u0275fac,providedIn:"root"}),Ie})();function ye(ee,Ie){let Ue=ee.length;for(;Ue--;)Ie(ee[Ue])}let re=(()=>{var ee;class Ie{}return(ee=Ie).\u0275fac=function(Y){return new(Y||ee)},ee.\u0275mod=D.a4G({type:ee}),ee.\u0275inj=D.s3X({providers:[G],imports:[a.Y1,z.g$,J.Ux,z.g$]}),Ie})();var ie=y(7712),me=y(3412),Xe=y(6684),pt=y(3992),Pt=y(3576);function on(ee,Ie){}y(9684);class vt{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.delayFocusTrap=!0,this.closeOnNavigation=!0}}const qe="mdc-dialog--open",De="mdc-dialog--opening",_e="mdc-dialog--closing";let ht=(()=>{var ee;class Ie extends Re{constructor(Y,he,Ye,gt,Et,Lt,en,sn,Dn){var bn,ai;super(Y,he,Ye,gt,Et,Lt,en,Dn),this._animationMode=sn,this._animationStateChanged=new D._w7,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?null!==(bn=Ft(this._config.enterAnimationDuration))&&void 0!==bn?bn:150:0,this._exitAnimationDuration=this._animationsEnabled?null!==(ai=Ft(this._config.exitAnimationDuration))&&void 0!==ai?ai: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(st,"".concat(this._enterAnimationDuration,"ms")),this._requestAnimationFrame(()=>this._hostElement.classList.add(De,qe)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(qe),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(qe),this._animationsEnabled?(this._hostElement.style.setProperty(st,"".concat(this._exitAnimationDuration,"ms")),this._requestAnimationFrame(()=>this._hostElement.classList.add(_e)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(Y){this._actionSectionCount+=Y,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(De,_e)}_waitForAnimationToComplete(Y,he){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(he,Y)}_requestAnimationFrame(Y){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(Y):Y()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(Y){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:Y})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(Y){const he=super.attachComponentPortal(Y);return he.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),he}}return(ee=Ie).\u0275fac=function(Y){return new(Y||ee)(D.GI1(D.GMv),D.GI1(J.G),D.GI1(s.Ud,8),D.GI1(vt),D.GI1(J.OE),D.GI1(D.WW2),D.GI1(a.aq),D.GI1(D.qwP,8),D.GI1(J.Kk))},ee.\u0275cmp=D.In1({type:ee,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(Y,he){2&Y&&(D.SoX("id",he._config.id),D.e48("aria-modal",he._config.ariaModal)("role",he._config.role)("aria-labelledby",he._config.ariaLabel?null:he._ariaLabelledByQueue[0])("aria-label",he._config.ariaLabel)("aria-describedby",he._config.ariaDescribedBy||null),D.eAK("_mat-animation-noopable",!he._animationsEnabled)("mat-mdc-dialog-container-with-actions",he._actionSectionCount>0))},standalone:!0,features:[D.eg9,D.UHJ],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(Y,he){1&Y&&(D.I0R(0,"div",0)(1,"div",1),D.yuY(2,on,0,0,"ng-template",2),D.C$Y()())},dependencies:[z.IP],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%;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;transform:scale(0.8)}.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--closing .mdc-dialog__surface{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{opacity:1}.mdc-dialog--open .mdc-dialog__surface{transform:none}.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:opacity linear var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container .mdc-dialog__surface{transition:transform var(--mat-dialog-transition-duration, 0ms) 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container,.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__surface{transition:none}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-title{padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{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}),Ie})();const st="--mat-dialog-transition-duration";function Ft(ee){return null==ee?null:"number"==typeof ee?ee:ee.endsWith("ms")?(0,ie.wZ)(ee.substring(0,ee.length-2)):ee.endsWith("s")?1e3*(0,ie.wZ)(ee.substring(0,ee.length-1)):"0"===ee?0:null}var Kt=function(ee){return ee[ee.OPEN=0]="OPEN",ee[ee.CLOSING=1]="CLOSING",ee[ee.CLOSED=2]="CLOSED",ee}(Kt||{});class ln{constructor(Ie,Ue,Y){this._ref=Ie,this._containerInstance=Y,this._afterOpened=new ve.E,this._beforeClosed=new ve.E,this._state=Kt.OPEN,this.disableClose=Ue.disableClose,this.id=Ie.id,Ie.addPanelClass("mat-mdc-dialog-panel"),Y._animationStateChanged.pipe((0,Xe.I)(he=>"opened"===he.state),(0,pt.U)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Y._animationStateChanged.pipe((0,Xe.I)(he=>"closed"===he.state),(0,pt.U)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Ie.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,me.U)(this.backdropClick(),this.keydownEvents().pipe((0,Xe.I)(he=>he.keyCode===ae.UX&&!this.disableClose&&!(0,ae.Yp)(he)))).subscribe(he=>{this.disableClose||(he.preventDefault(),Gt(this,"keydown"===he.type?"keyboard":"mouse"))})}close(Ie){this._result=Ie,this._containerInstance._animationStateChanged.pipe((0,Xe.I)(Ue=>"closing"===Ue.state),(0,pt.U)(1)).subscribe(Ue=>{this._beforeClosed.next(Ie),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),Ue.totalTime+100)}),this._state=Kt.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(Ie){let Ue=this._ref.config.positionStrategy;return Ie&&(Ie.left||Ie.right)?Ie.left?Ue.left(Ie.left):Ue.right(Ie.right):Ue.centerHorizontally(),Ie&&(Ie.top||Ie.bottom)?Ie.top?Ue.top(Ie.top):Ue.bottom(Ie.bottom):Ue.centerVertically(),this._ref.updatePosition(),this}updateSize(Ie="",Ue=""){return this._ref.updateSize(Ie,Ue),this}addPanelClass(Ie){return this._ref.addPanelClass(Ie),this}removePanelClass(Ie){return this._ref.removePanelClass(Ie),this}getState(){return this._state}_finishDialogClose(){this._state=Kt.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function Gt(ee,Ie,Ue){return ee._closeInteractionType=Ie,ee.close(Ue)}const ct=new D.UbH("MatMdcDialogData"),Zt=new D.UbH("mat-mdc-dialog-default-options"),Ut=new D.UbH("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const ee=(0,D.uUt)(a.mc);return()=>ee.scrollStrategies.block()}});let Ve=0,Te=(()=>{var ee;class Ie{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const Y=this._parentDialog;return Y?Y._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(Y,he,Ye,gt,Et,Lt,en,sn){this._overlay=Y,this._defaultOptions=gt,this._scrollStrategy=Et,this._parentDialog=Lt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ve.E,this._afterOpenedAtThisLevel=new ve.E,this.dialogConfigClass=vt,this.afterAllClosed=(0,te.Q)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,Pe.W)(void 0))),this._dialog=he.get(G),this._dialogRefConstructor=ln,this._dialogContainerType=ht,this._dialogDataToken=ct}open(Y,he){let Ye;(he={...this._defaultOptions||new vt,...he}).id=he.id||"mat-mdc-dialog-".concat(Ve++),he.scrollStrategy=he.scrollStrategy||this._scrollStrategy();const gt=this._dialog.open(Y,{...he,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:he},{provide:ke,useValue:he}]},templateContext:()=>({dialogRef:Ye}),providers:(Et,Lt,en)=>{var sn;return Ye=new this._dialogRefConstructor(Et,he,en),Ye.updatePosition(null===(sn=he)||void 0===sn?void 0:sn.position),[{provide:this._dialogContainerType,useValue:en},{provide:this._dialogDataToken,useValue:Lt.data},{provide:this._dialogRefConstructor,useValue:Ye}]}});return Ye.componentRef=gt.componentRef,Ye.componentInstance=gt.componentInstance,this.openDialogs.push(Ye),this.afterOpened.next(Ye),Ye.afterClosed().subscribe(()=>{const Et=this.openDialogs.indexOf(Ye);Et>-1&&(this.openDialogs.splice(Et,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Ye}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(Y){return this.openDialogs.find(he=>he.id===Y)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(Y){let he=Y.length;for(;he--;)Y[he].close()}}return(ee=Ie).\u0275fac=function(Y){return new(Y||ee)(D.CoB(a.mc),D.CoB(D.zZn),D.CoB(s.oB,8),D.CoB(Zt,8),D.CoB(Ut),D.CoB(ee,12),D.CoB(a.Y),D.CoB(D.qwP,8))},ee.\u0275prov=D.wxM({token:ee,factory:ee.\u0275fac,providedIn:"root"}),Ie})(),dt=0,$e=(()=>{var ee;class Ie{constructor(Y,he,Ye){this.dialogRef=Y,this._elementRef=he,this._dialog=Ye,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=qn(this._elementRef,this._dialog.openDialogs))}ngOnChanges(Y){const he=Y._matDialogClose||Y._matDialogCloseResult;he&&(this.dialogResult=he.currentValue)}_onButtonClick(Y){Gt(this.dialogRef,0===Y.screenX&&0===Y.screenY?"keyboard":"mouse",this.dialogResult)}}return(ee=Ie).\u0275fac=function(Y){return new(Y||ee)(D.GI1(ln,8),D.GI1(D.GMv),D.GI1(Te))},ee.\u0275dir=D.Sc5({type:ee,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(Y,he){1&Y&&D.qCj("click",function(gt){return he._onButtonClick(gt)}),2&Y&&D.e48("aria-label",he.ariaLabel||null)("type",he.type)},inputs:{ariaLabel:[D.Wk5.None,"aria-label","ariaLabel"],type:"type",dialogResult:[D.Wk5.None,"mat-dialog-close","dialogResult"],_matDialogClose:[D.Wk5.None,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[D.SYr]}),Ie})(),Mt=(()=>{var ee;class Ie{constructor(Y,he,Ye){this._dialogRef=Y,this._elementRef=he,this._dialog=Ye}ngOnInit(){this._dialogRef||(this._dialogRef=qn(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){var Y;(null===(Y=this._dialogRef)||void 0===Y?void 0:Y._containerInstance)&&Promise.resolve().then(()=>{this._onRemove()})}}return(ee=Ie).\u0275fac=function(Y){return new(Y||ee)(D.GI1(ln,8),D.GI1(D.GMv),D.GI1(Te))},ee.\u0275dir=D.Sc5({type:ee,standalone:!0}),Ie})(),Xt=(()=>{var ee;class Ie extends Mt{constructor(){super(...arguments),this.id="mat-mdc-dialog-title-".concat(dt++)}_onAdd(){var Y,he;null===(Y=this._dialogRef._containerInstance)||void 0===Y||null===(he=Y._addAriaLabelledBy)||void 0===he||he.call(Y,this.id)}_onRemove(){var Y,he;null===(Y=this._dialogRef)||void 0===Y||null===(Y=Y._containerInstance)||void 0===Y||null===(he=Y._removeAriaLabelledBy)||void 0===he||he.call(Y,this.id)}}return(ee=Ie).\u0275fac=(()=>{let Ue;return function(he){return(Ue||(Ue=D.otF(ee)))(he||ee)}})(),ee.\u0275dir=D.Sc5({type:ee,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(Y,he){2&Y&&D.SoX("id",he.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[D.eg9]}),Ie})(),gn=(()=>{var ee;class Ie{}return(ee=Ie).\u0275fac=function(Y){return new(Y||ee)},ee.\u0275dir=D.Sc5({type:ee,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0}),Ie})(),cn=(()=>{var ee;class Ie extends Mt{_onAdd(){var Y,he;null===(Y=this._dialogRef._containerInstance)||void 0===Y||null===(he=Y._updateActionSectionCount)||void 0===he||he.call(Y,1)}_onRemove(){var Y,he;null===(Y=this._dialogRef._containerInstance)||void 0===Y||null===(he=Y._updateActionSectionCount)||void 0===he||he.call(Y,-1)}}return(ee=Ie).\u0275fac=(()=>{let Ue;return function(he){return(Ue||(Ue=D.otF(ee)))(he||ee)}})(),ee.\u0275dir=D.Sc5({type:ee,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(Y,he){2&Y&&D.eAK("mat-mdc-dialog-actions-align-start","start"===he.align)("mat-mdc-dialog-actions-align-center","center"===he.align)("mat-mdc-dialog-actions-align-end","end"===he.align)},inputs:{align:"align"},standalone:!0,features:[D.eg9]}),Ie})();function qn(ee,Ie){let Ue=ee.nativeElement.parentElement;for(;Ue&&!Ue.classList.contains("mat-mdc-dialog-container");)Ue=Ue.parentElement;return Ue?Ie.find(Y=>Y.id===Ue.id):null}let P=(()=>{var ee;class Ie{}return(ee=Ie).\u0275fac=function(Y){return new(Y||ee)},ee.\u0275mod=D.a4G({type:ee}),ee.\u0275inj=D.s3X({providers:[Te],imports:[re,a.Y1,z.g$,Pt.AN,Pt.AN]}),Ie})()},6516:(Qe,fe,y)=>{y.d(fe,{Y$:()=>en,uY:()=>sn,Up:()=>V,u0:()=>Ye,wb:()=>$,w5:()=>Ve,Gm:()=>tt});var a=y(4496),s=y(1900),D=y(5792),J=y(6928),ce=y(5657),z=y(3412),ae=y(3616),ve=y(3252),te=y(6684),Ce=y(5960);class Me extends ce.E{constructor(O=1/0,B=1/0,N=Ce.K){super(),this._bufferSize=O,this._windowTime=B,this._timestampProvider=N,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=B===1/0,this._bufferSize=Math.max(1,O),this._windowTime=Math.max(1,B)}next(O){const{isStopped:B,_buffer:N,_infiniteTimeWindow:q,_timestampProvider:nt,_windowTime:xe}=this;B||(N.push(O),!q&&N.push(nt.now()+xe)),this._trimBuffer(),super.next(O)}_subscribe(O){this._throwIfClosed(),this._trimBuffer();const B=this._innerSubscribe(O),{_infiniteTimeWindow:N,_buffer:q}=this,nt=q.slice();for(let xe=0;xe{N.unsubscribe(),k()}});return(0,Pe.Uv)(O(...B)).subscribe(N)}class xt{constructor(O){this._box=O,this._destroyed=new ce.E,this._resizeSubject=new ce.E,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(B=>this._resizeSubject.next(B)))}observe(O){return this._elementObservables.has(O)||this._elementObservables.set(O,new ve._(B=>{var N;const q=this._resizeSubject.subscribe(B);return null===(N=this._resizeObserver)||void 0===N||N.observe(O,{box:this._box}),()=>{var nt;null===(nt=this._resizeObserver)||void 0===nt||nt.unobserve(O),q.unsubscribe(),this._elementObservables.delete(O)}}).pipe((0,te.I)(B=>B.some(N=>N.target===O)),function Ne(k,O,B){let N,q=!1;return k&&"object"==typeof k?({bufferSize:N=1/0,windowTime:O=1/0,refCount:q=!1,scheduler:B}=k):N=null!=k?k:1/0,function Be(k={}){const{connector:O=(()=>new ce.E),resetOnError:B=!0,resetOnComplete:N=!0,resetOnRefCountZero:q=!0}=k;return nt=>{let xe,be,Ae,de=0,Je=!1,Bt=!1;const Ht=()=>{null==be||be.unsubscribe(),be=void 0},Zn=()=>{Ht(),xe=Ae=void 0,Je=Bt=!1},ho=()=>{const On=xe;Zn(),null==On||On.unsubscribe()};return(0,ke.i)((On,jt)=>{de++,!Bt&&!Je&&Ht();const dn=Ae=null!=Ae?Ae:O();jt.add(()=>{de--,0===de&&!Bt&&!Je&&(be=Re(ho,q))}),dn.subscribe(jt),!xe&&de>0&&(xe=new et.ot({next:di=>dn.next(di),error:di=>{Bt=!0,Ht(),be=Re(Zn,B,di),dn.error(di)},complete:()=>{Je=!0,Ht(),be=Re(Zn,N),dn.complete()}}),(0,Pe.Uv)(On).subscribe(xe))})(nt)}}({connector:()=>new Me(N,O,B),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:q})}({bufferSize:1,refCount:!0}),(0,ae.a)(this._destroyed))),this._elementObservables.get(O)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let lt=(()=>{var k;class O{constructor(){this._observers=new Map,this._ngZone=(0,a.uUt)(a.WW2)}ngOnDestroy(){for(const[,N]of this._observers)N.destroy();this._observers.clear()}observe(N,q){const nt=(null==q?void 0:q.box)||"content-box";return this._observers.has(nt)||this._observers.set(nt,new xt(nt)),this._observers.get(nt).observe(N)}}return(k=O).\u0275fac=function(N){return new(N||k)},k.\u0275prov=a.wxM({token:k,factory:k.\u0275fac,providedIn:"root"}),O})();var Ge=y(7712),Oe=y(9684),X=y(1368),G=y(6640),ye=y(3576);const re=["notch"],ie=["matFormFieldNotchedOutline",""],me=["*"],Xe=["textField"],pt=["iconPrefixContainer"],Pt=["textPrefixContainer"];function Tt(k,O){1&k&&a.wR5(0,"span",16)}function on(k,O){if(1&k&&(a.I0R(0,"label",14),a._Xx(1,1),a.yuY(2,Tt,1,0,"span",15),a.C$Y()),2&k){const B=a.GaO(2);a.E7m("floating",B._shouldLabelFloat())("monitorResize",B._hasOutline())("id",B._labelId),a.e48("for",B._control.id),a.yG2(2),a.C0Y(2,!B.hideRequiredMarker&&B._control.required?2:-1)}}function vt(k,O){if(1&k&&a.yuY(0,on,3,5,"label",14),2&k){const B=a.GaO();a.C0Y(0,B._hasFloatingLabel()?0:-1)}}function qe(k,O){1&k&&a.wR5(0,"div",17)}function De(k,O){}function _e(k,O){if(1&k&&a.yuY(0,De,0,0,"ng-template",9),2&k){a.GaO(2);const B=a.Gew(1);a.E7m("ngTemplateOutlet",B)}}function Se(k,O){if(1&k&&(a.I0R(0,"div",5),a.yuY(1,_e,1,1,null,9),a.C$Y()),2&k){const B=a.GaO();a.E7m("matFormFieldNotchedOutlineOpen",B._shouldLabelFloat()),a.yG2(),a.C0Y(1,B._forceDisplayInfixLabel()?-1:1)}}function Ke(k,O){1&k&&(a.I0R(0,"div",18,19),a._Xx(2,2),a.C$Y())}function ht(k,O){1&k&&(a.I0R(0,"div",20,21),a._Xx(2,3),a.C$Y())}function st(k,O){}function Ft(k,O){if(1&k&&a.yuY(0,st,0,0,"ng-template",9),2&k){a.GaO();const B=a.Gew(1);a.E7m("ngTemplateOutlet",B)}}function Kt(k,O){1&k&&(a.I0R(0,"div",22),a._Xx(1,4),a.C$Y())}function ln(k,O){1&k&&(a.I0R(0,"div",23),a._Xx(1,5),a.C$Y())}function Gt(k,O){1&k&&a.wR5(0,"div",12)}function ct(k,O){if(1&k&&(a.I0R(0,"div",24),a._Xx(1,6),a.C$Y()),2&k){const B=a.GaO();a.E7m("@transitionMessages",B._subscriptAnimationState)}}function Zt(k,O){if(1&k&&(a.I0R(0,"mat-hint",26),a.OEk(1),a.C$Y()),2&k){const B=a.GaO(2);a.E7m("id",B._hintLabelId),a.yG2(),a.cNF(B.hintLabel)}}function Ut(k,O){if(1&k&&(a.I0R(0,"div",25),a.yuY(1,Zt,2,2,"mat-hint",26),a._Xx(2,7),a.wR5(3,"div",27),a._Xx(4,8),a.C$Y()),2&k){const B=a.GaO();a.E7m("@transitionMessages",B._subscriptAnimationState),a.yG2(),a.C0Y(1,B.hintLabel?1:-1)}}const le=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],pe=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let Ve=(()=>{var k;class O{}return(k=O).\u0275fac=function(N){return new(N||k)},k.\u0275dir=a.Sc5({type:k,selectors:[["mat-label"]],standalone:!0}),O})();const dt=new a.UbH("MatError");let Mt=0,Xt=(()=>{var k;class O{constructor(){this.align="start",this.id="mat-mdc-hint-".concat(Mt++)}}return(k=O).\u0275fac=function(N){return new(N||k)},k.\u0275dir=a.Sc5({type:k,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(N,q){2&N&&(a.SoX("id",q.id),a.e48("align",null),a.eAK("mat-mdc-form-field-hint-end","end"===q.align))},inputs:{align:"align",id:"id"},standalone:!0}),O})();const gn=new a.UbH("MatPrefix"),qn=new a.UbH("MatSuffix");let tt=(()=>{var k;class O{constructor(){this._isText=!1}set _isTextSelector(N){this._isText=!0}}return(k=O).\u0275fac=function(N){return new(N||k)},k.\u0275dir=a.Sc5({type:k,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[a.Wk5.None,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[a.M5G([{provide:qn,useExisting:k}])]}),O})();const P=new a.UbH("FloatingLabelParent");let Ee=(()=>{var k;class O{get floating(){return this._floating}set floating(N){this._floating=N,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(N){this._monitorResize=N,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(N){this._elementRef=N,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,a.uUt)(lt),this._ngZone=(0,a.uUt)(a.WW2),this._parent=(0,a.uUt)(P),this._resizeSubscription=new J.wH}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function se(k){if(null!==k.offsetParent)return k.scrollWidth;const B=k.cloneNode(!0);B.style.setProperty("position","absolute"),B.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(B);const N=B.scrollWidth;return B.remove(),N}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}}return(k=O).\u0275fac=function(N){return new(N||k)(a.GI1(a.GMv))},k.\u0275dir=a.Sc5({type:k,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(N,q){2&N&&a.eAK("mdc-floating-label--float-above",q.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0}),O})();const ee="mdc-line-ripple--active",Ie="mdc-line-ripple--deactivating";let Ue=(()=>{var k;class O{constructor(N,q){this._elementRef=N,this._handleTransitionEnd=nt=>{const xe=this._elementRef.nativeElement.classList,be=xe.contains(Ie);"opacity"===nt.propertyName&&be&&xe.remove(ee,Ie)},q.runOutsideAngular(()=>{N.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const N=this._elementRef.nativeElement.classList;N.remove(Ie),N.add(ee)}deactivate(){this._elementRef.nativeElement.classList.add(Ie)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return(k=O).\u0275fac=function(N){return new(N||k)(a.GI1(a.GMv),a.GI1(a.WW2))},k.\u0275dir=a.Sc5({type:k,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0}),O})(),Y=(()=>{var k;class O{constructor(N,q){this._elementRef=N,this._ngZone=q,this.open=!1}ngAfterViewInit(){const N=this._elementRef.nativeElement.querySelector(".mdc-floating-label");N?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(N.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>N.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(N){this._notch.nativeElement.style.width=this.open&&N?"calc(".concat(N,"px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)"):""}}return(k=O).\u0275fac=function(N){return new(N||k)(a.GI1(a.GMv),a.GI1(a.WW2))},k.\u0275cmp=a.In1({type:k,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(N,q){if(1&N&&a.CC$(re,5),2&N){let nt;a.wto(nt=a.Gqi())&&(q._notch=nt.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(N,q){2&N&&a.eAK("mdc-notched-outline--notched",q.open)},inputs:{open:[a.Wk5.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[a.UHJ],attrs:ie,ngContentSelectors:me,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(N,q){1&N&&(a.kPM(),a.wR5(0,"div",0),a.I0R(1,"div",1,2),a._Xx(3),a.C$Y(),a.wR5(4,"div",3))},encapsulation:2,changeDetection:0}),O})();const he={transitionMessages:(0,Oe.gV)("transitionMessages",[(0,Oe.K2)("enter",(0,Oe.wb)({opacity:1,transform:"translateY(0%)"})),(0,Oe.aK)("void => enter",[(0,Oe.wb)({opacity:0,transform:"translateY(-5px)"}),(0,Oe.Cs)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Ye=(()=>{var k;class O{}return(k=O).\u0275fac=function(N){return new(N||k)},k.\u0275dir=a.Sc5({type:k}),O})();const en=new a.UbH("MatFormField"),sn=new a.UbH("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Dn=0,V=(()=>{var k;class O{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(N){this._hideRequiredMarker=(0,Ge.W6)(N)}get floatLabel(){var N;return this._floatLabel||(null===(N=this._defaults)||void 0===N?void 0:N.floatLabel)||"auto"}set floatLabel(N){N!==this._floatLabel&&(this._floatLabel=N,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(N){var q;const nt=this._appearance,xe=N||(null===(q=this._defaults)||void 0===q?void 0:q.appearance)||"fill";this._appearance=xe,"outline"===this._appearance&&this._appearance!==nt&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){var N;return this._subscriptSizing||(null===(N=this._defaults)||void 0===N?void 0:N.subscriptSizing)||"fixed"}set subscriptSizing(N){var q;this._subscriptSizing=N||(null===(q=this._defaults)||void 0===q?void 0:q.subscriptSizing)||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(N){this._hintLabel=N,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(N){this._explicitFormFieldControl=N}constructor(N,q,nt,xe,be,Ae,de,Je){this._elementRef=N,this._changeDetectorRef=q,this._ngZone=nt,this._dir=xe,this._platform=be,this._defaults=Ae,this._animationMode=de,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-".concat(Dn++),this._hintLabelId="mat-mdc-hint-".concat(Dn++),this._subscriptAnimationState="",this._destroyed=new ce.E,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,Ae&&(Ae.appearance&&(this.appearance=Ae.appearance),this._hideRequiredMarker=!(null==Ae||!Ae.hideRequiredMarker),Ae.color&&(this.color=Ae.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const N=this._control;N.controlType&&this._elementRef.nativeElement.classList.add("mat-mdc-form-field-type-".concat(N.controlType)),N.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),N.ngControl&&N.ngControl.valueChanges&&N.ngControl.valueChanges.pipe((0,ae.a)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(N=>!N._isText),this._hasTextPrefix=!!this._prefixChildren.find(N=>N._isText),this._hasIconSuffix=!!this._suffixChildren.find(N=>!N._isText),this._hasTextSuffix=!!this._suffixChildren.find(N=>N._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,z.U)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){var N,q;if(this._control.focused&&!this._isFocused)this._isFocused=!0,null===(q=this._lineRipple)||void 0===q||q.activate();else if(!this._control.focused&&(this._isFocused||null===this._isFocused)){var nt;this._isFocused=!1,null===(nt=this._lineRipple)||void 0===nt||nt.deactivate()}null===(N=this._textField)||void 0===N||N.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,ae.a)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,ae.a)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(N){const q=this._control?this._control.ngControl:null;return q&&q[N]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){var q,N;this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?null===(q=this._notchedOutline)||void 0===q||q._setNotchWidth(this._floatingLabel.getWidth()):null===(N=this._notchedOutline)||void 0===N||N._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let N=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&N.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const q=this._hintChildren?this._hintChildren.find(xe=>"start"===xe.align):null,nt=this._hintChildren?this._hintChildren.find(xe=>"end"===xe.align):null;q?N.push(q.id):this._hintLabel&&N.push(this._hintLabelId),nt&&N.push(nt.id)}else this._errorChildren&&N.push(...this._errorChildren.map(q=>q.id));this._control.setDescribedByIds(N)}}_updateOutlineLabelOffset(){var N,q,nt,xe;if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const be=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(be.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const Ae=null===(N=this._iconPrefixContainer)||void 0===N?void 0:N.nativeElement,de=null===(q=this._textPrefixContainer)||void 0===q?void 0:q.nativeElement,Je=null!==(nt=null==Ae?void 0:Ae.getBoundingClientRect().width)&&void 0!==nt?nt:0,Bt=null!==(xe=null==de?void 0:de.getBoundingClientRect().width)&&void 0!==xe?xe:0,Ht="rtl"===this._dir.value?"-1":"1",Zn="".concat(Je+Bt,"px"),On="calc(".concat(Ht," * (").concat(Zn," + ").concat("var(--mat-mdc-form-field-label-offset-x, 0px)","))");be.style.transform="var(\n --mat-mdc-form-field-label-transform,\n ".concat("translateY(-50%)"," translateX(").concat(On,")\n )")}_isAttachedToDom(){const N=this._elementRef.nativeElement;if(N.getRootNode){const q=N.getRootNode();return q&&q!==N}return document.documentElement.contains(N)}}return(k=O).\u0275fac=function(N){return new(N||k)(a.GI1(a.GMv),a.GI1(a.kD9),a.GI1(a.WW2),a.GI1(s.yG),a.GI1(D.WU),a.GI1(sn,8),a.GI1(a.qwP,8),a.GI1(X.Ud))},k.\u0275cmp=a.In1({type:k,selectors:[["mat-form-field"]],contentQueries:function(N,q,nt){if(1&N&&(a.szK(nt,Ve,5),a.szK(nt,Ve,7),a.szK(nt,Ye,5),a.szK(nt,gn,5),a.szK(nt,qn,5),a.szK(nt,dt,5),a.szK(nt,Xt,5)),2&N){let xe;a.wto(xe=a.Gqi())&&(q._labelChildNonStatic=xe.first),a.wto(xe=a.Gqi())&&(q._labelChildStatic=xe.first),a.wto(xe=a.Gqi())&&(q._formFieldControl=xe.first),a.wto(xe=a.Gqi())&&(q._prefixChildren=xe),a.wto(xe=a.Gqi())&&(q._suffixChildren=xe),a.wto(xe=a.Gqi())&&(q._errorChildren=xe),a.wto(xe=a.Gqi())&&(q._hintChildren=xe)}},viewQuery:function(N,q){if(1&N&&(a.CC$(Xe,5),a.CC$(pt,5),a.CC$(Pt,5),a.CC$(Ee,5),a.CC$(Y,5),a.CC$(Ue,5)),2&N){let nt;a.wto(nt=a.Gqi())&&(q._textField=nt.first),a.wto(nt=a.Gqi())&&(q._iconPrefixContainer=nt.first),a.wto(nt=a.Gqi())&&(q._textPrefixContainer=nt.first),a.wto(nt=a.Gqi())&&(q._floatingLabel=nt.first),a.wto(nt=a.Gqi())&&(q._notchedOutline=nt.first),a.wto(nt=a.Gqi())&&(q._lineRipple=nt.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(N,q){2&N&&a.eAK("mat-mdc-form-field-label-always-float",q._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",q._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",q._hasIconSuffix)("mat-form-field-invalid",q._control.errorState)("mat-form-field-disabled",q._control.disabled)("mat-form-field-autofilled",q._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===q._animationMode)("mat-form-field-appearance-fill","fill"==q.appearance)("mat-form-field-appearance-outline","outline"==q.appearance)("mat-form-field-hide-placeholder",q._hasFloatingLabel()&&!q._shouldLabelFloat())("mat-focused",q._control.focused)("mat-primary","accent"!==q.color&&"warn"!==q.color)("mat-accent","accent"===q.color)("mat-warn","warn"===q.color)("ng-untouched",q._shouldForward("untouched"))("ng-touched",q._shouldForward("touched"))("ng-pristine",q._shouldForward("pristine"))("ng-dirty",q._shouldForward("dirty"))("ng-valid",q._shouldForward("valid"))("ng-invalid",q._shouldForward("invalid"))("ng-pending",q._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[a.M5G([{provide:en,useExisting:k},{provide:P,useExisting:k}]),a.UHJ],ngContentSelectors:pe,decls:18,vars:21,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],["class","mat-mdc-form-field-icon-prefix"],["class","mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],["class","mat-mdc-form-field-text-suffix"],["class","mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(N,q){if(1&N&&(a.kPM(le),a.yuY(0,vt,1,1,"ng-template",null,0,a.gJz),a.I0R(2,"div",1,2),a.qCj("click",function(xe){return q._control.onContainerClick(xe)}),a.yuY(4,qe,1,0,"div",3),a.I0R(5,"div",4),a.yuY(6,Se,2,2,"div",5)(7,Ke,3,0,"div",6)(8,ht,3,0,"div",7),a.I0R(9,"div",8),a.yuY(10,Ft,1,1,null,9),a._Xx(11),a.C$Y(),a.yuY(12,Kt,2,0,"div",10)(13,ln,2,0,"div",11),a.C$Y(),a.yuY(14,Gt,1,0,"div",12),a.C$Y(),a.I0R(15,"div",13),a.yuY(16,ct,2,1)(17,Ut,5,2),a.C$Y()),2&N){let nt;a.yG2(2),a.eAK("mdc-text-field--filled",!q._hasOutline())("mdc-text-field--outlined",q._hasOutline())("mdc-text-field--no-label",!q._hasFloatingLabel())("mdc-text-field--disabled",q._control.disabled)("mdc-text-field--invalid",q._control.errorState),a.yG2(2),a.C0Y(4,q._hasOutline()||q._control.disabled?-1:4),a.yG2(2),a.C0Y(6,q._hasOutline()?6:-1),a.yG2(),a.C0Y(7,q._hasIconPrefix?7:-1),a.yG2(),a.C0Y(8,q._hasTextPrefix?8:-1),a.yG2(2),a.C0Y(10,!q._hasOutline()||q._forceDisplayInfixLabel()?10:-1),a.yG2(2),a.C0Y(12,q._hasTextSuffix?12:-1),a.yG2(),a.C0Y(13,q._hasIconSuffix?13:-1),a.yG2(),a.C0Y(14,q._hasOutline()?-1:14),a.yG2(),a.eAK("mat-mdc-form-field-subscript-dynamic-size","dynamic"===q.subscriptSizing),a.yG2(),a.C0Y(16,"error"===(nt=q._getDisplayedMessages())?16:"hint"===nt?17:-1)}},dependencies:[Ee,Y,X.XV,Ue,Xt],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[he.transitionMessages]},changeDetection:0}),O})(),$=(()=>{var k;class O{}return(k=O).\u0275fac=function(N){return new(N||k)},k.\u0275mod=a.a4G({type:k}),k.\u0275inj=a.s3X({imports:[ye.AN,X.MD,G.IT,ye.AN]}),O})()},7536:(Qe,fe,y)=>{y.d(fe,{yi:()=>ot,cN:()=>xt});var a=y(7712),s=y(5792),D=y(4496),J=y(8960),ce=y(5657);const z=(0,s.W4)({passive:!0});let ae=(()=>{var lt;class Ge{constructor(X,G){this._platform=X,this._ngZone=G,this._monitoredElements=new Map}monitor(X){if(!this._platform.isBrowser)return J.k;const G=(0,a.mk)(X),ye=this._monitoredElements.get(G);if(ye)return ye.subject;const re=new ce.E,ie="cdk-text-field-autofilled",me=Xe=>{"cdk-text-field-autofill-start"!==Xe.animationName||G.classList.contains(ie)?"cdk-text-field-autofill-end"===Xe.animationName&&G.classList.contains(ie)&&(G.classList.remove(ie),this._ngZone.run(()=>re.next({target:Xe.target,isAutofilled:!1}))):(G.classList.add(ie),this._ngZone.run(()=>re.next({target:Xe.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{G.addEventListener("animationstart",me,z),G.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(G,{subject:re,unlisten:()=>{G.removeEventListener("animationstart",me,z)}}),re}stopMonitoring(X){const G=(0,a.mk)(X),ye=this._monitoredElements.get(G);ye&&(ye.unlisten(),ye.subject.complete(),G.classList.remove("cdk-text-field-autofill-monitored"),G.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(G))}ngOnDestroy(){this._monitoredElements.forEach((X,G)=>this.stopMonitoring(G))}}return(lt=Ge).\u0275fac=function(X){return new(X||lt)(D.CoB(s.WU),D.CoB(D.WW2))},lt.\u0275prov=D.wxM({token:lt,factory:lt.\u0275fac,providedIn:"root"}),Ge})(),Ce=(()=>{var lt;class Ge{}return(lt=Ge).\u0275fac=function(X){return new(X||lt)},lt.\u0275mod=D.a4G({type:lt}),lt.\u0275inj=D.s3X({}),Ge})();var Me=y(4716),Pe=y(3576),et=y(6516);const Be=new D.UbH("MAT_INPUT_VALUE_ACCESSOR"),Re=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Ne=0,ot=(()=>{var lt;class Ge{get disabled(){return this._disabled}set disabled(X){this._disabled=(0,a.W6)(X),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(X){this._id=X||this._uid}get required(){var X,G,ye;return null!==(X=null!==(G=this._required)&&void 0!==G?G:null===(ye=this.ngControl)||void 0===ye||null===(ye=ye.control)||void 0===ye?void 0:ye.hasValidator(Me.AQ.required))&&void 0!==X&&X}set required(X){this._required=(0,a.W6)(X)}get type(){return this._type}set type(X){this._type=X||"text",this._validateType(),!this._isTextarea&&(0,s.mU)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(X){this._errorStateTracker.matcher=X}get value(){return this._inputValueAccessor.value}set value(X){X!==this.value&&(this._inputValueAccessor.value=X,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(X){this._readonly=(0,a.W6)(X)}get errorState(){return this._errorStateTracker.errorState}set errorState(X){this._errorStateTracker.errorState=X}constructor(X,G,ye,re,ie,me,Xe,pt,Pt,Tt){this._elementRef=X,this._platform=G,this.ngControl=ye,this._autofillMonitor=pt,this._formField=Tt,this._uid="mat-input-".concat(Ne++),this.focused=!1,this.stateChanges=new ce.E,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(qe=>(0,s.mU)().has(qe)),this._iOSKeyupListener=qe=>{const De=qe.target;!De.value&&0===De.selectionStart&&0===De.selectionEnd&&(De.setSelectionRange(1,1),De.setSelectionRange(0,0))};const on=this._elementRef.nativeElement,vt=on.nodeName.toLowerCase();this._inputValueAccessor=Xe||on,this._previousNativeValue=this.value,this.id=this.id,G.IOS&&Pt.runOutsideAngular(()=>{X.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Pe.mY(me,ye,ie,re,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===vt,this._isTextarea="textarea"===vt,this._isInFormField=!!Tt,this._isNativeSelect&&(this.controlType=on.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(X=>{this.autofilled=X.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(X){this._elementRef.nativeElement.focus(X)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(X){X!==this.focused&&(this.focused=X,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const X=this._elementRef.nativeElement.value;this._previousNativeValue!==X&&(this._previousNativeValue=X,this.stateChanges.next())}_dirtyCheckPlaceholder(){const X=this._getPlaceholder();if(X!==this._previousPlaceholder){const G=this._elementRef.nativeElement;this._previousPlaceholder=X,X?G.setAttribute("placeholder",X):G.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Re.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let X=this._elementRef.nativeElement.validity;return X&&X.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const X=this._elementRef.nativeElement,G=X.options[0];return this.focused||X.multiple||!this.empty||!!(X.selectedIndex>-1&&G&&G.label)}return this.focused||!this.empty}setDescribedByIds(X){X.length?this._elementRef.nativeElement.setAttribute("aria-describedby",X.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const X=this._elementRef.nativeElement;return this._isNativeSelect&&(X.multiple||X.size>1)}}return(lt=Ge).\u0275fac=function(X){return new(X||lt)(D.GI1(D.GMv),D.GI1(s.WU),D.GI1(Me.eq,10),D.GI1(Me.SC,8),D.GI1(Me.uW,8),D.GI1(Pe.u9),D.GI1(Be,10),D.GI1(ae),D.GI1(D.WW2),D.GI1(et.Y$,8))},lt.\u0275dir=D.Sc5({type:lt,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(X,G){1&X&&D.qCj("focus",function(){return G._focusChanged(!0)})("blur",function(){return G._focusChanged(!1)})("input",function(){return G._onInput()}),2&X&&(D.SoX("id",G.id)("disabled",G.disabled)("required",G.required),D.e48("name",G.name||null)("readonly",G.readonly&&!G._isNativeSelect||null)("aria-invalid",G.empty&&G.required?null:G.errorState)("aria-required",G.required)("id",G.id),D.eAK("mat-input-server",G._isServer)("mat-mdc-form-field-textarea-control",G._isInFormField&&G._isTextarea)("mat-mdc-form-field-input-control",G._isInFormField)("mdc-text-field__input",G._isInFormField)("mat-mdc-native-select-inline",G._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[D.Wk5.None,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[D.M5G([{provide:et.u0,useExisting:lt}]),D.SYr]}),Ge})(),xt=(()=>{var lt;class Ge{}return(lt=Ge).\u0275fac=function(X){return new(X||lt)},lt.\u0275mod=D.a4G({type:lt}),lt.\u0275inj=D.s3X({imports:[Pe.AN,et.wb,et.wb,Ce,Pe.AN]}),Ge})()},2096:(Qe,fe,y)=>{y.d(fe,{d5:()=>Gt,kX:()=>Kt});var a=y(68),s=y(1368),D=y(4496),J=y(3576),ce=y(6516),z=y(3572),ae=y(4723),ve=y(1900),te=y(1032),Ce=y(7800),Me=y(4716),Pe=y(5657),et=y(1424),ke=y(3412),Be=y(5568),Re=y(7368),Ne=y(3992),ot=y(6684),xt=y(4704),lt=y(4e3),Ge=y(3616),Oe=y(9684);const X=["trigger"],G=["panel"];function ye(ct,Zt){if(1&ct&&(D.I0R(0,"span",9),D.OEk(1),D.C$Y()),2&ct){const Ut=D.GaO();D.yG2(),D.cNF(Ut.placeholder)}}function re(ct,Zt){1&ct&&D._Xx(0)}function ie(ct,Zt){if(1&ct&&(D.I0R(0,"span",11),D.OEk(1),D.C$Y()),2&ct){const Ut=D.GaO(2);D.yG2(),D.cNF(Ut.triggerValue)}}function me(ct,Zt){if(1&ct&&(D.I0R(0,"span",10),D.yuY(1,re,1,0)(2,ie,2,1),D.C$Y()),2&ct){const Ut=D.GaO();D.yG2(),D.C0Y(1,Ut.customTrigger?1:2)}}function Xe(ct,Zt){if(1&ct){const Ut=D.KQA();D.S2Z(),D.gRP(),D.I0R(0,"div",12,13),D.qCj("@transformPanel.done",function(pe){D.usT(Ut);const Ve=D.GaO();return D.CGJ(Ve._panelDoneAnimatingStream.next(pe.toState))})("keydown",function(pe){D.usT(Ut);const Ve=D.GaO();return D.CGJ(Ve._handleKeydown(pe))}),D._Xx(2,1),D.C$Y()}if(2&ct){const Ut=D.GaO();D.uQ9("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",Ut._getPanelTheme(),""),D.E7m("ngClass",Ut.panelClass)("@transformPanel","showing"),D.e48("id",Ut.id+"-panel")("aria-multiselectable",Ut.multiple)("aria-label",Ut.ariaLabel||null)("aria-labelledby",Ut._getPanelAriaLabelledby())}}const pt=[[["mat-select-trigger"]],"*"],Pt=["mat-select-trigger","*"],Tt={transformPanelWrap:(0,Oe.gV)("transformPanelWrap",[(0,Oe.aK)("* => void",(0,Oe.kt)("@transformPanel",[(0,Oe.Ql)()],{optional:!0}))]),transformPanel:(0,Oe.gV)("transformPanel",[(0,Oe.K2)("void",(0,Oe.wb)({opacity:0,transform:"scale(1, 0.8)"})),(0,Oe.aK)("void => showing",(0,Oe.Cs)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Oe.wb)({opacity:1,transform:"scale(1, 1)"}))),(0,Oe.aK)("* => void",(0,Oe.Cs)("100ms linear",(0,Oe.wb)({opacity:0})))])};let De=0;const _e=new D.UbH("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const ct=(0,D.uUt)(a.mc);return()=>ct.scrollStrategies.reposition()}}),Ke=new D.UbH("MAT_SELECT_CONFIG"),ht={provide:_e,deps:[a.mc],useFactory:function Se(ct){return()=>ct.scrollStrategies.reposition()}},st=new D.UbH("MatSelectTrigger");class Ft{constructor(Zt,Ut){this.source=Zt,this.value=Ut}}let Kt=(()=>{var ct;class Zt{_scrollOptionIntoView(le){const pe=this.options.toArray()[le];if(pe){const Ve=this.panel.nativeElement,Te=(0,J.aq)(le,this.options,this.optionGroups),dt=pe._getHostElement();Ve.scrollTop=0===le&&1===Te?0:(0,J.ms)(dt.offsetTop,dt.offsetHeight,Ve.scrollTop,Ve.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(le){return new Ft(this,le)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(le){this._hideSingleSelectionIndicator=le,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(le){this._placeholder=le,this.stateChanges.next()}get required(){var le,pe,Ve;return null!==(le=null!==(pe=this._required)&&void 0!==pe?pe:null===(Ve=this.ngControl)||void 0===Ve||null===(Ve=Ve.control)||void 0===Ve?void 0:Ve.hasValidator(Me.AQ.required))&&void 0!==le&&le}set required(le){this._required=le,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(le){this._multiple=le}get compareWith(){return this._compareWith}set compareWith(le){this._compareWith=le,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(le){this._assignValue(le)&&this._onChange(le)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(le){this._errorStateTracker.matcher=le}get id(){return this._id}set id(le){this._id=le||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(le){this._errorStateTracker.errorState=le}constructor(le,pe,Ve,Te,dt,$e,Mt,Xt,gn,cn,qn,tt,P,Ee){var se,ee,Ie,Ue,Y;this._viewportRuler=le,this._changeDetectorRef=pe,this._ngZone=Ve,this._elementRef=dt,this._dir=$e,this._parentFormField=gn,this.ngControl=cn,this._liveAnnouncer=P,this._defaultOptions=Ee,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(he,Ye)=>he===Ye,this._uid="mat-select-".concat(De++),this._triggerAriaLabelledBy=null,this._destroy=new Pe.E,this.stateChanges=new Pe.E,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-".concat(De++),this._panelDoneAnimatingStream=new Pe.E,this._overlayPanelClass=(null===(se=this._defaultOptions)||void 0===se?void 0:se.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=null!==(ee=null===(Ie=this._defaultOptions)||void 0===Ie?void 0:Ie.hideSingleSelectionIndicator)&&void 0!==ee&&ee,this._multiple=!1,this.disableOptionCentering=null!==(Ue=null===(Y=this._defaultOptions)||void 0===Y?void 0:Y.disableOptionCentering)&&void 0!==Ue&&Ue,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this.optionSelectionChanges=(0,et.Q)(()=>{const he=this.options;return he?he.changes.pipe((0,Be.W)(he),(0,Re.G)(()=>(0,ke.U)(...he.map(Ye=>Ye.onSelectionChange)))):this._ngZone.onStable.pipe((0,Ne.U)(1),(0,Re.G)(()=>this.optionSelectionChanges))}),this.openedChange=new D._w7,this._openedStream=this.openedChange.pipe((0,ot.I)(he=>he),(0,xt.k)(()=>{})),this._closedStream=this.openedChange.pipe((0,ot.I)(he=>!he),(0,xt.k)(()=>{})),this.selectionChange=new D._w7,this.valueChange=new D._w7,this._trackedModal=null,this._skipPredicate=he=>!this.panelOpen&&he.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==Ee?void 0:Ee.typeaheadDebounceInterval)&&(this.typeaheadDebounceInterval=Ee.typeaheadDebounceInterval),this._errorStateTracker=new J.mY(Te,cn,Xt,Mt,this.stateChanges),this._scrollStrategyFactory=tt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(qn)||0,this.id=this.id}ngOnInit(){this._selectionModel=new te.e2(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,lt.a)(),(0,Ge.a)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe((0,Ge.a)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,Ge.a)(this._destroy)).subscribe(le=>{le.added.forEach(pe=>pe.select()),le.removed.forEach(pe=>pe.deselect())}),this.options.changes.pipe((0,Be.W)(null),(0,Ge.a)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const le=this._getTriggerAriaLabelledby(),pe=this.ngControl;if(le!==this._triggerAriaLabelledBy){const Ve=this._elementRef.nativeElement;this._triggerAriaLabelledBy=le,le?Ve.setAttribute("aria-labelledby",le):Ve.removeAttribute("aria-labelledby")}pe&&(this._previousControl!==pe.control&&(void 0!==this._previousControl&&null!==pe.disabled&&pe.disabled!==this.disabled&&(this.disabled=pe.disabled),this._previousControl=pe.control),this.updateErrorState())}ngOnChanges(le){(le.disabled||le.userAriaDescribedBy)&&this.stateChanges.next(),le.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){var le;null===(le=this._keyManager)||void 0===le||le.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){const le=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!le)return;const pe="".concat(this.id,"-panel");this._trackedModal&&(0,ae.Cs)(this._trackedModal,"aria-owns",pe),(0,ae.AZ)(le,"aria-owns",pe),this._trackedModal=le}_clearFromModal(){if(!this._trackedModal)return;const le="".concat(this.id,"-panel");(0,ae.Cs)(this._trackedModal,"aria-owns",le),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(le){this._assignValue(le)}registerOnChange(le){this._onChange=le}registerOnTouched(le){this._onTouched=le}setDisabledState(le){this.disabled=le,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var le,pe;return this.multiple?(null===(le=this._selectionModel)||void 0===le?void 0:le.selected)||[]:null===(pe=this._selectionModel)||void 0===pe?void 0:pe.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const le=this._selectionModel.selected.map(pe=>pe.viewValue);return this._isRtl()&&le.reverse(),le.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(le){this.disabled||(this.panelOpen?this._handleOpenKeydown(le):this._handleClosedKeydown(le))}_handleClosedKeydown(le){const pe=le.keyCode,Ve=pe===Ce.Oq||pe===Ce.qI||pe===Ce.Mx||pe===Ce.a4,Te=pe===Ce.wJ||pe===Ce.Gi,dt=this._keyManager;if(!dt.isTyping()&&Te&&!(0,Ce.Yp)(le)||(this.multiple||le.altKey)&&Ve)le.preventDefault(),this.open();else if(!this.multiple){const $e=this.selected;dt.onKeydown(le);const Mt=this.selected;Mt&&$e!==Mt&&this._liveAnnouncer.announce(Mt.viewValue,1e4)}}_handleOpenKeydown(le){const pe=this._keyManager,Ve=le.keyCode,Te=Ve===Ce.Oq||Ve===Ce.qI,dt=pe.isTyping();if(Te&&le.altKey)le.preventDefault(),this.close();else if(dt||Ve!==Ce.wJ&&Ve!==Ce.Gi||!pe.activeItem||(0,Ce.Yp)(le))if(!dt&&this._multiple&&Ve===Ce.A&&le.ctrlKey){le.preventDefault();const $e=this.options.some(Mt=>!Mt.disabled&&!Mt.selected);this.options.forEach(Mt=>{Mt.disabled||($e?Mt.select():Mt.deselect())})}else{const $e=pe.activeItemIndex;pe.onKeydown(le),this._multiple&&Te&&le.shiftKey&&pe.activeItem&&pe.activeItemIndex!==$e&&pe.activeItem._selectViaInteraction()}else le.preventDefault(),pe.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){var le;this._focused=!1,null===(le=this._keyManager)||void 0===le||le.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,Ne.U)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(le){if(this.options.forEach(pe=>pe.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&le)Array.isArray(le),le.forEach(pe=>this._selectOptionByValue(pe)),this._sortValues();else{const pe=this._selectOptionByValue(le);pe?this._keyManager.updateActiveItem(pe):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(le){const pe=this.options.find(Ve=>{if(this._selectionModel.isSelected(Ve))return!1;try{return null!=Ve.value&&this._compareWith(Ve.value,le)}catch{return!1}});return pe&&this._selectionModel.select(pe),pe}_assignValue(le){return!!(le!==this._value||this._multiple&&Array.isArray(le))&&(this.options&&this._setSelectionByValue(le),this._value=le,!0)}_getOverlayWidth(le){return"auto"===this.panelWidth?(le instanceof a.wW?le.elementRef:le||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const le of this.options)le._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new ae.mJ(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const le=(0,ke.U)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,Ge.a)(le)).subscribe(pe=>{this._onSelect(pe.source,pe.isUserInput),pe.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,ke.U)(...this.options.map(pe=>pe._stateChanges)).pipe((0,Ge.a)(le)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(le,pe){const Ve=this._selectionModel.isSelected(le);null!=le.value||this._multiple?(Ve!==le.selected&&(le.selected?this._selectionModel.select(le):this._selectionModel.deselect(le)),pe&&this._keyManager.setActiveItem(le),this.multiple&&(this._sortValues(),pe&&this.focus())):(le.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(le.value)),Ve!==this._selectionModel.isSelected(le)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const le=this.options.toArray();this._selectionModel.sort((pe,Ve)=>this.sortComparator?this.sortComparator(pe,Ve,le):le.indexOf(pe)-le.indexOf(Ve)),this.stateChanges.next()}}_propagateChanges(le){let pe;pe=this.multiple?this.selected.map(Ve=>Ve.value):this.selected?this.selected.value:le,this._value=pe,this.valueChange.emit(pe),this._onChange(pe),this.selectionChange.emit(this._getChangeEvent(pe)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let le=-1;for(let pe=0;pe0}focus(le){this._elementRef.nativeElement.focus(le)}_getPanelAriaLabelledby(){var le;if(this.ariaLabel)return null;const pe=null===(le=this._parentFormField)||void 0===le?void 0:le.getLabelId();return this.ariaLabelledby?(pe?pe+" ":"")+this.ariaLabelledby:pe}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var le;if(this.ariaLabel)return null;const pe=null===(le=this._parentFormField)||void 0===le?void 0:le.getLabelId();let Ve=(pe?pe+" ":"")+this._valueId;return this.ariaLabelledby&&(Ve+=" "+this.ariaLabelledby),Ve}_panelDoneAnimating(le){this.openedChange.emit(le)}setDescribedByIds(le){le.length?this._elementRef.nativeElement.setAttribute("aria-describedby",le.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}}return(ct=Zt).\u0275fac=function(le){return new(le||ct)(D.GI1(z.S8),D.GI1(D.kD9),D.GI1(D.WW2),D.GI1(J.u9),D.GI1(D.GMv),D.GI1(ve.yG,8),D.GI1(Me.SC,8),D.GI1(Me.uW,8),D.GI1(ce.Y$,8),D.GI1(Me.eq,10),D.gJ8("tabindex"),D.GI1(_e),D.GI1(ae.mE),D.GI1(Ke,8))},ct.\u0275cmp=D.In1({type:ct,selectors:[["mat-select"]],contentQueries:function(le,pe,Ve){if(1&le&&(D.szK(Ve,st,5),D.szK(Ve,J.I5,5),D.szK(Ve,J.KG,5)),2&le){let Te;D.wto(Te=D.Gqi())&&(pe.customTrigger=Te.first),D.wto(Te=D.Gqi())&&(pe.options=Te),D.wto(Te=D.Gqi())&&(pe.optionGroups=Te)}},viewQuery:function(le,pe){if(1&le&&(D.CC$(X,5),D.CC$(G,5),D.CC$(a.eC,5)),2&le){let Ve;D.wto(Ve=D.Gqi())&&(pe.trigger=Ve.first),D.wto(Ve=D.Gqi())&&(pe.panel=Ve.first),D.wto(Ve=D.Gqi())&&(pe._overlayDir=Ve.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(le,pe){1&le&&D.qCj("keydown",function(Te){return pe._handleKeydown(Te)})("focus",function(){return pe._onFocus()})("blur",function(){return pe._onBlur()}),2&le&&(D.e48("id",pe.id)("tabindex",pe.disabled?-1:pe.tabIndex)("aria-controls",pe.panelOpen?pe.id+"-panel":null)("aria-expanded",pe.panelOpen)("aria-label",pe.ariaLabel||null)("aria-required",pe.required.toString())("aria-disabled",pe.disabled.toString())("aria-invalid",pe.errorState)("aria-activedescendant",pe._getAriaActiveDescendant()),D.eAK("mat-mdc-select-disabled",pe.disabled)("mat-mdc-select-invalid",pe.errorState)("mat-mdc-select-required",pe.required)("mat-mdc-select-empty",pe.empty)("mat-mdc-select-multiple",pe.multiple))},inputs:{userAriaDescribedBy:[D.Wk5.None,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[D.Wk5.HasDecoratorInputTransform,"disabled","disabled",D.cZD],disableRipple:[D.Wk5.HasDecoratorInputTransform,"disableRipple","disableRipple",D.cZD],tabIndex:[D.Wk5.HasDecoratorInputTransform,"tabIndex","tabIndex",Ut=>null==Ut?0:(0,D.cJ3)(Ut)],hideSingleSelectionIndicator:[D.Wk5.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",D.cZD],placeholder:"placeholder",required:[D.Wk5.HasDecoratorInputTransform,"required","required",D.cZD],multiple:[D.Wk5.HasDecoratorInputTransform,"multiple","multiple",D.cZD],disableOptionCentering:[D.Wk5.HasDecoratorInputTransform,"disableOptionCentering","disableOptionCentering",D.cZD],compareWith:"compareWith",value:"value",ariaLabel:[D.Wk5.None,"aria-label","ariaLabel"],ariaLabelledby:[D.Wk5.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[D.Wk5.HasDecoratorInputTransform,"typeaheadDebounceInterval","typeaheadDebounceInterval",D.cJ3],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[D.M5G([{provide:ce.u0,useExisting:ct},{provide:J.K6,useExisting:ct}]),D.QJr,D.SYr,D.UHJ],ngContentSelectors:Pt,decls:11,vars:8,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(le,pe){if(1&le&&(D.kPM(pt),D.I0R(0,"div",0,1),D.qCj("click",function(){return pe.open()}),D.I0R(3,"div",2),D.yuY(4,ye,2,1,"span",3)(5,me,3,1),D.C$Y(),D.I0R(6,"div",4)(7,"div",5),D.S2Z(),D.I0R(8,"svg",6),D.wR5(9,"path",7),D.C$Y()()()(),D.yuY(10,Xe,3,9,"ng-template",8),D.qCj("backdropClick",function(){return pe.close()})("attach",function(){return pe._onAttached()})("detach",function(){return pe.close()})),2&le){const Ve=D.Gew(1);D.yG2(3),D.e48("id",pe._valueId),D.yG2(),D.C0Y(4,pe.empty?4:5),D.yG2(6),D.E7m("cdkConnectedOverlayPanelClass",pe._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",pe._scrollStrategy)("cdkConnectedOverlayOrigin",pe._preferredOverlayOrigin||Ve)("cdkConnectedOverlayOpen",pe.panelOpen)("cdkConnectedOverlayPositions",pe._positions)("cdkConnectedOverlayWidth",pe._overlayWidth)}},dependencies:[a.wW,a.eC,s.QF],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[Tt.transformPanel]},changeDetection:0}),Zt})(),Gt=(()=>{var ct;class Zt{}return(ct=Zt).\u0275fac=function(le){return new(le||ct)},ct.\u0275mod=D.a4G({type:ct}),ct.\u0275inj=D.s3X({providers:[ht],imports:[s.MD,a.Y1,J.Ax,J.AN,z.uU,ce.wb,J.Ax,J.AN]}),Zt})()},4476:(Qe,fe,y)=>{y.d(fe,{OY:()=>dt,iE:()=>pe,mI:()=>he,o_:()=>ct,q:()=>ye});var a=y(4496),s=y(1368);class D extends s.mg{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class J extends D{static makeCurrent(){(0,s.ug)(new J)}onAndCancel(V,$,k){return V.addEventListener($,k),()=>{V.removeEventListener($,k)}}dispatchEvent(V,$){V.dispatchEvent($)}remove(V){V.parentNode&&V.parentNode.removeChild(V)}createElement(V,$){return($=$||this.getDefaultDocument()).createElement(V)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(V){return V.nodeType===Node.ELEMENT_NODE}isShadowRoot(V){return V instanceof DocumentFragment}getGlobalEventTarget(V,$){return"window"===$?window:"document"===$?V:"body"===$?V.body:null}getBaseHref(V){const $=function z(){return ce=ce||document.querySelector("base"),ce?ce.getAttribute("href"):null}();return null==$?null:function ae(Ze){return new URL(Ze,document.baseURI).pathname}($)}resetBaseElement(){ce=null}getUserAgent(){return window.navigator.userAgent}getCookie(V){return(0,s.Sg)(document.cookie,V)}}let ce=null,te=(()=>{var Ze;class V{build(){return new XMLHttpRequest}}return(Ze=V).\u0275fac=function(k){return new(k||Ze)},Ze.\u0275prov=a.wxM({token:Ze,factory:Ze.\u0275fac}),V})();const Ce=new a.UbH("");let Me=(()=>{var Ze;class V{constructor(k,O){this._zone=O,this._eventNameToPlugin=new Map,k.forEach(B=>{B.manager=this}),this._plugins=k.slice().reverse()}addEventListener(k,O,B){return this._findPluginFor(O).addEventListener(k,O,B)}getZone(){return this._zone}_findPluginFor(k){let O=this._eventNameToPlugin.get(k);if(O)return O;if(O=this._plugins.find(N=>N.supports(k)),!O)throw new a.OBp(5101,!1);return this._eventNameToPlugin.set(k,O),O}}return(Ze=V).\u0275fac=function(k){return new(k||Ze)(a.CoB(Ce),a.CoB(a.WW2))},Ze.\u0275prov=a.wxM({token:Ze,factory:Ze.\u0275fac}),V})();class Pe{constructor(V){this._doc=V}}const et="ng-app-id";let ke=(()=>{var Ze;class V{constructor(k,O,B,N={}){this.doc=k,this.appId=O,this.nonce=B,this.platformId=N,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,s.uf)(N),this.resetHostNodes()}addStyles(k){for(const O of k)1===this.changeUsageCount(O,1)&&this.onStyleAdded(O)}removeStyles(k){for(const O of k)this.changeUsageCount(O,-1)<=0&&this.onStyleRemoved(O)}ngOnDestroy(){const k=this.styleNodesInDOM;k&&(k.forEach(O=>O.remove()),k.clear());for(const O of this.getAllStyles())this.onStyleRemoved(O);this.resetHostNodes()}addHost(k){this.hostNodes.add(k);for(const O of this.getAllStyles())this.addStyleToHost(k,O)}removeHost(k){this.hostNodes.delete(k)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(k){for(const O of this.hostNodes)this.addStyleToHost(O,k)}onStyleRemoved(k){var O;const B=this.styleRef;null===(O=B.get(k))||void 0===O||null===(O=O.elements)||void 0===O||O.forEach(N=>N.remove()),B.delete(k)}collectServerRenderedStyles(){var k;const O=null===(k=this.doc.head)||void 0===k?void 0:k.querySelectorAll("style[".concat(et,'="').concat(this.appId,'"]'));if(null!=O&&O.length){const B=new Map;return O.forEach(N=>{null!=N.textContent&&B.set(N.textContent,N)}),B}return null}changeUsageCount(k,O){const B=this.styleRef;if(B.has(k)){const N=B.get(k);return N.usage+=O,N.usage}return B.set(k,{usage:O,elements:[]}),O}getStyleElement(k,O){const B=this.styleNodesInDOM,N=null==B?void 0:B.get(O);if((null==N?void 0:N.parentNode)===k)return B.delete(O),N.removeAttribute(et),N;{const q=this.doc.createElement("style");return this.nonce&&q.setAttribute("nonce",this.nonce),q.textContent=O,this.platformIsServer&&q.setAttribute(et,this.appId),k.appendChild(q),q}}addStyleToHost(k,O){var B;const N=this.getStyleElement(k,O),q=this.styleRef,nt=null===(B=q.get(O))||void 0===B?void 0:B.elements;nt?nt.push(N):q.set(O,{elements:[N],usage:1})}resetHostNodes(){const k=this.hostNodes;k.clear(),k.add(this.doc.head)}}return(Ze=V).\u0275fac=function(k){return new(k||Ze)(a.CoB(s.Ud),a.CoB(a.QHP),a.CoB(a.YND,8),a.CoB(a.AHE))},Ze.\u0275prov=a.wxM({token:Ze,factory:Ze.\u0275fac}),V})();const Be={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/"},Re=/%COMP%/g,ot="_nghost-".concat("%COMP%"),xt="_ngcontent-".concat("%COMP%"),Ge=new a.UbH("",{providedIn:"root",factory:()=>!0});function G(Ze,V){return V.map($=>$.replace(Re,Ze))}let ye=(()=>{var Ze;class V{constructor(k,O,B,N,q,nt,xe,be=null){this.eventManager=k,this.sharedStylesHost=O,this.appId=B,this.removeStylesOnCompDestroy=N,this.doc=q,this.platformId=nt,this.ngZone=xe,this.nonce=be,this.rendererByCompId=new Map,this.platformIsServer=(0,s.uf)(nt),this.defaultRenderer=new re(k,q,xe,this.platformIsServer)}createRenderer(k,O){if(!k||!O)return this.defaultRenderer;this.platformIsServer&&O.encapsulation===a.K6R.ShadowDom&&(O={...O,encapsulation:a.K6R.Emulated});const B=this.getOrCreateRenderer(k,O);return B instanceof Tt?B.applyToHost(k):B instanceof Pt&&B.applyStyles(),B}getOrCreateRenderer(k,O){const B=this.rendererByCompId;let N=B.get(O.id);if(!N){const q=this.doc,nt=this.ngZone,xe=this.eventManager,be=this.sharedStylesHost,Ae=this.removeStylesOnCompDestroy,de=this.platformIsServer;switch(O.encapsulation){case a.K6R.Emulated:N=new Tt(xe,be,O,this.appId,Ae,q,nt,de);break;case a.K6R.ShadowDom:return new pt(xe,be,k,O,q,nt,this.nonce,de);default:N=new Pt(xe,be,O,Ae,q,nt,de)}B.set(O.id,N)}return N}ngOnDestroy(){this.rendererByCompId.clear()}}return(Ze=V).\u0275fac=function(k){return new(k||Ze)(a.CoB(Me),a.CoB(ke),a.CoB(a.QHP),a.CoB(Ge),a.CoB(s.Ud),a.CoB(a.AHE),a.CoB(a.WW2),a.CoB(a.YND))},Ze.\u0275prov=a.wxM({token:Ze,factory:Ze.\u0275fac}),V})();class re{constructor(V,$,k,O){this.eventManager=V,this.doc=$,this.ngZone=k,this.platformIsServer=O,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(V,$){return $?this.doc.createElementNS(Be[$]||$,V):this.doc.createElement(V)}createComment(V){return this.doc.createComment(V)}createText(V){return this.doc.createTextNode(V)}appendChild(V,$){(Xe(V)?V.content:V).appendChild($)}insertBefore(V,$,k){V&&(Xe(V)?V.content:V).insertBefore($,k)}removeChild(V,$){V&&V.removeChild($)}selectRootElement(V,$){let k="string"==typeof V?this.doc.querySelector(V):V;if(!k)throw new a.OBp(-5104,!1);return $||(k.textContent=""),k}parentNode(V){return V.parentNode}nextSibling(V){return V.nextSibling}setAttribute(V,$,k,O){if(O){$=O+":"+$;const B=Be[O];B?V.setAttributeNS(B,$,k):V.setAttribute($,k)}else V.setAttribute($,k)}removeAttribute(V,$,k){if(k){const O=Be[k];O?V.removeAttributeNS(O,$):V.removeAttribute("".concat(k,":").concat($))}else V.removeAttribute($)}addClass(V,$){V.classList.add($)}removeClass(V,$){V.classList.remove($)}setStyle(V,$,k,O){O&(a.yzm.DashCase|a.yzm.Important)?V.style.setProperty($,k,O&a.yzm.Important?"important":""):V.style[$]=k}removeStyle(V,$,k){k&a.yzm.DashCase?V.style.removeProperty($):V.style[$]=""}setProperty(V,$,k){null!=V&&(V[$]=k)}setValue(V,$){V.nodeValue=$}listen(V,$,k){if("string"==typeof V&&!(V=(0,s.uy)().getGlobalEventTarget(this.doc,V)))throw new Error("Unsupported event target ".concat(V," for event ").concat($));return this.eventManager.addEventListener(V,$,this.decoratePreventDefault(k))}decoratePreventDefault(V){return $=>{if("__ngUnwrap__"===$)return V;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>V($)):V($))&&$.preventDefault()}}}function Xe(Ze){return"TEMPLATE"===Ze.tagName&&void 0!==Ze.content}class pt extends re{constructor(V,$,k,O,B,N,q,nt){super(V,B,N,nt),this.sharedStylesHost=$,this.hostEl=k,this.shadowRoot=k.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const xe=G(O.id,O.styles);for(const be of xe){const Ae=document.createElement("style");q&&Ae.setAttribute("nonce",q),Ae.textContent=be,this.shadowRoot.appendChild(Ae)}}nodeOrShadowRoot(V){return V===this.hostEl?this.shadowRoot:V}appendChild(V,$){return super.appendChild(this.nodeOrShadowRoot(V),$)}insertBefore(V,$,k){return super.insertBefore(this.nodeOrShadowRoot(V),$,k)}removeChild(V,$){return super.removeChild(this.nodeOrShadowRoot(V),$)}parentNode(V){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(V)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Pt extends re{constructor(V,$,k,O,B,N,q,nt){super(V,B,N,q),this.sharedStylesHost=$,this.removeStylesOnCompDestroy=O,this.styles=nt?G(nt,k.styles):k.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Tt extends Pt{constructor(V,$,k,O,B,N,q,nt){const xe=O+"-"+k.id;super(V,$,k,B,N,q,nt,xe),this.contentAttr=function Oe(Ze){return xt.replace(Re,Ze)}(xe),this.hostAttr=function X(Ze){return ot.replace(Re,Ze)}(xe)}applyToHost(V){this.applyStyles(),this.setAttribute(V,this.hostAttr,"")}createElement(V,$){const k=super.createElement(V,$);return super.setAttribute(k,this.contentAttr,""),k}}let on=(()=>{var Ze;class V extends Pe{constructor(k){super(k)}supports(k){return!0}addEventListener(k,O,B){return k.addEventListener(O,B,!1),()=>this.removeEventListener(k,O,B)}removeEventListener(k,O,B){return k.removeEventListener(O,B)}}return(Ze=V).\u0275fac=function(k){return new(k||Ze)(a.CoB(s.Ud))},Ze.\u0275prov=a.wxM({token:Ze,factory:Ze.\u0275fac}),V})();const vt=["alt","control","meta","shift"],qe={"\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"},De={alt:Ze=>Ze.altKey,control:Ze=>Ze.ctrlKey,meta:Ze=>Ze.metaKey,shift:Ze=>Ze.shiftKey};let _e=(()=>{var Ze;class V extends Pe{constructor(k){super(k)}supports(k){return null!=V.parseEventName(k)}addEventListener(k,O,B){const N=V.parseEventName(O),q=V.eventCallback(N.fullKey,B,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,s.uy)().onAndCancel(k,N.domEventName,q))}static parseEventName(k){const O=k.toLowerCase().split("."),B=O.shift();if(0===O.length||"keydown"!==B&&"keyup"!==B)return null;const N=V._normalizeKey(O.pop());let q="",nt=O.indexOf("code");if(nt>-1&&(O.splice(nt,1),q="code."),vt.forEach(be=>{const Ae=O.indexOf(be);Ae>-1&&(O.splice(Ae,1),q+=be+".")}),q+=N,0!=O.length||0===N.length)return null;const xe={};return xe.domEventName=B,xe.fullKey=q,xe}static matchEventFullKeyCode(k,O){let B=qe[k.key]||k.key,N="";return O.indexOf("code.")>-1&&(B=k.code,N="code."),!(null==B||!B)&&(B=B.toLowerCase()," "===B?B="space":"."===B&&(B="dot"),vt.forEach(q=>{q!==B&&(0,De[q])(k)&&(N+=q+".")}),N+=B,N===O)}static eventCallback(k,O,B){return N=>{V.matchEventFullKeyCode(N,k)&&B.runGuarded(()=>O(N))}}static _normalizeKey(k){return"esc"===k?"escape":k}}return(Ze=V).\u0275fac=function(k){return new(k||Ze)(a.CoB(s.Ud))},Ze.\u0275prov=a.wxM({token:Ze,factory:Ze.\u0275fac}),V})();const ct=(0,a.grM)(a.m4O,"browser",[{provide:a.AHE,useValue:s._k},{provide:a.crf,useValue:function Ft(){J.makeCurrent()},multi:!0},{provide:s.Ud,useFactory:function ln(){return(0,a.auf)(document),document},deps:[]}]),Zt=new a.UbH(""),Ut=[{provide:a.Mn9,useClass:class ve{addToWindow(V){a.IHs.getAngularTestability=(k,O=!0)=>{const B=V.findTestabilityInTree(k,O);if(null==B)throw new a.OBp(5103,!1);return B},a.IHs.getAllAngularTestabilities=()=>V.getAllTestabilities(),a.IHs.getAllAngularRootElements=()=>V.getAllRootElements(),a.IHs.frameworkStabilizers||(a.IHs.frameworkStabilizers=[]),a.IHs.frameworkStabilizers.push(k=>{const O=a.IHs.getAllAngularTestabilities();let B=O.length;const N=function(){B--,0==B&&k()};O.forEach(q=>{q.whenStable(N)})})}findTestabilityInTree(V,$,k){if(null==$)return null;const O=V.getTestability($);return null!=O?O:k?(0,s.uy)().isShadowRoot($)?this.findTestabilityInTree(V,$.host,!0):this.findTestabilityInTree(V,$.parentElement,!0):null}},deps:[]},{provide:a.aS5,useClass:a.G4X,deps:[a.WW2,a.eOv,a.Mn9]},{provide:a.G4X,useClass:a.G4X,deps:[a.WW2,a.eOv,a.Mn9]}],le=[{provide:a.i4S,useValue:"root"},{provide:a.eAe,useFactory:function Kt(){return new a.eAe},deps:[]},{provide:Ce,useClass:on,multi:!0,deps:[s.Ud,a.WW2,a.AHE]},{provide:Ce,useClass:_e,multi:!0,deps:[s.Ud]},ye,ke,Me,{provide:a.O8F,useExisting:ye},{provide:s.OM,useClass:te,deps:[]},[]];let pe=(()=>{var Ze;class V{constructor(k){}static withServerTransition(k){return{ngModule:V,providers:[{provide:a.QHP,useValue:k.appId}]}}}return(Ze=V).\u0275fac=function(k){return new(k||Ze)(a.CoB(Zt,12))},Ze.\u0275mod=a.a4G({type:Ze}),Ze.\u0275inj=a.s3X({providers:[...le,...Ut],imports:[s.MD,a.Ev2]}),V})(),dt=(()=>{var Ze;class V{constructor(k){this._doc=k}getTitle(){return this._doc.title}setTitle(k){this._doc.title=k||""}}return(Ze=V).\u0275fac=function(k){return new(k||Ze)(a.CoB(s.Ud))},Ze.\u0275prov=a.wxM({token:Ze,factory:Ze.\u0275fac,providedIn:"root"}),V})(),he=(()=>{var Ze;class V{}return(Ze=V).\u0275fac=function(k){return new(k||Ze)},Ze.\u0275prov=a.wxM({token:Ze,factory:function(k){let O=null;return O=k?new(k||Ze):a.CoB(Ye),O},providedIn:"root"}),V})(),Ye=(()=>{var Ze;class V extends he{constructor(k){super(),this._doc=k}sanitize(k,O){if(null==O)return null;switch(k){case a.SI6.NONE:return O;case a.SI6.HTML:return(0,a.K2p)(O,"HTML")?(0,a.E2t)(O):(0,a.Om8)(this._doc,String(O)).toString();case a.SI6.STYLE:return(0,a.K2p)(O,"Style")?(0,a.E2t)(O):O;case a.SI6.SCRIPT:if((0,a.K2p)(O,"Script"))return(0,a.E2t)(O);throw new a.OBp(5200,!1);case a.SI6.URL:return(0,a.K2p)(O,"URL")?(0,a.E2t)(O):(0,a.ozE)(String(O));case a.SI6.RESOURCE_URL:if((0,a.K2p)(O,"ResourceURL"))return(0,a.E2t)(O);throw new a.OBp(5201,!1);default:throw new a.OBp(5202,!1)}}bypassSecurityTrustHtml(k){return(0,a.GM_)(k)}bypassSecurityTrustStyle(k){return(0,a.Vfw)(k)}bypassSecurityTrustScript(k){return(0,a.ER9)(k)}bypassSecurityTrustUrl(k){return(0,a.Gc)(k)}bypassSecurityTrustResourceUrl(k){return(0,a.u8n)(k)}}return(Ze=V).\u0275fac=function(k){return new(k||Ze)(a.CoB(s.Ud))},Ze.\u0275prov=a.wxM({token:Ze,factory:Ze.\u0275fac,providedIn:"root"}),V})()},1056:(Qe,fe,y)=>{y.d(fe,{gV:()=>ci,E5:()=>Pn,ER:()=>ao,qQ:()=>za,cP:()=>Hn});var a=y(4496),s=y(1116),D=y(2115),J=y(2700),ce=y(6700),z=y(6040),ae=y(7696),ve=y(7228),te=y(1424),Ce=y(3928),Me=y(3252),Pe=y(8880);function et(f,v){const x=(0,Pe.m)(f)?f:()=>f,_=C=>C.error(x());return new Me._(v?C=>v.schedule(_,0,C):_)}var ke=y(8960),Be=y(6928),Re=y(5448),Ne=y(7773);function ot(){return(0,Re.i)((f,v)=>{let x=null;f._refCount++;const _=(0,Ne.e)(v,void 0,void 0,void 0,()=>{if(!f||f._refCount<=0||0<--f._refCount)return void(x=null);const C=f._connection,L=x;x=null,C&&(!L||C===L)&&C.unsubscribe(),v.unsubscribe()});f.subscribe(_),_.closed||(x=f.connect())})}class xt extends Me._{constructor(v,x){super(),this.source=v,this.subjectFactory=x,this._subject=null,this._refCount=0,this._connection=null,(0,Re.e)(v)&&(this.lift=v.lift)}_subscribe(v){return this.getSubject().subscribe(v)}getSubject(){const v=this._subject;return(!v||v.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:v}=this;this._subject=this._connection=null,null==v||v.unsubscribe()}connect(){let v=this._connection;if(!v){v=this._connection=new Be.wH;const x=this.getSubject();v.add(this.source.subscribe((0,Ne.e)(x,void 0,()=>{this._teardown(),x.complete()},_=>{this._teardown(),x.error(_)},()=>this._teardown()))),v.closed&&(this._connection=null,v=Be.wH.EMPTY)}return v}refCount(){return ot()(this)}}var lt=y(5657),Ge=y(1368),Oe=y(4704),X=y(7368),G=y(3992),ye=y(5568),re=y(6684),ie=y(7400);function me(f){return(0,Re.i)((v,x)=>{let _=!1;v.subscribe((0,Ne.e)(x,C=>{_=!0,x.next(C)},()=>{_||x.next(f),x.complete()}))})}function Xe(f=pt){return(0,Re.i)((v,x)=>{let _=!1;v.subscribe((0,Ne.e)(x,C=>{_=!0,x.next(C)},()=>_?x.complete():x.error(f())))})}function pt(){return new ae.G}var Pt=y(528);function Tt(f,v){const x=arguments.length>=2;return _=>_.pipe(f?(0,re.I)((C,L)=>f(C,L,_)):Pt.Z,(0,G.U)(1),x?me(v):Xe(()=>new ae.G))}var on=y(6020),vt=y(9212),qe=y(560);function De(f){return(0,Re.i)((v,x)=>{let L,_=null,C=!1;_=v.subscribe((0,Ne.e)(x,void 0,void 0,W=>{L=(0,qe.Uv)(f(W,De(f)(v))),_?(_.unsubscribe(),_=null,L.subscribe(x)):C=!0})),C&&(_.unsubscribe(),_=null,L.subscribe(x))})}function Ke(f){return f<=0?()=>ke.k:(0,Re.i)((v,x)=>{let _=[];v.subscribe((0,Ne.e)(x,C=>{_.push(C),f<_.length&&_.shift()},()=>{for(const C of _)x.next(C);x.complete()},void 0,()=>{_=null}))})}var st=y(320),Ft=y(8824),Kt=y(3616),ln=y(267),Gt=y(4476);const ct="primary",Zt=Symbol("RouteTitle");class Ut{constructor(v){this.params=v||{}}has(v){return Object.prototype.hasOwnProperty.call(this.params,v)}get(v){if(this.has(v)){const x=this.params[v];return Array.isArray(x)?x[0]:x}return null}getAll(v){if(this.has(v)){const x=this.params[v];return Array.isArray(x)?x:[x]}return[]}get keys(){return Object.keys(this.params)}}function le(f){return new Ut(f)}function pe(f,v,x){const _=x.path.split("/");if(_.length>f.length||"full"===x.pathMatch&&(v.hasChildren()||_.length_[L]===C)}return f===v}function Mt(f){return f.length>0?f[f.length-1]:null}function Xt(f){return(0,s.X)(f)?f:(0,a.w5$)(f)?(0,D.Q)(Promise.resolve(f)):(0,J.of)(f)}const gn={exact:function P(f,v,x){if(!gt(f.segments,v.segments)||!Ie(f.segments,v.segments,x)||f.numberOfChildren!==v.numberOfChildren)return!1;for(const _ in v.children)if(!f.children[_]||!P(f.children[_],v.children[_],x))return!1;return!0},subset:se},cn={exact:function tt(f,v){return Te(f,v)},subset:function Ee(f,v){return Object.keys(v).length<=Object.keys(f).length&&Object.keys(v).every(x=>$e(f[x],v[x]))},ignored:()=>!0};function qn(f,v,x){return gn[x.paths](f.root,v.root,x.matrixParams)&&cn[x.queryParams](f.queryParams,v.queryParams)&&!("exact"===x.fragment&&f.fragment!==v.fragment)}function se(f,v,x){return ee(f,v,v.segments,x)}function ee(f,v,x,_){if(f.segments.length>x.length){const C=f.segments.slice(0,x.length);return!(!gt(C,x)||v.hasChildren()||!Ie(C,x,_))}if(f.segments.length===x.length){if(!gt(f.segments,x)||!Ie(f.segments,x,_))return!1;for(const C in v.children)if(!f.children[C]||!se(f.children[C],v.children[C],_))return!1;return!0}{const C=x.slice(0,f.segments.length),L=x.slice(f.segments.length);return!!(gt(f.segments,C)&&Ie(f.segments,C,_)&&f.children[ct])&&ee(f.children[ct],v,L,_)}}function Ie(f,v,x){return v.every((_,C)=>cn[x](f[C].parameters,_.parameters))}class Ue{constructor(v=new Y([],{}),x={},_=null){this.root=v,this.queryParams=x,this.fragment=_}get queryParamMap(){var v;return null!==(v=this._queryParamMap)&&void 0!==v||(this._queryParamMap=le(this.queryParams)),this._queryParamMap}toString(){return sn.serialize(this)}}class Y{constructor(v,x){this.segments=v,this.children=x,this.parent=null,Object.values(x).forEach(_=>_.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Dn(this)}}class he{constructor(v,x){this.path=v,this.parameters=x}get parameterMap(){var v;return null!==(v=this._parameterMap)&&void 0!==v||(this._parameterMap=le(this.parameters)),this._parameterMap}toString(){return O(this)}}function gt(f,v){return f.length===v.length&&f.every((x,_)=>x.path===v[_].path)}let Lt=(()=>{var f;class v{}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275prov=a.wxM({token:f,factory:()=>new en,providedIn:"root"}),v})();class en{parse(v){const x=new Ht(v);return new Ue(x.parseRootSegment(),x.parseQueryParams(),x.parseFragment())}serialize(v){const x="/".concat(bn(v.root,!0)),_=function N(f){const v=Object.entries(f).map(([x,_])=>Array.isArray(_)?_.map(C=>"".concat(pi(x),"=").concat(pi(C))).join("&"):"".concat(pi(x),"=").concat(pi(_))).filter(x=>x);return v.length?"?".concat(v.join("&")):""}(v.queryParams),C="string"==typeof v.fragment?"#".concat(function Ze(f){return encodeURI(f)}(v.fragment)):"";return"".concat(x).concat(_).concat(C)}}const sn=new en;function Dn(f){return f.segments.map(v=>O(v)).join("/")}function bn(f,v){if(!f.hasChildren())return Dn(f);if(v){const x=f.children[ct]?bn(f.children[ct],!1):"",_=[];return Object.entries(f.children).forEach(([C,L])=>{C!==ct&&_.push("".concat(C,":").concat(bn(L,!1)))}),_.length>0?"".concat(x,"(").concat(_.join("//"),")"):x}{const x=function Et(f,v){let x=[];return Object.entries(f.children).forEach(([_,C])=>{_===ct&&(x=x.concat(v(C,_)))}),Object.entries(f.children).forEach(([_,C])=>{_!==ct&&(x=x.concat(v(C,_)))}),x}(f,(_,C)=>C===ct?[bn(f.children[ct],!1)]:["".concat(C,":").concat(bn(_,!1))]);return 1===Object.keys(f.children).length&&null!=f.children[ct]?"".concat(Dn(f),"/").concat(x[0]):"".concat(Dn(f),"/(").concat(x.join("//"),")")}}function ai(f){return encodeURIComponent(f).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function pi(f){return ai(f).replace(/%3B/gi,";")}function V(f){return ai(f).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function $(f){return decodeURIComponent(f)}function k(f){return $(f.replace(/\+/g,"%20"))}function O(f){return"".concat(V(f.path)).concat(function B(f){return Object.entries(f).map(([v,x])=>";".concat(V(v),"=").concat(V(x))).join("")}(f.parameters))}const q=/^[^\/()?;#]+/;function nt(f){const v=f.match(q);return v?v[0]:""}const xe=/^[^\/()?;=#]+/,Ae=/^[^=?&#]+/,Je=/^[^&#]+/;class Ht{constructor(v){this.url=v,this.remaining=v}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Y([],{}):new Y([],this.parseChildren())}parseQueryParams(){const v={};if(this.consumeOptional("?"))do{this.parseQueryParam(v)}while(this.consumeOptional("&"));return v}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const v=[];for(this.peekStartsWith("(")||v.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),v.push(this.parseSegment());let x={};this.peekStartsWith("/(")&&(this.capture("/"),x=this.parseParens(!0));let _={};return this.peekStartsWith("(")&&(_=this.parseParens(!1)),(v.length>0||Object.keys(x).length>0)&&(_[ct]=new Y(v,x)),_}parseSegment(){const v=nt(this.remaining);if(""===v&&this.peekStartsWith(";"))throw new a.OBp(4009,!1);return this.capture(v),new he($(v),this.parseMatrixParams())}parseMatrixParams(){const v={};for(;this.consumeOptional(";");)this.parseParam(v);return v}parseParam(v){const x=function be(f){const v=f.match(xe);return v?v[0]:""}(this.remaining);if(!x)return;this.capture(x);let _="";if(this.consumeOptional("=")){const C=nt(this.remaining);C&&(_=C,this.capture(_))}v[$(x)]=$(_)}parseQueryParam(v){const x=function de(f){const v=f.match(Ae);return v?v[0]:""}(this.remaining);if(!x)return;this.capture(x);let _="";if(this.consumeOptional("=")){const W=function Bt(f){const v=f.match(Je);return v?v[0]:""}(this.remaining);W&&(_=W,this.capture(_))}const C=k(x),L=k(_);if(v.hasOwnProperty(C)){let W=v[C];Array.isArray(W)||(W=[W],v[C]=W),W.push(L)}else v[C]=L}parseParens(v){const x={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const _=nt(this.remaining),C=this.remaining[_.length];if("/"!==C&&")"!==C&&";"!==C)throw new a.OBp(4010,!1);let L;_.indexOf(":")>-1?(L=_.slice(0,_.indexOf(":")),this.capture(L),this.capture(":")):v&&(L=ct);const W=this.parseChildren();x[L]=1===Object.keys(W).length?W[ct]:new Y([],W),this.consumeOptional("//")}return x}peekStartsWith(v){return this.remaining.startsWith(v)}consumeOptional(v){return!!this.peekStartsWith(v)&&(this.remaining=this.remaining.substring(v.length),!0)}capture(v){if(!this.consumeOptional(v))throw new a.OBp(4011,!1)}}function Zn(f){return f.segments.length>0?new Y([],{[ct]:f}):f}function ho(f){const v={};for(const[_,C]of Object.entries(f.children)){const L=ho(C);if(_===ct&&0===L.segments.length&&L.hasChildren())for(const[W,Le]of Object.entries(L.children))v[W]=Le;else(L.segments.length>0||L.hasChildren())&&(v[_]=L)}return function On(f){if(1===f.numberOfChildren&&f.children[ct]){const v=f.children[ct];return new Y(f.segments.concat(v.segments),v.children)}return f}(new Y(f.segments,v))}function jt(f){return f instanceof Ue}function di(f){var v;let x;const L=Zn(function _(W){const Le={};for(const He of W.children){const kt=_(He);Le[He.outlet]=kt}const mt=new Y(W.url,Le);return W===f&&(x=mt),mt}(f.root));return null!==(v=x)&&void 0!==v?v:L}function Ci(f,v,x,_){let C=f;for(;C.parent;)C=C.parent;if(0===v.length)return Fi(C,C,C,x,_);const L=function er(f){if("string"==typeof f[0]&&1===f.length&&"/"===f[0])return new Ti(!0,0,f);let v=0,x=!1;const _=f.reduce((C,L,W)=>{if("object"==typeof L&&null!=L){if(L.outlets){const Le={};return Object.entries(L.outlets).forEach(([mt,He])=>{Le[mt]="string"==typeof He?He.split("/"):He}),[...C,{outlets:Le}]}if(L.segmentPath)return[...C,L.segmentPath]}return"string"!=typeof L?[...C,L]:0===W?(L.split("/").forEach((Le,mt)=>{0==mt&&"."===Le||(0==mt&&""===Le?x=!0:".."===Le?v++:""!=Le&&C.push(Le))}),C):[...C,L]},[]);return new Ti(x,v,_)}(v);if(L.toRoot())return Fi(C,C,new Y([],{}),x,_);const W=function ge(f,v,x){if(f.isAbsolute)return new K(v,!0,0);if(!x)return new K(v,!1,NaN);if(null===x.parent)return new K(x,!0,0);const _=xi(f.commands[0])?0:1;return function We(f,v,x){let _=f,C=v,L=x;for(;L>C;){if(L-=C,_=_.parent,!_)throw new a.OBp(4005,!1);C=_.segments.length}return new K(_,!1,C-L)}(x,x.segments.length-1+_,f.numberOfDoubleDots)}(L,C,f),Le=W.processChildren?_t(W.segmentGroup,W.index,L.commands):bt(W.segmentGroup,W.index,L.commands);return Fi(C,W.segmentGroup,Le,x,_)}function xi(f){return"object"==typeof f&&null!=f&&!f.outlets&&!f.segmentPath}function Ei(f){return"object"==typeof f&&null!=f&&f.outlets}function Fi(f,v,x,_,C){let W,L={};_&&Object.entries(_).forEach(([mt,He])=>{L[mt]=Array.isArray(He)?He.map(kt=>"".concat(kt)):"".concat(He)}),W=f===v?x:ni(f,v,x);const Le=Zn(ho(W));return new Ue(Le,L,C)}function ni(f,v,x){const _={};return Object.entries(f.children).forEach(([C,L])=>{_[C]=L===v?x:ni(L,v,x)}),new Y(f.segments,_)}class Ti{constructor(v,x,_){if(this.isAbsolute=v,this.numberOfDoubleDots=x,this.commands=_,v&&_.length>0&&xi(_[0]))throw new a.OBp(4003,!1);const C=_.find(Ei);if(C&&C!==Mt(_))throw new a.OBp(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class K{constructor(v,x,_){this.segmentGroup=v,this.processChildren=x,this.index=_}}function bt(f,v,x){var _;if(null!==(_=f)&&void 0!==_||(f=new Y([],{})),0===f.segments.length&&f.hasChildren())return _t(f,v,x);const C=function Vt(f,v,x){let _=0,C=v;const L={match:!1,pathIndex:0,commandIndex:0};for(;C=x.length)return L;const W=f.segments[C],Le=x[_];if(Ei(Le))break;const mt="".concat(Le),He=_0&&void 0===mt)break;if(mt&&He&&"object"==typeof He&&void 0===He.outlets){if(!Nn(mt,He,W))return L;_+=2}else{if(!Nn(mt,{},W))return L;_++}C++}return{match:!0,pathIndex:C,commandIndex:_}}(f,v,x),L=x.slice(C.commandIndex);if(C.match&&C.pathIndexL!==ct)&&f.children[ct]&&1===f.numberOfChildren&&0===f.children[ct].segments.length){const L=_t(f.children[ct],v,x);return new Y(f.segments,L.children)}return Object.entries(_).forEach(([L,W])=>{"string"==typeof W&&(W=[W]),null!==W&&(C[L]=bt(f.children[L],v,W))}),Object.entries(f.children).forEach(([L,W])=>{void 0===_[L]&&(C[L]=W)}),new Y(f.segments,C)}}function At(f,v,x){const _=f.segments.slice(0,v);let C=0;for(;C{"string"==typeof _&&(_=[_]),null!==_&&(v[x]=At(new Y([],{}),0,_))}),v}function $t(f){const v={};return Object.entries(f).forEach(([x,_])=>v[x]="".concat(_)),v}function Nn(f,v,x){return f==x.path&&Te(v,x.parameters)}const gi="imperative";var Nt=function(f){return f[f.NavigationStart=0]="NavigationStart",f[f.NavigationEnd=1]="NavigationEnd",f[f.NavigationCancel=2]="NavigationCancel",f[f.NavigationError=3]="NavigationError",f[f.RoutesRecognized=4]="RoutesRecognized",f[f.ResolveStart=5]="ResolveStart",f[f.ResolveEnd=6]="ResolveEnd",f[f.GuardsCheckStart=7]="GuardsCheckStart",f[f.GuardsCheckEnd=8]="GuardsCheckEnd",f[f.RouteConfigLoadStart=9]="RouteConfigLoadStart",f[f.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",f[f.ChildActivationStart=11]="ChildActivationStart",f[f.ChildActivationEnd=12]="ChildActivationEnd",f[f.ActivationStart=13]="ActivationStart",f[f.ActivationEnd=14]="ActivationEnd",f[f.Scroll=15]="Scroll",f[f.NavigationSkipped=16]="NavigationSkipped",f}(Nt||{});class Tn{constructor(v,x){this.id=v,this.url=x}}class ii extends Tn{constructor(v,x,_="imperative",C=null){super(v,x),this.type=Nt.NavigationStart,this.navigationTrigger=_,this.restoredState=C}toString(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}class oi extends Tn{constructor(v,x,_){super(v,x),this.urlAfterRedirects=_,this.type=Nt.NavigationEnd}toString(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}var rn=function(f){return f[f.Redirect=0]="Redirect",f[f.SupersededByNewNavigation=1]="SupersededByNewNavigation",f[f.NoDataFromResolver=2]="NoDataFromResolver",f[f.GuardRejected=3]="GuardRejected",f}(rn||{}),Sn=function(f){return f[f.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",f[f.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",f}(Sn||{});class ui extends Tn{constructor(v,x,_,C){super(v,x),this.reason=_,this.code=C,this.type=Nt.NavigationCancel}toString(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}class Kn extends Tn{constructor(v,x,_,C){super(v,x),this.reason=_,this.code=C,this.type=Nt.NavigationSkipped}}class Jn extends Tn{constructor(v,x,_,C){super(v,x),this.error=_,this.target=C,this.type=Nt.NavigationError}toString(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}class $o extends Tn{constructor(v,x,_,C){super(v,x),this.urlAfterRedirects=_,this.state=C,this.type=Nt.RoutesRecognized}toString(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}class Eo extends Tn{constructor(v,x,_,C){super(v,x),this.urlAfterRedirects=_,this.state=C,this.type=Nt.GuardsCheckStart}toString(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}class Do extends Tn{constructor(v,x,_,C,L){super(v,x),this.urlAfterRedirects=_,this.state=C,this.shouldActivate=L,this.type=Nt.GuardsCheckEnd}toString(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}class hr extends Tn{constructor(v,x,_,C){super(v,x),this.urlAfterRedirects=_,this.state=C,this.type=Nt.ResolveStart}toString(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}class fr extends Tn{constructor(v,x,_,C){super(v,x),this.urlAfterRedirects=_,this.state=C,this.type=Nt.ResolveEnd}toString(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}class mr{constructor(v){this.route=v,this.type=Nt.RouteConfigLoadStart}toString(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}class hi{constructor(v){this.route=v,this.type=Nt.RouteConfigLoadEnd}toString(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}class Go{constructor(v){this.snapshot=v,this.type=Nt.ChildActivationStart}toString(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}class tr{constructor(v){this.snapshot=v,this.type=Nt.ChildActivationEnd}toString(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}class pn{constructor(v){this.snapshot=v,this.type=Nt.ActivationStart}toString(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}class Xn{constructor(v){this.snapshot=v,this.type=Nt.ActivationEnd}toString(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}class li{constructor(v,x,_){this.routerEvent=v,this.position=x,this.anchor=_,this.type=Nt.Scroll}toString(){const v=this.position?"".concat(this.position[0],", ").concat(this.position[1]):null;return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(v,"')")}}class Yi{}class _i{constructor(v){this.url=v}}class ns{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Oo,this.attachRef=null}}let Oo=(()=>{var f;class v{constructor(){this.contexts=new Map}onChildOutletCreated(_,C){const L=this.getOrCreateContext(_);L.outlet=C,this.contexts.set(_,L)}onChildOutletDestroyed(_){const C=this.getContext(_);C&&(C.outlet=null,C.attachRef=null)}onOutletDeactivated(){const _=this.contexts;return this.contexts=new Map,_}onOutletReAttached(_){this.contexts=_}getOrCreateContext(_){let C=this.getContext(_);return C||(C=new ns,this.contexts.set(_,C)),C}getContext(_){return this.contexts.get(_)||null}}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275prov=a.wxM({token:f,factory:f.\u0275fac,providedIn:"root"}),v})();class is{constructor(v){this._root=v}get root(){return this._root.value}parent(v){const x=this.pathFromRoot(v);return x.length>1?x[x.length-2]:null}children(v){const x=oo(v,this._root);return x?x.children.map(_=>_.value):[]}firstChild(v){const x=oo(v,this._root);return x&&x.children.length>0?x.children[0].value:null}siblings(v){const x=jn(v,this._root);return x.length<2?[]:x[x.length-2].children.map(C=>C.value).filter(C=>C!==v)}pathFromRoot(v){return jn(v,this._root).map(x=>x.value)}}function oo(f,v){if(f===v.value)return v;for(const x of v.children){const _=oo(f,x);if(_)return _}return null}function jn(f,v){if(f===v.value)return[v];for(const x of v.children){const _=jn(f,x);if(_.length)return _.unshift(v),_}return[]}class Ct{constructor(v,x){this.value=v,this.children=x}toString(){return"TreeNode(".concat(this.value,")")}}function zt(f){const v={};return f&&f.children.forEach(x=>v[x.value.outlet]=x),v}class ei extends is{constructor(v,x){super(v),this.snapshot=x,Bi(this,v)}toString(){return this.snapshot.toString()}}function Li(f){const v=function Ai(f){const L=new Ln([],{},{},"",{},ct,f,null,{});return new Di("",new Ct(L,[]))}(f),x=new ce.g([new he("",{})]),_=new ce.g({}),C=new ce.g({}),L=new ce.g({}),W=new ce.g(""),Le=new ci(x,_,L,W,C,ct,f,v.root);return Le.snapshot=v.root,new ei(new Ct(Le,[]),v)}class ci{constructor(v,x,_,C,L,W,Le,mt){var He,kt;this.urlSubject=v,this.paramsSubject=x,this.queryParamsSubject=_,this.fragmentSubject=C,this.dataSubject=L,this.outlet=W,this.component=Le,this._futureSnapshot=mt,this.title=null!==(He=null===(kt=this.dataSubject)||void 0===kt?void 0:kt.pipe((0,Oe.k)(hn=>hn[Zt])))&&void 0!==He?He:(0,J.of)(void 0),this.url=v,this.params=x,this.queryParams=_,this.fragment=C,this.data=L}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){var v;return null!==(v=this._paramMap)&&void 0!==v||(this._paramMap=this.params.pipe((0,Oe.k)(x=>le(x)))),this._paramMap}get queryParamMap(){var v;return null!==(v=this._queryParamMap)&&void 0!==v||(this._queryParamMap=this.queryParams.pipe((0,Oe.k)(x=>le(x)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}function fo(f,v,x="emptyOnly"){var _;let C;const{routeConfig:L}=f;var W;return C=null===v||"always"!==x&&""!==(null==L?void 0:L.path)&&(v.component||null!==(_=v.routeConfig)&&void 0!==_&&_.loadComponent)?{params:{...f.params},data:{...f.data},resolve:{...f.data,...null!==(W=f._resolvedData)&&void 0!==W?W:{}}}:{params:{...v.params,...f.params},data:{...v.data,...f.data},resolve:{...f.data,...v.data,...null==L?void 0:L.data,...f._resolvedData}},L&&Ho(L)&&(C.resolve[Zt]=L.title),C}class Ln{get title(){var v;return null===(v=this.data)||void 0===v?void 0:v[Zt]}constructor(v,x,_,C,L,W,Le,mt,He){this.url=v,this.params=x,this.queryParams=_,this.fragment=C,this.data=L,this.outlet=W,this.component=Le,this.routeConfig=mt,this._resolve=He}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){var v;return null!==(v=this._paramMap)&&void 0!==v||(this._paramMap=le(this.params)),this._paramMap}get queryParamMap(){var v;return null!==(v=this._queryParamMap)&&void 0!==v||(this._queryParamMap=le(this.queryParams)),this._queryParamMap}toString(){const v=this.url.map(_=>_.toString()).join("/"),x=this.routeConfig?this.routeConfig.path:"";return"Route(url:'".concat(v,"', path:'").concat(x,"')")}}class Di extends is{constructor(v,x){super(x),this.url=v,Bi(this,x)}toString(){return Wt(this._root)}}function Bi(f,v){v.value._routerState=f,v.children.forEach(x=>Bi(f,x))}function Wt(f){const v=f.children.length>0?" { ".concat(f.children.map(Wt).join(", ")," } "):"";return"".concat(f.value).concat(v)}function mo(f){if(f.snapshot){const v=f.snapshot,x=f._futureSnapshot;f.snapshot=x,Te(v.queryParams,x.queryParams)||f.queryParamsSubject.next(x.queryParams),v.fragment!==x.fragment&&f.fragmentSubject.next(x.fragment),Te(v.params,x.params)||f.paramsSubject.next(x.params),function Ve(f,v){if(f.length!==v.length)return!1;for(let x=0;xTe(x.parameters,v[_].parameters))}(f.url,v.url);return x&&!(!f.parent!=!v.parent)&&(!f.parent||pr(f.parent,v.parent))}function Ho(f){return"string"==typeof f.title||null===f.title}let Hn=(()=>{var f;class v{constructor(){this.activated=null,this._activatedRoute=null,this.name=ct,this.activateEvents=new a._w7,this.deactivateEvents=new a._w7,this.attachEvents=new a._w7,this.detachEvents=new a._w7,this.parentContexts=(0,a.uUt)(Oo),this.location=(0,a.uUt)(a.y8U),this.changeDetector=(0,a.uUt)(a.kD9),this.environmentInjector=(0,a.uUt)(a.SIe),this.inputBinder=(0,a.uUt)(zn,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(_){if(_.name){const{firstChange:C,previousValue:L}=_.name;if(C)return;this.isTrackedInParentContexts(L)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(L)),this.initializeOutletWithName()}}ngOnDestroy(){var _;this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),null===(_=this.inputBinder)||void 0===_||_.unsubscribeFromRouteData(this)}isTrackedInParentContexts(_){var C;return(null===(C=this.parentContexts.getContext(_))||void 0===C?void 0:C.outlet)===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const _=this.parentContexts.getContext(this.name);null!=_&&_.route&&(_.attachRef?this.attach(_.attachRef,_.route):this.activateWith(_.route,_.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new a.OBp(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new a.OBp(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new a.OBp(4012,!1);this.location.detach();const _=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(_.instance),_}attach(_,C){var L;this.activated=_,this._activatedRoute=C,this.location.insert(_.hostView),null===(L=this.inputBinder)||void 0===L||L.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(_.instance)}deactivate(){if(this.activated){const _=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(_)}}activateWith(_,C){var L;if(this.isActivated)throw new a.OBp(4013,!1);this._activatedRoute=_;const W=this.location,mt=_.snapshot.component,He=this.parentContexts.getOrCreateContext(this.name).children,kt=new ko(_,He,W.injector);this.activated=W.createComponent(mt,{index:W.length,injector:kt,environmentInjector:null!=C?C:this.environmentInjector}),this.changeDetector.markForCheck(),null===(L=this.inputBinder)||void 0===L||L.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275dir=a.Sc5({type:f,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[a.SYr]}),v})();class ko{constructor(v,x,_){this.route=v,this.childContexts=x,this.parent=_}get(v,x){return v===ci?this.route:v===Oo?this.childContexts:this.parent.get(v,x)}}const zn=new a.UbH("");let Zi=(()=>{var f;class v{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(_){this.unsubscribeFromRouteData(_),this.subscribeToRouteData(_)}unsubscribeFromRouteData(_){var C;null===(C=this.outletDataSubscriptions.get(_))||void 0===C||C.unsubscribe(),this.outletDataSubscriptions.delete(_)}subscribeToRouteData(_){const{activatedRoute:C}=_,L=(0,z.E)([C.queryParams,C.params,C.data]).pipe((0,X.G)(([W,Le,mt],He)=>(mt={...W,...Le,...mt},0===He?(0,J.of)(mt):Promise.resolve(mt)))).subscribe(W=>{if(!_.isActivated||!_.activatedComponentRef||_.activatedRoute!==C||null===C.component)return void this.unsubscribeFromRouteData(_);const Le=(0,a.o9M)(C.component);if(Le)for(const{templateName:mt}of Le.inputs)_.activatedComponentRef.setInput(mt,W[mt]);else this.unsubscribeFromRouteData(_)});this.outletDataSubscriptions.set(_,L)}}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275prov=a.wxM({token:f,factory:f.\u0275fac}),v})();function wo(f,v,x){if(x&&f.shouldReuseRoute(v.value,x.value.snapshot)){const _=x.value;_._futureSnapshot=v.value;const C=function po(f,v,x){return v.children.map(_=>{for(const C of x.children)if(f.shouldReuseRoute(_.value,C.value.snapshot))return wo(f,_,C);return wo(f,_)})}(f,v,x);return new Ct(_,C)}{if(f.shouldAttach(v.value)){const L=f.retrieve(v.value);if(null!==L){const W=L.route;return W.value._futureSnapshot=v.value,W.children=v.children.map(Le=>wo(f,Le)),W}}const _=function ir(f){return new ci(new ce.g(f.url),new ce.g(f.params),new ce.g(f.queryParams),new ce.g(f.fragment),new ce.g(f.data),f.outlet,f.component,f)}(v.value),C=v.children.map(L=>wo(f,L));return new Ct(_,C)}}const go="ngNavigationCancelingError";function un(f,v){const{redirectTo:x,navigationBehaviorOptions:_}=jt(v)?{redirectTo:v,navigationBehaviorOptions:void 0}:v,C=gr(!1,rn.Redirect);return C.url=x,C.navigationBehaviorOptions=_,C}function gr(f,v){const x=new Error("NavigationCancelingError: ".concat(f||""));return x[go]=!0,x.cancellationCode=v,x}function wi(f){return!!f&&f[go]}let or=(()=>{var f;class v{}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275cmp=a.In1({type:f,selectors:[["ng-component"]],standalone:!0,features:[a.UHJ],decls:1,vars:0,template:function(_,C){1&_&&a.wR5(0,"router-outlet")},dependencies:[Hn],encapsulation:2}),v})();function vr(f){const v=f.children&&f.children.map(vr),x=v?{...f,children:v}:{...f};return!x.component&&!x.loadComponent&&(v||x.loadChildren)&&x.outlet&&x.outlet!==ct&&(x.component=or),x}function Xi(f){return f.outlet||ct}function Po(f){var v;if(!f)return null;if(null!==(v=f.routeConfig)&&void 0!==v&&v._injector)return f.routeConfig._injector;for(let x=f.parent;x;x=x.parent){const _=x.routeConfig;if(null!=_&&_._loadedInjector)return _._loadedInjector;if(null!=_&&_._injector)return _._injector}return null}class rs{constructor(v,x,_,C,L){this.routeReuseStrategy=v,this.futureState=x,this.currState=_,this.forwardEvent=C,this.inputBindingEnabled=L}activate(v){const x=this.futureState._root,_=this.currState?this.currState._root:null;this.deactivateChildRoutes(x,_,v),mo(this.futureState.root),this.activateChildRoutes(x,_,v)}deactivateChildRoutes(v,x,_){const C=zt(x);v.children.forEach(L=>{const W=L.value.outlet;this.deactivateRoutes(L,C[W],_),delete C[W]}),Object.values(C).forEach(L=>{this.deactivateRouteAndItsChildren(L,_)})}deactivateRoutes(v,x,_){const C=v.value,L=x?x.value:null;if(C===L)if(C.component){const W=_.getContext(C.outlet);W&&this.deactivateChildRoutes(v,x,W.children)}else this.deactivateChildRoutes(v,x,_);else L&&this.deactivateRouteAndItsChildren(x,_)}deactivateRouteAndItsChildren(v,x){v.value.component&&this.routeReuseStrategy.shouldDetach(v.value.snapshot)?this.detachAndStoreRouteSubtree(v,x):this.deactivateRouteAndOutlet(v,x)}detachAndStoreRouteSubtree(v,x){const _=x.getContext(v.value.outlet),C=_&&v.value.component?_.children:x,L=zt(v);for(const W of Object.values(L))this.deactivateRouteAndItsChildren(W,C);if(_&&_.outlet){const W=_.outlet.detach(),Le=_.children.onOutletDeactivated();this.routeReuseStrategy.store(v.value.snapshot,{componentRef:W,route:v,contexts:Le})}}deactivateRouteAndOutlet(v,x){const _=x.getContext(v.value.outlet),C=_&&v.value.component?_.children:x,L=zt(v);for(const W of Object.values(L))this.deactivateRouteAndItsChildren(W,C);_&&(_.outlet&&(_.outlet.deactivate(),_.children.onOutletDeactivated()),_.attachRef=null,_.route=null)}activateChildRoutes(v,x,_){const C=zt(x);v.children.forEach(L=>{this.activateRoutes(L,C[L.value.outlet],_),this.forwardEvent(new Xn(L.value.snapshot))}),v.children.length&&this.forwardEvent(new tr(v.value.snapshot))}activateRoutes(v,x,_){const C=v.value,L=x?x.value:null;if(mo(C),C===L)if(C.component){const W=_.getOrCreateContext(C.outlet);this.activateChildRoutes(v,x,W.children)}else this.activateChildRoutes(v,x,_);else if(C.component){const W=_.getOrCreateContext(C.outlet);if(this.routeReuseStrategy.shouldAttach(C.snapshot)){const Le=this.routeReuseStrategy.retrieve(C.snapshot);this.routeReuseStrategy.store(C.snapshot,null),W.children.onOutletReAttached(Le.contexts),W.attachRef=Le.componentRef,W.route=Le.route.value,W.outlet&&W.outlet.attach(Le.componentRef,Le.route.value),mo(Le.route.value),this.activateChildRoutes(v,null,W.children)}else{const Le=Po(C.snapshot);W.attachRef=null,W.route=C,W.injector=Le,W.outlet&&W.outlet.activateWith(C,W.injector),this.activateChildRoutes(v,null,W.children)}}else this.activateChildRoutes(v,null,_)}}class Fs{constructor(v){this.path=v,this.route=this.path[this.path.length-1]}}class Ls{constructor(v,x){this.component=v,this.route=x}}function sa(f,v,x){const _=f._root;return Lr(_,v?v._root:null,x,[_.value])}function br(f,v){const x=Symbol(),_=v.get(f,x);return _===x?"function"!=typeof f||(0,a.K_M)(f)?v.get(f):f:_}function Lr(f,v,x,_,C={canDeactivateChecks:[],canActivateChecks:[]}){const L=zt(v);return f.children.forEach(W=>{(function Ra(f,v,x,_,C={canDeactivateChecks:[],canActivateChecks:[]}){const L=f.value,W=v?v.value:null,Le=x?x.getContext(f.value.outlet):null;if(W&&L.routeConfig===W.routeConfig){const mt=function Pa(f,v,x){if("function"==typeof x)return x(f,v);switch(x){case"pathParamsChange":return!gt(f.url,v.url);case"pathParamsOrQueryParamsChange":return!gt(f.url,v.url)||!Te(f.queryParams,v.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!pr(f,v)||!Te(f.queryParams,v.queryParams);default:return!pr(f,v)}}(W,L,L.routeConfig.runGuardsAndResolvers);mt?C.canActivateChecks.push(new Fs(_)):(L.data=W.data,L._resolvedData=W._resolvedData),Lr(f,v,L.component?Le?Le.children:null:x,_,C),mt&&Le&&Le.outlet&&Le.outlet.isActivated&&C.canDeactivateChecks.push(new Ls(Le.outlet.component,W))}else W&&Br(v,Le,C),C.canActivateChecks.push(new Fs(_)),Lr(f,null,L.component?Le?Le.children:null:x,_,C)})(W,L[W.value.outlet],x,_.concat([W.value]),C),delete L[W.value.outlet]}),Object.entries(L).forEach(([W,Le])=>Br(Le,x.getContext(W),C)),C}function Br(f,v,x){const _=zt(f),C=f.value;Object.entries(_).forEach(([L,W])=>{Br(W,C.component?v?v.children.getContext(L):null:v,x)}),x.canDeactivateChecks.push(new Ls(C.component&&v&&v.outlet&&v.outlet.isActivated?v.outlet.component:null,C))}function Ur(f){return"function"==typeof f}function T(f){return f instanceof ae.G||"EmptyError"===(null==f?void 0:f.name)}const Q=Symbol("INITIAL_VALUE");function yt(){return(0,X.G)(f=>(0,z.E)(f.map(v=>v.pipe((0,G.U)(1),(0,ye.W)(Q)))).pipe((0,Oe.k)(v=>{for(const x of v)if(!0!==x){if(x===Q)return Q;if(!1===x||x instanceof Ue)return x}return!0}),(0,re.I)(v=>v!==Q),(0,G.U)(1)))}function Cr(f){return(0,Ce.W)((0,vt.y)(v=>{if(jt(v))throw un(0,v)}),(0,Oe.k)(v=>!0===v))}class Ni{constructor(v){this.segmentGroup=v||null}}class xr extends Error{constructor(v){super(),this.urlTree=v}}function vi(f){return et(new Ni(f))}class Na{constructor(v,x){this.urlSerializer=v,this.urlTree=x}lineralizeSegments(v,x){let _=[],C=x.root;for(;;){if(_=_.concat(C.segments),0===C.numberOfChildren)return(0,J.of)(_);if(C.numberOfChildren>1||!C.children[ct])return et(new a.OBp(4e3,!1));C=C.children[ct]}}applyRedirectCommands(v,x,_){const C=this.applyRedirectCreateUrlTree(x,this.urlSerializer.parse(x),v,_);if(x.startsWith("/"))throw new xr(C);return C}applyRedirectCreateUrlTree(v,x,_,C){const L=this.createSegmentGroup(v,x.root,_,C);return new Ue(L,this.createQueryParams(x.queryParams,this.urlTree.queryParams),x.fragment)}createQueryParams(v,x){const _={};return Object.entries(v).forEach(([C,L])=>{if("string"==typeof L&&L.startsWith(":")){const Le=L.substring(1);_[C]=x[Le]}else _[C]=L}),_}createSegmentGroup(v,x,_,C){const L=this.createSegments(v,x.segments,_,C);let W={};return Object.entries(x.children).forEach(([Le,mt])=>{W[Le]=this.createSegmentGroup(v,mt,_,C)}),new Y(L,W)}createSegments(v,x,_,C){return x.map(L=>L.path.startsWith(":")?this.findPosParam(v,L,C):this.findOrReturn(L,_))}findPosParam(v,x,_){const C=_[x.path.substring(1)];if(!C)throw new a.OBp(4001,!1);return C}findOrReturn(v,x){let _=0;for(const C of x){if(C.path===v.path)return x.splice(_),C;_++}return v}}const No={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function jr(f,v,x,_,C){const L=Er(f,v,x);return L.matched?(_=function Ro(f,v){var x;return f.providers&&!f._injector&&(f._injector=(0,a.SIz)(f.providers,v,"Route: ".concat(f.path))),null!==(x=f._injector)&&void 0!==x?x:v}(v,_),function sr(f,v,x,_){const C=v.canMatch;if(!C||0===C.length)return(0,J.of)(!0);const L=C.map(W=>{const Le=br(W,f);return Xt(function H(f){return f&&Ur(f.canMatch)}(Le)?Le.canMatch(v,x):(0,a.SMS)(f,()=>Le(v,x)))});return(0,J.of)(L).pipe(yt(),Cr())}(_,v,x).pipe((0,Oe.k)(W=>!0===W?L:{...No}))):(0,J.of)(L)}function Er(f,v,x){var _,C;if("**"===v.path)return function Ds(f){return{matched:!0,parameters:f.length>0?Mt(f).parameters:{},consumedSegments:f,remainingSegments:[],positionalParamSegments:{}}}(x);if(""===v.path)return"full"===v.pathMatch&&(f.hasChildren()||x.length>0)?{...No}:{matched:!0,consumedSegments:[],remainingSegments:x,parameters:{},positionalParamSegments:{}};const W=(v.matcher||pe)(x,f,v);if(!W)return{...No};const Le={};Object.entries(null!==(_=W.posParams)&&void 0!==_?_:{}).forEach(([He,kt])=>{Le[He]=kt.path});const mt=W.consumed.length>0?{...Le,...W.consumed[W.consumed.length-1].parameters}:Le;return{matched:!0,consumedSegments:W.consumed,remainingSegments:x.slice(W.consumed.length),parameters:mt,positionalParamSegments:null!==(C=W.posParams)&&void 0!==C?C:{}}}function ss(f,v,x,_){return x.length>0&&function an(f,v,x){return x.some(_=>$r(f,v,_)&&Xi(_)!==ct)}(f,x,_)?{segmentGroup:new Y(v,Fo(_,new Y(x,f.children))),slicedSegments:[]}:0===x.length&&function as(f,v,x){return x.some(_=>$r(f,v,_))}(f,x,_)?{segmentGroup:new Y(f.segments,ws(f,x,_,f.children)),slicedSegments:x}:{segmentGroup:new Y(f.segments,f.children),slicedSegments:x}}function ws(f,v,x,_){const C={};for(const L of x)if($r(f,v,L)&&!_[Xi(L)]){const W=new Y([],{});C[Xi(L)]=W}return{..._,...C}}function Fo(f,v){const x={};x[ct]=v;for(const _ of f)if(""===_.path&&Xi(_)!==ct){const C=new Y([],{});x[Xi(_)]=C}return x}function $r(f,v,x){return(!(f.hasChildren()||v.length>0)||"full"!==x.pathMatch)&&""===x.path}class La{}class $s{constructor(v,x,_,C,L,W,Le){this.injector=v,this.configLoader=x,this.rootComponentType=_,this.config=C,this.urlTree=L,this.paramsInheritanceStrategy=W,this.urlSerializer=Le,this.applyRedirects=new Na(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(v){return new a.OBp(4002,"'".concat(v.segmentGroup,"'"))}recognize(){const v=ss(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(v).pipe((0,Oe.k)(x=>{const _=new Ln([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ct,this.rootComponentType,null,{}),C=new Ct(_,x),L=new Di("",C),W=function dn(f,v,x=null,_=null){return Ci(di(f),v,x,_)}(_,[],this.urlTree.queryParams,this.urlTree.fragment);return W.queryParams=this.urlTree.queryParams,L.url=this.urlSerializer.serialize(W),this.inheritParamsAndData(L._root,null),{state:L,tree:W}}))}match(v){return this.processSegmentGroup(this.injector,this.config,v,ct).pipe(De(_=>{if(_ instanceof xr)return this.urlTree=_.urlTree,this.match(_.urlTree.root);throw _ instanceof Ni?this.noMatchError(_):_}))}inheritParamsAndData(v,x){const _=v.value,C=fo(_,x,this.paramsInheritanceStrategy);_.params=Object.freeze(C.params),_.data=Object.freeze(C.data),v.children.forEach(L=>this.inheritParamsAndData(L,_))}processSegmentGroup(v,x,_,C){return 0===_.segments.length&&_.hasChildren()?this.processChildren(v,x,_):this.processSegment(v,x,_,_.segments,C,!0).pipe((0,Oe.k)(L=>L instanceof Ct?[L]:[]))}processChildren(v,x,_){const C=[];for(const L of Object.keys(_.children))"primary"===L?C.unshift(L):C.push(L);return(0,D.Q)(C).pipe((0,on.m)(L=>{const W=_.children[L],Le=function Es(f,v){const x=f.filter(_=>Xi(_)===v);return x.push(...f.filter(_=>Xi(_)!==v)),x}(x,L);return this.processSegmentGroup(v,Le,W,L)}),function Se(f,v){return(0,Re.i)(function _e(f,v,x,_,C){return(L,W)=>{let Le=x,mt=v,He=0;L.subscribe((0,Ne.e)(W,kt=>{const hn=He++;mt=Le?f(mt,kt,hn):(Le=!0,kt),_&&W.next(mt)},C&&(()=>{Le&&W.next(mt),W.complete()})))}}(f,v,arguments.length>=2,!0))}((L,W)=>(L.push(...W),L)),me(null),function ht(f,v){const x=arguments.length>=2;return _=>_.pipe(f?(0,re.I)((C,L)=>f(C,L,_)):Pt.Z,Ke(1),x?me(v):Xe(()=>new ae.G))}(),(0,ie.O)(L=>{if(null===L)return vi(_);const W=Hr(L);return function ls(f){f.sort((v,x)=>v.value.outlet===ct?-1:x.value.outlet===ct?1:v.value.outlet.localeCompare(x.value.outlet))}(W),(0,J.of)(W)}))}processSegment(v,x,_,C,L,W){return(0,D.Q)(x).pipe((0,on.m)(Le=>{var mt;return this.processSegmentAgainstRoute(null!==(mt=Le._injector)&&void 0!==mt?mt:v,x,Le,_,C,L,W).pipe(De(He=>{if(He instanceof Ni)return(0,J.of)(null);throw He}))}),Tt(Le=>!!Le),De(Le=>{if(T(Le))return function Fa(f,v,x){return 0===v.length&&!f.children[x]}(_,C,L)?(0,J.of)(new La):vi(_);throw Le}))}processSegmentAgainstRoute(v,x,_,C,L,W,Le){return function Vs(f,v,x,_){return!!(Xi(f)===_||_!==ct&&$r(v,x,f))&&Er(v,f,x).matched}(_,C,L,W)?void 0===_.redirectTo?this.matchSegmentAgainstRoute(v,C,_,L,W):this.allowRedirects&&Le?this.expandSegmentAgainstRouteUsingRedirect(v,C,x,_,L,W):vi(C):vi(C)}expandSegmentAgainstRouteUsingRedirect(v,x,_,C,L,W){const{matched:Le,consumedSegments:mt,positionalParamSegments:He,remainingSegments:kt}=Er(x,C,L);if(!Le)return vi(x);C.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const hn=this.applyRedirects.applyRedirectCommands(mt,C.redirectTo,He);return this.applyRedirects.lineralizeSegments(C,hn).pipe((0,ie.O)(ri=>this.processSegment(v,_,x,ri.concat(kt),W,!1)))}matchSegmentAgainstRoute(v,x,_,C,L){const W=jr(x,_,C,v);return"**"===_.path&&(x.children={}),W.pipe((0,X.G)(Le=>{var mt;return Le.matched?(v=null!==(mt=_._injector)&&void 0!==mt?mt:v,this.getChildConfig(v,_,C).pipe((0,X.G)(({routes:He})=>{var kt,hn,ri;const $n=null!==(kt=_._loadedInjector)&&void 0!==kt?kt:v,{consumedSegments:ji,remainingSegments:Ii,parameters:Qt}=Le,Sr=new Ln(ji,Qt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function at(f){return f.data||{}}(_),Xi(_),null!==(hn=null!==(ri=_.component)&&void 0!==ri?ri:_._loadedComponent)&&void 0!==hn?hn:null,_,function _n(f){return f.resolve||{}}(_)),{segmentGroup:Zr,slicedSegments:Tr}=ss(x,ji,Ii,He);if(0===Tr.length&&Zr.hasChildren())return this.processChildren($n,He,Zr).pipe((0,Oe.k)(Ar=>null===Ar?null:new Ct(Sr,Ar)));if(0===He.length&&0===Tr.length)return(0,J.of)(new Ct(Sr,[]));const Wa=Xi(_)===L;return this.processSegment($n,He,Zr,Tr,Wa?ct:L,!0).pipe((0,Oe.k)(Ar=>new Ct(Sr,Ar instanceof Ct?[Ar]:[])))}))):vi(x)}))}getChildConfig(v,x,_){return x.children?(0,J.of)({routes:x.children,injector:v}):x.loadChildren?void 0!==x._loadedRoutes?(0,J.of)({routes:x._loadedRoutes,injector:x._loadedInjector}):function Ko(f,v,x,_){const C=v.canLoad;if(void 0===C||0===C.length)return(0,J.of)(!0);const L=C.map(W=>{const Le=br(W,f);return Xt(function la(f){return f&&Ur(f.canLoad)}(Le)?Le.canLoad(v,x):(0,a.SMS)(f,()=>Le(v,x)))});return(0,J.of)(L).pipe(yt(),Cr())}(v,x,_).pipe((0,ie.O)(C=>C?this.configLoader.loadChildren(v,x).pipe((0,vt.y)(L=>{x._loadedRoutes=L.routes,x._loadedInjector=L.injector})):function Yo(f){return et(gr(!1,rn.GuardRejected))}())):(0,J.of)({routes:[],injector:v})}}function cs(f){const v=f.value.routeConfig;return v&&""===v.path}function Hr(f){const v=[],x=new Set;for(const _ of f){if(!cs(_)){v.push(_);continue}const C=v.find(L=>_.value.routeConfig===L.value.routeConfig);void 0!==C?(C.children.push(..._.children),x.add(C)):v.push(_)}for(const _ of x){const C=Hr(_.children);v.push(new Ct(_.value,C))}return v.filter(_=>!x.has(_))}function Gn(f){const v=f.children.map(x=>Gn(x)).flat();return[f,...v]}function Io(f){return(0,X.G)(v=>{const x=f(v);return x?(0,D.Q)(x).pipe((0,Oe.k)(()=>v)):(0,J.of)(v)})}let ar=(()=>{var f;class v{buildTitle(_){let C,L=_.root;for(;void 0!==L;){var W;C=null!==(W=this.getResolvedTitleForRoute(L))&&void 0!==W?W:C,L=L.children.find(Le=>Le.outlet===ct)}return C}getResolvedTitleForRoute(_){return _.data[Zt]}}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275prov=a.wxM({token:f,factory:()=>(0,a.uUt)(Ua),providedIn:"root"}),v})(),Ua=(()=>{var f;class v extends ar{constructor(_){super(),this.title=_}updateTitle(_){const C=this.buildTitle(_);void 0!==C&&this.title.setTitle(C)}}return(f=v).\u0275fac=function(_){return new(_||f)(a.CoB(Gt.OY))},f.\u0275prov=a.wxM({token:f,factory:f.\u0275fac,providedIn:"root"}),v})();const Dr=new a.UbH("",{providedIn:"root",factory:()=>({})}),lr=new a.UbH("");let bi=(()=>{var f;class v{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,a.uUt)(a.ESV)}loadComponent(_){if(this.componentLoaders.get(_))return this.componentLoaders.get(_);if(_._loadedComponent)return(0,J.of)(_._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(_);const C=Xt(_.loadComponent()).pipe((0,Oe.k)(So),(0,vt.y)(W=>{this.onLoadEndListener&&this.onLoadEndListener(_),_._loadedComponent=W}),(0,Ft.U)(()=>{this.componentLoaders.delete(_)})),L=new xt(C,()=>new lt.E).pipe(ot());return this.componentLoaders.set(_,L),L}loadChildren(_,C){if(this.childrenLoaders.get(C))return this.childrenLoaders.get(C);if(C._loadedRoutes)return(0,J.of)({routes:C._loadedRoutes,injector:C._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(C);const W=function so(f,v,x,_){return Xt(f.loadChildren()).pipe((0,Oe.k)(So),(0,ie.O)(C=>C instanceof a.obV||Array.isArray(C)?(0,J.of)(C):(0,D.Q)(v.compileModuleAsync(C))),(0,Oe.k)(C=>{_&&_(f);let L,W,Le=!1;return Array.isArray(C)?(W=C,!0):(L=C.create(x).injector,W=L.get(lr,[],{optional:!0,self:!0}).flat()),{routes:W.map(vr),injector:L}}))}(C,this.compiler,_,this.onLoadEndListener).pipe((0,Ft.U)(()=>{this.childrenLoaders.delete(C)})),Le=new xt(W,()=>new lt.E).pipe(ot());return this.childrenLoaders.set(C,Le),Le}}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275prov=a.wxM({token:f,factory:f.\u0275fac,providedIn:"root"}),v})();function So(f){return function Ms(f){return f&&"object"==typeof f&&"default"in f}(f)?f.default:f}let g=(()=>{var f;class v{}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275prov=a.wxM({token:f,factory:()=>(0,a.uUt)(S),providedIn:"root"}),v})(),S=(()=>{var f;class v{shouldProcessUrl(_){return!0}extract(_){return _}merge(_,C){return _}}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275prov=a.wxM({token:f,factory:f.\u0275fac,providedIn:"root"}),v})();const Z=new a.UbH(""),M=new a.UbH("");function j(f,v,x){const _=f.get(M),C=f.get(Ge.Ud);return f.get(a.WW2).runOutsideAngular(()=>{if(!C.startViewTransition||_.skipNextTransition)return _.skipNextTransition=!1,Promise.resolve();let L;const W=new Promise(He=>{L=He}),Le=C.startViewTransition(()=>(L(),function ue(f){return new Promise(v=>{(0,a.I44)(v,{injector:f})})}(f))),{onViewTransitionCreated:mt}=_;return mt&&(0,a.SMS)(f,()=>mt({transition:Le,from:v,to:x})),W})}let it=(()=>{var f;class v{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new lt.E,this.transitionAbortSubject=new lt.E,this.configLoader=(0,a.uUt)(bi),this.environmentInjector=(0,a.uUt)(a.SIe),this.urlSerializer=(0,a.uUt)(Lt),this.rootContexts=(0,a.uUt)(Oo),this.location=(0,a.uUt)(Ge.oB),this.inputBindingEnabled=null!==(0,a.uUt)(zn,{optional:!0}),this.titleStrategy=(0,a.uUt)(ar),this.options=(0,a.uUt)(Dr,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,a.uUt)(g),this.createViewTransition=(0,a.uUt)(Z,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,J.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=L=>this.events.next(new hi(L)),this.configLoader.onLoadStartListener=L=>this.events.next(new mr(L))}complete(){var _;null===(_=this.transitions)||void 0===_||_.complete()}handleNavigationRequest(_){var C;const L=++this.navigationId;null===(C=this.transitions)||void 0===C||C.next({...this.transitions.value,..._,id:L})}setupNavigations(_,C,L){return this.transitions=new ce.g({id:0,currentUrlTree:C,currentRawUrl:C,extractedUrl:this.urlHandlingStrategy.extract(C),urlAfterRedirects:this.urlHandlingStrategy.extract(C),rawUrl:C,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:gi,restoredState:null,currentSnapshot:L.snapshot,targetSnapshot:null,currentRouterState:L,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,re.I)(W=>0!==W.id),(0,Oe.k)(W=>({...W,extractedUrl:this.urlHandlingStrategy.extract(W.rawUrl)})),(0,X.G)(W=>{this.currentTransition=W;let Le=!1,mt=!1;return(0,J.of)(W).pipe((0,vt.y)(He=>{this.currentNavigation={id:He.id,initialUrl:He.rawUrl,extractedUrl:He.extractedUrl,trigger:He.source,extras:He.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,X.G)(He=>{var kt;const hn=!_.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),ri=null!==(kt=He.extras.onSameUrlNavigation)&&void 0!==kt?kt:_.onSameUrlNavigation;if(!hn&&"reload"!==ri){const $n="";return this.events.next(new Kn(He.id,this.urlSerializer.serialize(He.rawUrl),$n,Sn.IgnoredSameUrlNavigation)),He.resolve(null),ke.k}if(this.urlHandlingStrategy.shouldProcessUrl(He.rawUrl))return(0,J.of)(He).pipe((0,X.G)($n=>{var ji,Ii;const Qt=null===(ji=this.transitions)||void 0===ji?void 0:ji.getValue();return this.events.next(new ii($n.id,this.urlSerializer.serialize($n.extractedUrl),$n.source,$n.restoredState)),Qt!==(null===(Ii=this.transitions)||void 0===Ii?void 0:Ii.getValue())?ke.k:Promise.resolve($n)}),function ds(f,v,x,_,C,L){return(0,ie.O)(W=>function js(f,v,x,_,C,L,W="emptyOnly"){return new $s(f,v,x,_,C,W,L).recognize()}(f,v,x,_,W.extractedUrl,C,L).pipe((0,Oe.k)(({state:Le,tree:mt})=>({...W,targetSnapshot:Le,urlAfterRedirects:mt}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,_.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,vt.y)($n=>{W.targetSnapshot=$n.targetSnapshot,W.urlAfterRedirects=$n.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:$n.urlAfterRedirects};const ji=new $o($n.id,this.urlSerializer.serialize($n.extractedUrl),this.urlSerializer.serialize($n.urlAfterRedirects),$n.targetSnapshot);this.events.next(ji)}));if(hn&&this.urlHandlingStrategy.shouldProcessUrl(He.currentRawUrl)){const{id:$n,extractedUrl:ji,source:Ii,restoredState:Qt,extras:Sr}=He,Zr=new ii($n,this.urlSerializer.serialize(ji),Ii,Qt);this.events.next(Zr);const Tr=Li(this.rootComponentType).snapshot;return this.currentTransition=W={...He,targetSnapshot:Tr,urlAfterRedirects:ji,extras:{...Sr,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=ji,(0,J.of)(W)}{const $n="";return this.events.next(new Kn(He.id,this.urlSerializer.serialize(He.extractedUrl),$n,Sn.IgnoredByUrlHandlingStrategy)),He.resolve(null),ke.k}}),(0,vt.y)(He=>{const kt=new Eo(He.id,this.urlSerializer.serialize(He.extractedUrl),this.urlSerializer.serialize(He.urlAfterRedirects),He.targetSnapshot);this.events.next(kt)}),(0,Oe.k)(He=>(this.currentTransition=W={...He,guards:sa(He.targetSnapshot,He.currentSnapshot,this.rootContexts)},W)),function Ot(f,v){return(0,ie.O)(x=>{const{targetSnapshot:_,currentSnapshot:C,guards:{canActivateChecks:L,canDeactivateChecks:W}}=x;return 0===W.length&&0===L.length?(0,J.of)({...x,guardsResult:!0}):function ti(f,v,x,_){return(0,D.Q)(f).pipe((0,ie.O)(C=>function zi(f,v,x,_,C){const L=v&&v.routeConfig?v.routeConfig.canDeactivate:null;if(!L||0===L.length)return(0,J.of)(!0);const W=L.map(Le=>{var mt;const He=null!==(mt=Po(v))&&void 0!==mt?mt:C,kt=br(Le,He);return Xt(function E(f){return f&&Ur(f.canDeactivate)}(kt)?kt.canDeactivate(f,v,x,_):(0,a.SMS)(He,()=>kt(f,v,x,_))).pipe(Tt())});return(0,J.of)(W).pipe(yt())}(C.component,C.route,x,v,_)),Tt(C=>!0!==C,!0))}(W,_,C,f).pipe((0,ie.O)(Le=>Le&&function aa(f){return"boolean"==typeof f}(Le)?function Qi(f,v,x,_){return(0,D.Q)(v).pipe((0,on.m)(C=>(0,ve.W)(function An(f,v){return null!==f&&v&&v(new Go(f)),(0,J.of)(!0)}(C.route.parent,_),function rr(f,v){return null!==f&&v&&v(new pn(f)),(0,J.of)(!0)}(C.route,_),function yr(f,v,x){const _=v[v.length-1],L=v.slice(0,v.length-1).reverse().map(W=>function Bs(f){const v=f.routeConfig?f.routeConfig.canActivateChild:null;return v&&0!==v.length?{node:f,guards:v}:null}(W)).filter(W=>null!==W).map(W=>(0,te.Q)(()=>{const Le=W.guards.map(mt=>{var He;const kt=null!==(He=Po(W.node))&&void 0!==He?He:x,hn=br(mt,kt);return Xt(function A(f){return f&&Ur(f.canActivateChild)}(hn)?hn.canActivateChild(_,f):(0,a.SMS)(kt,()=>hn(_,f))).pipe(Tt())});return(0,J.of)(Le).pipe(yt())}));return(0,J.of)(L).pipe(yt())}(f,C.path,x),function Vr(f,v,x){const _=v.routeConfig?v.routeConfig.canActivate:null;if(!_||0===_.length)return(0,J.of)(!0);const C=_.map(L=>(0,te.Q)(()=>{var W;const Le=null!==(W=Po(v))&&void 0!==W?W:x,mt=br(L,Le);return Xt(function Us(f){return f&&Ur(f.canActivate)}(mt)?mt.canActivate(v,f):(0,a.SMS)(Le,()=>mt(v,f))).pipe(Tt())}));return(0,J.of)(C).pipe(yt())}(f,C.route,x))),Tt(C=>!0!==C,!0))}(_,L,f,v):(0,J.of)(Le)),(0,Oe.k)(Le=>({...x,guardsResult:Le})))})}(this.environmentInjector,He=>this.events.next(He)),(0,vt.y)(He=>{if(W.guardsResult=He.guardsResult,jt(He.guardsResult))throw un(0,He.guardsResult);const kt=new Do(He.id,this.urlSerializer.serialize(He.extractedUrl),this.urlSerializer.serialize(He.urlAfterRedirects),He.targetSnapshot,!!He.guardsResult);this.events.next(kt)}),(0,re.I)(He=>!!He.guardsResult||(this.cancelNavigationTransition(He,"",rn.GuardRejected),!1)),Io(He=>{if(He.guards.canActivateChecks.length)return(0,J.of)(He).pipe((0,vt.y)(kt=>{const hn=new hr(kt.id,this.urlSerializer.serialize(kt.extractedUrl),this.urlSerializer.serialize(kt.urlAfterRedirects),kt.targetSnapshot);this.events.next(hn)}),(0,X.G)(kt=>{let hn=!1;return(0,J.of)(kt).pipe(function zr(f,v){return(0,ie.O)(x=>{const{targetSnapshot:_,guards:{canActivateChecks:C}}=x;if(!C.length)return(0,J.of)(x);const L=new Set(C.map(mt=>mt.route)),W=new Set;for(const mt of L)if(!W.has(mt))for(const He of Gn(mt))W.add(He);let Le=0;return(0,D.Q)(W).pipe((0,on.m)(mt=>L.has(mt)?function da(f,v,x,_){const C=f.routeConfig,L=f._resolve;return void 0!==(null==C?void 0:C.title)&&!Ho(C)&&(L[Zt]=C.title),function Wr(f,v,x,_){const C=dt(f);if(0===C.length)return(0,J.of)({});const L={};return(0,D.Q)(C).pipe((0,ie.O)(W=>function Oi(f,v,x,_){var C;const L=null!==(C=Po(v))&&void 0!==C?C:_,W=br(f,L);return Xt(W.resolve?W.resolve(v,x):(0,a.SMS)(L,()=>W(v,x)))}(f[W],v,x,_).pipe(Tt(),(0,vt.y)(Le=>{L[W]=Le}))),Ke(1),(0,st.e)(L),De(W=>T(W)?ke.k:et(W)))}(L,f,v,_).pipe((0,Oe.k)(W=>(f._resolvedData=W,f.data=fo(f,f.parent,x).resolve,null)))}(mt,_,f,v):(mt.data=fo(mt,mt.parent,f).resolve,(0,J.of)(void 0))),(0,vt.y)(()=>Le++),Ke(1),(0,ie.O)(mt=>Le===W.size?(0,J.of)(x):ke.k))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,vt.y)({next:()=>hn=!0,complete:()=>{hn||this.cancelNavigationTransition(kt,"",rn.NoDataFromResolver)}}))}),(0,vt.y)(kt=>{const hn=new fr(kt.id,this.urlSerializer.serialize(kt.extractedUrl),this.urlSerializer.serialize(kt.urlAfterRedirects),kt.targetSnapshot);this.events.next(hn)}))}),Io(He=>{const kt=hn=>{var ri;const $n=[];null!==(ri=hn.routeConfig)&&void 0!==ri&&ri.loadComponent&&!hn.routeConfig._loadedComponent&&$n.push(this.configLoader.loadComponent(hn.routeConfig).pipe((0,vt.y)(ji=>{hn.component=ji}),(0,Oe.k)(()=>{})));for(const ji of hn.children)$n.push(...kt(ji));return $n};return(0,z.E)(kt(He.targetSnapshot.root)).pipe(me(null),(0,G.U)(1))}),Io(()=>this.afterPreactivation()),(0,X.G)(()=>{var He;const{currentSnapshot:kt,targetSnapshot:hn}=W,ri=null===(He=this.createViewTransition)||void 0===He?void 0:He.call(this,this.environmentInjector,kt.root,hn.root);return ri?(0,D.Q)(ri).pipe((0,Oe.k)(()=>W)):(0,J.of)(W)}),(0,Oe.k)(He=>{const kt=function nr(f,v,x){const _=wo(f,v._root,x?x._root:void 0);return new ei(_,v)}(_.routeReuseStrategy,He.targetSnapshot,He.currentRouterState);return this.currentTransition=W={...He,targetRouterState:kt},this.currentNavigation.targetRouterState=kt,W}),(0,vt.y)(()=>{this.events.next(new Yi)}),((f,v,x,_)=>(0,Oe.k)(C=>(new rs(v,C.targetRouterState,C.currentRouterState,x,_).activate(f),C)))(this.rootContexts,_.routeReuseStrategy,He=>this.events.next(He),this.inputBindingEnabled),(0,G.U)(1),(0,vt.y)({next:He=>{var kt;Le=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new oi(He.id,this.urlSerializer.serialize(He.extractedUrl),this.urlSerializer.serialize(He.urlAfterRedirects))),null===(kt=this.titleStrategy)||void 0===kt||kt.updateTitle(He.targetRouterState.snapshot),He.resolve(!0)},complete:()=>{Le=!0}}),(0,Kt.a)(this.transitionAbortSubject.pipe((0,vt.y)(He=>{throw He}))),(0,Ft.U)(()=>{var He;!Le&&!mt&&this.cancelNavigationTransition(W,"",rn.SupersededByNewNavigation),(null===(He=this.currentTransition)||void 0===He?void 0:He.id)===W.id&&(this.currentNavigation=null,this.currentTransition=null)}),De(He=>{if(mt=!0,wi(He))this.events.next(new ui(W.id,this.urlSerializer.serialize(W.extractedUrl),He.message,He.cancellationCode)),function zo(f){return wi(f)&&jt(f.url)}(He)?this.events.next(new _i(He.url)):W.resolve(!1);else{var kt;this.events.next(new Jn(W.id,this.urlSerializer.serialize(W.extractedUrl),He,null!==(kt=W.targetSnapshot)&&void 0!==kt?kt:void 0));try{W.resolve(_.errorHandler(He))}catch(hn){this.options.resolveNavigationPromiseOnError?W.resolve(!1):W.reject(hn)}}return ke.k}))}))}cancelNavigationTransition(_,C,L){const W=new ui(_.id,this.urlSerializer.serialize(_.extractedUrl),C,L);this.events.next(W),_.resolve(!1)}isUpdatingInternalState(){var _,C;return(null===(_=this.currentTransition)||void 0===_?void 0:_.extractedUrl.toString())!==(null===(C=this.currentTransition)||void 0===C?void 0:C.currentUrlTree.toString())}isUpdatedBrowserUrl(){var _,C;return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==(null===(_=this.currentTransition)||void 0===_?void 0:_.extractedUrl.toString())&&!(null!==(C=this.currentTransition)&&void 0!==C&&C.extras.skipLocationChange)}}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275prov=a.wxM({token:f,factory:f.\u0275fac,providedIn:"root"}),v})();function wt(f){return f!==gi}let yn=(()=>{var f;class v{}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275prov=a.wxM({token:f,factory:()=>(0,a.uUt)(Bn),providedIn:"root"}),v})();class kn{shouldDetach(v){return!1}store(v,x){}shouldAttach(v){return!1}retrieve(v){return null}shouldReuseRoute(v,x){return v.routeConfig===x.routeConfig}}let Bn=(()=>{var f;class v extends kn{}return(f=v).\u0275fac=(()=>{let x;return function(C){return(x||(x=a.otF(f)))(C||f)}})(),f.\u0275prov=a.wxM({token:f,factory:f.\u0275fac,providedIn:"root"}),v})(),vn=(()=>{var f;class v{}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275prov=a.wxM({token:f,factory:()=>(0,a.uUt)(Un),providedIn:"root"}),v})(),Un=(()=>{var f;class v extends vn{constructor(){super(...arguments),this.location=(0,a.uUt)(Ge.oB),this.urlSerializer=(0,a.uUt)(Lt),this.options=(0,a.uUt)(Dr,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,a.uUt)(g),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ue,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Li(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){var _,C;return"computed"!==this.canceledNavigationResolution?this.currentPageId:null!==(_=null===(C=this.restoredState())||void 0===C?void 0:C.\u0275routerPageId)&&void 0!==_?_:this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(_){return this.location.subscribe(C=>{"popstate"===C.type&&_(C.url,C.state)})}handleRouterEvent(_,C){if(_ instanceof ii)this.stateMemento=this.createStateMemento();else if(_ instanceof Kn)this.rawUrlTree=C.initialUrl;else if(_ instanceof $o){if("eager"===this.urlUpdateStrategy&&!C.extras.skipLocationChange){const L=this.urlHandlingStrategy.merge(C.finalUrl,C.initialUrl);this.setBrowserUrl(L,C)}}else _ instanceof Yi?(this.currentUrlTree=C.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(C.finalUrl,C.initialUrl),this.routerState=C.targetRouterState,"deferred"===this.urlUpdateStrategy&&(C.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,C))):_ instanceof ui&&(_.code===rn.GuardRejected||_.code===rn.NoDataFromResolver)?this.restoreHistory(C):_ instanceof Jn?this.restoreHistory(C,!0):_ instanceof oi&&(this.lastSuccessfulId=_.id,this.currentPageId=this.browserPageId)}setBrowserUrl(_,C){const L=this.urlSerializer.serialize(_);if(this.location.isCurrentPathEqualTo(L)||C.extras.replaceUrl){const Le={...C.extras.state,...this.generateNgRouterState(C.id,this.browserPageId)};this.location.replaceState(L,"",Le)}else{const W={...C.extras.state,...this.generateNgRouterState(C.id,this.browserPageId+1)};this.location.go(L,"",W)}}restoreHistory(_,C=!1){if("computed"===this.canceledNavigationResolution){const W=this.currentPageId-this.browserPageId;0!==W?this.location.historyGo(W):this.currentUrlTree===_.finalUrl&&0===W&&(this.resetState(_),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(C&&this.resetState(_),this.resetUrlToCurrentUrlTree())}resetState(_){var C;this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,null!==(C=_.finalUrl)&&void 0!==C?C:this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(_,C){return"computed"===this.canceledNavigationResolution?{navigationId:_,\u0275routerPageId:C}:{navigationId:_}}}return(f=v).\u0275fac=(()=>{let x;return function(C){return(x||(x=a.otF(f)))(C||f)}})(),f.\u0275prov=a.wxM({token:f,factory:f.\u0275fac,providedIn:"root"}),v})();var Rn=function(f){return f[f.COMPLETE=0]="COMPLETE",f[f.FAILED=1]="FAILED",f[f.REDIRECTING=2]="REDIRECTING",f}(Rn||{});function yi(f,v){f.events.pipe((0,re.I)(x=>x instanceof oi||x instanceof ui||x instanceof Jn||x instanceof Kn),(0,Oe.k)(x=>x instanceof oi||x instanceof Kn?Rn.COMPLETE:x instanceof ui&&(x.code===rn.Redirect||x.code===rn.SupersededByNewNavigation)?Rn.REDIRECTING:Rn.FAILED),(0,re.I)(x=>x!==Rn.REDIRECTING),(0,G.U)(1)).subscribe(()=>{v()})}function Lo(f){throw f}const Vi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Bo={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Pn=(()=>{var f;class v{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){var _,C;this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,a.uUt)(a.oPY),this.stateManager=(0,a.uUt)(vn),this.options=(0,a.uUt)(Dr,{optional:!0})||{},this.pendingTasks=(0,a.uUt)(a.g9Y),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,a.uUt)(it),this.urlSerializer=(0,a.uUt)(Lt),this.location=(0,a.uUt)(Ge.oB),this.urlHandlingStrategy=(0,a.uUt)(g),this._events=new lt.E,this.errorHandler=this.options.errorHandler||Lo,this.navigated=!1,this.routeReuseStrategy=(0,a.uUt)(yn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=null!==(_=null===(C=(0,a.uUt)(lr,{optional:!0}))||void 0===C?void 0:C.flat())&&void 0!==_?_:[],this.componentInputBindingEnabled=!!(0,a.uUt)(zn,{optional:!0}),this.eventsSubscription=new Be.wH,this.isNgZoneEnabled=(0,a.uUt)(a.WW2)instanceof a.WW2&&a.WW2.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:L=>{this.console.warn(L)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const _=this.navigationTransitions.events.subscribe(C=>{try{const L=this.navigationTransitions.currentTransition,W=this.navigationTransitions.currentNavigation;if(null!==L&&null!==W)if(this.stateManager.handleRouterEvent(C,W),C instanceof ui&&C.code!==rn.Redirect&&C.code!==rn.SupersededByNewNavigation)this.navigated=!0;else if(C instanceof oi)this.navigated=!0;else if(C instanceof _i){const Le=this.urlHandlingStrategy.merge(C.url,L.currentRawUrl),mt={info:L.extras.info,skipLocationChange:L.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||wt(L.source)};this.scheduleNavigation(Le,gi,null,mt,{resolve:L.resolve,reject:L.reject,promise:L.promise})}(function Fn(f){return!(f instanceof Yi||f instanceof _i)})(C)&&this._events.next(C)}catch(L){this.navigationTransitions.transitionAbortSubject.next(L)}});this.eventsSubscription.add(_)}resetRootComponentType(_){this.routerState.root.component=_,this.navigationTransitions.rootComponentType=_}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),gi,this.stateManager.restoredState())}setUpLocationChangeListener(){var _;null!==(_=this.nonRouterCurrentEntryChangeSubscription)&&void 0!==_||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((C,L)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(C,"popstate",L)},0)}))}navigateToSyncWithBrowser(_,C,L){const W={replaceUrl:!0},Le=null!=L&&L.navigationId?L:null;if(L){const He={...L};delete He.navigationId,delete He.\u0275routerPageId,0!==Object.keys(He).length&&(W.state=He)}const mt=this.parseUrl(_);this.scheduleNavigation(mt,C,Le,W)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(_){this.config=_.map(vr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(_,C={}){const{relativeTo:L,queryParams:W,fragment:Le,queryParamsHandling:mt,preserveFragment:He}=C,kt=He?this.currentUrlTree.fragment:Le;let ri,hn=null;switch(mt){case"merge":hn={...this.currentUrlTree.queryParams,...W};break;case"preserve":hn=this.currentUrlTree.queryParams;break;default:hn=W||null}null!==hn&&(hn=this.removeEmptyProps(hn));try{ri=di(L?L.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof _[0]||!_[0].startsWith("/"))&&(_=[]),ri=this.currentUrlTree.root}return Ci(ri,_,hn,null!=kt?kt:null)}navigateByUrl(_,C={skipLocationChange:!1}){const L=jt(_)?_:this.parseUrl(_),W=this.urlHandlingStrategy.merge(L,this.rawUrlTree);return this.scheduleNavigation(W,gi,null,C)}navigate(_,C={skipLocationChange:!1}){return function Wi(f){for(let v=0;v(null!=W&&(C[L]=W),C),{})}scheduleNavigation(_,C,L,W,Le){if(this.disposed)return Promise.resolve(!1);let mt,He,kt;Le?(mt=Le.resolve,He=Le.reject,kt=Le.promise):kt=new Promise((ri,$n)=>{mt=ri,He=$n});const hn=this.pendingTasks.add();return yi(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(hn))}),this.navigationTransitions.handleNavigationRequest({source:C,restoredState:L,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:_,extras:W,resolve:mt,reject:He,promise:kt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),kt.catch(ri=>Promise.reject(ri))}}return(f=v).\u0275fac=function(_){return new(_||f)},f.\u0275prov=a.wxM({token:f,factory:f.\u0275fac,providedIn:"root"}),v})(),ao=(()=>{var f;class v{constructor(_,C,L,W,Le,mt){var He;this.router=_,this.route=C,this.tabIndexAttribute=L,this.renderer=W,this.el=Le,this.locationStrategy=mt,this.href=null,this.commands=null,this.onChanges=new lt.E,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const kt=null===(He=Le.nativeElement.tagName)||void 0===He?void 0:He.toLowerCase();this.isAnchorElement="a"===kt||"area"===kt,this.isAnchorElement?this.subscription=_.events.subscribe(hn=>{hn instanceof oi&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(_){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",_)}ngOnChanges(_){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(_){null!=_?(this.commands=Array.isArray(_)?_:[_],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(_,C,L,W,Le){const mt=this.urlTree;return!!(null===mt||this.isAnchorElement&&(0!==_||C||L||W||Le||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(mt,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){var _;null===(_=this.subscription)||void 0===_||_.unsubscribe()}updateHref(){var _;const C=this.urlTree;this.href=null!==C&&this.locationStrategy?null===(_=this.locationStrategy)||void 0===_?void 0:_.prepareExternalUrl(this.router.serializeUrl(C)):null;const L=null===this.href?null:(0,a.YFg)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",L)}applyAttributeValue(_,C){const L=this.renderer,W=this.el.nativeElement;null!==C?L.setAttribute(W,_,C):L.removeAttribute(W,_)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return(f=v).\u0275fac=function(_){return new(_||f)(a.GI1(Pn),a.GI1(ci),a.gJ8("tabindex"),a.GI1(a.q87),a.GI1(a.GMv),a.GI1(Ge.Qd))},f.\u0275dir=a.Sc5({type:f,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(_,C){1&_&&a.qCj("click",function(W){return C.onClick(W.button,W.ctrlKey,W.shiftKey,W.altKey,W.metaKey)}),2&_&&a.e48("target",C.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[a.Wk5.HasDecoratorInputTransform,"preserveFragment","preserveFragment",a.cZD],skipLocationChange:[a.Wk5.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",a.cZD],replaceUrl:[a.Wk5.HasDecoratorInputTransform,"replaceUrl","replaceUrl",a.cZD],routerLink:"routerLink"},standalone:!0,features:[a.QJr,a.SYr]}),v})();class ja{}let Gs=(()=>{var f;class v{constructor(_,C,L,W,Le){this.router=_,this.injector=L,this.preloadingStrategy=W,this.loader=Le}setUpPreloading(){this.subscription=this.router.events.pipe((0,re.I)(_=>_ instanceof oi),(0,on.m)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(_,C){const L=[];for(const He of C){var W,Le;He.providers&&!He._injector&&(He._injector=(0,a.SIz)(He.providers,_,"Route: ".concat(He.path)));const kt=null!==(W=He._injector)&&void 0!==W?W:_,hn=null!==(Le=He._loadedInjector)&&void 0!==Le?Le:kt;var mt;(He.loadChildren&&!He._loadedRoutes&&void 0===He.canLoad||He.loadComponent&&!He._loadedComponent)&&L.push(this.preloadConfig(kt,He)),(He.children||He._loadedRoutes)&&L.push(this.processRoutes(hn,null!==(mt=He.children)&&void 0!==mt?mt:He._loadedRoutes))}return(0,D.Q)(L).pipe((0,ln.u)())}preloadConfig(_,C){return this.preloadingStrategy.preload(C,()=>{let L;L=C.loadChildren&&void 0===C.canLoad?this.loader.loadChildren(_,C):(0,J.of)(null);const W=L.pipe((0,ie.O)(Le=>{var mt;return null===Le?(0,J.of)(void 0):(C._loadedRoutes=Le.routes,C._loadedInjector=Le.injector,this.processRoutes(null!==(mt=Le.injector)&&void 0!==mt?mt:_,Le.routes))}));if(C.loadComponent&&!C._loadedComponent){const Le=this.loader.loadComponent(C);return(0,D.Q)([W,Le]).pipe((0,ln.u)())}return W})}}return(f=v).\u0275fac=function(_){return new(_||f)(a.CoB(Pn),a.CoB(a.ESV),a.CoB(a.SIe),a.CoB(ja),a.CoB(bi))},f.\u0275prov=a.wxM({token:f,factory:f.\u0275fac,providedIn:"root"}),v})();const Zo=new a.UbH("");let wr=(()=>{var f;class v{constructor(_,C,L,W,Le={}){this.urlSerializer=_,this.transitions=C,this.viewportScroller=L,this.zone=W,this.options=Le,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Le.scrollPositionRestoration||(Le.scrollPositionRestoration="disabled"),Le.anchorScrolling||(Le.anchorScrolling="disabled")}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(_=>{_ instanceof ii?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=_.navigationTrigger,this.restoredId=_.restoredState?_.restoredState.navigationId:0):_ instanceof oi?(this.lastId=_.id,this.scheduleScrollEvent(_,this.urlSerializer.parse(_.urlAfterRedirects).fragment)):_ instanceof Kn&&_.code===Sn.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(_,this.urlSerializer.parse(_.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(_=>{_ instanceof li&&(_.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(_.position):_.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(_.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(_,C){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new li(_,"popstate"===this.lastSource?this.store[this.restoredId]:null,C))})},0)})}ngOnDestroy(){var _,C;null===(_=this.routerEventsSubscription)||void 0===_||_.unsubscribe(),null===(C=this.scrollEventsSubscription)||void 0===C||C.unsubscribe()}}return(f=v).\u0275fac=function(_){a.KEo()},f.\u0275prov=a.wxM({token:f,factory:f.\u0275fac}),v})();function lo(f,v){return{\u0275kind:f,\u0275providers:v}}function Ss(){const f=(0,a.uUt)(a.zZn);return v=>{var x,_;const C=f.get(a.Swk);if(v!==C.components[0])return;const L=f.get(Pn),W=f.get(Yr);1===f.get(Ts)&&L.initialNavigation(),null===(x=f.get(co,null,a._6O.Optional))||void 0===x||x.setUpPreloading(),null===(_=f.get(Zo,null,a._6O.Optional))||void 0===_||_.init(),L.resetRootComponentType(C.componentTypes[0]),W.closed||(W.next(),W.complete(),W.unsubscribe())}}const Yr=new a.UbH("",{factory:()=>new lt.E}),Ts=new a.UbH("",{providedIn:"root",factory:()=>1}),co=new a.UbH("");function zs(f){return lo(0,[{provide:co,useExisting:Gs},{provide:ja,useExisting:f}])}function fa(f){return lo(9,[{provide:Z,useValue:j},{provide:M,useValue:{skipNextTransition:!(null==f||!f.skipInitialTransition),...f}}])}const ma=new a.UbH("ROUTER_FORROOT_GUARD"),Ha=[Ge.oB,{provide:Lt,useClass:en},Pn,Oo,{provide:ci,useFactory:function Mr(f){return f.routerState.root},deps:[Pn]},bi,[]];let za=(()=>{var f;class v{constructor(_){}static forRoot(_,C){return{ngModule:v,providers:[Ha,[],{provide:lr,multi:!0,useValue:_},{provide:ma,useFactory:Vl,deps:[[Pn,new a.T7N,new a.Qfh]]},{provide:Dr,useValue:C||{}},null!=C&&C.useHash?{provide:Ge.Qd,useClass:Ge.MP}:{provide:Ge.Qd,useClass:Ge.uC},{provide:Zo,useFactory:()=>{const f=(0,a.uUt)(Ge.YZ),v=(0,a.uUt)(a.WW2),x=(0,a.uUt)(Dr),_=(0,a.uUt)(it),C=(0,a.uUt)(Lt);return x.scrollOffset&&f.setOffset(x.scrollOffset),new wr(C,_,f,v,x)}},null!=C&&C.preloadingStrategy?zs(C.preloadingStrategy).\u0275providers:[],null!=C&&C.initialNavigation?Ir(C):[],null!=C&&C.bindToComponentInputs?lo(8,[Zi,{provide:zn,useExisting:Zi}]).\u0275providers:[],null!=C&&C.enableViewTransitions?fa().\u0275providers:[],[{provide:Qn,useFactory:Ss},{provide:a.qid,multi:!0,useExisting:Qn}]]}}static forChild(_){return{ngModule:v,providers:[{provide:lr,multi:!0,useValue:_}]}}}return(f=v).\u0275fac=function(_){return new(_||f)(a.CoB(ma,8))},f.\u0275mod=a.a4G({type:f}),f.\u0275inj=a.s3X({}),v})();function Vl(f){return"guarded"}function Ir(f){return["disabled"===f.initialNavigation?lo(3,[{provide:a.kZF,multi:!0,useFactory:()=>{const v=(0,a.uUt)(Pn);return()=>{v.setUpLocationChangeListener()}}},{provide:Ts,useValue:2}]).\u0275providers:[],"enabledBlocking"===f.initialNavigation?lo(2,[{provide:Ts,useValue:0},{provide:a.kZF,multi:!0,deps:[a.zZn],useFactory:v=>{const x=v.get(Ge.mQ,Promise.resolve());return()=>x.then(()=>new Promise(_=>{const C=v.get(Pn),L=v.get(Yr);yi(C,()=>{_(!0)}),v.get(it).afterPreactivation=()=>(_(!0),L.closed?(0,J.of)(void 0):L),C.initialNavigation()}))}}]).\u0275providers:[]]}const Qn=new a.UbH("")},1528:(Qe,fe,y)=>{function a(D,J,ce,z,ae,ve,te){try{var Ce=D[ve](te),Me=Ce.value}catch(Pe){return void ce(Pe)}Ce.done?J(Me):Promise.resolve(Me).then(z,ae)}function s(D){return function(){var J=this,ce=arguments;return new Promise(function(z,ae){var ve=D.apply(J,ce);function te(Me){a(ve,z,ae,te,Ce,"next",Me)}function Ce(Me){a(ve,z,ae,te,Ce,"throw",Me)}te(void 0)})}}y.d(fe,{c:()=>s})},1316:(Qe,fe,y)=>{function Pe(De,_e,Se,Ke){return new(Se||(Se=Promise))(function(st,Ft){function Kt(ct){try{Gt(Ke.next(ct))}catch(Zt){Ft(Zt)}}function ln(ct){try{Gt(Ke.throw(ct))}catch(Zt){Ft(Zt)}}function Gt(ct){ct.done?st(ct.value):function ht(st){return st instanceof Se?st:new Se(function(Ft){Ft(st)})}(ct.value).then(Kt,ln)}Gt((Ke=Ke.apply(De,_e||[])).next())})}function Ge(De){return this instanceof Ge?(this.v=De,this):new Ge(De)}function Oe(De,_e,Se){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ht,Ke=Se.apply(De,_e||[]),st=[];return ht={},Ft("next"),Ft("throw"),Ft("return"),ht[Symbol.asyncIterator]=function(){return this},ht;function Ft(Ut){Ke[Ut]&&(ht[Ut]=function(le){return new Promise(function(pe,Ve){st.push([Ut,le,pe,Ve])>1||Kt(Ut,le)})})}function Kt(Ut,le){try{!function ln(Ut){Ut.value instanceof Ge?Promise.resolve(Ut.value.v).then(Gt,ct):Zt(st[0][2],Ut)}(Ke[Ut](le))}catch(pe){Zt(st[0][3],pe)}}function Gt(Ut){Kt("next",Ut)}function ct(Ut){Kt("throw",Ut)}function Zt(Ut,le){Ut(le),st.shift(),st.length&&Kt(st[0][0],st[0][1])}}function G(De){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Se,_e=De[Symbol.asyncIterator];return _e?_e.call(De):(De=function Re(De){var _e="function"==typeof Symbol&&Symbol.iterator,Se=_e&&De[_e],Ke=0;if(Se)return Se.call(De);if(De&&"number"==typeof De.length)return{next:function(){return De&&Ke>=De.length&&(De=void 0),{value:De&&De[Ke++],done:!De}}};throw new TypeError(_e?"Object is not iterable.":"Symbol.iterator is not defined.")}(De),Se={},Ke("next"),Ke("throw"),Ke("return"),Se[Symbol.asyncIterator]=function(){return this},Se);function Ke(st){Se[st]=De[st]&&function(Ft){return new Promise(function(Kt,ln){!function ht(st,Ft,Kt,ln){Promise.resolve(ln).then(function(Gt){st({value:Gt,done:Kt})},Ft)}(Kt,ln,(Ft=De[st](Ft)).done,Ft.value)})}}}y.d(fe,{U1:()=>Ge,kH:()=>Pe,mA:()=>G,o7:()=>Oe}),"function"==typeof SuppressedError&&SuppressedError}},Qe=>{Qe(Qe.s=9656)}]); \ No newline at end of file diff --git a/server/src/uds/transports/HTML5RDP/html5rdp.py b/server/src/uds/transports/HTML5RDP/html5rdp.py index 63391a385..30a25199c 100644 --- a/server/src/uds/transports/HTML5RDP/html5rdp.py +++ b/server/src/uds/transports/HTML5RDP/html5rdp.py @@ -490,11 +490,11 @@ class HTML5RDPTransport(transports.Transport): ticket = models.TicketStore.create(params, validity=self.ticket_validity.as_int()) - onw = f'&o_n_w={transport.uuid}' + onw = f'&{consts.transports.ON_NEW_WINDOW_VAR}={transport.uuid}' if self.force_new_window.value == consts.TRUE_STR: - onw = f'&o_n_w={userservice.deployed_service.uuid}' + onw = f'&{consts.transports.ON_NEW_WINDOW_VAR}={userservice.deployed_service.uuid}' elif self.force_new_window.value == 'overwrite': - onw = '&o_s_w=yes' + onw = f'&{consts.transports.ON_SAME_WINDOW_VAR}=yes' path = self.custom_glyptodon_path.value if self.use_glyptodon.as_bool() else '/guacamole' # Remove trailing / path = path.rstrip('/') diff --git a/server/src/uds/transports/HTML5SSH/html5ssh.py b/server/src/uds/transports/HTML5SSH/html5ssh.py index ba8ec67d7..931fe88e3 100644 --- a/server/src/uds/transports/HTML5SSH/html5ssh.py +++ b/server/src/uds/transports/HTML5SSH/html5ssh.py @@ -70,7 +70,7 @@ class HTML5SSHTransport(transports.Transport): tunnel = fields.tunnel_field() - useGlyptodonTunnel = HTML5RDPTransport.use_glyptodon + use_glyptodon = HTML5RDPTransport.use_glyptodon username = gui.TextField( label=_('Username'), @@ -225,16 +225,14 @@ class HTML5SSHTransport(transports.Transport): scrambler = CryptoManager().random_string(32) ticket = models.TicketStore.create(params, validity=self.ticket_validity.as_int()) - onw = '' - if self.force_new_window.value == 'true': - onw = 'o_n_w={}' + onw = f'&{consts.transports.ON_NEW_WINDOW_VAR}={transport.uuid}' + if self.force_new_window.value == consts.TRUE_STR: + onw = f'&{consts.transports.ON_NEW_WINDOW_VAR}={userservice.deployed_service.uuid}' elif self.force_new_window.value == 'overwrite': - onw = 'o_s_w=yes' - onw = onw.format(hash(transport.name)) - - path = self.custom_glyptodon_path.value if self.useGlyptodonTunnel.as_bool() else '/guacamole' + onw = f'&{consts.transports.ON_SAME_WINDOW_VAR}=yes' + path = self.custom_glyptodon_path.value if self.use_glyptodon.as_bool() else '/guacamole' # Remove trailing / path = path.rstrip('/') tunnel_server = fields.get_tunnel_from_field(self.tunnel) - return str(f'https://{tunnel_server.host}:{tunnel_server.port}{path}/#/?data={ticket}.{scrambler}{onw}') + return f'https://{tunnel_server.host}:{tunnel_server.port}{path}/#/?data={ticket}.{scrambler}{onw}' diff --git a/server/src/uds/transports/HTML5VNC/html5vnc.py b/server/src/uds/transports/HTML5VNC/html5vnc.py index e5cc2c69b..87e9586c9 100644 --- a/server/src/uds/transports/HTML5VNC/html5vnc.py +++ b/server/src/uds/transports/HTML5VNC/html5vnc.py @@ -197,12 +197,14 @@ class HTML5VNCTransport(transports.Transport): scrambler = CryptoManager().random_string(32) ticket = models.TicketStore.create(params, validity=self.ticket_validity.as_int()) - onw = '' - if self.force_new_window.value == 'true': - onw = 'o_n_w={}' + onw = f'&{consts.transports.ON_NEW_WINDOW_VAR}={transport.uuid}' + if self.force_new_window.value == consts.TRUE_STR: + onw = f'&{consts.transports.ON_NEW_WINDOW_VAR}={userservice.deployed_service.uuid}' elif self.force_new_window.value == 'overwrite': - onw = 'o_s_w=yes' - onw = onw.format(hash(transport.name)) + onw = f'&{consts.transports.ON_SAME_WINDOW_VAR}=yes' + path = self.custom_glyptodon_path.value if self.use_glyptodon.as_bool() else '/guacamole' + # Remove trailing / + path = path.rstrip('/') path = self.custom_glyptodon_path.value if self.use_glyptodon.as_bool() else '/guacamole' # Remove trailing / diff --git a/server/src/uds/transports/Test/transport.py b/server/src/uds/transports/Test/transport.py index 0b81d24e2..2e24bfc2a 100644 --- a/server/src/uds/transports/Test/transport.py +++ b/server/src/uds/transports/Test/transport.py @@ -84,13 +84,8 @@ class TestTransport(transports.Transport): if not values: return # Strip spaces - if not ( - self.test_url.value.startswith('http://') - or self.test_url.value.startswith('https://') - ): - raise exceptions.ui.ValidationError( - _('The url must be http or https') - ) + if not (self.test_url.value.startswith('http://') or self.test_url.value.startswith('https://')): + raise exceptions.ui.ValidationError(_('The url must be http or https')) # Same check as normal RDP transport def is_ip_allowed(self, userservice: 'models.UserService', ip: str) -> bool: @@ -112,11 +107,10 @@ class TestTransport(transports.Transport): username: str = user.get_username_for_auth() username, password = userservice.process_user_password(username, password) - url = self.test_url.value.replace('_IP_', ip).replace('_USER_', username) - - onw = ( - '&o_n_w={}'.format(hash(transport.name)) - if self.force_new_window.as_bool() - else '' + url = self.update_link_window( + self.test_url.value.replace('_IP_', ip).replace('_USER_', username), + on_same_window=False, + on_new_window=self.force_new_window.as_bool(), ) - return str("{}{}".format(url, onw)) + + return url diff --git a/server/src/uds/transports/URL/url_custom.py b/server/src/uds/transports/URL/url_custom.py index 787fa4380..cc9e72748 100644 --- a/server/src/uds/transports/URL/url_custom.py +++ b/server/src/uds/transports/URL/url_custom.py @@ -72,28 +72,33 @@ class URLCustomTransport(transports.Transport): old_field_name='urlPattern', # Allows compat with old versions ) - force_new_window = gui.CheckBoxField( - label=_('Force new HTML Window'), + force_new_window = gui.ChoiceField( order=91, - tooltip=_( - 'If checked, every connection will try to open its own window instead of reusing the "global" one.' - ), - default=False, + label=_('Force new HTML Window'), + tooltip=_('Select windows behavior for opening URL'), + required=True, + choices=[ + gui.choice_item( + 'false', + _('Open every connection on the same window, but keeps UDS window.'), + ), + gui.choice_item('true', _('Force every connection to be opened on a new window.')), + gui.choice_item( + 'overwrite', + _('Override UDS window and replace it with the connection.'), + ), + ], + default='true', tab=types.ui.Tab.ADVANCED, - old_field_name='forceNewWindow', # Allows compat with old versions + old_field_name='forceNewWindow', ) def initialize(self, values: 'types.core.ValuesType') -> None: if not values: return # Strip spaces - if not ( - self.url_pattern.value.startswith('http://') - or self.url_pattern.value.startswith('https://') - ): - raise exceptions.ui.ValidationError( - _('The url must be http or https') - ) + if not (self.url_pattern.value.startswith('http://') or self.url_pattern.value.startswith('https://')): + raise exceptions.ui.ValidationError(_('The url must be http or https')) # Same check as normal RDP transport def is_ip_allowed(self, userservice: 'models.UserService', ip: str) -> bool: @@ -115,11 +120,10 @@ class URLCustomTransport(transports.Transport): username: str = user.get_username_for_auth() username, password = userservice.process_user_password(username, password) - url = self.url_pattern.value.replace('_IP_', ip).replace('_USER_', username) - - onw = ( - '&o_n_w={}'.format(hash(transport.name)) - if self.force_new_window.as_bool() - else '' + return self.update_link_window( + self.url_pattern.value.replace('_IP_', ip).replace('_USER_', username), + on_same_window=self.force_new_window.value == 'overwrite', + on_new_window=self.force_new_window.value == 'true', + uuid=userservice.service_pool.uuid if self.force_new_window.value == 'true' else None, + default_uuid=userservice.service_pool.uuid, ) - return str("{}{}".format(url, onw))