Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/link-server-nodes/vendor-c0d76f48.min.js
"use strict";(self.webpackChunklink_server_nodes=self.webpackChunklink_server_nodes||[]).push([[128],{7343:(ht,Y,V)=>{V.d(Y,{o:()=>u});var u=function(x){return x[x.GET=0]="GET",x[x.HEAD=1]="HEAD",x[x.POST=2]="POST",x[x.PUT=3]="PUT",x[x.DELETE=4]="DELETE",x[x.CONNECT=5]="CONNECT",x[x.OPTIONS=6]="OPTIONS",x[x.TRACE=7]="TRACE",x[x.PATCH=8]="PATCH",x}(u||{})},6802:(ht,Y,V)=>{V.d(Y,{e:()=>x}),V(2584);class x{constructor($,G){if(!$)throw new Error("You must provide a name when creating a name/value argument");this.name=$,this.value=G}}},6884:(ht,Y,V)=>{V.d(Y,{uM:()=>qe,CY:()=>Re});var u=V(9261),x=V.n(u),te=V(5972),H=V.n(te),$=V(3705),G=V.n($),K=V(9336),j=V.n(K),Z=V(8124),J=V.n(Z),z=V(9812),Ce=V.n(z),Se=V(9970),Me=V.n(Se);function Ie(rt){if(x()(rt)||H()(rt)||G()(rt)||j()(rt)||J()(rt))return!0;if(!Me()(rt)&&!Ce()(rt))return!1;for(const Tt in rt)if(!Ie(rt[Tt]))return!1;return!0}class Re{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(Tt,At,gt){if(!Tt)throw new Error("Name must have a non-empty value");return`${Tt}=${encodeURIComponent(At.toString())}`+(gt?"":this.recordSeparator)}}class qe{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(Tt,At,gt){if(!Tt)throw new Error("Name must have a non-empty value");if(!Ie(At))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(Tt)+":"+JSON.stringify(At)+(gt?"":this.recordSeparator)}}},8391:(ht,Y,V)=>{V.d(Y,{d:()=>x,t:()=>u});var u=function(te){return te[te.Contains=0]="Contains",te[te.Begins=1]="Begins",te[te.Ends=2]="Ends",te[te.Matches=3]="Matches",te[te.Equal=4]="Equal",te[te.NotEqual=5]="NotEqual",te[te.LessThan=6]="LessThan",te[te.LessThanUnlimited=7]="LessThanUnlimited",te[te.GreaterThan=8]="GreaterThan",te[te.GreaterThanUnlimited=9]="GreaterThanUnlimited",te[te.Defined=10]="Defined",te[te.Undefined=11]="Undefined",te}(u||{});class x{constructor(H,$,G){if(!H)throw new Error("You must define a non-empty column name.");this.column=H,this.operator=$,this.value=G}}},1960:(ht,Y,V)=>{V.d(Y,{N:()=>u});class u{get pathname(){return window.location.pathname}get port(){return window.location.port}get hostname(){return window.location.hostname}get protocol(){return window.location.protocol}}},686:(ht,Y,V)=>{V.d(Y,{is:()=>te});const x=Number.POSITIVE_INFINITY;class te{constructor($=1,G=20){if($<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(G<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=$,this.pageSize=G}all(){return this.pageSize===x}}},9390:(ht,Y,V)=>{V.d(Y,{KL:()=>G});const $={80:"other",443:"other",2082:"cpanel",2083:"cpanel",2086:"whostmgr",2087:"whostmgr",2095:"webmail",2096:"webmail",9876:"unittest",9877:"unittest",9878:"unittest",9879:"unittest",frontend:"cpanel",webmail:"webmail"};class G{constructor(j){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=j.protocol;let Z=j.port;Z||(function u(K){return/^https:$/i.test(K)}(this.protocol)?Z="443":function x(K){return/^http:$/i.test(K)}(this.protocol)&&(Z="80")),this.domain=j.hostname,this.port=parseInt(Z,10),this.path=j.pathname;const J=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?$[2087]:/^cpanel\./.test(this.domain)?$[2083]:/^webmail\./.test(this.domain)?$[2095]:$[Z.toString()]||$[J[2]]||"whostmgr",this.securityToken=J[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const Ce=this.path.split("/");this.theme=Ce[3]}this.themePath="";let z=this.securityToken+"/";this.isUnprotected?z="/":this.isCpanel?z+="frontend/"+this.theme+"/":this.isWebmail?z+="webmail/"+this.theme+"/":this.isOther&&(z="/"),this.themePath=z,this.rootUrl=this.protocol+"//"+this.domain+":"+this.port}get isOther(){return/other/i.test(this.applicationName)}get isUnprotected(){return!this.securityToken&&-1!==this.unprotectedPaths.indexOf(function te(K){return K&&K.replace(/\/?$/,"")}(this.applicationPath))}get isCpanel(){return/cpanel/i.test(this.applicationName)}get isWhm(){return/whostmgr/i.test(this.applicationName)}get isWebmail(){return/webmail/i.test(this.applicationName)}buildPath(j){return this.themePath+j}buildFullPath(j){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(j)}buildTokenPath(j){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+j}}},2584:(ht,Y,V)=>{function u(H){return H?"1":"0"}V.d(Y,{x:()=>u})},6153:(ht,Y,V)=>{V.d(Y,{FU:()=>te,UE:()=>u,r3:()=>x});var u=function(H){return H[H.Ascending=0]="Ascending",H[H.Descending=1]="Descending",H}(u||{}),x=function(H){return H[H.Lexicographic=0]="Lexicographic",H[H.Ipv4=1]="Ipv4",H[H.Numeric=2]="Numeric",H[H.NumericZeroAsMax=3]="NumericZeroAsMax",H}(x||{});class te{constructor($,G=u.Ascending,K=x.Lexicographic){if(!$)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=$,this.direction=G,this.type=K}}},9323:(ht,Y,V)=>{V.d(Y,{m:()=>Yt,R:()=>mt});var u=V(193),x=V.n(u),te=V(2584),H=V(6153),$=V(8391),G=V(6802),K=V(686);class j{constructor(ee=[]){this.headers=ee}push(ee){this.headers.push(ee)}forEach(ee,ge){this.headers.forEach(ee,ge)}toArray(){const ee=[];return this.headers.forEach((ge=>ee.push({name:ge.name,value:ge.value}))),ee}toObject(){return this.headers.reduce(((ee,ge)=>(ee[ge.name]=ge.value,ee)),{})}}class Z{constructor(ee){this._header=ee}get name(){return this._header.name}get value(){return this._header.value}}class J extends Error{constructor(ee){super(ee),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,J.prototype)}}class z extends Error{constructor(ee){super(ee),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,z.prototype)}}class Ce extends Z{constructor(ee,ge){if(!ee)throw new J("You must pass a valid token to the constructor.");if(!ge&&!/^.+[:]/.test(ee))throw new J("You must pass a cPanel username associated with the cPanel API token.");if(!ge&&!/[:].+$/.test(ee))throw new J("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${ge?ge+":":""}${ee}`})}}Error,Error;class je{get usePager(){return this._usePager}constructor(ee){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new K.is,this.headers=new j,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,ee&&(this.method=ee.method,ee.namespace&&(this.namespace=ee.namespace),ee.arguments&&ee.arguments.forEach((ge=>{this.addArgument(ge)})),ee.sorts&&ee.sorts.forEach((ge=>{this.addSort(ge)})),ee.filters&&ee.filters.forEach((ge=>{this.addFilter(ge)})),ee.columns&&ee.columns.forEach((ge=>this.addColumn(ge))),ee.pager&&this.paginate(ee.pager),this.config=ee.config?ee.config:this.defaultConfig,ee.headers&&ee.headers.forEach((ge=>{this.addHeader(ge)})))}addArgument(ee){return this.arguments.push(ee instanceof G.e?ee:new G.e(ee.name,ee.value)),this}addSort(ee){return this.sorts.push(ee instanceof H.FU?ee:new H.FU(ee.column,ee.direction,ee.type)),this}addFilter(ee){return this.filters.push(ee instanceof $.d?ee:new $.d(ee.column,ee.operator,ee.value)),this}addColumn(ee){return this.columns.push(ee),this}addHeader(ee){return this.headers.push(ee instanceof Z?ee:new Z(ee)),this}paginate(ee){return this.pager=ee instanceof K.is?ee:new K.is(ee.page,ee.pageSize||20),this._usePager=!0,this}}var Re=V(7343);const rt=new class qe{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[Re.o.GET,Re.o.DELETE,Re.o.HEAD].forEach((ee=>{const ge=Re.o[ee].toString();this.map[ge]={verb:ge,dataInBody:!1}})),[Re.o.POST,Re.o.PUT,Re.o.PATCH].forEach((ee=>{const ge=Re.o[ee].toString();this.map[ge]={verb:ge,dataInBody:!0}}))}getRule(ee){const ge="string"==typeof ee?ee:Re.o[ee].toString();let Ke=this.map[ge];return Ke||(Ke=this.map.DEFAULT),Ke}};var Tt=V(6884),At=V(2354),gt=V.n(At),mt=function(et){return et.JsonApi="json-api",et.XmlApi="xml-api",et}(mt||{});class Yt extends je{addHeader(ee){if(ee instanceof Ce)throw new z("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(ee),this}_build(ee,ge){let Ke="";return ee.forEach(((se,le,Ae)=>{Ke+=ge.encode(se.name,se.value,le===Ae.length-1)})),ge.separatorStart+Ke+ge.separatorEnd}_make_whm_api_fieldspec_from_number(ee){return gt()("",Math.floor(ee/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(ee%26)}_generateArguments(ee){ee.push({name:"api.version",value:1}),this.arguments.forEach((Ke=>ee.push(Ke)))}_generateSorts(ee){this.sorts.forEach(((ge,Ke)=>{0===Ke&&ee.push({name:"api.sort.enable",value:te.x(!0)});const se=`api.sort.${this._make_whm_api_fieldspec_from_number(Ke)}`;ee.push({name:`${se}.field`,value:ge.column}),ee.push({name:`${se}.reverse`,value:te.x(ge.direction!==H.UE.Ascending)}),ee.push({name:`${se}.method`,value:x()(H.r3[ge.type])})}))}_lookupFilterOperator(ee){switch(ee){case $.t.GreaterThanUnlimited:return"gt_handle_unlimited";case $.t.GreaterThan:return"gt";case $.t.LessThanUnlimited:return"lt_handle_unlimited";case $.t.LessThan:return"lt";case $.t.Equal:return"eq";case $.t.Begins:return"begins";case $.t.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${$.t[ee]} for WHM API 1`)}}_generateFilters(ee){this.filters.forEach(((ge,Ke)=>{0===Ke&&(ee.push({name:"api.filter.enable",value:te.x(!0)}),ee.push({name:"api.filter.verbose",value:te.x(!0)}));const se=`api.filter.${this._make_whm_api_fieldspec_from_number(Ke)}`;ee.push({name:`${se}.field`,value:ge.column}),ee.push({name:`${se}.type`,value:this._lookupFilterOperator(ge.operator)}),ee.push({name:`${se}.arg0`,value:ge.value})}))}_translatePageToStart(ee){return(ee.page-1)*ee.pageSize+1}_generatePagination(ee){if(!this.usePager)return;const ge=this.pager.all();ee.push({name:"api.chunk.enable",value:te.x(!0)}),ee.push({name:"api.chunk.verbose",value:te.x(!0)}),ee.push({name:"api.chunk.start",value:ge?-1:this._translatePageToStart(this.pager)}),ge||ee.push({name:"api.chunk.size",value:this.pager.pageSize})}constructor(ee,ge){if(super(ge),this.apiType=mt.JsonApi,ee!=mt.JsonApi&&ee!=mt.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=ee,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}generate(ee){ee||(ee={verb:Re.o.POST,encoder:this.config.json?new Tt.uM:new Tt.CY}),ee.encoder||(ee.encoder=this.config.json?new Tt.uM:new Tt.CY);const ge=rt.getRule(ee.verb),Ke={headers:new j([{name:"Content-Type",value:ee.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},se=[];this._generateArguments(se),this._generateSorts(se),this._generateFilters(se),this._generatePagination(se);const le=this._build(se,ee.encoder);return ge.dataInBody?Ke.body=le:Ke.url+=ee.verb===Re.o.GET?`?${le}`:le,this.headers.forEach((Ae=>{Ke.headers.push({name:Ae.name,value:Ae.value})})),Ke}}},6381:(ht,Y,V)=>{Y.h=void 0;const x=V(2623);Object.defineProperty(Y,"h",{enumerable:!0,get:function(){return x.Locale}})},7268:(ht,Y)=>{Object.defineProperty(Y,"__esModule",{value:!0}),Y.CLDR=void 0,Y.CLDR=class V{constructor(x){this.rawData=x,this.validateCLDR(this.rawData)}validateCLDR(x){if(!x)throw new Error("CLDR data cannot be null");if(!x.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(x,"functions")||Object.prototype.hasOwnProperty.call(x,"get_plural_form")||"function"!=typeof x.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(x,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(x,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(x.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(x.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(x.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(x.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(x,...te){return(0,this.rawData.functions.get_plural_form)(x,...te)}getDateTimeInfo(){return this.rawData.datetime_info}getFormats(){return this.rawData.misc_info.cldr_formats}getDelimiters(){return this.rawData.misc_info.delimiters}isRtl(){return"right-to-left"===this.rawData.misc_info.orientation.characters}isLtr(){return"left-to-right"===this.rawData.misc_info.orientation.characters}}},2623:(ht,Y,V)=>{Object.defineProperty(Y,"__esModule",{value:!0}),Y.Locale=void 0;const u=V(7367),x=V(5736),te=V(8994),H=V(3365),$=V(7268);Y.Locale=class G{constructor(j,Z={}){this.lexicon=Z,this._cldr=new $.CLDR(j)}maketext(j,...Z){return(0,u.maketext)({cldr:this._cldr,lexicon:this.lexicon,template:j,args:Z})}localDatetime(j,Z){return this._datetimeWrapper(x.local_datetime,j,Z)}datetime(j,Z){return this._datetimeWrapper(x.datetime,j,Z)}_datetimeWrapper(j,Z,J){return j({cldr:this._cldr,args:[Z,J]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(j,Z){return this._formatNumber(te.numf,j,Z)}format_bytes(j,Z){return this._formatNumber(te.format_bytes,j,Z)}_formatNumber(j,...Z){return this._callCLDRFunc(j,Z)}list_and(...j){return this._callCLDRFunc(H.list_and,j)}list_and_quoted(...j){return this._callCLDRFunc(H.list_and_quoted,j)}list_or(...j){return this._callCLDRFunc(H.list_or,j)}list_or_quoted(...j){return this._callCLDRFunc(H.list_or_quoted,j)}_callCLDRFunc(j,Z){return j({cldr:this._cldr,args:Z})}}},6049:(ht,Y,V)=>{Object.defineProperty(Y,"__esModule",{value:!0}),Y.asis=void 0;const u=V(2500);Y.asis=function x({args:[te,...H]}){if(!te||H.length>0||"string"!=typeof te)throw new Error("asis function accepts one non translatable string.");return(te=te.replace(/chr\((\d+)\)/g,(function($,G){return u.functions.chr(Number(G))}))).replace(/amp\(\)/g,(function(){return u.functions.amp()}))}},6073:(ht,Y)=>{Object.defineProperty(Y,"__esModule",{value:!0}),Y.boolean=void 0,Y.boolean=function V({args:[u,x,te,H]}){if(null==x||0===x.length||null==te||0===te.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof u<"u"&&u?x:H&&null==u?H:te)}},5496:(ht,Y)=>{Object.defineProperty(Y,"__esModule",{value:!0}),Y.comment=void 0,Y.comment=function V({args:[u]}){return""}},5736:(ht,Y,V)=>{Object.defineProperty(Y,"__esModule",{value:!0}),Y.local_datetime=Y.datetime=Y.dateToLocalDayNum=void 0;const u=V(7268),x=function(J){const z=J.getUTCDay()-1;return z<0?6:z},te=[7,1,2,3,4,5,6];function H(J,z){return(te[J.getUTCDay()]+7-z)%7+1}Y.dateToLocalDayNum=H;const $=function(J,z,Ce){let Se="",Me=0;return z=z||0,Ce=String(void 0===Ce?" ":Ce),Me=z-String(J).length,Me>0&&(Se=[...Array(Me)].map(String.prototype.valueOf,Ce).join("")),Se+J};function G({cldr:J,args:[z=new Date,Ce],tzString:Se="UTC"}){if("number"==typeof z&&/^-?\d+$/.test(z.toString())&&(z=new Date(1e3*z)),!(z instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(J instanceof u.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Me=J.getDateTimeInfo();return"string"==typeof Ce&&/^(?:date|time|datetime|special)_format_/.test(Ce)&&(Ce=Me[Ce]),Ce||(Ce=Me.date_format_long),Ce.replace(/('[^']+')|(([a-zA-Z])\3*)/g,(function(Ie,je,Re){return je?function K(J){return J.substr(1,J.length-2)}(je):function j(J,z,Ce,Se){switch(Ce){case"yy":return Math.abs(J.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(J.getUTCFullYear()));case"MMMMM":return z.month_format_narrow[J.getUTCMonth()];case"LLLLL":return z.month_stand_alone_narrow[J.getUTCMonth()];case"MMMM":return z.month_format_wide[J.getUTCMonth()];case"LLLL":return z.month_stand_alone_wide[J.getUTCMonth()];case"MMM":return z.month_format_abbreviated[J.getUTCMonth()];case"LLL":return z.month_stand_alone_abbreviated[J.getUTCMonth()];case"MM":case"LL":return $((J.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(J.getUTCMonth()+1);case"EEEE":return z.day_format_wide[x(J)];case"EEE":case"EE":case"E":return z.day_format_abbreviated[x(J)];case"EEEEE":return z.day_format_narrow[x(J)];case"cccc":return z.day_stand_alone_wide[x(J)];case"ccc":return z.day_stand_alone_abbreviated[x(J)];case"cc":case"c":return String(H(J,Number(z.first_day_of_week)));case"ccccc":return z.day_stand_alone_narrow[x(J)];case"dd":return $(J.getUTCDate().toString(),2,"0");case"d":return String(J.getUTCDate());case"h":case"hh":{let Me=J.getUTCHours();Me>12&&(Me-=12),0===Me&&(Me=12);const Ie="hh"===Ce?$(Me.toString(),2,"0"):Me;return String(Ie)}case"H":return String(J.getUTCHours());case"HH":return $(J.getUTCHours().toString(),2,"0");case"m":return String(J.getUTCMinutes());case"mm":return $(J.getUTCMinutes().toString(),2,"0");case"s":return String(J.getUTCSeconds());case"ss":return $(J.getUTCSeconds().toString(),2,"0");case"a":return J.getUTCHours()<12?z.am_pm_abbreviated[0]:z.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return Se;case"G":case"GG":case"GGG":return z.era_abbreviated[J.getUTCFullYear()<0?0:1];case"GGGGG":return z.era_narrow[J.getUTCFullYear()<0?0:1];case"GGGG":return z.era_wide[J.getUTCFullYear()<0?0:1]}return Ce}(z,Me,Re,Se)}))}Y.datetime=G,Y.local_datetime=function Z({cldr:J,args:[z=new Date,Ce]}){if("number"==typeof z&&/^-?\d+$/.test(z.toString())&&(z=new Date(1e3*z)),!(z instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(J instanceof u.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Se=z.getTimezoneOffset();(z=new Date(z)).setMinutes(z.getMinutes()-Se);const Me=Se>0?"-":"+",Ie=Math.floor(Math.abs(Se)/60),je=Math.abs(Se%60);return G({cldr:J,args:[z,Ce],tzString:"GMT"+Me+$(Ie.toString(),2,"0")+$(je.toString(),2,"0")})}},6397:(ht,Y,V)=>{Object.defineProperty(Y,"__esModule",{value:!0}),Y.functions=void 0;const u=V(6049),x=V(2500),te=V(5496),H=V(6073),$=V(8994),G=V(5736),K=V(3365);Y.functions={asis:u.asis,output:x.output,comment:te.comment,boolean:H.boolean,numf:$.numf,numerate:$.numerate,quant:$.quant,format_bytes:$.format_bytes,datetime:G.datetime,local_datetime:G.local_datetime,list_and:K.list_and,list_or:K.list_or,list_or_quoted:K.list_or_quoted,list_and_quoted:K.list_and_quoted}},3365:(ht,Y)=>{function u(K,j,...Z){let J=Z.slice();switch(1===J.length&&Array.isArray(J[0])&&(J=J[0].slice()),(typeof J>"u"||0===J.length)&&(J=[""]),J=J.map((z=>function V(K,j){const Z=K.getDelimiters();return Z&&Object.prototype.hasOwnProperty.call(Z,"quotation_start")&&Object.prototype.hasOwnProperty.call(Z,"quotation_end")?Z.quotation_start+j+Z.quotation_end:j}(K,z))),j){case"list_and":return $({cldr:K,args:J});case"list_or":return G({cldr:K,args:J});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function H(K,j,...Z){let J=Z.slice();1===J.length&&Array.isArray(J[0])&&(J=J[0].slice());const z=J.length;let Ce,Se,Me,Ie;try{Ce=K.getFormats()[j]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const je=function(Re,qe){switch(qe){case"0":return Me;case"1":return J[Ie++]}};switch(z){case 0:return"";case 1:return String(J[0]);default:if(Me=2===z?Ce[2]:Ce.start,Me=Me.replace(/\{([01])\}/g,(function(Re,qe){return J[qe]})),2===z)return Me;for(Ie=2;Ie<z;)Se=Ce[Ie===z-1?"end":"middle"],Me=Se.replace(/\{([01])\}/g,je);return Me}}function $({cldr:K,args:[...j]}){return H(K,"list",...j)}function G({cldr:K,args:[...j]}){return H(K,"list_or",...j)}Object.defineProperty(Y,"__esModule",{value:!0}),Y.list_or=Y.list_and=Y.list_or_quoted=Y.list_and_quoted=void 0,Y.list_and_quoted=function x({cldr:K,args:[...j]}){return u(K,"list_and",...j)},Y.list_or_quoted=function te({cldr:K,args:[...j]}){return u(K,"list_or",...j)},Y.list_and=$,Y.list_or=G},2500:(ht,Y,V)=>{Object.defineProperty(Y,"__esModule",{value:!0}),Y.functions=Y.output=void 0;const u=V(9546),x=V(2353);Y.output=function te({args:[H,...$]}){if($&&"string"==typeof $[0]&&($[0]=$[0].replace(/chr\((\d+)\)/g,(function(G,K){return Y.functions.chr(Number(K))})),$[0]=$[0].replace(/amp\(\)/g,(function(){return Y.functions.amp()}))),"function"==typeof Y.functions[H])return Y.functions[H](...$);throw new Error(`Locale output function '${H}' is not implemented.`)},Y.functions={amp:()=>(0,u.htmlEscape)("&"),apos:()=>(0,u.htmlEscape)("'"),quot:()=>(0,u.htmlEscape)('"'),underline:H=>`<u>${H}</u>`,strong:H=>`<strong>${H}</strong>`,em:H=>`<em>${H}</em>`,abbr:(H,$)=>`<abbr title="${$}">${H}</abbr>`,acronym:(H,$)=>`<abbr title="${$}" class="initialism">${H}</abbr>`,class:(H,...$)=>`<span class="${$.join(" ")}">${H}</span>`,chr(H){if("string"==typeof H&&(H=Number(H)),"number"!=typeof H||isNaN(H))throw new Error("chr needs a number as argument");return(0,u.htmlEscape)(String.fromCharCode(H))},url(H,...$){let G,K;if("object"==typeof $[$.length-1])if(G=$[$.length-1],2===$.length){if(G.html)throw new Error("Cannot provide both text and configuration with html attribute");K=$[0]}else G&&G.html?(K=G.html,delete G.html):K=H;else $.length%2==0?(G=(0,x.listToObject)(...$),G&&"html"in G&&""!==G.html?(K=G.html,delete G.html):K=H):(K=$.shift(),G=(0,x.listToObject)(...$));"_type"in G&&"offsite"===G._type&&(G.class="offsite",G.target="_blank",delete G._type);let j=`<a href="${H}"`;if("object"==typeof G)for(const Z in G)Object.prototype.hasOwnProperty.call(G,Z)&&(j+=` ${Z}="${G[Z]}"`);return j+=`>${K}</a>`,j}}},8994:(ht,Y,V)=>{Object.defineProperty(Y,"__esModule",{value:!0}),Y.format_bytes=Y.numf=Y.quant=Y.numerate=void 0;const u=V(7268);function te({cldr:K,args:[j,...Z]}){if(!(K instanceof u.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let J,z=3;j instanceof Array?(z=j[1],J=j[0]):J=j;const Ce=K.getPluralForm(J,...Z),Se=Ce[0]?Ce[0]:Z[Z.length-1];if(Ce&&Ce.length>=2&&Ce[1])return Se;const Ie=$({cldr:K,args:[J,z]});return-1!==Se.indexOf("%s")?Se.replace(/%s/g,Ie):K.isRtl()?Se+" "+Ie:Ie+" "+Se}function $({cldr:K,args:[j,Z=6]}){if(!(K instanceof u.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(j.toString()))return String(j);const{decimalFormat:J,decimalGroup:z,decimalDecimal:Ce}=function H(K){const j={},Z=K.getFormats();return Object.prototype.hasOwnProperty.call(Z,"decimal")&&(j.decimalFormat=Z.decimal),Object.prototype.hasOwnProperty.call(Z,"_decimal_format_group")&&(j.decimalGroup=Z._decimal_format_group),Object.prototype.hasOwnProperty.call(Z,"_decimal_format_decimal")&&(j.decimalDecimal=Z._decimal_format_decimal),j}(K);if(!J||!z||!Ce)throw new Error("CLDR Data is missing information related to formatting decimals.");const Se=j<0;j=Math.abs(j);let Ie,je,Me=Math.floor(j);/(?!')\.(?!')/.test(j.toString())&&(Ie=String(j).replace(/^[^.]+/,"0"),Ie=Number(Ie).toFixed(Z),/^1/.test(Ie)?(Me++,j=Me,Ie=void 0):Ie=Ie.replace(/^.*\./,"").replace(/0+$/,"")),je=/(?!');(?!')/.test(J)?J.split(/(?!');(?!')/)[Se?1:0]:(Se?"-":"")+J;const rt=je.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let Tt;1===rt.length?Tt="":(rt.pop(),Tt=z);const At=String(Me).split("").reverse(),gt=[];let mt;const Yt=function(ee){switch(ee){case"#":return At.shift()||"";case"0":return At.shift()||"0"}};for(;At.length;){rt.length&&(mt=rt.shift());const ee=mt.replace(/(?!')[0#]|[0#](?!')/g,Yt).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");gt.push(ee)}const et=gt.join(Tt).split("").reverse().join("")+(Ie?Ce+Ie:"");return je.replace(/[0#].*[0#]/,et)}Y.numerate=function x({cldr:K,args:[j,...Z]}){if(!(K instanceof u.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const J=K.getPluralForm(j,...Z);return J?J[0]:Z[Z.length-1]},Y.quant=te,Y.numf=$,Y.format_bytes=function G({cldr:K,args:[j,Z=2]}){if(!(K instanceof u.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const J=["KB","MB","GB","TB","PB","EB","ZB","YB"],Ce=j&&Math.min(Math.floor(Math.log(j)/Math.log(1024)),J.length);return Ce?$({cldr:K,args:[j/Math.pow(1024,Ce),Z]})+" "+J[Ce-1]:te({cldr:K,args:[j,"%s byte","%s bytes"]})}},7367:(ht,Y,V)=>{Object.defineProperty(Y,"__esModule",{value:!0}),Y.maketext=Y.functions=Y.config=void 0;const u=V(6397);function $(G,K){const j=[];let Z=!1,J=!1;return G.forEach((z=>{if("_"===z.charAt(0))if("_*"===z){if(J)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";j.push(...K),Z=!0}else{const Ce=z.match(Y.config.underscoreDigitRe);if(Ce){if(Z)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[Se,Me]=Ce,Ie=Number(Me)-1;if(!(Ie in K))throw`The "${Se}" substitution argument was not passed to the maketext function.`;j.push(K[Ie]),J=!0}}else j.push(z)})),j}Y.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"",fauxCommaRe:new RegExp("","g"),tildeChars:new Set(["[","]","~"])},Y.functions={...u.functions},Y.maketext=function te({cldr:G,lexicon:K,template:j,args:Z}){if("string"!=typeof j)throw"You must pass a string template to the maketext function.";if(-1===(j=K&&K[j]||j).indexOf("["))return j;const J=j.match(Y.config.bracketRe)||[],z=[];let Ce=!1,Se="";if(J.forEach((Me=>{if("["===Me){if(Ce)throw Error(`Invalid maketext string: ${j} \nThe string contains nested brackets.`);Ce=!0}else if("]"===Me){if(!Ce)throw Error(`Invalid maketext string: ${j} \nThe string contains an unmatched closing bracket character (]).`);if(!Se)throw Error(`Invalid maketext string: ${j} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let Ie;Ce=!1;try{Ie=function H(G,K,j){let Z=K.split(",");if(Z=Z.map((Ce=>Ce.replace(Y.config.fauxCommaRe,","))),1===Z.length){if(!Y.config.underscoreDigitRe.test(Z[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[Ce]=$(Z,j);return String(Ce)}const J=Z.shift();if(!J||"function"!=typeof Y.functions[J])throw`Invalid function "${J}" in maketext string.`;const z=$(Z,j);return Y.functions[J]({cldr:G,args:z})}(G,Se,Z)}catch(je){throw Error(`Invalid maketext string: ${j} \n${je}`)}Se="",z.push(Ie)}else if("~"===Me.charAt(0)){const Ie=Me.charAt(1)||"~";Ce?Se+=","===Ie?Y.config.fauxComma:Ie:Y.config.tildeChars.has(Ie)?z.push(Ie):z.push(Me)}else Ce?Se+=Me:z.push(Me)})),Ce)throw Error(`Invalid maketext string: ${j} \nThe string contains an unmatched opening bracket character ([).`);return z.join("")}},9546:(ht,Y)=>{Object.defineProperty(Y,"__esModule",{value:!0}),Y.htmlEscape=Y.entityMap=void 0,Y.entityMap={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},Y.htmlEscape=function V(u){return String(u).replace(/[&<>"'\/]/g,(x=>Y.entityMap[x]))}},2353:(ht,Y)=>{Object.defineProperty(Y,"__esModule",{value:!0}),Y.listToObject=void 0,Y.listToObject=function x(...te){let H={};return function V(te){if(te.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let $=0,G=te.length;$<G;$+=2){const K=te[$];if("string"!=typeof K||""===K)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(te)&&(H=function u(te){const H=te.length,$={};let K,j,G=0;for(;G<H;)K=te[G],j=te[++G],$[K]=j,G++;return $}(te)),H}},7773:(ht,Y,V)=>{Object.defineProperty(Y,"__esModule",{value:!0}),Y.commonValidators=void 0;const u=V(5839);Y.commonValidators=new class x extends u.BaseValidator{constructor(){super(...arguments),this.prefix="common",this.STARTS_WITH_LETTER=/^[a-zA-Z]/,this.CONTAINS_SPACES=/^\S*$/}required(H){const $=H||this.locale.maketext("This field is required.");return G=>{let K={},j=G.value;return j&&(j=j.toString()),j&&j.length?null:(K=this.addError(K,"required",$),K)}}requiredTrue(H){const $=H||this.locale.maketext("This control's value should be true.");return G=>{let K={};return!0!==G.value?(K=this.addError(K,"requiredTrue",$),K):null}}startsWithLetter(H){return $=>{let G={};return $.value&&!this.STARTS_WITH_LETTER.test($.value)?(G=this.addError(G,"doesNotStartWithLetter",H),G):null}}containsSpaces(H){return $=>{let G={};return $.value&&!this.CONTAINS_SPACES.test($.value)?(G=this.addError(G,"containsSpace",H),G):null}}minLength(H,$){return G=>{let K={};return G.value&&G.value.length<$?(K=this.addError(K,"minLength",H),K):null}}maxLength(H,$){return G=>{let K={};return G.value&&G.value.length>$?(K=this.addError(K,"maxLength",H),K):null}}min(H,$){return G=>{let K={};return G.value&&G.value<$?(K=this.addError(K,"min",H),K):null}}max(H,$){return G=>{let K={};return G.value&&G.value>$?(K=this.addError(K,"max",H),K):null}}}},4304:(ht,Y,V)=>{Object.defineProperty(Y,"__esModule",{value:!0}),Y.cPUserNoteValidators=void 0;const u=V(5839),x=V(2185),H=/[^ \n\P{White_Space}]|[^ \n\P{Control}]|[^ \P{Separator}]/u;Y.cPUserNoteValidators=new class $ extends u.BaseValidator{constructor(){super(...arguments),this.prefix="note"}validate(K=250,j=""){return Z=>{let J=x.stringValidators.validUnicode()(Z);if(!J){const z=this.locale.maketext("This note is too long.");J=x.stringValidators.maxCharacterLength(z)(K,Z)}if(!J){const z=Z.match(H);if(z){J={};const Ce=z.index,Se=z[0].codePointAt(0);this.addError(J,"character",this.locale.maketext("[asis,Unicode] character [numf,_1] (position [numf,_2]) is forbidden.",Se,1+Ce))}}return J}}}},3046:(ht,Y,V)=>{Object.defineProperty(Y,"__esModule",{value:!0}),Y.cpanelUsernameValidators=void 0;const u=V(5839);Y.cpanelUsernameValidators=new class x extends u.BaseValidator{constructor(){super(...arguments),this.prefix="cpanelUsername",this.VALID_USERNAME=/^(?![-.0-9])[a-z0-9]{1,16}$/}cpanelUsername(H){const $=H||this.locale.maketext("This is not a valid username.");return G=>{let K={};return G.value&&!this.VALID_USERNAME.test(G.value)?(K=this.addError(K,"invalidUsername",$),K):null}}}},3481:(ht,Y,V)=>{Object.defineProperty(Y,"__esModule",{value:!0}),Y.databaseValidators=void 0;const u=V(5839),x=V(3322);Y.databaseValidators=new class te extends u.BaseValidator{constructor(){super(...arguments),this.prefix="databases",this._dbPrefix="",this.DATABASE_NAME_LENGTH_LIMIT=64,this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII=/[^\u0020-\u007e]/,this.MYSQL_DB_NAME_INVALID_CHARACTERS=/[`'"\/\\]/,this.MYSQL_DB_NAME_INVALID_CHARACTERS_LIST=["'",'"',"`","/","\\"],this.MYSQL_DB_NAME_WILDCARDS=/(_|%|\\)/g,this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS=50116,this.MYSQL_STARTED_ALLOWING_LONG_USERNAMES=1e5}get dbPrefix(){return this._dbPrefix}validateDatabaseName($,G,K){return j=>$===x.DatabaseType.MySQL?(this._dbPrefix=G||"",this.validateMySQLDatabaseName(j.value,K||"")):null}validateMySQLDatabaseName($,G){const K=this._performMySqlDatabaseNameValidation($,G);let j={};return K?(j=this.addError(j,"databaseName",K),j):null}_performMySqlDatabaseNameValidation($,G){let K=null;return K=this._verifyNameLengthLimit($),null!==K||(K=this._verifyDatabaseNameIgnoreLength($),null!==K)||(K=this._verifyDatabaseName($,G)),K}_verifyNameLengthLimit($){let G=null,K=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(K-=this._dbPrefix.length+1);const j=unescape(encodeURIComponent($)).length-K;return j>0&&(G={message:this.locale.maketext("This value is too long by [quant,_1,character,characters]. The maximum length is [quant,_2,character,characters].",j,K)}),G}_verifyDatabaseNameIgnoreLength($){return this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII.test($)?{message:this.locale.maketext("This system allows only printable [asis,ASCII] characters in database names.")}:this.MYSQL_DB_NAME_INVALID_CHARACTERS.test($)?{message:this.locale.maketext("This system prohibits the following [numerate,_1,character,characters] in database names: [list_or,_2]",3,this.MYSQL_DB_NAME_INVALID_CHARACTERS_LIST)}:null}_verifyDatabaseName($,G){if(null!==$&&$.endsWith(" "))return{message:this.locale.maketext("A [asis,MariaDB]/[asis,MySQL] database name cannot end with a space character.")};const K=this._verifySpecialWildcardsInDatabaseNames($);return null!==K?K:G&&this._convertVersionStringToNumber(G)<this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS&&/\./.test($)?{message:this.locale.maketext("This system’s [asis,MySQL] version ([_1]) prohibits the character “[_2]” in database names. Ask your administrator to upgrade to a [asis,MariaDB] or to a newer [asis,MySQL] version.",G,".")}:null}_convertVersionStringToNumber($){return $.match(/mariadb/i)&&($=$.replace(/^[^-]+-/,"")),parseInt($.replace(/-.*/,"").split(/\./).map((function(G){return G.padStart(2,"0")})).join(""),10)}_verifySpecialWildcardsInDatabaseNames($){if(null===$)return null;const G=$.replace(this.MYSQL_DB_NAME_WILDCARDS,"\\$1").length;let K=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(K-=this._dbPrefix.length+1);const j=G-K;return j>0?{message:this.locale.maketext("This database name has too many wildcard-sensitive characters ([list_and_quoted,_1]). The system stores each of these as two characters internally, up to a limit of [quant,_2,character,characters]. This name would take up [quant,_3,character,characters] of internal storage, which is [numf,_4] too many.",["\\","_","%"],K,G,j)}:null}}},9044:function(ht,Y,V){var u=this&&this.__importDefault||function(K){return K&&K.__esModule?K:{default:K}};Object.defineProperty(Y,"__esModule",{value:!0}),Y.domainValidators=void 0;const x=V(2706),te=u(V(9660)),H=u(V(9488)),$=V(5839);Y.domainValidators=new class G extends $.BaseValidator{constructor(){super(...arguments),this.prefix="domains",this.VALID_TLD_REGEX=/^[.][a-zA-Z0-9]+$/,this.VALID_IDN_TLD_REGEX=/^[.]xn--[a-zA-Z0-9-]+$/,this.MAX_DOMAIN_BYTES=254,this.MAX_LABEL_BYTES=63,this.UNICODE_ASCII_CUTOFF=127,this.NONINITIAL_LABEL_REGEX=/^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?$/,this.IPv4_REGEX=/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/,this.IPv6_REGEX=/((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))/}_getNonASCII(j){const Z=[],J=te.default.ucs2.decode(j);for(let z=0;z<J.length;z++)J[z]>this.UNICODE_ASCII_CUTOFF&&Z.push(te.default.ucs2.encode([J[z]]));return(0,H.default)(Z)}_validateLabelBasics(){return j=>{let Z={};if(j.value&&0!==j.value.length){if(j.value.length>this.MAX_LABEL_BYTES)Z=this.addError(Z,"length",{message:this.locale.maketext("A label must not exceed [quant,_1,character,characters].",this.MAX_LABEL_BYTES),MAX_LABEL_BYTES:this.MAX_LABEL_BYTES});else if("-"===j.value[0])Z=this.addError(Z,"charCondition",this.locale.maketext("A label must not begin with “[_1]”.","-"));else if("-"===j.value[j.value.length-1])Z=this.addError(Z,"charCondition",this.locale.maketext("A label must not end with “[_1]”.","-"));else if(te.default.toASCII(j.value).length>this.MAX_LABEL_BYTES){const J=this._getNonASCII(j.value);Z=this.addError(Z,"length",this.locale.maketext("The label’s [asis,Punycode] representation cannot exceed [quant,_1,byte,bytes]. (Non-[asis,ASCII] characters, like “[_2]”, require multiple characters to represent in [asis,Punycode].)",this.MAX_LABEL_BYTES,J[0]))}}else Z=this.addError(Z,"length",this.locale.maketext("A label must not be empty."));return Z}}validDomainLength(){return j=>{let Z={};if(j.value.length>this.MAX_DOMAIN_BYTES)return Z=this.addError(Z,"length",this.locale.maketext("The domain name cannot exceed [quant,_1,character,characters].",this.MAX_DOMAIN_BYTES)),Z;if(te.default.toASCII(j.value).length>this.MAX_DOMAIN_BYTES){const z=this._getNonASCII(j.value);return Z=this.addError(Z,"length",this.locale.maketext("The domain name’s [asis,Punycode] representation cannot exceed [quant,_1,character,characters]. (Non-[asis,ASCII] characters, like “[_2]”, require multiple characters to represent in [asis,Punycode].)",this.MAX_DOMAIN_BYTES,z[0])),Z}return null}}validateLabel(){return j=>(0,x.runValidationGroup)(j,[this._validateLabelBasics(),Z=>{let J={};return this.NONINITIAL_LABEL_REGEX.test(Z.value)||(J=this.addError(J,"charCondition",this.locale.maketext("The label must contain only the following characters: [list_and,_1].",["a-z","A-Z","0-9","-"]))),J}])}validateTLD(){return j=>{let Z={};return!this.VALID_TLD_REGEX.test(j.value)&&!this.VALID_IDN_TLD_REGEX.test(j.value)&&(Z=this.addError(Z,"tld",this.locale.maketext("The domain name must include a valid [output,acronym,TLD,Top Level Domain]."))),Z}}fqdn(){return j=>{const Z=j.value.split("."),J=Z[Z.length-1],z=Z[0],Ce=j.value,Se=[()=>{let Me={};const Ie=this.IPv4_REGEX.test(Ce),je=this.IPv6_REGEX.test(Ce);return Ie||je?Me=this.addError(Me,"ipAddr",this.locale.maketext("You [output,strong,must] enter a hostname.")):Z.length<2?Me=this.addError(Me,"oneDomain",this.locale.maketext("The domain name must include at least two labels.")):null},this.validDomainLength(),this.validateLabel().bind(this,{value:z}),this.validateTLD().bind(this,{value:"."+J})];return Z.forEach((Me=>{Se.push(this.validateLabel().bind(this,{value:Me}))})),(0,x.runValidationGroup)(j,Se)}}fqdnOrIP(){return j=>{const Z=(0,x.runValidationGroup)(j,[this.anyIP()]),J=j.value.split("."),z=J[J.length-1],Ce=J[0],Se=[Ie=>{let je={};return J.length<2&&(je=this.addError(je,"oneDomain",this.locale.maketext("The domain name must include at least two labels."))),je},this.validDomainLength(),this.validateLabel().bind(this,{value:Ce}),this.validateTLD().bind(this,{value:"."+z})];J.forEach((Ie=>{Se.push(this.validateLabel().bind(this,{value:Ie}))}));const Me=(0,x.runValidationGroup)(j,Se);return Z&&Me?{...Z,...Me}:null}}ipv4(){return j=>{let Z={};return j.value&&!this.IPv4_REGEX.test(j.value)?(Z=this.addError(Z,"ipv4",this.locale.maketext("Invalid [asis,IPv4] compatible address.")),Z):null}}ipv6(){return j=>{let Z={};return j.value&&!this.IPv6_REGEX.test(j.value)?(Z=this.addError(Z,"ipv6",this.locale.maketext("Invalid [asis,IPv6] compatible address.")),Z):null}}anyIP(){return j=>{let Z={};return!j.value||this.IPv4_REGEX.test(j.value)||this.IPv6_REGEX.test(j.value)?null:(Z=this.addError(Z,"anyIP",this.locale.maketext("Invalid [asis,IPv4] or [asis,IPv6] compatible address.")),Z)}}}},9978:(ht,Y,V)=>{Object.defineProperty(Y,"__esModule",{value:!0}),Y.emailValidators=void 0;const u=V(5839);Y.emailValidators=new class x extends u.BaseValidator{constructor(){super(...arguments),this.prefix="email",this.VALID_EMAIL=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/}validateEmail(H){const $=H||this.locale.maketext("Make sure to use a valid email format. For example, [asis,user@example.com].");return G=>{let K={};return G.value&&!this.VALID_EMAIL.test(G.value)?(K=this.addError(K,"invalidEmail",$),K):null}}}},7324:(ht,Y,V)=>{Object.defineProperty(Y,"__esModule",{value:!0}),Y.equalityValidators=void 0;const u=V(5839);Y.equalityValidators=new class x extends u.BaseValidator{constructor(){super(...arguments),this.prefix="equality"}equalTo(H,$,G){return K=>{const j=K.get($).value;let J={};return j===K.get(G).value&&""!==j?(J=this.addError(J,"equalFields",H),J):null}}}},7410:(ht,Y,V)=>{Y.uv=Y.md=void 0;V(7773);const te=V(9044);Object.defineProperty(Y,"md",{enumerable:!0,get:function(){return te.domainValidators}});const H=V(5839);Object.defineProperty(Y,"uv",{enumerable:!0,get:function(){return H.BaseValidator}});V(3481),V(3322),V(3046),V(9978),V(7324),V(4304),V(2185)},5839:(ht,Y)=>{Object.defineProperty(Y,"__esModule",{value:!0}),Y.BaseValidator=void 0;let V,u=!0;Y.BaseValidator=class te{constructor(){this.prefix="",V={maketext:$=>{throw"DEVELOPER: You must specify a locale engine through the static variable BaseValidator.locale = myLocaleEngine"}}}static set locale($){V=$}get locale(){return V}_buildKey($){return u?`cpanel.${this.prefix}.${$}`:$}static disablePrefixing(){u=!1}static enablePrefixing(){u=!0}addError($={},G,K){return"string"==typeof K&&(K={message:K}),$[this._buildKey(G)]=K,$}}},3322:(ht,Y)=>{Object.defineProperty(Y,"__esModule",{value:!0}),Y.DatabaseType=void 0;var V=function(u){return u.MySQL="MySQL",u.PostgreSQL="PostgreSQL",u}(V||(Y.DatabaseType=V={}))},7945:(ht,Y)=>{function te($){return"0x"+$.toString(16)}Object.defineProperty(Y,"__esModule",{value:!0}),Y.characterLength=void 0,Y.characterLength=function H($,G){let K=0;for(let j=0;j<$.length;j++){K++;const Z=$.charCodeAt(j);if(55296==(64512&Z)){if(j++,j===$.length)throw new Error(G.maketext("This string ends with an incomplete [asis,UTF-16] surrogate pair ([_1]).",te(Z)));const J=$.charCodeAt(j);if(56320!=(64512&J))throw new Error(G.maketext("This string contains an invalid [asis,UTF-16] surrogate pair ([join,~, ,_1]) at position [numf,_2].",[Z,J].map(te),j))}}return K}},2706:function(ht,Y,V){var u=this&&this.__importDefault||function(H){return H&&H.__esModule?H:{default:H}};Object.defineProperty(Y,"__esModule",{value:!0}),Y.runValidationGroup=void 0;const x=u(V(1281));Y.runValidationGroup=function te(H,$){const G={};return $.forEach((K=>{(0,x.default)(G,K(H))})),Object.keys(G).length?G:null}},2185:(ht,Y,V)=>{Object.defineProperty(Y,"__esModule",{value:!0}),Y.stringValidators=void 0;const u=V(5839),x=V(7945);Y.stringValidators=new class H extends u.BaseValidator{constructor(){super(...arguments),this.prefix="string"}validUnicode(){return G=>{try{(0,x.characterLength)(G,this.locale)}catch(K){const j={};return K instanceof Error&&this.addError(j,"unicode",K.message),j}return null}}maxCharacterLength(G){return(K,j)=>{if((0,x.characterLength)(j,this.locale)>K){const J={};return this.addError(J,"length",G),J}return null}}maxUTF8Length(G){return(K,j)=>{if(function te($){return unescape(encodeURIComponent($)).length}(j)>K){const Z={};return this.addError(Z,"length",G),Z}return null}}}},9969:(ht,Y,V)=>{V.d(Y,{FX:()=>Ke,If:()=>te,K2:()=>j,S6:()=>qe,hZ:()=>$,i0:()=>G,iF:()=>Z,kY:()=>Ce,kp:()=>H,sf:()=>ee,ui:()=>ge,wk:()=>J});var u=V(177),x=V(3953),te=function(se){return se[se.State=0]="State",se[se.Transition=1]="Transition",se[se.Sequence=2]="Sequence",se[se.Group=3]="Group",se[se.Animate=4]="Animate",se[se.Keyframes=5]="Keyframes",se[se.Style=6]="Style",se[se.Trigger=7]="Trigger",se[se.Reference=8]="Reference",se[se.AnimateChild=9]="AnimateChild",se[se.AnimateRef=10]="AnimateRef",se[se.Query=11]="Query",se[se.Stagger=12]="Stagger",se}(te||{});const H="*";function $(se,le){return{type:te.Trigger,name:se,definitions:le,options:{}}}function G(se,le=null){return{type:te.Animate,styles:le,timings:se}}function j(se,le=null){return{type:te.Sequence,steps:se,options:le}}function Z(se){return{type:te.Style,styles:se,offset:null}}function J(se,le,Ae){return{type:te.State,name:se,styles:le,options:Ae}}function Ce(se,le,Ae=null){return{type:te.Transition,expr:se,animation:le,options:Ae}}let qe=(()=>{class se{static#e=this.ɵfac=function(Qe){return new(Qe||se)};static#t=this.ɵprov=x.jDH({token:se,factory:()=>(0,x.WQX)(Tt),providedIn:"root"})}return se})();class rt{}let Tt=(()=>{class se extends qe{constructor(Ae,Qe){if(super(),this.animationModuleType=(0,x.WQX)(x.bc$,{optional:!0}),this._nextAnimationId=0,this._renderer=Ae.createRenderer(Qe.body,{id:"0",encapsulation:x.gXe.None,styles:[],data:{animation:[]}}),null===this.animationModuleType&&!function et(se){const le=se.ɵtype;return 0===le||1===le}(this._renderer))throw new x.wOt(3600,!1)}build(Ae){const Qe=this._nextAnimationId;this._nextAnimationId++;const Ht=Array.isArray(Ae)?j(Ae):Ae;return mt(this._renderer,null,Qe,"register",[Ht]),new At(Qe,this._renderer)}static#e=this.ɵfac=function(Qe){return new(Qe||se)(x.KVO(x._9s),x.KVO(u.qQ))};static#t=this.ɵprov=x.jDH({token:se,factory:se.ɵfac,providedIn:"root"})}return se})();class At extends rt{constructor(le,Ae){super(),this._id=le,this._renderer=Ae}create(le,Ae){return new gt(this._id,le,Ae||{},this._renderer)}}class gt{constructor(le,Ae,Qe,Ht){this.id=le,this.element=Ae,this._renderer=Ht,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",Qe)}_listen(le,Ae){return this._renderer.listen(this.element,`@@${this.id}:${le}`,Ae)}_command(le,...Ae){mt(this._renderer,this.element,this.id,le,Ae)}onDone(le){this._listen("done",le)}onStart(le){this._listen("start",le)}onDestroy(le){this._listen("destroy",le)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(le){this._command("setPosition",le)}getPosition(){return function Yt(se){const le=se.ɵtype;return 0===le?se:1===le?se.animationRenderer:null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}}function mt(se,le,Ae,Qe,Ht){se.setProperty(le,`@@${Ae}:${Qe}`,Ht)}class ee{constructor(le=0,Ae=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=le+Ae}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((le=>le())),this._onDoneFns=[])}onStart(le){this._originalOnStartFns.push(le),this._onStartFns.push(le)}onDone(le){this._originalOnDoneFns.push(le),this._onDoneFns.push(le)}onDestroy(le){this._onDestroyFns.push(le)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask((()=>this._onFinish()))}_onStart(){this._onStartFns.forEach((le=>le())),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((le=>le())),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(le){this._position=this.totalTime?le*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(le){const Ae="start"==le?this._onStartFns:this._onDoneFns;Ae.forEach((Qe=>Qe())),Ae.length=0}}class ge{constructor(le){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=le;let Ae=0,Qe=0,Ht=0;const Nn=this.players.length;0==Nn?queueMicrotask((()=>this._onFinish())):this.players.forEach((en=>{en.onDone((()=>{++Ae==Nn&&this._onFinish()})),en.onDestroy((()=>{++Qe==Nn&&this._onDestroy()})),en.onStart((()=>{++Ht==Nn&&this._onStart()}))})),this.totalTime=this.players.reduce(((en,xn)=>Math.max(en,xn.totalTime)),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((le=>le())),this._onDoneFns=[])}init(){this.players.forEach((le=>le.init()))}onStart(le){this._onStartFns.push(le)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((le=>le())),this._onStartFns=[])}onDone(le){this._onDoneFns.push(le)}onDestroy(le){this._onDestroyFns.push(le)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((le=>le.play()))}pause(){this.players.forEach((le=>le.pause()))}restart(){this.players.forEach((le=>le.restart()))}finish(){this._onFinish(),this.players.forEach((le=>le.finish()))}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((le=>le.destroy())),this._onDestroyFns.forEach((le=>le())),this._onDestroyFns=[])}reset(){this.players.forEach((le=>le.reset())),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(le){const Ae=le*this.totalTime;this.players.forEach((Qe=>{const Ht=Qe.totalTime?Math.min(1,Ae/Qe.totalTime):1;Qe.setPosition(Ht)}))}getPosition(){const le=this.players.reduce(((Ae,Qe)=>null===Ae||Qe.totalTime>Ae.totalTime?Qe:Ae),null);return null!=le?le.getPosition():0}beforeDestroy(){this.players.forEach((le=>{le.beforeDestroy&&le.beforeDestroy()}))}triggerCallback(le){const Ae="start"==le?this._onStartFns:this._onDoneFns;Ae.forEach((Qe=>Qe())),Ae.length=0}}const Ke="!"},177:(ht,Y,V)=>{V.d(Y,{AJ:()=>ki,B3:()=>Ri,MD:()=>Ko,N0:()=>ms,QT:()=>te,Sm:()=>je,Sq:()=>_r,T3:()=>Fi,UE:()=>to,VF:()=>$,Vy:()=>or,Xr:()=>mi,YU:()=>Jr,ZD:()=>H,_b:()=>Tr,aZ:()=>qe,bT:()=>Ai,fw:()=>Re,hb:()=>Me,hj:()=>Z,kB:()=>Ie,qQ:()=>K});var u=V(3953);let x=null;function te(){return x}function H(m){x??=m}class ${}const K=new u.nKC("");let j=(()=>{class m{historyGo(v){throw new Error("")}static#e=this.ɵfac=function(M){return new(M||m)};static#t=this.ɵprov=u.jDH({token:m,factory:()=>(0,u.WQX)(J),providedIn:"platform"})}return m})();const Z=new u.nKC("");let J=(()=>{class m extends j{constructor(){super(),this._doc=(0,u.WQX)(K),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return te().getBaseHref(this._doc)}onPopState(v){const M=te().getGlobalEventTarget(this._doc,"window");return M.addEventListener("popstate",v,!1),()=>M.removeEventListener("popstate",v)}onHashChange(v){const M=te().getGlobalEventTarget(this._doc,"window");return M.addEventListener("hashchange",v,!1),()=>M.removeEventListener("hashchange",v)}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(v){this._location.pathname=v}pushState(v,M,R){this._history.pushState(v,M,R)}replaceState(v,M,R){this._history.replaceState(v,M,R)}forward(){this._history.forward()}back(){this._history.back()}historyGo(v=0){this._history.go(v)}getState(){return this._history.state}static#e=this.ɵfac=function(M){return new(M||m)};static#t=this.ɵprov=u.jDH({token:m,factory:()=>new m,providedIn:"platform"})}return m})();function z(m,b){if(0==m.length)return b;if(0==b.length)return m;let v=0;return m.endsWith("/")&&v++,b.startsWith("/")&&v++,2==v?m+b.substring(1):1==v?m+b:m+"/"+b}function Ce(m){const b=m.match(/#|\?|$/),v=b&&b.index||m.length;return m.slice(0,v-("/"===m[v-1]?1:0))+m.slice(v)}function Se(m){return m&&"?"!==m[0]?"?"+m:m}let Me=(()=>{class m{historyGo(v){throw new Error("")}static#e=this.ɵfac=function(M){return new(M||m)};static#t=this.ɵprov=u.jDH({token:m,factory:()=>(0,u.WQX)(je),providedIn:"root"})}return m})();const Ie=new u.nKC("");let je=(()=>{class m extends Me{constructor(v,M){super(),this._platformLocation=v,this._removeListenerFns=[],this._baseHref=M??this._platformLocation.getBaseHrefFromDOM()??(0,u.WQX)(K).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(v){this._removeListenerFns.push(this._platformLocation.onPopState(v),this._platformLocation.onHashChange(v))}getBaseHref(){return this._baseHref}prepareExternalUrl(v){return z(this._baseHref,v)}path(v=!1){const M=this._platformLocation.pathname+Se(this._platformLocation.search),R=this._platformLocation.hash;return R&&v?`${M}${R}`:M}pushState(v,M,R,re){const he=this.prepareExternalUrl(R+Se(re));this._platformLocation.pushState(v,M,he)}replaceState(v,M,R,re){const he=this.prepareExternalUrl(R+Se(re));this._platformLocation.replaceState(v,M,he)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(v=0){this._platformLocation.historyGo?.(v)}static#e=this.ɵfac=function(M){return new(M||m)(u.KVO(j),u.KVO(Ie,8))};static#t=this.ɵprov=u.jDH({token:m,factory:m.ɵfac,providedIn:"root"})}return m})(),Re=(()=>{class m extends Me{constructor(v,M){super(),this._platformLocation=v,this._baseHref="",this._removeListenerFns=[],null!=M&&(this._baseHref=M)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(v){this._removeListenerFns.push(this._platformLocation.onPopState(v),this._platformLocation.onHashChange(v))}getBaseHref(){return this._baseHref}path(v=!1){const M=this._platformLocation.hash??"#";return M.length>0?M.substring(1):M}prepareExternalUrl(v){const M=z(this._baseHref,v);return M.length>0?"#"+M:M}pushState(v,M,R,re){let he=this.prepareExternalUrl(R+Se(re));0==he.length&&(he=this._platformLocation.pathname),this._platformLocation.pushState(v,M,he)}replaceState(v,M,R,re){let he=this.prepareExternalUrl(R+Se(re));0==he.length&&(he=this._platformLocation.pathname),this._platformLocation.replaceState(v,M,he)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(v=0){this._platformLocation.historyGo?.(v)}static#e=this.ɵfac=function(M){return new(M||m)(u.KVO(j),u.KVO(Ie,8))};static#t=this.ɵprov=u.jDH({token:m,factory:m.ɵfac})}return m})(),qe=(()=>{class m{constructor(v){this._subject=new u.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=v;const M=this._locationStrategy.getBaseHref();this._basePath=function gt(m){if(new RegExp("^(https?:)?//").test(m)){const[,v]=m.split(/\/\/[^\/]+/);return v}return m}(Ce(At(M))),this._locationStrategy.onPopState((R=>{this._subject.emit({url:this.path(!0),pop:!0,state:R.state,type:R.type})}))}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(v=!1){return this.normalize(this._locationStrategy.path(v))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(v,M=""){return this.path()==this.normalize(v+Se(M))}normalize(v){return m.stripTrailingSlash(function Tt(m,b){if(!m||!b.startsWith(m))return b;const v=b.substring(m.length);return""===v||["/",";","?","#"].includes(v[0])?v:b}(this._basePath,At(v)))}prepareExternalUrl(v){return v&&"/"!==v[0]&&(v="/"+v),this._locationStrategy.prepareExternalUrl(v)}go(v,M="",R=null){this._locationStrategy.pushState(R,"",v,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+Se(M)),R)}replaceState(v,M="",R=null){this._locationStrategy.replaceState(R,"",v,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+Se(M)),R)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(v=0){this._locationStrategy.historyGo?.(v)}onUrlChange(v){return this._urlChangeListeners.push(v),this._urlChangeSubscription??=this.subscribe((M=>{this._notifyUrlChangeListeners(M.url,M.state)})),()=>{const M=this._urlChangeListeners.indexOf(v);this._urlChangeListeners.splice(M,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(v="",M){this._urlChangeListeners.forEach((R=>R(v,M)))}subscribe(v,M,R){return this._subject.subscribe({next:v,error:M,complete:R})}static#e=this.normalizeQueryParams=Se;static#t=this.joinWithSlash=z;static#n=this.stripTrailingSlash=Ce;static#r=this.ɵfac=function(M){return new(M||m)(u.KVO(Me))};static#i=this.ɵprov=u.jDH({token:m,factory:()=>function rt(){return new qe((0,u.KVO)(Me))}(),providedIn:"root"})}return m})();function At(m){return m.replace(/\/index.html$/,"")}function Tr(m,b){b=encodeURIComponent(b);for(const v of m.split(";")){const M=v.indexOf("="),[R,re]=-1==M?[v,""]:[v.slice(0,M),v.slice(M+1)];if(R.trim()===b)return decodeURIComponent(re)}return null}const at=/\s+/,on=[];let Jr=(()=>{class m{constructor(v,M){this._ngEl=v,this._renderer=M,this.initialClasses=on,this.stateMap=new Map}set klass(v){this.initialClasses=null!=v?v.trim().split(at):on}set ngClass(v){this.rawClass="string"==typeof v?v.trim().split(at):v}ngDoCheck(){for(const M of this.initialClasses)this._updateState(M,!0);const v=this.rawClass;if(Array.isArray(v)||v instanceof Set)for(const M of v)this._updateState(M,!0);else if(null!=v)for(const M of Object.keys(v))this._updateState(M,!!v[M]);this._applyStateDiff()}_updateState(v,M){const R=this.stateMap.get(v);void 0!==R?(R.enabled!==M&&(R.changed=!0,R.enabled=M),R.touched=!0):this.stateMap.set(v,{enabled:M,changed:!0,touched:!0})}_applyStateDiff(){for(const v of this.stateMap){const M=v[0],R=v[1];R.changed?(this._toggleClass(M,R.enabled),R.changed=!1):R.touched||(R.enabled&&this._toggleClass(M,!1),this.stateMap.delete(M)),R.touched=!1}}_toggleClass(v,M){(v=v.trim()).length>0&&v.split(at).forEach((R=>{M?this._renderer.addClass(this._ngEl.nativeElement,R):this._renderer.removeClass(this._ngEl.nativeElement,R)}))}static#e=this.ɵfac=function(M){return new(M||m)(u.rXU(u.aKT),u.rXU(u.sFG))};static#t=this.ɵdir=u.FsC({type:m,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return m})();class Ir{constructor(b,v,M,R){this.$implicit=b,this.ngForOf=v,this.index=M,this.count=R}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 _r=(()=>{class m{set ngForOf(v){this._ngForOf=v,this._ngForOfDirty=!0}set ngForTrackBy(v){this._trackByFn=v}get ngForTrackBy(){return this._trackByFn}constructor(v,M,R){this._viewContainer=v,this._template=M,this._differs=R,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(v){v&&(this._template=v)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const v=this._ngForOf;!this._differ&&v&&(this._differ=this._differs.find(v).create(this.ngForTrackBy))}if(this._differ){const v=this._differ.diff(this._ngForOf);v&&this._applyChanges(v)}}_applyChanges(v){const M=this._viewContainer;v.forEachOperation(((R,re,he)=>{if(null==R.previousIndex)M.createEmbeddedView(this._template,new Ir(R.item,this._ngForOf,-1,-1),null===he?void 0:he);else if(null==he)M.remove(null===re?void 0:re);else if(null!==re){const Te=M.get(re);M.move(Te,he),jr(Te,R)}}));for(let R=0,re=M.length;R<re;R++){const Te=M.get(R).context;Te.index=R,Te.count=re,Te.ngForOf=this._ngForOf}v.forEachIdentityChange((R=>{jr(M.get(R.currentIndex),R)}))}static ngTemplateContextGuard(v,M){return!0}static#e=this.ɵfac=function(M){return new(M||m)(u.rXU(u.c1b),u.rXU(u.C4Q),u.rXU(u._q3))};static#t=this.ɵdir=u.FsC({type:m,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return m})();function jr(m,b){m.context.$implicit=b.item}let Ai=(()=>{class m{constructor(v,M){this._viewContainer=v,this._context=new mo,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=M}set ngIf(v){this._context.$implicit=this._context.ngIf=v,this._updateView()}set ngIfThen(v){$r("ngIfThen",v),this._thenTemplateRef=v,this._thenViewRef=null,this._updateView()}set ngIfElse(v){$r("ngIfElse",v),this._elseTemplateRef=v,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(v,M){return!0}static#e=this.ɵfac=function(M){return new(M||m)(u.rXU(u.c1b),u.rXU(u.C4Q))};static#t=this.ɵdir=u.FsC({type:m,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return m})();class mo{constructor(){this.$implicit=null,this.ngIf=null}}function $r(m,b){if(b&&!b.createEmbeddedView)throw new Error(`${m} must be a TemplateRef, but received '${(0,u.Tbb)(b)}'.`)}let Ri=(()=>{class m{constructor(v,M,R){this._ngEl=v,this._differs=M,this._renderer=R,this._ngStyle=null,this._differ=null}set ngStyle(v){this._ngStyle=v,!this._differ&&v&&(this._differ=this._differs.find(v).create())}ngDoCheck(){if(this._differ){const v=this._differ.diff(this._ngStyle);v&&this._applyChanges(v)}}_setStyle(v,M){const[R,re]=v.split("."),he=-1===R.indexOf("-")?void 0:u.czy.DashCase;null!=M?this._renderer.setStyle(this._ngEl.nativeElement,R,re?`${M}${re}`:M,he):this._renderer.removeStyle(this._ngEl.nativeElement,R,he)}_applyChanges(v){v.forEachRemovedItem((M=>this._setStyle(M.key,null))),v.forEachAddedItem((M=>this._setStyle(M.key,M.currentValue))),v.forEachChangedItem((M=>this._setStyle(M.key,M.currentValue)))}static#e=this.ɵfac=function(M){return new(M||m)(u.rXU(u.aKT),u.rXU(u.MKu),u.rXU(u.sFG))};static#t=this.ɵdir=u.FsC({type:m,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return m})(),Fi=(()=>{class m{constructor(v){this._viewContainerRef=v,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(v){if(this._shouldRecreateView(v)){const M=this._viewContainerRef;if(this._viewRef&&M.remove(M.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const R=this._createContextForwardProxy();this._viewRef=M.createEmbeddedView(this.ngTemplateOutlet,R,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(v){return!!v.ngTemplateOutlet||!!v.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(v,M,R)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,M,R),get:(v,M,R)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,M,R)}})}static#e=this.ɵfac=function(M){return new(M||m)(u.rXU(u.c1b))};static#t=this.ɵdir=u.FsC({type:m,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[u.OA$]})}return m})(),Ko=(()=>{class m{static#e=this.ɵfac=function(M){return new(M||m)};static#t=this.ɵmod=u.$C({type:m});static#n=this.ɵinj=u.G2t({})}return m})();const ki="browser",_o="server";function to(m){return m===ki}function or(m){return m===_o}let mi=(()=>{class m{static#e=this.ɵprov=(0,u.jDH)({token:m,providedIn:"root",factory:()=>to((0,u.WQX)(u.Agw))?new Oo((0,u.WQX)(K),window):new yo})}return m})();class Oo{constructor(b,v){this.document=b,this.window=v,this.offset=()=>[0,0]}setOffset(b){this.offset=Array.isArray(b)?()=>b:b}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(b){this.window.scrollTo(b[0],b[1])}scrollToAnchor(b){const v=function gs(m,b){const v=m.getElementById(b)||m.getElementsByName(b)[0];if(v)return v;if("function"==typeof m.createTreeWalker&&m.body&&"function"==typeof m.body.attachShadow){const M=m.createTreeWalker(m.body,NodeFilter.SHOW_ELEMENT);let R=M.currentNode;for(;R;){const re=R.shadowRoot;if(re){const he=re.getElementById(b)||re.querySelector(`[name="${b}"]`);if(he)return he}R=M.nextNode()}}return null}(this.document,b);v&&(this.scrollToElement(v),v.focus())}setHistoryScrollRestoration(b){this.window.history.scrollRestoration=b}scrollToElement(b){const v=b.getBoundingClientRect(),M=v.left+this.window.pageXOffset,R=v.top+this.window.pageYOffset,re=this.offset();this.window.scrollTo(M-re[0],R-re[1])}}class yo{setOffset(b){}getScrollPosition(){return[0,0]}scrollToPosition(b){}scrollToAnchor(b){}setHistoryScrollRestoration(b){}}class ms{}},3953:(ht,Y,V)=>{function u(e,t){return Object.is(e,t)}V.d(Y,{bc$:()=>mb,iLQ:()=>qd,sZ2:()=>$u,hnV:()=>TE,Hbi:()=>HN,o8S:()=>ps,BIS:()=>_b,gRc:()=>HE,Ql9:()=>dN,OM3:()=>Hc,Ocv:()=>yN,Z63:()=>wi,aKT:()=>mc,uvJ:()=>ci,zcH:()=>ks,bkB:()=>cs,$GK:()=>yt,nKC:()=>Xe,zZn:()=>Yr,_q3:()=>yg,MKu:()=>vg,xe9:()=>dg,Co$:()=>Tv,Vns:()=>xa,SKi:()=>An,Xx1:()=>zr,Agw:()=>Hu,PLl:()=>e_,sFG:()=>lT,_9s:()=>Yf,czy:()=>nd,kdw:()=>oi,C4Q:()=>Rc,NYb:()=>iN,giA:()=>bE,RxE:()=>_E,c1b:()=>vd,gXe:()=>Lo,mal:()=>Td,L39:()=>Cx,EWP:()=>Ex,Ol2:()=>fp,w6W:()=>JT,oH4:()=>UE,SmG:()=>IN,Rfq:()=>wo,WQX:()=>pe,naY:()=>TN,QuC:()=>Cr,EmA:()=>Os,fpN:()=>$N,HJs:()=>Ox,N4e:()=>PD,vPA:()=>cv,O8t:()=>Dx,H3F:()=>yE,zAP:()=>pD,H8p:()=>rc,KH2:()=>kl,TgB:()=>ba,wOt:()=>De,WHO:()=>DE,e01:()=>ME,H5H:()=>Bp,Zy3:()=>Ar,mq5:()=>xC,JZv:()=>an,LfX:()=>$l,plB:()=>ea,jNT:()=>ag,zjR:()=>SE,TL$:()=>pb,Tbb:()=>Sn,Vt3:()=>up,GFd:()=>Sv,OA$:()=>ph,Jv_:()=>$w,aNF:()=>Hw,R7$:()=>X_,BMQ:()=>Sp,HbH:()=>yC,ZvI:()=>bC,AVh:()=>Np,wni:()=>gw,VBU:()=>tt,FsC:()=>Tn,jDH:()=>Lt,G2t:()=>Vi,$C:()=>Ve,EJ8:()=>mn,rXU:()=>dl,nrm:()=>Lp,eu8:()=>Vp,bVm:()=>kd,qex:()=>Fd,k0s:()=>Rd,j41:()=>xd,RV6:()=>AC,xGo:()=>ym,Mr5:()=>Up,KVO:()=>ct,kS0:()=>ku,QTQ:()=>Z_,bIt:()=>Hp,lsd:()=>yw,XpG:()=>iw,SdG:()=>sw,NAR:()=>ow,Y8G:()=>Pp,FS9:()=>zp,Mz_:()=>jd,lJ4:()=>Ww,eq3:()=>qw,l_i:()=>Kw,sMw:()=>Qw,mGM:()=>_w,sdS:()=>vw,Njj:()=>zg,eBV:()=>Gg,npT:()=>M_,B4B:()=>ff,n$t:()=>S_,DNE:()=>gp,C5r:()=>tE,EFF:()=>Ow,JRh:()=>qp,SpI:()=>$d,Lme:()=>Kp,DH7:()=>Vw,mxI:()=>Xp,R50:()=>Qp,GBs:()=>mw});let x=null,te=!1,H=1;const $=Symbol("SIGNAL");function G(e){const t=x;return x=e,t}const J={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function z(e){if(te)throw new Error("");if(null===x)return;x.consumerOnSignalRead(e);const t=x.nextProducerIndex++;Yt(x),t<x.producerNode.length&&x.producerNode[t]!==e&&mt(x)&>(x.producerNode[t],x.producerIndexOfThis[t]),x.producerNode[t]!==e&&(x.producerNode[t]=e,x.producerIndexOfThis[t]=mt(x)?At(e,x,t):0),x.producerLastReadVersion[t]=e.version}function Se(e){if((!mt(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==H)){if(!e.producerMustRecompute(e)&&!rt(e))return e.dirty=!1,void(e.lastCleanEpoch=H);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=H}}function Me(e){if(void 0===e.liveConsumerNode)return;const t=te;te=!0;try{for(const n of e.liveConsumerNode)n.dirty||je(n)}finally{te=t}}function Ie(){return!1!==x?.consumerAllowSignalWrites}function je(e){e.dirty=!0,Me(e),e.consumerMarkedDirty?.(e)}function Re(e){return e&&(e.nextProducerIndex=0),G(e)}function qe(e,t){if(G(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(mt(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)gt(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function rt(e){Yt(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Se(n),r!==n.version))return!0}return!1}function Tt(e){if(Yt(e),mt(e))for(let t=0;t<e.producerNode.length;t++)gt(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function At(e,t,n){if(et(e),0===e.liveConsumerNode.length&&ee(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=At(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function gt(e,t){if(et(e),1===e.liveConsumerNode.length&&ee(e))for(let r=0;r<e.producerNode.length;r++)gt(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],i=e.liveConsumerNode[t];Yt(i),i.producerIndexOfThis[r]=t}}function mt(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Yt(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function et(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function ee(e){return void 0!==e.producerNode}const Ke=Symbol("UNSET"),se=Symbol("COMPUTING"),le=Symbol("ERRORED"),Ae={...J,value:Ke,dirty:!0,error:null,equal:u,producerMustRecompute:e=>e.value===Ke||e.value===se,producerRecomputeValue(e){if(e.value===se)throw new Error("Detected cycle in computations.");const t=e.value;e.value=se;const n=Re(e);let r;try{r=e.computation()}catch(i){r=le,e.error=i}finally{qe(e,n)}t!==Ke&&t!==le&&r!==le&&e.equal(t,r)?e.value=t:(e.value=r,e.version++)}};let Ht=function Qe(){throw new Error};function Nn(){Ht()}let xn=null;function vn(e,t){Ie()||Nn(),e.equal(e.value,t)||(e.value=t,function Fr(e){e.version++,function Ce(){H++}(),Me(e),xn?.()}(e))}const kn={...J,equal:u,value:void 0};var Zt=V(4412),wn=V(1413),Ln=V(8359),En=V(6354);typeof navigator<"u"&&navigator,typeof navigator<"u"&&!/Opera/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||navigator),typeof navigator<"u"&&!/Opera|WebKit/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&navigator;const Po="https://g.co/ng/security#xss";class De extends Error{constructor(t,n){super(Ar(t,n)),this.code=t}}function Ar(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function ri(e){return{toString:e}.toString()}const sr="__parameters__";function Nr(e,t,n){return ri((()=>{const r=function qn(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...a){if(this instanceof i)return r.apply(this,a),this;const c=new i(...a);return h.annotation=c,h;function h(g,C,E){const P=g.hasOwnProperty(sr)?g[sr]:Object.defineProperty(g,sr,{value:[]})[sr];for(;P.length<=E;)P.push(null);return(P[E]=P[E]||[]).push(c),g}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}))}const an=globalThis;function St(e){for(let t in e)if(e[t]===St)return t;throw Error("Could not find renamed property on target object.")}function oa(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Sn(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Sn).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Co(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Yo=St({__forward_ref__:St});function wo(e){return e.__forward_ref__=wo,e.toString=function(){return Sn(this())},e}function $e(e){return yi(e)?e():e}function yi(e){return"function"==typeof e&&e.hasOwnProperty(Yo)&&e.__forward_ref__===wo}function Lt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Vi(e){return{providers:e.providers||[],imports:e.imports||[]}}function Jo(e){return Hs(e,xo)||Hs(e,ys)}function $l(e){return null!==Jo(e)}function Hs(e,t){return e.hasOwnProperty(t)?e[t]:null}function Gs(e){return e&&(e.hasOwnProperty(ca)||e.hasOwnProperty(zs))?e[ca]:null}const xo=St({"ɵprov":St}),ca=St({"ɵinj":St}),ys=St({ngInjectableDef:St}),zs=St({ngInjectorDef:St});class Xe{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.ɵprov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.ɵprov=Lt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function ua(e){return e&&!!e.ɵproviders}const Ro=St({"ɵcmp":St}),Es=St({"ɵdir":St}),ts=St({"ɵpipe":St}),da=St({"ɵmod":St}),Ui=St({"ɵfac":St}),Bi=St({__NG_ELEMENT_ID__:St}),Ws=St({__NG_ENV_ID__:St});function Ye(e){return"string"==typeof e?e:null==e?"":String(e)}function Ks(e,t){throw new De(-201,!1)}var yt=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}(yt||{});let Ds;function ha(){return Ds}function gn(e){const t=Ds;return Ds=e,t}function Kt(e,t,n){const r=Jo(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&yt.Optional?null:void 0!==t?t:void Ks()}const Ms={},vi="__NG_DI_FLAG__",m="ngTempTokenPath",v=/\n/gm,R="__source";let re;function Te(e){const t=re;return re=e,t}function Et(e,t=yt.Default){if(void 0===re)throw new De(-203,!1);return null===re?Kt(e,void 0,t):re.get(e,t&yt.Optional?null:void 0,t)}function ct(e,t=yt.Default){return(ha()||Et)($e(e),t)}function pe(e,t=yt.Default){return ct(e,Qt(t))}function Qt(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Nt(e){const t=[];for(let n=0;n<e.length;n++){const r=$e(e[n]);if(Array.isArray(r)){if(0===r.length)throw new De(900,!1);let i,a=yt.Default;for(let c=0;c<r.length;c++){const h=r[c],g=$i(h);"number"==typeof g?-1===g?i=h.token:a|=g:i=h}t.push(ct(i,a))}else t.push(ct(r))}return t}function nn(e,t){return e[vi]=t,e.prototype[vi]=t,e}function $i(e){return e[vi]}const zr=nn(Nr("Optional"),8),oi=nn(Nr("SkipSelf"),4);function ko(e,t){return e.hasOwnProperty(Ui)?e[Ui]:null}function Qs(e,t){e.forEach((n=>Array.isArray(n)?Qs(n,t):t(n)))}function bs(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ns(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function qr(e,t,n){let r=Ss(e,t);return r>=0?e[1|r]=n:(r=~r,function Xl(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function $a(e,t){const n=Ss(e,t);if(n>=0)return e[1|n]}function Ss(e,t){return function Zl(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const a=r+(i-r>>1),c=e[a<<n];if(t===c)return a<<n;c>t?i=a:r=a+1}return~(i<<n)}(e,t,1)}const ao={},kt=[],wi=new Xe(""),Jl=new Xe("",-1),pa=new Xe("");class ga{get(t,n=Ms){if(n===Ms){const r=new Error(`NullInjectorError: No provider for ${Sn(t)}!`);throw r.name="NullInjectorError",r}return n}}var ma=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ma||{}),Lo=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Lo||{}),lo=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(lo||{});function _a(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const a=t.length;if(i+a===r||e.charCodeAt(i+a)<=32)return i}n=i+1}}function Ts(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const a=n[r++],c=n[r++],h=n[r++];e.setAttribute(t,c,h,a)}else{const a=i,c=n[++r];Ga(a)?e.setProperty(t,a,c):e.setAttribute(t,a,c),r++}}return r}function Ha(e){return 3===e||4===e||6===e}function Ga(e){return 64===e.charCodeAt(0)}function Xs(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||ec(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function ec(e,t,n,r,i){let a=0,c=e.length;if(-1===t)c=-1;else for(;a<e.length;){const h=e[a++];if("number"==typeof h){if(h===t){c=-1;break}if(h>t){c=a-1;break}}}for(;a<e.length;){const h=e[a];if("number"==typeof h)break;if(h===n){if(null===r)return void(null!==i&&(e[a+1]=i));if(r===e[a+1])return void(e[a+2]=i)}a++,null!==r&&a++,null!==i&&a++}-1!==c&&(e.splice(c,0,t),a=c+1),e.splice(a++,0,n),null!==r&&e.splice(a++,0,r),null!==i&&e.splice(a++,0,i)}const tc="ng-template";function oh(e,t,n,r){let i=0;if(r){for(;i<t.length&&"string"==typeof t[i];i+=2)if("class"===t[i]&&-1!==_a(t[i+1].toLowerCase(),n,0))return!0}else if(nc(e))return!1;if(i=t.indexOf(1,i),i>-1){let a;for(;++i<t.length&&"string"==typeof(a=t[i]);)if(a.toLowerCase()===n)return!0}return!1}function nc(e){return 4===e.type&&e.value!==tc}function p(e,t,n){return t===(4!==e.type||n?e.value:tc)}function l(e,t,n){let r=4;const i=e.attrs,a=null!==i?function y(e){for(let t=0;t<e.length;t++)if(Ha(e[t]))return t;return e.length}(i):0;let c=!1;for(let h=0;h<t.length;h++){const g=t[h];if("number"!=typeof g){if(!c)if(4&r){if(r=2|1&r,""!==g&&!p(e,g,n)||""===g&&1===t.length){if(o(r))return!1;c=!0}}else if(8&r){if(null===i||!oh(e,i,g,n)){if(o(r))return!1;c=!0}}else{const C=t[++h],E=s(g,i,nc(e),n);if(-1===E){if(o(r))return!1;c=!0;continue}if(""!==C){let P;if(P=E>a?"":i[E+1].toLowerCase(),2&r&&C!==P){if(o(r))return!1;c=!0}}}}else{if(!c&&!o(r)&&!o(g))return!1;if(c&&o(g))continue;c=!1,r=g|1&r}}return o(r)||c}function o(e){return!(1&e)}function s(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let a=!1;for(;i<t.length;){const c=t[i];if(c===e)return i;if(3===c||6===c)a=!0;else{if(1===c||2===c){let h=t[++i];for(;"string"==typeof h;)h=t[++i];continue}if(4===c)break;if(0===c){i+=4;continue}}i+=a?1:2}return-1}return function T(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function d(e,t,n=!1){for(let r=0;r<t.length;r++)if(l(e,t[r],n))return!0;return!1}function S(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function L(e,t){return e?":not("+t.trim()+")":t}function Q(e){let t=e[0],n=1,r=2,i="",a=!1;for(;n<e.length;){let c=e[n];if("string"==typeof c)if(2&r){const h=e[++n];i+="["+c+(h.length>0?'="'+h+'"':"")+"]"}else 8&r?i+="."+c:4&r&&(i+=" "+c);else""!==i&&!o(c)&&(t+=L(a,i),i=""),r=c,a=a||!o(r);n++}return""!==i&&(t+=L(a,i)),t}function tt(e){return ri((()=>{const t=Kr(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ma.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Lo.Emulated,styles:e.styles||kt,_:null,schemas:e.schemas||null,tView:null,id:""};rs(n);const r=e.dependencies;return n.directiveDefs=Vo(r,!1),n.pipeDefs=Vo(r,!0),n.id=function Is(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 i of n)t=Math.imul(31,t)+i.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n}))}function Be(e){return Ge(e)||Ot(e)}function ke(e){return null!==e}function Ve(e){return ri((()=>({type:e.type,bootstrap:e.bootstrap||kt,declarations:e.declarations||kt,imports:e.imports||kt,exports:e.exports||kt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null})))}function Bt(e,t){if(null==e)return ao;const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let a,c,h=lo.None;Array.isArray(i)?(h=i[0],a=i[1],c=i[2]??a):(a=i,c=i),t?(n[a]=h!==lo.None?[r,h]:r,t[a]=c):n[a]=r}return n}function Tn(e){return ri((()=>{const t=Kr(e);return rs(t),t}))}function mn(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 Ge(e){return e[Ro]||null}function Ot(e){return e[Es]||null}function In(e){return e[ts]||null}function Cr(e){const t=Ge(e)||Ot(e)||In(e);return null!==t&&t.standalone}function $t(e,t){const n=e[da]||null;if(!n&&!0===t)throw new Error(`Type ${Sn(e)} does not have 'ɵmod' property.`);return n}function Kr(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||ao,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||kt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Bt(e.inputs,t),outputs:Bt(e.outputs),debugInfo:null}}function rs(e){e.features?.forEach((t=>t(e)))}function Vo(e,t){if(!e)return null;const n=t?In:Be;return()=>("function"==typeof e?e():e).map((r=>n(r))).filter(ke)}function Os(e){return{"ɵproviders":e}}function _u(...e){return{"ɵproviders":za(0,e),"ɵfromNgModule":!0}}function za(e,...t){const n=[],r=new Set;let i;const a=c=>{n.push(c)};return Qs(t,(c=>{const h=c;He(h,a,[],r)&&(i||=[],i.push(h))})),void 0!==i&&Fe(i,a),n}function Fe(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:i}=e[n];Pt(i,(a=>{t(a,r)}))}}function He(e,t,n,r){if(!(e=$e(e)))return!1;let i=null,a=Gs(e);const c=!a&&Ge(e);if(a||c){if(c&&!c.standalone)return!1;i=e}else{const g=e.ngModule;if(a=Gs(g),!a)return!1;i=g}const h=r.has(i);if(c){if(h)return!1;if(r.add(i),c.dependencies){const g="function"==typeof c.dependencies?c.dependencies():c.dependencies;for(const C of g)He(C,t,n,r)}}else{if(!a)return!1;{if(null!=a.imports&&!h){let C;r.add(i);try{Qs(a.imports,(E=>{He(E,t,n,r)&&(C||=[],C.push(E))}))}finally{}void 0!==C&&Fe(C,t)}if(!h){const C=ko(i)||(()=>new i);t({provide:i,useFactory:C,deps:kt},i),t({provide:pa,useValue:i,multi:!0},i),t({provide:wi,useValue:()=>ct(i),multi:!0},i)}const g=a.providers;if(null!=g&&!h){const C=e;Pt(g,(E=>{t(E,C)}))}}}return i!==e&&void 0!==e.providers}function Pt(e,t){for(let n of e)ua(n)&&(n=n.ɵproviders),Array.isArray(n)?Pt(n,t):t(n)}const lr=St({provide:String,useValue:St});function Hi(e){return null!==e&&"object"==typeof e&&lr in e}function Xt(e){return"function"==typeof e}const rc=new Xe(""),Kn={},Ps={};let li;function As(){return void 0===li&&(li=new ga),li}class ci{}class Wa extends ci{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ah(t,(c=>this.processProvider(c))),this.records.set(Jl,qa(void 0,this)),i.has("environment")&&this.records.set(ci,qa(void 0,this));const a=this.records.get(rc);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(pa,kt,yt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=G(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),G(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Te(this),r=gn(void 0);try{return t()}finally{Te(n),gn(r)}}get(t,n=Ms,r=yt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ws))return t[Ws](this);r=Qt(r);const a=Te(this),c=gn(void 0);try{if(!(r&yt.SkipSelf)){let g=this.records.get(t);if(void 0===g){const C=function OD(e){return"function"==typeof e||"object"==typeof e&&e instanceof Xe}(t)&&Jo(t);g=C&&this.injectableDefInScope(C)?qa(sh(t),Kn):null,this.records.set(t,g)}if(null!=g)return this.hydrate(t,g)}return(r&yt.Self?As():this.parent).get(t,n=r&yt.Optional&&n===Ms?null:n)}catch(h){if("NullInjectorError"===h.name){if((h[m]=h[m]||[]).unshift(Sn(t)),a)throw h;return function Ci(e,t,n,r){const i=e[m];throw t[R]&&i.unshift(t[R]),e.message=function Eo(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"ɵ"==e.charAt(1)?e.slice(2):e;let i=Sn(t);if(Array.isArray(t))i=t.map(Sn).join(" -> ");else if("object"==typeof t){let a=[];for(let c in t)if(t.hasOwnProperty(c)){let h=t[c];a.push(c+":"+("string"==typeof h?JSON.stringify(h):Sn(h)))}i=`{${a.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(v,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[m]=null,e}(h,t,"R3InjectorError",this.source)}throw h}finally{gn(c),Te(a)}}resolveInjectorInitializers(){const t=G(null),n=Te(this),r=gn(void 0);try{const a=this.get(wi,kt,yt.Self);for(const c of a)c()}finally{Te(n),gn(r),G(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Sn(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new De(205,!1)}processProvider(t){let n=Xt(t=$e(t))?t:$e(t&&t.provide);const r=function SD(e){return Hi(e)?qa(void 0,e.useValue):qa(Mg(e),Kn)}(t);if(!Xt(t)&&!0===t.multi){let i=this.records.get(n);i||(i=qa(void 0,Kn,!0),i.factory=()=>Nt(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=G(null);try{return n.value===Kn&&(n.value=Ps,n.value=n.factory()),"object"==typeof n.value&&n.value&&function ID(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{G(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=$e(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 sh(e){const t=Jo(e),n=null!==t?t.factory:ko(e);if(null!==n)return n;if(e instanceof Xe)throw new De(204,!1);if(e instanceof Function)return function bD(e){if(e.length>0)throw new De(204,!1);const n=function la(e){return e&&(e[xo]||e[ys])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new De(204,!1)}function Mg(e,t,n){let r;if(Xt(e)){const i=$e(e);return ko(i)||sh(i)}if(Hi(e))r=()=>$e(e.useValue);else if(function Uo(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Nt(e.deps||[]));else if(function ai(e){return!(!e||!e.useExisting)}(e))r=()=>ct($e(e.useExisting));else{const i=$e(e&&(e.useClass||e.provide));if(!function TD(e){return!!e.deps}(e))return ko(i)||sh(i);r=()=>new i(...Nt(e.deps))}return r}function qa(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ah(e,t){for(const n of e)Array.isArray(n)?ah(n,t):n&&ua(n)?ah(n.ɵproviders,t):t(n)}function PD(e,t){e instanceof Wa&&e.assertNotDestroyed();const r=Te(e),i=gn(void 0);try{return t()}finally{Te(r),gn(i)}}function bg(){return void 0!==ha()||null!=function he(){return re}()}const On=0,we=1,ze=2,cr=3,Bo=4,Qr=5,Ei=6,Qa=7,_n=8,ur=9,is=10,ot=11,oc=12,Tg=13,Xa=14,Pn=15,ya=16,Ya=17,Ns=18,Za=19,Ig=20,Ys=21,Cu=22,Do=23,Ue=25,uh=1,os=7,Ja=9,Qn=10;var Eu=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Eu||{});function Er(e){return Array.isArray(e)&&"object"==typeof e[uh]}function ui(e){return Array.isArray(e)&&!0===e[uh]}function dh(e){return!!(4&e.flags)}function va(e){return e.componentOffset>-1}function Du(e){return!(1&~e.flags)}function jo(e){return!!e.template}function ac(e){return!!(512&e[ze])}class $D{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function xg(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function ph(){return Rg}function Rg(e){return e.type.prototype.ngOnChanges&&(e.setInput=GD),HD}function HD(){const e=kg(this),t=e?.current;if(t){const n=e.previous;if(n===ao)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function GD(e,t,n,r,i){const a=this.declaredInputs[r],c=kg(e)||function zD(e,t){return e[Fg]=t}(e,{previous:ao,current:null}),h=c.current||(c.current={}),g=c.previous,C=g[a];h[a]=new $D(C&&C.currentValue,n,g===ao),xg(e,t,i,n)}ph.ngInherit=!0;const Fg="__ngSimpleChanges__";function kg(e){return e[Fg]||null}const ss=function(e,t,n){};function jt(e){for(;Array.isArray(e);)e=e[On];return e}function lc(e,t){return jt(t[e])}function Di(e,t){return jt(t[e.index])}function cc(e,t){return e.data[t]}function co(e,t){const n=t[e];return Er(n)?n:n[On]}function _h(e){return!(128&~e[ze])}function Mo(e,t){return null==t?null:e[t]}function Ug(e){e[Ya]=0}function Bg(e){1024&e[ze]||(e[ze]|=1024,_h(e)&&bu(e))}function Mu(e){return!!(9216&e[ze]||e[Do]?.dirty)}function yh(e){e[is].changeDetectionScheduler?.notify(8),64&e[ze]&&(e[ze]|=1024),Mu(e)&&bu(e)}function bu(e){e[is].changeDetectionScheduler?.notify(0);let t=xs(e);for(;null!==t&&!(8192&t[ze])&&(t[ze]|=8192,_h(t));)t=xs(t)}function Su(e,t){if(!(256&~e[ze]))throw new De(911,!1);null===e[Ys]&&(e[Ys]=[]),e[Ys].push(t)}function xs(e){const t=e[cr];return ui(t)?t[cr]:t}const st={lFrame:tm(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let $g=!1;function Hg(){return st.bindingsEnabled}function wa(){return null!==st.skipHydrationRootTNode}function ae(){return st.lFrame.lView}function Dt(){return st.lFrame.tView}function Gg(e){return st.lFrame.contextLView=e,e[_n]}function zg(e){return st.lFrame.contextLView=null,e}function rn(){let e=Wg();for(;null!==e&&64===e.type;)e=e.parent;return e}function Wg(){return st.lFrame.currentTNode}function $o(e,t){const n=st.lFrame;n.currentTNode=e,n.isParent=t}function wh(){return st.lFrame.isParent}function Eh(){st.lFrame.isParent=!1}function Qg(){return $g}function Xg(e){$g=e}function Mi(){const e=st.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ho(){return st.lFrame.bindingIndex++}function Fs(e){const t=st.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function oM(e,t){const n=st.lFrame;n.bindingIndex=n.bindingRootIndex=e,Dh(t)}function Dh(e){st.lFrame.currentDirectiveIndex=e}function bh(){return st.lFrame.currentQueryIndex}function Iu(e){st.lFrame.currentQueryIndex=e}function aM(e){const t=e[we];return 2===t.type?t.declTNode:1===t.type?e[Qr]:null}function Jg(e,t,n){if(n&yt.SkipSelf){let i=t,a=e;for(;!(i=i.parent,null!==i||n&yt.Host||(i=aM(a),null===i||(a=a[Xa],10&i.type))););if(null===i)return!1;t=i,e=a}const r=st.lFrame=em();return r.currentTNode=t,r.lView=e,!0}function Sh(e){const t=em(),n=e[we];st.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function em(){const e=st.lFrame,t=null===e?null:e.child;return null===t?tm(e):t}function tm(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 nm(){const e=st.lFrame;return st.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const rm=nm;function Th(){const e=nm();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 Xr(){return st.lFrame.selectedIndex}function Ea(e){st.lFrame.selectedIndex=e}function yn(){const e=st.lFrame;return cc(e.tView,e.selectedIndex)}let om=!0;function dc(){return om}function as(e){om=e}function Ou(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const a=e.data[n].type.prototype,{ngAfterContentInit:c,ngAfterContentChecked:h,ngAfterViewInit:g,ngAfterViewChecked:C,ngOnDestroy:E}=a;c&&(e.contentHooks??=[]).push(-n,c),h&&((e.contentHooks??=[]).push(n,h),(e.contentCheckHooks??=[]).push(n,h)),g&&(e.viewHooks??=[]).push(-n,g),C&&((e.viewHooks??=[]).push(n,C),(e.viewCheckHooks??=[]).push(n,C)),null!=E&&(e.destroyHooks??=[]).push(n,E)}}function Pu(e,t,n){sm(e,t,3,n)}function Au(e,t,n,r){(3&e[ze])===n&&sm(e,t,n,r)}function Ih(e,t){let n=e[ze];(3&n)===t&&(n&=16383,n+=1,e[ze]=n)}function sm(e,t,n,r){const a=r??-1,c=t.length-1;let h=0;for(let g=void 0!==r?65535&e[Ya]:0;g<c;g++)if("number"==typeof t[g+1]){if(h=t[g],null!=r&&h>=r)break}else t[g]<0&&(e[Ya]+=65536),(h<a||-1==a)&&(pM(e,n,t,g),e[Ya]=(4294901760&e[Ya])+g+2),g++}function am(e,t){ss(4,e,t);const n=G(null);try{t.call(e)}finally{G(n),ss(5,e,t)}}function pM(e,t,n,r){const i=n[r]<0,a=n[r+1],h=e[i?-n[r]:n[r]];i?e[ze]>>14<e[Ya]>>16&&(3&e[ze])===t&&(e[ze]+=16384,am(h,a)):am(h,a)}const el=-1;class hc{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}const Ph={};class Da{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Qt(r);const i=this.injector.get(t,Ph,r);return i!==Ph||n===Ph?i:this.parentInjector.get(t,n,r)}}function Ah(e){return e!==el}function fc(e){return 32767&e}function pc(e,t){let n=function vM(e){return e>>16}(e),r=t;for(;n>0;)r=r[Xa],n--;return r}let Nh=!0;function Nu(e){const t=Nh;return Nh=e,t}const cm=255,um=5;let wM=0;const ls={};function xu(e,t){const n=dm(e,t);if(-1!==n)return n;const r=t[we];r.firstCreatePass&&(e.injectorIndex=t.length,xh(r.data,e),xh(t,null),xh(r.blueprint,null));const i=Ru(e,t),a=e.injectorIndex;if(Ah(i)){const c=fc(i),h=pc(i,t),g=h[we].data;for(let C=0;C<8;C++)t[a+C]=h[c+C]|g[c+C]}return t[a+8]=i,a}function xh(e,t){e.push(0,0,0,0,0,0,0,0,t)}function dm(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ru(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=vm(i),null===r)return el;if(n++,i=i[Xa],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return el}function Rh(e,t,n){!function EM(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Bi)&&(r=n[Bi]),null==r&&(r=n[Bi]=wM++);const i=r&cm;t.data[e+(i>>um)]|=1<<i}(e,t,n)}function hm(e,t,n){if(n&yt.Optional||void 0!==e)return e;Ks()}function fm(e,t,n,r){if(n&yt.Optional&&void 0===r&&(r=null),!(n&(yt.Self|yt.Host))){const i=e[ur],a=gn(void 0);try{return i?i.get(t,r,n&yt.Optional):Kt(t,r,n&yt.Optional)}finally{gn(a)}}return hm(r,0,n)}function pm(e,t,n,r=yt.Default,i){if(null!==e){if(2048&t[ze]&&!(r&yt.Self)){const c=function TM(e,t,n,r,i){let a=e,c=t;for(;null!==a&&null!==c&&2048&c[ze]&&!(512&c[ze]);){const h=gm(a,c,n,r|yt.Self,ls);if(h!==ls)return h;let g=a.parent;if(!g){const C=c[Ig];if(C){const E=C.get(n,ls,r);if(E!==ls)return E}g=vm(c),c=c[Xa]}a=g}return i}(e,t,n,r,ls);if(c!==ls)return c}const a=gm(e,t,n,r,ls);if(a!==ls)return a}return fm(t,n,r,i)}function gm(e,t,n,r,i){const a=function bM(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Bi)?e[Bi]:void 0;return"number"==typeof t?t>=0?t&cm:SM:t}(n);if("function"==typeof a){if(!Jg(t,e,r))return r&yt.Host?hm(i,0,r):fm(t,n,r,i);try{let c;if(c=a(r),null!=c||r&yt.Optional)return c;Ks()}finally{rm()}}else if("number"==typeof a){let c=null,h=dm(e,t),g=el,C=r&yt.Host?t[Pn][Qr]:null;for((-1===h||r&yt.SkipSelf)&&(g=-1===h?Ru(e,t):t[h+8],g!==el&&_m(r,!1)?(c=t[we],h=fc(g),t=pc(g,t)):h=-1);-1!==h;){const E=t[we];if(mm(a,h,E.data)){const P=MM(h,t,n,c,r,C);if(P!==ls)return P}g=t[h+8],g!==el&&_m(r,t[we].data[h+8]===C)&&mm(a,h,t)?(c=E,h=fc(g),t=pc(g,t)):h=-1}}return i}function MM(e,t,n,r,i,a){const c=t[we],h=c.data[e+8],E=Fu(h,c,n,null==r?va(h)&&Nh:r!=c&&!!(3&h.type),i&yt.Host&&a===h);return null!==E?Ma(t,c,E,h):ls}function Fu(e,t,n,r,i){const a=e.providerIndexes,c=t.data,h=1048575&a,g=e.directiveStart,E=a>>20,k=i?h+E:e.directiveEnd;for(let B=r?h:h+E;B<k;B++){const X=c[B];if(B<g&&n===X||B>=g&&X.type===n)return B}if(i){const B=c[g];if(B&&jo(B)&&B.type===n)return g}return null}function Ma(e,t,n,r){let i=e[n];const a=t.data;if(function gM(e){return e instanceof hc}(i)){const c=i;c.resolving&&function Kl(e,t){throw t&&t.join(" > "),new De(-200,e)}(function Ct(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ye(e)}(a[n]));const h=Nu(c.canSeeViewProviders);c.resolving=!0;const C=c.injectImpl?gn(c.injectImpl):null;Jg(e,r,yt.Default);try{i=e[n]=c.factory(void 0,a,e,r),t.firstCreatePass&&n>=r.directiveStart&&function fM(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:a}=t.type.prototype;if(r){const c=Rg(t);(n.preOrderHooks??=[]).push(e,c),(n.preOrderCheckHooks??=[]).push(e,c)}i&&(n.preOrderHooks??=[]).push(0-e,i),a&&((n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a))}(n,a[n],t)}finally{null!==C&&gn(C),Nu(h),c.resolving=!1,rm()}}return i}function mm(e,t,n){return!!(n[t+(e>>um)]&1<<e)}function _m(e,t){return!(e&yt.Self||e&yt.Host&&t)}class Dr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return pm(this._tNode,this._lView,t,Qt(r),n)}}function SM(){return new Dr(rn(),ae())}function ym(e){return ri((()=>{const t=e.prototype.constructor,n=t[Ui]||Fh(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const a=i[Ui]||Fh(i);if(a&&a!==n)return a;i=Object.getPrototypeOf(i)}return a=>new a}))}function Fh(e){return yi(e)?()=>{const t=Fh($e(e));return t&&t()}:ko(e)}function vm(e){const t=e[we],n=t.type;return 2===n?t.declTNode:1===n?e[Qr]:null}function ku(e){return function DM(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const a=n[i];if(Ha(a))break;if(0===a)i+=2;else if("number"==typeof a)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(a===t)return n[i+1];i+=2}}}return null}(rn(),e)}function Mm(e,t=null,n=null,r){const i=bm(e,t,n,r);return i.resolveInjectorInitializers(),i}function bm(e,t=null,n=null,r,i=new Set){const a=[n||kt,_u(e)];return r=r||("object"==typeof e?void 0:Sn(e)),new Wa(a,t||As(),r||null,i)}class Yr{static#e=this.THROW_IF_NOT_FOUND=Ms;static#t=this.NULL=new ga;static create(t,n){if(Array.isArray(t))return Mm({name:""},n,t,"");{const r=t.name??"";return Mm({name:r},t.parent,t.providers,r)}}static#n=this.ɵprov=Lt({token:Yr,providedIn:"any",factory:()=>ct(Jl)});static#r=this.__NG_ELEMENT_ID__=-1}new Xe("").__NG_ELEMENT_ID__=e=>{const t=rn();if(null===t)throw new De(204,!1);if(2&t.type)return t.value;if(e&yt.Optional)return null;throw new De(204,!1)};function Lh(e){return e.ngOriginalError}const Tm=!0;let gc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=LM;static#t=this.__NG_ENV_ID__=n=>n}return e})();class kM extends gc{constructor(t){super(),this._lView=t}onDestroy(t){return Su(this._lView,t),()=>function vh(e,t){if(null===e[Ys])return;const n=e[Ys].indexOf(t);-1!==n&&e[Ys].splice(n,1)}(this._lView,t)}}function LM(){return new kM(ae())}let ba=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Zt.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.ɵprov=Lt({token:e,providedIn:"root",factory:()=>new e})}return e})();const cs=class VM extends wn.B{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,bg()&&(this.destroyRef=pe(gc,{optional:!0})??void 0,this.pendingTasks=pe(ba,{optional:!0})??void 0)}emit(t){const n=G(null);try{super.next(t)}finally{G(n)}}subscribe(t,n,r){let i=t,a=n||(()=>null),c=r;if(t&&"object"==typeof t){const g=t;i=g.next?.bind(g),a=g.error?.bind(g),c=g.complete?.bind(g)}this.__isAsync&&(a=this.wrapInTimeout(a),i&&(i=this.wrapInTimeout(i)),c&&(c=this.wrapInTimeout(c)));const h=super.subscribe({next:i,error:a,complete:c});return t instanceof Ln.yU&&t.add(h),h}wrapInTimeout(t){return n=>{const r=this.pendingTasks?.add();setTimeout((()=>{t(n),void 0!==r&&this.pendingTasks?.remove(r)}))}}};function Vu(...e){}function Im(e){let t,n;function r(){e=Vu;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout((()=>{e(),r()})),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame((()=>{e(),r()}))),()=>r()}function Om(e){return queueMicrotask((()=>e())),()=>{e=Vu}}const Vh="isAngularZone",Uu=Vh+"_ID";let UM=0;class An{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new cs(!1),this.onMicrotaskEmpty=new cs(!1),this.onStable=new cs(!1),this.onError=new cs(!1);const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:a=Tm}=t;if(typeof Zone>"u")throw new De(908,!1);Zone.assertZonePatched();const c=this;c._nesting=0,c._outer=c._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(c._inner=c._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(c._inner=c._inner.fork(Zone.longStackTraceZoneSpec)),c.shouldCoalesceEventChangeDetection=!i&&r,c.shouldCoalesceRunChangeDetection=i,c.callbackScheduled=!1,c.scheduleInRootZone=a,function $M(e){const t=()=>{!function jM(e){function t(){Im((()=>{e.callbackScheduled=!1,Bh(e),e.isCheckStableRunning=!0,Uh(e),e.isCheckStableRunning=!1}))}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run((()=>{t()})):e._outer.run((()=>{t()})),Bh(e))}(e)},n=UM++;e._inner=e._inner.fork({name:"angular",properties:{[Vh]:!0,[Uu]:n,[Uu+n]:!0},onInvokeTask:(r,i,a,c,h,g)=>{if(function HM(e){return Nm(e,"__ignore_ng_zone__")}(g))return r.invokeTask(a,c,h,g);try{return Pm(e),r.invokeTask(a,c,h,g)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===c.type||e.shouldCoalesceRunChangeDetection)&&t(),Am(e)}},onInvoke:(r,i,a,c,h,g,C)=>{try{return Pm(e),r.invoke(a,c,h,g,C)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function GM(e){return Nm(e,"__scheduler_tick__")}(g)&&t(),Am(e)}},onHasTask:(r,i,a,c)=>{r.hasTask(a,c),i===a&&("microTask"==c.change?(e._hasPendingMicrotasks=c.microTask,Bh(e),Uh(e)):"macroTask"==c.change&&(e.hasPendingMacrotasks=c.macroTask))},onHandleError:(r,i,a,c)=>(r.handleError(a,c),e.runOutsideAngular((()=>e.onError.emit(c))),!1)})}(c)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Vh)}static assertInAngularZone(){if(!An.isInAngularZone())throw new De(909,!1)}static assertNotInAngularZone(){if(An.isInAngularZone())throw new De(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const a=this._inner,c=a.scheduleEventTask("NgZoneEvent: "+i,t,BM,Vu,Vu);try{return a.runTask(c,n,r)}finally{a.cancelTask(c)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const BM={};function Uh(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 Bh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function Pm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Am(e){e._nesting--,Uh(e)}class jh{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new cs,this.onMicrotaskEmpty=new cs,this.onStable=new cs,this.onError=new cs}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}function Nm(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class ks{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&&Lh(t);for(;n&&Lh(n);)n=Lh(n);return n||null}}const WM=new Xe("",{providedIn:"root",factory:()=>{const e=pe(An),t=pe(ks);return n=>e.runOutsideAngular((()=>t.handleError(n)))}});function qM(){return rl(rn(),ae())}function rl(e,t){return new mc(Di(e,t))}let mc=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=qM}return e})();function Rm(e){return e instanceof mc?e.nativeElement:e}function KM(){return this._results[Symbol.iterator]()}class $h{static#e=Symbol.iterator;get changes(){return this._changes??=new cs}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=$h.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=KM)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function si(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function pu(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],a=t[r];if(n&&(i=n(i),a=n(a)),a!==i)return!1}return!0}(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function yc(e){return!(128&~e.flags)}const Gh=new Map;let XM=0;function zh(e){Gh.delete(e[Za])}const Bu="__ngContext__";function di(e,t){Er(t)?(e[Bu]=t[Za],function ZM(e){Gh.set(e[Za],e)}(t)):e[Bu]=t}function Gm(e){return Wm(e[oc])}function zm(e){return Wm(e[Bo])}function Wm(e){for(;null!==e&&!ui(e);)e=e[Bo];return e}let qh;function pb(e){qh=e}function Zs(){if(void 0!==qh)return qh;if(typeof document<"u")return document;throw new De(210,!1)}const $u=new Xe("",{providedIn:"root",factory:()=>gb}),gb="ng",e_=new Xe(""),Hu=new Xe("",{providedIn:"platform",factory:()=>"unknown"}),mb=new Xe(""),_b=new Xe("",{providedIn:"root",factory:()=>Zs().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let t_=()=>null;function ef(e,t,n=!1){return t_(e,t,n)}const c_=new Xe("",{providedIn:"root",factory:()=>!1});let Yu,Zu;function al(e){return function af(){if(void 0===Yu&&(Yu=null,an.trustedTypes))try{Yu=an.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Yu}()?.createHTML(e)||e}function lf(){if(void 0===Zu&&(Zu=null,an.trustedTypes))try{Zu=an.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Zu}function h_(e){return lf()?.createHTML(e)||e}function p_(e){return lf()?.createScriptURL(e)||e}class g_{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Po})`}}function Js(e){return e instanceof g_?e.changingThisBreaksApplicationSecurity:e}function bc(e,t){const n=function kb(e){return e instanceof g_&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Po})`)}return n===t}class Lb{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(al(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class Vb{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=al(t),n}}const Bb=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function cf(e){return(e=String(e)).match(Bb)?e:"unsafe:"+e}function Ls(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Sc(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const __=Ls("area,br,col,hr,img,wbr"),y_=Ls("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),v_=Ls("rp,rt"),uf=Sc(__,Sc(y_,Ls("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")),Sc(v_,Ls("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")),Sc(v_,y_)),df=Ls("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),C_=Sc(df,Ls("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"),Ls("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")),jb=Ls("script,style,template");class $b{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,i=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)i.push(n),n=zb(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let a=Gb(n);if(a){n=a;break}n=i.pop()}return this.buf.join("")}startElement(t){const n=w_(t).toLowerCase();if(!uf.hasOwnProperty(n))return this.sanitizedSomething=!0,!jb.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const a=r.item(i),c=a.name,h=c.toLowerCase();if(!C_.hasOwnProperty(h)){this.sanitizedSomething=!0;continue}let g=a.value;df[h]&&(g=cf(g)),this.buf.push(" ",c,'="',D_(g),'"')}return this.buf.push(">"),!0}endElement(t){const n=w_(t).toLowerCase();uf.hasOwnProperty(n)&&!__.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(D_(t))}}function Gb(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw E_(t);return t}function zb(e){const t=e.firstChild;if(t&&function Hb(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw E_(t);return t}function w_(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function E_(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const Wb=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qb=/([^\#-~ |!])/g;function D_(e){return e.replace(/&/g,"&").replace(Wb,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(qb,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}let Ju;function hf(e){return"content"in e&&function Qb(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ll=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}(ll||{});function M_(e){const t=Tc();return t?h_(t.sanitize(ll.HTML,e)||""):bc(e,"HTML")?h_(Js(e)):function Kb(e,t){let n=null;try{Ju=Ju||function m_(e){const t=new Vb(e);return function Ub(){try{return!!(new window.DOMParser).parseFromString(al(""),"text/html")}catch{return!1}}()?new Lb(t):t}(e);let r=t?String(t):"";n=Ju.getInertBodyElement(r);let i=5,a=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=a,a=n.innerHTML,n=Ju.getInertBodyElement(r)}while(r!==a);return al((new $b).sanitizeChildren(hf(n)||n))}finally{if(n){const r=hf(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}(Zs(),Ye(e))}function ff(e){const t=Tc();return t?t.sanitize(ll.URL,e)||"":bc(e,"URL")?Js(e):cf(Ye(e))}function b_(e){const t=Tc();if(t)return p_(t.sanitize(ll.RESOURCE_URL,e)||"");if(bc(e,"ResourceURL"))return p_(Js(e));throw new De(904,!1)}function S_(e,t,n){return function e0(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?b_:ff}(t,n)(e)}function Tc(){const e=ae();return e&&e[is].sanitizer}const t0=/^>|^->|<!--|-->|--!>|<!-$/g,n0=/(<|>)/g,r0="$1";function uo(e){return e instanceof Function?e():e}var nd=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(nd||{});let mf;function _f(e,t){return mf(e,t)}function ul(e,t,n,r,i){if(null!=r){let a,c=!1;ui(r)?a=r:Er(r)&&(c=!0,r=r[On]);const h=jt(r);0===e&&null!==n?null==i?U_(t,n,h):Ta(t,n,h,i||null,!0):1===e&&null!==n?Ta(t,n,h,i||null,!0):2===e?function Oc(e,t,n){e.removeChild(null,t,n)}(t,h,c):3===e&&t.destroyNode(h),null!=a&&function M0(e,t,n,r,i){const a=n[os];a!==jt(n)&&ul(t,e,r,a,i);for(let h=Qn;h<n.length;h++){const g=n[h];sd(g[we],g,e,t,r,a)}}(t,e,a,n,i)}}function vf(e,t){return e.createComment(function T_(e){return e.replace(t0,(t=>t.replace(n0,r0)))}(t))}function rd(e,t,n){return e.createElement(t,n)}function k_(e,t){t[is].changeDetectionScheduler?.notify(9),sd(e,t,t[ot],2,null,null)}function L_(e,t){const n=e[Ja],r=t[cr];(Er(r)||t[Pn]!==r[cr][Pn])&&(e[ze]|=Eu.HasTransplantedViews),null===n?e[Ja]=[t]:n.push(t)}function Cf(e,t){const n=e[Ja],r=n.indexOf(t);n.splice(r,1)}function Ic(e,t){if(e.length<=Qn)return;const n=Qn+t,r=e[n];if(r){const i=r[ya];null!==i&&i!==e&&Cf(i,r),t>0&&(e[n-1][Bo]=r[Bo]);const a=ns(e,Qn+t);!function m0(e,t){k_(e,t),t[On]=null,t[Qr]=null}(r[we],r);const c=a[Ns];null!==c&&c.detachView(a[we]),r[cr]=null,r[Bo]=null,r[ze]&=-129}return r}function id(e,t){if(!(256&t[ze])){const n=t[ot];n.destroyNode&&sd(e,t,n,3,null,null),function y0(e){let t=e[oc];if(!t)return wf(e[we],e);for(;t;){let n=null;if(Er(t))n=t[oc];else{const r=t[Qn];r&&(n=r)}if(!n){for(;t&&!t[Bo]&&t!==e;)Er(t)&&wf(t[we],t),t=t[cr];null===t&&(t=e),Er(t)&&wf(t[we],t),n=t&&t[Bo]}t=n}}(t)}}function wf(e,t){if(256&t[ze])return;const n=G(null);try{t[ze]&=-129,t[ze]|=256,t[Do]&&Tt(t[Do]),function w0(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof hc)){const a=n[r+1];if(Array.isArray(a))for(let c=0;c<a.length;c+=2){const h=i[a[c]],g=a[c+1];ss(4,h,g);try{g.call(h)}finally{ss(5,h,g)}}else{ss(4,i,a);try{a.call(i)}finally{ss(5,i,a)}}}}}(e,t),function C0(e,t){const n=e.cleanup,r=t[Qa];if(null!==n)for(let a=0;a<n.length-1;a+=2)if("string"==typeof n[a]){const c=n[a+3];c>=0?r[c]():r[-c].unsubscribe(),a+=2}else n[a].call(r[n[a+1]]);null!==r&&(t[Qa]=null);const i=t[Ys];if(null!==i){t[Ys]=null;for(let a=0;a<i.length;a++)(0,i[a])()}}(e,t),1===t[we].type&&t[ot].destroy();const r=t[ya];if(null!==r&&ui(t[cr])){r!==t[cr]&&Cf(r,t);const i=t[Ns];null!==i&&i.detachView(e)}zh(t)}finally{G(n)}}function Ef(e,t,n){return function V_(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[On];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:a}=e.data[r.directiveStart+i];if(a===Lo.None||a===Lo.Emulated)return null}return Di(r,n)}}(e,t.parent,n)}function Ta(e,t,n,r,i){e.insertBefore(t,n,r,i)}function U_(e,t,n){e.appendChild(t,n)}function B_(e,t,n,r,i){null!==r?Ta(e,t,n,r,i):U_(e,t,n)}function Df(e,t){return e.parentNode(t)}function j_(e,t,n){return H_(e,t,n)}let Mf,H_=function $_(e,t,n){return 40&e.type?Di(e,n):null};function od(e,t,n,r){const i=Ef(e,r,t),a=t[ot],h=j_(r.parent||t[Qr],r,t);if(null!=i)if(Array.isArray(n))for(let g=0;g<n.length;g++)B_(a,i,n[g],h,!1);else B_(a,i,n,h,!1);void 0!==Mf&&Mf(a,r,t,n,i)}function Ia(e,t){if(null!==t){const n=t.type;if(3&n)return Di(t,e);if(4&n)return bf(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Ia(e,r);{const i=e[t.index];return ui(i)?bf(-1,i):jt(i)}}if(128&n)return Ia(e,t.next);if(32&n)return _f(t,e)()||jt(e[t.index]);{const r=z_(e,t);return null!==r?Array.isArray(r)?r[0]:Ia(xs(e[Pn]),r):Ia(e,t.next)}}return null}function z_(e,t){return null!==t?e[Pn][Qr].projection[t.projection]:null}function bf(e,t){const n=Qn+e+1;if(n<t.length){const r=t[n],i=r[we].firstChild;if(null!==i)return Ia(r,i)}return t[os]}function Sf(e,t,n,r,i,a,c){for(;null!=n;){if(128===n.type){n=n.next;continue}const h=r[n.index],g=n.type;if(c&&0===t&&(h&&di(jt(h),r),n.flags|=2),32&~n.flags)if(8&g)Sf(e,t,n.child,r,i,a,!1),ul(t,e,i,h,a);else if(32&g){const C=_f(n,r);let E;for(;E=C();)ul(t,e,i,E,a);ul(t,e,i,h,a)}else 16&g?q_(e,t,r,n,i,a):ul(t,e,i,h,a);n=c?n.projectionNext:n.next}}function sd(e,t,n,r,i,a){Sf(n,r,e.firstChild,t,i,a,!1)}function q_(e,t,n,r,i,a){const c=n[Pn],g=c[Qr].projection[r.projection];if(Array.isArray(g))for(let C=0;C<g.length;C++)ul(t,e,i,g[C],a);else{let C=g;const E=c[cr];yc(r)&&(C.flags|=128),Sf(e,t,C,E,i,a,!0)}}function K_(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Q_(e,t,n){const{mergedAttrs:r,classes:i,styles:a}=n;null!==r&&Ts(e,t,r),null!==i&&K_(e,t,i),null!==a&&function S0(e,t,n){e.setAttribute(t,"style",n)}(e,t,a)}const pt={};function X_(e=1){Y_(Dt(),ae(),Xr()+e,!1)}function Y_(e,t,n,r){if(!r)if(3&~t[ze]){const a=e.preOrderHooks;null!==a&&Au(t,a,0,n)}else{const a=e.preOrderCheckHooks;null!==a&&Pu(t,a,n)}Ea(n)}function dl(e,t=yt.Default){const n=ae();return null===n?ct(e,t):pm(rn(),n,$e(e),t)}function Z_(){throw new Error("invalid")}function J_(e,t,n,r,i,a){const c=G(null);try{let h=null;i&lo.SignalBased&&(h=t[r][$]),null!==h&&void 0!==h.transformFn&&(a=h.transformFn(a)),i&lo.HasDecoratorInputTransform&&(a=e.inputTransforms[r].call(t,a)),null!==e.setInput?e.setInput(t,h,a,n,r):xg(t,h,r,a)}finally{G(c)}}function ad(e,t,n,r,i,a,c,h,g,C,E){const P=t.blueprint.slice();return P[On]=i,P[ze]=204|r,(null!==C||e&&2048&e[ze])&&(P[ze]|=2048),Ug(P),P[cr]=P[Xa]=e,P[_n]=n,P[is]=c||e&&e[is],P[ot]=h||e&&e[ot],P[ur]=g||e&&e[ur]||null,P[Qr]=a,P[Za]=function YM(){return XM++}(),P[Ei]=E,P[Ig]=C,P[Pn]=2==t.type?e[Pn]:P,P}function Oa(e,t,n,r,i){let a=e.data[t];if(null===a)a=function Tf(e,t,n,r,i){const a=Wg(),c=wh(),g=e.data[t]=function R0(e,t,n,r,i,a){let c=t?t.injectorIndex:-1,h=0;return wa()&&(h|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:c,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:h,providerIndexes:0,value:i,attrs:a,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,c?a:a&&a.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=g),null!==a&&(c?null==a.child&&null!==g.parent&&(a.child=g):null===a.next&&(a.next=g,g.prev=a)),g}(e,t,n,r,i),function iM(){return st.lFrame.inI18n}()&&(a.flags|=32);else if(64&a.type){a.type=n,a.value=r,a.attrs=i;const c=function uc(){const e=st.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();a.injectorIndex=null===c?-1:c.injectorIndex}return $o(a,!0),a}function Pc(e,t,n,r){if(0===n)return-1;const i=t.length;for(let a=0;a<n;a++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function ey(e,t,n,r,i){const a=Xr(),c=2&r;try{Ea(-1),c&&t.length>Ue&&Y_(e,t,Ue,!1),ss(c?2:0,i),n(r,i)}finally{Ea(a),ss(c?3:1,i)}}function If(e,t,n){if(dh(t)){const r=G(null);try{const a=t.directiveEnd;for(let c=t.directiveStart;c<a;c++){const h=e.data[c];h.contentQueries&&h.contentQueries(1,n[c],c)}}finally{G(r)}}}function Of(e,t,n){Hg()&&(function j0(e,t,n,r){const i=n.directiveStart,a=n.directiveEnd;va(n)&&function K0(e,t,n){const r=Di(t,e),i=ty(n);let c=16;n.signals?c=4096:n.onPush&&(c=64);const h=ld(e,ad(e,i,null,c,r,t,null,e[is].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=h}(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||xu(n,t),di(r,t);const c=n.initialInputs;for(let h=i;h<a;h++){const g=e.data[h],C=Ma(t,e,h,n);di(C,t),null!==c&&Q0(0,h-i,C,g,0,c),jo(g)&&(co(n.index,t)[_n]=Ma(t,e,h,n))}}(e,t,n,Di(n,t)),!(64&~n.flags)&&sy(e,t,n))}function Pf(e,t,n=Di){const r=t.localNames;if(null!==r){let i=t.index+1;for(let a=0;a<r.length;a+=2){const c=r[a+1],h=-1===c?n(t,e):e[c];e[i++]=h}}}function ty(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Af(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Af(e,t,n,r,i,a,c,h,g,C,E){const P=Ue+r,k=P+i,B=function I0(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:pt);return n}(P,k),X="function"==typeof C?C():C;return B[we]={type:e,blueprint:B,template:n,queries:null,viewQuery:h,declTNode:t,data:B.slice().fill(null,P),bindingStartIndex:P,expandoStartIndex:k,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof a?a():a,pipeRegistry:"function"==typeof c?c():c,firstChild:null,schemas:g,consts:X,incompleteFirstPass:!1,ssrId:E}}let ny=()=>null;function ry(e,t,n,r,i){for(let a in t){if(!t.hasOwnProperty(a))continue;const c=t[a];if(void 0===c)continue;r??={};let h,g=lo.None;Array.isArray(c)?(h=c[0],g=c[1]):h=c;let C=a;if(null!==i){if(!i.hasOwnProperty(a))continue;C=i[a]}0===e?iy(r,n,C,h,g):iy(r,n,C,h)}return r}function iy(e,t,n,r,i){let a;e.hasOwnProperty(n)?(a=e[n]).push(t,r):a=e[n]=[t,r],void 0!==i&&a.push(i)}function zi(e,t,n,r,i,a,c,h){const g=Di(t,n);let E,C=t.inputs;!h&&null!=C&&(E=C[r])?(kf(e,n,E,r,i),va(t)&&function L0(e,t){const n=co(t,e);16&n[ze]||(n[ze]|=64)}(n,t.index)):3&t.type&&(r=function k0(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=c?c(i,t.value||"",r):i,a.setProperty(g,r,i))}function Nf(e,t,n,r){if(Hg()){const i=null===r?null:{"":-1},a=function H0(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let a=0;a<n.length;a++){const c=n[a];if(d(t,c.selectors,!1))if(r||(r=[]),jo(c))if(null!==c.findHostDirectiveDefs){const h=[];i=i||new Map,c.findHostDirectiveDefs(c,h,i),r.unshift(...h,c),xf(e,t,h.length)}else r.unshift(c),xf(e,t,0);else i=i||new Map,c.findHostDirectiveDefs?.(c,r,i),r.push(c)}return null===r?null:[r,i]}(e,n);let c,h;null===a?c=h=null:[c,h]=a,null!==c&&oy(e,t,n,c,i,h),i&&function G0(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const a=n[t[i+1]];if(null==a)throw new De(-301,!1);r.push(t[i],a)}}}(n,r,i)}n.mergedAttrs=Xs(n.mergedAttrs,n.attrs)}function oy(e,t,n,r,i,a){for(let C=0;C<r.length;C++)Rh(xu(n,t),e,r[C].type);!function W0(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let C=0;C<r.length;C++){const E=r[C];E.providersResolver&&E.providersResolver(E)}let c=!1,h=!1,g=Pc(e,t,r.length,null);for(let C=0;C<r.length;C++){const E=r[C];n.mergedAttrs=Xs(n.mergedAttrs,E.hostAttrs),q0(e,n,t,g,E),z0(g,E,i),null!==E.contentQueries&&(n.flags|=4),(null!==E.hostBindings||null!==E.hostAttrs||0!==E.hostVars)&&(n.flags|=64);const P=E.type.prototype;!c&&(P.ngOnChanges||P.ngOnInit||P.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),c=!0),!h&&(P.ngOnChanges||P.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),h=!0),g++}!function F0(e,t,n){const i=t.directiveEnd,a=e.data,c=t.attrs,h=[];let g=null,C=null;for(let E=t.directiveStart;E<i;E++){const P=a[E],k=n?n.get(P):null,X=k?k.outputs:null;g=ry(0,P.inputs,E,g,k?k.inputs:null),C=ry(1,P.outputs,E,C,X);const ue=null===g||null===c||nc(t)?null:X0(g,E,c);h.push(ue)}null!==g&&(g.hasOwnProperty("class")&&(t.flags|=8),g.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=h,t.inputs=g,t.outputs=C}(e,n,a)}function sy(e,t,n){const r=n.directiveStart,i=n.directiveEnd,a=n.index,c=function sM(){return st.lFrame.currentDirectiveIndex}();try{Ea(a);for(let h=r;h<i;h++){const g=e.data[h],C=t[h];Dh(h),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&$0(g,C)}}finally{Ea(-1),Dh(c)}}function $0(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function xf(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function z0(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;jo(t)&&(n[""]=e)}}function q0(e,t,n,r,i){e.data[r]=i;const a=i.factory||(i.factory=ko(i.type)),c=new hc(a,jo(i),dl);e.blueprint[r]=c,n[r]=c,function U0(e,t,n,r,i){const a=i.hostBindings;if(a){let c=e.hostBindingOpCodes;null===c&&(c=e.hostBindingOpCodes=[]);const h=~t.index;(function B0(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(c)!=h&&c.push(h),c.push(n,r,a)}}(e,t,r,Pc(e,n,i.hostVars,pt),i)}function us(e,t,n,r,i,a){const c=Di(e,t);!function Rf(e,t,n,r,i,a,c){if(null==a)e.removeAttribute(t,i,n);else{const h=null==c?Ye(a):c(a,r||"",i);e.setAttribute(t,i,h,n)}}(t[ot],c,a,e.value,n,r,i)}function Q0(e,t,n,r,i,a){const c=a[t];if(null!==c)for(let h=0;h<c.length;)J_(r,n,c[h++],c[h++],c[h++],c[h++])}function X0(e,t,n){let r=null,i=0;for(;i<n.length;){const a=n[i];if(0!==a)if(5!==a){if("number"==typeof a)break;if(e.hasOwnProperty(a)){null===r&&(r=[]);const c=e[a];for(let h=0;h<c.length;h+=3)if(c[h]===t){r.push(a,c[h+1],c[h+2],n[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function ay(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function ly(e,t){const n=e.contentQueries;if(null!==n){const r=G(null);try{for(let i=0;i<n.length;i+=2){const c=n[i+1];if(-1!==c){const h=e.data[c];Iu(n[i]),h.contentQueries(2,t[c],c)}}}finally{G(r)}}}function ld(e,t){return e[oc]?e[Tg][Bo]=t:e[oc]=t,e[Tg]=t,t}function Ff(e,t,n){Iu(0);const r=G(null);try{t(e,n)}finally{G(r)}}function cy(e){return e[Qa]??=[]}function uy(e){return e.cleanup??=[]}function cd(e,t){const n=e[ur],r=n?n.get(ks,null):null;r&&r.handleError(t)}function kf(e,t,n,r,i){for(let a=0;a<n.length;){const c=n[a++],h=n[a++],g=n[a++];J_(e.data[c],t[c],r,h,g,i)}}function Vs(e,t,n){const r=lc(t,e);!function F_(e,t,n){e.setValue(t,n)}(e[ot],r,n)}function Y0(e,t){const n=co(t,e),r=n[we];!function Z0(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const i=n[On];null!==i&&null===n[Ei]&&(n[Ei]=ef(i,n[ur])),Lf(r,n,n[_n])}function Lf(e,t,n){Sh(t);try{const r=e.viewQuery;null!==r&&Ff(1,r,n);const i=e.template;null!==i&&ey(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ns]?.finishViewCreation(e),e.staticContentQueries&&ly(e,t),e.staticViewQueries&&Ff(2,e.viewQuery,n);const a=e.components;null!==a&&function J0(e,t){for(let n=0;n<t.length;n++)Y0(e,t[n])}(t,a)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[ze]&=-5,Th()}}function hl(e,t,n,r){const i=G(null);try{const a=t.tView,g=ad(e,a,n,4096&e[ze]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);g[ya]=e[t.index];const E=e[Ns];return null!==E&&(g[Ns]=E.createEmbeddedView(a)),Lf(a,g,n),g}finally{G(i)}}function Pa(e,t){return!t||null===t.firstChild||yc(e)}function fl(e,t,n,r=!0){const i=t[we];if(function v0(e,t,n,r){const i=Qn+r,a=n.length;r>0&&(n[i-1][Bo]=t),r<a-Qn?(t[Bo]=n[i],bs(n,Qn+r,t)):(n.push(t),t[Bo]=null),t[cr]=n;const c=t[ya];null!==c&&n!==c&&L_(c,t);const h=t[Ns];null!==h&&h.insertView(e),yh(t),t[ze]|=128}(i,t,e,n),r){const c=bf(n,e),h=t[ot],g=Df(h,e[os]);null!==g&&function _0(e,t,n,r,i,a){r[On]=i,r[Qr]=t,sd(e,r,n,1,i,a)}(i,e[Qr],h,t,g,c)}const a=t[Ei];null!==a&&null!==a.firstChild&&(a.firstChild=null)}function Ac(e,t,n,r,i=!1){for(;null!==n;){if(128===n.type){n=i?n.projectionNext:n.next;continue}const a=t[n.index];null!==a&&r.push(jt(a)),ui(a)&&fy(a,r);const c=n.type;if(8&c)Ac(e,t,n.child,r);else if(32&c){const h=_f(n,t);let g;for(;g=h();)r.push(g)}else if(16&c){const h=z_(t,n);if(Array.isArray(h))r.push(...h);else{const g=xs(t[Pn]);Ac(g[we],g,h,r,!0)}}n=i?n.projectionNext:n.next}return r}function fy(e,t){for(let n=Qn;n<e.length;n++){const r=e[n],i=r[we].firstChild;null!==i&&Ac(r[we],r,i,t)}e[os]!==e[On]&&t.push(e[os])}let py=[];const rS={...J,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{bu(e.lView)},consumerOnSignalRead(){this.lView[Do]=this}},oS={...J,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=xs(e.lView);for(;t&&!gy(t[we]);)t=xs(t);t&&Bg(t)},consumerOnSignalRead(){this.lView[Do]=this}};function gy(e){return 2!==e.type}const sS=100;function ud(e,t=!0,n=0){const r=e[is],i=r.rendererFactory;i.begin?.();try{!function aS(e,t){const n=Qg();try{Xg(!0),Uf(e,t);let r=0;for(;Mu(e);){if(r===sS)throw new De(103,!1);r++,Uf(e,1)}}finally{Xg(n)}}(e,n)}catch(c){throw t&&cd(e,c),c}finally{i.end?.(),r.inlineEffectRunner?.flush()}}function lS(e,t,n,r){const i=t[ze];if(!(256&~i))return;t[is].inlineEffectRunner?.flush(),Sh(t);let h=!0,g=null,C=null;gy(e)?(C=function eS(e){return e[Do]??function tS(e){const t=py.pop()??Object.create(rS);return t.lView=e,t}(e)}(t),g=Re(C)):null===function K(){return x}()?(h=!1,C=function iS(e){const t=e[Do]??Object.create(oS);return t.lView=e,t}(t),g=Re(C)):t[Do]&&(Tt(t[Do]),t[Do]=null);try{Ug(t),function Yg(e){return st.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&ey(e,t,n,2,r);const E=!(3&~i);if(E){const B=e.preOrderCheckHooks;null!==B&&Pu(t,B,null)}else{const B=e.preOrderHooks;null!==B&&Au(t,B,0,null),Ih(t,0)}if(function cS(e){for(let t=Gm(e);null!==t;t=zm(t)){if(!(t[ze]&Eu.HasTransplantedViews))continue;const n=t[Ja];for(let r=0;r<n.length;r++)Bg(n[r])}}(t),_y(t,0),null!==e.contentQueries&&ly(e,t),E){const B=e.contentCheckHooks;null!==B&&Pu(t,B)}else{const B=e.contentHooks;null!==B&&Au(t,B,1),Ih(t,1)}!function T0(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)Ea(~i);else{const a=i,c=n[++r],h=n[++r];oM(c,a),h(2,t[a])}}}finally{Ea(-1)}}(e,t);const P=e.components;null!==P&&vy(t,P,0);const k=e.viewQuery;if(null!==k&&Ff(2,k,r),E){const B=e.viewCheckHooks;null!==B&&Pu(t,B)}else{const B=e.viewHooks;null!==B&&Au(t,B,2),Ih(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Cu]){for(const B of t[Cu])B();t[Cu]=null}t[ze]&=-73}catch(E){throw bu(t),E}finally{null!==C&&(qe(C,g),h&&function nS(e){e.lView[Do]!==e&&(e.lView=null,py.push(e))}(C)),Th()}}function _y(e,t){for(let n=Gm(e);null!==n;n=zm(n))for(let r=Qn;r<n.length;r++)yy(n[r],t)}function uS(e,t,n){yy(co(t,e),n)}function yy(e,t){_h(e)&&Uf(e,t)}function Uf(e,t){const r=e[we],i=e[ze],a=e[Do];let c=!!(0===t&&16&i);if(c||=!!(64&i&&0===t),c||=!!(1024&i),c||=!(!a?.dirty||!rt(a)),c||=!1,a&&(a.dirty=!1),e[ze]&=-9217,c)lS(r,e,r.template,e[_n]);else if(8192&i){_y(e,1);const h=r.components;null!==h&&vy(e,h,1)}}function vy(e,t,n){for(let r=0;r<t.length;r++)uS(e,t[r],n)}function Nc(e,t){const n=Qg()?64:1088;for(e[is].changeDetectionScheduler?.notify(t);e;){e[ze]|=n;const r=xs(e);if(ac(e)&&!r)return e;e=r}return null}class xc{get rootNodes(){const t=this._lView,n=t[we];return Ac(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[_n]}set context(t){this._lView[_n]=t}get destroyed(){return!(256&~this._lView[ze])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[cr];if(ui(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Ic(t,r),ns(n,r))}this._attachedToViewContainer=!1}id(this._lView[we],this._lView)}onDestroy(t){Su(this._lView,t)}markForCheck(){Nc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[ze]&=-129}reattach(){yh(this._lView),this._lView[ze]|=128}detectChanges(){this._lView[ze]|=1024,ud(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new De(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=ac(this._lView),n=this._lView[ya];null!==n&&!t&&Cf(n,this._lView),k_(this._lView[we],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new De(902,!1);this._appRef=t;const n=ac(this._lView),r=this._lView[ya];null!==r&&!n&&L_(r,this._lView),yh(this._lView)}}let Rc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=fS}return e})();const dS=Rc,hS=class extends dS{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=hl(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new xc(i)}};function fS(){return dd(rn(),ae())}function dd(e,t){return 4&e.type?new hS(t,e,rl(e,t)):null}let By=()=>null;function Na(e,t){return By(e,t)}class gl{}const $c=new Xe("",{providedIn:"root",factory:()=>!1}),jy=new Xe(""),Xf=new Xe("");class oT{}class $y{}class aT{resolveComponentFactory(t){throw function sT(e){const t=Error(`No component factory found for ${Sn(e)}.`);return t.ngComponent=e,t}(t)}}class Hc{static#e=this.NULL=new aT}class Yf{}let lT=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function cT(){const e=ae(),n=co(rn().index,e);return(Er(n)?n:e)[ot]}()}return e})(),uT=(()=>{class e{static#e=this.ɵprov=Lt({token:e,providedIn:"root",factory:()=>null})}return e})();function ea(e){return!!$t(e)}function yd(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,a=0;if(null!==t)for(let c=0;c<t.length;c++){const h=t[c];"number"==typeof h?a=h:1==a?i=Co(i,h):2==a&&(r=Co(r,h+": "+t[++c]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}class Wy extends Hc{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Ge(t);return new Wc(n,this.ngModule)}}function qy(e,t){const n=[];for(const r in e){if(!e.hasOwnProperty(r))continue;const i=e[r];if(void 0===i)continue;const a=Array.isArray(i),c=a?i[0]:i;n.push(t?{propName:c,templateName:r,isSignal:!!((a?i[1]:lo.None)&lo.SignalBased)}:{propName:c,templateName:r})}return n}class Wc extends $y{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=qy(t.inputs,!0);if(null!==n)for(const i of r)n.hasOwnProperty(i.propName)&&(i.transform=n[i.propName]);return r}get outputs(){return qy(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function fe(e){return e.map(Q).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){const a=G(null);try{let c=(i=i||this.ngModule)instanceof ci?i:i?.injector;c&&null!==this.componentDef.getStandaloneInjector&&(c=this.componentDef.getStandaloneInjector(c)||c);const h=c?new Da(t,c):t,g=h.get(Yf,null);if(null===g)throw new De(407,!1);const P={rendererFactory:g,sanitizer:h.get(uT,null),inlineEffectRunner:null,changeDetectionScheduler:h.get(gl,null)},k=g.createRenderer(null,this.componentDef),B=this.componentDef.selectors[0][0]||"div",X=r?function O0(e,t,n,r){const a=r.get(c_,!1)||n===Lo.ShadowDom,c=e.selectRootElement(t,a);return function P0(e){ny(e)}(c),c}(k,r,this.componentDef.encapsulation,h):rd(k,B,function fT(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(B));let ue=512;this.componentDef.signals?ue|=4096:this.componentDef.onPush||(ue|=16);let Ee=null;null!==X&&(Ee=ef(X,h,!0));const be=Af(0,null,null,1,0,null,null,null,null,null,null),de=ad(null,be,null,ue,null,null,P,k,h,null,Ee);Sh(de);let dt,xt,ln=null;try{const Jn=this.componentDef;let qi,Ul=null;Jn.findHostDirectiveDefs?(qi=[],Ul=new Map,Jn.findHostDirectiveDefs(Jn,qi,Ul),qi.push(Jn)):qi=[Jn];const MD=function gT(e,t){const n=e[we],r=Ue;return e[r]=t,Oa(n,r,2,"#host",null)}(de,X);ln=function mT(e,t,n,r,i,a,c){const h=i[we];!function _T(e,t,n,r){for(const i of e)t.mergedAttrs=Xs(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(yd(t,t.mergedAttrs,!0),null!==n&&Q_(r,n,t))}(r,e,t,c);let g=null;null!==t&&(g=ef(t,i[ur]));const C=a.rendererFactory.createRenderer(t,n);let E=16;n.signals?E=4096:n.onPush&&(E=64);const P=ad(i,ty(n),null,E,i[e.index],e,a,C,null,null,g);return h.firstCreatePass&&xf(h,e,r.length-1),ld(i,P),i[e.index]=P}(MD,X,Jn,qi,de,P,k),xt=cc(be,Ue),X&&function vT(e,t,n,r){if(r)Ts(e,n,["ng-version","18.2.5"]);else{const{attrs:i,classes:a}=function _e(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let a=e[r];if("string"==typeof a)2===i?""!==a&&t.push(a,e[++r]):8===i&&n.push(a);else{if(!o(i))break;i=a}r++}return{attrs:t,classes:n}}(t.selectors[0]);i&&Ts(e,n,i),a&&a.length>0&&K_(e,n,a.join(" "))}}(k,Jn,X,r),void 0!==n&&function CT(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const a=n[i];r.push(null!=a?Array.from(a):null)}}(xt,this.ngContentSelectors,n),dt=function yT(e,t,n,r,i,a){const c=rn(),h=i[we],g=Di(c,i);oy(h,i,c,n,null,r);for(let E=0;E<n.length;E++)di(Ma(i,h,c.directiveStart+E,c),i);sy(h,i,c),g&&di(g,i);const C=Ma(i,h,c.directiveStart+c.componentOffset,c);if(e[_n]=i[_n]=C,null!==a)for(const E of a)E(C,t);return If(h,c,i),C}(ln,Jn,qi,Ul,de,[wT]),Lf(be,de,null)}catch(Jn){throw null!==ln&&zh(ln),zh(de),Jn}finally{Th()}return new pT(this.componentType,dt,rl(xt,de),de,xt)}finally{G(a)}}}class pT extends oT{constructor(t,n,r,i,a){super(),this.location=r,this._rootLView=i,this._tNode=a,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new xc(i,void 0,!1),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const a=this._rootLView;kf(a[we],a,i,t,n),this.previousInputValues.set(t,n),Nc(co(this._tNode.index,a),1)}}get injector(){return new Dr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function wT(){const e=rn();Ou(ae()[we],e)}let vd=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=ET}return e})();function ET(){return Xy(rn(),ae())}const DT=vd,Ky=class extends DT{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return rl(this._hostTNode,this._hostLView)}get injector(){return new Dr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ru(this._hostTNode,this._hostLView);if(Ah(t)){const n=pc(t,this._hostLView),r=fc(t);return new Dr(n[we].data[r+8],n)}return new Dr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Qy(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Qn}createEmbeddedView(t,n,r){let i,a;"number"==typeof r?i=r:null!=r&&(i=r.index,a=r.injector);const c=Na(this._lContainer,t.ssrId),h=t.createEmbeddedViewImpl(n||{},a,c);return this.insertImpl(h,i,Pa(this._hostTNode,c)),h}createComponent(t,n,r,i,a){const c=t&&!function ic(e){return"function"==typeof e}(t);let h;if(c)h=n;else{const X=n||{};h=X.index,r=X.injector,i=X.projectableNodes,a=X.environmentInjector||X.ngModuleRef}const g=c?t:new Wc(Ge(t)),C=r||this.parentInjector;if(!a&&null==g.ngModule){const ue=(c?C:this.parentInjector).get(ci,null);ue&&(a=ue)}const E=Ge(g.componentType??{}),P=Na(this._lContainer,E?.id??null),B=g.create(C,i,P?.firstChild??null,a);return this.insertImpl(B.hostView,h,Pa(this._hostTNode,P)),B}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if(function QD(e){return ui(e[cr])}(i)){const h=this.indexOf(t);if(-1!==h)this.detach(h);else{const g=i[cr],C=new Ky(g,g[Qr],g[cr]);C.detach(C.indexOf(t))}}const a=this._adjustIndex(n),c=this._lContainer;return fl(c,i,a,r),t.attachToViewContainerRef(),bs(ep(c),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Qy(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Ic(this._lContainer,n);r&&(ns(ep(this._lContainer),n),id(r[we],r))}detach(t){const n=this._adjustIndex(t,-1),r=Ic(this._lContainer,n);return r&&null!=ns(ep(this._lContainer),n)?new xc(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Qy(e){return e[8]}function ep(e){return e[8]||(e[8]=[])}function Xy(e,t){let n;const r=t[e.index];return ui(r)?n=r:(n=ay(r,t,null,e),t[e.index]=n,ld(t,n)),Yy(n,t,e,r),new Ky(n,e,t)}let Yy=function Jy(e,t,n,r){if(e[os])return;let i;i=8&n.type?jt(r):function MT(e,t){const n=e[ot],r=n.createComment(""),i=Di(t,e);return Ta(n,Df(n,i),r,function E0(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[os]=i},tp=()=>!1;class np{constructor(t){this.queryList=t,this.matches=null}clone(){return new np(this.queryList)}setDirty(){this.queryList.setDirty()}}class rp{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let a=0;a<r;a++){const c=n.getByIndex(a);i.push(this.queries[c.indexInDeclarationView].clone())}return new rp(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==lp(t,n).matches&&this.queries[n].setDirty()}}class ev{constructor(t,n,r=null){this.flags=n,this.read=r,this.predicate="string"==typeof t?function NT(e){return e.split(",").map((t=>t.trim()))}(t):t}}class ip{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,a=this.getByIndex(r).embeddedTView(t,i);a&&(a.indexInDeclarationView=r,null!==n?n.push(a):n=[a])}return null!==n?new ip(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class op{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new op(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const a=r[i];this.matchTNodeWithReadOption(t,n,IT(n,a)),this.matchTNodeWithReadOption(t,n,Fu(n,t,a,!1,!1))}else r===Rc?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Fu(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===mc||i===vd||i===Rc&&4&n.type)this.addMatch(n.index,-2);else{const a=Fu(n,t,i,!1,!1);null!==a&&this.addMatch(n.index,a)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function IT(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function PT(e,t,n,r){return-1===n?function OT(e,t){return 11&e.type?rl(e,t):4&e.type?dd(e,t):null}(t,e):-2===n?function AT(e,t,n){return n===mc?rl(t,e):n===Rc?dd(t,e):n===vd?Xy(t,e):void 0}(e,t,r):Ma(e,e[we],n,t)}function tv(e,t,n,r){const i=t[Ns].queries[r];if(null===i.matches){const a=e.data,c=n.matches,h=[];for(let g=0;null!==c&&g<c.length;g+=2){const C=c[g];h.push(C<0?null:PT(t,a[C],c[g+1],n.metadata.read))}i.matches=h}return i.matches}function sp(e,t,n,r){const i=e.queries.getByIndex(n),a=i.matches;if(null!==a){const c=tv(e,t,i,n);for(let h=0;h<a.length;h+=2){const g=a[h];if(g>0)r.push(c[h/2]);else{const C=a[h+1],E=t[-g];for(let P=Qn;P<E.length;P++){const k=E[P];k[ya]===k[cr]&&sp(k[we],k,C,r)}if(null!==E[Ja]){const P=E[Ja];for(let k=0;k<P.length;k++){const B=P[k];sp(B[we],B,C,r)}}}}}return r}function nv(e,t,n){const r=new $h(!(4&~n));return function x0(e,t,n,r){const i=cy(t);i.push(n),e.firstCreatePass&&uy(e).push(r,i.length-1)}(e,t,r,r.destroy),(t[Ns]??=new rp).queries.push(new np(r))-1}function ov(e,t,n){null===e.queries&&(e.queries=new ip),e.queries.track(new op(t,n))}function lp(e,t){return e.queries.getByIndex(t)}function sv(e,t){const n=e[we],r=lp(n,t);return r.crossesNgTemplate?sp(n,e,t,[]):tv(n,e,r,t)}const av=new Set;function bi(e){av.has(e)||(av.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function cv(e,t){bi("NgSignals");const n=function We(e){const t=Object.create(kn);t.value=e;const n=()=>(z(t),t.value);return n[$]=t,n}(e),r=n[$];return t?.equal&&(r.equal=t.equal),n.set=i=>vn(r,i),n.update=i=>function cn(e,t){Ie()||Nn(),vn(e,t(e.value))}(r,i),n.asReadonly=uv.bind(n),n}function uv(){const e=this[$];if(void 0===e.readonlyFn){const t=()=>this();t[$]=e,e.readonlyFn=t}return e.readonlyFn}function dv(e){return function lv(e){return"function"==typeof e&&void 0!==e[$]}(e)&&"function"==typeof e.set}function up(e){let t=function Ev(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(jo(e))i=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new De(903,!1);i=t.ɵdir}if(i){if(n){r.push(i);const c=e;c.inputs=wd(e.inputs),c.inputTransforms=wd(e.inputTransforms),c.declaredInputs=wd(e.declaredInputs),c.outputs=wd(e.outputs);const h=i.hostBindings;h&&qT(e,h);const g=i.viewQuery,C=i.contentQueries;if(g&&zT(e,g),C&&WT(e,C),HT(e,i),oa(e.outputs,i.outputs),jo(i)&&i.data.animation){const E=e.data;E.animation=(E.animation||[]).concat(i.data.animation)}}const a=i.features;if(a)for(let c=0;c<a.length;c++){const h=a[c];h&&h.ngInherit&&h(e),h===up&&(n=!1)}}t=Object.getPrototypeOf(t)}!function GT(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Xs(i.hostAttrs,n=Xs(n,i.hostAttrs))}}(r)}function HT(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const i=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(i))continue;e.inputTransforms??={},e.inputTransforms[i]=t.inputTransforms[i]}}}function wd(e){return e===ao?{}:e===kt?[]:e}function zT(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function WT(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,a)=>{t(r,i,a),n(r,i,a)}:t}function qT(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function Sv(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}e.inputTransforms=n}class xa{}class Tv{}function JT(e,t){return new dp(e,t??null,[])}class dp extends xa{constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Wy(this);const a=$t(t);this._bootstrapComponents=uo(a.bootstrap),this._r3Injector=bm(t,n,[{provide:xa,useValue:this},{provide:Hc,useValue:this.componentFactoryResolver},...r],Sn(t),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}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 hp extends Tv{constructor(t){super(),this.moduleType=t}create(t){return new dp(this.moduleType,t,[])}}class Iv extends xa{constructor(t){super(),this.componentFactoryResolver=new Wy(this),this.instance=null;const n=new Wa([...t.providers,{provide:xa,useValue:this},{provide:Hc,useValue:this.componentFactoryResolver}],t.parent||As(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function fp(e,t,n=null){return new Iv({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function Ed(e){return!!pp(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function pp(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ds(e,t,n){return e[t]=n}function Xn(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Ra(e,t,n,r){const i=Xn(e,t,n);return Xn(e,t+1,r)||i}function Qc(e,t,n,r,i,a,c,h,g,C){const E=n+Ue,P=t.firstCreatePass?function oI(e,t,n,r,i,a,c,h,g){const C=t.consts,E=Oa(t,e,4,c||null,h||null);Nf(t,n,E,Mo(C,g)),Ou(t,E);const P=E.tView=Af(2,E,r,i,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,C,null);return null!==t.queries&&(t.queries.template(t,E),P.queries=t.queries.embeddedTView(E)),E}(E,t,e,r,i,a,c,h,g):t.data[E];$o(P,!1);const k=Ov(t,e,P,n);dc()&&od(t,e,k,P),di(k,e);const B=ay(k,e,k,P);return e[E]=B,ld(e,B),function Zy(e,t,n){return tp(e,t,n)}(B,P,e),Du(P)&&Of(t,e,P),null!=g&&Pf(e,P,C),P}function gp(e,t,n,r,i,a,c,h){const g=ae(),C=Dt();return Qc(g,C,e,t,n,r,i,Mo(C.consts,a),c,h),gp}let Ov=function Pv(e,t,n,r){return as(!0),t[ot].createComment("")};var vl=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(vl||{});let kv=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static#e=this.ɵprov=Lt({token:e,providedIn:"root",factory:()=>new e})}return e})();class Zc{constructor(){this.ngZone=pe(An),this.scheduler=pe(gl),this.errorHandler=pe(ks,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static#e=this.PHASES=[vl.EarlyRead,vl.Write,vl.MixedReadWrite,vl.Read];execute(){this.executing=!0;for(const t of Zc.PHASES)for(const n of this.sequences)if(!n.erroredOrDestroyed&&n.hooks[t])try{n.pipelinedValue=this.ngZone.runOutsideAngular((()=>n.hooks[t](n.pipelinedValue)))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(const t of this.sequences)t.afterRun(),t.once&&this.sequences.delete(t);for(const t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}static#t=this.ɵprov=Lt({token:Zc,providedIn:"root",factory:()=>new Zc})}class cI{constructor(t,n,r,i){this.impl=t,this.hooks=n,this.once=r,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=i.onDestroy((()=>this.destroy()))}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy()}}function Td(e,t){!t?.injector&&function lh(e){if(!bg())throw new De(-203,!1)}();const n=t?.injector??pe(Yr);return function ho(e){return"browser"===(e??pe(Yr)).get(Hu)}(n)?(bi("NgAfterNextRender"),function Lv(e,t,n,r){const i=t.get(kv);i.impl??=t.get(Zc);const c=new cI(i.impl,function dI(e,t){if(e instanceof Function){const n=[void 0,void 0,void 0,void 0];return n[t]=e,n}return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e,n?.phase??vl.MixedReadWrite),r,t.get(gc));return i.impl.register(c),c}(e,n,t,!0)):Vv}const Vv={destroy(){}};function Sp(e,t,n,r){const i=ae();return Xn(i,Ho(),t)&&(Dt(),us(yn(),i,e,t,n,r)),Sp}function Sl(e,t,n,r){return Xn(e,Ho(),n)?t+Ye(n)+r:pt}function Tl(e,t,n,r,i,a){const h=Ra(e,function Rs(){return st.lFrame.bindingIndex}(),n,i);return Fs(2),h?t+Ye(n)+r+Ye(i)+a:pt}function Pd(e,t){return e<<17|t<<2}function ra(e){return e>>17&32767}function Tp(e){return 2|e}function ka(e){return(131068&e)>>2}function Ip(e,t){return-131069&e|t<<2}function Op(e){return 1|e}function uC(e,t,n,r){const i=e[n+1],a=null===t;let c=r?ra(i):ka(i),h=!1;for(;0!==c&&(!1===h||a);){const C=e[c+1];qI(e[c],t)&&(h=!0,e[c+1]=r?Op(C):Tp(C)),c=r?ra(C):ka(C)}h&&(e[n+1]=r?Tp(i):Op(i))}function qI(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Ss(e,t)>=0}const Mr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function dC(e){return e.substring(Mr.key,Mr.keyEnd)}function hC(e,t){const n=Mr.textEnd;return n===t?-1:(t=Mr.keyEnd=function YI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Mr.key=t,n),Rl(e,t,n))}function Rl(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Pp(e,t,n){const r=ae();return Xn(r,Ho(),t)&&zi(Dt(),yn(),r,e,t,r[ot],n,!1),Pp}function Ap(e,t,n,r,i){const c=i?"class":"style";kf(e,n,t.inputs[c],c,r)}function Np(e,t){return function Go(e,t,n,r){const i=ae(),a=Dt(),c=Fs(2);a.firstUpdatePass&&CC(a,e,c,r),t!==pt&&Xn(i,c,t)&&EC(a,a.data[Xr()],i,i[ot],e,i[c+1]=function lO(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Sn(Js(e)))),e}(t,n),r,c)}(e,t,null,!0),Np}function yC(e){zo(sO,fs,e,!0)}function fs(e,t){for(let n=function QI(e){return function pC(e){Mr.key=0,Mr.keyEnd=0,Mr.value=0,Mr.valueEnd=0,Mr.textEnd=e.length}(e),hC(e,Rl(e,0,Mr.textEnd))}(t);n>=0;n=hC(t,n))qr(e,dC(t),!0)}function zo(e,t,n,r){const i=Dt(),a=Fs(2);i.firstUpdatePass&&CC(i,null,a,r);const c=ae();if(n!==pt&&Xn(c,a,n)){const h=i.data[Xr()];if(MC(h,r)&&!vC(i,a)){let g=r?h.classesWithoutHost:h.stylesWithoutHost;null!==g&&(n=Co(g,n||"")),Ap(i,h,c,n,r)}else!function aO(e,t,n,r,i,a,c,h){i===pt&&(i=kt);let g=0,C=0,E=0<i.length?i[0]:null,P=0<a.length?a[0]:null;for(;null!==E||null!==P;){const k=g<i.length?i[g+1]:void 0,B=C<a.length?a[C+1]:void 0;let ue,X=null;E===P?(g+=2,C+=2,k!==B&&(X=P,ue=B)):null===P||null!==E&&E<P?(g+=2,X=E):(C+=2,X=P,ue=B),null!==X&&EC(e,t,n,r,X,ue,c,h),E=g<i.length?i[g]:null,P=C<a.length?a[C]:null}}(i,h,c,c[ot],c[a+1],c[a+1]=function oO(e,t,n){if(null==n||""===n)return kt;const r=[],i=Js(n);if(Array.isArray(i))for(let a=0;a<i.length;a++)e(r,i[a],!0);else if("object"==typeof i)for(const a in i)i.hasOwnProperty(a)&&e(r,a,i[a]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,a)}}function vC(e,t){return t>=e.expandoStartIndex}function CC(e,t,n,r){const i=e.data;if(null===i[n+1]){const a=i[Xr()],c=vC(e,n);MC(a,r)&&null===t&&!c&&(t=!1),t=function tO(e,t,n,r){const i=function Mh(e){const t=st.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let a=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=eu(n=xp(null,e,t,n,r),t.attrs,r),a=null);else{const c=t.directiveStylingLast;if(-1===c||e[c]!==i)if(n=xp(i,e,t,n,r),null===a){let g=function nO(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==ka(r))return e[ra(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=xp(null,e,t,g[1],r),g=eu(g,t.attrs,r),function rO(e,t,n,r){e[ra(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else a=function iO(e,t,n){let r;const i=t.directiveEnd;for(let a=1+t.directiveStylingLast;a<i;a++)r=eu(r,e[a].hostAttrs,n);return eu(r,t.attrs,n)}(e,t,r)}return void 0!==a&&(r?t.residualClasses=a:t.residualStyles=a),n}(i,a,t,r),function zI(e,t,n,r,i,a){let c=a?t.classBindings:t.styleBindings,h=ra(c),g=ka(c);e[r]=n;let E,C=!1;if(Array.isArray(n)?(E=n[1],(null===E||Ss(n,E)>0)&&(C=!0)):E=n,i)if(0!==g){const k=ra(e[h+1]);e[r+1]=Pd(k,h),0!==k&&(e[k+1]=Ip(e[k+1],r)),e[h+1]=function HI(e,t){return 131071&e|t<<17}(e[h+1],r)}else e[r+1]=Pd(h,0),0!==h&&(e[h+1]=Ip(e[h+1],r)),h=r;else e[r+1]=Pd(g,0),0===h?h=r:e[g+1]=Ip(e[g+1],r),g=r;C&&(e[r+1]=Tp(e[r+1])),uC(e,E,r,!0),uC(e,E,r,!1),function WI(e,t,n,r,i){const a=i?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&Ss(a,t)>=0&&(n[r+1]=Op(n[r+1]))}(t,E,e,r,a),c=Pd(h,g),a?t.classBindings=c:t.styleBindings=c}(i,a,t,n,c,r)}}function xp(e,t,n,r,i){let a=null;const c=n.directiveEnd;let h=n.directiveStylingLast;for(-1===h?h=n.directiveStart:h++;h<c&&(a=t[h],r=eu(r,a.hostAttrs,i),a!==e);)h++;return null!==e&&(n.directiveStylingLast=h),r}function eu(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let a=0;a<t.length;a++){const c=t[a];"number"==typeof c?i=c:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),qr(e,c,!!n||t[++a]))}return void 0===e?null:e}function sO(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&qr(e,r,n)}function EC(e,t,n,r,i,a,c,h){if(!(3&t.type))return;const g=e.data,C=g[h+1],E=function GI(e){return!(1&~e)}(C)?DC(g,t,n,i,ka(C),c):void 0;Ad(E)||(Ad(a)||function $I(e){return!(2&~e)}(C)&&(a=DC(g,null,n,i,h,c)),function b0(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let a=-1===r.indexOf("-")?void 0:nd.DashCase;null==i?e.removeStyle(n,r,a):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),a|=nd.Important),e.setStyle(n,r,i,a))}}(r,c,lc(Xr(),n),i,a))}function DC(e,t,n,r,i,a){const c=null===t;let h;for(;i>0;){const g=e[i],C=Array.isArray(g),E=C?g[1]:g,P=null===E;let k=n[i+1];k===pt&&(k=P?kt:void 0);let B=P?$a(k,r):E===r?k:void 0;if(C&&!Ad(B)&&(B=$a(g,r)),Ad(B)&&(h=B,c))return h;const X=e[i+1];i=c?ra(X):ka(X)}if(null!==t){let g=a?t.residualClasses:t.residualStyles;null!=g&&(h=$a(g,r))}return h}function Ad(e){return void 0!==e}function MC(e,t){return!!(e.flags&(t?8:16))}function bC(e,t,n){zo(qr,fs,Sl(ae(),e,t,n),!0)}function xd(e,t,n,r){const i=ae(),a=Dt(),c=Ue+e,h=i[ot],g=a.firstCreatePass?function PO(e,t,n,r,i,a){const c=t.consts,g=Oa(t,e,2,r,Mo(c,i));return Nf(t,n,g,Mo(c,a)),null!==g.attrs&&yd(g,g.attrs,!1),null!==g.mergedAttrs&&yd(g,g.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,g),g}(c,a,i,t,n,r):a.data[c],C=OC(a,i,g,h,t,e);i[c]=C;const E=Du(g);return $o(g,!0),Q_(h,C,g),!function _l(e){return!(32&~e.flags)}(g)&&dc()&&od(a,i,C,g),0===function XD(){return st.lFrame.elementDepthCount}()&&di(C,i),function YD(){st.lFrame.elementDepthCount++}(),E&&(Of(a,i,g),If(a,g,i)),null!==r&&Pf(i,g),xd}function Rd(){let e=rn();wh()?Eh():(e=e.parent,$o(e,!1));const t=e;(function JD(e){return st.skipHydrationRootTNode===e})(t)&&function rM(){st.skipHydrationRootTNode=null}(),function ZD(){st.lFrame.elementDepthCount--}();const n=Dt();return n.firstCreatePass&&(Ou(n,e),dh(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function _M(e){return!!(8&e.flags)}(t)&&Ap(n,t,ae(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function yM(e){return!!(16&e.flags)}(t)&&Ap(n,t,ae(),t.stylesWithoutHost,!1),Rd}function Lp(e,t,n,r){return xd(e,t,n,r),Rd(),Lp}let OC=(e,t,n,r,i,a)=>(as(!0),rd(r,i,function im(){return st.lFrame.currentNamespace}()));function Fd(e,t,n){const r=ae(),i=Dt(),a=e+Ue,c=i.firstCreatePass?function xO(e,t,n,r,i){const a=t.consts,c=Mo(a,r),h=Oa(t,e,8,"ng-container",c);return null!==c&&yd(h,c,!0),Nf(t,n,h,Mo(a,i)),null!==t.queries&&t.queries.elementStart(t,h),h}(a,i,r,t,n):i.data[a];$o(c,!0);const h=PC(i,r,c,e);return r[a]=h,dc()&&od(i,r,h,c),di(h,r),Du(c)&&(Of(i,r,c),If(i,c,r)),null!=n&&Pf(r,c),Fd}function kd(){let e=rn();const t=Dt();return wh()?Eh():(e=e.parent,$o(e,!1)),t.firstCreatePass&&(Ou(t,e),dh(e)&&t.queries.elementEnd(e)),kd}function Vp(e,t,n){return Fd(e,t,n),kd(),Vp}let PC=(e,t,n,r)=>(as(!0),vf(t[ot],""));function AC(){return ae()}function Up(e,t,n){const r=ae();return Xn(r,Ho(),t)&&zi(Dt(),yn(),r,e,t,r[ot],n,!0),Up}const La=void 0;var LO=["en",[["a","p"],["AM","PM"],La],[["AM","PM"],La,La],[["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"]],La,[["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"]],La,[["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}",La,"{1} 'at' {0}",La],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function kO(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Fl={};function Bp(e){const t=function VO(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=RC(t);if(n)return n;const r=t.split("-")[0];if(n=RC(r),n)return n;if("en"===r)return LO;throw new De(701,!1)}function xC(e){return Bp(e)[kl.PluralCase]}function RC(e){return e in Fl||(Fl[e]=an.ng&&an.ng.common&&an.ng.common.locales&&an.ng.common.locales[e]),Fl[e]}var kl=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}(kl||{});const Ld="en-US";let FC=Ld,JC=(e,t,n)=>{};function Hp(e,t,n,r){const i=ae(),a=Dt(),c=rn();return Gp(a,i,i[ot],c,e,t,r),Hp}function Gp(e,t,n,r,i,a,c){const h=Du(r),C=e.firstCreatePass&&uy(e),E=t[_n],P=cy(t);let k=!0;if(3&r.type||c){const ue=Di(r,t),Ee=c?c(ue):ue,be=P.length,de=c?xt=>c(jt(xt[r.index])):r.index;let dt=null;if(!c&&h&&(dt=function SP(e,t,n,r){const i=e.cleanup;if(null!=i)for(let a=0;a<i.length-1;a+=2){const c=i[a];if(c===n&&i[a+1]===r){const h=t[Qa],g=i[a+2];return h.length>g?h[g]:null}"string"==typeof c&&(a+=2)}return null}(e,t,i,r.index)),null!==dt)(dt.__ngLastListenerFn__||dt).__ngNextListenerFn__=a,dt.__ngLastListenerFn__=a,k=!1;else{a=rw(r,t,E,a),JC(ue,i,a);const xt=n.listen(Ee,i,a);P.push(a,xt),C&&C.push(i,de,be,be+1)}}else a=rw(r,t,E,a);const B=r.outputs;let X;if(k&&null!==B&&(X=B[i])){const ue=X.length;if(ue)for(let Ee=0;Ee<ue;Ee+=2){const ln=t[X[Ee]][X[Ee+1]].subscribe(a),Jn=P.length;P.push(a,ln),C&&C.push(i,r.index,Jn,-(Jn+1))}}}function nw(e,t,n,r){const i=G(null);try{return ss(6,t,n),!1!==n(r)}catch(a){return cd(e,a),!1}finally{ss(7,t,n),G(i)}}function rw(e,t,n,r){return function i(a){if(a===Function)return r;Nc(e.componentOffset>-1?co(e.index,t):t,5);let h=nw(t,n,r,a),g=i.__ngNextListenerFn__;for(;g;)h=nw(t,n,g,a)&&h,g=g.__ngNextListenerFn__;return h}}function iw(e=1){return function lM(e){return(st.lFrame.contextLView=function jg(e,t){for(;e>0;)t=t[Xa],e--;return t}(e,st.lFrame.contextLView))[_n]}(e)}function TP(e,t){let n=null;const r=function f(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 i=0;i<t.length;i++){const a=t[i];if("*"!==a){if(null===r?d(e,a,!0):S(r,a))return i}else n=i}return n}function ow(e){const t=ae()[Pn][Qr];if(!t.projection){const r=t.projection=function jn(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(e?e.length:1,null),i=r.slice();let a=t.child;for(;null!==a;){if(128!==a.type){const c=e?TP(a,e):0;null!==c&&(i[c]?i[c].projectionNext=a:r[c]=a,i[c]=a)}a=a.next}}}function sw(e,t=0,n,r,i,a){const c=ae(),h=Dt(),g=r?e+1:null;null!==g&&Qc(c,h,g,r,i,a,null,n);const C=Oa(h,Ue+e,16,null,n||null);null===C.projection&&(C.projection=t),Eh();const P=!c[Ei]||wa();null===c[Pn][Qr].projection[C.projection]&&null!==g?function IP(e,t,n){const r=Ue+n,i=t.data[r],a=e[r],c=Na(a,i.tView.ssrId);fl(a,hl(e,i,void 0,{dehydratedView:c}),0,Pa(i,c))}(c,h,g):P&&32&~C.flags&&function D0(e,t,n){q_(t[ot],0,t,n,Ef(e,n,t),j_(n.parent||t[Qr],n,t))}(h,c,C)}function zp(e,t,n){return jd(e,"",t,"",n),zp}function jd(e,t,n,r,i){const a=ae(),c=Sl(a,t,n,r);return c!==pt&&zi(Dt(),yn(),a,e,c,a[ot],i,!1),jd}function gw(e,t,n,r){!function iv(e,t,n,r){const i=Dt();if(i.firstCreatePass){const a=rn();ov(i,new ev(t,n,r),a.index),function xT(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),!(2&~n)&&(i.staticContentQueries=!0)}return nv(i,ae(),n)}(e,t,n,r)}function mw(e,t,n){!function rv(e,t,n){const r=Dt();return r.firstCreatePass&&(ov(r,new ev(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),nv(r,ae(),t)}(e,t,n)}function _w(e){const t=ae(),n=Dt(),r=bh();Iu(r+1);const i=lp(n,r);if(e.dirty&&function KD(e){return!(4&~e[ze])}(t)===!(2&~i.metadata.flags)){if(null===i.matches)e.reset([]);else{const a=sv(t,r);e.reset(a,Rm),e.notifyOnChanges()}return!0}return!1}function yw(){return function ap(e,t){return e[Ns].queries[t].queryList}(ae(),bh())}function vw(e){return function Ca(e,t){return e[t]}(function qg(){return st.lFrame.contextLView}(),Ue+e)}function Ow(e,t=""){const n=ae(),r=Dt(),i=e+Ue,a=r.firstCreatePass?Oa(r,i,1,t,null):r.data[i],c=Pw(r,n,a,t,e);n[i]=c,dc()&&od(r,n,c,a),$o(a,!1)}let Pw=(e,t,n,r,i)=>(as(!0),function yf(e,t){return e.createText(t)}(t[ot],r));function qp(e){return $d("",e,""),qp}function $d(e,t,n){const r=ae(),i=Sl(r,e,t,n);return i!==pt&&Vs(r,Xr(),i),$d}function Kp(e,t,n,r,i){const a=ae(),c=Tl(a,e,t,n,r,i);return c!==pt&&Vs(a,Xr(),c),Kp}function Qp(e,t,n){dv(t)&&(t=t());const r=ae();return Xn(r,Ho(),t)&&zi(Dt(),yn(),r,e,t,r[ot],n,!1),Qp}function Vw(e,t){const n=dv(e);return n&&e.set(t),n}function Xp(e,t){const n=ae(),r=Dt(),i=rn();return Gp(r,n,n[ot],i,e,t),Xp}function Yp(e,t,n,r,i){if(e=$e(e),Array.isArray(e))for(let a=0;a<e.length;a++)Yp(e[a],t,n,r,i);else{const a=Dt(),c=ae(),h=rn();let g=Xt(e)?e:$e(e.provide);const C=Mg(e),E=1048575&h.providerIndexes,P=h.directiveStart,k=h.providerIndexes>>20;if(Xt(e)||!e.multi){const B=new hc(C,i,dl),X=Jp(g,t,i?E:E+k,P);-1===X?(Rh(xu(h,c),a,g),Zp(a,e,t.length),t.push(g),h.directiveStart++,h.directiveEnd++,i&&(h.providerIndexes+=1048576),n.push(B),c.push(B)):(n[X]=B,c[X]=B)}else{const B=Jp(g,t,E+k,P),X=Jp(g,t,E,E+k),Ee=X>=0&&n[X];if(i&&!Ee||!i&&!(B>=0&&n[B])){Rh(xu(h,c),a,g);const be=function KP(e,t,n,r,i){const a=new hc(e,n,dl);return a.multi=[],a.index=t,a.componentProviders=0,jw(a,i,r&&!n),a}(i?qP:WP,n.length,i,r,C);!i&&Ee&&(n[X].providerFactory=be),Zp(a,e,t.length,0),t.push(g),h.directiveStart++,h.directiveEnd++,i&&(h.providerIndexes+=1048576),n.push(be),c.push(be)}else Zp(a,e,B>-1?B:X,jw(n[i?X:B],C,!i&&r));!i&&r&&Ee&&n[X].componentProviders++}}}function Zp(e,t,n,r){const i=Xt(t),a=function yu(e){return!!e.useClass}(t);if(i||a){const g=(a?$e(t.useClass):t).prototype.ngOnDestroy;if(g){const C=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const E=C.indexOf(n);-1===E?C.push(n,[r,g]):C[E+1].push(r,g)}else C.push(n,g)}}}function jw(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Jp(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function WP(e,t,n,r){return eg(this.multi,[])}function qP(e,t,n,r){const i=this.multi;let a;if(this.providerFactory){const c=this.providerFactory.componentProviders,h=Ma(n,n[we],this.providerFactory.index,r);a=h.slice(0,c),eg(i,a);for(let g=c;g<h.length;g++)a.push(h[g])}else a=[],eg(i,a);return a}function eg(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function $w(e,t=[]){return n=>{n.providersResolver=(r,i)=>function zP(e,t,n){const r=Dt();if(r.firstCreatePass){const i=jo(e);Yp(n,r.data,r.blueprint,i,!0),Yp(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}let QP=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=za(0,n.type),i=r.length>0?fp([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.ɵprov=Lt({token:e,providedIn:"environment",factory:()=>new e(ct(ci))})}return e})();function Hw(e){bi("NgStandalone"),e.getStandaloneInjector=t=>t.get(QP).getOrCreateStandaloneInjector(e)}function Ww(e,t,n){const r=Mi()+e,i=ae();return i[r]===pt?ds(i,r,n?t.call(n):t()):function Kc(e,t){return e[t]}(i,r)}function qw(e,t,n,r){return function Xw(e,t,n,r,i,a){const c=t+n;return Xn(e,c,i)?ds(e,c+1,a?r.call(a,i):r(i)):su(e,c+1)}(ae(),Mi(),e,t,n,r)}function Kw(e,t,n,r,i){return function Yw(e,t,n,r,i,a,c){const h=t+n;return Ra(e,h,i,a)?ds(e,h+2,c?r.call(c,i,a):r(i,a)):su(e,h+2)}(ae(),Mi(),e,t,n,r,i)}function Qw(e,t,n,r,i,a){return function Zw(e,t,n,r,i,a,c,h){const g=t+n;return function Dd(e,t,n,r,i){const a=Ra(e,t,n,r);return Xn(e,t+2,i)||a}(e,g,i,a,c)?ds(e,g+3,h?r.call(h,i,a,c):r(i,a,c)):su(e,g+3)}(ae(),Mi(),e,t,n,r,i,a)}function su(e,t){const n=e[t];return n===pt?void 0:n}function tE(e,t){return dd(e,t)}class _E{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let yE=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.ɵfac=function(r){return new(r||e)};static#t=this.ɵprov=Lt({token:e,factory:e.ɵfac,providedIn:"platform"})}return e})();const DE=new Xe(""),ME=new Xe("");let sg,iN=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,sg||(function oN(e){sg=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.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:()=>{An.assertNotInAngularZone(),queueMicrotask((()=>{this._isZoneStable=!0,this._runCallbacksIfReady()}))}})}))}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask((()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}}));else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter((r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((n=>({source:n.source,creationLocation:n.creationLocation,data:n.data}))):[]}addCallback(n,r,i){let a=-1;r&&r>0&&(a=setTimeout((()=>{this._callbacks=this._callbacks.filter((c=>c.timeoutId!==a)),n()}),r)),this._callbacks.push({doneCb:n,timeoutId:a,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static#e=this.ɵfac=function(r){return new(r||e)(ct(An),ct(bE),ct(ME))};static#t=this.ɵprov=Lt({token:e,factory:e.ɵfac})}return e})(),bE=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return sg?.findTestabilityInTree(this,n,r)??null}static#e=this.ɵfac=function(r){return new(r||e)};static#t=this.ɵprov=Lt({token:e,factory:e.ɵfac,providedIn:"platform"})}return e})();function ag(e){return!!e&&"function"==typeof e.then}function SE(e){return!!e&&"function"==typeof e.subscribe}const TE=new Xe("");let IE=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise(((n,r)=>{this.resolve=n,this.reject=r})),this.appInits=pe(TE,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const a=i();if(ag(a))n.push(a);else if(SE(a)){const c=new Promise(((h,g)=>{a.subscribe({complete:h,error:g})}));n.push(c)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then((()=>{r()})).catch((i=>{this.reject(i)})),0===n.length&&r(),this.initialized=!0}static#e=this.ɵfac=function(r){return new(r||e)};static#t=this.ɵprov=Lt({token:e,factory:e.ɵfac,providedIn:"root"})}return e})();const qd=new Xe("");function PE(e,t){return Array.isArray(t)?t.reduce(PE,e):{...e,...t}}let ps=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=pe(WM),this.afterRenderManager=pe(kv),this.zonelessEnabled=pe($c),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new wn.B,this.afterTick=new wn.B,this.componentTypes=[],this.components=[],this.isStable=pe(ba).hasPendingTasks.pipe((0,En.T)((n=>!n))),this._injector=pe(ci)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise((r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})})).finally((()=>{n.unsubscribe()}))}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof $y;if(!this._injector.get(IE).done)throw!i&&Cr(n),new De(405,!1);let c;c=i?n:this._injector.get(Hc).resolveComponentFactory(n),this.componentTypes.push(c.componentType);const h=function sN(e){return e.isBoundToModule}(c)?void 0:this._injector.get(xa),C=c.create(Yr.NULL,[],r||c.selector,h),E=C.location.nativeElement,P=C.injector.get(DE,null);return P?.registerApplication(E),C.onDestroy((()=>{this.detachView(C.hostView),Kd(this.components,C),P?.unregisterApplication(E)})),this._loadComponent(C),C}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new De(101,!1);const n=G(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,G(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Yf,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;0!==this.dirtyFlags&&r++<10;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(r);for(let{_lView:i,notifyErrorHandler:a}of this._views)cN(i,a,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else n?.begin?.(),n?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some((({_lView:n})=>Mu(n)))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Kd(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(qd,[]);[...this._bootstrapListeners,...r].forEach((i=>i(n)))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach((n=>n())),this._views.slice().forEach((n=>n.destroy()))}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Kd(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new De(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.ɵfac=function(r){return new(r||e)};static#t=this.ɵprov=Lt({token:e,factory:e.ɵfac,providedIn:"root"})}return e})();function Kd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function cN(e,t,n,r){(n||Mu(e))&&ud(e,t,n&&!r?0:1)}class uN{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let dN=(()=>{class e{compileModuleSync(n){return new hp(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),a=uo($t(n).declarations).reduce(((c,h)=>{const g=Ge(h);return g&&c.push(new Wc(g)),c}),[]);return new uN(r,a)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.ɵfac=function(r){return new(r||e)};static#t=this.ɵprov=Lt({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),pN=(()=>{class e{constructor(){this.zone=pe(An),this.changeDetectionScheduler=pe(gl),this.applicationRef=pe(ps)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run((()=>{this.applicationRef.tick()}))}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.ɵfac=function(r){return new(r||e)};static#t=this.ɵprov=Lt({token:e,factory:e.ɵfac,providedIn:"root"})}return e})();function lg({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new An({...cg(),scheduleInRootZone:n}),[{provide:An,useFactory:e},{provide:wi,multi:!0,useFactory:()=>{const r=pe(pN,{optional:!0});return()=>r.initialize()}},{provide:wi,multi:!0,useFactory:()=>{const r=pe(mN);return()=>{r.initialize()}}},!0===t?{provide:jy,useValue:!0}:[],{provide:Xf,useValue:n??Tm}]}function cg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let mN=(()=>{class e{constructor(){this.subscription=new Ln.yU,this.initialized=!1,this.zone=pe(An),this.pendingTasks=pe(ba)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular((()=>{this.subscription.add(this.zone.onStable.subscribe((()=>{An.assertNotInAngularZone(),queueMicrotask((()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)}))})))})),this.subscription.add(this.zone.onUnstable.subscribe((()=>{An.assertInAngularZone(),n??=this.pendingTasks.add()})))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.ɵfac=function(r){return new(r||e)};static#t=this.ɵprov=Lt({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),uu=(()=>{class e{constructor(){this.appRef=pe(ps),this.taskService=pe(ba),this.ngZone=pe(An),this.zonelessEnabled=pe($c),this.disableScheduling=pe(jy,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new Ln.yU,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Uu):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(pe(Xf,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe((()=>{this.runningTick||this.cleanup()}))),this.subscriptions.add(this.ngZone.onUnstable.subscribe((()=>{this.runningTick||this.cleanup()}))),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof jh||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?Om:Im;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run((()=>r((()=>this.tick())))):this.ngZone.runOutsideAngular((()=>r((()=>this.tick()))))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Uu+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run((()=>{this.runningTick=!0,this.appRef._tick()}),void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Om((()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)}))}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static#e=this.ɵfac=function(r){return new(r||e)};static#t=this.ɵprov=Lt({token:e,factory:e.ɵfac,providedIn:"root"})}return e})();const dg=new Xe("",{providedIn:"root",factory:()=>pe(dg,yt.Optional|yt.SkipSelf)||function _N(){return typeof $localize<"u"&&$localize.locale||Ld}()}),yN=new Xe("",{providedIn:"root",factory:()=>"USD"}),hg=new Xe("");function Xd(e){return!!e.platformInjector}let LE=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=r?.scheduleInRootZone,c=r?.ignoreChangesOutsideZone,h=[lg({ngZoneFactory:()=>function zM(e="zone.js",t){return"noop"===e?new jh:"zone.js"===e?new An(t):e}(r?.ngZone,{...cg({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}),scheduleInRootZone:i}),ignoreChangesOutsideZone:c}),{provide:gl,useExisting:uu}],g=function eI(e,t,n){return new dp(e,t,n,!1)}(n.moduleType,this.injector,h);return function kE(e){const t=Xd(e)?e.r3Injector:e.moduleRef.injector,n=t.get(An);return n.run((()=>{Xd(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=t.get(ks,null);let i;if(n.runOutsideAngular((()=>{i=n.onError.subscribe({next:a=>{r.handleError(a)}})})),Xd(e)){const a=()=>t.destroy(),c=e.platformInjector.get(hg);c.add(a),t.onDestroy((()=>{i.unsubscribe(),c.delete(a)}))}else e.moduleRef.onDestroy((()=>{Kd(e.allPlatformModules,e.moduleRef),i.unsubscribe()}));return function lN(e,t,n){try{const r=n();return ag(r)?r.catch((i=>{throw t.runOutsideAngular((()=>e.handleError(i))),i})):r}catch(r){throw t.runOutsideAngular((()=>e.handleError(r))),r}}(r,n,(()=>{const a=t.get(IE);return a.runInitializers(),a.donePromise.then((()=>{if(function $O(e){"string"==typeof e&&(FC=e.toLowerCase().replace(/_/g,"-"))}(t.get(dg,Ld)||Ld),Xd(e)){const h=t.get(ps);return void 0!==e.rootComponent&&h.bootstrap(e.rootComponent),h}return function DN(e,t){const n=e.injector.get(ps);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((r=>n.bootstrap(r)));else{if(!e.instance.ngDoBootstrap)throw new De(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef}))}))}))}({moduleRef:g,allPlatformModules:this._modules})}bootstrapModule(n,r=[]){const i=PE({},r);return function fN(e,t,n){const r=new hp(n);return Promise.resolve(r)}(0,0,n).then((a=>this.bootstrapModuleFactory(a,i)))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new De(404,!1);this._modules.slice().forEach((r=>r.destroy())),this._destroyListeners.forEach((r=>r()));const n=this._injector.get(hg,null);n&&(n.forEach((r=>r())),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.ɵfac=function(r){return new(r||e)(ct(Yr))};static#t=this.ɵprov=Lt({token:e,factory:e.ɵfac,providedIn:"platform"})}return e})(),ia=null;const VE=new Xe("");function UE(e,t,n=[]){const r=`Platform: ${t}`,i=new Xe(r);return(a=[])=>{let c=fg();if(!c||c.injector.get(VE,!1)){const h=[...n,...a,{provide:i,useValue:!0}];e?e(h):function MN(e){if(ia&&!ia.get(VE,!1))throw new De(400,!1);(function OE(){!function en(e){Ht=e}((()=>{throw new De(600,!1)}))})(),ia=e;const t=e.get(LE);(function jE(e){e.get(e_,null)?.forEach((n=>n()))})(e)}(function BE(e=[],t){return Yr.create({name:t,providers:[{provide:rc,useValue:"platform"},{provide:hg,useValue:new Set([()=>ia=null])},...e]})}(h,r))}return function bN(){const t=fg();if(!t)throw new De(401,!1);return t}()}}function fg(){return ia?.get(LE)??null}function TN(){return!1}function IN(){}let HE=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=ON}return e})();function ON(e){return function PN(e,t,n){if(va(e)&&!n){const r=co(e.index,t);return new xc(r,r)}return 175&e.type?new xc(t[Pn],t):null}(rn(),ae(),!(16&~e))}class qE{constructor(){}supports(t){return Ed(t)}create(t){return new FN(t)}}const RN=(e,t)=>t;class FN{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||RN}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,a=null;for(;n||r;){const c=!r||n&&n.currentIndex<QE(r,i,a)?n:r,h=QE(c,i,a),g=c.currentIndex;if(c===r)i--,r=r._nextRemoved;else if(n=n._next,null==c.previousIndex)i++;else{a||(a=[]);const C=h-i,E=g-i;if(C!=E){for(let k=0;k<C;k++){const B=k<a.length?a[k]:a[k]=0,X=B+k;E<=X&&X<C&&(a[k]=B+1)}a[c.previousIndex]=E-C}}h!==g&&t(c,h,g)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Ed(t))throw new De(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,a,c,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let h=0;h<this.length;h++)a=t[h],c=this._trackByFn(h,a),null!==n&&Object.is(n.trackById,c)?(r&&(n=this._verifyReinsertion(n,a,c,h)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,c,h),r=!0),n=n._next}else i=0,function rI(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,(h=>{c=this._trackByFn(i,h),null!==n&&Object.is(n.trackById,c)?(r&&(n=this._verifyReinsertion(n,h,c,i)),Object.is(n.item,h)||this._addIdentityChange(n,h)):(n=this._mismatch(n,h,c,i),r=!0),n=n._next,i++})),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,a,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,a,i)):t=this._addAfter(new kN(n,r),a,i),t}_verifyReinsertion(t,n,r,i){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==a?t=this._reinsertAfter(a,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,a=t._nextRemoved;return null===i?this._removalsHead=a:i._nextRemoved=a,null===a?this._removalsTail=i:a._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new KE),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new KE),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 kN{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 LN{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class KE{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new LN,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.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 QE(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class XE{constructor(){}supports(t){return t instanceof Map||pp(t)}create(){return new VN}}class VN{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||pp(t)))throw new De(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,((r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const a=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,a)}})),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const a=i._prev,c=i._next;return a&&(a._next=c),c&&(c._prev=a),i._next=null,i._prev=null,i}const r=new UN(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach((r=>n(t[r],r)))}}class UN{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 YE(){return new yg([new qE])}let yg=(()=>{class e{static#e=this.ɵprov=Lt({token:e,providedIn:"root",factory:YE});constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||YE()),deps:[[e,new oi,new zr]]}}find(n){const r=this.factories.find((i=>i.supports(n)));if(null!=r)return r;throw new De(901,!1)}}return e})();function ZE(){return new vg([new XE])}let vg=(()=>{class e{static#e=this.ɵprov=Lt({token:e,providedIn:"root",factory:ZE});constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||ZE()),deps:[[e,new oi,new zr]]}}find(n){const r=this.factories.find((i=>i.supports(n)));if(r)return r;throw new De(901,!1)}}return e})();const $N=UE(null,"core",[]);let HN=(()=>{class e{constructor(n){}static#e=this.ɵfac=function(r){return new(r||e)(ct(ps))};static#t=this.ɵmod=Ve({type:e});static#n=this.ɵinj=Vi({})}return e})();const pD=new Xe("");function Cx(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function Ex(e,t){bi("NgSignals");const n=function ge(e){const t=Object.create(Ae);t.computation=e;const n=()=>{if(Se(t),z(t),t.value===le)throw t.error;return t.value};return n[$]=t,n}(e);return t?.equal&&(n[$].equal=t.equal),n}function Dx(e){const t=G(null);try{return e()}finally{G(t)}}function Ox(e){const t=Ge(e);if(!t)return null;const n=new Wc(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}}}},9417:(ht,Y,V)=>{V.d(Y,{BC:()=>Vn,Fm:()=>zt,J3:()=>Xi,JD:()=>ki,X1:()=>Zo,YN:()=>xr,Zm:()=>z,cV:()=>yr,cb:()=>er,hs:()=>Ri,j4:()=>Ft,k0:()=>At,kq:()=>Z,me:()=>Ie,qT:()=>ve,vS:()=>me});var u=V(3953),x=V(177),te=V(6648),H=V(7468),$=V(1413),G=V(6354);let K=(()=>{class w{constructor(_,I){this._renderer=_,this._elementRef=I,this.onChange=U=>{},this.onTouched=()=>{}}setProperty(_,I){this._renderer.setProperty(this._elementRef.nativeElement,_,I)}registerOnTouched(_){this.onTouched=_}registerOnChange(_){this.onChange=_}setDisabledState(_){this.setProperty("disabled",_)}static#e=this.ɵfac=function(I){return new(I||w)(u.rXU(u.sFG),u.rXU(u.aKT))};static#t=this.ɵdir=u.FsC({type:w})}return w})(),j=(()=>{class w extends K{static#e=this.ɵfac=(()=>{let _;return function(U){return(_||(_=u.xGo(w)))(U||w)}})();static#t=this.ɵdir=u.FsC({type:w,features:[u.Vt3]})}return w})();const Z=new u.nKC(""),J={provide:Z,useExisting:(0,u.Rfq)((()=>z)),multi:!0};let z=(()=>{class w extends j{writeValue(_){this.setProperty("checked",_)}static#e=this.ɵfac=(()=>{let _;return function(U){return(_||(_=u.xGo(w)))(U||w)}})();static#t=this.ɵdir=u.FsC({type:w,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(I,U){1&I&&u.bIt("change",(function(lt){return U.onChange(lt.target.checked)}))("blur",(function(){return U.onTouched()}))},features:[u.Jv_([J]),u.Vt3]})}return w})();const Ce={provide:Z,useExisting:(0,u.Rfq)((()=>Ie)),multi:!0},Me=new u.nKC("");let Ie=(()=>{class w extends K{constructor(_,I,U){super(_,I),this._compositionMode=U,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Se(){const w=(0,x.QT)()?(0,x.QT)().getUserAgent():"";return/android (\d+)/.test(w.toLowerCase())}())}writeValue(_){this.setProperty("value",_??"")}_handleInput(_){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(_)}_compositionStart(){this._composing=!0}_compositionEnd(_){this._composing=!1,this._compositionMode&&this.onChange(_)}static#e=this.ɵfac=function(I){return new(I||w)(u.rXU(u.sFG),u.rXU(u.aKT),u.rXU(Me,8))};static#t=this.ɵdir=u.FsC({type:w,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(I,U){1&I&&u.bIt("input",(function(lt){return U._handleInput(lt.target.value)}))("blur",(function(){return U.onTouched()}))("compositionstart",(function(){return U._compositionStart()}))("compositionend",(function(lt){return U._compositionEnd(lt.target.value)}))},features:[u.Jv_([Ce]),u.Vt3]})}return w})();function je(w){return null==w||("string"==typeof w||Array.isArray(w))&&0===w.length}function Re(w){return null!=w&&"number"==typeof w.length}const qe=new u.nKC(""),rt=new u.nKC(""),Tt=/^(?=.{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 At{static min(D){return function gt(w){return D=>{if(je(D.value)||je(w))return null;const _=parseFloat(D.value);return!isNaN(_)&&_<w?{min:{min:w,actual:D.value}}:null}}(D)}static max(D){return function mt(w){return D=>{if(je(D.value)||je(w))return null;const _=parseFloat(D.value);return!isNaN(_)&&_>w?{max:{max:w,actual:D.value}}:null}}(D)}static required(D){return function Yt(w){return je(w.value)?{required:!0}:null}(D)}static requiredTrue(D){return function et(w){return!0===w.value?null:{required:!0}}(D)}static email(D){return function ee(w){return je(w.value)||Tt.test(w.value)?null:{email:!0}}(D)}static minLength(D){return function ge(w){return D=>je(D.value)||!Re(D.value)?null:D.value.length<w?{minlength:{requiredLength:w,actualLength:D.value.length}}:null}(D)}static maxLength(D){return function Ke(w){return D=>Re(D.value)&&D.value.length>w?{maxlength:{requiredLength:w,actualLength:D.value.length}}:null}(D)}static pattern(D){return function se(w){if(!w)return le;let D,_;return"string"==typeof w?(_="","^"!==w.charAt(0)&&(_+="^"),_+=w,"$"!==w.charAt(w.length-1)&&(_+="$"),D=new RegExp(_)):(_=w.toString(),D=w),I=>{if(je(I.value))return null;const U=I.value;return D.test(U)?null:{pattern:{requiredPattern:_,actualValue:U}}}}(D)}static nullValidator(D){return null}static compose(D){return We(D)}static composeAsync(D){return hi(D)}}function le(w){return null}function Ae(w){return null!=w}function Qe(w){return(0,u.jNT)(w)?(0,te.H)(w):w}function Ht(w){let D={};return w.forEach((_=>{D=null!=_?{...D,..._}:D})),0===Object.keys(D).length?null:D}function Nn(w,D){return D.map((_=>_(w)))}function xn(w){return w.map((D=>function en(w){return!w.validate}(D)?D:_=>D.validate(_)))}function We(w){if(!w)return null;const D=w.filter(Ae);return 0==D.length?null:function(_){return Ht(Nn(_,D))}}function $n(w){return null!=w?We(xn(w)):null}function hi(w){if(!w)return null;const D=w.filter(Ae);return 0==D.length?null:function(_){const I=Nn(_,D).map(Qe);return(0,H.p)(I).pipe((0,G.T)(Ht))}}function vn(w){return null!=w?hi(xn(w)):null}function cn(w,D){return null===w?[D]:Array.isArray(w)?[...w,D]:[w,D]}function Ti(w){return w._rawValidators}function kn(w){return w._rawAsyncValidators}function Fr(w){return w?Array.isArray(w)?w:[w]:[]}function kr(w,D){return Array.isArray(w)?w.includes(D):w===D}function Lr(w,D){const _=Fr(D);return Fr(w).forEach((U=>{kr(_,U)||_.push(U)})),_}function Rn(w,D){return Fr(D).filter((_=>!kr(w,_)))}class Ki{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(D){this._rawValidators=D||[],this._composedValidatorFn=$n(this._rawValidators)}_setAsyncValidators(D){this._rawAsyncValidators=D||[],this._composedAsyncValidatorFn=vn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(D){this._onDestroyCallbacks.push(D)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach((D=>D())),this._onDestroyCallbacks=[]}reset(D=void 0){this.control&&this.control.reset(D)}hasError(D,_){return!!this.control&&this.control.hasError(D,_)}getError(D,_){return this.control?this.control.getError(D,_):null}}class Zt extends Ki{get formDirective(){return null}get path(){return null}}class wn extends Ki{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ln{constructor(D){this._cd=D}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let Vn=(()=>{class w extends Ln{constructor(_){super(_)}static#e=this.ɵfac=function(I){return new(I||w)(u.rXU(wn,2))};static#t=this.ɵdir=u.FsC({type:w,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(I,U){2&I&&u.AVh("ng-untouched",U.isUntouched)("ng-touched",U.isTouched)("ng-pristine",U.isPristine)("ng-dirty",U.isDirty)("ng-valid",U.isValid)("ng-invalid",U.isInvalid)("ng-pending",U.isPending)},features:[u.Vt3]})}return w})(),er=(()=>{class w extends Ln{constructor(_){super(_)}static#e=this.ɵfac=function(I){return new(I||w)(u.rXU(Zt,10))};static#t=this.ɵdir=u.FsC({type:w,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(I,U){2&I&&u.AVh("ng-untouched",U.isUntouched)("ng-touched",U.isTouched)("ng-pristine",U.isPristine)("ng-dirty",U.isDirty)("ng-valid",U.isValid)("ng-invalid",U.isInvalid)("ng-pending",U.isPending)("ng-submitted",U.isSubmitted)},features:[u.Vt3]})}return w})();const tr="VALID",Sr="INVALID",gr="PENDING",nr="DISABLED";class un{}class Un extends un{constructor(D,_){super(),this.value=D,this.source=_}}class ie extends un{constructor(D,_){super(),this.pristine=D,this.source=_}}class ne extends un{constructor(D,_){super(),this.touched=D,this.source=_}}class F extends un{constructor(D,_){super(),this.status=D,this.source=_}}class W extends un{constructor(D){super(),this.source=D}}class ce extends un{constructor(D){super(),this.source=D}}function Oe(w){return(vt(w)?w.validators:w)||null}function _t(w,D){return(vt(D)?D.asyncValidators:w)||null}function vt(w){return null!=w&&!Array.isArray(w)&&"object"==typeof w}class Oi{constructor(D,_){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=(0,u.EWP)((()=>this.statusReactive())),this.statusReactive=(0,u.vPA)(void 0),this._pristine=(0,u.EWP)((()=>this.pristineReactive())),this.pristineReactive=(0,u.vPA)(!0),this._touched=(0,u.EWP)((()=>this.touchedReactive())),this.touchedReactive=(0,u.vPA)(!1),this._events=new $.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(D),this._assignAsyncValidators(_)}get validator(){return this._composedValidatorFn}set validator(D){this._rawValidators=this._composedValidatorFn=D}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(D){this._rawAsyncValidators=this._composedAsyncValidatorFn=D}get parent(){return this._parent}get status(){return(0,u.O8t)(this.statusReactive)}set status(D){(0,u.O8t)((()=>this.statusReactive.set(D)))}get valid(){return this.status===tr}get invalid(){return this.status===Sr}get pending(){return this.status==gr}get disabled(){return this.status===nr}get enabled(){return this.status!==nr}get pristine(){return(0,u.O8t)(this.pristineReactive)}set pristine(D){(0,u.O8t)((()=>this.pristineReactive.set(D)))}get dirty(){return!this.pristine}get touched(){return(0,u.O8t)(this.touchedReactive)}set touched(D){(0,u.O8t)((()=>this.touchedReactive.set(D)))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(D){this._assignValidators(D)}setAsyncValidators(D){this._assignAsyncValidators(D)}addValidators(D){this.setValidators(Lr(D,this._rawValidators))}addAsyncValidators(D){this.setAsyncValidators(Lr(D,this._rawAsyncValidators))}removeValidators(D){this.setValidators(Rn(D,this._rawValidators))}removeAsyncValidators(D){this.setAsyncValidators(Rn(D,this._rawAsyncValidators))}hasValidator(D){return kr(this._rawValidators,D)}hasAsyncValidator(D){return kr(this._rawAsyncValidators,D)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(D={}){const _=!1===this.touched;this.touched=!0;const I=D.sourceControl??this;this._parent&&!D.onlySelf&&this._parent.markAsTouched({...D,sourceControl:I}),_&&!1!==D.emitEvent&&this._events.next(new ne(!0,I))}markAllAsTouched(D={}){this.markAsTouched({onlySelf:!0,emitEvent:D.emitEvent,sourceControl:this}),this._forEachChild((_=>_.markAllAsTouched(D)))}markAsUntouched(D={}){const _=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const I=D.sourceControl??this;this._forEachChild((U=>{U.markAsUntouched({onlySelf:!0,emitEvent:D.emitEvent,sourceControl:I})})),this._parent&&!D.onlySelf&&this._parent._updateTouched(D,I),_&&!1!==D.emitEvent&&this._events.next(new ne(!1,I))}markAsDirty(D={}){const _=!0===this.pristine;this.pristine=!1;const I=D.sourceControl??this;this._parent&&!D.onlySelf&&this._parent.markAsDirty({...D,sourceControl:I}),_&&!1!==D.emitEvent&&this._events.next(new ie(!1,I))}markAsPristine(D={}){const _=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const I=D.sourceControl??this;this._forEachChild((U=>{U.markAsPristine({onlySelf:!0,emitEvent:D.emitEvent})})),this._parent&&!D.onlySelf&&this._parent._updatePristine(D,I),_&&!1!==D.emitEvent&&this._events.next(new ie(!0,I))}markAsPending(D={}){this.status=gr;const _=D.sourceControl??this;!1!==D.emitEvent&&(this._events.next(new F(this.status,_)),this.statusChanges.emit(this.status)),this._parent&&!D.onlySelf&&this._parent.markAsPending({...D,sourceControl:_})}disable(D={}){const _=this._parentMarkedDirty(D.onlySelf);this.status=nr,this.errors=null,this._forEachChild((U=>{U.disable({...D,onlySelf:!0})})),this._updateValue();const I=D.sourceControl??this;!1!==D.emitEvent&&(this._events.next(new Un(this.value,I)),this._events.next(new F(this.status,I)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...D,skipPristineCheck:_},this),this._onDisabledChange.forEach((U=>U(!0)))}enable(D={}){const _=this._parentMarkedDirty(D.onlySelf);this.status=tr,this._forEachChild((I=>{I.enable({...D,onlySelf:!0})})),this.updateValueAndValidity({onlySelf:!0,emitEvent:D.emitEvent}),this._updateAncestors({...D,skipPristineCheck:_},this),this._onDisabledChange.forEach((I=>I(!1)))}_updateAncestors(D,_){this._parent&&!D.onlySelf&&(this._parent.updateValueAndValidity(D),D.skipPristineCheck||this._parent._updatePristine({},_),this._parent._updateTouched({},_))}setParent(D){this._parent=D}getRawValue(){return this.value}updateValueAndValidity(D={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const I=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===tr||this.status===gr)&&this._runAsyncValidator(I,D.emitEvent)}const _=D.sourceControl??this;!1!==D.emitEvent&&(this._events.next(new Un(this.value,_)),this._events.next(new F(this.status,_)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!D.onlySelf&&this._parent.updateValueAndValidity({...D,sourceControl:_})}_updateTreeValidity(D={emitEvent:!0}){this._forEachChild((_=>_._updateTreeValidity(D))),this.updateValueAndValidity({onlySelf:!0,emitEvent:D.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?nr:tr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(D,_){if(this.asyncValidator){this.status=gr,this._hasOwnPendingAsyncValidator={emitEvent:!1!==_};const I=Qe(this.asyncValidator(this));this._asyncValidationSubscription=I.subscribe((U=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(U,{emitEvent:_,shouldHaveEmitted:D})}))}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const D=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,D}return!1}setErrors(D,_={}){this.errors=D,this._updateControlsErrors(!1!==_.emitEvent,this,_.shouldHaveEmitted)}get(D){let _=D;return null==_||(Array.isArray(_)||(_=_.split(".")),0===_.length)?null:_.reduce(((I,U)=>I&&I._find(U)),this)}getError(D,_){const I=_?this.get(_):this;return I&&I.errors?I.errors[D]:null}hasError(D,_){return!!this.getError(D,_)}get root(){let D=this;for(;D._parent;)D=D._parent;return D}_updateControlsErrors(D,_,I){this.status=this._calculateStatus(),D&&this.statusChanges.emit(this.status),(D||I)&&this._events.next(new F(this.status,_)),this._parent&&this._parent._updateControlsErrors(D,_,I)}_initObservables(){this.valueChanges=new u.bkB,this.statusChanges=new u.bkB}_calculateStatus(){return this._allControlsDisabled()?nr:this.errors?Sr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(gr)?gr:this._anyControlsHaveStatus(Sr)?Sr:tr}_anyControlsHaveStatus(D){return this._anyControls((_=>_.status===D))}_anyControlsDirty(){return this._anyControls((D=>D.dirty))}_anyControlsTouched(){return this._anyControls((D=>D.touched))}_updatePristine(D,_){const I=!this._anyControlsDirty(),U=this.pristine!==I;this.pristine=I,this._parent&&!D.onlySelf&&this._parent._updatePristine(D,_),U&&this._events.next(new ie(this.pristine,_))}_updateTouched(D={},_){this.touched=this._anyControlsTouched(),this._events.next(new ne(this.touched,_)),this._parent&&!D.onlySelf&&this._parent._updateTouched(D,_)}_registerOnCollectionChange(D){this._onCollectionChange=D}_setUpdateStrategy(D){vt(D)&&null!=D.updateOn&&(this._updateOn=D.updateOn)}_parentMarkedDirty(D){return!D&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(D){return null}_assignValidators(D){this._rawValidators=Array.isArray(D)?D.slice():D,this._composedValidatorFn=function Je(w){return Array.isArray(w)?$n(w):w||null}(this._rawValidators)}_assignAsyncValidators(D){this._rawAsyncValidators=Array.isArray(D)?D.slice():D,this._composedAsyncValidatorFn=function Mt(w){return Array.isArray(w)?vn(w):w||null}(this._rawAsyncValidators)}}class Vr extends Oi{constructor(D,_,I){super(Oe(_),_t(I,_)),this.controls=D,this._initObservables(),this._setUpdateStrategy(_),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(D,_){return this.controls[D]?this.controls[D]:(this.controls[D]=_,_.setParent(this),_._registerOnCollectionChange(this._onCollectionChange),_)}addControl(D,_,I={}){this.registerControl(D,_),this.updateValueAndValidity({emitEvent:I.emitEvent}),this._onCollectionChange()}removeControl(D,_={}){this.controls[D]&&this.controls[D]._registerOnCollectionChange((()=>{})),delete this.controls[D],this.updateValueAndValidity({emitEvent:_.emitEvent}),this._onCollectionChange()}setControl(D,_,I={}){this.controls[D]&&this.controls[D]._registerOnCollectionChange((()=>{})),delete this.controls[D],_&&this.registerControl(D,_),this.updateValueAndValidity({emitEvent:I.emitEvent}),this._onCollectionChange()}contains(D){return this.controls.hasOwnProperty(D)&&this.controls[D].enabled}setValue(D,_={}){(function Mn(w,D,_){w._forEachChild(((I,U)=>{if(void 0===_[U])throw new u.wOt(1002,"")}))})(this,0,D),Object.keys(D).forEach((I=>{(function fn(w,D,_){const I=w.controls;if(!(D?Object.keys(I):I).length)throw new u.wOt(1e3,"");if(!I[_])throw new u.wOt(1001,"")})(this,!0,I),this.controls[I].setValue(D[I],{onlySelf:!0,emitEvent:_.emitEvent})})),this.updateValueAndValidity(_)}patchValue(D,_={}){null!=D&&(Object.keys(D).forEach((I=>{const U=this.controls[I];U&&U.patchValue(D[I],{onlySelf:!0,emitEvent:_.emitEvent})})),this.updateValueAndValidity(_))}reset(D={},_={}){this._forEachChild(((I,U)=>{I.reset(D?D[U]:null,{onlySelf:!0,emitEvent:_.emitEvent})})),this._updatePristine(_,this),this._updateTouched(_,this),this.updateValueAndValidity(_)}getRawValue(){return this._reduceChildren({},((D,_,I)=>(D[I]=_.getRawValue(),D)))}_syncPendingControls(){let D=this._reduceChildren(!1,((_,I)=>!!I._syncPendingControls()||_));return D&&this.updateValueAndValidity({onlySelf:!0}),D}_forEachChild(D){Object.keys(this.controls).forEach((_=>{const I=this.controls[_];I&&D(I,_)}))}_setUpControls(){this._forEachChild((D=>{D.setParent(this),D._registerOnCollectionChange(this._onCollectionChange)}))}_updateValue(){this.value=this._reduceValue()}_anyControls(D){for(const[_,I]of Object.entries(this.controls))if(this.contains(_)&&D(I))return!0;return!1}_reduceValue(){return this._reduceChildren({},((_,I,U)=>((I.enabled||this.disabled)&&(_[U]=I.value),_)))}_reduceChildren(D,_){let I=D;return this._forEachChild(((U,Le)=>{I=_(I,U,Le)})),I}_allControlsDisabled(){for(const D of Object.keys(this.controls))if(this.controls[D].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(D){return this.controls.hasOwnProperty(D)?this.controls[D]:null}}const Xi=Vr,Gn=new u.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>tn}),tn="always";function rr(w,D){return[...D.path,w]}function Ur(w,D,_=tn){Zr(w,D),D.valueAccessor.writeValue(w.value),(w.disabled||"always"===_)&&D.valueAccessor.setDisabledState?.(w.disabled),function Wo(w,D){D.valueAccessor.registerOnChange((_=>{w._pendingValue=_,w._pendingChange=!0,w._pendingDirty=!0,"change"===w.updateOn&&Tr(w,D)}))}(w,D),function at(w,D){const _=(I,U)=>{D.valueAccessor.writeValue(I),U&&D.viewToModelUpdate(I)};w.registerOnChange(_),D._registerOnDestroy((()=>{w._unregisterOnChange(_)}))}(w,D),function Io(w,D){D.valueAccessor.registerOnTouched((()=>{w._pendingTouched=!0,"blur"===w.updateOn&&w._pendingChange&&Tr(w,D),"submit"!==w.updateOn&&w.markAsTouched()}))}(w,D),function go(w,D){if(D.valueAccessor.setDisabledState){const _=I=>{D.valueAccessor.setDisabledState(I)};w.registerOnDisabledChange(_),D._registerOnDestroy((()=>{w._unregisterOnDisabledChange(_)}))}}(w,D)}function Br(w,D,_=!0){const I=()=>{};D.valueAccessor&&(D.valueAccessor.registerOnChange(I),D.valueAccessor.registerOnTouched(I)),Pi(w,D),w&&(D._invokeOnDestroyCallbacks(),w._registerOnCollectionChange((()=>{})))}function ir(w,D){w.forEach((_=>{_.registerOnValidatorChange&&_.registerOnValidatorChange(D)}))}function Zr(w,D){const _=Ti(w);null!==D.validator?w.setValidators(cn(_,D.validator)):"function"==typeof _&&w.setValidators([_]);const I=kn(w);null!==D.asyncValidator?w.setAsyncValidators(cn(I,D.asyncValidator)):"function"==typeof I&&w.setAsyncValidators([I]);const U=()=>w.updateValueAndValidity();ir(D._rawValidators,U),ir(D._rawAsyncValidators,U)}function Pi(w,D){let _=!1;if(null!==w){if(null!==D.validator){const U=Ti(w);if(Array.isArray(U)&&U.length>0){const Le=U.filter((lt=>lt!==D.validator));Le.length!==U.length&&(_=!0,w.setValidators(Le))}}if(null!==D.asyncValidator){const U=kn(w);if(Array.isArray(U)&&U.length>0){const Le=U.filter((lt=>lt!==D.asyncValidator));Le.length!==U.length&&(_=!0,w.setAsyncValidators(Le))}}}const I=()=>{};return ir(D._rawValidators,I),ir(D._rawAsyncValidators,I),_}function Tr(w,D){w._pendingDirty&&w.markAsDirty(),w.setValue(w._pendingValue,{emitModelToViewChange:!1}),D.viewToModelUpdate(w._pendingValue),w._pendingChange=!1}function on(w,D){Zr(w,D)}function ei(w,D){if(!w.hasOwnProperty("model"))return!1;const _=w.model;return!!_.isFirstChange()||!Object.is(D,_.currentValue)}function mo(w,D){w._syncPendingControls(),D.forEach((_=>{const I=_.control;"submit"===I.updateOn&&I._pendingChange&&(_.viewToModelUpdate(I._pendingValue),I._pendingChange=!1)}))}function $r(w,D){if(!D)return null;let _,I,U;return Array.isArray(D),D.forEach((Le=>{Le.constructor===Ie?_=Le:function Ai(w){return Object.getPrototypeOf(w.constructor)===j}(Le)?I=Le:U=Le})),U||I||_||null}const qo={provide:Zt,useExisting:(0,u.Rfq)((()=>yr))},Or=Promise.resolve();let yr=(()=>{class w extends Zt{get submitted(){return(0,u.O8t)(this.submittedReactive)}constructor(_,I,U){super(),this.callSetDisabledState=U,this._submitted=(0,u.EWP)((()=>this.submittedReactive())),this.submittedReactive=(0,u.vPA)(!1),this._directives=new Set,this.ngSubmit=new u.bkB,this.form=new Vr({},$n(_),vn(I))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(_){Or.then((()=>{const I=this._findContainer(_.path);_.control=I.registerControl(_.name,_.control),Ur(_.control,_,this.callSetDisabledState),_.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(_)}))}getControl(_){return this.form.get(_.path)}removeControl(_){Or.then((()=>{const I=this._findContainer(_.path);I&&I.removeControl(_.name),this._directives.delete(_)}))}addFormGroup(_){Or.then((()=>{const I=this._findContainer(_.path),U=new Vr({});on(U,_),I.registerControl(_.name,U),U.updateValueAndValidity({emitEvent:!1})}))}removeFormGroup(_){Or.then((()=>{const I=this._findContainer(_.path);I&&I.removeControl(_.name)}))}getFormGroup(_){return this.form.get(_.path)}updateModel(_,I){Or.then((()=>{this.form.get(_.path).setValue(I)}))}setValue(_){this.control.setValue(_)}onSubmit(_){return this.submittedReactive.set(!0),mo(this.form,this._directives),this.ngSubmit.emit(_),"dialog"===_?.target?.method}onReset(){this.resetForm()}resetForm(_=void 0){this.form.reset(_),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(_){return _.pop(),_.length?this.form.get(_):this.form}static#e=this.ɵfac=function(I){return new(I||w)(u.rXU(qe,10),u.rXU(rt,10),u.rXU(Gn,8))};static#t=this.ɵdir=u.FsC({type:w,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(I,U){1&I&&u.bIt("submit",(function(lt){return U.onSubmit(lt)}))("reset",(function(){return U.onReset()}))},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[u.Jv_([qo]),u.Vt3]})}return w})();function Zi(w,D){const _=w.indexOf(D);_>-1&&w.splice(_,1)}function xi(w){return"object"==typeof w&&null!==w&&2===Object.keys(w).length&&"value"in w&&"disabled"in w}const gi=class extends Oi{constructor(D=null,_,I){super(Oe(_),_t(I,_)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(D),this._setUpdateStrategy(_),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),vt(_)&&(_.nonNullable||_.initialValueIsDefault)&&(this.defaultValue=xi(D)?D.value:D)}setValue(D,_={}){this.value=this._pendingValue=D,this._onChange.length&&!1!==_.emitModelToViewChange&&this._onChange.forEach((I=>I(this.value,!1!==_.emitViewToModelChange))),this.updateValueAndValidity(_)}patchValue(D,_={}){this.setValue(D,_)}reset(D=this.defaultValue,_={}){this._applyFormState(D),this.markAsPristine(_),this.markAsUntouched(_),this.setValue(this.value,_),this._pendingChange=!1}_updateValue(){}_anyControls(D){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(D){this._onChange.push(D)}_unregisterOnChange(D){Zi(this._onChange,D)}registerOnDisabledChange(D){this._onDisabledChange.push(D)}_unregisterOnDisabledChange(D){Zi(this._onDisabledChange,D)}_forEachChild(D){}_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(D){xi(D)?(this.value=this._pendingValue=D.value,D.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=D}},Ri=gi,q={provide:wn,useExisting:(0,u.Rfq)((()=>me))},oe=Promise.resolve();let me=(()=>{class w extends wn{constructor(_,I,U,Le,lt,qt){super(),this._changeDetectorRef=lt,this.callSetDisabledState=qt,this.control=new gi,this._registered=!1,this.name="",this.update=new u.bkB,this._parent=_,this._setValidators(I),this._setAsyncValidators(U),this.valueAccessor=$r(0,Le)}ngOnChanges(_){if(this._checkForErrors(),!this._registered||"name"in _){if(this._registered&&(this._checkName(),this.formDirective)){const I=_.name.previousValue;this.formDirective.removeControl({name:I,path:this._getPath(I)})}this._setUpControl()}"isDisabled"in _&&this._updateDisabled(_),ei(_,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(_){this.viewModel=_,this.update.emit(_)}_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(){Ur(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(_){oe.then((()=>{this.control.setValue(_,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()}))}_updateDisabled(_){const I=_.isDisabled.currentValue,U=0!==I&&(0,u.L39)(I);oe.then((()=>{U&&!this.control.disabled?this.control.disable():!U&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()}))}_getPath(_){return this._parent?rr(_,this._parent):[_]}static#e=this.ɵfac=function(I){return new(I||w)(u.rXU(Zt,9),u.rXU(qe,10),u.rXU(rt,10),u.rXU(Z,10),u.rXU(u.gRc,8),u.rXU(Gn,8))};static#t=this.ɵdir=u.FsC({type:w,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[u.Jv_([q]),u.Vt3,u.OA$]})}return w})(),ve=(()=>{class w{static#e=this.ɵfac=function(I){return new(I||w)};static#t=this.ɵdir=u.FsC({type:w,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return w})();const wt={provide:Z,useExisting:(0,u.Rfq)((()=>zt)),multi:!0};let Ut=(()=>{class w{constructor(){this._accessors=[]}add(_,I){this._accessors.push([_,I])}remove(_){for(let I=this._accessors.length-1;I>=0;--I)if(this._accessors[I][1]===_)return void this._accessors.splice(I,1)}select(_){this._accessors.forEach((I=>{this._isSameGroup(I,_)&&I[1]!==_&&I[1].fireUncheck(_.value)}))}_isSameGroup(_,I){return!!_[0].control&&_[0]._parent===I._control._parent&&_[1].name===I.name}static#e=this.ɵfac=function(I){return new(I||w)};static#t=this.ɵprov=u.jDH({token:w,factory:w.ɵfac,providedIn:"root"})}return w})(),zt=(()=>{class w extends j{constructor(_,I,U,Le){super(_,I),this._registry=U,this._injector=Le,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,u.WQX)(Gn,{optional:!0})??tn}ngOnInit(){this._control=this._injector.get(wn),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(_){this._state=_===this.value,this.setProperty("checked",this._state)}registerOnChange(_){this._fn=_,this.onChange=()=>{_(this.value),this._registry.select(this)}}setDisabledState(_){(this.setDisabledStateFired||_||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",_),this.setDisabledStateFired=!0}fireUncheck(_){this.writeValue(_)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.ɵfac=function(I){return new(I||w)(u.rXU(u.sFG),u.rXU(u.aKT),u.rXU(Ut),u.rXU(u.zZn))};static#t=this.ɵdir=u.FsC({type:w,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(I,U){1&I&&u.bIt("change",(function(){return U.onChange()}))("blur",(function(){return U.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[u.Jv_([wt]),u.Vt3]})}return w})();const it=new u.nKC(""),Hr={provide:Zt,useExisting:(0,u.Rfq)((()=>Ft))};let Ft=(()=>{class w extends Zt{get submitted(){return(0,u.O8t)(this._submittedReactive)}set submitted(_){this._submittedReactive.set(_)}constructor(_,I,U){super(),this.callSetDisabledState=U,this._submitted=(0,u.EWP)((()=>this._submittedReactive())),this._submittedReactive=(0,u.vPA)(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new u.bkB,this._setValidators(_),this._setAsyncValidators(I)}ngOnChanges(_){this._checkFormPresent(),_.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Pi(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange((()=>{})))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(_){const I=this.form.get(_.path);return Ur(I,_,this.callSetDisabledState),I.updateValueAndValidity({emitEvent:!1}),this.directives.push(_),I}getControl(_){return this.form.get(_.path)}removeControl(_){Br(_.control||null,_,!1),function Ni(w,D){const _=w.indexOf(D);_>-1&&w.splice(_,1)}(this.directives,_)}addFormGroup(_){this._setUpFormContainer(_)}removeFormGroup(_){this._cleanUpFormContainer(_)}getFormGroup(_){return this.form.get(_.path)}addFormArray(_){this._setUpFormContainer(_)}removeFormArray(_){this._cleanUpFormContainer(_)}getFormArray(_){return this.form.get(_.path)}updateModel(_,I){this.form.get(_.path).setValue(I)}onSubmit(_){return this._submittedReactive.set(!0),mo(this.form,this.directives),this.ngSubmit.emit(_),this.form._events.next(new W(this.control)),"dialog"===_?.target?.method}onReset(){this.resetForm()}resetForm(_=void 0){this.form.reset(_),this._submittedReactive.set(!1),this.form._events.next(new ce(this.form))}_updateDomValue(){this.directives.forEach((_=>{const I=_.control,U=this.form.get(_.path);I!==U&&(Br(I||null,_),(w=>w instanceof gi)(U)&&(Ur(U,_,this.callSetDisabledState),_.control=U))})),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(_){const I=this.form.get(_.path);on(I,_),I.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(_){if(this.form){const I=this.form.get(_.path);I&&function Jr(w,D){return Pi(w,D)}(I,_)&&I.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange((()=>{}))}_updateValidators(){Zr(this.form,this),this._oldForm&&Pi(this._oldForm,this)}_checkFormPresent(){}static#e=this.ɵfac=function(I){return new(I||w)(u.rXU(qe,10),u.rXU(rt,10),u.rXU(Gn,8))};static#t=this.ɵdir=u.FsC({type:w,selectors:[["","formGroup",""]],hostBindings:function(I,U){1&I&&u.bIt("submit",(function(lt){return U.onSubmit(lt)}))("reset",(function(){return U.onReset()}))},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[u.Jv_([Hr]),u.Vt3,u.OA$]})}return w})();const Ko={provide:wn,useExisting:(0,u.Rfq)((()=>ki))};let ki=(()=>{class w extends wn{set isDisabled(_){}static#e=this._ngModelWarningSentOnce=!1;constructor(_,I,U,Le,lt){super(),this._ngModelWarningConfig=lt,this._added=!1,this.name=null,this.update=new u.bkB,this._ngModelWarningSent=!1,this._parent=_,this._setValidators(I),this._setAsyncValidators(U),this.valueAccessor=$r(0,Le)}ngOnChanges(_){this._added||this._setUpControl(),ei(_,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(_){this.viewModel=_,this.update.emit(_)}get path(){return rr(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.ɵfac=function(I){return new(I||w)(u.rXU(Zt,13),u.rXU(qe,10),u.rXU(rt,10),u.rXU(Z,10),u.rXU(it,8))};static#n=this.ɵdir=u.FsC({type:w,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[u.Jv_([Ko]),u.Vt3,u.OA$]})}return w})(),Xo=(()=>{class w{static#e=this.ɵfac=function(I){return new(I||w)};static#t=this.ɵmod=u.$C({type:w});static#n=this.ɵinj=u.G2t({})}return w})(),xr=(()=>{class w{static withConfig(_){return{ngModule:w,providers:[{provide:Gn,useValue:_.callSetDisabledState??tn}]}}static#e=this.ɵfac=function(I){return new(I||w)};static#t=this.ɵmod=u.$C({type:w});static#n=this.ɵinj=u.G2t({imports:[Xo]})}return w})(),Zo=(()=>{class w{static withConfig(_){return{ngModule:w,providers:[{provide:it,useValue:_.warnOnNgModelWithFormControl??"always"},{provide:Gn,useValue:_.callSetDisabledState??tn}]}}static#e=this.ɵfac=function(I){return new(I||w)};static#t=this.ɵmod=u.$C({type:w});static#n=this.ɵinj=u.G2t({imports:[Xo]})}return w})()},345:(ht,Y,V)=>{V.d(Y,{B7:()=>et,Bb:()=>Ln,hE:()=>Vn,sG:()=>Rn});var u=V(177),x=V(3953);class te extends u.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class H extends te{static makeCurrent(){(0,u.ZD)(new H)}onAndCancel(ne,F,W){return ne.addEventListener(F,W),()=>{ne.removeEventListener(F,W)}}dispatchEvent(ne,F){ne.dispatchEvent(F)}remove(ne){ne.remove()}createElement(ne,F){return(F=F||this.getDefaultDocument()).createElement(ne)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ne){return ne.nodeType===Node.ELEMENT_NODE}isShadowRoot(ne){return ne instanceof DocumentFragment}getGlobalEventTarget(ne,F){return"window"===F?window:"document"===F?ne:"body"===F?ne.body:null}getBaseHref(ne){const F=function G(){return $=$||document.querySelector("base"),$?$.getAttribute("href"):null}();return null==F?null:function K(ie){return new URL(ie,document.baseURI).pathname}(F)}resetBaseElement(){$=null}getUserAgent(){return window.navigator.userAgent}getCookie(ne){return(0,u._b)(document.cookie,ne)}}let $=null,Z=(()=>{class ie{build(){return new XMLHttpRequest}static#e=this.ɵfac=function(W){return new(W||ie)};static#t=this.ɵprov=x.jDH({token:ie,factory:ie.ɵfac})}return ie})();const J=new x.nKC("");let z=(()=>{class ie{constructor(F,W){this._zone=W,this._eventNameToPlugin=new Map,F.forEach((ce=>{ce.manager=this})),this._plugins=F.slice().reverse()}addEventListener(F,W,ce){return this._findPluginFor(W).addEventListener(F,W,ce)}getZone(){return this._zone}_findPluginFor(F){let W=this._eventNameToPlugin.get(F);if(W)return W;if(W=this._plugins.find((Oe=>Oe.supports(F))),!W)throw new x.wOt(5101,!1);return this._eventNameToPlugin.set(F,W),W}static#e=this.ɵfac=function(W){return new(W||ie)(x.KVO(J),x.KVO(x.SKi))};static#t=this.ɵprov=x.jDH({token:ie,factory:ie.ɵfac})}return ie})();class Ce{constructor(ne){this._doc=ne}}const Se="ng-app-id";let Me=(()=>{class ie{constructor(F,W,ce,Oe={}){this.doc=F,this.appId=W,this.nonce=ce,this.platformId=Oe,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,u.Vy)(Oe),this.resetHostNodes()}addStyles(F){for(const W of F)1===this.changeUsageCount(W,1)&&this.onStyleAdded(W)}removeStyles(F){for(const W of F)this.changeUsageCount(W,-1)<=0&&this.onStyleRemoved(W)}ngOnDestroy(){const F=this.styleNodesInDOM;F&&(F.forEach((W=>W.remove())),F.clear());for(const W of this.getAllStyles())this.onStyleRemoved(W);this.resetHostNodes()}addHost(F){this.hostNodes.add(F);for(const W of this.getAllStyles())this.addStyleToHost(F,W)}removeHost(F){this.hostNodes.delete(F)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(F){for(const W of this.hostNodes)this.addStyleToHost(W,F)}onStyleRemoved(F){const W=this.styleRef;W.get(F)?.elements?.forEach((ce=>ce.remove())),W.delete(F)}collectServerRenderedStyles(){const F=this.doc.head?.querySelectorAll(`style[${Se}="${this.appId}"]`);if(F?.length){const W=new Map;return F.forEach((ce=>{null!=ce.textContent&&W.set(ce.textContent,ce)})),W}return null}changeUsageCount(F,W){const ce=this.styleRef;if(ce.has(F)){const Oe=ce.get(F);return Oe.usage+=W,Oe.usage}return ce.set(F,{usage:W,elements:[]}),W}getStyleElement(F,W){const ce=this.styleNodesInDOM,Oe=ce?.get(W);if(Oe?.parentNode===F)return ce.delete(W),Oe.removeAttribute(Se),Oe;{const Je=this.doc.createElement("style");return this.nonce&&Je.setAttribute("nonce",this.nonce),Je.textContent=W,this.platformIsServer&&Je.setAttribute(Se,this.appId),F.appendChild(Je),Je}}addStyleToHost(F,W){const ce=this.getStyleElement(F,W),Oe=this.styleRef,Je=Oe.get(W)?.elements;Je?Je.push(ce):Oe.set(W,{elements:[ce],usage:1})}resetHostNodes(){const F=this.hostNodes;F.clear(),F.add(this.doc.head)}static#e=this.ɵfac=function(W){return new(W||ie)(x.KVO(u.qQ),x.KVO(x.sZ2),x.KVO(x.BIS,8),x.KVO(x.Agw))};static#t=this.ɵprov=x.jDH({token:ie,factory:ie.ɵfac})}return ie})();const Ie={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},je=/%COMP%/g,At=new x.nKC("",{providedIn:"root",factory:()=>!0});function Yt(ie,ne){return ne.map((F=>F.replace(je,ie)))}let et=(()=>{class ie{constructor(F,W,ce,Oe,Je,_t,Mt,vt=null){this.eventManager=F,this.sharedStylesHost=W,this.appId=ce,this.removeStylesOnCompDestroy=Oe,this.doc=Je,this.platformId=_t,this.ngZone=Mt,this.nonce=vt,this.rendererByCompId=new Map,this.platformIsServer=(0,u.Vy)(_t),this.defaultRenderer=new ee(F,Je,Mt,this.platformIsServer)}createRenderer(F,W){if(!F||!W)return this.defaultRenderer;this.platformIsServer&&W.encapsulation===x.gXe.ShadowDom&&(W={...W,encapsulation:x.gXe.Emulated});const ce=this.getOrCreateRenderer(F,W);return ce instanceof Qe?ce.applyToHost(F):ce instanceof Ae&&ce.applyStyles(),ce}getOrCreateRenderer(F,W){const ce=this.rendererByCompId;let Oe=ce.get(W.id);if(!Oe){const Je=this.doc,_t=this.ngZone,Mt=this.eventManager,vt=this.sharedStylesHost,fn=this.removeStylesOnCompDestroy,Mn=this.platformIsServer;switch(W.encapsulation){case x.gXe.Emulated:Oe=new Qe(Mt,vt,W,this.appId,fn,Je,_t,Mn);break;case x.gXe.ShadowDom:return new le(Mt,vt,F,W,Je,_t,this.nonce,Mn);default:Oe=new Ae(Mt,vt,W,fn,Je,_t,Mn)}ce.set(W.id,Oe)}return Oe}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.ɵfac=function(W){return new(W||ie)(x.KVO(z),x.KVO(Me),x.KVO(x.sZ2),x.KVO(At),x.KVO(u.qQ),x.KVO(x.Agw),x.KVO(x.SKi),x.KVO(x.BIS))};static#t=this.ɵprov=x.jDH({token:ie,factory:ie.ɵfac})}return ie})();class ee{constructor(ne,F,W,ce){this.eventManager=ne,this.doc=F,this.ngZone=W,this.platformIsServer=ce,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(ne,F){return F?this.doc.createElementNS(Ie[F]||F,ne):this.doc.createElement(ne)}createComment(ne){return this.doc.createComment(ne)}createText(ne){return this.doc.createTextNode(ne)}appendChild(ne,F){(se(ne)?ne.content:ne).appendChild(F)}insertBefore(ne,F,W){ne&&(se(ne)?ne.content:ne).insertBefore(F,W)}removeChild(ne,F){F.remove()}selectRootElement(ne,F){let W="string"==typeof ne?this.doc.querySelector(ne):ne;if(!W)throw new x.wOt(-5104,!1);return F||(W.textContent=""),W}parentNode(ne){return ne.parentNode}nextSibling(ne){return ne.nextSibling}setAttribute(ne,F,W,ce){if(ce){F=ce+":"+F;const Oe=Ie[ce];Oe?ne.setAttributeNS(Oe,F,W):ne.setAttribute(F,W)}else ne.setAttribute(F,W)}removeAttribute(ne,F,W){if(W){const ce=Ie[W];ce?ne.removeAttributeNS(ce,F):ne.removeAttribute(`${W}:${F}`)}else ne.removeAttribute(F)}addClass(ne,F){ne.classList.add(F)}removeClass(ne,F){ne.classList.remove(F)}setStyle(ne,F,W,ce){ce&(x.czy.DashCase|x.czy.Important)?ne.style.setProperty(F,W,ce&x.czy.Important?"important":""):ne.style[F]=W}removeStyle(ne,F,W){W&x.czy.DashCase?ne.style.removeProperty(F):ne.style[F]=""}setProperty(ne,F,W){null!=ne&&(ne[F]=W)}setValue(ne,F){ne.nodeValue=F}listen(ne,F,W){if("string"==typeof ne&&!(ne=(0,u.QT)().getGlobalEventTarget(this.doc,ne)))throw new Error(`Unsupported event target ${ne} for event ${F}`);return this.eventManager.addEventListener(ne,F,this.decoratePreventDefault(W))}decoratePreventDefault(ne){return F=>{if("__ngUnwrap__"===F)return ne;!1===(this.platformIsServer?this.ngZone.runGuarded((()=>ne(F))):ne(F))&&F.preventDefault()}}}function se(ie){return"TEMPLATE"===ie.tagName&&void 0!==ie.content}class le extends ee{constructor(ne,F,W,ce,Oe,Je,_t,Mt){super(ne,Oe,Je,Mt),this.sharedStylesHost=F,this.hostEl=W,this.shadowRoot=W.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const vt=Yt(ce.id,ce.styles);for(const fn of vt){const Mn=document.createElement("style");_t&&Mn.setAttribute("nonce",_t),Mn.textContent=fn,this.shadowRoot.appendChild(Mn)}}nodeOrShadowRoot(ne){return ne===this.hostEl?this.shadowRoot:ne}appendChild(ne,F){return super.appendChild(this.nodeOrShadowRoot(ne),F)}insertBefore(ne,F,W){return super.insertBefore(this.nodeOrShadowRoot(ne),F,W)}removeChild(ne,F){return super.removeChild(null,F)}parentNode(ne){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ne)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Ae extends ee{constructor(ne,F,W,ce,Oe,Je,_t,Mt){super(ne,Oe,Je,_t),this.sharedStylesHost=F,this.removeStylesOnCompDestroy=ce,this.styles=Mt?Yt(Mt,W.styles):W.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Qe extends Ae{constructor(ne,F,W,ce,Oe,Je,_t,Mt){const vt=ce+"-"+W.id;super(ne,F,W,Oe,Je,_t,Mt,vt),this.contentAttr=function gt(ie){return"_ngcontent-%COMP%".replace(je,ie)}(vt),this.hostAttr=function mt(ie){return"_nghost-%COMP%".replace(je,ie)}(vt)}applyToHost(ne){this.applyStyles(),this.setAttribute(ne,this.hostAttr,"")}createElement(ne,F){const W=super.createElement(ne,F);return super.setAttribute(W,this.contentAttr,""),W}}let Ht=(()=>{class ie extends Ce{constructor(F){super(F)}supports(F){return!0}addEventListener(F,W,ce){return F.addEventListener(W,ce,!1),()=>this.removeEventListener(F,W,ce)}removeEventListener(F,W,ce){return F.removeEventListener(W,ce)}static#e=this.ɵfac=function(W){return new(W||ie)(x.KVO(u.qQ))};static#t=this.ɵprov=x.jDH({token:ie,factory:ie.ɵfac})}return ie})(),Nn=(()=>{class ie extends Ce{constructor(F){super(F),this.delegate=(0,x.WQX)(x.zAP,{optional:!0})}supports(F){return!!this.delegate&&this.delegate.supports(F)}addEventListener(F,W,ce){return this.delegate.addEventListener(F,W,ce)}removeEventListener(F,W,ce){return this.delegate.removeEventListener(F,W,ce)}static#e=this.ɵfac=function(W){return new(W||ie)(x.KVO(u.qQ))};static#t=this.ɵprov=x.jDH({token:ie,factory:ie.ɵfac})}return ie})();const en=["alt","control","meta","shift"],xn={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},We={alt:ie=>ie.altKey,control:ie=>ie.ctrlKey,meta:ie=>ie.metaKey,shift:ie=>ie.shiftKey};let $n=(()=>{class ie extends Ce{constructor(F){super(F)}supports(F){return null!=ie.parseEventName(F)}addEventListener(F,W,ce){const Oe=ie.parseEventName(W),Je=ie.eventCallback(Oe.fullKey,ce,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>(0,u.QT)().onAndCancel(F,Oe.domEventName,Je)))}static parseEventName(F){const W=F.toLowerCase().split("."),ce=W.shift();if(0===W.length||"keydown"!==ce&&"keyup"!==ce)return null;const Oe=ie._normalizeKey(W.pop());let Je="",_t=W.indexOf("code");if(_t>-1&&(W.splice(_t,1),Je="code."),en.forEach((vt=>{const fn=W.indexOf(vt);fn>-1&&(W.splice(fn,1),Je+=vt+".")})),Je+=Oe,0!=W.length||0===Oe.length)return null;const Mt={};return Mt.domEventName=ce,Mt.fullKey=Je,Mt}static matchEventFullKeyCode(F,W){let ce=xn[F.key]||F.key,Oe="";return W.indexOf("code.")>-1&&(ce=F.code,Oe="code."),!(null==ce||!ce)&&(ce=ce.toLowerCase()," "===ce?ce="space":"."===ce&&(ce="dot"),en.forEach((Je=>{Je!==ce&&(0,We[Je])(F)&&(Oe+=Je+".")})),Oe+=ce,Oe===W)}static eventCallback(F,W,ce){return Oe=>{ie.matchEventFullKeyCode(Oe,F)&&ce.runGuarded((()=>W(Oe)))}}static _normalizeKey(F){return"esc"===F?"escape":F}static#e=this.ɵfac=function(W){return new(W||ie)(x.KVO(u.qQ))};static#t=this.ɵprov=x.jDH({token:ie,factory:ie.ɵfac})}return ie})();const Rn=(0,x.oH4)(x.fpN,"browser",[{provide:x.Agw,useValue:u.AJ},{provide:x.PLl,useValue:function kn(){H.makeCurrent()},multi:!0},{provide:u.qQ,useFactory:function kr(){return(0,x.TL$)(document),document},deps:[]}]),Ki=new x.nKC(""),Zt=[{provide:x.e01,useClass:class j{addToWindow(ne){x.JZv.getAngularTestability=(W,ce=!0)=>{const Oe=ne.findTestabilityInTree(W,ce);if(null==Oe)throw new x.wOt(5103,!1);return Oe},x.JZv.getAllAngularTestabilities=()=>ne.getAllTestabilities(),x.JZv.getAllAngularRootElements=()=>ne.getAllRootElements(),x.JZv.frameworkStabilizers||(x.JZv.frameworkStabilizers=[]),x.JZv.frameworkStabilizers.push((W=>{const ce=x.JZv.getAllAngularTestabilities();let Oe=ce.length;const Je=function(){Oe--,0==Oe&&W()};ce.forEach((_t=>{_t.whenStable(Je)}))}))}findTestabilityInTree(ne,F,W){return null==F?null:ne.getTestability(F)??(W?(0,u.QT)().isShadowRoot(F)?this.findTestabilityInTree(ne,F.host,!0):this.findTestabilityInTree(ne,F.parentElement,!0):null)}},deps:[]},{provide:x.WHO,useClass:x.NYb,deps:[x.SKi,x.giA,x.e01]},{provide:x.NYb,useClass:x.NYb,deps:[x.SKi,x.giA,x.e01]}],wn=[{provide:x.H8p,useValue:"root"},{provide:x.zcH,useFactory:function Fr(){return new x.zcH},deps:[]},{provide:J,useClass:Ht,multi:!0,deps:[u.qQ,x.SKi,x.Agw]},{provide:J,useClass:$n,multi:!0,deps:[u.qQ]},{provide:J,useClass:Nn,multi:!0},et,Me,z,{provide:x._9s,useExisting:et},{provide:u.N0,useClass:Z,deps:[]},[]];let Ln=(()=>{class ie{constructor(F){}static withServerTransition(F){return{ngModule:ie,providers:[{provide:x.sZ2,useValue:F.appId}]}}static#e=this.ɵfac=function(W){return new(W||ie)(x.KVO(Ki,12))};static#t=this.ɵmod=x.$C({type:ie});static#n=this.ɵinj=x.G2t({providers:[...wn,...Zt],imports:[u.MD,x.Hbi]})}return ie})(),Vn=(()=>{class ie{constructor(F){this._doc=F}getTitle(){return this._doc.title}setTitle(F){this._doc.title=F||""}static#e=this.ɵfac=function(W){return new(W||ie)(x.KVO(u.qQ))};static#t=this.ɵprov=x.jDH({token:ie,factory:ie.ɵfac,providedIn:"root"})}return ie})()},7901:(ht,Y,V)=>{V.d(Y,{Ix:()=>Et,Wk:()=>pe,Z:()=>Jr,iI:()=>pa,n3:()=>or,nX:()=>Wt,wF:()=>Cn});var u=V(3953),x=V(4402),te=V(6648),H=V(7673),$=V(4412),G=V(4572),K=V(9350),j=V(8793),Z=V(9030),J=V(1203),z=V(8810),Ce=V(983),Se=V(17),Me=V(1413),Ie=V(8359),je=V(177),Re=V(6354),qe=V(5558),rt=V(6697),Tt=V(9172),At=V(5964),gt=V(1397),mt=V(1594),Yt=V(274),et=V(8141),ee=V(9437),ge=V(2816),Ke=V(9901),se=V(7018),le=V(5109),Ae=V(3703),Qe=V(980),Ht=V(9898),Nn=V(6977),en=V(6365),xn=V(345);const We="primary",$n=Symbol("RouteTitle");class hi{constructor(l){this.params=l||{}}has(l){return Object.prototype.hasOwnProperty.call(this.params,l)}get(l){if(this.has(l)){const o=this.params[l];return Array.isArray(o)?o[0]:o}return null}getAll(l){if(this.has(l)){const o=this.params[l];return Array.isArray(o)?o:[o]}return[]}get keys(){return Object.keys(this.params)}}function vn(p){return new hi(p)}function cn(p,l,o){const s=o.path.split("/");if(s.length>p.length||"full"===o.pathMatch&&(l.hasChildren()||s.length<p.length))return null;const d={};for(let f=0;f<s.length;f++){const y=s[f],T=p[f];if(":"===y[0])d[y.substring(1)]=T;else if(y!==T.path)return null}return{consumed:p.slice(0,s.length),posParams:d}}function kn(p,l){const o=p?Fr(p):void 0,s=l?Fr(l):void 0;if(!o||!s||o.length!=s.length)return!1;let d;for(let f=0;f<o.length;f++)if(d=o[f],!kr(p[d],l[d]))return!1;return!0}function Fr(p){return[...Object.keys(p),...Object.getOwnPropertySymbols(p)]}function kr(p,l){if(Array.isArray(p)&&Array.isArray(l)){if(p.length!==l.length)return!1;const o=[...p].sort(),s=[...l].sort();return o.every(((d,f)=>s[f]===d))}return p===l}function Lr(p){return p.length>0?p[p.length-1]:null}function Rn(p){return(0,x.A)(p)?p:(0,u.jNT)(p)?(0,te.H)(Promise.resolve(p)):(0,H.of)(p)}const Ki={exact:function En(p,l,o){if(!Ze(p.segments,l.segments)||!Gt(p.segments,l.segments,o)||p.numberOfChildren!==l.numberOfChildren)return!1;for(const s in l.children)if(!p.children[s]||!En(p.children[s],l.children[s],o))return!1;return!0},subset:Vn},Zt={exact:function Ln(p,l){return kn(p,l)},subset:function dr(p,l){return Object.keys(l).length<=Object.keys(p).length&&Object.keys(l).every((o=>kr(p[o],l[o])))},ignored:()=>!0};function wn(p,l,o){return Ki[o.paths](p.root,l.root,o.matrixParams)&&Zt[o.queryParams](p.queryParams,l.queryParams)&&!("exact"===o.fragment&&p.fragment!==l.fragment)}function Vn(p,l,o){return er(p,l,l.segments,o)}function er(p,l,o,s){if(p.segments.length>o.length){const d=p.segments.slice(0,o.length);return!(!Ze(d,o)||l.hasChildren()||!Gt(d,o,s))}if(p.segments.length===o.length){if(!Ze(p.segments,o)||!Gt(p.segments,o,s))return!1;for(const d in l.children)if(!p.children[d]||!Vn(p.children[d],l.children[d],s))return!1;return!0}{const d=o.slice(0,p.segments.length),f=o.slice(p.segments.length);return!!(Ze(p.segments,d)&&Gt(p.segments,d,s)&&p.children[We])&&er(p.children[We],l,f,s)}}function Gt(p,l,o){return l.every(((s,d)=>Zt[o](p[d].parameters,s.parameters)))}class Dn{constructor(l=new ft([],{}),o={},s=null){this.root=l,this.queryParams=o,this.fragment=s}get queryParamMap(){return this._queryParamMap??=vn(this.queryParams),this._queryParamMap}toString(){return fr.serialize(this)}}class ft{constructor(l,o){this.segments=l,this.children=o,this.parent=null,Object.values(o).forEach((s=>s.parent=this))}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return pr(this)}}class Hn{constructor(l,o){this.path=l,this.parameters=o}get parameterMap(){return this._parameterMap??=vn(this.parameters),this._parameterMap}toString(){return tr(this)}}function Ze(p,l){return p.length===l.length&&p.every(((o,s)=>o.path===l[s].path))}let Ii=(()=>{class p{static#e=this.ɵfac=function(s){return new(s||p)};static#t=this.ɵprov=u.jDH({token:p,factory:()=>new fi,providedIn:"root"})}return p})();class fi{parse(l){const o=new Oe(l);return new Dn(o.parseRootSegment(),o.parseQueryParams(),o.parseFragment())}serialize(l){const o=`/${hn(l.root,!0)}`,s=function gr(p){const l=Object.entries(p).map((([o,s])=>Array.isArray(s)?s.map((d=>`${Rt(o)}=${Rt(d)}`)).join("&"):`${Rt(o)}=${Rt(s)}`)).filter((o=>o));return l.length?`?${l.join("&")}`:""}(l.queryParams);return`${o}${s}${"string"==typeof l.fragment?`#${function Qi(p){return encodeURI(p)}(l.fragment)}`:""}`}}const fr=new fi;function pr(p){return p.segments.map((l=>tr(l))).join("/")}function hn(p,l){if(!p.hasChildren())return pr(p);if(l){const o=p.children[We]?hn(p.children[We],!1):"",s=[];return Object.entries(p.children).forEach((([d,f])=>{d!==We&&s.push(`${d}:${hn(f,!1)}`)})),s.length>0?`${o}(${s.join("//")})`:o}{const o=function ye(p,l){let o=[];return Object.entries(p.children).forEach((([s,d])=>{s===We&&(o=o.concat(l(d,s)))})),Object.entries(p.children).forEach((([s,d])=>{s!==We&&(o=o.concat(l(d,s)))})),o}(p,((s,d)=>d===We?[hn(p.children[We],!1)]:[`${d}:${hn(s,!1)}`]));return 1===Object.keys(p.children).length&&null!=p.children[We]?`${pr(p)}/${o[0]}`:`${pr(p)}/(${o.join("//")})`}}function po(p){return encodeURIComponent(p).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Rt(p){return po(p).replace(/%3B/gi,";")}function ut(p){return po(p).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function It(p){return decodeURIComponent(p)}function pi(p){return It(p.replace(/\+/g,"%20"))}function tr(p){return`${ut(p.path)}${function Sr(p){return Object.entries(p).map((([l,o])=>`;${ut(l)}=${ut(o)}`)).join("")}(p.parameters)}`}const nr=/^[^\/()?;#]+/;function un(p){const l=p.match(nr);return l?l[0]:""}const Un=/^[^\/()?;=#]+/,ne=/^[^=?&#]+/,W=/^[^&#]+/;class Oe{constructor(l){this.url=l,this.remaining=l}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ft([],{}):new ft([],this.parseChildren())}parseQueryParams(){const l={};if(this.consumeOptional("?"))do{this.parseQueryParam(l)}while(this.consumeOptional("&"));return l}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const l=[];for(this.peekStartsWith("(")||l.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),l.push(this.parseSegment());let o={};this.peekStartsWith("/(")&&(this.capture("/"),o=this.parseParens(!0));let s={};return this.peekStartsWith("(")&&(s=this.parseParens(!1)),(l.length>0||Object.keys(o).length>0)&&(s[We]=new ft(l,o)),s}parseSegment(){const l=un(this.remaining);if(""===l&&this.peekStartsWith(";"))throw new u.wOt(4009,!1);return this.capture(l),new Hn(It(l),this.parseMatrixParams())}parseMatrixParams(){const l={};for(;this.consumeOptional(";");)this.parseParam(l);return l}parseParam(l){const o=function ie(p){const l=p.match(Un);return l?l[0]:""}(this.remaining);if(!o)return;this.capture(o);let s="";if(this.consumeOptional("=")){const d=un(this.remaining);d&&(s=d,this.capture(s))}l[It(o)]=It(s)}parseQueryParam(l){const o=function F(p){const l=p.match(ne);return l?l[0]:""}(this.remaining);if(!o)return;this.capture(o);let s="";if(this.consumeOptional("=")){const y=function ce(p){const l=p.match(W);return l?l[0]:""}(this.remaining);y&&(s=y,this.capture(s))}const d=pi(o),f=pi(s);if(l.hasOwnProperty(d)){let y=l[d];Array.isArray(y)||(y=[y],l[d]=y),y.push(f)}else l[d]=f}parseParens(l){const o={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const s=un(this.remaining),d=this.remaining[s.length];if("/"!==d&&")"!==d&&";"!==d)throw new u.wOt(4010,!1);let f;s.indexOf(":")>-1?(f=s.slice(0,s.indexOf(":")),this.capture(f),this.capture(":")):l&&(f=We);const y=this.parseChildren();o[f]=1===Object.keys(y).length?y[We]:new ft([],y),this.consumeOptional("//")}return o}peekStartsWith(l){return this.remaining.startsWith(l)}consumeOptional(l){return!!this.peekStartsWith(l)&&(this.remaining=this.remaining.substring(l.length),!0)}capture(l){if(!this.consumeOptional(l))throw new u.wOt(4011,!1)}}function Je(p){return p.segments.length>0?new ft([],{[We]:p}):p}function _t(p){const l={};for(const[s,d]of Object.entries(p.children)){const f=_t(d);if(s===We&&0===f.segments.length&&f.hasChildren())for(const[y,T]of Object.entries(f.children))l[y]=T;else(f.segments.length>0||f.hasChildren())&&(l[s]=f)}return function Mt(p){if(1===p.numberOfChildren&&p.children[We]){const l=p.children[We];return new ft(p.segments.concat(l.segments),l.children)}return p}(new ft(p.segments,l))}function vt(p){return p instanceof Dn}function Mn(p){let l;const d=Je(function o(f){const y={};for(const S of f.children){const L=o(S);y[S.outlet]=L}const T=new ft(f.url,y);return f===p&&(l=T),T}(p.root));return l??d}function Oi(p,l,o,s){let d=p;for(;d.parent;)d=d.parent;if(0===l.length)return Xi(d,d,d,o,s);const f=function To(p){if("string"==typeof p[0]&&1===p.length&&"/"===p[0])return new Yi(!0,0,p);let l=0,o=!1;const s=p.reduce(((d,f,y)=>{if("object"==typeof f&&null!=f){if(f.outlets){const T={};return Object.entries(f.outlets).forEach((([S,L])=>{T[S]="string"==typeof L?L.split("/"):L})),[...d,{outlets:T}]}if(f.segmentPath)return[...d,f.segmentPath]}return"string"!=typeof f?[...d,f]:0===y?(f.split("/").forEach(((T,S)=>{0==S&&"."===T||(0==S&&""===T?o=!0:".."===T?l++:""!=T&&d.push(T))})),d):[...d,f]}),[]);return new Yi(o,l,s)}(l);if(f.toRoot())return Xi(d,d,new ft([],{}),o,s);const y=function tn(p,l,o){if(p.isAbsolute)return new Gn(l,!0,0);if(!o)return new Gn(l,!1,NaN);if(null===o.parent)return new Gn(o,!0,0);const s=Vr(p.commands[0])?0:1;return function rr(p,l,o){let s=p,d=l,f=o;for(;f>d;){if(f-=d,s=s.parent,!s)throw new u.wOt(4005,!1);d=s.segments.length}return new Gn(s,!1,d-f)}(o,o.segments.length-1+s,p.numberOfDoubleDots)}(f,d,p),T=y.processChildren?ir(y.segmentGroup,y.index,f.commands):Br(y.segmentGroup,y.index,f.commands);return Xi(d,y.segmentGroup,T,o,s)}function Vr(p){return"object"==typeof p&&null!=p&&!p.outlets&&!p.segmentPath}function mr(p){return"object"==typeof p&&null!=p&&p.outlets}function Xi(p,l,o,s,d){let y,f={};s&&Object.entries(s).forEach((([S,L])=>{f[S]=Array.isArray(L)?L.map((Q=>`${Q}`)):`${L}`})),y=p===l?o:So(p,l,o);const T=Je(_t(y));return new Dn(T,f,d)}function So(p,l,o){const s={};return Object.entries(p.children).forEach((([d,f])=>{s[d]=f===l?o:So(f,l,o)})),new ft(p.segments,s)}class Yi{constructor(l,o,s){if(this.isAbsolute=l,this.numberOfDoubleDots=o,this.commands=s,l&&s.length>0&&Vr(s[0]))throw new u.wOt(4003,!1);const d=s.find(mr);if(d&&d!==Lr(s))throw new u.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Gn{constructor(l,o,s){this.segmentGroup=l,this.processChildren=o,this.index=s}}function Br(p,l,o){if(p??=new ft([],{}),0===p.segments.length&&p.hasChildren())return ir(p,l,o);const s=function go(p,l,o){let s=0,d=l;const f={match:!1,pathIndex:0,commandIndex:0};for(;d<p.segments.length;){if(s>=o.length)return f;const y=p.segments[d],T=o[s];if(mr(T))break;const S=`${T}`,L=s<o.length-1?o[s+1]:null;if(d>0&&void 0===S)break;if(S&&L&&"object"==typeof L&&void 0===L.outlets){if(!Io(S,L,y))return f;s+=2}else{if(!Io(S,{},y))return f;s++}d++}return{match:!0,pathIndex:d,commandIndex:s}}(p,l,o),d=o.slice(s.commandIndex);if(s.match&&s.pathIndex<p.segments.length){const f=new ft(p.segments.slice(0,s.pathIndex),{});return f.children[We]=new ft(p.segments.slice(s.pathIndex),p.children),ir(f,0,d)}return s.match&&0===d.length?new ft(p.segments,{}):s.match&&!p.hasChildren()?Zr(p,l,o):s.match?ir(p,0,d):Zr(p,l,o)}function ir(p,l,o){if(0===o.length)return new ft(p.segments,{});{const s=function Ur(p){return mr(p[0])?p[0].outlets:{[We]:p}}(o),d={};if(Object.keys(s).some((f=>f!==We))&&p.children[We]&&1===p.numberOfChildren&&0===p.children[We].segments.length){const f=ir(p.children[We],l,o);return new ft(p.segments,f.children)}return Object.entries(s).forEach((([f,y])=>{"string"==typeof y&&(y=[y]),null!==y&&(d[f]=Br(p.children[f],l,y))})),Object.entries(p.children).forEach((([f,y])=>{void 0===s[f]&&(d[f]=y)})),new ft(p.segments,d)}}function Zr(p,l,o){const s=p.segments.slice(0,l);let d=0;for(;d<o.length;){const f=o[d];if(mr(f)){const S=Pi(f.outlets);return new ft(s,S)}if(0===d&&Vr(o[0])){s.push(new Hn(p.segments[l].path,Wo(o[0]))),d++;continue}const y=mr(f)?f.outlets[We]:`${f}`,T=d<o.length-1?o[d+1]:null;y&&T&&Vr(T)?(s.push(new Hn(y,Wo(T))),d+=2):(s.push(new Hn(y,{})),d++)}return new ft(s,{})}function Pi(p){const l={};return Object.entries(p).forEach((([o,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(l[o]=Zr(new ft([],{}),0,s))})),l}function Wo(p){const l={};return Object.entries(p).forEach((([o,s])=>l[o]=`${s}`)),l}function Io(p,l,o){return p==o.path&&kn(l,o.parameters)}const Tr="imperative";var at=function(p){return p[p.NavigationStart=0]="NavigationStart",p[p.NavigationEnd=1]="NavigationEnd",p[p.NavigationCancel=2]="NavigationCancel",p[p.NavigationError=3]="NavigationError",p[p.RoutesRecognized=4]="RoutesRecognized",p[p.ResolveStart=5]="ResolveStart",p[p.ResolveEnd=6]="ResolveEnd",p[p.GuardsCheckStart=7]="GuardsCheckStart",p[p.GuardsCheckEnd=8]="GuardsCheckEnd",p[p.RouteConfigLoadStart=9]="RouteConfigLoadStart",p[p.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",p[p.ChildActivationStart=11]="ChildActivationStart",p[p.ChildActivationEnd=12]="ChildActivationEnd",p[p.ActivationStart=13]="ActivationStart",p[p.ActivationEnd=14]="ActivationEnd",p[p.Scroll=15]="Scroll",p[p.NavigationSkipped=16]="NavigationSkipped",p}(at||{});class on{constructor(l,o){this.id=l,this.url=o}}class Jr extends on{constructor(l,o,s="imperative",d=null){super(l,o),this.type=at.NavigationStart,this.navigationTrigger=s,this.restoredState=d}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Cn extends on{constructor(l,o,s){super(l,o),this.urlAfterRedirects=s,this.type=at.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var dn=function(p){return p[p.Redirect=0]="Redirect",p[p.SupersededByNewNavigation=1]="SupersededByNewNavigation",p[p.NoDataFromResolver=2]="NoDataFromResolver",p[p.GuardRejected=3]="GuardRejected",p}(dn||{}),Ir=function(p){return p[p.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",p[p.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",p}(Ir||{});class _r extends on{constructor(l,o,s,d){super(l,o),this.reason=s,this.code=d,this.type=at.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class jr extends on{constructor(l,o,s,d){super(l,o),this.reason=s,this.code=d,this.type=at.NavigationSkipped}}class ei extends on{constructor(l,o,s,d){super(l,o),this.error=s,this.target=d,this.type=at.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ai extends on{constructor(l,o,s,d){super(l,o),this.urlAfterRedirects=s,this.state=d,this.type=at.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class mo extends on{constructor(l,o,s,d){super(l,o),this.urlAfterRedirects=s,this.state=d,this.type=at.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $r extends on{constructor(l,o,s,d,f){super(l,o),this.urlAfterRedirects=s,this.state=d,this.shouldActivate=f,this.type=at.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ni extends on{constructor(l,o,s,d){super(l,o),this.urlAfterRedirects=s,this.state=d,this.type=at.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class zn extends on{constructor(l,o,s,d){super(l,o),this.urlAfterRedirects=s,this.state=d,this.type=at.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qo{constructor(l){this.route=l,this.type=at.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Or{constructor(l){this.route=l,this.type=at.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class yr{constructor(l){this.snapshot=l,this.type=at.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Zi{constructor(l){this.snapshot=l,this.type=at.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xi{constructor(l){this.snapshot=l,this.type=at.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gi{constructor(l){this.snapshot=l,this.type=at.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ri{constructor(l,o,s){this.routerEvent=l,this.position=o,this.anchor=s,this.type=at.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Fi{}class Ji{constructor(l,o){this.url=l,this.navigationBehaviorOptions=o}}function Ne(p){return p.outlet||We}function wt(p){if(!p)return null;if(p.routeConfig?._injector)return p.routeConfig._injector;for(let l=p.parent;l;l=l.parent){const o=l.routeConfig;if(o?._loadedInjector)return o._loadedInjector;if(o?._injector)return o._injector}return null}class bn{get injector(){return wt(this.route?.snapshot)??this.rootInjector}set injector(l){}constructor(l){this.rootInjector=l,this.outlet=null,this.route=null,this.children=new Ut(this.rootInjector),this.attachRef=null}}let Ut=(()=>{class p{constructor(o){this.rootInjector=o,this.contexts=new Map}onChildOutletCreated(o,s){const d=this.getOrCreateContext(o);d.outlet=s,this.contexts.set(o,d)}onChildOutletDestroyed(o){const s=this.getContext(o);s&&(s.outlet=null,s.attachRef=null)}onOutletDeactivated(){const o=this.contexts;return this.contexts=new Map,o}onOutletReAttached(o){this.contexts=o}getOrCreateContext(o){let s=this.getContext(o);return s||(s=new bn(this.rootInjector),this.contexts.set(o,s)),s}getContext(o){return this.contexts.get(o)||null}static#e=this.ɵfac=function(s){return new(s||p)(u.KVO(u.uvJ))};static#t=this.ɵprov=u.jDH({token:p,factory:p.ɵfac,providedIn:"root"})}return p})();class zt{constructor(l){this._root=l}get root(){return this._root.value}parent(l){const o=this.pathFromRoot(l);return o.length>1?o[o.length-2]:null}children(l){const o=Jt(l,this._root);return o?o.children.map((s=>s.value)):[]}firstChild(l){const o=Jt(l,this._root);return o&&o.children.length>0?o.children[0].value:null}siblings(l){const o=sn(l,this._root);return o.length<2?[]:o[o.length-2].children.map((d=>d.value)).filter((d=>d!==l))}pathFromRoot(l){return sn(l,this._root).map((o=>o.value))}}function Jt(p,l){if(p===l.value)return l;for(const o of l.children){const s=Jt(p,o);if(s)return s}return null}function sn(p,l){if(p===l.value)return[l];for(const o of l.children){const s=sn(p,o);if(s.length)return s.unshift(l),s}return[]}class it{constructor(l,o){this.value=l,this.children=o}toString(){return`TreeNode(${this.value})`}}function bt(p){const l={};return p&&p.children.forEach((o=>l[o.value.outlet]=o)),l}class pn extends zt{constructor(l,o){super(l),this.snapshot=o,ni(this,l)}toString(){return this.snapshot.toString()}}function Hr(p){const l=function Ft(p){const f=new Fn([],{},{},"",{},We,p,null,{});return new ti("",new it(f,[]))}(p),o=new $.t([new Hn("",{})]),s=new $.t({}),d=new $.t({}),f=new $.t({}),y=new $.t(""),T=new Wt(o,s,f,y,d,We,p,l.root);return T.snapshot=l.root,new pn(new it(T,[]),l)}class Wt{constructor(l,o,s,d,f,y,T,S){this.urlSubject=l,this.paramsSubject=o,this.queryParamsSubject=s,this.fragmentSubject=d,this.dataSubject=f,this.outlet=y,this.component=T,this._futureSnapshot=S,this.title=this.dataSubject?.pipe((0,Re.T)((L=>L[$n])))??(0,H.of)(void 0),this.url=l,this.params=o,this.queryParams=s,this.fragment=d,this.data=f}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,Re.T)((l=>vn(l)))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,Re.T)((l=>vn(l)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function vr(p,l,o="emptyOnly"){let s;const{routeConfig:d}=p;return s=null===l||"always"!==o&&""!==d?.path&&(l.component||l.routeConfig?.loadComponent)?{params:{...p.params},data:{...p.data},resolve:{...p.data,...p._resolvedData??{}}}:{params:{...l.params,...p.params},data:{...l.data,...p.data},resolve:{...p.data,...l.data,...d?.data,...p._resolvedData}},d&&to(d)&&(s.resolve[$n]=d.title),s}class Fn{get title(){return this.data?.[$n]}constructor(l,o,s,d,f,y,T,S,L){this.url=l,this.params=o,this.queryParams=s,this.fragment=d,this.data=f,this.outlet=y,this.component=T,this.routeConfig=S,this._resolve=L}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=vn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=vn(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map((s=>s.toString())).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ti extends zt{constructor(l,o){super(o),this.url=l,ni(this,o)}toString(){return Ko(this._root)}}function ni(p,l){l.value._routerState=p,l.children.forEach((o=>ni(p,o)))}function Ko(p){const l=p.children.length>0?` { ${p.children.map(Ko).join(", ")} } `:"";return`${p.value}${l}`}function ki(p){if(p.snapshot){const l=p.snapshot,o=p._futureSnapshot;p.snapshot=o,kn(l.queryParams,o.queryParams)||p.queryParamsSubject.next(o.queryParams),l.fragment!==o.fragment&&p.fragmentSubject.next(o.fragment),kn(l.params,o.params)||p.paramsSubject.next(o.params),function Ti(p,l){if(p.length!==l.length)return!1;for(let o=0;o<p.length;++o)if(!kn(p[o],l[o]))return!1;return!0}(l.url,o.url)||p.urlSubject.next(o.url),kn(l.data,o.data)||p.dataSubject.next(o.data)}else p.snapshot=p._futureSnapshot,p.dataSubject.next(p._futureSnapshot.data)}function _o(p,l){const o=kn(p.params,l.params)&&function hr(p,l){return Ze(p,l)&&p.every(((o,s)=>kn(o.parameters,l[s].parameters)))}(p.url,l.url);return o&&!(!p.parent!=!l.parent)&&(!p.parent||_o(p.parent,l.parent))}function to(p){return"string"==typeof p.title||null===p.title}let or=(()=>{class p{constructor(){this.activated=null,this._activatedRoute=null,this.name=We,this.activateEvents=new u.bkB,this.deactivateEvents=new u.bkB,this.attachEvents=new u.bkB,this.detachEvents=new u.bkB,this.parentContexts=(0,u.WQX)(Ut),this.location=(0,u.WQX)(u.c1b),this.changeDetector=(0,u.WQX)(u.gRc),this.inputBinder=(0,u.WQX)(mi,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(o){if(o.name){const{firstChange:s,previousValue:d}=o.name;if(s)return;this.isTrackedInParentContexts(d)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(d)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(o){return this.parentContexts.getContext(o)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const o=this.parentContexts.getContext(this.name);o?.route&&(o.attachRef?this.attach(o.attachRef,o.route):this.activateWith(o.route,o.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new u.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new u.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new u.wOt(4012,!1);this.location.detach();const o=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(o.instance),o}attach(o,s){this.activated=o,this._activatedRoute=s,this.location.insert(o.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(o.instance)}deactivate(){if(this.activated){const o=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(o)}}activateWith(o,s){if(this.isActivated)throw new u.wOt(4013,!1);this._activatedRoute=o;const d=this.location,y=o.snapshot.component,T=this.parentContexts.getOrCreateContext(this.name).children,S=new no(o,T,d.injector);this.activated=d.createComponent(y,{index:d.length,injector:S,environmentInjector:s}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.ɵfac=function(s){return new(s||p)};static#t=this.ɵdir=u.FsC({type:p,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[u.OA$]})}return p})();class no{__ngOutletInjector(l){return new no(this.route,this.childContexts,l)}constructor(l,o,s){this.route=l,this.childContexts=o,this.parent=s}get(l,o){return l===Wt?this.route:l===Ut?this.childContexts:this.parent.get(l,o)}}const mi=new u.nKC("");let Oo=(()=>{class p{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(o){this.unsubscribeFromRouteData(o),this.subscribeToRouteData(o)}unsubscribeFromRouteData(o){this.outletDataSubscriptions.get(o)?.unsubscribe(),this.outletDataSubscriptions.delete(o)}subscribeToRouteData(o){const{activatedRoute:s}=o,d=(0,G.z)([s.queryParams,s.params,s.data]).pipe((0,qe.n)((([f,y,T],S)=>(T={...f,...y,...T},0===S?(0,H.of)(T):Promise.resolve(T))))).subscribe((f=>{if(!o.isActivated||!o.activatedComponentRef||o.activatedRoute!==s||null===s.component)return void this.unsubscribeFromRouteData(o);const y=(0,u.HJs)(s.component);if(y)for(const{templateName:T}of y.inputs)o.activatedComponentRef.setInput(T,f[T]);else this.unsubscribeFromRouteData(o)}));this.outletDataSubscriptions.set(o,d)}static#e=this.ɵfac=function(s){return new(s||p)};static#t=this.ɵprov=u.jDH({token:p,factory:p.ɵfac})}return p})();function yo(p,l,o){if(o&&p.shouldReuseRoute(l.value,o.value.snapshot)){const s=o.value;s._futureSnapshot=l.value;const d=function ms(p,l,o){return l.children.map((s=>{for(const d of o.children)if(p.shouldReuseRoute(s.value,d.value.snapshot))return yo(p,s,d);return yo(p,s)}))}(p,l,o);return new it(s,d)}{if(p.shouldAttach(l.value)){const f=p.retrieve(l.value);if(null!==f){const y=f.route;return y.value._futureSnapshot=l.value,y.children=l.children.map((T=>yo(p,T))),y}}const s=function ro(p){return new Wt(new $.t(p.url),new $.t(p.params),new $.t(p.queryParams),new $.t(p.fragment),new $.t(p.data),p.outlet,p.component,p)}(l.value),d=l.children.map((f=>yo(p,f)));return new it(s,d)}}class Po{constructor(l,o){this.redirectTo=l,this.navigationBehaviorOptions=o}}const De="ngNavigationCancelingError";function Ar(p,l){const{redirectTo:o,navigationBehaviorOptions:s}=vt(l)?{redirectTo:l,navigationBehaviorOptions:void 0}:l,d=Wn(!1,dn.Redirect);return d.url=o,d.navigationBehaviorOptions=s,d}function Wn(p,l){const o=new Error(`NavigationCancelingError: ${p||""}`);return o[De]=!0,o.cancellationCode=l,o}function No(p){return!!p&&p[De]}class ri{constructor(l,o,s,d,f){this.routeReuseStrategy=l,this.futureState=o,this.currState=s,this.forwardEvent=d,this.inputBindingEnabled=f}activate(l){const o=this.futureState._root,s=this.currState?this.currState._root:null;this.deactivateChildRoutes(o,s,l),ki(this.futureState.root),this.activateChildRoutes(o,s,l)}deactivateChildRoutes(l,o,s){const d=bt(o);l.children.forEach((f=>{const y=f.value.outlet;this.deactivateRoutes(f,d[y],s),delete d[y]})),Object.values(d).forEach((f=>{this.deactivateRouteAndItsChildren(f,s)}))}deactivateRoutes(l,o,s){const d=l.value,f=o?o.value:null;if(d===f)if(d.component){const y=s.getContext(d.outlet);y&&this.deactivateChildRoutes(l,o,y.children)}else this.deactivateChildRoutes(l,o,s);else f&&this.deactivateRouteAndItsChildren(o,s)}deactivateRouteAndItsChildren(l,o){l.value.component&&this.routeReuseStrategy.shouldDetach(l.value.snapshot)?this.detachAndStoreRouteSubtree(l,o):this.deactivateRouteAndOutlet(l,o)}detachAndStoreRouteSubtree(l,o){const s=o.getContext(l.value.outlet),d=s&&l.value.component?s.children:o,f=bt(l);for(const y of Object.values(f))this.deactivateRouteAndItsChildren(y,d);if(s&&s.outlet){const y=s.outlet.detach(),T=s.children.onOutletDeactivated();this.routeReuseStrategy.store(l.value.snapshot,{componentRef:y,route:l,contexts:T})}}deactivateRouteAndOutlet(l,o){const s=o.getContext(l.value.outlet),d=s&&l.value.component?s.children:o,f=bt(l);for(const y of Object.values(f))this.deactivateRouteAndItsChildren(y,d);s&&(s.outlet&&(s.outlet.deactivate(),s.children.onOutletDeactivated()),s.attachRef=null,s.route=null)}activateChildRoutes(l,o,s){const d=bt(o);l.children.forEach((f=>{this.activateRoutes(f,d[f.value.outlet],s),this.forwardEvent(new gi(f.value.snapshot))})),l.children.length&&this.forwardEvent(new Zi(l.value.snapshot))}activateRoutes(l,o,s){const d=l.value,f=o?o.value:null;if(ki(d),d===f)if(d.component){const y=s.getOrCreateContext(d.outlet);this.activateChildRoutes(l,o,y.children)}else this.activateChildRoutes(l,o,s);else if(d.component){const y=s.getOrCreateContext(d.outlet);if(this.routeReuseStrategy.shouldAttach(d.snapshot)){const T=this.routeReuseStrategy.retrieve(d.snapshot);this.routeReuseStrategy.store(d.snapshot,null),y.children.onOutletReAttached(T.contexts),y.attachRef=T.componentRef,y.route=T.route.value,y.outlet&&y.outlet.attach(T.componentRef,T.route.value),ki(T.route.value),this.activateChildRoutes(l,null,y.children)}else y.attachRef=null,y.route=d,y.outlet&&y.outlet.activateWith(d,y.injector),this.activateChildRoutes(l,null,y.children)}else this.activateChildRoutes(l,null,s)}}class _i{constructor(l){this.path=l,this.route=this.path[this.path.length-1]}}class sr{constructor(l,o){this.component=l,this.route=o}}function Li(p,l,o){const s=p._root;return Nr(s,l?l._root:null,o,[s.value])}function qn(p,l){const o=Symbol(),s=l.get(p,o);return s===o?"function"!=typeof p||(0,u.LfX)(p)?l.get(p):p:s}function Nr(p,l,o,s,d={canDeactivateChecks:[],canActivateChecks:[]}){const f=bt(l);return p.children.forEach((y=>{(function io(p,l,o,s,d={canDeactivateChecks:[],canActivateChecks:[]}){const f=p.value,y=l?l.value:null,T=o?o.getContext(p.value.outlet):null;if(y&&f.routeConfig===y.routeConfig){const S=function an(p,l,o){if("function"==typeof o)return o(p,l);switch(o){case"pathParamsChange":return!Ze(p.url,l.url);case"pathParamsOrQueryParamsChange":return!Ze(p.url,l.url)||!kn(p.queryParams,l.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!_o(p,l)||!kn(p.queryParams,l.queryParams);default:return!_o(p,l)}}(y,f,f.routeConfig.runGuardsAndResolvers);S?d.canActivateChecks.push(new _i(s)):(f.data=y.data,f._resolvedData=y._resolvedData),Nr(p,l,f.component?T?T.children:null:o,s,d),S&&T&&T.outlet&&T.outlet.isActivated&&d.canDeactivateChecks.push(new sr(T.outlet.component,y))}else y&&vo(l,T,d),d.canActivateChecks.push(new _i(s)),Nr(p,null,f.component?T?T.children:null:o,s,d)})(y,f[y.value.outlet],o,s.concat([y.value]),d),delete f[y.value.outlet]})),Object.entries(f).forEach((([y,T])=>vo(T,o.getContext(y),d))),d}function vo(p,l,o){const s=bt(p),d=p.value;Object.entries(s).forEach((([f,y])=>{vo(y,d.component?l?l.children.getContext(f):null:l,o)})),o.canDeactivateChecks.push(new sr(d.component&&l&&l.outlet&&l.outlet.isActivated?l.outlet.component:null,d))}function oo(p){return"function"==typeof p}function wo(p){return p instanceof K.G||"EmptyError"===p?.name}const $e=Symbol("INITIAL_VALUE");function yi(){return(0,qe.n)((p=>(0,G.z)(p.map((l=>l.pipe((0,rt.s)(1),(0,Tt.Z)($e))))).pipe((0,Re.T)((l=>{for(const o of l)if(!0!==o){if(o===$e)return $e;if(!1===o||ar(o))return o}return!0})),(0,At.p)((l=>l!==$e)),(0,rt.s)(1))))}function ar(p){return vt(p)||p instanceof Po}function U(p){return(0,J.F)((0,et.M)((l=>{if("boolean"!=typeof l)throw Ar(0,l)})),(0,Re.T)((l=>!0===l)))}class lt{constructor(l){this.segmentGroup=l||null}}class qt extends Error{constructor(l){super(),this.urlTree=l}}function xe(p){return(0,z.$)(new lt(p))}class aa{constructor(l,o){this.urlSerializer=l,this.urlTree=o}lineralizeSegments(l,o){let s=[],d=o.root;for(;;){if(s=s.concat(d.segments),0===d.numberOfChildren)return(0,H.of)(s);if(d.numberOfChildren>1||!d.children[We])return(0,z.$)(new u.wOt(4e3,!1));d=d.children[We]}}applyRedirectCommands(l,o,s,d,f){if("string"!=typeof o){const T=o,{queryParams:S,fragment:L,routeConfig:Q,url:fe,outlet:_e,params:tt,data:Be,title:ke}=d,Ve=(0,u.N4e)(f,(()=>T({params:tt,data:Be,queryParams:S,fragment:L,routeConfig:Q,url:fe,outlet:_e,title:ke})));if(Ve instanceof Dn)throw new qt(Ve);o=Ve}const y=this.applyRedirectCreateUrlTree(o,this.urlSerializer.parse(o),l,s);if("/"===o[0])throw new qt(y);return y}applyRedirectCreateUrlTree(l,o,s,d){const f=this.createSegmentGroup(l,o.root,s,d);return new Dn(f,this.createQueryParams(o.queryParams,this.urlTree.queryParams),o.fragment)}createQueryParams(l,o){const s={};return Object.entries(l).forEach((([d,f])=>{if("string"==typeof f&&":"===f[0]){const T=f.substring(1);s[d]=o[T]}else s[d]=f})),s}createSegmentGroup(l,o,s,d){const f=this.createSegments(l,o.segments,s,d);let y={};return Object.entries(o.children).forEach((([T,S])=>{y[T]=this.createSegmentGroup(l,S,s,d)})),new ft(f,y)}createSegments(l,o,s,d){return o.map((f=>":"===f.path[0]?this.findPosParam(l,f,d):this.findOrReturn(f,s)))}findPosParam(l,o,s){const d=s[o.path.substring(1)];if(!d)throw new u.wOt(4001,!1);return d}findOrReturn(l,o){let s=0;for(const d of o){if(d.path===l.path)return o.splice(s),d;s++}return l}}const $s={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Lt(p,l,o,s,d){const f=_s(p,l,o);return f.matched?(s=function Us(p,l){return p.providers&&!p._injector&&(p._injector=(0,u.Ol2)(p.providers,l,`Route: ${p.path}`)),p._injector??l}(l,s),function Le(p,l,o,s){const d=l.canMatch;if(!d||0===d.length)return(0,H.of)(!0);const f=d.map((y=>{const T=qn(y,p);return Rn(function Yo(p){return p&&oo(p.canMatch)}(T)?T.canMatch(l,o):(0,u.N4e)(p,(()=>T(l,o))))}));return(0,H.of)(f).pipe(yi(),U())}(s,l,o).pipe((0,Re.T)((y=>!0===y?f:{...$s})))):(0,H.of)(f)}function _s(p,l,o){if("**"===l.path)return function Vi(p){return{matched:!0,parameters:p.length>0?Lr(p).parameters:{},consumedSegments:p,remainingSegments:[],positionalParamSegments:{}}}(o);if(""===l.path)return"full"===l.pathMatch&&(p.hasChildren()||o.length>0)?{...$s}:{matched:!0,consumedSegments:[],remainingSegments:o,parameters:{},positionalParamSegments:{}};const d=(l.matcher||cn)(o,p,l);if(!d)return{...$s};const f={};Object.entries(d.posParams??{}).forEach((([T,S])=>{f[T]=S.path}));const y=d.consumed.length>0?{...f,...d.consumed[d.consumed.length-1].parameters}:f;return{matched:!0,consumedSegments:d.consumed,remainingSegments:o.slice(d.consumed.length),parameters:y,positionalParamSegments:d.posParams??{}}}function Jo(p,l,o,s){return o.length>0&&function la(p,l,o){return o.some((s=>xo(p,l,s)&&Ne(s)!==We))}(p,o,s)?{segmentGroup:new ft(l,Hs(s,new ft(o,p.children))),slicedSegments:[]}:0===o.length&&function Gs(p,l,o){return o.some((s=>xo(p,l,s)))}(p,o,s)?{segmentGroup:new ft(p.segments,$l(p,o,s,p.children)),slicedSegments:o}:{segmentGroup:new ft(p.segments,p.children),slicedSegments:o}}function $l(p,l,o,s){const d={};for(const f of o)if(xo(p,l,f)&&!s[Ne(f)]){const y=new ft([],{});d[Ne(f)]=y}return{...s,...d}}function Hs(p,l){const o={};o[We]=l;for(const s of p)if(""===s.path&&Ne(s)!==We){const d=new ft([],{});o[Ne(s)]=d}return o}function xo(p,l,o){return(!(p.hasChildren()||l.length>0)||"full"!==o.pathMatch)&&""===o.path}class ys{}class vs{constructor(l,o,s,d,f,y,T){this.injector=l,this.configLoader=o,this.rootComponentType=s,this.config=d,this.urlTree=f,this.paramsInheritanceStrategy=y,this.urlSerializer=T,this.applyRedirects=new aa(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(l){return new u.wOt(4002,`'${l.segmentGroup}'`)}recognize(){const l=Jo(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(l).pipe((0,Re.T)((({children:o,rootSnapshot:s})=>{const d=new it(s,o),f=new ti("",d),y=function fn(p,l,o=null,s=null){return Oi(Mn(p),l,o,s)}(s,[],this.urlTree.queryParams,this.urlTree.fragment);return y.queryParams=this.urlTree.queryParams,f.url=this.urlSerializer.serialize(y),{state:f,tree:y}})))}match(l){const o=new Fn([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),We,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,l,We,o).pipe((0,Re.T)((s=>({children:s,rootSnapshot:o}))),(0,ee.W)((s=>{if(s instanceof qt)return this.urlTree=s.urlTree,this.match(s.urlTree.root);throw s instanceof lt?this.noMatchError(s):s})))}processSegmentGroup(l,o,s,d,f){return 0===s.segments.length&&s.hasChildren()?this.processChildren(l,o,s,f):this.processSegment(l,o,s,s.segments,d,!0,f).pipe((0,Re.T)((y=>y instanceof it?[y]:[])))}processChildren(l,o,s,d){const f=[];for(const y of Object.keys(s.children))"primary"===y?f.unshift(y):f.push(y);return(0,te.H)(f).pipe((0,Yt.H)((y=>{const T=s.children[y],S=function Pe(p,l){const o=p.filter((s=>Ne(s)===l));return o.push(...p.filter((s=>Ne(s)!==l))),o}(o,y);return this.processSegmentGroup(l,S,T,y,d)})),(0,ge.S)(((y,T)=>(y.push(...T),y))),(0,Ke.U)(null),(0,se.H)(),(0,gt.Z)((y=>{if(null===y)return xe(s);const T=Cs(y);return function es(p){p.sort(((l,o)=>l.value.outlet===We?-1:o.value.outlet===We?1:l.value.outlet.localeCompare(o.value.outlet)))}(T),(0,H.of)(T)})))}processSegment(l,o,s,d,f,y,T){return(0,te.H)(o).pipe((0,Yt.H)((S=>this.processSegmentAgainstRoute(S._injector??l,o,S,s,d,f,y,T).pipe((0,ee.W)((L=>{if(L instanceof lt)return(0,H.of)(null);throw L}))))),(0,mt.$)((S=>!!S)),(0,ee.W)((S=>{if(wo(S))return function ca(p,l,o){return 0===l.length&&!p.children[o]}(s,d,f)?(0,H.of)(new ys):xe(s);throw S})))}processSegmentAgainstRoute(l,o,s,d,f,y,T,S){return Ne(s)===y||y!==We&&xo(d,f,s)?void 0===s.redirectTo?this.matchSegmentAgainstRoute(l,d,s,f,y,S):this.allowRedirects&&T?this.expandSegmentAgainstRouteUsingRedirect(l,d,o,s,f,y,S):xe(d):xe(d)}expandSegmentAgainstRouteUsingRedirect(l,o,s,d,f,y,T){const{matched:S,parameters:L,consumedSegments:Q,positionalParamSegments:fe,remainingSegments:_e}=_s(o,d,f);if(!S)return xe(o);"string"==typeof d.redirectTo&&"/"===d.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const tt=new Fn(f,L,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ws(d),Ne(d),d.component??d._loadedComponent??null,d,Ba(d)),Be=vr(tt,T,this.paramsInheritanceStrategy);tt.params=Object.freeze(Be.params),tt.data=Object.freeze(Be.data);const ke=this.applyRedirects.applyRedirectCommands(Q,d.redirectTo,fe,tt,l);return this.applyRedirects.lineralizeSegments(d,ke).pipe((0,gt.Z)((Ve=>this.processSegment(l,s,o,Ve.concat(_e),y,!1,T))))}matchSegmentAgainstRoute(l,o,s,d,f,y){const T=Lt(o,s,d,l);return"**"===s.path&&(o.children={}),T.pipe((0,qe.n)((S=>S.matched?this.getChildConfig(l=s._injector??l,s,d).pipe((0,qe.n)((({routes:L})=>{const Q=s._loadedInjector??l,{parameters:fe,consumedSegments:_e,remainingSegments:tt}=S,Be=new Fn(_e,fe,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ws(s),Ne(s),s.component??s._loadedComponent??null,s,Ba(s)),ke=vr(Be,y,this.paramsInheritanceStrategy);Be.params=Object.freeze(ke.params),Be.data=Object.freeze(ke.data);const{segmentGroup:Ve,slicedSegments:Bt}=Jo(o,_e,tt,L);if(0===Bt.length&&Ve.hasChildren())return this.processChildren(Q,L,Ve,Be).pipe((0,Re.T)((mn=>new it(Be,mn))));if(0===L.length&&0===Bt.length)return(0,H.of)(new it(Be,[]));const Tn=Ne(s)===f;return this.processSegment(Q,L,Ve,Bt,Tn?We:f,!0,Be).pipe((0,Re.T)((mn=>new it(Be,mn instanceof it?[mn]:[]))))}))):xe(o))))}getChildConfig(l,o,s){return o.children?(0,H.of)({routes:o.children,injector:l}):o.loadChildren?void 0!==o._loadedRoutes?(0,H.of)({routes:o._loadedRoutes,injector:o._loadedInjector}):function I(p,l,o,s){const d=l.canLoad;if(void 0===d||0===d.length)return(0,H.of)(!0);const f=d.map((y=>{const T=qn(y,p);return Rn(function oa(p){return p&&oo(p.canLoad)}(T)?T.canLoad(l,o):(0,u.N4e)(p,(()=>T(l,o))))}));return(0,H.of)(f).pipe(yi(),U())}(l,o,s).pipe((0,gt.Z)((d=>d?this.configLoader.loadChildren(l,o).pipe((0,et.M)((f=>{o._loadedRoutes=f.routes,o._loadedInjector=f.injector}))):function jl(){return(0,z.$)(Wn(!1,dn.GuardRejected))}()))):(0,H.of)({routes:[],injector:l})}}function so(p){const l=p.value.routeConfig;return l&&""===l.path}function Cs(p){const l=[],o=new Set;for(const s of p){if(!so(s)){l.push(s);continue}const d=l.find((f=>s.value.routeConfig===f.value.routeConfig));void 0!==d?(d.children.push(...s.children),o.add(d)):l.push(s)}for(const s of o){const d=Cs(s.children);l.push(new it(s.value,d))}return l.filter((s=>!o.has(s)))}function ws(p){return p.data||{}}function Ba(p){return p.resolve||{}}function Wl(p){const l=p.children.map((o=>Wl(o))).flat();return[p,...l]}function ts(p){return(0,qe.n)((l=>{const o=p(l);return o?(0,te.H)(o).pipe((0,Re.T)((()=>l))):(0,H.of)(l)}))}let da=(()=>{class p{buildTitle(o){let s,d=o.root;for(;void 0!==d;)s=this.getResolvedTitleForRoute(d)??s,d=d.children.find((f=>f.outlet===We));return s}getResolvedTitleForRoute(o){return o.data[$n]}static#e=this.ɵfac=function(s){return new(s||p)};static#t=this.ɵprov=u.jDH({token:p,factory:()=>(0,u.WQX)(Ui),providedIn:"root"})}return p})(),Ui=(()=>{class p extends da{constructor(o){super(),this.title=o}updateTitle(o){const s=this.buildTitle(o);void 0!==s&&this.title.setTitle(s)}static#e=this.ɵfac=function(s){return new(s||p)(u.KVO(xn.hE))};static#t=this.ɵprov=u.jDH({token:p,factory:p.ɵfac,providedIn:"root"})}return p})();const Bi=new u.nKC("",{providedIn:"root",factory:()=>({})});let Ws=(()=>{class p{static#e=this.ɵfac=function(s){return new(s||p)};static#t=this.ɵcmp=u.VBU({type:p,selectors:[["ng-component"]],standalone:!0,features:[u.aNF],decls:1,vars:0,template:function(s,d){1&s&&u.nrm(0,"router-outlet")},dependencies:[or],encapsulation:2})}return p})();function Ye(p){const l=p.children&&p.children.map(Ye),o=l?{...p,children:l}:{...p};return!o.component&&!o.loadComponent&&(l||o.loadChildren)&&o.outlet&&o.outlet!==We&&(o.component=Ws),o}const Ct=new u.nKC("");let ja=(()=>{class p{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,u.WQX)(u.Ql9)}loadComponent(o){if(this.componentLoaders.get(o))return this.componentLoaders.get(o);if(o._loadedComponent)return(0,H.of)(o._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(o);const s=Rn(o.loadComponent()).pipe((0,Re.T)(Ql),(0,et.M)((f=>{this.onLoadEndListener&&this.onLoadEndListener(o),o._loadedComponent=f})),(0,Qe.j)((()=>{this.componentLoaders.delete(o)}))),d=new Se.G(s,(()=>new Me.B)).pipe((0,Ht.B)());return this.componentLoaders.set(o,d),d}loadChildren(o,s){if(this.childrenLoaders.get(s))return this.childrenLoaders.get(s);if(s._loadedRoutes)return(0,H.of)({routes:s._loadedRoutes,injector:s._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(s);const f=function ql(p,l,o,s){return Rn(p.loadChildren()).pipe((0,Re.T)(Ql),(0,gt.Z)((d=>d instanceof u.Co$||Array.isArray(d)?(0,H.of)(d):(0,te.H)(l.compileModuleAsync(d)))),(0,Re.T)((d=>{s&&s(p);let f,y,T=!1;return Array.isArray(d)?(y=d,!0):(f=d.create(o).injector,y=f.get(Ct,[],{optional:!0,self:!0}).flat()),{routes:y.map(Ye),injector:f}})))}(s,this.compiler,o,this.onLoadEndListener).pipe((0,Qe.j)((()=>{this.childrenLoaders.delete(s)}))),y=new Se.G(f,(()=>new Me.B)).pipe((0,Ht.B)());return this.childrenLoaders.set(s,y),y}static#e=this.ɵfac=function(s){return new(s||p)};static#t=this.ɵprov=u.jDH({token:p,factory:p.ɵfac,providedIn:"root"})}return p})();function Ql(p){return function Kl(p){return p&&"object"==typeof p&&"default"in p}(p)?p.default:p}let qs=(()=>{class p{static#e=this.ɵfac=function(s){return new(s||p)};static#t=this.ɵprov=u.jDH({token:p,factory:()=>(0,u.WQX)(Ks),providedIn:"root"})}return p})(),Ks=(()=>{class p{shouldProcessUrl(o){return!0}extract(o){return o}merge(o,s){return o}static#e=this.ɵfac=function(s){return new(s||p)};static#t=this.ɵprov=u.jDH({token:p,factory:p.ɵfac,providedIn:"root"})}return p})();const yt=new u.nKC(""),Ds=new u.nKC("");function ha(p,l,o){const s=p.get(Ds),d=p.get(je.qQ);return p.get(u.SKi).runOutsideAngular((()=>{if(!d.startViewTransition||s.skipNextTransition)return s.skipNextTransition=!1,new Promise((L=>setTimeout(L)));let f;const y=new Promise((L=>{f=L})),T=d.startViewTransition((()=>(f(),function gn(p){return new Promise((l=>{(0,u.mal)({read:()=>setTimeout(l)},{injector:p})}))}(p)))),{onViewTransitionCreated:S}=s;return S&&(0,u.N4e)(p,(()=>S({transition:T,from:l,to:o}))),y}))}const Kt=new u.nKC("");let ji=(()=>{class p{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Me.B,this.transitionAbortSubject=new Me.B,this.configLoader=(0,u.WQX)(ja),this.environmentInjector=(0,u.WQX)(u.uvJ),this.urlSerializer=(0,u.WQX)(Ii),this.rootContexts=(0,u.WQX)(Ut),this.location=(0,u.WQX)(je.aZ),this.inputBindingEnabled=null!==(0,u.WQX)(mi,{optional:!0}),this.titleStrategy=(0,u.WQX)(da),this.options=(0,u.WQX)(Bi,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,u.WQX)(qs),this.createViewTransition=(0,u.WQX)(yt,{optional:!0}),this.navigationErrorHandler=(0,u.WQX)(Kt,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,H.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=d=>this.events.next(new Or(d)),this.configLoader.onLoadStartListener=d=>this.events.next(new qo(d))}complete(){this.transitions?.complete()}handleNavigationRequest(o){const s=++this.navigationId;this.transitions?.next({...this.transitions.value,...o,id:s})}setupNavigations(o,s,d){return this.transitions=new $.t({id:0,currentUrlTree:s,currentRawUrl:s,extractedUrl:this.urlHandlingStrategy.extract(s),urlAfterRedirects:this.urlHandlingStrategy.extract(s),rawUrl:s,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Tr,restoredState:null,currentSnapshot:d.snapshot,targetSnapshot:null,currentRouterState:d,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,At.p)((f=>0!==f.id)),(0,Re.T)((f=>({...f,extractedUrl:this.urlHandlingStrategy.extract(f.rawUrl)}))),(0,qe.n)((f=>{let y=!1,T=!1;return(0,H.of)(f).pipe((0,qe.n)((S=>{if(this.navigationId>f.id)return this.cancelNavigationTransition(f,"",dn.SupersededByNewNavigation),Ce.w;this.currentTransition=f,this.currentNavigation={id:S.id,initialUrl:S.rawUrl,extractedUrl:S.extractedUrl,targetBrowserUrl:"string"==typeof S.extras.browserUrl?this.urlSerializer.parse(S.extras.browserUrl):S.extras.browserUrl,trigger:S.source,extras:S.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const L=!o.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!L&&"reload"!==(S.extras.onSameUrlNavigation??o.onSameUrlNavigation)){const fe="";return this.events.next(new jr(S.id,this.urlSerializer.serialize(S.rawUrl),fe,Ir.IgnoredSameUrlNavigation)),S.resolve(!1),Ce.w}if(this.urlHandlingStrategy.shouldProcessUrl(S.rawUrl))return(0,H.of)(S).pipe((0,qe.n)((fe=>{const _e=this.transitions?.getValue();return this.events.next(new Jr(fe.id,this.urlSerializer.serialize(fe.extractedUrl),fe.source,fe.restoredState)),_e!==this.transitions?.getValue()?Ce.w:Promise.resolve(fe)})),function Gl(p,l,o,s,d,f){return(0,gt.Z)((y=>function zs(p,l,o,s,d,f,y="emptyOnly"){return new vs(p,l,o,s,d,y,f).recognize()}(p,l,o,s,y.extractedUrl,d,f).pipe((0,Re.T)((({state:T,tree:S})=>({...y,targetSnapshot:T,urlAfterRedirects:S}))))))}(this.environmentInjector,this.configLoader,this.rootComponentType,o.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,et.M)((fe=>{f.targetSnapshot=fe.targetSnapshot,f.urlAfterRedirects=fe.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:fe.urlAfterRedirects};const _e=new Ai(fe.id,this.urlSerializer.serialize(fe.extractedUrl),this.urlSerializer.serialize(fe.urlAfterRedirects),fe.targetSnapshot);this.events.next(_e)})));if(L&&this.urlHandlingStrategy.shouldProcessUrl(S.currentRawUrl)){const{id:fe,extractedUrl:_e,source:tt,restoredState:Be,extras:ke}=S,Ve=new Jr(fe,this.urlSerializer.serialize(_e),tt,Be);this.events.next(Ve);const Bt=Hr(this.rootComponentType).snapshot;return this.currentTransition=f={...S,targetSnapshot:Bt,urlAfterRedirects:_e,extras:{...ke,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=_e,(0,H.of)(f)}{const fe="";return this.events.next(new jr(S.id,this.urlSerializer.serialize(S.extractedUrl),fe,Ir.IgnoredByUrlHandlingStrategy)),S.resolve(!1),Ce.w}})),(0,et.M)((S=>{const L=new mo(S.id,this.urlSerializer.serialize(S.extractedUrl),this.urlSerializer.serialize(S.urlAfterRedirects),S.targetSnapshot);this.events.next(L)})),(0,Re.T)((S=>(this.currentTransition=f={...S,guards:Li(S.targetSnapshot,S.currentSnapshot,this.rootContexts)},f))),function sa(p,l){return(0,gt.Z)((o=>{const{targetSnapshot:s,currentSnapshot:d,guards:{canActivateChecks:f,canDeactivateChecks:y}}=o;return 0===y.length&&0===f.length?(0,H.of)({...o,guardsResult:!0}):function Bs(p,l,o,s){return(0,te.H)(p).pipe((0,gt.Z)((d=>function _(p,l,o,s,d){const f=l&&l.routeConfig?l.routeConfig.canDeactivate:null;if(!f||0===f.length)return(0,H.of)(!0);const y=f.map((T=>{const S=wt(l)??d,L=qn(T,S);return Rn(function Xo(p){return p&&oo(p.canDeactivate)}(L)?L.canDeactivate(p,l,o,s):(0,u.N4e)(S,(()=>L(p,l,o,s)))).pipe((0,mt.$)())}));return(0,H.of)(y).pipe(yi())}(d.component,d.route,o,l,s))),(0,mt.$)((d=>!0!==d),!0))}(y,s,d,p).pipe((0,gt.Z)((T=>T&&function St(p){return"boolean"==typeof p}(T)?function Ua(p,l,o,s){return(0,te.H)(l).pipe((0,Yt.H)((d=>(0,j.x)(function Zo(p,l){return null!==p&&l&&l(new yr(p)),(0,H.of)(!0)}(d.route.parent,s),function xr(p,l){return null!==p&&l&&l(new xi(p)),(0,H.of)(!0)}(d.route,s),function D(p,l,o){const s=l[l.length-1],f=l.slice(0,l.length-1).reverse().map((y=>function Qo(p){const l=p.routeConfig?p.routeConfig.canActivateChild:null;return l&&0!==l.length?{node:p,guards:l}:null}(y))).filter((y=>null!==y)).map((y=>(0,Z.v)((()=>{const T=y.guards.map((S=>{const L=wt(y.node)??o,Q=qn(S,L);return Rn(function Co(p){return p&&oo(p.canActivateChild)}(Q)?Q.canActivateChild(s,p):(0,u.N4e)(L,(()=>Q(s,p)))).pipe((0,mt.$)())}));return(0,H.of)(T).pipe(yi())}))));return(0,H.of)(f).pipe(yi())}(p,d.path,o),function w(p,l,o){const s=l.routeConfig?l.routeConfig.canActivate:null;if(!s||0===s.length)return(0,H.of)(!0);const d=s.map((f=>(0,Z.v)((()=>{const y=wt(l)??o,T=qn(f,y);return Rn(function Sn(p){return p&&oo(p.canActivate)}(T)?T.canActivate(l,p):(0,u.N4e)(y,(()=>T(l,p)))).pipe((0,mt.$)())}))));return(0,H.of)(d).pipe(yi())}(p,d.route,o)))),(0,mt.$)((d=>!0!==d),!0))}(s,f,p,l):(0,H.of)(T))),(0,Re.T)((T=>({...o,guardsResult:T}))))}))}(this.environmentInjector,(S=>this.events.next(S))),(0,et.M)((S=>{if(f.guardsResult=S.guardsResult,S.guardsResult&&"boolean"!=typeof S.guardsResult)throw Ar(0,S.guardsResult);const L=new $r(S.id,this.urlSerializer.serialize(S.extractedUrl),this.urlSerializer.serialize(S.urlAfterRedirects),S.targetSnapshot,!!S.guardsResult);this.events.next(L)})),(0,At.p)((S=>!!S.guardsResult||(this.cancelNavigationTransition(S,"",dn.GuardRejected),!1))),ts((S=>{if(S.guards.canActivateChecks.length)return(0,H.of)(S).pipe((0,et.M)((L=>{const Q=new Ni(L.id,this.urlSerializer.serialize(L.extractedUrl),this.urlSerializer.serialize(L.urlAfterRedirects),L.targetSnapshot);this.events.next(Q)})),(0,qe.n)((L=>{let Q=!1;return(0,H.of)(L).pipe(function zl(p,l){return(0,gt.Z)((o=>{const{targetSnapshot:s,guards:{canActivateChecks:d}}=o;if(!d.length)return(0,H.of)(o);const f=new Set(d.map((S=>S.route))),y=new Set;for(const S of f)if(!y.has(S))for(const L of Wl(S))y.add(L);let T=0;return(0,te.H)(y).pipe((0,Yt.H)((S=>f.has(S)?function ua(p,l,o,s){const d=p.routeConfig,f=p._resolve;return void 0!==d?.title&&!to(d)&&(f[$n]=d.title),function Ro(p,l,o,s){const d=Fr(p);if(0===d.length)return(0,H.of)({});const f={};return(0,te.H)(d).pipe((0,gt.Z)((y=>function Es(p,l,o,s){const d=wt(l)??s,f=qn(p,d);return Rn(f.resolve?f.resolve(l,o):(0,u.N4e)(d,(()=>f(l,o))))}(p[y],l,o,s).pipe((0,mt.$)(),(0,et.M)((T=>{if(T instanceof Po)throw Ar(new fi,T);f[y]=T}))))),(0,le.o)(1),(0,Ae.u)(f),(0,ee.W)((y=>wo(y)?Ce.w:(0,z.$)(y))))}(f,p,l,s).pipe((0,Re.T)((y=>(p._resolvedData=y,p.data=vr(p,p.parent,o).resolve,null))))}(S,s,p,l):(S.data=vr(S,S.parent,p).resolve,(0,H.of)(void 0)))),(0,et.M)((()=>T++)),(0,le.o)(1),(0,gt.Z)((S=>T===y.size?(0,H.of)(o):Ce.w)))}))}(this.paramsInheritanceStrategy,this.environmentInjector),(0,et.M)({next:()=>Q=!0,complete:()=>{Q||this.cancelNavigationTransition(L,"",dn.NoDataFromResolver)}}))})),(0,et.M)((L=>{const Q=new zn(L.id,this.urlSerializer.serialize(L.extractedUrl),this.urlSerializer.serialize(L.urlAfterRedirects),L.targetSnapshot);this.events.next(Q)})))})),ts((S=>{const L=Q=>{const fe=[];Q.routeConfig?.loadComponent&&!Q.routeConfig._loadedComponent&&fe.push(this.configLoader.loadComponent(Q.routeConfig).pipe((0,et.M)((_e=>{Q.component=_e})),(0,Re.T)((()=>{}))));for(const _e of Q.children)fe.push(...L(_e));return fe};return(0,G.z)(L(S.targetSnapshot.root)).pipe((0,Ke.U)(null),(0,rt.s)(1))})),ts((()=>this.afterPreactivation())),(0,qe.n)((()=>{const{currentSnapshot:S,targetSnapshot:L}=f,Q=this.createViewTransition?.(this.environmentInjector,S.root,L.root);return Q?(0,te.H)(Q).pipe((0,Re.T)((()=>f))):(0,H.of)(f)})),(0,Re.T)((S=>{const L=function gs(p,l,o){const s=yo(p,l._root,o?o._root:void 0);return new pn(s,l)}(o.routeReuseStrategy,S.targetSnapshot,S.currentRouterState);return this.currentTransition=f={...S,targetRouterState:L},this.currentNavigation.targetRouterState=L,f})),(0,et.M)((()=>{this.events.next(new Fi)})),((p,l,o,s)=>(0,Re.T)((d=>(new ri(l,d.targetRouterState,d.currentRouterState,o,s).activate(p),d))))(this.rootContexts,o.routeReuseStrategy,(S=>this.events.next(S)),this.inputBindingEnabled),(0,rt.s)(1),(0,et.M)({next:S=>{y=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Cn(S.id,this.urlSerializer.serialize(S.extractedUrl),this.urlSerializer.serialize(S.urlAfterRedirects))),this.titleStrategy?.updateTitle(S.targetRouterState.snapshot),S.resolve(!0)},complete:()=>{y=!0}}),(0,Nn.Q)(this.transitionAbortSubject.pipe((0,et.M)((S=>{throw S})))),(0,Qe.j)((()=>{!y&&!T&&this.cancelNavigationTransition(f,"",dn.SupersededByNewNavigation),this.currentTransition?.id===f.id&&(this.currentNavigation=null,this.currentTransition=null)})),(0,ee.W)((S=>{if(T=!0,No(S))this.events.next(new _r(f.id,this.urlSerializer.serialize(f.extractedUrl),S.message,S.cancellationCode)),function Ao(p){return No(p)&&vt(p.url)}(S)?this.events.next(new Ji(S.url,S.navigationBehaviorOptions)):f.resolve(!1);else{const L=new ei(f.id,this.urlSerializer.serialize(f.extractedUrl),S,f.targetSnapshot??void 0);try{const Q=(0,u.N4e)(this.environmentInjector,(()=>this.navigationErrorHandler?.(L)));if(Q instanceof Po){const{message:fe,cancellationCode:_e}=Ar(0,Q);this.events.next(new _r(f.id,this.urlSerializer.serialize(f.extractedUrl),fe,_e)),this.events.next(new Ji(Q.redirectTo,Q.navigationBehaviorOptions))}else{this.events.next(L);const fe=o.errorHandler(S);f.resolve(!!fe)}}catch(Q){this.options.resolveNavigationPromiseOnError?f.resolve(!1):f.reject(Q)}}return Ce.w})))})))}cancelNavigationTransition(o,s,d){const f=new _r(o.id,this.urlSerializer.serialize(o.extractedUrl),s,d);this.events.next(f),o.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const o=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),s=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return o.toString()!==s?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static#e=this.ɵfac=function(s){return new(s||p)};static#t=this.ɵprov=u.jDH({token:p,factory:p.ɵfac,providedIn:"root"})}return p})();function Fo(p){return p!==Tr}let Ms=(()=>{class p{static#e=this.ɵfac=function(s){return new(s||p)};static#t=this.ɵprov=u.jDH({token:p,factory:()=>(0,u.WQX)(m),providedIn:"root"})}return p})();class vi{shouldDetach(l){return!1}store(l,o){}shouldAttach(l){return!1}retrieve(l){return null}shouldReuseRoute(l,o){return l.routeConfig===o.routeConfig}}let m=(()=>{class p extends vi{static#e=this.ɵfac=(()=>{let o;return function(d){return(o||(o=u.xGo(p)))(d||p)}})();static#t=this.ɵprov=u.jDH({token:p,factory:p.ɵfac,providedIn:"root"})}return p})(),b=(()=>{class p{static#e=this.ɵfac=function(s){return new(s||p)};static#t=this.ɵprov=u.jDH({token:p,factory:()=>(0,u.WQX)(v),providedIn:"root"})}return p})(),v=(()=>{class p extends b{constructor(){super(...arguments),this.location=(0,u.WQX)(je.aZ),this.urlSerializer=(0,u.WQX)(Ii),this.options=(0,u.WQX)(Bi,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,u.WQX)(qs),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Dn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Hr(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.ɵrouterPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(o){return this.location.subscribe((s=>{"popstate"===s.type&&o(s.url,s.state)}))}handleRouterEvent(o,s){if(o instanceof Jr)this.stateMemento=this.createStateMemento();else if(o instanceof jr)this.rawUrlTree=s.initialUrl;else if(o instanceof Ai){if("eager"===this.urlUpdateStrategy&&!s.extras.skipLocationChange){const d=this.urlHandlingStrategy.merge(s.finalUrl,s.initialUrl);this.setBrowserUrl(s.targetBrowserUrl??d,s)}}else o instanceof Fi?(this.currentUrlTree=s.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(s.finalUrl,s.initialUrl),this.routerState=s.targetRouterState,"deferred"===this.urlUpdateStrategy&&!s.extras.skipLocationChange&&this.setBrowserUrl(s.targetBrowserUrl??this.rawUrlTree,s)):o instanceof _r&&(o.code===dn.GuardRejected||o.code===dn.NoDataFromResolver)?this.restoreHistory(s):o instanceof ei?this.restoreHistory(s,!0):o instanceof Cn&&(this.lastSuccessfulId=o.id,this.currentPageId=this.browserPageId)}setBrowserUrl(o,s){const d=o instanceof Dn?this.urlSerializer.serialize(o):o;if(this.location.isCurrentPathEqualTo(d)||s.extras.replaceUrl){const y={...s.extras.state,...this.generateNgRouterState(s.id,this.browserPageId)};this.location.replaceState(d,"",y)}else{const f={...s.extras.state,...this.generateNgRouterState(s.id,this.browserPageId+1)};this.location.go(d,"",f)}}restoreHistory(o,s=!1){if("computed"===this.canceledNavigationResolution){const f=this.currentPageId-this.browserPageId;0!==f?this.location.historyGo(f):this.currentUrlTree===o.finalUrl&&0===f&&(this.resetState(o),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(s&&this.resetState(o),this.resetUrlToCurrentUrlTree())}resetState(o){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,o.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(o,s){return"computed"===this.canceledNavigationResolution?{navigationId:o,"ɵrouterPageId":s}:{navigationId:o}}static#e=this.ɵfac=(()=>{let o;return function(d){return(o||(o=u.xGo(p)))(d||p)}})();static#t=this.ɵprov=u.jDH({token:p,factory:p.ɵfac,providedIn:"root"})}return p})();var M=function(p){return p[p.COMPLETE=0]="COMPLETE",p[p.FAILED=1]="FAILED",p[p.REDIRECTING=2]="REDIRECTING",p}(M||{});function R(p,l){p.events.pipe((0,At.p)((o=>o instanceof Cn||o instanceof _r||o instanceof ei||o instanceof jr)),(0,Re.T)((o=>o instanceof Cn||o instanceof jr?M.COMPLETE:o instanceof _r&&(o.code===dn.Redirect||o.code===dn.SupersededByNewNavigation)?M.REDIRECTING:M.FAILED)),(0,At.p)((o=>o!==M.REDIRECTING)),(0,rt.s)(1)).subscribe((()=>{l()}))}function re(p){throw p}const he={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Te={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Et=(()=>{class p{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=(0,u.WQX)(u.H3F),this.stateManager=(0,u.WQX)(b),this.options=(0,u.WQX)(Bi,{optional:!0})||{},this.pendingTasks=(0,u.WQX)(u.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,u.WQX)(ji),this.urlSerializer=(0,u.WQX)(Ii),this.location=(0,u.WQX)(je.aZ),this.urlHandlingStrategy=(0,u.WQX)(qs),this._events=new Me.B,this.errorHandler=this.options.errorHandler||re,this.navigated=!1,this.routeReuseStrategy=(0,u.WQX)(Ms),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,u.WQX)(Ct,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,u.WQX)(mi,{optional:!0}),this.eventsSubscription=new Ie.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:o=>{this.console.warn(o)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const o=this.navigationTransitions.events.subscribe((s=>{try{const d=this.navigationTransitions.currentTransition,f=this.navigationTransitions.currentNavigation;if(null!==d&&null!==f)if(this.stateManager.handleRouterEvent(s,f),s instanceof _r&&s.code!==dn.Redirect&&s.code!==dn.SupersededByNewNavigation)this.navigated=!0;else if(s instanceof Cn)this.navigated=!0;else if(s instanceof Ji){const y=s.navigationBehaviorOptions,T=this.urlHandlingStrategy.merge(s.url,d.currentRawUrl),S={browserUrl:d.extras.browserUrl,info:d.extras.info,skipLocationChange:d.extras.skipLocationChange,replaceUrl:d.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Fo(d.source),...y};this.scheduleNavigation(T,Tr,null,S,{resolve:d.resolve,reject:d.reject,promise:d.promise})}(function Vt(p){return!(p instanceof Fi||p instanceof Ji)})(s)&&this._events.next(s)}catch(d){this.navigationTransitions.transitionAbortSubject.next(d)}}));this.eventsSubscription.add(o)}resetRootComponentType(o){this.routerState.root.component=o,this.navigationTransitions.rootComponentType=o}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Tr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener(((o,s)=>{setTimeout((()=>{this.navigateToSyncWithBrowser(o,"popstate",s)}),0)}))}navigateToSyncWithBrowser(o,s,d){const f={replaceUrl:!0},y=d?.navigationId?d:null;if(d){const S={...d};delete S.navigationId,delete S.ɵrouterPageId,0!==Object.keys(S).length&&(f.state=S)}const T=this.parseUrl(o);this.scheduleNavigation(T,s,y,f)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(o){this.config=o.map(Ye),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(o,s={}){const{relativeTo:d,queryParams:f,fragment:y,queryParamsHandling:T,preserveFragment:S}=s,L=S?this.currentUrlTree.fragment:y;let fe,Q=null;switch(T??this.options.defaultQueryParamsHandling){case"merge":Q={...this.currentUrlTree.queryParams,...f};break;case"preserve":Q=this.currentUrlTree.queryParams;break;default:Q=f||null}null!==Q&&(Q=this.removeEmptyProps(Q));try{fe=Mn(d?d.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof o[0]||"/"!==o[0][0])&&(o=[]),fe=this.currentUrlTree.root}return Oi(fe,o,Q,L??null)}navigateByUrl(o,s={skipLocationChange:!1}){const d=vt(o)?o:this.parseUrl(o),f=this.urlHandlingStrategy.merge(d,this.rawUrlTree);return this.scheduleNavigation(f,Tr,null,s)}navigate(o,s={skipLocationChange:!1}){return function ct(p){for(let l=0;l<p.length;l++)if(null==p[l])throw new u.wOt(4008,!1)}(o),this.navigateByUrl(this.createUrlTree(o,s),s)}serializeUrl(o){return this.urlSerializer.serialize(o)}parseUrl(o){try{return this.urlSerializer.parse(o)}catch{return this.urlSerializer.parse("/")}}isActive(o,s){let d;if(d=!0===s?{...he}:!1===s?{...Te}:s,vt(o))return wn(this.currentUrlTree,o,d);const f=this.parseUrl(o);return wn(this.currentUrlTree,f,d)}removeEmptyProps(o){return Object.entries(o).reduce(((s,[d,f])=>(null!=f&&(s[d]=f),s)),{})}scheduleNavigation(o,s,d,f,y){if(this.disposed)return Promise.resolve(!1);let T,S,L;y?(T=y.resolve,S=y.reject,L=y.promise):L=new Promise(((fe,_e)=>{T=fe,S=_e}));const Q=this.pendingTasks.add();return R(this,(()=>{queueMicrotask((()=>this.pendingTasks.remove(Q)))})),this.navigationTransitions.handleNavigationRequest({source:s,restoredState:d,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:o,extras:f,resolve:T,reject:S,promise:L,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),L.catch((fe=>Promise.reject(fe)))}static#e=this.ɵfac=function(s){return new(s||p)};static#t=this.ɵprov=u.jDH({token:p,factory:p.ɵfac,providedIn:"root"})}return p})(),pe=(()=>{class p{constructor(o,s,d,f,y,T){this.router=o,this.route=s,this.tabIndexAttribute=d,this.renderer=f,this.el=y,this.locationStrategy=T,this.href=null,this.onChanges=new Me.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const S=y.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===S||"area"===S,this.isAnchorElement?this.subscription=o.events.subscribe((L=>{L instanceof Cn&&this.updateHref()})):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(o){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",o)}ngOnChanges(o){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(o){null==o?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=vt(o)||Array.isArray(o)?o:[o],this.setTabIndexIfNotOnNativeEl("0"))}onClick(o,s,d,f,y){const T=this.urlTree;return!!(null===T||this.isAnchorElement&&(0!==o||s||d||f||y||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(T,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const o=this.urlTree;this.href=null!==o&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(o)):null;const s=null===this.href?null:(0,u.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",s)}applyAttributeValue(o,s){const d=this.renderer,f=this.el.nativeElement;null!==s?d.setAttribute(f,o,s):d.removeAttribute(f,o)}get urlTree(){return null===this.routerLinkInput?null:vt(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.ɵfac=function(s){return new(s||p)(u.rXU(Et),u.rXU(Wt),u.kS0("tabindex"),u.rXU(u.sFG),u.rXU(u.aKT),u.rXU(je.hb))};static#t=this.ɵdir=u.FsC({type:p,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(s,d){1&s&&u.bIt("click",(function(y){return d.onClick(y.button,y.ctrlKey,y.shiftKey,y.altKey,y.metaKey)})),2&s&&u.BMQ("target",d.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",u.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",u.L39],replaceUrl:[2,"replaceUrl","replaceUrl",u.L39],routerLink:"routerLink"},standalone:!0,features:[u.GFd,u.OA$]})}return p})();class nn{}let Eo=(()=>{class p{constructor(o,s,d,f,y){this.router=o,this.injector=d,this.preloadingStrategy=f,this.loader=y}setUpPreloading(){this.subscription=this.router.events.pipe((0,At.p)((o=>o instanceof Cn)),(0,Yt.H)((()=>this.preload()))).subscribe((()=>{}))}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(o,s){const d=[];for(const f of s){f.providers&&!f._injector&&(f._injector=(0,u.Ol2)(f.providers,o,`Route: ${f.path}`));const y=f._injector??o,T=f._loadedInjector??y;(f.loadChildren&&!f._loadedRoutes&&void 0===f.canLoad||f.loadComponent&&!f._loadedComponent)&&d.push(this.preloadConfig(y,f)),(f.children||f._loadedRoutes)&&d.push(this.processRoutes(T,f.children??f._loadedRoutes))}return(0,te.H)(d).pipe((0,en.U)())}preloadConfig(o,s){return this.preloadingStrategy.preload(s,(()=>{let d;d=s.loadChildren&&void 0===s.canLoad?this.loader.loadChildren(o,s):(0,H.of)(null);const f=d.pipe((0,gt.Z)((y=>null===y?(0,H.of)(void 0):(s._loadedRoutes=y.routes,s._loadedInjector=y.injector,this.processRoutes(y.injector??o,y.routes)))));if(s.loadComponent&&!s._loadedComponent){const y=this.loader.loadComponent(s);return(0,te.H)([f,y]).pipe((0,en.U)())}return f}))}static#e=this.ɵfac=function(s){return new(s||p)(u.KVO(Et),u.KVO(u.Ql9),u.KVO(u.uvJ),u.KVO(nn),u.KVO(ja))};static#t=this.ɵprov=u.jDH({token:p,factory:p.ɵfac,providedIn:"root"})}return p})();const ii=new u.nKC("");let zr=(()=>{class p{constructor(o,s,d,f,y={}){this.urlSerializer=o,this.transitions=s,this.viewportScroller=d,this.zone=f,this.options=y,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},y.scrollPositionRestoration||="disabled",y.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((o=>{o instanceof Jr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=o.navigationTrigger,this.restoredId=o.restoredState?o.restoredState.navigationId:0):o instanceof Cn?(this.lastId=o.id,this.scheduleScrollEvent(o,this.urlSerializer.parse(o.urlAfterRedirects).fragment)):o instanceof jr&&o.code===Ir.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(o,this.urlSerializer.parse(o.url).fragment))}))}consumeScrollEvents(){return this.transitions.events.subscribe((o=>{o instanceof Ri&&(o.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(o.position):o.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(o.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))}))}scheduleScrollEvent(o,s){this.zone.runOutsideAngular((()=>{setTimeout((()=>{this.zone.run((()=>{this.transitions.events.next(new Ri(o,"popstate"===this.lastSource?this.store[this.restoredId]:null,s))}))}),0)}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.ɵfac=function(s){u.QTQ()};static#t=this.ɵprov=u.jDH({token:p,factory:p.ɵfac})}return p})();function Rr(p,l){return{"ɵkind":p,"ɵproviders":l}}function bs(){const p=(0,u.WQX)(u.zZn);return l=>{const o=p.get(u.o8S);if(l!==o.components[0])return;const s=p.get(Et),d=p.get(ns);1===p.get(jn)&&s.initialNavigation(),p.get(Yl,null,u.$GK.Optional)?.setUpPreloading(),p.get(ii,null,u.$GK.Optional)?.init(),s.resetRootComponentType(o.componentTypes[0]),d.closed||(d.next(),d.complete(),d.unsubscribe())}}const ns=new u.nKC("",{factory:()=>new Me.B}),jn=new u.nKC("",{providedIn:"root",factory:()=>1}),Yl=new u.nKC("");function qr(p){return Rr(0,[{provide:Yl,useExisting:Eo},{provide:nn,useExisting:p}])}function ao(p){return Rr(9,[{provide:yt,useValue:ha},{provide:Ds,useValue:{skipNextTransition:!!p?.skipInitialTransition,...p}}])}const wi=new u.nKC("ROUTER_FORROOT_GUARD"),Jl=[je.aZ,{provide:Ii,useClass:fi},Et,Ut,{provide:Wt,useFactory:function oi(p){return p.routerState.root},deps:[Et]},ja,[]];let pa=(()=>{class p{constructor(o){}static forRoot(o,s){return{ngModule:p,providers:[Jl,[],{provide:Ct,multi:!0,useValue:o},{provide:wi,useFactory:lo,deps:[[Et,new u.Xx1,new u.kdw]]},{provide:Bi,useValue:s||{}},s?.useHash?{provide:je.hb,useClass:je.fw}:{provide:je.hb,useClass:je.Sm},{provide:ii,useFactory:()=>{const p=(0,u.WQX)(je.Xr),l=(0,u.WQX)(u.SKi),o=(0,u.WQX)(Bi),s=(0,u.WQX)(ji),d=(0,u.WQX)(Ii);return o.scrollOffset&&p.setOffset(o.scrollOffset),new zr(d,s,p,l,o)}},s?.preloadingStrategy?qr(s.preloadingStrategy).ɵproviders:[],s?.initialNavigation?_a(s):[],s?.bindToComponentInputs?Rr(8,[Oo,{provide:mi,useExisting:Oo}]).ɵproviders:[],s?.enableViewTransitions?ao().ɵproviders:[],[{provide:Ts,useFactory:bs},{provide:u.iLQ,multi:!0,useExisting:Ts}]]}}static forChild(o){return{ngModule:p,providers:[{provide:Ct,multi:!0,useValue:o}]}}static#e=this.ɵfac=function(s){return new(s||p)(u.KVO(wi,8))};static#t=this.ɵmod=u.$C({type:p});static#n=this.ɵinj=u.G2t({})}return p})();function lo(p){return"guarded"}function _a(p){return["disabled"===p.initialNavigation?Rr(3,[{provide:u.hnV,multi:!0,useFactory:()=>{const l=(0,u.WQX)(Et);return()=>{l.setUpLocationChangeListener()}}},{provide:jn,useValue:2}]).ɵproviders:[],"enabledBlocking"===p.initialNavigation?Rr(2,[{provide:jn,useValue:0},{provide:u.hnV,multi:!0,deps:[u.zZn],useFactory:l=>{const o=l.get(je.hj,Promise.resolve());return()=>o.then((()=>new Promise((s=>{const d=l.get(Et),f=l.get(ns);R(d,(()=>{s(!0)})),l.get(ji).afterPreactivation=()=>(s(!0),f.closed?(0,H.of)(void 0):f),d.initialNavigation()}))))}}]).ɵproviders:[]]}const Ts=new u.nKC("")},5037:(ht,Y,V)=>{V.d(Y,{fg:()=>gi,gB:()=>eo});var u=V(3953);function x(O,N,A,q,oe,me,ve){try{var Ne=O[me](ve),Pe=Ne.value}catch(wt){return void A(wt)}Ne.done?N(Pe):Promise.resolve(Pe).then(q,oe)}function te(O){return function(){var N=this,A=arguments;return new Promise((function(q,oe){var me=O.apply(N,A);function ve(Pe){x(me,q,oe,ve,Ne,"next",Pe)}function Ne(Pe){x(me,q,oe,ve,Ne,"throw",Pe)}ve(void 0)}))}}var H=V(7673),$=V(1985),G=V(6648),K=V(274),j=V(5964),Z=V(6354),J=V(980),z=V(5558),Ce=V(177);class Se{}class Me{}class Ie{constructor(N){this.normalizedNames=new Map,this.lazyUpdate=null,N?"string"==typeof N?this.lazyInit=()=>{this.headers=new Map,N.split("\n").forEach((A=>{const q=A.indexOf(":");if(q>0){const oe=A.slice(0,q),me=oe.toLowerCase(),ve=A.slice(q+1).trim();this.maybeSetNormalizedName(oe,me),this.headers.has(me)?this.headers.get(me).push(ve):this.headers.set(me,[ve])}}))}:typeof Headers<"u"&&N instanceof Headers?(this.headers=new Map,N.forEach(((A,q)=>{this.setHeaderEntries(q,A)}))):this.lazyInit=()=>{this.headers=new Map,Object.entries(N).forEach((([A,q])=>{this.setHeaderEntries(A,q)}))}:this.headers=new Map}has(N){return this.init(),this.headers.has(N.toLowerCase())}get(N){this.init();const A=this.headers.get(N.toLowerCase());return A&&A.length>0?A[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(N){return this.init(),this.headers.get(N.toLowerCase())||null}append(N,A){return this.clone({name:N,value:A,op:"a"})}set(N,A){return this.clone({name:N,value:A,op:"s"})}delete(N,A){return this.clone({name:N,value:A,op:"d"})}maybeSetNormalizedName(N,A){this.normalizedNames.has(A)||this.normalizedNames.set(A,N)}init(){this.lazyInit&&(this.lazyInit instanceof Ie?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((N=>this.applyUpdate(N))),this.lazyUpdate=null))}copyFrom(N){N.init(),Array.from(N.headers.keys()).forEach((A=>{this.headers.set(A,N.headers.get(A)),this.normalizedNames.set(A,N.normalizedNames.get(A))}))}clone(N){const A=new Ie;return A.lazyInit=this.lazyInit&&this.lazyInit instanceof Ie?this.lazyInit:this,A.lazyUpdate=(this.lazyUpdate||[]).concat([N]),A}applyUpdate(N){const A=N.name.toLowerCase();switch(N.op){case"a":case"s":let q=N.value;if("string"==typeof q&&(q=[q]),0===q.length)return;this.maybeSetNormalizedName(N.name,A);const oe=("a"===N.op?this.headers.get(A):void 0)||[];oe.push(...q),this.headers.set(A,oe);break;case"d":const me=N.value;if(me){let ve=this.headers.get(A);if(!ve)return;ve=ve.filter((Ne=>-1===me.indexOf(Ne))),0===ve.length?(this.headers.delete(A),this.normalizedNames.delete(A)):this.headers.set(A,ve)}else this.headers.delete(A),this.normalizedNames.delete(A)}}setHeaderEntries(N,A){const q=(Array.isArray(A)?A:[A]).map((me=>me.toString())),oe=N.toLowerCase();this.headers.set(oe,q),this.maybeSetNormalizedName(N,oe)}forEach(N){this.init(),Array.from(this.normalizedNames.keys()).forEach((A=>N(this.normalizedNames.get(A),this.headers.get(A))))}}class Re{encodeKey(N){return At(N)}encodeValue(N){return At(N)}decodeKey(N){return decodeURIComponent(N)}decodeValue(N){return decodeURIComponent(N)}}const rt=/%(\d[a-f0-9])/gi,Tt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function At(O){return encodeURIComponent(O).replace(rt,((N,A)=>Tt[A]??N))}function gt(O){return`${O}`}class mt{constructor(N={}){if(this.updates=null,this.cloneFrom=null,this.encoder=N.encoder||new Re,N.fromString){if(N.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function qe(O,N){const A=new Map;return O.length>0&&O.replace(/^\?/,"").split("&").forEach((oe=>{const me=oe.indexOf("="),[ve,Ne]=-1==me?[N.decodeKey(oe),""]:[N.decodeKey(oe.slice(0,me)),N.decodeValue(oe.slice(me+1))],Pe=A.get(ve)||[];Pe.push(Ne),A.set(ve,Pe)})),A}(N.fromString,this.encoder)}else N.fromObject?(this.map=new Map,Object.keys(N.fromObject).forEach((A=>{const q=N.fromObject[A],oe=Array.isArray(q)?q.map(gt):[gt(q)];this.map.set(A,oe)}))):this.map=null}has(N){return this.init(),this.map.has(N)}get(N){this.init();const A=this.map.get(N);return A?A[0]:null}getAll(N){return this.init(),this.map.get(N)||null}keys(){return this.init(),Array.from(this.map.keys())}append(N,A){return this.clone({param:N,value:A,op:"a"})}appendAll(N){const A=[];return Object.keys(N).forEach((q=>{const oe=N[q];Array.isArray(oe)?oe.forEach((me=>{A.push({param:q,value:me,op:"a"})})):A.push({param:q,value:oe,op:"a"})})),this.clone(A)}set(N,A){return this.clone({param:N,value:A,op:"s"})}delete(N,A){return this.clone({param:N,value:A,op:"d"})}toString(){return this.init(),this.keys().map((N=>{const A=this.encoder.encodeKey(N);return this.map.get(N).map((q=>A+"="+this.encoder.encodeValue(q))).join("&")})).filter((N=>""!==N)).join("&")}clone(N){const A=new mt({encoder:this.encoder});return A.cloneFrom=this.cloneFrom||this,A.updates=(this.updates||[]).concat(N),A}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((N=>this.map.set(N,this.cloneFrom.map.get(N)))),this.updates.forEach((N=>{switch(N.op){case"a":case"s":const A=("a"===N.op?this.map.get(N.param):void 0)||[];A.push(gt(N.value)),this.map.set(N.param,A);break;case"d":if(void 0===N.value){this.map.delete(N.param);break}{let q=this.map.get(N.param)||[];const oe=q.indexOf(gt(N.value));-1!==oe&&q.splice(oe,1),q.length>0?this.map.set(N.param,q):this.map.delete(N.param)}}})),this.cloneFrom=this.updates=null)}}class et{constructor(){this.map=new Map}set(N,A){return this.map.set(N,A),this}get(N){return this.map.has(N)||this.map.set(N,N.defaultValue()),this.map.get(N)}delete(N){return this.map.delete(N),this}has(N){return this.map.has(N)}keys(){return this.map.keys()}}function ge(O){return typeof ArrayBuffer<"u"&&O instanceof ArrayBuffer}function Ke(O){return typeof Blob<"u"&&O instanceof Blob}function se(O){return typeof FormData<"u"&&O instanceof FormData}class Ae{constructor(N,A,q,oe){let me;if(this.url=A,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=N.toUpperCase(),function ee(O){switch(O){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||oe?(this.body=void 0!==q?q:null,me=oe):me=q,me&&(this.reportProgress=!!me.reportProgress,this.withCredentials=!!me.withCredentials,me.responseType&&(this.responseType=me.responseType),me.headers&&(this.headers=me.headers),me.context&&(this.context=me.context),me.params&&(this.params=me.params),this.transferCache=me.transferCache),this.headers??=new Ie,this.context??=new et,this.params){const ve=this.params.toString();if(0===ve.length)this.urlWithParams=A;else{const Ne=A.indexOf("?");this.urlWithParams=A+(-1===Ne?"?":Ne<A.length-1?"&":"")+ve}}else this.params=new mt,this.urlWithParams=A}serializeBody(){return null===this.body?null:"string"==typeof this.body||ge(this.body)||Ke(this.body)||se(this.body)||function le(O){return typeof URLSearchParams<"u"&&O instanceof URLSearchParams}(this.body)?this.body:this.body instanceof mt?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||se(this.body)?null:Ke(this.body)?this.body.type||null:ge(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof mt?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(N={}){const A=N.method||this.method,q=N.url||this.url,oe=N.responseType||this.responseType,me=N.transferCache??this.transferCache,ve=void 0!==N.body?N.body:this.body,Ne=N.withCredentials??this.withCredentials,Pe=N.reportProgress??this.reportProgress;let wt=N.headers||this.headers,bn=N.params||this.params;const Ut=N.context??this.context;return void 0!==N.setHeaders&&(wt=Object.keys(N.setHeaders).reduce(((zt,Jt)=>zt.set(Jt,N.setHeaders[Jt])),wt)),N.setParams&&(bn=Object.keys(N.setParams).reduce(((zt,Jt)=>zt.set(Jt,N.setParams[Jt])),bn)),new Ae(A,q,ve,{params:bn,headers:wt,context:Ut,reportProgress:Pe,responseType:oe,withCredentials:Ne,transferCache:me})}}var Qe=function(O){return O[O.Sent=0]="Sent",O[O.UploadProgress=1]="UploadProgress",O[O.ResponseHeader=2]="ResponseHeader",O[O.DownloadProgress=3]="DownloadProgress",O[O.Response=4]="Response",O[O.User=5]="User",O}(Qe||{});class Ht{constructor(N,A=200,q="OK"){this.headers=N.headers||new Ie,this.status=void 0!==N.status?N.status:A,this.statusText=N.statusText||q,this.url=N.url||null,this.ok=this.status>=200&&this.status<300}}class Nn extends Ht{constructor(N={}){super(N),this.type=Qe.ResponseHeader}clone(N={}){return new Nn({headers:N.headers||this.headers,status:void 0!==N.status?N.status:this.status,statusText:N.statusText||this.statusText,url:N.url||this.url||void 0})}}class en extends Ht{constructor(N={}){super(N),this.type=Qe.Response,this.body=void 0!==N.body?N.body:null}clone(N={}){return new en({body:void 0!==N.body?N.body:this.body,headers:N.headers||this.headers,status:void 0!==N.status?N.status:this.status,statusText:N.statusText||this.statusText,url:N.url||this.url||void 0})}}class xn extends Ht{constructor(N){super(N,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${N.url||"(unknown url)"}`:`Http failure response for ${N.url||"(unknown url)"}: ${N.status} ${N.statusText}`,this.error=N.error||null}}function vn(O,N){return{body:N,headers:O.headers,context:O.context,observe:O.observe,params:O.params,reportProgress:O.reportProgress,responseType:O.responseType,withCredentials:O.withCredentials,transferCache:O.transferCache}}let cn=(()=>{class O{constructor(A){this.handler=A}request(A,q,oe={}){let me;if(A instanceof Ae)me=A;else{let Pe,wt;Pe=oe.headers instanceof Ie?oe.headers:new Ie(oe.headers),oe.params&&(wt=oe.params instanceof mt?oe.params:new mt({fromObject:oe.params})),me=new Ae(A,q,void 0!==oe.body?oe.body:null,{headers:Pe,context:oe.context,params:wt,reportProgress:oe.reportProgress,responseType:oe.responseType||"json",withCredentials:oe.withCredentials,transferCache:oe.transferCache})}const ve=(0,H.of)(me).pipe((0,K.H)((Pe=>this.handler.handle(Pe))));if(A instanceof Ae||"events"===oe.observe)return ve;const Ne=ve.pipe((0,j.p)((Pe=>Pe instanceof en)));switch(oe.observe||"body"){case"body":switch(me.responseType){case"arraybuffer":return Ne.pipe((0,Z.T)((Pe=>{if(null!==Pe.body&&!(Pe.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Pe.body})));case"blob":return Ne.pipe((0,Z.T)((Pe=>{if(null!==Pe.body&&!(Pe.body instanceof Blob))throw new Error("Response is not a Blob.");return Pe.body})));case"text":return Ne.pipe((0,Z.T)((Pe=>{if(null!==Pe.body&&"string"!=typeof Pe.body)throw new Error("Response is not a string.");return Pe.body})));default:return Ne.pipe((0,Z.T)((Pe=>Pe.body)))}case"response":return Ne;default:throw new Error(`Unreachable: unhandled observe type ${oe.observe}}`)}}delete(A,q={}){return this.request("DELETE",A,q)}get(A,q={}){return this.request("GET",A,q)}head(A,q={}){return this.request("HEAD",A,q)}jsonp(A,q){return this.request("JSONP",A,{params:(new mt).append(q,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(A,q={}){return this.request("OPTIONS",A,q)}patch(A,q,oe={}){return this.request("PATCH",A,vn(oe,q))}post(A,q,oe={}){return this.request("POST",A,vn(oe,q))}put(A,q,oe={}){return this.request("PUT",A,vn(oe,q))}static#e=this.ɵfac=function(q){return new(q||O)(u.KVO(Se))};static#t=this.ɵprov=u.jDH({token:O,factory:O.ɵfac})}return O})();const Ti=/^\)\]\}',?\n/;function Fr(O){if(O.url)return O.url;const N="X-Request-URL".toLocaleLowerCase();return O.headers.get(N)}let kr=(()=>{class O{constructor(){this.fetchImpl=(0,u.WQX)(Lr,{optional:!0})?.fetch??((...A)=>globalThis.fetch(...A)),this.ngZone=(0,u.WQX)(u.SKi)}handle(A){return new $.c((q=>{const oe=new AbortController;return this.doRequest(A,oe.signal,q).then(Rn,(me=>q.error(new xn({error:me})))),()=>oe.abort()}))}doRequest(A,q,oe){var me=this;return te((function*(){const ve=me.createRequestInit(A);let Ne;try{const sn=me.ngZone.runOutsideAngular((()=>me.fetchImpl(A.urlWithParams,{signal:q,...ve})));(function Ki(O){O.then(Rn,Rn)})(sn),oe.next({type:Qe.Sent}),Ne=yield sn}catch(sn){return void oe.error(new xn({error:sn,status:sn.status??0,statusText:sn.statusText,url:A.urlWithParams,headers:sn.headers}))}const Pe=new Ie(Ne.headers),wt=Ne.statusText,bn=Fr(Ne)??A.urlWithParams;let Ut=Ne.status,zt=null;if(A.reportProgress&&oe.next(new Nn({headers:Pe,status:Ut,statusText:wt,url:bn})),Ne.body){const sn=Ne.headers.get("content-length"),it=[],bt=Ne.body.getReader();let Hr,Ft,pn=0;const Wt=typeof Zone<"u"&&Zone.current;yield me.ngZone.runOutsideAngular(te((function*(){for(;;){const{done:Fn,value:ti}=yield bt.read();if(Fn)break;if(it.push(ti),pn+=ti.length,A.reportProgress){Ft="text"===A.responseType?(Ft??"")+(Hr??=new TextDecoder).decode(ti,{stream:!0}):void 0;const ni=()=>oe.next({type:Qe.DownloadProgress,total:sn?+sn:void 0,loaded:pn,partialText:Ft});Wt?Wt.run(ni):ni()}}})));const vr=me.concatChunks(it,pn);try{const Fn=Ne.headers.get("Content-Type")??"";zt=me.parseBody(A,vr,Fn)}catch(Fn){return void oe.error(new xn({error:Fn,headers:new Ie(Ne.headers),status:Ne.status,statusText:Ne.statusText,url:Fr(Ne)??A.urlWithParams}))}}0===Ut&&(Ut=zt?200:0),Ut>=200&&Ut<300?(oe.next(new en({body:zt,headers:Pe,status:Ut,statusText:wt,url:bn})),oe.complete()):oe.error(new xn({error:zt,headers:Pe,status:Ut,statusText:wt,url:bn}))}))()}parseBody(A,q,oe){switch(A.responseType){case"json":const me=(new TextDecoder).decode(q).replace(Ti,"");return""===me?null:JSON.parse(me);case"text":return(new TextDecoder).decode(q);case"blob":return new Blob([q],{type:oe});case"arraybuffer":return q.buffer}}createRequestInit(A){const q={},oe=A.withCredentials?"include":void 0;if(A.headers.forEach(((me,ve)=>q[me]=ve.join(","))),A.headers.has("Accept")||(q.Accept="application/json, text/plain, */*"),!A.headers.has("Content-Type")){const me=A.detectContentTypeHeader();null!==me&&(q["Content-Type"]=me)}return{body:A.serializeBody(),method:A.method,headers:q,credentials:oe}}concatChunks(A,q){const oe=new Uint8Array(q);let me=0;for(const ve of A)oe.set(ve,me),me+=ve.length;return oe}static#e=this.ɵfac=function(q){return new(q||O)};static#t=this.ɵprov=u.jDH({token:O,factory:O.ɵfac})}return O})();class Lr{}function Rn(){}function Zt(O,N){return N(O)}function wn(O,N){return(A,q)=>N.intercept(A,{handle:oe=>O(oe,q)})}const En=new u.nKC(""),dr=new u.nKC(""),Vn=new u.nKC(""),er=new u.nKC("",{providedIn:"root",factory:()=>!0});function Gt(){let O=null;return(N,A)=>{null===O&&(O=((0,u.WQX)(En,{optional:!0})??[]).reduceRight(wn,Zt));const q=(0,u.WQX)(u.TgB);if((0,u.WQX)(er)){const me=q.add();return O(N,A).pipe((0,J.j)((()=>q.remove(me))))}return O(N,A)}}let Hn=(()=>{class O extends Se{constructor(A,q){super(),this.backend=A,this.injector=q,this.chain=null,this.pendingTasks=(0,u.WQX)(u.TgB),this.contributeToStability=(0,u.WQX)(er)}handle(A){if(null===this.chain){const q=Array.from(new Set([...this.injector.get(dr),...this.injector.get(Vn,[])]));this.chain=q.reduceRight(((oe,me)=>function Ln(O,N,A){return(q,oe)=>(0,u.N4e)(A,(()=>N(q,(me=>O(me,oe)))))}(oe,me,this.injector)),Zt)}if(this.contributeToStability){const q=this.pendingTasks.add();return this.chain(A,(oe=>this.backend.handle(oe))).pipe((0,J.j)((()=>this.pendingTasks.remove(q))))}return this.chain(A,(q=>this.backend.handle(q)))}static#e=this.ɵfac=function(q){return new(q||O)(u.KVO(Me),u.KVO(u.uvJ))};static#t=this.ɵprov=u.jDH({token:O,factory:O.ɵfac})}return O})();const ut=/^\)\]\}',?\n/;let pi=(()=>{class O{constructor(A){this.xhrFactory=A}handle(A){if("JSONP"===A.method)throw new u.wOt(-2800,!1);const q=this.xhrFactory;return(q.ɵloadImpl?(0,G.H)(q.ɵloadImpl()):(0,H.of)(null)).pipe((0,z.n)((()=>new $.c((me=>{const ve=q.build();if(ve.open(A.method,A.urlWithParams),A.withCredentials&&(ve.withCredentials=!0),A.headers.forEach(((it,bt)=>ve.setRequestHeader(it,bt.join(",")))),A.headers.has("Accept")||ve.setRequestHeader("Accept","application/json, text/plain, */*"),!A.headers.has("Content-Type")){const it=A.detectContentTypeHeader();null!==it&&ve.setRequestHeader("Content-Type",it)}if(A.responseType){const it=A.responseType.toLowerCase();ve.responseType="json"!==it?it:"text"}const Ne=A.serializeBody();let Pe=null;const wt=()=>{if(null!==Pe)return Pe;const it=ve.statusText||"OK",bt=new Ie(ve.getAllResponseHeaders()),pn=function It(O){return"responseURL"in O&&O.responseURL?O.responseURL:/^X-Request-URL:/m.test(O.getAllResponseHeaders())?O.getResponseHeader("X-Request-URL"):null}(ve)||A.url;return Pe=new Nn({headers:bt,status:ve.status,statusText:it,url:pn}),Pe},bn=()=>{let{headers:it,status:bt,statusText:pn,url:Hr}=wt(),Ft=null;204!==bt&&(Ft=typeof ve.response>"u"?ve.responseText:ve.response),0===bt&&(bt=Ft?200:0);let Wt=bt>=200&&bt<300;if("json"===A.responseType&&"string"==typeof Ft){const vr=Ft;Ft=Ft.replace(ut,"");try{Ft=""!==Ft?JSON.parse(Ft):null}catch(Fn){Ft=vr,Wt&&(Wt=!1,Ft={error:Fn,text:Ft})}}Wt?(me.next(new en({body:Ft,headers:it,status:bt,statusText:pn,url:Hr||void 0})),me.complete()):me.error(new xn({error:Ft,headers:it,status:bt,statusText:pn,url:Hr||void 0}))},Ut=it=>{const{url:bt}=wt(),pn=new xn({error:it,status:ve.status||0,statusText:ve.statusText||"Unknown Error",url:bt||void 0});me.error(pn)};let zt=!1;const Jt=it=>{zt||(me.next(wt()),zt=!0);let bt={type:Qe.DownloadProgress,loaded:it.loaded};it.lengthComputable&&(bt.total=it.total),"text"===A.responseType&&ve.responseText&&(bt.partialText=ve.responseText),me.next(bt)},sn=it=>{let bt={type:Qe.UploadProgress,loaded:it.loaded};it.lengthComputable&&(bt.total=it.total),me.next(bt)};return ve.addEventListener("load",bn),ve.addEventListener("error",Ut),ve.addEventListener("timeout",Ut),ve.addEventListener("abort",Ut),A.reportProgress&&(ve.addEventListener("progress",Jt),null!==Ne&&ve.upload&&ve.upload.addEventListener("progress",sn)),ve.send(Ne),me.next({type:Qe.Sent}),()=>{ve.removeEventListener("error",Ut),ve.removeEventListener("abort",Ut),ve.removeEventListener("load",bn),ve.removeEventListener("timeout",Ut),A.reportProgress&&(ve.removeEventListener("progress",Jt),null!==Ne&&ve.upload&&ve.upload.removeEventListener("progress",sn)),ve.readyState!==ve.DONE&&ve.abort()}})))))}static#e=this.ɵfac=function(q){return new(q||O)(u.KVO(Ce.N0))};static#t=this.ɵprov=u.jDH({token:O,factory:O.ɵfac})}return O})();const tr=new u.nKC(""),gr=new u.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),un=new u.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Un{}let ie=(()=>{class O{constructor(A,q,oe){this.doc=A,this.platform=q,this.cookieName=oe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const A=this.doc.cookie||"";return A!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,Ce._b)(A,this.cookieName),this.lastCookieString=A),this.lastToken}static#e=this.ɵfac=function(q){return new(q||O)(u.KVO(Ce.qQ),u.KVO(u.Agw),u.KVO(gr))};static#t=this.ɵprov=u.jDH({token:O,factory:O.ɵfac})}return O})();function ne(O,N){const A=O.url.toLowerCase();if(!(0,u.WQX)(tr)||"GET"===O.method||"HEAD"===O.method||A.startsWith("http://")||A.startsWith("https://"))return N(O);const q=(0,u.WQX)(Un).getToken(),oe=(0,u.WQX)(un);return null!=q&&!O.headers.has(oe)&&(O=O.clone({headers:O.headers.set(oe,q)})),N(O)}var W=function(O){return O[O.Interceptors=0]="Interceptors",O[O.LegacyInterceptors=1]="LegacyInterceptors",O[O.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",O[O.NoXsrfProtection=3]="NoXsrfProtection",O[O.JsonpSupport=4]="JsonpSupport",O[O.RequestsMadeViaParent=5]="RequestsMadeViaParent",O[O.Fetch=6]="Fetch",O}(W||{});function Oe(...O){const N=[cn,pi,Hn,{provide:Se,useExisting:Hn},{provide:Me,useFactory:()=>(0,u.WQX)(kr,{optional:!0})??(0,u.WQX)(pi)},{provide:dr,useValue:ne,multi:!0},{provide:tr,useValue:!0},{provide:Un,useClass:ie}];for(const A of O)N.push(...A.ɵproviders);return(0,u.EmA)(N)}const _t=new u.nKC("");function Mt(){return function ce(O,N){return{"ɵkind":O,"ɵproviders":N}}(W.LegacyInterceptors,[{provide:_t,useFactory:Gt},{provide:dr,useExisting:_t,multi:!0}])}var Ir=V(7343),_r=V(6884),jr=V(9390),ei=V(1960),Ai=V(9261),mo=V.n(Ai),$r=V(5972),Ni=V.n($r),zn=function(O){return O[O.Error=0]="Error",O[O.Warning=1]="Warning",O[O.Information=2]="Information",O[O.Unknown=3]="Unknown",O}(zn||{});const qo={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class yr{constructor(N,A){if(this.status=0,this.messages=[],this.meta=function Or(O){return JSON.parse(JSON.stringify(O))}(qo),this.options={keepUnprocessedResponse:!1},mo()(N)||Ni()(N))throw new Error("The response was unexpectedly undefined or null");A&&(this.options=A),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(N)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(N){return this.messages.filter((A=>A.type===N))}get errors(){return this._getMessages(zn.Error)}get warnings(){return this._getMessages(zn.Warning)}get infoMessages(){return this._getMessages(zn.Information)}_hasMessages(N){return this.messages.filter((A=>A.type===N)).length>0}get hasErrors(){return this._hasMessages(zn.Error)}get hasWarnings(){return this._hasMessages(zn.Warning)}get hasInfoMessages(){return this._hasMessages(zn.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}class Zi{constructor(N){this.isPaged=!1,this.record=0,this.page=0,this.pageSize=0,this.totalRecords=0,this.totalPages=0,this.isFiltered=!1,this.recordsBeforeFilter=0,this.batch=!1,this.properties={},N.chunk&&(this.isPaged=!0,this.record=parseInt(N.chunk.start,10)||0,this.page=parseInt(N.chunk.current,10)||0,this.pageSize=parseInt(N.chunk.size,10)||0,this.totalPages=parseInt(N.chunk.chunks,10)||0,this.totalRecords=parseInt(N.chunk.records,10)||0),N.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(N.filter.filtered,10)||0);const A=new Set(["paginate","filter"]);Object.keys(N).filter((q=>!A.has(q))).forEach((q=>{this.properties[q]=N[q]}))}}class xi extends yr{_parseStatus(N){if(this.status=0,typeof N.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(N.result,10)}_parseMessages(N){if(!N.result){const A=[N.reason];A&&A.length&&A.forEach((q=>{this.messages.push({type:zn.Error,message:q})}))}}_reduce_list_data(N){if("object"==typeof N&&!(N instanceof Array)){const A=Object.keys(N);if(1===A.length){const q=N[A[0]];q?q instanceof Array&&(N=q):N=[]}}return N}constructor(N,A){if(super(N,A),!N)throw new Error("Response object should be defined.");N.metadata&&(this._parseStatus(N.metadata),this._parseMessages(N.metadata),this.meta=new Zi(N.metadata)),this.data=this._reduce_list_data(N.data)}}let gi=(()=>{class O{static#e=this.ɵfac=function(q){return new(q||O)};static#t=this.ɵmod=u.$C({type:O});static#n=this.ɵinj=u.G2t({providers:[Oe(Mt())]})}return O})(),eo=(()=>{class O{constructor(A){this.http=A}get(A){const q=A.generate({verb:Ir.o.GET,encoder:new _r.CY}),oe=this.packageUrl(q);return this.http.get(oe,{headers:this.packageHeaders(q)}).pipe((0,Z.T)(this.packageResponseHandler(oe)))}post(A){const q=A.generate(),oe=this.packageUrl(q);return this.http.post(oe,q.body,{headers:this.packageHeaders(q)}).pipe((0,Z.T)(this.packageResponseHandler(oe)))}packageHeaders(A){const q={};return A.headers.forEach((oe=>{q[oe.name]=oe.value})),new Ie(q)}packageUrl(A){return new jr.KL(new ei.N).buildTokenPath(A.url)}packageResponseHandler(A){return q=>{const oe=new xi(q);return oe.meta.properties.url=A,oe}}static#e=this.ɵfac=function(q){return new(q||O)(u.KVO(cn))};static#t=this.ɵprov=u.jDH({token:O,factory:O.ɵfac,providedIn:"root"})}return O})()},8658:(ht,Y,V)=>{V.d(Y,{B:()=>$});var u=V(3953),x=V(6381);const te=new u.nKC("window"),H=G=>new x.h(G.CLDR,G.LEXICON);let $=(()=>{class G{static#e=this.ɵfac=function(Z){return new(Z||G)};static#t=this.ɵmod=u.$C({type:G});static#n=this.ɵinj=u.G2t({providers:[{provide:te,useValue:window},{provide:x.h,useFactory:H,deps:[te]}]})}return G})()},389:(ht,Y,V)=>{V.d(Y,{C7:()=>oi,pt:()=>Rr,kj:()=>Wr,Ab:()=>Yl,sb:()=>qr,uE:()=>Fo,GV:()=>Ci,jM:()=>Eo,Wp:()=>pe,rY:()=>Qt,NB:()=>Nt,ys:()=>nn,br:()=>Ga,Qg:()=>Xs,eK:()=>ec,x6:()=>tc,Sy:()=>$a,tq:()=>Ss,kl:()=>ii,H7:()=>zr});var u=V(3953),x=V(177),te=V(1413),H=V(5964),$=V(6977),G=V(152),K=V(3294),j=V(9417),Z=V(8658),J=V(6381),z=V(9969),Ce=V(345);function Me(l){return new u.wOt(3e3,!1)}function Ln(l){switch(l.length){case 0:return new z.sf;case 1:return l[0];default:return new z.ui(l)}}function En(l,o,s=new Map,d=new Map){const f=[],y=[];let T=-1,S=null;if(o.forEach((L=>{const Q=L.get("offset"),fe=Q==T,_e=fe&&S||new Map;L.forEach(((tt,Be)=>{let ke=Be,Ve=tt;if("offset"!==Be)switch(ke=l.normalizePropertyName(ke,f),Ve){case z.FX:Ve=s.get(Be);break;case z.kp:Ve=d.get(Be);break;default:Ve=l.normalizeStyleValue(Be,ke,Ve,f)}_e.set(ke,Ve)})),fe||y.push(_e),S=_e,T=Q})),f.length)throw function $n(){return new u.wOt(3502,!1)}();return y}function dr(l,o,s,d){switch(o){case"start":l.onStart((()=>d(s&&Vn(s,"start",l))));break;case"done":l.onDone((()=>d(s&&Vn(s,"done",l))));break;case"destroy":l.onDestroy((()=>d(s&&Vn(s,"destroy",l))))}}function Vn(l,o,s){const y=er(l.element,l.triggerName,l.fromState,l.toState,o||l.phaseName,s.totalTime??l.totalTime,!!s.disabled),T=l._data;return null!=T&&(y._data=T),y}function er(l,o,s,d,f="",y=0,T){return{element:l,triggerName:o,fromState:s,toState:d,phaseName:f,totalTime:y,disabled:!!T}}function Gt(l,o,s){let d=l.get(o);return d||l.set(o,d=s),d}function Dn(l){const o=l.indexOf(":");return[l.substring(1,o),l.slice(o+1)]}const ft=typeof document>"u"?null:document.documentElement;function Hn(l){const o=l.parentNode||l.host||null;return o===ft?null:o}let Ze=null,ye=!1;function pr(l,o){for(;o;){if(o===l)return!0;o=Hn(o)}return!1}function hn(l,o,s){if(s)return Array.from(l.querySelectorAll(o));const d=l.querySelector(o);return d?[d]:[]}let Rt=(()=>{class l{validateStyleProperty(s){return function Ii(l){Ze||(Ze=function fr(){return typeof document<"u"?document.body:null}()||{},ye=!!Ze.style&&"WebkitAppearance"in Ze.style);let o=!0;return Ze.style&&!function hr(l){return"ebkit"==l.substring(1,6)}(l)&&(o=l in Ze.style,!o&&ye&&(o="Webkit"+l.charAt(0).toUpperCase()+l.slice(1)in Ze.style)),o}(s)}containsElement(s,d){return pr(s,d)}getParentElement(s){return Hn(s)}query(s,d,f){return hn(s,d,f)}computeStyle(s,d,f){return f||""}animate(s,d,f,y,T,S=[],L){return new z.sf(f,y)}static#e=this.ɵfac=function(d){return new(d||l)};static#t=this.ɵprov=u.jDH({token:l,factory:l.ɵfac})}return l})();class Qi{static#e=this.NOOP=new Rt}class ut{}const pi=1e3,gr="ng-enter",nr="ng-leave",un="ng-trigger",Un=".ng-trigger",ie="ng-animating",ne=".ng-animating";function F(l){if("number"==typeof l)return l;const o=l.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:W(parseFloat(o[1]),o[2])}function W(l,o){return"s"===o?l*pi:l}function ce(l,o,s){return l.hasOwnProperty("duration")?l:function Oe(l,o,s){let f,y=0,T="";if("string"==typeof l){const S=l.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===S)return o.push(Me()),{duration:0,delay:0,easing:""};f=W(parseFloat(S[1]),S[2]);const L=S[3];null!=L&&(y=W(parseFloat(L),S[4]));const Q=S[5];Q&&(T=Q)}else f=l;if(!s){let S=!1,L=o.length;f<0&&(o.push(function Ie(){return new u.wOt(3100,!1)}()),S=!0),y<0&&(o.push(function je(){return new u.wOt(3101,!1)}()),S=!0),S&&o.splice(L,0,Me())}return{duration:f,delay:y,easing:T}}(l,o,s)}function Mt(l,o,s){o.forEach(((d,f)=>{const y=So(f);s&&!s.has(f)&&s.set(f,l.style[y]),l.style[y]=d}))}function vt(l,o){o.forEach(((s,d)=>{const f=So(d);l.style[f]=""}))}function fn(l){return Array.isArray(l)?1==l.length?l[0]:(0,z.K2)(l):l}const Oi=new RegExp("{{\\s*(.+?)\\s*}}","g");function Vr(l){let o=[];if("string"==typeof l){let s;for(;s=Oi.exec(l);)o.push(s[1]);Oi.lastIndex=0}return o}function mr(l,o,s){const d=`${l}`,f=d.replace(Oi,((y,T)=>{let S=o[T];return null==S&&(s.push(function qe(){return new u.wOt(3003,!1)}()),S=""),S.toString()}));return f==d?l:f}const Xi=/-+([a-z0-9])/g;function So(l){return l.replace(Xi,((...o)=>o[1].toUpperCase()))}function tn(l,o,s){switch(o.type){case z.If.Trigger:return l.visitTrigger(o,s);case z.If.State:return l.visitState(o,s);case z.If.Transition:return l.visitTransition(o,s);case z.If.Sequence:return l.visitSequence(o,s);case z.If.Group:return l.visitGroup(o,s);case z.If.Animate:return l.visitAnimate(o,s);case z.If.Keyframes:return l.visitKeyframes(o,s);case z.If.Style:return l.visitStyle(o,s);case z.If.Reference:return l.visitReference(o,s);case z.If.AnimateChild:return l.visitAnimateChild(o,s);case z.If.AnimateRef:return l.visitAnimateRef(o,s);case z.If.Query:return l.visitQuery(o,s);case z.If.Stagger:return l.visitStagger(o,s);default:throw function rt(){return new u.wOt(3004,!1)}()}}function rr(l,o){return window.getComputedStyle(l)[o]}const Ur=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 Br extends ut{normalizePropertyName(o,s){return So(o)}normalizeStyleValue(o,s,d,f){let y="";const T=d.toString().trim();if(Ur.has(s)&&0!==d&&"0"!==d)if("number"==typeof d)y="px";else{const S=d.match(/^[+-]?[\d\.]+([a-z]*)$/);S&&0==S[1].length&&f.push(function Tt(){return new u.wOt(3005,!1)}())}return T+y}}const Tr="*";const Cn=new Set(["true","1"]),dn=new Set(["false","0"]);function Ir(l,o){const s=Cn.has(l)||dn.has(l),d=Cn.has(o)||dn.has(o);return(f,y)=>{let T=l==Tr||l==f,S=o==Tr||o==y;return!T&&s&&"boolean"==typeof f&&(T=f?Cn.has(l):dn.has(l)),!S&&d&&"boolean"==typeof y&&(S=y?Cn.has(o):dn.has(o)),T&&S}}const jr=new RegExp("s*:selfs*,?","g");function ei(l,o,s,d){return new mo(l).build(o,s,d)}class mo{constructor(o){this._driver=o}build(o,s,d){const f=new zn(s);return this._resetContextStyleTimingState(f),tn(this,fn(o),f)}_resetContextStyleTimingState(o){o.currentQuerySelector="",o.collectedStyles=new Map,o.collectedStyles.set("",new Map),o.currentTime=0}visitTrigger(o,s){let d=s.queryCount=0,f=s.depCount=0;const y=[],T=[];return"@"==o.name.charAt(0)&&s.errors.push(function At(){return new u.wOt(3006,!1)}()),o.definitions.forEach((S=>{if(this._resetContextStyleTimingState(s),S.type==z.If.State){const L=S,Q=L.name;Q.toString().split(/\s*,\s*/).forEach((fe=>{L.name=fe,y.push(this.visitState(L,s))})),L.name=Q}else if(S.type==z.If.Transition){const L=this.visitTransition(S,s);d+=L.queryCount,f+=L.depCount,T.push(L)}else s.errors.push(function gt(){return new u.wOt(3007,!1)}())})),{type:z.If.Trigger,name:o.name,states:y,transitions:T,queryCount:d,depCount:f,options:null}}visitState(o,s){const d=this.visitStyle(o.styles,s),f=o.options&&o.options.params||null;if(d.containsDynamicStyles){const y=new Set,T=f||{};d.styles.forEach((S=>{S instanceof Map&&S.forEach((L=>{Vr(L).forEach((Q=>{T.hasOwnProperty(Q)||y.add(Q)}))}))})),y.size&&s.errors.push(function mt(){return new u.wOt(3008,!1)}(0,y.values()))}return{type:z.If.State,name:o.name,style:d,options:f?{params:f}:null}}visitTransition(o,s){s.queryCount=0,s.depCount=0;const d=tn(this,fn(o.animation),s),f=function at(l,o){const s=[];return"string"==typeof l?l.split(/\s*,\s*/).forEach((d=>function on(l,o,s){if(":"==l[0]){const L=function Jr(l,o){switch(l){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(s,d)=>parseFloat(d)>parseFloat(s);case":decrement":return(s,d)=>parseFloat(d)<parseFloat(s);default:return o.push(function Nn(){return new u.wOt(3016,!1)}()),"* => *"}}(l,s);if("function"==typeof L)return void o.push(L);l=L}const d=l.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==d||d.length<4)return s.push(function Ht(){return new u.wOt(3015,!1)}()),o;const f=d[1],y=d[2],T=d[3];o.push(Ir(f,T)),"<"==y[0]&&(f!=Tr||T!=Tr)&&o.push(Ir(T,f))}(d,s,o))):s.push(l),s}(o.expr,s.errors);return{type:z.If.Transition,matchers:f,animation:d,queryCount:s.queryCount,depCount:s.depCount,options:yr(o.options)}}visitSequence(o,s){return{type:z.If.Sequence,steps:o.steps.map((d=>tn(this,d,s))),options:yr(o.options)}}visitGroup(o,s){const d=s.currentTime;let f=0;const y=o.steps.map((T=>{s.currentTime=d;const S=tn(this,T,s);return f=Math.max(f,s.currentTime),S}));return s.currentTime=f,{type:z.If.Group,steps:y,options:yr(o.options)}}visitAnimate(o,s){const d=function Or(l,o){if(l.hasOwnProperty("duration"))return l;if("number"==typeof l)return Zi(ce(l,o).duration,0,"");const s=l;if(s.split(/\s+/).some((y=>"{"==y.charAt(0)&&"{"==y.charAt(1)))){const y=Zi(0,0,"");return y.dynamic=!0,y.strValue=s,y}const f=ce(s,o);return Zi(f.duration,f.delay,f.easing)}(o.timings,s.errors);s.currentAnimateTimings=d;let f,y=o.styles?o.styles:(0,z.iF)({});if(y.type==z.If.Keyframes)f=this.visitKeyframes(y,s);else{let T=o.styles,S=!1;if(!T){S=!0;const Q={};d.easing&&(Q.easing=d.easing),T=(0,z.iF)(Q)}s.currentTime+=d.duration+d.delay;const L=this.visitStyle(T,s);L.isEmptyStep=S,f=L}return s.currentAnimateTimings=null,{type:z.If.Animate,timings:d,style:f,options:null}}visitStyle(o,s){const d=this._makeStyleAst(o,s);return this._validateStyleAst(d,s),d}_makeStyleAst(o,s){const d=[],f=Array.isArray(o.styles)?o.styles:[o.styles];for(let S of f)"string"==typeof S?S===z.kp?d.push(S):s.errors.push(new u.wOt(3002,!1)):d.push(new Map(Object.entries(S)));let y=!1,T=null;return d.forEach((S=>{if(S instanceof Map&&(S.has("easing")&&(T=S.get("easing"),S.delete("easing")),!y))for(let L of S.values())if(L.toString().indexOf("{{")>=0){y=!0;break}})),{type:z.If.Style,styles:d,easing:T,offset:o.offset,containsDynamicStyles:y,options:null}}_validateStyleAst(o,s){const d=s.currentAnimateTimings;let f=s.currentTime,y=s.currentTime;d&&y>0&&(y-=d.duration+d.delay),o.styles.forEach((T=>{"string"!=typeof T&&T.forEach(((S,L)=>{const Q=s.collectedStyles.get(s.currentQuerySelector),fe=Q.get(L);let _e=!0;fe&&(y!=f&&y>=fe.startTime&&f<=fe.endTime&&(s.errors.push(function ee(){return new u.wOt(3010,!1)}()),_e=!1),y=fe.startTime),_e&&Q.set(L,{startTime:y,endTime:f}),s.options&&function Mn(l,o,s){const d=o.params||{},f=Vr(l);f.length&&f.forEach((y=>{d.hasOwnProperty(y)||s.push(function Re(){return new u.wOt(3001,!1)}())}))}(S,s.options,s.errors)}))}))}visitKeyframes(o,s){const d={type:z.If.Keyframes,styles:[],options:null};if(!s.currentAnimateTimings)return s.errors.push(function ge(){return new u.wOt(3011,!1)}()),d;let y=0;const T=[];let S=!1,L=!1,Q=0;const fe=o.steps.map((Tn=>{const mn=this._makeStyleAst(Tn,s);let Ge=null!=mn.offset?mn.offset:function qo(l){if("string"==typeof l)return null;let o=null;if(Array.isArray(l))l.forEach((s=>{if(s instanceof Map&&s.has("offset")){const d=s;o=parseFloat(d.get("offset")),d.delete("offset")}}));else if(l instanceof Map&&l.has("offset")){const s=l;o=parseFloat(s.get("offset")),s.delete("offset")}return o}(mn.styles),Ot=0;return null!=Ge&&(y++,Ot=mn.offset=Ge),L=L||Ot<0||Ot>1,S=S||Ot<Q,Q=Ot,T.push(Ot),mn}));L&&s.errors.push(function Ke(){return new u.wOt(3012,!1)}()),S&&s.errors.push(function se(){return new u.wOt(3200,!1)}());const _e=o.steps.length;let tt=0;y>0&&y<_e?s.errors.push(function le(){return new u.wOt(3202,!1)}()):0==y&&(tt=1/(_e-1));const Be=_e-1,ke=s.currentTime,Ve=s.currentAnimateTimings,Bt=Ve.duration;return fe.forEach(((Tn,mn)=>{const Ge=tt>0?mn==Be?1:tt*mn:T[mn],Ot=Ge*Bt;s.currentTime=ke+Ve.delay+Ot,Ve.duration=Ot,this._validateStyleAst(Tn,s),Tn.offset=Ge,d.styles.push(Tn)})),d}visitReference(o,s){return{type:z.If.Reference,animation:tn(this,fn(o.animation),s),options:yr(o.options)}}visitAnimateChild(o,s){return s.depCount++,{type:z.If.AnimateChild,options:yr(o.options)}}visitAnimateRef(o,s){return{type:z.If.AnimateRef,animation:this.visitReference(o.animation,s),options:yr(o.options)}}visitQuery(o,s){const d=s.currentQuerySelector,f=o.options||{};s.queryCount++,s.currentQuery=o;const[y,T]=function $r(l){const o=!!l.split(/\s*,\s*/).find((s=>":self"==s));return o&&(l=l.replace(jr,"")),l=l.replace(/@\*/g,Un).replace(/@\w+/g,(s=>Un+"-"+s.slice(1))).replace(/:animating/g,ne),[l,o]}(o.selector);s.currentQuerySelector=d.length?d+" "+y:y,Gt(s.collectedStyles,s.currentQuerySelector,new Map);const S=tn(this,fn(o.animation),s);return s.currentQuery=null,s.currentQuerySelector=d,{type:z.If.Query,selector:y,limit:f.limit||0,optional:!!f.optional,includeSelf:T,animation:S,originalSelector:o.selector,options:yr(o.options)}}visitStagger(o,s){s.currentQuery||s.errors.push(function Ae(){return new u.wOt(3013,!1)}());const d="full"===o.timings?{duration:0,delay:0,easing:"full"}:ce(o.timings,s.errors,!0);return{type:z.If.Stagger,animation:tn(this,fn(o.animation),s),timings:d,options:null}}}class zn{constructor(o){this.errors=o,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 yr(l){return l?(l={...l}).params&&(l.params=function Ni(l){return l?{...l}:null}(l.params)):l={},l}function Zi(l,o,s){return{duration:l,delay:o,easing:s}}function xi(l,o,s,d,f,y,T=null,S=!1){return{type:1,element:l,keyframes:o,preStyleProps:s,postStyleProps:d,duration:f,delay:y,totalTime:f+y,easing:T,subTimeline:S}}class gi{constructor(){this._map=new Map}get(o){return this._map.get(o)||[]}append(o,s){let d=this._map.get(o);d||this._map.set(o,d=[]),d.push(...s)}has(o){return this._map.has(o)}clear(){this._map.clear()}}const Ji=new RegExp(":enter","g"),Us=new RegExp(":leave","g");function eo(l,o,s,d,f,y=new Map,T=new Map,S,L,Q=[]){return(new O).buildKeyframes(l,o,s,d,f,y,T,S,L,Q)}class O{buildKeyframes(o,s,d,f,y,T,S,L,Q,fe=[]){Q=Q||new gi;const _e=new A(o,s,Q,f,y,fe,[]);_e.options=L;const tt=L.delay?F(L.delay):0;_e.currentTimeline.delayNextStep(tt),_e.currentTimeline.setStyles([T],null,_e.errors,L),tn(this,d,_e);const Be=_e.timelines.filter((ke=>ke.containsAnimation()));if(Be.length&&S.size){let ke;for(let Ve=Be.length-1;Ve>=0;Ve--){const Bt=Be[Ve];if(Bt.element===s){ke=Bt;break}}ke&&!ke.allowOnlyTimelineStyles()&&ke.setStyles([S],null,_e.errors,L)}return Be.length?Be.map((ke=>ke.buildKeyframes())):[xi(s,[],[],[],0,tt,"",!1)]}visitTrigger(o,s){}visitState(o,s){}visitTransition(o,s){}visitAnimateChild(o,s){const d=s.subInstructions.get(s.element);if(d){const f=s.createSubContext(o.options),y=s.currentTimeline.currentTime,T=this._visitSubInstructions(d,f,f.options);y!=T&&s.transformIntoNewTimeline(T)}s.previousNode=o}visitAnimateRef(o,s){const d=s.createSubContext(o.options);d.transformIntoNewTimeline(),this._applyAnimationRefDelays([o.options,o.animation.options],s,d),this.visitReference(o.animation,d),s.transformIntoNewTimeline(d.currentTimeline.currentTime),s.previousNode=o}_applyAnimationRefDelays(o,s,d){for(const f of o){const y=f?.delay;if(y){const T="number"==typeof y?y:F(mr(y,f?.params??{},s.errors));d.delayNextStep(T)}}}_visitSubInstructions(o,s,d){let y=s.currentTimeline.currentTime;const T=null!=d.duration?F(d.duration):null,S=null!=d.delay?F(d.delay):null;return 0!==T&&o.forEach((L=>{const Q=s.appendInstructionToTimeline(L,T,S);y=Math.max(y,Q.duration+Q.delay)})),y}visitReference(o,s){s.updateOptions(o.options,!0),tn(this,o.animation,s),s.previousNode=o}visitSequence(o,s){const d=s.subContextCount;let f=s;const y=o.options;if(y&&(y.params||y.delay)&&(f=s.createSubContext(y),f.transformIntoNewTimeline(),null!=y.delay)){f.previousNode.type==z.If.Style&&(f.currentTimeline.snapshotCurrentStyles(),f.previousNode=N);const T=F(y.delay);f.delayNextStep(T)}o.steps.length&&(o.steps.forEach((T=>tn(this,T,f))),f.currentTimeline.applyStylesToKeyframe(),f.subContextCount>d&&f.transformIntoNewTimeline()),s.previousNode=o}visitGroup(o,s){const d=[];let f=s.currentTimeline.currentTime;const y=o.options&&o.options.delay?F(o.options.delay):0;o.steps.forEach((T=>{const S=s.createSubContext(o.options);y&&S.delayNextStep(y),tn(this,T,S),f=Math.max(f,S.currentTimeline.currentTime),d.push(S.currentTimeline)})),d.forEach((T=>s.currentTimeline.mergeTimelineCollectedStyles(T))),s.transformIntoNewTimeline(f),s.previousNode=o}_visitTiming(o,s){if(o.dynamic){const d=o.strValue;return ce(s.params?mr(d,s.params,s.errors):d,s.errors)}return{duration:o.duration,delay:o.delay,easing:o.easing}}visitAnimate(o,s){const d=s.currentAnimateTimings=this._visitTiming(o.timings,s),f=s.currentTimeline;d.delay&&(s.incrementTime(d.delay),f.snapshotCurrentStyles());const y=o.style;y.type==z.If.Keyframes?this.visitKeyframes(y,s):(s.incrementTime(d.duration),this.visitStyle(y,s),f.applyStylesToKeyframe()),s.currentAnimateTimings=null,s.previousNode=o}visitStyle(o,s){const d=s.currentTimeline,f=s.currentAnimateTimings;!f&&d.hasCurrentStyleProperties()&&d.forwardFrame();const y=f&&f.easing||o.easing;o.isEmptyStep?d.applyEmptyStep(y):d.setStyles(o.styles,y,s.errors,s.options),s.previousNode=o}visitKeyframes(o,s){const d=s.currentAnimateTimings,f=s.currentTimeline.duration,y=d.duration,S=s.createSubContext().currentTimeline;S.easing=d.easing,o.styles.forEach((L=>{S.forwardTime((L.offset||0)*y),S.setStyles(L.styles,L.easing,s.errors,s.options),S.applyStylesToKeyframe()})),s.currentTimeline.mergeTimelineCollectedStyles(S),s.transformIntoNewTimeline(f+y),s.previousNode=o}visitQuery(o,s){const d=s.currentTimeline.currentTime,f=o.options||{},y=f.delay?F(f.delay):0;y&&(s.previousNode.type===z.If.Style||0==d&&s.currentTimeline.hasCurrentStyleProperties())&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=N);let T=d;const S=s.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!f.optional,s.errors);s.currentQueryTotal=S.length;let L=null;S.forEach(((Q,fe)=>{s.currentQueryIndex=fe;const _e=s.createSubContext(o.options,Q);y&&_e.delayNextStep(y),Q===s.element&&(L=_e.currentTimeline),tn(this,o.animation,_e),_e.currentTimeline.applyStylesToKeyframe(),T=Math.max(T,_e.currentTimeline.currentTime)})),s.currentQueryIndex=0,s.currentQueryTotal=0,s.transformIntoNewTimeline(T),L&&(s.currentTimeline.mergeTimelineCollectedStyles(L),s.currentTimeline.snapshotCurrentStyles()),s.previousNode=o}visitStagger(o,s){const d=s.parentContext,f=s.currentTimeline,y=o.timings,T=Math.abs(y.duration),S=T*(s.currentQueryTotal-1);let L=T*s.currentQueryIndex;switch(y.duration<0?"reverse":y.easing){case"reverse":L=S-L;break;case"full":L=d.currentStaggerTime}const fe=s.currentTimeline;L&&fe.delayNextStep(L);const _e=fe.currentTime;tn(this,o.animation,s),s.previousNode=o,d.currentStaggerTime=f.currentTime-_e+(f.startTime-d.currentTimeline.startTime)}}const N={};class A{constructor(o,s,d,f,y,T,S,L){this._driver=o,this.element=s,this.subInstructions=d,this._enterClassName=f,this._leaveClassName=y,this.errors=T,this.timelines=S,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=N,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=L||new q(this._driver,s,0),S.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,s){if(!o)return;const d=o;let f=this.options;null!=d.duration&&(f.duration=F(d.duration)),null!=d.delay&&(f.delay=F(d.delay));const y=d.params;if(y){let T=f.params;T||(T=this.options.params={}),Object.keys(y).forEach((S=>{(!s||!T.hasOwnProperty(S))&&(T[S]=mr(y[S],T,this.errors))}))}}_copyOptions(){const o={};if(this.options){const s=this.options.params;if(s){const d=o.params={};Object.keys(s).forEach((f=>{d[f]=s[f]}))}}return o}createSubContext(o=null,s,d){const f=s||this.element,y=new A(this._driver,f,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(f,d||0));return y.previousNode=this.previousNode,y.currentAnimateTimings=this.currentAnimateTimings,y.options=this._copyOptions(),y.updateOptions(o),y.currentQueryIndex=this.currentQueryIndex,y.currentQueryTotal=this.currentQueryTotal,y.parentContext=this,this.subContextCount++,y}transformIntoNewTimeline(o){return this.previousNode=N,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,s,d){const f={duration:s??o.duration,delay:this.currentTimeline.currentTime+(d??0)+o.delay,easing:""},y=new oe(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,f,o.stretchStartingKeyframe);return this.timelines.push(y),f}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,s,d,f,y,T){let S=[];if(f&&S.push(this.element),o.length>0){o=(o=o.replace(Ji,"."+this._enterClassName)).replace(Us,"."+this._leaveClassName);let Q=this._driver.query(this.element,o,1!=d);0!==d&&(Q=d<0?Q.slice(Q.length+d,Q.length):Q.slice(0,d)),S.push(...Q)}return!y&&0==S.length&&T.push(function Qe(){return new u.wOt(3014,!1)}()),S}}class q{constructor(o,s,d,f){this._driver=o,this.element=s,this.startTime=d,this._elementTimelineStylesLookup=f,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(s),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(s,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(o){const s=1===this._keyframes.size&&this._pendingStyles.size;this.duration||s?(this.forwardTime(this.currentTime+o),s&&this.snapshotCurrentStyles()):this.startTime+=o}fork(o,s){return this.applyStylesToKeyframe(),new q(this._driver,o,s||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(o){this.applyStylesToKeyframe(),this.duration=o,this._loadKeyframe()}_updateStyle(o,s){this._localTimelineStyles.set(o,s),this._globalTimelineStyles.set(o,s),this._styleSummary.set(o,{time:this.currentTime,value:s})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(o){o&&this._previousKeyframe.set("easing",o);for(let[s,d]of this._globalTimelineStyles)this._backFill.set(s,d||z.kp),this._currentKeyframe.set(s,z.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,s,d,f){s&&this._previousKeyframe.set("easing",s);const y=f&&f.params||{},T=function ve(l,o){const s=new Map;let d;return l.forEach((f=>{if("*"===f){d??=o.keys();for(let y of d)s.set(y,z.kp)}else for(let[y,T]of f)s.set(y,T)})),s}(o,this._globalTimelineStyles);for(let[S,L]of T){const Q=mr(L,y,d);this._pendingStyles.set(S,Q),this._localTimelineStyles.has(S)||this._backFill.set(S,this._globalTimelineStyles.get(S)??z.kp),this._updateStyle(S,Q)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach(((o,s)=>{this._currentKeyframe.set(s,o)})),this._pendingStyles.clear(),this._localTimelineStyles.forEach(((o,s)=>{this._currentKeyframe.has(s)||this._currentKeyframe.set(s,o)})))}snapshotCurrentStyles(){for(let[o,s]of this._localTimelineStyles)this._pendingStyles.set(o,s),this._updateStyle(o,s)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const o=[];for(let s in this._currentKeyframe)o.push(s);return o}mergeTimelineCollectedStyles(o){o._styleSummary.forEach(((s,d)=>{const f=this._styleSummary.get(d);(!f||s.time>f.time)&&this._updateStyle(d,s.value)}))}buildKeyframes(){this.applyStylesToKeyframe();const o=new Set,s=new Set,d=1===this._keyframes.size&&0===this.duration;let f=[];this._keyframes.forEach(((S,L)=>{const Q=new Map([...this._backFill,...S]);Q.forEach(((fe,_e)=>{fe===z.FX?o.add(_e):fe===z.kp&&s.add(_e)})),d||Q.set("offset",L/this.duration),f.push(Q)}));const y=[...o.values()],T=[...s.values()];if(d){const S=f[0],L=new Map(S);S.set("offset",0),L.set("offset",1),f=[S,L]}return xi(this.element,f,y,T,this.duration,this.startTime,this.easing,!1)}}class oe extends q{constructor(o,s,d,f,y,T,S=!1){super(o,s,T.delay),this.keyframes=d,this.preStyleProps=f,this.postStyleProps=y,this._stretchStartingKeyframe=S,this.timings={duration:T.duration,delay:T.delay,easing:T.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:s,duration:d,easing:f}=this.timings;if(this._stretchStartingKeyframe&&s){const y=[],T=d+s,S=s/T,L=new Map(o[0]);L.set("offset",0),y.push(L);const Q=new Map(o[0]);Q.set("offset",me(S)),y.push(Q);const fe=o.length-1;for(let _e=1;_e<=fe;_e++){let tt=new Map(o[_e]);const Be=tt.get("offset");tt.set("offset",me((s+Be*d)/T)),y.push(tt)}d=T,s=0,f="",o=y}return xi(this.element,o,this.preStyleProps,this.postStyleProps,d,s,f,!0)}}function me(l,o=3){const s=Math.pow(10,o-1);return Math.round(l*s)/s}function Ne(l,o,s,d,f,y,T,S,L,Q,fe,_e,tt){return{type:0,element:l,triggerName:o,isRemovalTransition:f,fromState:s,fromStyles:y,toState:d,toStyles:T,timelines:S,queriedElements:L,preStyleProps:Q,postStyleProps:fe,totalTime:_e,errors:tt}}const Pe={};class wt{constructor(o,s,d){this._triggerName=o,this.ast=s,this._stateStyles=d}match(o,s,d,f){return function Ut(l,o,s,d,f){return l.some((y=>y(o,s,d,f)))}(this.ast.matchers,o,s,d,f)}buildStyles(o,s,d){let f=this._stateStyles.get("*");return void 0!==o&&(f=this._stateStyles.get(o?.toString())||f),f?f.buildStyles(s,d):new Map}build(o,s,d,f,y,T,S,L,Q,fe){const _e=[],tt=this.ast.options&&this.ast.options.params||Pe,ke=this.buildStyles(d,S&&S.params||Pe,_e),Ve=L&&L.params||Pe,Bt=this.buildStyles(f,Ve,_e),Tn=new Set,mn=new Map,Ge=new Map,Ot="void"===f,In={params:zt(Ve,tt),delay:this.ast.options?.delay},Cr=fe?[]:eo(o,s,this.ast.animation,y,T,ke,Bt,In,Q,_e);let $t=0;return Cr.forEach((Kr=>{$t=Math.max(Kr.duration+Kr.delay,$t)})),_e.length?Ne(s,this._triggerName,d,f,Ot,ke,Bt,[],[],mn,Ge,$t,_e):(Cr.forEach((Kr=>{const rs=Kr.element,Vo=Gt(mn,rs,new Set);Kr.preStyleProps.forEach((Is=>Vo.add(Is)));const mu=Gt(Ge,rs,new Set);Kr.postStyleProps.forEach((Is=>mu.add(Is))),rs!==s&&Tn.add(rs)})),Ne(s,this._triggerName,d,f,Ot,ke,Bt,Cr,[...Tn.values()],mn,Ge,$t))}}function zt(l,o){const s={...o};return Object.entries(l).forEach((([d,f])=>{null!=f&&(s[d]=f)})),s}class Jt{constructor(o,s,d){this.styles=o,this.defaultParams=s,this.normalizer=d}buildStyles(o,s){const d=new Map,f=zt(o,this.defaultParams);return this.styles.styles.forEach((y=>{"string"!=typeof y&&y.forEach(((T,S)=>{T&&(T=mr(T,f,s));const L=this.normalizer.normalizePropertyName(S,s);T=this.normalizer.normalizeStyleValue(S,L,T,s),d.set(S,T)}))})),d}}class it{constructor(o,s,d){this.name=o,this.ast=s,this._normalizer=d,this.transitionFactories=[],this.states=new Map,s.states.forEach((f=>{this.states.set(f.name,new Jt(f.style,f.options&&f.options.params||{},d))})),pn(this.states,"true","1"),pn(this.states,"false","0"),s.transitions.forEach((f=>{this.transitionFactories.push(new wt(o,f,this.states))})),this.fallbackTransition=function bt(l,o){return new wt(l,{type:z.If.Transition,animation:{type:z.If.Sequence,steps:[],options:null},matchers:[(T,S)=>!0],options:null,queryCount:0,depCount:0},o)}(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,s,d,f){return this.transitionFactories.find((T=>T.match(o,s,d,f)))||null}matchStyles(o,s,d){return this.fallbackTransition.buildStyles(o,s,d)}}function pn(l,o,s){l.has(o)?l.has(s)||l.set(s,l.get(o)):l.has(s)&&l.set(o,l.get(s))}const Hr=new gi;class Ft{constructor(o,s,d){this.bodyNode=o,this._driver=s,this._normalizer=d,this._animations=new Map,this._playersById=new Map,this.players=[]}register(o,s){const d=[],y=ei(this._driver,s,d,[]);if(d.length)throw function hi(){return new u.wOt(3503,!1)}();this._animations.set(o,y)}_buildPlayer(o,s,d){const f=o.element,y=En(this._normalizer,o.keyframes,s,d);return this._driver.animate(f,y,o.duration,o.delay,o.easing,[],!0)}create(o,s,d={}){const f=[],y=this._animations.get(o);let T;const S=new Map;if(y?(T=eo(this._driver,s,y,gr,nr,new Map,new Map,d,Hr,f),T.forEach((fe=>{const _e=Gt(S,fe.element,new Map);fe.postStyleProps.forEach((tt=>_e.set(tt,null)))}))):(f.push(function vn(){return new u.wOt(3300,!1)}()),T=[]),f.length)throw function cn(){return new u.wOt(3504,!1)}();S.forEach(((fe,_e)=>{fe.forEach(((tt,Be)=>{fe.set(Be,this._driver.computeStyle(_e,Be,z.kp))}))}));const Q=Ln(T.map((fe=>{const _e=S.get(fe.element);return this._buildPlayer(fe,new Map,_e)})));return this._playersById.set(o,Q),Q.onDestroy((()=>this.destroy(o))),this.players.push(Q),Q}destroy(o){const s=this._getPlayer(o);s.destroy(),this._playersById.delete(o);const d=this.players.indexOf(s);d>=0&&this.players.splice(d,1)}_getPlayer(o){const s=this._playersById.get(o);if(!s)throw function Ti(){return new u.wOt(3301,!1)}();return s}listen(o,s,d,f){const y=er(s,"","","");return dr(this._getPlayer(o),d,y,f),()=>{}}command(o,s,d,f){if("register"==d)return void this.register(o,f[0]);if("create"==d)return void this.create(o,s,f[0]||{});const y=this._getPlayer(o);switch(d){case"play":y.play();break;case"pause":y.pause();break;case"reset":y.reset();break;case"restart":y.restart();break;case"finish":y.finish();break;case"init":y.init();break;case"setPosition":y.setPosition(parseFloat(f[0]));break;case"destroy":this.destroy(o)}}}const Wt="ng-animate-queued",Fn="ng-animate-disabled",ki=[],_o={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},to={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},or="__ng_removed";class no{get params(){return this.options.params}constructor(o,s=""){this.namespaceId=s;const d=o&&o.hasOwnProperty("value");if(this.value=function Po(l){return l??null}(d?o.value:o),d){const{value:y,...T}=o;this.options=T}else this.options={};this.options.params||(this.options.params={})}absorbOptions(o){const s=o.params;if(s){const d=this.options.params;Object.keys(s).forEach((f=>{null==d[f]&&(d[f]=s[f])}))}}}const mi="void",Oo=new no(mi);class gs{constructor(o,s,d){this.id=o,this.hostElement=s,this._engine=d,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+o,Bn(s,this._hostClassName)}listen(o,s,d,f){if(!this._triggers.has(s))throw function kn(){return new u.wOt(3302,!1)}();if(null==d||0==d.length)throw function Fr(){return new u.wOt(3303,!1)}();if(!function Ar(l){return"start"==l||"done"==l}(d))throw function kr(){return new u.wOt(3400,!1)}();const y=Gt(this._elementListeners,o,[]),T={name:s,phase:d,callback:f};y.push(T);const S=Gt(this._engine.statesByElement,o,new Map);return S.has(s)||(Bn(o,un),Bn(o,un+"-"+s),S.set(s,Oo)),()=>{this._engine.afterFlush((()=>{const L=y.indexOf(T);L>=0&&y.splice(L,1),this._triggers.has(s)||S.delete(s)}))}}register(o,s){return!this._triggers.has(o)&&(this._triggers.set(o,s),!0)}_getTrigger(o){const s=this._triggers.get(o);if(!s)throw function Lr(){return new u.wOt(3401,!1)}();return s}trigger(o,s,d,f=!0){const y=this._getTrigger(s),T=new ms(this.id,s,o);let S=this._engine.statesByElement.get(o);S||(Bn(o,un),Bn(o,un+"-"+s),this._engine.statesByElement.set(o,S=new Map));let L=S.get(s);const Q=new no(d,this.id);if(!(d&&d.hasOwnProperty("value"))&&L&&Q.absorbOptions(L.options),S.set(s,Q),L||(L=Oo),Q.value!==mi&&L.value===Q.value){if(!function Li(l,o){const s=Object.keys(l),d=Object.keys(o);if(s.length!=d.length)return!1;for(let f=0;f<s.length;f++){const y=s[f];if(!o.hasOwnProperty(y)||l[y]!==o[y])return!1}return!0}(L.params,Q.params)){const Ve=[],Bt=y.matchStyles(L.value,L.params,Ve),Tn=y.matchStyles(Q.value,Q.params,Ve);Ve.length?this._engine.reportError(Ve):this._engine.afterFlush((()=>{vt(o,Bt),Mt(o,Tn)}))}return}const tt=Gt(this._engine.playersByElement,o,[]);tt.forEach((Ve=>{Ve.namespaceId==this.id&&Ve.triggerName==s&&Ve.queued&&Ve.destroy()}));let Be=y.matchTransition(L.value,Q.value,o,Q.params),ke=!1;if(!Be){if(!f)return;Be=y.fallbackTransition,ke=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:s,transition:Be,fromState:L,toState:Q,player:T,isFallbackTransition:ke}),ke||(Bn(o,Wt),T.onStart((()=>{Gr(o,Wt)}))),T.onDone((()=>{let Ve=this.players.indexOf(T);Ve>=0&&this.players.splice(Ve,1);const Bt=this._engine.playersByElement.get(o);if(Bt){let Tn=Bt.indexOf(T);Tn>=0&&Bt.splice(Tn,1)}})),this.players.push(T),tt.push(T),T}deregister(o){this._triggers.delete(o),this._engine.statesByElement.forEach((s=>s.delete(o))),this._elementListeners.forEach(((s,d)=>{this._elementListeners.set(d,s.filter((f=>f.name!=o)))}))}clearElementCache(o){this._engine.statesByElement.delete(o),this._elementListeners.delete(o);const s=this._engine.playersByElement.get(o);s&&(s.forEach((d=>d.destroy())),this._engine.playersByElement.delete(o))}_signalRemovalForInnerTriggers(o,s){const d=this._engine.driver.query(o,Un,!0);d.forEach((f=>{if(f[or])return;const y=this._engine.fetchNamespacesByElement(f);y.size?y.forEach((T=>T.triggerLeaveAnimation(f,s,!1,!0))):this.clearElementCache(f)})),this._engine.afterFlushAnimationsDone((()=>d.forEach((f=>this.clearElementCache(f)))))}triggerLeaveAnimation(o,s,d,f){const y=this._engine.statesByElement.get(o),T=new Map;if(y){const S=[];if(y.forEach(((L,Q)=>{if(T.set(Q,L.value),this._triggers.has(Q)){const fe=this.trigger(o,Q,mi,f);fe&&S.push(fe)}})),S.length)return this._engine.markElementAsRemoved(this.id,o,!0,s,T),d&&Ln(S).onDone((()=>this._engine.processLeaveNode(o))),!0}return!1}prepareLeaveAnimationListeners(o){const s=this._elementListeners.get(o),d=this._engine.statesByElement.get(o);if(s&&d){const f=new Set;s.forEach((y=>{const T=y.name;if(f.has(T))return;f.add(T);const L=this._triggers.get(T).fallbackTransition,Q=d.get(T)||Oo,fe=new no(mi),_e=new ms(this.id,T,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:T,transition:L,fromState:Q,toState:fe,player:_e,isFallbackTransition:!0})}))}}removeNode(o,s){const d=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,s),this.triggerLeaveAnimation(o,s,!0))return;let f=!1;if(d.totalAnimations){const y=d.players.length?d.playersByQueriedElement.get(o):[];if(y&&y.length)f=!0;else{let T=o;for(;T=T.parentNode;)if(d.statesByElement.get(T)){f=!0;break}}}if(this.prepareLeaveAnimationListeners(o),f)d.markElementAsRemoved(this.id,o,!1,s);else{const y=o[or];(!y||y===_o)&&(d.afterFlush((()=>this.clearElementCache(o))),d.destroyInnerAnimations(o),d._onRemovalComplete(o,s))}}insertNode(o,s){Bn(o,this._hostClassName)}drainQueuedTransitions(o){const s=[];return this._queue.forEach((d=>{const f=d.player;if(f.destroyed)return;const y=d.element,T=this._elementListeners.get(y);T&&T.forEach((S=>{if(S.name==d.triggerName){const L=er(y,d.triggerName,d.fromState.value,d.toState.value);L._data=o,dr(d.player,S.phase,L,S.callback)}})),f.markedForDestroy?this._engine.afterFlush((()=>{f.destroy()})):s.push(d)})),this._queue=[],s.sort(((d,f)=>{const y=d.transition.ast.depCount,T=f.transition.ast.depCount;return 0==y||0==T?y-T:this._engine.driver.containsElement(d.element,f.element)?1:-1}))}destroy(o){this.players.forEach((s=>s.destroy())),this._signalRemovalForInnerTriggers(this.hostElement,o)}}class yo{_onRemovalComplete(o,s){this.onRemovalComplete(o,s)}constructor(o,s,d){this.bodyNode=o,this.driver=s,this._normalizer=d,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=(f,y)=>{}}get queuedPlayers(){const o=[];return this._namespaceList.forEach((s=>{s.players.forEach((d=>{d.queued&&o.push(d)}))})),o}createNamespace(o,s){const d=new gs(o,s,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,s)?this._balanceNamespaceList(d,s):(this.newHostElements.set(s,d),this.collectEnterElement(s)),this._namespaceLookup[o]=d}_balanceNamespaceList(o,s){const d=this._namespaceList,f=this.namespacesByHostElement;if(d.length-1>=0){let T=!1,S=this.driver.getParentElement(s);for(;S;){const L=f.get(S);if(L){const Q=d.indexOf(L);d.splice(Q+1,0,o),T=!0;break}S=this.driver.getParentElement(S)}T||d.unshift(o)}else d.push(o);return f.set(s,o),o}register(o,s){let d=this._namespaceLookup[o];return d||(d=this.createNamespace(o,s)),d}registerTrigger(o,s,d){let f=this._namespaceLookup[o];f&&f.register(s,d)&&this.totalAnimations++}destroy(o,s){o&&(this.afterFlush((()=>{})),this.afterFlushAnimationsDone((()=>{const d=this._fetchNamespace(o);this.namespacesByHostElement.delete(d.hostElement);const f=this._namespaceList.indexOf(d);f>=0&&this._namespaceList.splice(f,1),d.destroy(s),delete this._namespaceLookup[o]})))}_fetchNamespace(o){return this._namespaceLookup[o]}fetchNamespacesByElement(o){const s=new Set,d=this.statesByElement.get(o);if(d)for(let f of d.values())if(f.namespaceId){const y=this._fetchNamespace(f.namespaceId);y&&s.add(y)}return s}trigger(o,s,d,f){if(De(s)){const y=this._fetchNamespace(o);if(y)return y.trigger(s,d,f),!0}return!1}insertNode(o,s,d,f){if(!De(s))return;const y=s[or];if(y&&y.setForRemoval){y.setForRemoval=!1,y.setForMove=!0;const T=this.collectedLeaveElements.indexOf(s);T>=0&&this.collectedLeaveElements.splice(T,1)}if(o){const T=this._fetchNamespace(o);T&&T.insertNode(s,d)}f&&this.collectEnterElement(s)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,s){s?this.disabledNodes.has(o)||(this.disabledNodes.add(o),Bn(o,Fn)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),Gr(o,Fn))}removeNode(o,s,d){if(De(s)){const f=o?this._fetchNamespace(o):null;f?f.removeNode(s,d):this.markElementAsRemoved(o,s,!1,d);const y=this.namespacesByHostElement.get(s);y&&y.id!==o&&y.removeNode(s,d)}else this._onRemovalComplete(s,d)}markElementAsRemoved(o,s,d,f,y){this.collectedLeaveElements.push(s),s[or]={namespaceId:o,setForRemoval:f,hasAnimation:d,removedBeforeQueried:!1,previousTriggersValues:y}}listen(o,s,d,f,y){return De(s)?this._fetchNamespace(o).listen(s,d,f,y):()=>{}}_buildInstruction(o,s,d,f,y){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,d,f,o.fromState.options,o.toState.options,s,y)}destroyInnerAnimations(o){let s=this.driver.query(o,Un,!0);s.forEach((d=>this.destroyActiveAnimationsForElement(d))),0!=this.playersByQueriedElement.size&&(s=this.driver.query(o,ne,!0),s.forEach((d=>this.finishActiveQueriedAnimationOnElement(d))))}destroyActiveAnimationsForElement(o){const s=this.playersByElement.get(o);s&&s.forEach((d=>{d.queued?d.markedForDestroy=!0:d.destroy()}))}finishActiveQueriedAnimationOnElement(o){const s=this.playersByQueriedElement.get(o);s&&s.forEach((d=>d.finish()))}whenRenderingDone(){return new Promise((o=>{if(this.players.length)return Ln(this.players).onDone((()=>o()));o()}))}processLeaveNode(o){const s=o[or];if(s&&s.setForRemoval){if(o[or]=_o,s.namespaceId){this.destroyInnerAnimations(o);const d=this._fetchNamespace(s.namespaceId);d&&d.clearElementCache(o)}this._onRemovalComplete(o,s.setForRemoval)}o.classList?.contains(Fn)&&this.markElementAsDisabled(o,!1),this.driver.query(o,".ng-animate-disabled",!0).forEach((d=>{this.markElementAsDisabled(d,!1)}))}flush(o=-1){let s=[];if(this.newHostElements.size&&(this.newHostElements.forEach(((d,f)=>this._balanceNamespaceList(d,f))),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let d=0;d<this.collectedEnterElements.length;d++)Bn(this.collectedEnterElements[d],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const d=[];try{s=this._flushAnimations(d,o)}finally{for(let f=0;f<d.length;f++)d[f]()}}else for(let d=0;d<this.collectedLeaveElements.length;d++)this.processLeaveNode(this.collectedLeaveElements[d]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((d=>d())),this._flushFns=[],this._whenQuietFns.length){const d=this._whenQuietFns;this._whenQuietFns=[],s.length?Ln(s).onDone((()=>{d.forEach((f=>f()))})):d.forEach((f=>f()))}}reportError(o){throw function Rn(){return new u.wOt(3402,!1)}()}_flushAnimations(o,s){const d=new gi,f=[],y=new Map,T=[],S=new Map,L=new Map,Q=new Map,fe=new Set;this.disabledNodes.forEach((Fe=>{fe.add(Fe);const He=this.driver.query(Fe,".ng-animate-queued",!0);for(let nt=0;nt<He.length;nt++)fe.add(He[nt])}));const _e=this.bodyNode,tt=Array.from(this.statesByElement.keys()),Be=No(tt,this.collectedEnterElements),ke=new Map;let Ve=0;Be.forEach(((Fe,He)=>{const nt=gr+Ve++;ke.set(He,nt),Fe.forEach((Pt=>Bn(Pt,nt)))}));const Bt=[],Tn=new Set,mn=new Set;for(let Fe=0;Fe<this.collectedLeaveElements.length;Fe++){const He=this.collectedLeaveElements[Fe],nt=He[or];nt&&nt.setForRemoval&&(Bt.push(He),Tn.add(He),nt.hasAnimation?this.driver.query(He,".ng-star-inserted",!0).forEach((Pt=>Tn.add(Pt))):mn.add(He))}const Ge=new Map,Ot=No(tt,Array.from(Tn));Ot.forEach(((Fe,He)=>{const nt=nr+Ve++;Ge.set(He,nt),Fe.forEach((Pt=>Bn(Pt,nt)))})),o.push((()=>{Be.forEach(((Fe,He)=>{const nt=ke.get(He);Fe.forEach((Pt=>Gr(Pt,nt)))})),Ot.forEach(((Fe,He)=>{const nt=Ge.get(He);Fe.forEach((Pt=>Gr(Pt,nt)))})),Bt.forEach((Fe=>{this.processLeaveNode(Fe)}))}));const In=[],Cr=[];for(let Fe=this._namespaceList.length-1;Fe>=0;Fe--)this._namespaceList[Fe].drainQueuedTransitions(s).forEach((nt=>{const Pt=nt.player,lr=nt.element;if(In.push(Pt),this.collectedEnterElements.length){const Kn=lr[or];if(Kn&&Kn.setForMove){if(Kn.previousTriggersValues&&Kn.previousTriggersValues.has(nt.triggerName)){const Ps=Kn.previousTriggersValues.get(nt.triggerName),li=this.statesByElement.get(nt.element);if(li&&li.has(nt.triggerName)){const As=li.get(nt.triggerName);As.value=Ps,li.set(nt.triggerName,As)}}return void Pt.destroy()}}const Hi=!_e||!this.driver.containsElement(_e,lr),ai=Ge.get(lr),Uo=ke.get(lr),Xt=this._buildInstruction(nt,d,Uo,ai,Hi);if(Xt.errors&&Xt.errors.length)return void Cr.push(Xt);if(Hi)return Pt.onStart((()=>vt(lr,Xt.fromStyles))),Pt.onDestroy((()=>Mt(lr,Xt.toStyles))),void f.push(Pt);if(nt.isFallbackTransition)return Pt.onStart((()=>vt(lr,Xt.fromStyles))),Pt.onDestroy((()=>Mt(lr,Xt.toStyles))),void f.push(Pt);const yu=[];Xt.timelines.forEach((Kn=>{Kn.stretchStartingKeyframe=!0,this.disabledNodes.has(Kn.element)||yu.push(Kn)})),Xt.timelines=yu,d.append(lr,Xt.timelines),T.push({instruction:Xt,player:Pt,element:lr}),Xt.queriedElements.forEach((Kn=>Gt(S,Kn,[]).push(Pt))),Xt.preStyleProps.forEach(((Kn,Ps)=>{if(Kn.size){let li=L.get(Ps);li||L.set(Ps,li=new Set),Kn.forEach(((As,ci)=>li.add(ci)))}})),Xt.postStyleProps.forEach(((Kn,Ps)=>{let li=Q.get(Ps);li||Q.set(Ps,li=new Set),Kn.forEach(((As,ci)=>li.add(ci)))}))}));if(Cr.length){const Fe=[];Cr.forEach((He=>{Fe.push(function Zt(){return new u.wOt(3505,!1)}())})),In.forEach((He=>He.destroy())),this.reportError(Fe)}const $t=new Map,Kr=new Map;T.forEach((Fe=>{const He=Fe.element;d.has(He)&&(Kr.set(He,He),this._beforeAnimationBuild(Fe.player.namespaceId,Fe.instruction,$t))})),f.forEach((Fe=>{const He=Fe.element;this._getPreviousPlayers(He,!1,Fe.namespaceId,Fe.triggerName,null).forEach((Pt=>{Gt($t,He,[]).push(Pt),Pt.destroy()}))}));const rs=Bt.filter((Fe=>Qo(Fe,L,Q))),Vo=new Map;Ao(Vo,this.driver,mn,Q,z.kp).forEach((Fe=>{Qo(Fe,L,Q)&&rs.push(Fe)}));const Is=new Map;Be.forEach(((Fe,He)=>{Ao(Is,this.driver,new Set(Fe),L,z.FX)})),rs.forEach((Fe=>{const He=Vo.get(Fe),nt=Is.get(Fe);Vo.set(Fe,new Map([...He?.entries()??[],...nt?.entries()??[]]))}));const Os=[],_u=[],za={};T.forEach((Fe=>{const{element:He,player:nt,instruction:Pt}=Fe;if(d.has(He)){if(fe.has(He))return nt.onDestroy((()=>Mt(He,Pt.toStyles))),nt.disabled=!0,nt.overrideTotalTime(Pt.totalTime),void f.push(nt);let lr=za;if(Kr.size>1){let ai=He;const Uo=[];for(;ai=ai.parentNode;){const Xt=Kr.get(ai);if(Xt){lr=Xt;break}Uo.push(ai)}Uo.forEach((Xt=>Kr.set(Xt,lr)))}const Hi=this._buildAnimation(nt.namespaceId,Pt,$t,y,Is,Vo);if(nt.setRealPlayer(Hi),lr===za)Os.push(nt);else{const ai=this.playersByElement.get(lr);ai&&ai.length&&(nt.parentPlayer=Ln(ai)),f.push(nt)}}else vt(He,Pt.fromStyles),nt.onDestroy((()=>Mt(He,Pt.toStyles))),_u.push(nt),fe.has(He)&&f.push(nt)})),_u.forEach((Fe=>{const He=y.get(Fe.element);if(He&&He.length){const nt=Ln(He);Fe.setRealPlayer(nt)}})),f.forEach((Fe=>{Fe.parentPlayer?Fe.syncPlayerEvents(Fe.parentPlayer):Fe.destroy()}));for(let Fe=0;Fe<Bt.length;Fe++){const He=Bt[Fe],nt=He[or];if(Gr(He,nr),nt&&nt.hasAnimation)continue;let Pt=[];if(S.size){let Hi=S.get(He);Hi&&Hi.length&&Pt.push(...Hi);let ai=this.driver.query(He,ne,!0);for(let Uo=0;Uo<ai.length;Uo++){let Xt=S.get(ai[Uo]);Xt&&Xt.length&&Pt.push(...Xt)}}const lr=Pt.filter((Hi=>!Hi.destroyed));lr.length?ri(this,He,lr):this.processLeaveNode(He)}return Bt.length=0,Os.forEach((Fe=>{this.players.push(Fe),Fe.onDone((()=>{Fe.destroy();const He=this.players.indexOf(Fe);this.players.splice(He,1)})),Fe.play()})),Os}afterFlush(o){this._flushFns.push(o)}afterFlushAnimationsDone(o){this._whenQuietFns.push(o)}_getPreviousPlayers(o,s,d,f,y){let T=[];if(s){const S=this.playersByQueriedElement.get(o);S&&(T=S)}else{const S=this.playersByElement.get(o);if(S){const L=!y||y==mi;S.forEach((Q=>{Q.queued||!L&&Q.triggerName!=f||T.push(Q)}))}}return(d||f)&&(T=T.filter((S=>!(d&&d!=S.namespaceId||f&&f!=S.triggerName)))),T}_beforeAnimationBuild(o,s,d){const y=s.element,T=s.isRemovalTransition?void 0:o,S=s.isRemovalTransition?void 0:s.triggerName;for(const L of s.timelines){const Q=L.element,fe=Q!==y,_e=Gt(d,Q,[]);this._getPreviousPlayers(Q,fe,T,S,s.toState).forEach((Be=>{const ke=Be.getRealPlayer();ke.beforeDestroy&&ke.beforeDestroy(),Be.destroy(),_e.push(Be)}))}vt(y,s.fromStyles)}_buildAnimation(o,s,d,f,y,T){const S=s.triggerName,L=s.element,Q=[],fe=new Set,_e=new Set,tt=s.timelines.map((ke=>{const Ve=ke.element;fe.add(Ve);const Bt=Ve[or];if(Bt&&Bt.removedBeforeQueried)return new z.sf(ke.duration,ke.delay);const Tn=Ve!==L,mn=function _i(l){const o=[];return sr(l,o),o}((d.get(Ve)||ki).map(($t=>$t.getRealPlayer()))).filter(($t=>!!$t.element&&$t.element===Ve)),Ge=y.get(Ve),Ot=T.get(Ve),In=En(this._normalizer,ke.keyframes,Ge,Ot),Cr=this._buildPlayer(ke,In,mn);if(ke.subTimeline&&f&&_e.add(Ve),Tn){const $t=new ms(o,S,Ve);$t.setRealPlayer(Cr),Q.push($t)}return Cr}));Q.forEach((ke=>{Gt(this.playersByQueriedElement,ke.element,[]).push(ke),ke.onDone((()=>function ro(l,o,s){let d=l.get(o);if(d){if(d.length){const f=d.indexOf(s);d.splice(f,1)}0==d.length&&l.delete(o)}return d}(this.playersByQueriedElement,ke.element,ke)))})),fe.forEach((ke=>Bn(ke,ie)));const Be=Ln(tt);return Be.onDestroy((()=>{fe.forEach((ke=>Gr(ke,ie))),Mt(L,s.toStyles)})),_e.forEach((ke=>{Gt(f,ke,[]).push(Be)})),Be}_buildPlayer(o,s,d){return s.length>0?this.driver.animate(o.element,s,o.duration,o.delay,o.easing,d):new z.sf(o.duration,o.delay)}}class ms{constructor(o,s,d){this.namespaceId=o,this.triggerName=s,this.element=d,this._player=new z.sf,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(o){this._containsRealPlayer||(this._player=o,this._queuedCallbacks.forEach(((s,d)=>{s.forEach((f=>dr(o,d,void 0,f)))})),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(o.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(o){this.totalTime=o}syncPlayerEvents(o){const s=this._player;s.triggerCallback&&o.onStart((()=>s.triggerCallback("start"))),o.onDone((()=>this.finish())),o.onDestroy((()=>this.destroy()))}_queueEvent(o,s){Gt(this._queuedCallbacks,o,[]).push(s)}onDone(o){this.queued&&this._queueEvent("done",o),this._player.onDone(o)}onStart(o){this.queued&&this._queueEvent("start",o),this._player.onStart(o)}onDestroy(o){this.queued&&this._queueEvent("destroy",o),this._player.onDestroy(o)}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(o){this.queued||this._player.setPosition(o)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(o){const s=this._player;s.triggerCallback&&s.triggerCallback(o)}}function De(l){return l&&1===l.nodeType}function Wn(l,o){const s=l.style.display;return l.style.display=o??"none",s}function Ao(l,o,s,d,f){const y=[];s.forEach((L=>y.push(Wn(L))));const T=[];d.forEach(((L,Q)=>{const fe=new Map;L.forEach((_e=>{const tt=o.computeStyle(Q,_e,f);fe.set(_e,tt),(!tt||0==tt.length)&&(Q[or]=to,T.push(Q))})),l.set(Q,fe)}));let S=0;return s.forEach((L=>Wn(L,y[S++]))),T}function No(l,o){const s=new Map;if(l.forEach((S=>s.set(S,[]))),0==o.length)return s;const f=new Set(o),y=new Map;function T(S){if(!S)return 1;let L=y.get(S);if(L)return L;const Q=S.parentNode;return L=s.has(Q)?Q:f.has(Q)?1:T(Q),y.set(S,L),L}return o.forEach((S=>{const L=T(S);1!==L&&s.get(L).push(S)})),s}function Bn(l,o){l.classList?.add(o)}function Gr(l,o){l.classList?.remove(o)}function ri(l,o,s){Ln(s).onDone((()=>l.processLeaveNode(o)))}function sr(l,o){for(let s=0;s<l.length;s++){const d=l[s];d instanceof z.ui?sr(d.players,o):o.push(d)}}function Qo(l,o,s){const d=s.get(l);if(!d)return!1;let f=o.get(l);return f?d.forEach((y=>f.add(y))):o.set(l,d),s.delete(l),!0}class qn{constructor(o,s,d){this._driver=s,this._normalizer=d,this._triggerCache={},this.onRemovalComplete=(f,y)=>{},this._transitionEngine=new yo(o.body,s,d),this._timelineEngine=new Ft(o.body,s,d),this._transitionEngine.onRemovalComplete=(f,y)=>this.onRemovalComplete(f,y)}registerTrigger(o,s,d,f,y){const T=o+"-"+f;let S=this._triggerCache[T];if(!S){const L=[],fe=ei(this._driver,y,L,[]);if(L.length)throw function We(){return new u.wOt(3404,!1)}();S=function sn(l,o,s){return new it(l,o,s)}(f,fe,this._normalizer),this._triggerCache[T]=S}this._transitionEngine.registerTrigger(s,f,S)}register(o,s){this._transitionEngine.register(o,s)}destroy(o,s){this._transitionEngine.destroy(o,s)}onInsert(o,s,d,f){this._transitionEngine.insertNode(o,s,d,f)}onRemove(o,s,d){this._transitionEngine.removeNode(o,s,d)}disableAnimations(o,s){this._transitionEngine.markElementAsDisabled(o,s)}process(o,s,d,f){if("@"==d.charAt(0)){const[y,T]=Dn(d);this._timelineEngine.command(y,s,T,f)}else this._transitionEngine.trigger(o,s,d,f)}listen(o,s,d,f,y){if("@"==d.charAt(0)){const[T,S]=Dn(d);return this._timelineEngine.listen(T,s,S,y)}return this._transitionEngine.listen(o,s,d,f,y)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(o){this._transitionEngine.afterFlushAnimationsDone(o)}}class io{static#e=this.initialStylesByElement=new WeakMap;constructor(o,s,d){this._element=o,this._startStyles=s,this._endStyles=d,this._state=0;let f=io.initialStylesByElement.get(o);f||io.initialStylesByElement.set(o,f=new Map),this._initialStyles=f}start(){this._state<1&&(this._startStyles&&Mt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Mt(this._element,this._initialStyles),this._endStyles&&(Mt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(io.initialStylesByElement.delete(this._element),this._startStyles&&(vt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(vt(this._element,this._endStyles),this._endStyles=null),Mt(this._element,this._initialStyles),this._state=3)}}function an(l){let o=null;return l.forEach(((s,d)=>{(function vo(l){return"display"===l||"position"===l})(d)&&(o=o||new Map,o.set(d,s))})),o}class oo{constructor(o,s,d,f){this.element=o,this.keyframes=s,this.options=d,this._specialStyles=f,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=d.duration,this._delay=d.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((o=>o())),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const o=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,o,this.options),this._finalKeyframe=o.length?o[o.length-1]:new Map;const s=()=>this._onFinish();this.domPlayer.addEventListener("finish",s),this.onDestroy((()=>{this.domPlayer.removeEventListener("finish",s)}))}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(o){const s=[];return o.forEach((d=>{s.push(Object.fromEntries(d))})),s}_triggerWebAnimation(o,s,d){return o.animate(this._convertKeyframesToObject(s),d)}onStart(o){this._originalOnStartFns.push(o),this._onStartFns.push(o)}onDone(o){this._originalOnDoneFns.push(o),this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((o=>o())),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((o=>o())),this._onDestroyFns=[])}setPosition(o){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=o*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const o=new Map;this.hasStarted()&&this._finalKeyframe.forEach(((d,f)=>{"offset"!==f&&o.set(f,this._finished?d:rr(this.element,f))})),this.currentSnapshot=o}triggerCallback(o){const s="start"===o?this._onStartFns:this._onDoneFns;s.forEach((d=>d())),s.length=0}}class St{validateStyleProperty(o){return!0}validateAnimatableStyleProperty(o){return!0}containsElement(o,s){return pr(o,s)}getParentElement(o){return Hn(o)}query(o,s,d){return hn(o,s,d)}computeStyle(o,s,d){return rr(o,s)}animate(o,s,d,f,y,T=[]){const L={duration:d,delay:f,fill:0==f?"both":"forwards"};y&&(L.easing=y);const Q=new Map,fe=T.filter((Be=>Be instanceof oo));(function To(l,o){return 0===l||0===o})(d,f)&&fe.forEach((Be=>{Be.currentSnapshot.forEach(((ke,Ve)=>Q.set(Ve,ke)))}));let _e=function Je(l){return l.length?l[0]instanceof Map?l:l.map((o=>new Map(Object.entries(o)))):[]}(s).map((Be=>new Map(Be)));_e=function Gn(l,o,s){if(s.size&&o.length){let d=o[0],f=[];if(s.forEach(((y,T)=>{d.has(T)||f.push(T),d.set(T,y)})),f.length)for(let y=1;y<o.length;y++){let T=o[y];f.forEach((S=>T.set(S,rr(l,S))))}}return o}(o,_e,Q);const tt=function Nr(l,o){let s=null,d=null;return Array.isArray(o)&&o.length?(s=an(o[0]),o.length>1&&(d=an(o[o.length-1]))):o instanceof Map&&(s=an(o)),s||d?new io(l,s,d):null}(o,_e);return new oo(o,_e,L,tt)}}const Xo="@.disabled";class Yo{constructor(o,s,d,f){this.namespaceId=o,this.delegate=s,this.engine=d,this._onDestroy=f,this.ɵtype=0}get data(){return this.delegate.data}destroyNode(o){this.delegate.destroyNode?.(o)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone((()=>{queueMicrotask((()=>{this.delegate.destroy()}))})),this._onDestroy?.()}createElement(o,s){return this.delegate.createElement(o,s)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}appendChild(o,s){this.delegate.appendChild(o,s),this.engine.onInsert(this.namespaceId,s,o,!1)}insertBefore(o,s,d,f=!0){this.delegate.insertBefore(o,s,d),this.engine.onInsert(this.namespaceId,s,o,f)}removeChild(o,s,d){this.parentNode(s)&&this.engine.onRemove(this.namespaceId,s,this.delegate)}selectRootElement(o,s){return this.delegate.selectRootElement(o,s)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,s,d,f){this.delegate.setAttribute(o,s,d,f)}removeAttribute(o,s,d){this.delegate.removeAttribute(o,s,d)}addClass(o,s){this.delegate.addClass(o,s)}removeClass(o,s){this.delegate.removeClass(o,s)}setStyle(o,s,d,f){this.delegate.setStyle(o,s,d,f)}removeStyle(o,s,d){this.delegate.removeStyle(o,s,d)}setProperty(o,s,d){"@"==s.charAt(0)&&s==Xo?this.disableAnimations(o,!!d):this.delegate.setProperty(o,s,d)}setValue(o,s){this.delegate.setValue(o,s)}listen(o,s,d){return this.delegate.listen(o,s,d)}disableAnimations(o,s){this.engine.disableAnimations(o,s)}}class wo extends Yo{constructor(o,s,d,f,y){super(s,d,f,y),this.factory=o,this.namespaceId=s}setProperty(o,s,d){"@"==s.charAt(0)?"."==s.charAt(1)&&s==Xo?this.disableAnimations(o,d=void 0===d||!!d):this.engine.process(this.namespaceId,o,s.slice(1),d):this.delegate.setProperty(o,s,d)}listen(o,s,d){if("@"==s.charAt(0)){const f=function $e(l){switch(l){case"body":return document.body;case"document":return document;case"window":return window;default:return l}}(o);let y=s.slice(1),T="";return"@"!=y.charAt(0)&&([y,T]=function yi(l){const o=l.indexOf(".");return[l.substring(0,o),l.slice(o+1)]}(y)),this.engine.listen(this.namespaceId,f,y,T,(S=>{this.factory.scheduleListenerCallback(S._data||-1,d,S)}))}return this.delegate.listen(o,s,d)}}class ar{constructor(o,s,d){this.delegate=o,this.engine=s,this._zone=d,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,s.onRemovalComplete=(f,y)=>{y?.removeChild(null,f)}}createRenderer(o,s){const f=this.delegate.createRenderer(o,s);if(!o||!s?.data?.animation){const Q=this._rendererCache;let fe=Q.get(f);return fe||(fe=new Yo("",f,this.engine,(()=>Q.delete(f))),Q.set(f,fe)),fe}const y=s.id,T=s.id+"-"+this._currentId;this._currentId++,this.engine.register(T,o);const S=Q=>{Array.isArray(Q)?Q.forEach(S):this.engine.registerTrigger(y,T,o,Q.name,Q)};return s.data.animation.forEach(S),new wo(this,T,f,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask((()=>{this._microtaskId++}))}scheduleListenerCallback(o,s,d){if(o>=0&&o<this._microtaskId)return void this._zone.run((()=>s(d)));const f=this._animationCallbacksBuffer;0==f.length&&queueMicrotask((()=>{this._zone.run((()=>{f.forEach((y=>{const[T,S]=y;T(S)})),this._animationCallbacksBuffer=[]}))})),f.push([s,d])}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 xr=[{provide:ut,useFactory:function Bs(){return new Br}},{provide:qn,useClass:(()=>{class l extends qn{constructor(s,d,f){super(s,d,f)}ngOnDestroy(){this.flush()}static#e=this.ɵfac=function(d){return new(d||l)(u.KVO(x.qQ),u.KVO(Qi),u.KVO(ut))};static#t=this.ɵprov=u.jDH({token:l,factory:l.ɵfac})}return l})()},{provide:u._9s,useFactory:function Ua(l,o,s){return new ar(l,o,s)},deps:[Ce.B7,qn,u.SKi]}],Zo=[{provide:Qi,useFactory:()=>new St},{provide:u.bc$,useValue:"BrowserAnimations"},...xr],w=[{provide:Qi,useClass:Rt},{provide:u.bc$,useValue:"NoopAnimations"},...xr];let D=(()=>{class l{static withConfig(s){return{ngModule:l,providers:s.disableAnimations?w:Zo}}static#e=this.ɵfac=function(d){return new(d||l)};static#t=this.ɵmod=u.$C({type:l});static#n=this.ɵinj=u.G2t({providers:Zo,imports:[Ce.Bb]})}return l})();var Le=V(3400);const lt=["*"];function qt(l,o){if(1&l&&(u.j41(0,"span",7),u.SdG(1),u.k0s()),2&l){const s=u.XpG(2);u.BMQ("id",s.infoBlockID)}}function xe(l,o){if(1&l){const s=u.RV6();u.qex(0),u.j41(1,"a",3),u.bIt("click",(function(){u.eBV(s);const f=u.XpG();return u.Njj(f.toggleInfoBlock())})),u.nrm(2,"span",4)(3,"span",5),u.k0s(),u.DNE(4,qt,2,1,"span",6),u.bVm()}if(2&l){const s=u.XpG();u.R7$(),u.BMQ("id",s.infoIconID)("title",s.toggleActionTitle),u.R7$(2),u.Y8G("innerHtml",s.toggleActionTitle,u.npT),u.R7$(),u.Y8G("ngIf",s.showInfoBlock)}}function js(l,o){if(1&l&&u.EFF(0),2&l){const s=u.XpG();u.SpI(" ",s.locale.maketext("Loading …"),"\n")}}function Bl(l,o){1&l&&u.eu8(0)}const jl=["header"],aa=[[["","callout-heading",""]],"*"],$s=["[callout-heading]","*"];function Lt(l,o){if(1&l){const s=u.RV6();u.j41(0,"button",4),u.bIt("click",(function(){u.eBV(s);const f=u.XpG();return u.Njj(f.closeClicked())})),u.nrm(1,"i",5),u.k0s()}if(2&l){const s=u.XpG();u.BMQ("id",s.buttonID)}}function _s(l,o){if(1&l&&(u.j41(0,"li",3),u.nrm(1,"i",4)(2,"span",5),u.k0s()),2&l){const s=o.$implicit;u.BMQ("id",s.id),u.R7$(2),u.Y8G("innerHtml",s.message,u.npT)}}function Vi(l,o){if(1&l&&(u.j41(0,"ul",1),u.DNE(1,_s,3,2,"li",2),u.k0s()),2&l){const s=u.XpG();u.R7$(),u.Y8G("ngForOf",s.getFieldErrors())}}const Jo=l=>({visibility:l});function zs(l,o){if(1&l){const s=u.RV6();u.j41(0,"button",9),u.bIt("click",(function(){u.eBV(s);const f=u.XpG(2);return u.Njj(f.fireClose())})),u.j41(1,"span"),u.EFF(2,"×"),u.k0s()()}if(2&l){const s=u.XpG(2);u.Y8G("id",s.closeButtonID)("title",s.closeLabel),u.BMQ("aria-label",s.closeLabel),u.R7$(),u.BMQ("aria-hidden",!0)}}function Xe(l,o){if(1&l){const s=u.RV6();u.j41(0,"button",10),u.bIt("click",(function(){u.eBV(s);const f=u.XpG(2);return u.Njj(f.fireToggleMore())})),u.EFF(1),u.k0s()}if(2&l){const s=u.XpG(2);u.Y8G("id",s.moreButtonID),u.R7$(),u.SpI(" ",s.moreLabel," ")}}function vs(l,o){if(1&l&&(u.j41(0,"strong",11),u.EFF(1),u.k0s()),2&l){const s=u.XpG(2);u.R7$(),u.JRh(s.label)}}function es(l,o){if(1&l&&(u.j41(0,"span",12),u.EFF(1),u.k0s()),2&l){const s=u.XpG(2);u.Y8G("id",s.textMessageID),u.R7$(),u.SpI(" ",s.message," ")}}function so(l,o){if(1&l&&(u.j41(0,"li")(1,"span",12),u.EFF(2),u.k0s()()),2&l){const s=o.$implicit,d=o.index,f=u.XpG(3);u.R7$(),u.FS9("id",f.textListID+"_"+d),u.R7$(),u.SpI(" ",s," ")}}function Cs(l,o){if(1&l&&(u.j41(0,"ul",13),u.DNE(1,so,3,2,"li",14),u.k0s()),2&l){const s=u.XpG(2);u.R7$(),u.Y8G("ngForOf",s.alert.list)}}function Hl(l,o){if(1&l&&(u.j41(0,"div",1),u.DNE(1,zs,3,4,"button",2)(2,Xe,2,2,"button",3),u.nrm(3,"span"),u.j41(4,"div",4),u.DNE(5,vs,2,1,"strong",5),u.j41(6,"span",6),u.DNE(7,es,2,2,"span",7),u.k0s(),u.DNE(8,Cs,2,1,"ul",8),u.k0s()()),2&l){const s=u.XpG();u.ZvI("alert alert-",s.type," ng-hide"),u.Y8G("@openClose",s.animationClass),u.R7$(),u.Y8G("ngIf",s.showCloseButton),u.R7$(),u.Y8G("ngIf",s.showMoreButton),u.R7$(),u.HbH(s.icon),u.BMQ("aria-hidden",!0),u.R7$(2),u.Y8G("ngIf",s.hasLabel),u.R7$(2),u.Y8G("ngIf",s.message),u.R7$(),u.Y8G("ngIf",s.alert&&s.alert.list&&s.alert.list.length)}}function ws(l,o){if(1&l){const s=u.RV6();u.j41(0,"div",6)(1,"cp-alert",7),u.bIt("close",(function(){const f=u.eBV(s).$implicit,y=u.XpG();return u.Njj(y.alertClosed(f))})),u.k0s()()}if(2&l){const s=o.$implicit;u.R7$(),u.Y8G("alert",s)}}function Ba(l,o){if(1&l&&u.nrm(0,"div",8),2&l){const s=u.XpG();u.Y8G("ngClass",s.positionClasses)}}const Gl=["searchInput"];function zl(l,o){if(1&l&&(u.j41(0,"span",6),u.EFF(1),u.k0s()),2&l){const s=u.XpG();u.R7$(),u.JRh(s.clearIconLabel)}}function qs(l,o){if(1&l){const s=u.RV6();u.j41(0,"button",3),u.bIt("click",(function(){const f=u.eBV(s).$implicit,y=u.XpG();return u.Njj(y.onOptionClicked(f))})),u.k0s()}if(2&l){const s=o.$implicit,d=u.XpG();u.Y8G("disabled",d.disabled)("selected",d.isOptionSelected(s))("value",s)}}function Ks(l,o){1&l&&u.EFF(0," >\n")}function yt(l,o){1&l&&u.EFF(0," <\n")}function Ds(l,o){1&l&&u.EFF(0," >>\n")}function ha(l,o){1&l&&u.EFF(0," <<\n")}class gn{static#e=this.defaultShowMore=!1;static#t=this.defaultAutoClosePeriod=0;static#n=this.defaultOptions={autoClosePeriod:gn.defaultAutoClosePeriod,list:[]};constructor(o,s,d=gn.defaultOptions){this._message=o,this._type=s;const f=d.id?d.id:Math.random().toString(36).substr(2,9);this._id=f,this._closable=null==d.isCloseable||d.isCloseable,this._autoClosePeriod=d.autoClosePeriod,this._list=d.list,this._showMore=d.showMore||gn.defaultShowMore,this._ts=null==d.createdOn?Date.now():d.createdOn}get message(){return this._message}get type(){return this._type}get id(){return this._id}get isClosable(){return this._closable}get autoCloses(){return this._autoClosePeriod>0}get autoClosePeriod(){return this._autoClosePeriod}get list(){return this._list}get createdOn(){return this._ts}get showMore(){return this._showMore}static makeAlert(o){const{message:s,type:d,...f}=o;return new gn(s,d,f)}}var Kt=function(l){return l[l.error=0]="error",l[l.success=1]="success",l[l.warning=2]="warning",l[l.information=3]="information",l}(Kt||{}),ji=function(l){return l.add="add",l.remove="remove",l.clear="clear",l}(ji||{});let Fo=(()=>{class l{static#e=this.defaultGroup="__DEFAULT__";static#t=this.defaultSuccessOptions={autoClosePeriod:1e4};constructor(){this._alertEventsSource=new te.B,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add(s,d=l.defaultGroup){this._alerts[d]||(this._alerts[d]=[]);const f=s instanceof gn?s:gn.makeAlert(s);if(this.list(d).push(f),this._alertEventsSource.next({type:ji.add,group:d,alert:f}),(0,u.naY)())switch(f.type){case Kt.error:console.error(f.message,f);break;case Kt.warning:console.warn(f.message,f);break;default:console.log(f.message,f)}return f}success(s,d=l.defaultGroup){return this.add(new gn(s,Kt.success,l.defaultSuccessOptions),d)}error(s,d=l.defaultGroup){return this.add({message:s,type:Kt.error},d)}info(s,d=l.defaultGroup){return this.add({message:s,type:Kt.information},d)}warn(s,d=l.defaultGroup){return this.add({message:s,type:Kt.warning},d)}removeById(s,d=l.defaultGroup){const f=this.list(d),y=f.findIndex((T=>T.id===s),0);if(-1!==y){const T=f[y];f.splice(y,1),this._alertEventsSource.next({type:ji.remove,group:d,alert:T})}}clear(s=l.defaultGroup){this._alerts[s]=[],this._alertEventsSource.next({type:ji.clear,group:s})}list(s=l.defaultGroup){return null==this._alerts[s]&&(this._alerts[s]=[]),this._alerts[s]}static#n=this.ɵfac=function(d){return new(d||l)};static#r=this.ɵprov=u.jDH({token:l,factory:l.ɵfac,providedIn:"root"})}return l})();var vi=function(l){return l.inline="inline",l.topLeft="top-left",l.topMiddle="top-middle",l.topRight="top-right",l.bottomLeft="bottom-left",l.bottomMiddle="bottom-middle",l.bottomRight="bottom-right",l.middleLeft="middle-left",l.middleMiddle="middle-middle",l.middleRight="middle-right",l}(vi||{});const b=vi.topRight,v=vi.topLeft;let pe=(()=>{class l{constructor(s){this.locale=s,this.showInfoToggle=!0,this.toggleActionTitleExpand=s.maketext("Expand"),this.toggleActionTitleCollapse=s.maketext("Collapse")}toggleInfoBlock(){this.showInfoBlock=!this.showInfoBlock,this.updateToggleActionTitle(this.showInfoBlock)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-form-label`");this.labelID=`${this.id}_label`,this.infoIconID=`${this.id}_infoIcon`,this.infoBlockID=`${this.id}_infoBlock`,this.showInfoBlock=(!0===this.showInfoBlock||!1===this.showInfoBlock)&&this.showInfoBlock,this.updateToggleActionTitle(this.showInfoBlock)}updateToggleActionTitle(s){this.toggleActionTitle=s?this.toggleActionTitleCollapse:this.toggleActionTitleExpand}static#e=this.ɵfac=function(d){return new(d||l)(u.rXU(J.h))};static#t=this.ɵcmp=u.VBU({type:l,selectors:[["cp-form-label"]],inputs:{id:"id",for:"for",showInfoBlock:"showInfoBlock",labelText:"labelText",showInfoToggle:"showInfoToggle"},ngContentSelectors:lt,decls:4,vars:4,consts:[[1,"toggle-info-label-container"],[3,"innerHtml"],[4,"ngIf"],["href","javascript:void(0)",1,"text-primary","form-info-sign",3,"click"],["aria-hidden","true",1,"far","fa-question-circle","text-primary"],[1,"sr-only",3,"innerHtml"],["class","info-block",4,"ngIf"],[1,"info-block"]],template:function(d,f){1&d&&(u.NAR(),u.j41(0,"div",0),u.nrm(1,"label",1),u.EFF(2," "),u.DNE(3,xe,5,4,"ng-container",2),u.k0s()),2&d&&(u.R7$(),u.Y8G("innerHtml",f.labelText,u.npT),u.BMQ("id",f.labelID)("for",f.for),u.R7$(2),u.Y8G("ngIf",f.showInfoToggle))},dependencies:[x.bT],styles:["label[_ngcontent-%COMP%]{margin:0 0 5px}.info-block[_ngcontent-%COMP%]{color:#737373;display:block;margin:0 0 5px;font-weight:400;font-size:13px}"]})}return l})(),Qt=(()=>{class l{static#e=this.ɵfac=function(d){return new(d||l)};static#t=this.ɵmod=u.$C({type:l});static#n=this.ɵinj=u.G2t({imports:[x.MD,Z.B]})}return l})(),Nt=(()=>{class l{constructor(s){this.locale=s,this.containerId="",this.spinnerId="",this.messageId=""}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-loading-spinner`");this.containerId=this.id+"_loadingSpinnerContainer",this.spinnerId=this.id+"_loadingSpinner",this.messageId=this.id+"_loadingMessage"}static#e=this.ɵfac=function(d){return new(d||l)(u.rXU(J.h))};static#t=this.ɵcmp=u.VBU({type:l,selectors:[["cp-loading-spinner"]],inputs:{loadingTemplate:"loadingTemplate",id:"id"},decls:6,vars:4,consts:[["defaultLoadingTemplate",""],["aria-busy","true","aria-live","polite",1,"loading-spinner-container"],[1,"fas","fa-spinner","fa-spin","spinner"],[1,"loading-spinner-message"],[4,"ngTemplateOutlet"]],template:function(d,f){if(1&d&&(u.DNE(0,js,1,1,"ng-template",null,0,u.C5r),u.j41(2,"div",1),u.nrm(3,"i",2),u.j41(4,"div",3),u.DNE(5,Bl,1,0,"ng-container",4),u.k0s()()),2&d){const y=u.sdS(1);u.R7$(2),u.BMQ("id",f.containerId),u.R7$(),u.BMQ("id",f.spinnerId),u.R7$(),u.BMQ("id",f.messageId),u.R7$(),u.Y8G("ngTemplateOutlet",f.loadingTemplate?f.loadingTemplate:y)}},dependencies:[x.T3],styles:['.loading-spinner-container[_ngcontent-%COMP%]{background-color:#d7edf9;border:1px solid #179bd7;border-radius:2px;margin-bottom:20px;box-shadow:inset 41px 0 #179bd7}html[dir="ltr"][_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%]{box-shadow:inset 40px 0 #179bd7}html[dir="rtl"][_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%]{box-shadow:inset -40px 0 #179bd7}.spinner[_ngcontent-%COMP%]{color:#d7edf9;font-size:20px;display:inline-block;padding:10px}.loading-spinner-message[_ngcontent-%COMP%]{color:#333;display:inline-block;overflow-wrap:break-word;word-wrap:break-word}.loading-spinner-message[_ngcontent-%COMP%] a{text-decoration:underline;color:#255783}html[dir="ltr"][_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%]{margin:0 0 0 10px}html[dir="rtl"][_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%]{margin:0 10px 0 0}']})}return l})(),nn=(()=>{class l{static#e=this.ɵfac=function(d){return new(d||l)};static#t=this.ɵmod=u.$C({type:l});static#n=this.ɵinj=u.G2t({imports:[x.MD,Z.B]})}return l})();var $i=function(l){return l.warnings="warnings",l.danger="danger",l.info="info",l.default="info",l}($i||{});let Ci=(()=>{class l{constructor(){this.calloutType=$i.default,this.closeable=!1,this.close=new u.bkB}closeClicked(){this.close.emit(null)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-callout`");this.buttonID=`${this.id}_button`,this.headingID=`${this.id}_heading`,this.contentID=`${this.id}_content`}ngAfterViewInit(){0===this.header.nativeElement.children.length&&this.header.nativeElement.classList.add("hidden")}static#e=this.ɵfac=function(d){return new(d||l)};static#t=this.ɵcmp=u.VBU({type:l,selectors:[["cp-callout"]],viewQuery:function(d,f){if(1&d&&u.GBs(jl,5),2&d){let y;u.mGM(y=u.lsd())&&(f.header=y.first)}},inputs:{id:"id",calloutType:"calloutType",closeable:"closeable"},outputs:{close:"close"},ngContentSelectors:$s,decls:7,vars:7,consts:[["header",""],["role","alert"],["type","button","class","close","aria-label","Close",3,"click",4,"ngIf"],[1,"callout-heading"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true",1,"fas","fa-sm","fa-times"]],template:function(d,f){1&d&&(u.NAR(aa),u.j41(0,"div",1),u.DNE(1,Lt,2,1,"button",2),u.j41(2,"div",3,0),u.SdG(4),u.k0s(),u.j41(5,"div"),u.SdG(6,1),u.k0s()()),2&d&&(u.ZvI("callout callout-",f.calloutType,""),u.BMQ("aria-label",f.calloutType),u.R7$(),u.Y8G("ngIf",f.closeable),u.R7$(),u.BMQ("id",f.headingID),u.R7$(3),u.BMQ("id",f.contentID))},dependencies:[x.bT],styles:['.callout[_ngcontent-%COMP%]{border-left-width:3px;border-left-style:solid;border-left-color:#eee;margin:15px 0;padding:15px}.callout-danger[_ngcontent-%COMP%]{background-color:#f2dede;border-left-color:#d03f00}.callout-success[_ngcontent-%COMP%]{background-color:#dff2d5;border-left-color:#83b655}.callout-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border-left-color:#f6c342}.callout-info[_ngcontent-%COMP%]{background-color:#d7edf9;border-left-color:#179bd7}.callout-heading[_ngcontent-%COMP%]{font-size:16px;margin-bottom:15px;font-family:inherit;font-weight:600;line-height:1.1;color:inherit;text-transform:capitalize}html[dir="rtl"][_nghost-%COMP%] .callout[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout[_ngcontent-%COMP%]{border-left-width:0;border-left-style:none;border-left-color:transparent;border-right-width:3px;border-right-style:solid;border-right-color:#eee}html[dir="rtl"][_nghost-%COMP%] .callout-danger[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-danger[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#d03f00}html[dir="rtl"][_nghost-%COMP%] .callout-success[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-success[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#83b655}html[dir="rtl"][_nghost-%COMP%] .callout-warning[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-warning[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#f6c342}html[dir="rtl"][_nghost-%COMP%] .callout-info[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-info[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#179bd7}']})}return l})(),Eo=(()=>{class l{static#e=this.ɵfac=function(d){return new(d||l)};static#t=this.ɵmod=u.$C({type:l});static#n=this.ɵinj=u.G2t({imports:[x.MD]})}return l})(),ii=(()=>{class l{constructor(){}hasErrors(){return this.control&&!this.control.valid}hasChanged(){return this.control&&(this.control.dirty||this.control.touched)}getFieldErrors(){return this.control?Object.keys(this.control.errors).map((s=>(this.control.errors[s].id=`${this.id}_${s}`,this.control.errors[s].key=s,this.control.errors[s]))):[]}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-validation-container`")}static#e=this.ɵfac=function(d){return new(d||l)};static#t=this.ɵcmp=u.VBU({type:l,selectors:[["cp-validation-container"]],inputs:{control:"control",id:"id"},decls:1,vars:1,consts:[["class","validation-container",4,"ngIf"],[1,"validation-container"],["class","validation validation-error ng-hide",4,"ngFor","ngForOf"],[1,"validation","validation-error","ng-hide"],[1,"fas","fa-exclamation-circle"],[1,"validation-message",3,"innerHtml"]],template:function(d,f){1&d&&u.DNE(0,Vi,2,1,"ul",0),2&d&&u.Y8G("ngIf",f.hasErrors()&&f.hasChanged())},dependencies:[x.Sq,x.bT],styles:['.validation-container[_ngcontent-%COMP%]{background-color:#f8c9c4;border:1px solid #a94442;padding:5px;border-radius:2px;list-style:none;margin-bottom:0;margin-top:5px}.validation-error[_ngcontent-%COMP%]{position:relative;line-height:20px}.validation-error[_ngcontent-%COMP%] > .fas[_ngcontent-%COMP%]{color:#a94442;display:inline-block;position:absolute;top:4px}.validation-message[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;margin-left:20px}html[dir="rtl"][_nghost-%COMP%] .validation-message[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .validation-message[_ngcontent-%COMP%]{margin-right:20px;margin-left:0}']})}return l})(),zr=(()=>{class l{static#e=this.ɵfac=function(d){return new(d||l)};static#t=this.ɵmod=u.$C({type:l});static#n=this.ɵinj=u.G2t({imports:[x.MD]})}return l})();var Wr=function(l){return l.loading="loading",l.disabled="disabled",l.enabled="enabled",l}(Wr||{});let oi=(()=>{class l{constructor(){this.click=new u.bkB,this.type="button",this.buttonClass="btn-primary",this.isDisabled=!1,this.showSpinner=!1}set buttonState(s){switch(s){case Wr.enabled:this.setToEnabled();break;case Wr.loading:this.setToLoading();break;case Wr.disabled:this.setToDisable()}}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-action-button`")}onClick(s){s.stopPropagation(),this.click.emit()}setToLoading(){this.isDisabled=!0,this.showSpinner=!0}setToDisable(){this.isDisabled=!0}setToEnabled(){this.isDisabled=!1,this.showSpinner=!1}static#e=this.ɵfac=function(d){return new(d||l)};static#t=this.ɵcmp=u.VBU({type:l,selectors:[["cp-action-button"]],inputs:{id:"id",type:"type",buttonClass:"buttonClass",buttonState:"buttonState"},outputs:{click:"click"},ngContentSelectors:lt,decls:3,vars:10,consts:[[1,"btn","action-button",3,"click","id","type","ngClass","disabled"],[1,"fas","fa-sync","fa-spin",3,"id","ngStyle"]],template:function(d,f){1&d&&(u.NAR(),u.j41(0,"button",0),u.bIt("click",(function(T){return f.onClick(T)})),u.nrm(1,"i",1),u.SdG(2),u.k0s()),2&d&&(u.Mz_("id","",f.id,"-button"),u.FS9("type",f.type),u.Y8G("ngClass",f.buttonClass)("disabled",f.isDisabled),u.R7$(),u.Mz_("id","",f.id,"-spinner"),u.Y8G("ngStyle",u.eq3(8,Jo,f.showSpinner?"visible":"hidden")))},dependencies:[x.YU,x.B3],styles:['.action-button[_ngcontent-%COMP%]{padding:6px 26px 6px 12px}html[dir="rtl"][_nghost-%COMP%] .action-button[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .action-button[_ngcontent-%COMP%]{padding:6px 12px 6px 26px}']})}return l})(),Rr=(()=>{class l{static#e=this.ɵfac=function(d){return new(d||l)};static#t=this.ɵmod=u.$C({type:l});static#n=this.ɵinj=u.G2t({imports:[x.MD]})}return l})();var jn=function(l){return l.new="new",l.closed="closed",l.open="open",l}(jn||{});let fa=(()=>{class l{constructor(s){this.locale=s,this.close=new u.bkB,this.toggleMore=new u.bkB,this.animationClass=jn.new}get icon(){switch(this.alert.type){case Kt.error:return"type-icon fas fa-times-circle";case Kt.warning:return"type-icon fas fa-exclamation-triangle";case Kt.information:return"type-icon fas fa-info-circle";case Kt.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case Kt.error:return"danger";case Kt.warning:return"warning";case Kt.information:return"info";case Kt.success:return"success"}}get hasLabel(){const s=this.label;return null!==s&&""!==s}get showCloseButton(){return this.alert.isClosable}get showMoreButton(){return this.alert.showMore&&this.toggleMore.observers.length>0}get message(){return this.alert.message}get willAutoClose(){return this.autoClosePeriod>0}get autoClosePeriod(){return this.alert.autoClosePeriod}get isClosed(){return this._closed}ngOnInit(){if(this._showMore=!1,this._closed=!1,this.moreButtonID=this._buildID("btnMore",this.type,this.alert.id),this.closeButtonID=this._buildID("btnClose",this.type,this.alert.id),this.textMessageID=this._buildID("txtMessage",this.type,this.alert.id),this.textListID=this._buildID("txtList",this.type,this.alert.id),!this.label)switch(this.alert.type){case Kt.success:this.label=this.locale.maketext("Success:");break;case Kt.error:this.label=this.locale.maketext("Error:");break;case Kt.information:this.label=this.locale.maketext("Information:");break;case Kt.warning:this.label=this.locale.maketext("Warning:")}this.moreLabel||(this.moreLabel=this.locale.maketext("More")),this.closeLabel||(this.closeLabel=this.locale.maketext("Close")),setTimeout((()=>{this.animationClass=jn.open}),.25)}ngAfterViewInit(){this.willAutoClose&&this.startTimer()}fireToggleMore(){this._showMore=!this._showMore,this.toggleMore.emit({alert:this.alert,showMore:this._showMore,component:this})}fireClose(){this._timeout&&this.clearTimer(),this.animationClass=jn.closed,setTimeout((()=>{this.close.emit({alert:this.alert,component:this}),this._closed=!0}),250)}fireTimeout(){this.fireClose(),this.clearTimer()}startTimer(){this._timeout=setTimeout((()=>this.fireTimeout()),this.autoClosePeriod)}clearTimer(){this._timeout&&(clearTimeout(this._timeout),this._timeout=null)}_buildID(...s){return s.join("_")}static#e=this.ɵfac=function(d){return new(d||l)(u.rXU(J.h))};static#t=this.ɵcmp=u.VBU({type:l,selectors:[["cp-alert"]],inputs:{alert:"alert",label:"label",closeLabel:"closeLabel",moreLabel:"moreLabel"},outputs:{close:"close",toggleMore:"toggleMore"},decls:1,vars:1,consts:[["role","alert",3,"class",4,"ngIf"],["role","alert"],["type","button","class","close",3,"id","title","click",4,"ngIf"],["type","button","class","btn btn-more btn-link pull-right flip",3,"id","click",4,"ngIf"],[1,"alert-message"],["class","alert-title",4,"ngIf"],[1,"alert-body"],[3,"id",4,"ngIf"],["class","alert-list",4,"ngIf"],["type","button",1,"close",3,"click","id","title"],["type","button",1,"btn","btn-more","btn-link","pull-right","flip",3,"click","id"],[1,"alert-title"],[3,"id"],[1,"alert-list"],[4,"ngFor","ngForOf"]],template:function(d,f){1&d&&u.DNE(0,Hl,9,13,"div",0),2&d&&u.Y8G("ngIf",!f.isClosed)},dependencies:[x.Sq,x.bT],styles:['.alert-danger[_ngcontent-%COMP%]{background-color:#f2dede;border:1px solid #d03f00}html[dir="ltr"][_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #d03f00}html[dir="rtl"][_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #d03f00}.alert-success[_ngcontent-%COMP%]{background-color:#dff2d5;border:1px solid #83b655}html[dir="ltr"][_nghost-%COMP%] .alert-success[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-success[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #83b655}html[dir="rtl"][_nghost-%COMP%] .alert-success[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-success[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #83b655}.alert-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border:1px solid #f6c342}html[dir="ltr"][_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #f6c342}html[dir="rtl"][_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #f6c342}.alert-info[_ngcontent-%COMP%]{background-color:#d7edf9;border:1px solid #179bd7}html[dir="ltr"][_nghost-%COMP%] .alert-info[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-info[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #179bd7}html[dir="rtl"][_nghost-%COMP%] .alert-info[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-info[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #179bd7}.alert[_ngcontent-%COMP%]{position:relative;border-radius:2px;padding:10px 30px 10px 50px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%]{padding:10px 50px 10px 30px}.alert-message[_ngcontent-%COMP%]{color:#333;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word}.alert-message[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:underline}.alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{top:-2px;position:relative;right:-21px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{left:-21px;right:auto}.alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#f2dede;left:10px;position:absolute;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:20px;line-height:20px;top:9px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{left:auto;right:10px}.alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{opacity:.5}.alert-success[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#dff2d5}.alert-warning[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#fcf8e1}.alert-info[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#d7edf9}.alert[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-bottom:0;padding:0 30px}.alert-warning[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#8a6d3b}.alert-warning[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-success[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#3c763d}.alert-success[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-info[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#31708f}.alert-info[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-danger[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#a94442}.alert-danger[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert[_ngcontent-%COMP%] .btn-more[_ngcontent-%COMP%]{padding:0;margin:0;line-height:1em;text-transform:none;color:#255783}'],data:{animation:[(0,z.hZ)("openClose",[(0,z.wk)(jn.new,(0,z.iF)({opacity:0})),(0,z.wk)(jn.open,(0,z.iF)({opacity:1})),(0,z.wk)(jn.closed,(0,z.iF)({opacity:0,transform:"translateX(25%)"})),(0,z.kY)(`${jn.open} => ${jn.closed}`,[(0,z.i0)("0.25s")]),(0,z.kY)(`${jn.new} => ${jn.open}`,[(0,z.i0)("0.25s")]),(0,z.kY)(`${jn.closed} => ${jn.open}`,[(0,z.i0)("0.25s")])])]}})}return l})(),gu=(()=>{class l{static#e=this.ɵfac=function(d){return new(d||l)};static#t=this.ɵmod=u.$C({type:l});static#n=this.ɵinj=u.G2t({imports:[x.MD,D,Z.B]})}return l})(),Xl=(()=>{class l{constructor(s){this.locale=s}get position(){return this.locale.isLtr?b:v}static#e=this.ɵfac=function(d){return new(d||l)(u.KVO(J.h))};static#t=this.ɵprov=u.jDH({token:l,factory:l.ɵfac,providedIn:"root"})}return l})(),Yl=(()=>{class l{static#e=this.positionPrefix="position-";constructor(s,d){this._alertService=s,this._positionService=d,this.alerts=this.alerts?this.alerts:[]}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?l.positionPrefix+vi.inline.toString():l.positionPrefix+this.position.toString()}get position(){return this._position.toString()}set position(s){this._position=((l,o=vi.topRight)=>{if(l){const s=(l=>{const o=Object.keys(vi),d=Object.values(vi).indexOf(l);return-1!==d?o[d]:(console.warn("Invalid alertList.position set. It must be one of: top-left, top-middle, top-right, bottom-left, bottom-middle, bottom-right, middle-left, middle-middle, middle-right"),null)})(l);if(s)return vi[s]}return o})(s)}alertClosed(s){this._alertService.removeById(s.id,this.group)}ngOnInit(){this.group||(this.group=Fo.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach((d=>this._addAlert(d))),this._groupEvents=this._alertService.alertEvents.pipe((0,H.p)((d=>d.group===this.group))),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById(s){return this.alerts.findIndex((d=>d.id===s))}_addAlert(s){return this.alerts.push(s),this.alerts}_removeAlert(s){const d=this._findAlertIndexById(s.id);return d>-1&&(this.alerts.splice(d,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent(s){switch(s.type){case ji.add:this._addAlert(s.alert);break;case ji.clear:this._clearAlerts();break;case ji.remove:this._removeAlert(s.alert)}}static#t=this.ɵfac=function(d){return new(d||l)(u.rXU(Fo),u.rXU(Xl))};static#n=this.ɵcmp=u.VBU({type:l,selectors:[["cp-alert-list"]],inputs:{alerts:"alerts",group:"group",inline:"inline",position:"position"},decls:7,vars:3,consts:[["container",""],["list",""],[1,"alert-list-container",3,"ngClass"],[1,"alert-list"],["class","alert-container",4,"ngFor","ngForOf"],["class","alert-list-backdrop",3,"ngClass",4,"ngIf"],[1,"alert-container"],[3,"close","alert"],[1,"alert-list-backdrop",3,"ngClass"]],template:function(d,f){1&d&&(u.j41(0,"div")(1,"div",2,0)(3,"div",3,1),u.DNE(5,ws,2,1,"div",4),u.k0s()(),u.DNE(6,Ba,1,1,"div",5),u.k0s()),2&d&&(u.R7$(),u.Y8G("ngClass",f.positionClasses),u.R7$(4),u.Y8G("ngForOf",f.alerts),u.R7$(),u.Y8G("ngIf",f.hasAlerts))},dependencies:[x.YU,x.Sq,x.bT,fa],styles:[".alert-list-container.position-inline[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:5px}@media (min-width: 768px){.alert-list-container.position-inline[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-top-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-container.position-top-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-top-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}.alert-list-container.position-middle-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-backdrop.position-middle-middle[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:899;overflow:hidden;outline:0;background-color:#000;opacity:.5}.alert-list-container.position-middle-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-middle-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}.alert-list-container.position-bottom-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-bottom-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}@media (max-width: 768px){.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){position:fixed;z-index:900;min-width:25%;padding-left:1px;padding-right:1px;inset:0 auto auto 0;transform:none;max-width:100%;min-width:100%;width:100%}.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%]{width:100%}.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar{overflow-y:scroll}.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%]{margin-bottom:5px}}@media (max-width: 768px) and (max-width: 768px){.whostmgr.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .whostmgr[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .whostmgr [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .whostmgr[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .whostmgr [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){max-width:calc(100% - 218px)}}@media (max-width: 768px) and (max-width: 768px){.cpanel.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){max-width:calc(100% - 50px)}}@media (max-width: 768px) and (min-width: 768px){.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%]{max-width:500px}}"]})}return l})(),qr=(()=>{class l{static#e=this.ɵfac=function(d){return new(d||l)};static#t=this.ɵmod=u.$C({type:l});static#n=this.ɵinj=u.G2t({imports:[x.MD,gu]})}return l})(),$a=(()=>{class l{constructor(s){this.locale=s,this.autofocus=!1,this.debounce=250,this.disabled=!1,this.label="Search",this.placeholder="Search",this.valueChange=new u.bkB,this._searchSubject=new te.B,this._unsubscribe=new te.B,delete this.label,delete this.placeholder}get value(){return this._value}set value(s){this._value=s,this._searchSubject.next(s)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-search`");this.clearIconLabel=this.locale.maketext("Clear Input"),this.label||(this.label=this.locale.maketext("Search")),this.placeholder||(this.placeholder=this.locale.maketext("Search")),this._searchSubject.pipe((0,$.Q)(this._unsubscribe),(0,G.B)(this.debounce),(0,K.F)()).subscribe((s=>{this.valueChange.emit(s)}))}ngAfterViewInit(){this.autofocus&&this.searchInput.nativeElement.focus()}ngOnDestroy(){this._unsubscribe.next(),this._unsubscribe.complete()}clearValue(){this.value=""}static#e=this.ɵfac=function(d){return new(d||l)(u.rXU(J.h))};static#t=this.ɵcmp=u.VBU({type:l,selectors:[["cp-search"]],viewQuery:function(d,f){if(1&d&&u.GBs(Gl,5),2&d){let y;u.mGM(y=u.lsd())&&(f.searchInput=y.first)}},inputs:{autofocus:"autofocus",debounce:"debounce",disabled:"disabled",id:"id",label:"label",placeholder:"placeholder",list:"list",value:"value"},outputs:{valueChange:"valueChange"},decls:6,vars:14,consts:[["searchInput",""],["role","search",1,"input-group"],["data-test","input","type","search",1,"form-control",3,"ngModelChange","keyup.esc","ngModel","disabled","id","placeholder","title"],["data-test","addon",1,"input-group-addon",3,"click","id"],["aria-hidden","true","data-test","icon",3,"ngClass","id"],["class","sr-only",4,"ngIf"],[1,"sr-only"]],template:function(d,f){if(1&d){const y=u.RV6();u.j41(0,"div",1)(1,"input",2,0),u.mxI("ngModelChange",(function(S){return u.eBV(y),u.DH7(f.value,S)||(f.value=S),u.Njj(S)})),u.bIt("keyup.esc",(function(){return u.eBV(y),u.Njj(f.clearValue())})),u.k0s(),u.j41(3,"span",3),u.bIt("click",(function(){return u.eBV(y),u.Njj(f.clearValue())})),u.nrm(4,"span",4),u.DNE(5,zl,2,1,"span",5),u.k0s()()}2&d&&(u.R7$(),u.Mz_("id","",f.id,"-search-input"),u.R50("ngModel",f.value),u.Y8G("disabled",f.disabled)("placeholder",f.placeholder)("title",f.label),u.BMQ("aria-label",f.label)("list",f.list),u.R7$(2),u.Mz_("id","",f.id,"-search-input-addon"),u.R7$(),u.Mz_("id","",f.id,"-search-input-icon"),u.Y8G("ngClass",(null==f.value?null:f.value.length)>0?"fas fa-times":"fas fa-search"),u.R7$(),u.Y8G("ngIf",(null==f.value?null:f.value.length)>0))},dependencies:[x.YU,x.bT,j.me,j.BC,j.vS],changeDetection:0})}return l})(),Ss=(()=>{class l{static#e=this.ɵfac=function(d){return new(d||l)};static#t=this.ɵmod=u.$C({type:l});static#n=this.ɵinj=u.G2t({imports:[x.MD,j.YN,Z.B]})}return l})(),lo=(()=>{class l{constructor(s,d=[]){this.selectorName="",this.requiredInputs=["id"],this.requiredInputs=this.requiredInputs.concat(d),this.selectorName=s.nativeElement.tagName.toLowerCase()}ngOnInit(){this.requiredInputs.forEach((s=>{if(!this[s])throw new Error(`"${s}" must be defined for "${this.selectorName}"`)})),this._initiate()}_initiate(){}static#e=this.ɵfac=function(d){u.QTQ()};static#t=this.ɵdir=u.FsC({type:l,inputs:{id:"id"}})}return l})();var _a=function(l){return l[l.all=-1]="all",l}(_a||{});const Ts="pageSizeOption";let Ha=(()=>{class l{constructor(s){this.locale=s,this.id="",this.cssClasses="",this.description="",this.ariaPressed=!1,this.selected=!1,this._baseCSSClasses="btn btn-default btn-sm no-validation-border",this._activeClass="active"}ngOnChanges(){this.value===_a.all?(this.label=this.locale.maketext("All"),this.description=this.locale.maketext("Show all entries"),this.id=`${Ts}_all`):(this.label=this.value.toString(),this.description=this.locale.maketext("Show [quant,_1,entry per page,entries per page]",this.value),this.id=`${Ts}_${this.value.toString()}`),this.selected?(this.cssClasses=`${this._baseCSSClasses} ${this._activeClass}`,this.ariaPressed=!0):(this.cssClasses=this._baseCSSClasses,this.ariaPressed=!1)}ngOnInit(){this.ngOnChanges()}static#e=this.ɵfac=function(d){return new(d||l)(u.rXU(J.h))};static#t=this.ɵdir=u.FsC({type:l,selectors:[["","cpPageSizeOption",""]],hostVars:6,hostBindings:function(d,f){2&d&&(u.Mr5("id",f.id)("innerText",f.label),u.BMQ("aria-label",f.description)("aria-pressed",f.ariaPressed),u.HbH(f.cssClasses))},inputs:{value:"value",selected:"selected"},features:[u.OA$]})}return l})(),Ga=(()=>{class l extends lo{static#e=this.defaultPageSizeOptions=[20,50,100,500];static#t=this.defaultPageSize=20;constructor(s,d){super(s),this.locale=d,this.selectedPageSize=l.defaultPageSize,this.pageSizeOptions=l.defaultPageSizeOptions,this.showOptionAll=!1,this.disabled=!1,this.optionSelected=new u.bkB,this.displayedPageSizeOptions=[]}isOptionSelected(s){return s===this.selectedPageSize}onOptionClicked(s){this._dispatchChange(s)}ngOnChanges(){this._buildOptions()}_initiate(){this._buildOptions()}_buildOptions(){const s=this.pageSizeOptions.slice(0).sort(((f,y)=>f-y));this.showOptionAll&&s.push(_a.all),-1!==s.indexOf(this.selectedPageSize)?this.displayedPageSizeOptions=s:this._dispatchChange(s[0])}_dispatchChange(s){this.optionSelected.emit(s)}static#n=this.ɵfac=function(d){return new(d||l)(u.rXU(u.aKT),u.rXU(J.h))};static#r=this.ɵcmp=u.VBU({type:l,selectors:[["cp-page-size-selector"]],inputs:{selectedPageSize:"selectedPageSize",pageSizeOptions:"pageSizeOptions",showOptionAll:"showOptionAll",disabled:"disabled"},outputs:{optionSelected:"optionSelected"},features:[u.Vt3,u.OA$],decls:5,vars:2,consts:[[1,"text-small","text-uppercase"],["role","group",1,"btn-group","page-size-buttons"],["cpPageSizeOption","","type","button",3,"disabled","selected","value","click",4,"ngFor","ngForOf"],["cpPageSizeOption","","type","button",3,"click","disabled","selected","value"]],template:function(d,f){1&d&&(u.j41(0,"div")(1,"div",0),u.EFF(2),u.k0s(),u.j41(3,"div",1),u.DNE(4,qs,1,3,"button",2),u.k0s()()),2&d&&(u.R7$(2),u.SpI(" ",f.locale.maketext("Entries Per Page")," "),u.R7$(2),u.Y8G("ngForOf",f.displayedPageSizeOptions))},dependencies:[x.Sq,Ha],styles:[".page-size-buttons[_ngcontent-%COMP%]{margin-top:3px;display:flex}"]})}return l})(),Xs=(()=>{class l{static#e=this.ɵfac=function(d){return new(d||l)};static#t=this.ɵmod=u.$C({type:l});static#n=this.ɵinj=u.G2t({imports:[x.MD,Z.B]})}return l})(),ec=(()=>{class l extends lo{static#e=this.defaultMaxPagesVisible=5;static#t=this.firstPageIndex=1;constructor(s,d){super(s),this.locale=d,this.maxPagesVisible=l.defaultMaxPagesVisible,this.selectedPage=l.firstPageIndex,this.pageSize=Ga.defaultPageSize,this.disabled=!1,this.pageChanged=new u.bkB}onPageChanged(s){this._dispatchChange(s)}onNumPagesChanged(s){this._dispatchChange(this.selectedPage)}_initiate(){this._dispatchChange(this.selectedPage)}_dispatchChange(s){const d=this.pageSize*(s-1),f=Math.min(d+this.pageSize,this.totalItems);this.pageChanged.emit({page:s,firstItem:d,lastItem:f}),this.itemsDetails=this.locale.maketext("[_1] - [_2] of [_3]",d+1,f,this.totalItems)}static#n=this.ɵfac=function(d){return new(d||l)(u.rXU(u.aKT),u.rXU(J.h))};static#r=this.ɵcmp=u.VBU({type:l,selectors:[["cp-pagination"]],inputs:{maxPagesVisible:"maxPagesVisible",totalItems:"totalItems",selectedPage:"selectedPage",pageSize:"pageSize",disabled:"disabled"},outputs:{pageChanged:"pageChanged"},features:[u.Vt3],decls:12,vars:14,consts:[["nextTemplate",""],["prevTemplate",""],["lastTemplate",""],["firstTemplate",""],[3,"id"],[3,"ngModelChange","pageChanged","numPages","id","totalItems","maxSize","disabled","itemsPerPage","ngModel","boundaryLinks","customFirstTemplate","customLastTemplate","customPreviousTemplate","customNextTemplate"],[1,"pagination-item-details","text-small","text-right","flip"]],template:function(d,f){if(1&d){const y=u.RV6();u.j41(0,"div",4)(1,"pagination",5),u.mxI("ngModelChange",(function(S){return u.eBV(y),u.DH7(f.selectedPage,S)||(f.selectedPage=S),u.Njj(S)})),u.bIt("pageChanged",(function(S){return u.eBV(y),u.Njj(f.onPageChanged(S.page))}))("numPages",(function(S){return u.eBV(y),u.Njj(f.onNumPagesChanged(S))})),u.k0s(),u.j41(2,"p",6),u.EFF(3),u.k0s()(),u.DNE(4,Ks,1,0,"ng-template",null,0,u.C5r)(6,yt,1,0,"ng-template",null,1,u.C5r)(8,Ds,1,0,"ng-template",null,2,u.C5r)(10,ha,1,0,"ng-template",null,3,u.C5r)}if(2&d){const y=u.sdS(5),T=u.sdS(7),S=u.sdS(9),L=u.sdS(11);u.Y8G("id",f.id),u.R7$(),u.Mz_("id","",f.id,"_ngx_paginator"),u.Y8G("totalItems",f.totalItems)("maxSize",f.maxPagesVisible)("disabled",f.disabled)("itemsPerPage",f.pageSize),u.R50("ngModel",f.selectedPage),u.Y8G("boundaryLinks",!0)("customFirstTemplate",L)("customLastTemplate",S)("customPreviousTemplate",T)("customNextTemplate",y),u.R7$(2),u.SpI(" ",f.itemsDetails," ")}},dependencies:[j.BC,j.vS,Le.eK],styles:[".pagination-item-details[_ngcontent-%COMP%]{margin-top:-20px}"]})}return l})(),tc=(()=>{class l{static#e=this.ɵfac=function(d){return new(d||l)};static#t=this.ɵmod=u.$C({type:l});static#n=this.ɵinj=u.G2t({imports:[x.MD,j.YN,Le.x6.forRoot(),Z.B]})}return l})()}}]);
Back to Directory
File Manager