Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/account-enhancements/vendor-c0d76f48.js

"use strict";(self.webpackChunkaccount_enhancements=self.webpackChunkaccount_enhancements||[]).push([[128],{7343:(tn,fe,W)=>{W.d(fe,{o:()=>l});var l=function(j){return j[j.GET=0]="GET",j[j.HEAD=1]="HEAD",j[j.POST=2]="POST",j[j.PUT=3]="PUT",j[j.DELETE=4]="DELETE",j[j.CONNECT=5]="CONNECT",j[j.OPTIONS=6]="OPTIONS",j[j.TRACE=7]="TRACE",j[j.PATCH=8]="PATCH",j}(l||{})},6802:(tn,fe,W)=>{W.d(fe,{e:()=>j}),W(2584);class j{constructor(he,ue){if(!he)throw new Error("You must provide a name when creating a name/value argument");this.name=he,this.value=ue}}},6884:(tn,fe,W)=>{W.d(fe,{uM:()=>et,CY:()=>ze});var l=W(9261),j=W.n(l),B=W(5972),ee=W.n(B),he=W(3705),ue=W.n(he),Ie=W(9336),le=W.n(Ie),Ee=W(8124),se=W.n(Ee),pe=W(9812),Ae=W.n(pe),je=W(9970),Le=W.n(je);function ke(Ge){if(j()(Ge)||ee()(Ge)||ue()(Ge)||le()(Ge)||se()(Ge))return!0;if(!Le()(Ge)&&!Ae()(Ge))return!1;for(const jt in Ge)if(!ke(Ge[jt]))return!1;return!0}class ze{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(jt,Lt,ut){if(!jt)throw new Error("Name must have a non-empty value");return`${jt}=${encodeURIComponent(Lt.toString())}`+(ut?"":this.recordSeparator)}}class et{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(jt,Lt,ut){if(!jt)throw new Error("Name must have a non-empty value");if(!ke(Lt))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(jt)+":"+JSON.stringify(Lt)+(ut?"":this.recordSeparator)}}},8391:(tn,fe,W)=>{W.d(fe,{d:()=>j,t:()=>l});var l=function(B){return B[B.Contains=0]="Contains",B[B.Begins=1]="Begins",B[B.Ends=2]="Ends",B[B.Matches=3]="Matches",B[B.Equal=4]="Equal",B[B.NotEqual=5]="NotEqual",B[B.LessThan=6]="LessThan",B[B.LessThanUnlimited=7]="LessThanUnlimited",B[B.GreaterThan=8]="GreaterThan",B[B.GreaterThanUnlimited=9]="GreaterThanUnlimited",B[B.Defined=10]="Defined",B[B.Undefined=11]="Undefined",B}(l||{});class j{constructor(ee,he,ue){if(!ee)throw new Error("You must define a non-empty column name.");this.column=ee,this.operator=he,this.value=ue}}},2584:(tn,fe,W)=>{function l(ee){return ee?"1":"0"}W.d(fe,{x:()=>l})},6153:(tn,fe,W)=>{W.d(fe,{FU:()=>B,UE:()=>l,r3:()=>j});var l=function(ee){return ee[ee.Ascending=0]="Ascending",ee[ee.Descending=1]="Descending",ee}(l||{}),j=function(ee){return ee[ee.Lexicographic=0]="Lexicographic",ee[ee.Ipv4=1]="Ipv4",ee[ee.Numeric=2]="Numeric",ee[ee.NumericZeroAsMax=3]="NumericZeroAsMax",ee}(j||{});class B{constructor(he,ue=l.Ascending,Ie=j.Lexicographic){if(!he)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=he,this.direction=ue,this.type=Ie}}},7609:(tn,fe,W)=>{W.d(fe,{m:()=>Mt,R:()=>ft});var l=W(193),j=W.n(l),B=W(2584),ee=W(6153),he=W(8391),ue=W(6802);const le=Number.POSITIVE_INFINITY;class Ee{constructor(Y=1,Q=20){if(Y<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(Q<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=Y,this.pageSize=Q}all(){return this.pageSize===le}}class se{constructor(Y=[]){this.headers=Y}push(Y){this.headers.push(Y)}forEach(Y,Q){this.headers.forEach(Y,Q)}toArray(){const Y=[];return this.headers.forEach(Q=>Y.push({name:Q.name,value:Q.value})),Y}toObject(){return this.headers.reduce((Y,Q)=>(Y[Q.name]=Q.value,Y),{})}}class pe{constructor(Y){this._header=Y}get name(){return this._header.name}get value(){return this._header.value}}class Ae extends Error{constructor(Y){super(Y),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,Ae.prototype)}}class je extends Error{constructor(Y){super(Y),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,je.prototype)}}class Le extends pe{constructor(Y,Q){if(!Y)throw new Ae("You must pass a valid token to the constructor.");if(!Q&&!/^.+[:]/.test(Y))throw new Ae("You must pass a cPanel username associated with the cPanel API token.");if(!Q&&!/[:].+$/.test(Y))throw new Ae("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${Q?Q+":":""}${Y}`})}}Error,Error;class et{get usePager(){return this._usePager}constructor(Y){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new Ee,this.headers=new se,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,Y&&(this.method=Y.method,Y.namespace&&(this.namespace=Y.namespace),Y.arguments&&Y.arguments.forEach(Q=>{this.addArgument(Q)}),Y.sorts&&Y.sorts.forEach(Q=>{this.addSort(Q)}),Y.filters&&Y.filters.forEach(Q=>{this.addFilter(Q)}),Y.columns&&Y.columns.forEach(Q=>this.addColumn(Q)),Y.pager&&this.paginate(Y.pager),this.config=Y.config?Y.config:this.defaultConfig,Y.headers&&Y.headers.forEach(Q=>{this.addHeader(Q)}))}addArgument(Y){return this.arguments.push(Y instanceof ue.e?Y:new ue.e(Y.name,Y.value)),this}addSort(Y){return this.sorts.push(Y instanceof ee.FU?Y:new ee.FU(Y.column,Y.direction,Y.type)),this}addFilter(Y){return this.filters.push(Y instanceof he.d?Y:new he.d(Y.column,Y.operator,Y.value)),this}addColumn(Y){return this.columns.push(Y),this}addHeader(Y){return this.headers.push(Y instanceof pe?Y:new pe(Y)),this}paginate(Y){return this.pager=Y instanceof Ee?Y:new Ee(Y.page,Y.pageSize||20),this._usePager=!0,this}}var Ge=W(7343);const Lt=new class jt{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[Ge.o.GET,Ge.o.DELETE,Ge.o.HEAD].forEach(Y=>{const Q=Ge.o[Y].toString();this.map[Q]={verb:Q,dataInBody:!1}}),[Ge.o.POST,Ge.o.PUT,Ge.o.PATCH].forEach(Y=>{const Q=Ge.o[Y].toString();this.map[Q]={verb:Q,dataInBody:!0}})}getRule(Y){const Q="string"==typeof Y?Y:Ge.o[Y].toString();let q=this.map[Q];return q||(q=this.map.DEFAULT),q}};var ut=W(6884),It=W(2354),Zt=W.n(It),ft=function(Xe){return Xe.JsonApi="json-api",Xe.XmlApi="xml-api",Xe}(ft||{});class Mt extends et{addHeader(Y){if(Y instanceof Le)throw new je("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(Y),this}_build(Y,Q){let q="";return Y.forEach((ae,we,Ve)=>{q+=Q.encode(ae.name,ae.value,we===Ve.length-1)}),Q.separatorStart+q+Q.separatorEnd}_make_whm_api_fieldspec_from_number(Y){return Zt()("",Math.floor(Y/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(Y%26)}_generateArguments(Y){Y.push({name:"api.version",value:1}),this.arguments.forEach(q=>Y.push(q))}_generateSorts(Y){this.sorts.forEach((Q,q)=>{0===q&&Y.push({name:"api.sort.enable",value:B.x(!0)});const ae=`api.sort.${this._make_whm_api_fieldspec_from_number(q)}`;Y.push({name:`${ae}.field`,value:Q.column}),Y.push({name:`${ae}.reverse`,value:B.x(Q.direction!==ee.UE.Ascending)}),Y.push({name:`${ae}.method`,value:j()(ee.r3[Q.type])})})}_lookupFilterOperator(Y){switch(Y){case he.t.GreaterThanUnlimited:return"gt_handle_unlimited";case he.t.GreaterThan:return"gt";case he.t.LessThanUnlimited:return"lt_handle_unlimited";case he.t.LessThan:return"lt";case he.t.Equal:return"eq";case he.t.Begins:return"begins";case he.t.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${he.t[Y]} for WHM API 1`)}}_generateFilters(Y){this.filters.forEach((Q,q)=>{0===q&&(Y.push({name:"api.filter.enable",value:B.x(!0)}),Y.push({name:"api.filter.verbose",value:B.x(!0)}));const ae=`api.filter.${this._make_whm_api_fieldspec_from_number(q)}`;Y.push({name:`${ae}.field`,value:Q.column}),Y.push({name:`${ae}.type`,value:this._lookupFilterOperator(Q.operator)}),Y.push({name:`${ae}.arg0`,value:Q.value})})}_translatePageToStart(Y){return(Y.page-1)*Y.pageSize+1}_generatePagination(Y){if(!this.usePager)return;const Q=this.pager.all();Y.push({name:"api.chunk.enable",value:B.x(!0)}),Y.push({name:"api.chunk.verbose",value:B.x(!0)}),Y.push({name:"api.chunk.start",value:Q?-1:this._translatePageToStart(this.pager)}),Q||Y.push({name:"api.chunk.size",value:this.pager.pageSize})}constructor(Y,Q){if(super(Q),this.apiType=ft.JsonApi,Y!=ft.JsonApi&&Y!=ft.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=Y,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}generate(Y){Y||(Y={verb:Ge.o.POST,encoder:this.config.json?new ut.uM:new ut.CY}),Y.encoder||(Y.encoder=this.config.json?new ut.uM:new ut.CY);const Q=Lt.getRule(Y.verb),q={headers:new se([{name:"Content-Type",value:Y.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},ae=[];this._generateArguments(ae),this._generateSorts(ae),this._generateFilters(ae),this._generatePagination(ae);const we=this._build(ae,Y.encoder);return Q.dataInBody?q.body=we:q.url+=Y.verb===Ge.o.GET?`?${we}`:we,this.headers.forEach(Ve=>{q.headers.push({name:Ve.name,value:Ve.value})}),q}}},6381:(tn,fe,W)=>{fe.h=void 0;const j=W(2623);Object.defineProperty(fe,"h",{enumerable:!0,get:function(){return j.Locale}})},7268:(tn,fe)=>{Object.defineProperty(fe,"__esModule",{value:!0}),fe.CLDR=void 0,fe.CLDR=class W{constructor(j){this.rawData=j,this.validateCLDR(this.rawData)}validateCLDR(j){if(!j)throw new Error("CLDR data cannot be null");if(!j.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(j,"functions")||Object.prototype.hasOwnProperty.call(j,"get_plural_form")||"function"!=typeof j.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(j,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(j,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(j.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(j.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(j.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(j.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(j,...B){return(0,this.rawData.functions.get_plural_form)(j,...B)}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:(tn,fe,W)=>{Object.defineProperty(fe,"__esModule",{value:!0}),fe.Locale=void 0;const l=W(7367),j=W(5736),B=W(8994),ee=W(3365),he=W(7268);fe.Locale=class ue{constructor(le,Ee={}){this.lexicon=Ee,this._cldr=new he.CLDR(le)}maketext(le,...Ee){return(0,l.maketext)({cldr:this._cldr,lexicon:this.lexicon,template:le,args:Ee})}localDatetime(le,Ee){return this._datetimeWrapper(j.local_datetime,le,Ee)}datetime(le,Ee){return this._datetimeWrapper(j.datetime,le,Ee)}_datetimeWrapper(le,Ee,se){return le({cldr:this._cldr,args:[Ee,se]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(le,Ee){return this._formatNumber(B.numf,le,Ee)}format_bytes(le,Ee){return this._formatNumber(B.format_bytes,le,Ee)}_formatNumber(le,...Ee){return this._callCLDRFunc(le,Ee)}list_and(...le){return this._callCLDRFunc(ee.list_and,le)}list_and_quoted(...le){return this._callCLDRFunc(ee.list_and_quoted,le)}list_or(...le){return this._callCLDRFunc(ee.list_or,le)}list_or_quoted(...le){return this._callCLDRFunc(ee.list_or_quoted,le)}_callCLDRFunc(le,Ee){return le({cldr:this._cldr,args:Ee})}}},6049:(tn,fe,W)=>{Object.defineProperty(fe,"__esModule",{value:!0}),fe.asis=void 0;const l=W(2500);fe.asis=function j({args:[B,...ee]}){if(!B||ee.length>0||"string"!=typeof B)throw new Error("asis function accepts one non translatable string.");return(B=B.replace(/chr\((\d+)\)/g,function(he,ue){return l.functions.chr(Number(ue))})).replace(/amp\(\)/g,function(){return l.functions.amp()})}},6073:(tn,fe)=>{Object.defineProperty(fe,"__esModule",{value:!0}),fe.boolean=void 0,fe.boolean=function W({args:[l,j,B,ee]}){if(null==j||0===j.length||null==B||0===B.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof l<"u"&&l?j:ee&&null==l?ee:B)}},5496:(tn,fe)=>{Object.defineProperty(fe,"__esModule",{value:!0}),fe.comment=void 0,fe.comment=function W({args:[l]}){return""}},5736:(tn,fe,W)=>{Object.defineProperty(fe,"__esModule",{value:!0}),fe.local_datetime=fe.datetime=fe.dateToLocalDayNum=void 0;const l=W(7268),j=function(se){const pe=se.getUTCDay()-1;return pe<0?6:pe},B=[7,1,2,3,4,5,6];function ee(se,pe){return(B[se.getUTCDay()]+7-pe)%7+1}fe.dateToLocalDayNum=ee;const he=function(se,pe,Ae){let je="",Le=0;return pe=pe||0,Ae=String(void 0===Ae?" ":Ae),Le=pe-String(se).length,Le>0&&(je=[...Array(Le)].map(String.prototype.valueOf,Ae).join("")),je+se};function ue({cldr:se,args:[pe=new Date,Ae],tzString:je="UTC"}){if("number"==typeof pe&&/^-?\d+$/.test(pe.toString())&&(pe=new Date(1e3*pe)),!(pe instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(se instanceof l.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Le=se.getDateTimeInfo();return"string"==typeof Ae&&/^(?:date|time|datetime|special)_format_/.test(Ae)&&(Ae=Le[Ae]),Ae||(Ae=Le.date_format_long),Ae.replace(/('[^']+')|(([a-zA-Z])\3*)/g,function(ke,Je,ze){return Je?function Ie(se){return se.substr(1,se.length-2)}(Je):function le(se,pe,Ae,je){switch(Ae){case"yy":return Math.abs(se.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(se.getUTCFullYear()));case"MMMMM":return pe.month_format_narrow[se.getUTCMonth()];case"LLLLL":return pe.month_stand_alone_narrow[se.getUTCMonth()];case"MMMM":return pe.month_format_wide[se.getUTCMonth()];case"LLLL":return pe.month_stand_alone_wide[se.getUTCMonth()];case"MMM":return pe.month_format_abbreviated[se.getUTCMonth()];case"LLL":return pe.month_stand_alone_abbreviated[se.getUTCMonth()];case"MM":case"LL":return he((se.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(se.getUTCMonth()+1);case"EEEE":return pe.day_format_wide[j(se)];case"EEE":case"EE":case"E":return pe.day_format_abbreviated[j(se)];case"EEEEE":return pe.day_format_narrow[j(se)];case"cccc":return pe.day_stand_alone_wide[j(se)];case"ccc":return pe.day_stand_alone_abbreviated[j(se)];case"cc":case"c":return String(ee(se,Number(pe.first_day_of_week)));case"ccccc":return pe.day_stand_alone_narrow[j(se)];case"dd":return he(se.getUTCDate().toString(),2,"0");case"d":return String(se.getUTCDate());case"h":case"hh":{let Le=se.getUTCHours();Le>12&&(Le-=12),0===Le&&(Le=12);const ke="hh"===Ae?he(Le.toString(),2,"0"):Le;return String(ke)}case"H":return String(se.getUTCHours());case"HH":return he(se.getUTCHours().toString(),2,"0");case"m":return String(se.getUTCMinutes());case"mm":return he(se.getUTCMinutes().toString(),2,"0");case"s":return String(se.getUTCSeconds());case"ss":return he(se.getUTCSeconds().toString(),2,"0");case"a":return se.getUTCHours()<12?pe.am_pm_abbreviated[0]:pe.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return je;case"G":case"GG":case"GGG":return pe.era_abbreviated[se.getUTCFullYear()<0?0:1];case"GGGGG":return pe.era_narrow[se.getUTCFullYear()<0?0:1];case"GGGG":return pe.era_wide[se.getUTCFullYear()<0?0:1]}return Ae}(pe,Le,ze,je)})}fe.datetime=ue,fe.local_datetime=function Ee({cldr:se,args:[pe=new Date,Ae]}){if("number"==typeof pe&&/^-?\d+$/.test(pe.toString())&&(pe=new Date(1e3*pe)),!(pe instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(se instanceof l.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const je=pe.getTimezoneOffset();(pe=new Date(pe)).setMinutes(pe.getMinutes()-je);const Le=je>0?"-":"+",ke=Math.floor(Math.abs(je)/60),Je=Math.abs(je%60);return ue({cldr:se,args:[pe,Ae],tzString:"GMT"+Le+he(ke.toString(),2,"0")+he(Je.toString(),2,"0")})}},6397:(tn,fe,W)=>{Object.defineProperty(fe,"__esModule",{value:!0}),fe.functions=void 0;const l=W(6049),j=W(2500),B=W(5496),ee=W(6073),he=W(8994),ue=W(5736),Ie=W(3365);fe.functions={asis:l.asis,output:j.output,comment:B.comment,boolean:ee.boolean,numf:he.numf,numerate:he.numerate,quant:he.quant,format_bytes:he.format_bytes,datetime:ue.datetime,local_datetime:ue.local_datetime,list_and:Ie.list_and,list_or:Ie.list_or,list_or_quoted:Ie.list_or_quoted,list_and_quoted:Ie.list_and_quoted}},3365:(tn,fe)=>{function l(Ie,le,...Ee){let se=Ee.slice();switch(1===se.length&&Array.isArray(se[0])&&(se=se[0].slice()),(typeof se>"u"||0===se.length)&&(se=[""]),se=se.map(pe=>function W(Ie,le){const Ee=Ie.getDelimiters();return Ee&&Object.prototype.hasOwnProperty.call(Ee,"quotation_start")&&Object.prototype.hasOwnProperty.call(Ee,"quotation_end")?Ee.quotation_start+le+Ee.quotation_end:le}(Ie,pe)),le){case"list_and":return he({cldr:Ie,args:se});case"list_or":return ue({cldr:Ie,args:se});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function ee(Ie,le,...Ee){let se=Ee.slice();1===se.length&&Array.isArray(se[0])&&(se=se[0].slice());const pe=se.length;let Ae,je,Le,ke;try{Ae=Ie.getFormats()[le]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const Je=function(ze,et){switch(et){case"0":return Le;case"1":return se[ke++]}};switch(pe){case 0:return"";case 1:return String(se[0]);default:if(Le=2===pe?Ae[2]:Ae.start,Le=Le.replace(/\{([01])\}/g,function(ze,et){return se[et]}),2===pe)return Le;for(ke=2;ke<pe;)je=Ae[ke===pe-1?"end":"middle"],Le=je.replace(/\{([01])\}/g,Je);return Le}}function he({cldr:Ie,args:[...le]}){return ee(Ie,"list",...le)}function ue({cldr:Ie,args:[...le]}){return ee(Ie,"list_or",...le)}Object.defineProperty(fe,"__esModule",{value:!0}),fe.list_or=fe.list_and=fe.list_or_quoted=fe.list_and_quoted=void 0,fe.list_and_quoted=function j({cldr:Ie,args:[...le]}){return l(Ie,"list_and",...le)},fe.list_or_quoted=function B({cldr:Ie,args:[...le]}){return l(Ie,"list_or",...le)},fe.list_and=he,fe.list_or=ue},2500:(tn,fe,W)=>{Object.defineProperty(fe,"__esModule",{value:!0}),fe.functions=fe.output=void 0;const l=W(9546),j=W(2353);fe.output=function B({args:[ee,...he]}){if(he&&"string"==typeof he[0]&&(he[0]=he[0].replace(/chr\((\d+)\)/g,function(ue,Ie){return fe.functions.chr(Number(Ie))}),he[0]=he[0].replace(/amp\(\)/g,function(){return fe.functions.amp()})),"function"==typeof fe.functions[ee])return fe.functions[ee](...he);throw new Error(`Locale output function '${ee}' is not implemented.`)},fe.functions={amp:()=>(0,l.htmlEscape)("&"),apos:()=>(0,l.htmlEscape)("'"),quot:()=>(0,l.htmlEscape)('"'),underline:ee=>`<u>${ee}</u>`,strong:ee=>`<strong>${ee}</strong>`,em:ee=>`<em>${ee}</em>`,abbr:(ee,he)=>`<abbr title="${he}">${ee}</abbr>`,acronym:(ee,he)=>`<abbr title="${he}" class="initialism">${ee}</abbr>`,class:(ee,...he)=>`<span class="${he.join(" ")}">${ee}</span>`,chr(ee){if("string"==typeof ee&&(ee=Number(ee)),"number"!=typeof ee||isNaN(ee))throw new Error("chr needs a number as argument");return(0,l.htmlEscape)(String.fromCharCode(ee))},url(ee,...he){let ue,Ie;if("object"==typeof he[he.length-1])if(ue=he[he.length-1],2===he.length){if(ue.html)throw new Error("Cannot provide both text and configuration with html attribute");Ie=he[0]}else ue&&ue.html?(Ie=ue.html,delete ue.html):Ie=ee;else he.length%2==0?(ue=(0,j.listToObject)(...he),ue&&"html"in ue&&""!==ue.html?(Ie=ue.html,delete ue.html):Ie=ee):(Ie=he.shift(),ue=(0,j.listToObject)(...he));"_type"in ue&&"offsite"===ue._type&&(ue.class="offsite",ue.target="_blank",delete ue._type);let le=`<a href="${ee}"`;if("object"==typeof ue)for(const Ee in ue)Object.prototype.hasOwnProperty.call(ue,Ee)&&(le+=` ${Ee}="${ue[Ee]}"`);return le+=`>${Ie}</a>`,le}}},8994:(tn,fe,W)=>{Object.defineProperty(fe,"__esModule",{value:!0}),fe.format_bytes=fe.numf=fe.quant=fe.numerate=void 0;const l=W(7268);function B({cldr:Ie,args:[le,...Ee]}){if(!(Ie instanceof l.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let se,pe=3;le instanceof Array?(pe=le[1],se=le[0]):se=le;const Ae=Ie.getPluralForm(se,...Ee),je=Ae[0]?Ae[0]:Ee[Ee.length-1];if(Ae&&Ae.length>=2&&Ae[1])return je;const ke=he({cldr:Ie,args:[se,pe]});return-1!==je.indexOf("%s")?je.replace(/%s/g,ke):Ie.isRtl()?je+" "+ke:ke+" "+je}function he({cldr:Ie,args:[le,Ee=6]}){if(!(Ie instanceof l.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(le.toString()))return String(le);const{decimalFormat:se,decimalGroup:pe,decimalDecimal:Ae}=function ee(Ie){const le={},Ee=Ie.getFormats();return Object.prototype.hasOwnProperty.call(Ee,"decimal")&&(le.decimalFormat=Ee.decimal),Object.prototype.hasOwnProperty.call(Ee,"_decimal_format_group")&&(le.decimalGroup=Ee._decimal_format_group),Object.prototype.hasOwnProperty.call(Ee,"_decimal_format_decimal")&&(le.decimalDecimal=Ee._decimal_format_decimal),le}(Ie);if(!se||!pe||!Ae)throw new Error("CLDR Data is missing information related to formatting decimals.");const je=le<0;le=Math.abs(le);let ke,Je,Le=Math.floor(le);/(?!')\.(?!')/.test(le.toString())&&(ke=String(le).replace(/^[^.]+/,"0"),ke=Number(ke).toFixed(Ee),/^1/.test(ke)?(Le++,le=Le,ke=void 0):ke=ke.replace(/^.*\./,"").replace(/0+$/,"")),Je=/(?!');(?!')/.test(se)?se.split(/(?!');(?!')/)[je?1:0]:(je?"-":"")+se;const Ge=Je.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let jt;1===Ge.length?jt="":(Ge.pop(),jt=pe);const Lt=String(Le).split("").reverse(),ut=[];let It;const Zt=function(Mt){switch(Mt){case"#":return Lt.shift()||"";case"0":return Lt.shift()||"0"}};for(;Lt.length;){Ge.length&&(It=Ge.shift());const Mt=It.replace(/(?!')[0#]|[0#](?!')/g,Zt).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");ut.push(Mt)}const ft=ut.join(jt).split("").reverse().join("")+(ke?Ae+ke:"");return Je.replace(/[0#].*[0#]/,ft)}fe.numerate=function j({cldr:Ie,args:[le,...Ee]}){if(!(Ie instanceof l.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const se=Ie.getPluralForm(le,...Ee);return se?se[0]:Ee[Ee.length-1]},fe.quant=B,fe.numf=he,fe.format_bytes=function ue({cldr:Ie,args:[le,Ee=2]}){if(!(Ie instanceof l.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const se=["KB","MB","GB","TB","PB","EB","ZB","YB"],Ae=le&&Math.min(Math.floor(Math.log(le)/Math.log(1024)),se.length);return Ae?he({cldr:Ie,args:[le/Math.pow(1024,Ae),Ee]})+"\xa0"+se[Ae-1]:B({cldr:Ie,args:[le,"%s\xa0byte","%s\xa0bytes"]})}},7367:(tn,fe,W)=>{Object.defineProperty(fe,"__esModule",{value:!0}),fe.maketext=fe.functions=fe.config=void 0;const l=W(6397);function he(ue,Ie){const le=[];let Ee=!1,se=!1;return ue.forEach(pe=>{if("_"===pe.charAt(0))if("_*"===pe){if(se)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";le.push(...Ie),Ee=!0}else{const Ae=pe.match(fe.config.underscoreDigitRe);if(Ae){if(Ee)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[je,Le]=Ae,ke=Number(Le)-1;if(!(ke in Ie))throw`The "${je}" substitution argument was not passed to the maketext function.`;le.push(Ie[ke]),se=!0}}else le.push(pe)}),le}fe.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"\x07",fauxCommaRe:new RegExp("\x07","g"),tildeChars:new Set(["[","]","~"])},fe.functions={...l.functions},fe.maketext=function B({cldr:ue,lexicon:Ie,template:le,args:Ee}){if("string"!=typeof le)throw"You must pass a string template to the maketext function.";if(-1===(le=Ie&&Ie[le]||le).indexOf("["))return le;const se=le.match(fe.config.bracketRe)||[],pe=[];let Ae=!1,je="";if(se.forEach(Le=>{if("["===Le){if(Ae)throw Error(`Invalid maketext string: ${le} \nThe string contains nested brackets.`);Ae=!0}else if("]"===Le){if(!Ae)throw Error(`Invalid maketext string: ${le} \nThe string contains an unmatched closing bracket character (]).`);if(!je)throw Error(`Invalid maketext string: ${le} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let ke;Ae=!1;try{ke=function ee(ue,Ie,le){let Ee=Ie.split(",");if(Ee=Ee.map(Ae=>Ae.replace(fe.config.fauxCommaRe,",")),1===Ee.length){if(!fe.config.underscoreDigitRe.test(Ee[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[Ae]=he(Ee,le);return String(Ae)}const se=Ee.shift();if(!se||"function"!=typeof fe.functions[se])throw`Invalid function "${se}" in maketext string.`;const pe=he(Ee,le);return fe.functions[se]({cldr:ue,args:pe})}(ue,je,Ee)}catch(Je){throw Error(`Invalid maketext string: ${le} \n${Je}`)}je="",pe.push(ke)}else if("~"===Le.charAt(0)){const ke=Le.charAt(1)||"~";Ae?je+=","===ke?fe.config.fauxComma:ke:fe.config.tildeChars.has(ke)?pe.push(ke):pe.push(Le)}else Ae?je+=Le:pe.push(Le)}),Ae)throw Error(`Invalid maketext string: ${le} \nThe string contains an unmatched opening bracket character ([).`);return pe.join("")}},9546:(tn,fe)=>{Object.defineProperty(fe,"__esModule",{value:!0}),fe.htmlEscape=fe.entityMap=void 0,fe.entityMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},fe.htmlEscape=function W(l){return String(l).replace(/[&<>"'\/]/g,j=>fe.entityMap[j])}},2353:(tn,fe)=>{Object.defineProperty(fe,"__esModule",{value:!0}),fe.listToObject=void 0,fe.listToObject=function j(...B){let ee={};return function W(B){if(B.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let he=0,ue=B.length;he<ue;he+=2){const Ie=B[he];if("string"!=typeof Ie||""===Ie)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(B)&&(ee=function l(B){const ee=B.length,he={};let Ie,le,ue=0;for(;ue<ee;)Ie=B[ue],le=B[++ue],he[Ie]=le,ue++;return he}(B)),ee}},9969:(tn,fe,W)=>{W.d(fe,{FX:()=>Y,If:()=>B,K2:()=>le,S6:()=>et,hZ:()=>he,i0:()=>ue,iF:()=>Ee,kY:()=>Ae,kp:()=>ee,sf:()=>Mt,ui:()=>Xe,wk:()=>se});var l=W(177),j=W(3953),B=function(Q){return Q[Q.State=0]="State",Q[Q.Transition=1]="Transition",Q[Q.Sequence=2]="Sequence",Q[Q.Group=3]="Group",Q[Q.Animate=4]="Animate",Q[Q.Keyframes=5]="Keyframes",Q[Q.Style=6]="Style",Q[Q.Trigger=7]="Trigger",Q[Q.Reference=8]="Reference",Q[Q.AnimateChild=9]="AnimateChild",Q[Q.AnimateRef=10]="AnimateRef",Q[Q.Query=11]="Query",Q[Q.Stagger=12]="Stagger",Q}(B||{});const ee="*";function he(Q,q){return{type:B.Trigger,name:Q,definitions:q,options:{}}}function ue(Q,q=null){return{type:B.Animate,styles:q,timings:Q}}function le(Q,q=null){return{type:B.Sequence,steps:Q,options:q}}function Ee(Q){return{type:B.Style,styles:Q,offset:null}}function se(Q,q,ae){return{type:B.State,name:Q,styles:q,options:ae}}function Ae(Q,q,ae=null){return{type:B.Transition,expr:Q,animation:q,options:ae}}let et=(()=>{class Q{static#e=this.\u0275fac=function(we){return new(we||Q)};static#t=this.\u0275prov=j.jDH({token:Q,factory:()=>(0,j.WQX)(jt),providedIn:"root"})}return Q})();class Ge{}let jt=(()=>{class Q extends et{constructor(ae,we){if(super(),this.animationModuleType=(0,j.WQX)(j.bc$,{optional:!0}),this._nextAnimationId=0,this._renderer=ae.createRenderer(we.body,{id:"0",encapsulation:j.gXe.None,styles:[],data:{animation:[]}}),null===this.animationModuleType&&!function ft(Q){const q=Q.\u0275type;return 0===q||1===q}(this._renderer))throw new j.wOt(3600,!1)}build(ae){const we=this._nextAnimationId;this._nextAnimationId++;const Ve=Array.isArray(ae)?le(ae):ae;return It(this._renderer,null,we,"register",[Ve]),new Lt(we,this._renderer)}static#e=this.\u0275fac=function(we){return new(we||Q)(j.KVO(j._9s),j.KVO(l.qQ))};static#t=this.\u0275prov=j.jDH({token:Q,factory:Q.\u0275fac,providedIn:"root"})}return Q})();class Lt extends Ge{constructor(q,ae){super(),this._id=q,this._renderer=ae}create(q,ae){return new ut(this._id,q,ae||{},this._renderer)}}class ut{constructor(q,ae,we,Ve){this.id=q,this.element=ae,this._renderer=Ve,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",we)}_listen(q,ae){return this._renderer.listen(this.element,`@@${this.id}:${q}`,ae)}_command(q,...ae){It(this._renderer,this.element,this.id,q,ae)}onDone(q){this._listen("done",q)}onStart(q){this._listen("start",q)}onDestroy(q){this._listen("destroy",q)}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(q){this._command("setPosition",q)}getPosition(){return function Zt(Q){const q=Q.\u0275type;return 0===q?Q:1===q?Q.animationRenderer:null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}}function It(Q,q,ae,we,Ve){Q.setProperty(q,`@@${ae}:${we}`,Ve)}class Mt{constructor(q=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=q+ae}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(q=>q()),this._onDoneFns=[])}onStart(q){this._originalOnStartFns.push(q),this._onStartFns.push(q)}onDone(q){this._originalOnDoneFns.push(q),this._onDoneFns.push(q)}onDestroy(q){this._onDestroyFns.push(q)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(q=>q()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(q=>q()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(q){this._position=this.totalTime?q*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(q){const ae="start"==q?this._onStartFns:this._onDoneFns;ae.forEach(we=>we()),ae.length=0}}class Xe{constructor(q){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=q;let ae=0,we=0,Ve=0;const tt=this.players.length;0==tt?queueMicrotask(()=>this._onFinish()):this.players.forEach(Gt=>{Gt.onDone(()=>{++ae==tt&&this._onFinish()}),Gt.onDestroy(()=>{++we==tt&&this._onDestroy()}),Gt.onStart(()=>{++Ve==tt&&this._onStart()})}),this.totalTime=this.players.reduce((Gt,wn)=>Math.max(Gt,wn.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(q=>q()),this._onDoneFns=[])}init(){this.players.forEach(q=>q.init())}onStart(q){this._onStartFns.push(q)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(q=>q()),this._onStartFns=[])}onDone(q){this._onDoneFns.push(q)}onDestroy(q){this._onDestroyFns.push(q)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(q=>q.play())}pause(){this.players.forEach(q=>q.pause())}restart(){this.players.forEach(q=>q.restart())}finish(){this._onFinish(),this.players.forEach(q=>q.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(q=>q.destroy()),this._onDestroyFns.forEach(q=>q()),this._onDestroyFns=[])}reset(){this.players.forEach(q=>q.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(q){const ae=q*this.totalTime;this.players.forEach(we=>{const Ve=we.totalTime?Math.min(1,ae/we.totalTime):1;we.setPosition(Ve)})}getPosition(){const q=this.players.reduce((ae,we)=>null===ae||we.totalTime>ae.totalTime?we:ae,null);return null!=q?q.getPosition():0}beforeDestroy(){this.players.forEach(q=>{q.beforeDestroy&&q.beforeDestroy()})}triggerCallback(q){const ae="start"==q?this._onStartFns:this._onDoneFns;ae.forEach(we=>we()),ae.length=0}}const Y="!"},177:(tn,fe,W)=>{W.d(fe,{AJ:()=>pi,B3:()=>$,MD:()=>zo,N0:()=>po,QT:()=>B,Sm:()=>Je,Sq:()=>U,T3:()=>oe,UE:()=>Xi,VF:()=>he,Vy:()=>Zi,Xr:()=>fo,YU:()=>Gr,ZD:()=>ee,_b:()=>Rr,aZ:()=>et,bT:()=>ye,fw:()=>ze,hb:()=>Le,hj:()=>Ee,kB:()=>ke,qQ:()=>Ie});var l=W(3953);let j=null;function B(){return j}function ee(m){j??=m}class he{}const Ie=new l.nKC("");let le=(()=>{class m{historyGo(C){throw new Error("")}static#e=this.\u0275fac=function(b){return new(b||m)};static#t=this.\u0275prov=l.jDH({token:m,factory:()=>(0,l.WQX)(se),providedIn:"platform"})}return m})();const Ee=new l.nKC("");let se=(()=>{class m extends le{constructor(){super(),this._doc=(0,l.WQX)(Ie),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return B().getBaseHref(this._doc)}onPopState(C){const b=B().getGlobalEventTarget(this._doc,"window");return b.addEventListener("popstate",C,!1),()=>b.removeEventListener("popstate",C)}onHashChange(C){const b=B().getGlobalEventTarget(this._doc,"window");return b.addEventListener("hashchange",C,!1),()=>b.removeEventListener("hashchange",C)}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(C){this._location.pathname=C}pushState(C,b,R){this._history.pushState(C,b,R)}replaceState(C,b,R){this._history.replaceState(C,b,R)}forward(){this._history.forward()}back(){this._history.back()}historyGo(C=0){this._history.go(C)}getState(){return this._history.state}static#e=this.\u0275fac=function(b){return new(b||m)};static#t=this.\u0275prov=l.jDH({token:m,factory:()=>new m,providedIn:"platform"})}return m})();function pe(m,T){if(0==m.length)return T;if(0==T.length)return m;let C=0;return m.endsWith("/")&&C++,T.startsWith("/")&&C++,2==C?m+T.substring(1):1==C?m+T:m+"/"+T}function Ae(m){const T=m.match(/#|\?|$/),C=T&&T.index||m.length;return m.slice(0,C-("/"===m[C-1]?1:0))+m.slice(C)}function je(m){return m&&"?"!==m[0]?"?"+m:m}let Le=(()=>{class m{historyGo(C){throw new Error("")}static#e=this.\u0275fac=function(b){return new(b||m)};static#t=this.\u0275prov=l.jDH({token:m,factory:()=>(0,l.WQX)(Je),providedIn:"root"})}return m})();const ke=new l.nKC("");let Je=(()=>{class m extends Le{constructor(C,b){super(),this._platformLocation=C,this._removeListenerFns=[],this._baseHref=b??this._platformLocation.getBaseHrefFromDOM()??(0,l.WQX)(Ie).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(C){this._removeListenerFns.push(this._platformLocation.onPopState(C),this._platformLocation.onHashChange(C))}getBaseHref(){return this._baseHref}prepareExternalUrl(C){return pe(this._baseHref,C)}path(C=!1){const b=this._platformLocation.pathname+je(this._platformLocation.search),R=this._platformLocation.hash;return R&&C?`${b}${R}`:b}pushState(C,b,R,ne){const Ce=this.prepareExternalUrl(R+je(ne));this._platformLocation.pushState(C,b,Ce)}replaceState(C,b,R,ne){const Ce=this.prepareExternalUrl(R+je(ne));this._platformLocation.replaceState(C,b,Ce)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(C=0){this._platformLocation.historyGo?.(C)}static#e=this.\u0275fac=function(b){return new(b||m)(l.KVO(le),l.KVO(ke,8))};static#t=this.\u0275prov=l.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})(),ze=(()=>{class m extends Le{constructor(C,b){super(),this._platformLocation=C,this._baseHref="",this._removeListenerFns=[],null!=b&&(this._baseHref=b)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(C){this._removeListenerFns.push(this._platformLocation.onPopState(C),this._platformLocation.onHashChange(C))}getBaseHref(){return this._baseHref}path(C=!1){const b=this._platformLocation.hash??"#";return b.length>0?b.substring(1):b}prepareExternalUrl(C){const b=pe(this._baseHref,C);return b.length>0?"#"+b:b}pushState(C,b,R,ne){let Ce=this.prepareExternalUrl(R+je(ne));0==Ce.length&&(Ce=this._platformLocation.pathname),this._platformLocation.pushState(C,b,Ce)}replaceState(C,b,R,ne){let Ce=this.prepareExternalUrl(R+je(ne));0==Ce.length&&(Ce=this._platformLocation.pathname),this._platformLocation.replaceState(C,b,Ce)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(C=0){this._platformLocation.historyGo?.(C)}static#e=this.\u0275fac=function(b){return new(b||m)(l.KVO(le),l.KVO(ke,8))};static#t=this.\u0275prov=l.jDH({token:m,factory:m.\u0275fac})}return m})(),et=(()=>{class m{constructor(C){this._subject=new l.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=C;const b=this._locationStrategy.getBaseHref();this._basePath=function ut(m){if(new RegExp("^(https?:)?//").test(m)){const[,C]=m.split(/\/\/[^\/]+/);return C}return m}(Ae(Lt(b))),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(C=!1){return this.normalize(this._locationStrategy.path(C))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(C,b=""){return this.path()==this.normalize(C+je(b))}normalize(C){return m.stripTrailingSlash(function jt(m,T){if(!m||!T.startsWith(m))return T;const C=T.substring(m.length);return""===C||["/",";","?","#"].includes(C[0])?C:T}(this._basePath,Lt(C)))}prepareExternalUrl(C){return C&&"/"!==C[0]&&(C="/"+C),this._locationStrategy.prepareExternalUrl(C)}go(C,b="",R=null){this._locationStrategy.pushState(R,"",C,b),this._notifyUrlChangeListeners(this.prepareExternalUrl(C+je(b)),R)}replaceState(C,b="",R=null){this._locationStrategy.replaceState(R,"",C,b),this._notifyUrlChangeListeners(this.prepareExternalUrl(C+je(b)),R)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(C=0){this._locationStrategy.historyGo?.(C)}onUrlChange(C){return this._urlChangeListeners.push(C),this._urlChangeSubscription??=this.subscribe(b=>{this._notifyUrlChangeListeners(b.url,b.state)}),()=>{const b=this._urlChangeListeners.indexOf(C);this._urlChangeListeners.splice(b,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(C="",b){this._urlChangeListeners.forEach(R=>R(C,b))}subscribe(C,b,R){return this._subject.subscribe({next:C,error:b,complete:R})}static#e=this.normalizeQueryParams=je;static#t=this.joinWithSlash=pe;static#n=this.stripTrailingSlash=Ae;static#r=this.\u0275fac=function(b){return new(b||m)(l.KVO(Le))};static#i=this.\u0275prov=l.jDH({token:m,factory:()=>function Ge(){return new et((0,l.KVO)(Le))}(),providedIn:"root"})}return m})();function Lt(m){return m.replace(/\/index.html$/,"")}function Rr(m,T){T=encodeURIComponent(T);for(const C of m.split(";")){const b=C.indexOf("="),[R,ne]=-1==b?[C,""]:[C.slice(0,b),C.slice(b+1)];if(R.trim()===T)return decodeURIComponent(ne)}return null}const ht=/\s+/,hn=[];let Gr=(()=>{class m{constructor(C,b){this._ngEl=C,this._renderer=b,this.initialClasses=hn,this.stateMap=new Map}set klass(C){this.initialClasses=null!=C?C.trim().split(ht):hn}set ngClass(C){this.rawClass="string"==typeof C?C.trim().split(ht):C}ngDoCheck(){for(const b of this.initialClasses)this._updateState(b,!0);const C=this.rawClass;if(Array.isArray(C)||C instanceof Set)for(const b of C)this._updateState(b,!0);else if(null!=C)for(const b of Object.keys(C))this._updateState(b,!!C[b]);this._applyStateDiff()}_updateState(C,b){const R=this.stateMap.get(C);void 0!==R?(R.enabled!==b&&(R.changed=!0,R.enabled=b),R.touched=!0):this.stateMap.set(C,{enabled:b,changed:!0,touched:!0})}_applyStateDiff(){for(const C of this.stateMap){const b=C[0],R=C[1];R.changed?(this._toggleClass(b,R.enabled),R.changed=!1):R.touched||(R.enabled&&this._toggleClass(b,!1),this.stateMap.delete(b)),R.touched=!1}}_toggleClass(C,b){(C=C.trim()).length>0&&C.split(ht).forEach(R=>{b?this._renderer.addClass(this._ngEl.nativeElement,R):this._renderer.removeClass(this._ngEl.nativeElement,R)})}static#e=this.\u0275fac=function(b){return new(b||m)(l.rXU(l.aKT),l.rXU(l.sFG))};static#t=this.\u0275dir=l.FsC({type:m,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return m})();class A{constructor(T,C,b,R){this.$implicit=T,this.ngForOf=C,this.index=b,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 U=(()=>{class m{set ngForOf(C){this._ngForOf=C,this._ngForOfDirty=!0}set ngForTrackBy(C){this._trackByFn=C}get ngForTrackBy(){return this._trackByFn}constructor(C,b,R){this._viewContainer=C,this._template=b,this._differs=R,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(C){C&&(this._template=C)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const C=this._ngForOf;!this._differ&&C&&(this._differ=this._differs.find(C).create(this.ngForTrackBy))}if(this._differ){const C=this._differ.diff(this._ngForOf);C&&this._applyChanges(C)}}_applyChanges(C){const b=this._viewContainer;C.forEachOperation((R,ne,Ce)=>{if(null==R.previousIndex)b.createEmbeddedView(this._template,new A(R.item,this._ngForOf,-1,-1),null===Ce?void 0:Ce);else if(null==Ce)b.remove(null===ne?void 0:ne);else if(null!==ne){const Ue=b.get(ne);b.move(Ue,Ce),k(Ue,R)}});for(let R=0,ne=b.length;R<ne;R++){const Ue=b.get(R).context;Ue.index=R,Ue.count=ne,Ue.ngForOf=this._ngForOf}C.forEachIdentityChange(R=>{k(b.get(R.currentIndex),R)})}static ngTemplateContextGuard(C,b){return!0}static#e=this.\u0275fac=function(b){return new(b||m)(l.rXU(l.c1b),l.rXU(l.C4Q),l.rXU(l._q3))};static#t=this.\u0275dir=l.FsC({type:m,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return m})();function k(m,T){m.context.$implicit=T.item}let ye=(()=>{class m{constructor(C,b){this._viewContainer=C,this._context=new De,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=b}set ngIf(C){this._context.$implicit=this._context.ngIf=C,this._updateView()}set ngIfThen(C){be("ngIfThen",C),this._thenTemplateRef=C,this._thenViewRef=null,this._updateView()}set ngIfElse(C){be("ngIfElse",C),this._elseTemplateRef=C,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(C,b){return!0}static#e=this.\u0275fac=function(b){return new(b||m)(l.rXU(l.c1b),l.rXU(l.C4Q))};static#t=this.\u0275dir=l.FsC({type:m,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return m})();class De{constructor(){this.$implicit=null,this.ngIf=null}}function be(m,T){if(T&&!T.createEmbeddedView)throw new Error(`${m} must be a TemplateRef, but received '${(0,l.Tbb)(T)}'.`)}let $=(()=>{class m{constructor(C,b,R){this._ngEl=C,this._differs=b,this._renderer=R,this._ngStyle=null,this._differ=null}set ngStyle(C){this._ngStyle=C,!this._differ&&C&&(this._differ=this._differs.find(C).create())}ngDoCheck(){if(this._differ){const C=this._differ.diff(this._ngStyle);C&&this._applyChanges(C)}}_setStyle(C,b){const[R,ne]=C.split("."),Ce=-1===R.indexOf("-")?void 0:l.czy.DashCase;null!=b?this._renderer.setStyle(this._ngEl.nativeElement,R,ne?`${b}${ne}`:b,Ce):this._renderer.removeStyle(this._ngEl.nativeElement,R,Ce)}_applyChanges(C){C.forEachRemovedItem(b=>this._setStyle(b.key,null)),C.forEachAddedItem(b=>this._setStyle(b.key,b.currentValue)),C.forEachChangedItem(b=>this._setStyle(b.key,b.currentValue))}static#e=this.\u0275fac=function(b){return new(b||m)(l.rXU(l.aKT),l.rXU(l.MKu),l.rXU(l.sFG))};static#t=this.\u0275dir=l.FsC({type:m,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return m})(),oe=(()=>{class m{constructor(C){this._viewContainerRef=C,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(C){if(this._shouldRecreateView(C)){const b=this._viewContainerRef;if(this._viewRef&&b.remove(b.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const R=this._createContextForwardProxy();this._viewRef=b.createEmbeddedView(this.ngTemplateOutlet,R,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(C){return!!C.ngTemplateOutlet||!!C.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(C,b,R)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,b,R),get:(C,b,R)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,b,R)}})}static#e=this.\u0275fac=function(b){return new(b||m)(l.rXU(l.c1b))};static#t=this.\u0275dir=l.FsC({type:m,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[l.OA$]})}return m})(),zo=(()=>{class m{static#e=this.\u0275fac=function(b){return new(b||m)};static#t=this.\u0275mod=l.$C({type:m});static#n=this.\u0275inj=l.G2t({})}return m})();const pi="browser",Io="server";function Xi(m){return m===pi}function Zi(m){return m===Io}let fo=(()=>{class m{static#e=this.\u0275prov=(0,l.jDH)({token:m,providedIn:"root",factory:()=>Xi((0,l.WQX)(l.Agw))?new Go((0,l.WQX)(Ie),window):new Wn})}return m})();class Go{constructor(T,C){this.document=T,this.window=C,this.offset=()=>[0,0]}setOffset(T){this.offset=Array.isArray(T)?()=>T:T}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(T){this.window.scrollTo(T[0],T[1])}scrollToAnchor(T){const C=function Wo(m,T){const C=m.getElementById(T)||m.getElementsByName(T)[0];if(C)return C;if("function"==typeof m.createTreeWalker&&m.body&&"function"==typeof m.body.attachShadow){const b=m.createTreeWalker(m.body,NodeFilter.SHOW_ELEMENT);let R=b.currentNode;for(;R;){const ne=R.shadowRoot;if(ne){const Ce=ne.getElementById(T)||ne.querySelector(`[name="${T}"]`);if(Ce)return Ce}R=b.nextNode()}}return null}(this.document,T);C&&(this.scrollToElement(C),C.focus())}setHistoryScrollRestoration(T){this.window.history.scrollRestoration=T}scrollToElement(T){const C=T.getBoundingClientRect(),b=C.left+this.window.pageXOffset,R=C.top+this.window.pageYOffset,ne=this.offset();this.window.scrollTo(b-ne[0],R-ne[1])}}class Wn{setOffset(T){}getScrollPosition(){return[0,0]}scrollToPosition(T){}scrollToAnchor(T){}setHistoryScrollRestoration(T){}}class po{}},1562:(tn,fe,W)=>{function l(A,U,k,te,ye,De,be){try{var We=A[De](be),$e=We.value}catch(Wt){return void k(Wt)}We.done?U($e):Promise.resolve($e).then(te,ye)}function j(A){return function(){var U=this,k=arguments;return new Promise(function(te,ye){var De=A.apply(U,k);function be($e){l(De,te,ye,be,We,"next",$e)}function We($e){l(De,te,ye,be,We,"throw",$e)}be(void 0)})}}W.d(fe,{Qq:()=>un,q1:()=>$i,Lr:()=>ke});var B=W(3953),ee=W(7673),he=W(1985),ue=W(6648),Ie=W(274),le=W(5964),Ee=W(6354),se=W(980),pe=W(5558),Ae=W(177);class je{}class Le{}class ke{constructor(U){this.normalizedNames=new Map,this.lazyUpdate=null,U?"string"==typeof U?this.lazyInit=()=>{this.headers=new Map,U.split("\n").forEach(k=>{const te=k.indexOf(":");if(te>0){const ye=k.slice(0,te),De=ye.toLowerCase(),be=k.slice(te+1).trim();this.maybeSetNormalizedName(ye,De),this.headers.has(De)?this.headers.get(De).push(be):this.headers.set(De,[be])}})}:typeof Headers<"u"&&U instanceof Headers?(this.headers=new Map,U.forEach((k,te)=>{this.setHeaderEntries(te,k)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(U).forEach(([k,te])=>{this.setHeaderEntries(k,te)})}:this.headers=new Map}has(U){return this.init(),this.headers.has(U.toLowerCase())}get(U){this.init();const k=this.headers.get(U.toLowerCase());return k&&k.length>0?k[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(U){return this.init(),this.headers.get(U.toLowerCase())||null}append(U,k){return this.clone({name:U,value:k,op:"a"})}set(U,k){return this.clone({name:U,value:k,op:"s"})}delete(U,k){return this.clone({name:U,value:k,op:"d"})}maybeSetNormalizedName(U,k){this.normalizedNames.has(k)||this.normalizedNames.set(k,U)}init(){this.lazyInit&&(this.lazyInit instanceof ke?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(U=>this.applyUpdate(U)),this.lazyUpdate=null))}copyFrom(U){U.init(),Array.from(U.headers.keys()).forEach(k=>{this.headers.set(k,U.headers.get(k)),this.normalizedNames.set(k,U.normalizedNames.get(k))})}clone(U){const k=new ke;return k.lazyInit=this.lazyInit&&this.lazyInit instanceof ke?this.lazyInit:this,k.lazyUpdate=(this.lazyUpdate||[]).concat([U]),k}applyUpdate(U){const k=U.name.toLowerCase();switch(U.op){case"a":case"s":let te=U.value;if("string"==typeof te&&(te=[te]),0===te.length)return;this.maybeSetNormalizedName(U.name,k);const ye=("a"===U.op?this.headers.get(k):void 0)||[];ye.push(...te),this.headers.set(k,ye);break;case"d":const De=U.value;if(De){let be=this.headers.get(k);if(!be)return;be=be.filter(We=>-1===De.indexOf(We)),0===be.length?(this.headers.delete(k),this.normalizedNames.delete(k)):this.headers.set(k,be)}else this.headers.delete(k),this.normalizedNames.delete(k)}}setHeaderEntries(U,k){const te=(Array.isArray(k)?k:[k]).map(De=>De.toString()),ye=U.toLowerCase();this.headers.set(ye,te),this.maybeSetNormalizedName(U,ye)}forEach(U){this.init(),Array.from(this.normalizedNames.keys()).forEach(k=>U(this.normalizedNames.get(k),this.headers.get(k)))}}class ze{encodeKey(U){return Lt(U)}encodeValue(U){return Lt(U)}decodeKey(U){return decodeURIComponent(U)}decodeValue(U){return decodeURIComponent(U)}}const Ge=/%(\d[a-f0-9])/gi,jt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Lt(A){return encodeURIComponent(A).replace(Ge,(U,k)=>jt[k]??U)}function ut(A){return`${A}`}class It{constructor(U={}){if(this.updates=null,this.cloneFrom=null,this.encoder=U.encoder||new ze,U.fromString){if(U.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function et(A,U){const k=new Map;return A.length>0&&A.replace(/^\?/,"").split("&").forEach(ye=>{const De=ye.indexOf("="),[be,We]=-1==De?[U.decodeKey(ye),""]:[U.decodeKey(ye.slice(0,De)),U.decodeValue(ye.slice(De+1))],$e=k.get(be)||[];$e.push(We),k.set(be,$e)}),k}(U.fromString,this.encoder)}else U.fromObject?(this.map=new Map,Object.keys(U.fromObject).forEach(k=>{const te=U.fromObject[k],ye=Array.isArray(te)?te.map(ut):[ut(te)];this.map.set(k,ye)})):this.map=null}has(U){return this.init(),this.map.has(U)}get(U){this.init();const k=this.map.get(U);return k?k[0]:null}getAll(U){return this.init(),this.map.get(U)||null}keys(){return this.init(),Array.from(this.map.keys())}append(U,k){return this.clone({param:U,value:k,op:"a"})}appendAll(U){const k=[];return Object.keys(U).forEach(te=>{const ye=U[te];Array.isArray(ye)?ye.forEach(De=>{k.push({param:te,value:De,op:"a"})}):k.push({param:te,value:ye,op:"a"})}),this.clone(k)}set(U,k){return this.clone({param:U,value:k,op:"s"})}delete(U,k){return this.clone({param:U,value:k,op:"d"})}toString(){return this.init(),this.keys().map(U=>{const k=this.encoder.encodeKey(U);return this.map.get(U).map(te=>k+"="+this.encoder.encodeValue(te)).join("&")}).filter(U=>""!==U).join("&")}clone(U){const k=new It({encoder:this.encoder});return k.cloneFrom=this.cloneFrom||this,k.updates=(this.updates||[]).concat(U),k}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(U=>this.map.set(U,this.cloneFrom.map.get(U))),this.updates.forEach(U=>{switch(U.op){case"a":case"s":const k=("a"===U.op?this.map.get(U.param):void 0)||[];k.push(ut(U.value)),this.map.set(U.param,k);break;case"d":if(void 0===U.value){this.map.delete(U.param);break}{let te=this.map.get(U.param)||[];const ye=te.indexOf(ut(U.value));-1!==ye&&te.splice(ye,1),te.length>0?this.map.set(U.param,te):this.map.delete(U.param)}}}),this.cloneFrom=this.updates=null)}}class ft{constructor(){this.map=new Map}set(U,k){return this.map.set(U,k),this}get(U){return this.map.has(U)||this.map.set(U,U.defaultValue()),this.map.get(U)}delete(U){return this.map.delete(U),this}has(U){return this.map.has(U)}keys(){return this.map.keys()}}function Xe(A){return typeof ArrayBuffer<"u"&&A instanceof ArrayBuffer}function Y(A){return typeof Blob<"u"&&A instanceof Blob}function Q(A){return typeof FormData<"u"&&A instanceof FormData}class ae{constructor(U,k,te,ye){let De;if(this.url=k,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=U.toUpperCase(),function Mt(A){switch(A){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ye?(this.body=void 0!==te?te:null,De=ye):De=te,De&&(this.reportProgress=!!De.reportProgress,this.withCredentials=!!De.withCredentials,De.responseType&&(this.responseType=De.responseType),De.headers&&(this.headers=De.headers),De.context&&(this.context=De.context),De.params&&(this.params=De.params),this.transferCache=De.transferCache),this.headers??=new ke,this.context??=new ft,this.params){const be=this.params.toString();if(0===be.length)this.urlWithParams=k;else{const We=k.indexOf("?");this.urlWithParams=k+(-1===We?"?":We<k.length-1?"&":"")+be}}else this.params=new It,this.urlWithParams=k}serializeBody(){return null===this.body?null:"string"==typeof this.body||Xe(this.body)||Y(this.body)||Q(this.body)||function q(A){return typeof URLSearchParams<"u"&&A instanceof URLSearchParams}(this.body)?this.body:this.body instanceof It?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Q(this.body)?null:Y(this.body)?this.body.type||null:Xe(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof It?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(U={}){const k=U.method||this.method,te=U.url||this.url,ye=U.responseType||this.responseType,De=U.transferCache??this.transferCache,be=void 0!==U.body?U.body:this.body,We=U.withCredentials??this.withCredentials,$e=U.reportProgress??this.reportProgress;let Wt=U.headers||this.headers,qt=U.params||this.params;const Kt=U.context??this.context;return void 0!==U.setHeaders&&(Wt=Object.keys(U.setHeaders).reduce((x,ve)=>x.set(ve,U.setHeaders[ve]),Wt)),U.setParams&&(qt=Object.keys(U.setParams).reduce((x,ve)=>x.set(ve,U.setParams[ve]),qt)),new ae(k,te,be,{params:qt,headers:Wt,context:Kt,reportProgress:$e,responseType:ye,withCredentials:We,transferCache:De})}}var we=function(A){return A[A.Sent=0]="Sent",A[A.UploadProgress=1]="UploadProgress",A[A.ResponseHeader=2]="ResponseHeader",A[A.DownloadProgress=3]="DownloadProgress",A[A.Response=4]="Response",A[A.User=5]="User",A}(we||{});class Ve{constructor(U,k=200,te="OK"){this.headers=U.headers||new ke,this.status=void 0!==U.status?U.status:k,this.statusText=U.statusText||te,this.url=U.url||null,this.ok=this.status>=200&&this.status<300}}class tt extends Ve{constructor(U={}){super(U),this.type=we.ResponseHeader}clone(U={}){return new tt({headers:U.headers||this.headers,status:void 0!==U.status?U.status:this.status,statusText:U.statusText||this.statusText,url:U.url||this.url||void 0})}}class Gt extends Ve{constructor(U={}){super(U),this.type=we.Response,this.body=void 0!==U.body?U.body:null}clone(U={}){return new Gt({body:void 0!==U.body?U.body:this.body,headers:U.headers||this.headers,status:void 0!==U.status?U.status:this.status,statusText:U.statusText||this.statusText,url:U.url||this.url||void 0})}}class wn extends Ve{constructor(U){super(U,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${U.url||"(unknown url)"}`:`Http failure response for ${U.url||"(unknown url)"}: ${U.status} ${U.statusText}`,this.error=U.error||null}}function _n(A,U){return{body:U,headers:A.headers,context:A.context,observe:A.observe,params:A.params,reportProgress:A.reportProgress,responseType:A.responseType,withCredentials:A.withCredentials,transferCache:A.transferCache}}let un=(()=>{class A{constructor(k){this.handler=k}request(k,te,ye={}){let De;if(k instanceof ae)De=k;else{let $e,Wt;$e=ye.headers instanceof ke?ye.headers:new ke(ye.headers),ye.params&&(Wt=ye.params instanceof It?ye.params:new It({fromObject:ye.params})),De=new ae(k,te,void 0!==ye.body?ye.body:null,{headers:$e,context:ye.context,params:Wt,reportProgress:ye.reportProgress,responseType:ye.responseType||"json",withCredentials:ye.withCredentials,transferCache:ye.transferCache})}const be=(0,ee.of)(De).pipe((0,Ie.H)($e=>this.handler.handle($e)));if(k instanceof ae||"events"===ye.observe)return be;const We=be.pipe((0,le.p)($e=>$e instanceof Gt));switch(ye.observe||"body"){case"body":switch(De.responseType){case"arraybuffer":return We.pipe((0,Ee.T)($e=>{if(null!==$e.body&&!($e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return $e.body}));case"blob":return We.pipe((0,Ee.T)($e=>{if(null!==$e.body&&!($e.body instanceof Blob))throw new Error("Response is not a Blob.");return $e.body}));case"text":return We.pipe((0,Ee.T)($e=>{if(null!==$e.body&&"string"!=typeof $e.body)throw new Error("Response is not a string.");return $e.body}));default:return We.pipe((0,Ee.T)($e=>$e.body))}case"response":return We;default:throw new Error(`Unreachable: unhandled observe type ${ye.observe}}`)}}delete(k,te={}){return this.request("DELETE",k,te)}get(k,te={}){return this.request("GET",k,te)}head(k,te={}){return this.request("HEAD",k,te)}jsonp(k,te){return this.request("JSONP",k,{params:(new It).append(te,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(k,te={}){return this.request("OPTIONS",k,te)}patch(k,te,ye={}){return this.request("PATCH",k,_n(ye,te))}post(k,te,ye={}){return this.request("POST",k,_n(ye,te))}put(k,te,ye={}){return this.request("PUT",k,_n(ye,te))}static#e=this.\u0275fac=function(te){return new(te||A)(B.KVO(je))};static#t=this.\u0275prov=B.jDH({token:A,factory:A.\u0275fac})}return A})();const $n=/^\)\]\}',?\n/;function cr(A){if(A.url)return A.url;const U="X-Request-URL".toLocaleLowerCase();return A.headers.get(U)}let ur=(()=>{class A{constructor(){this.fetchImpl=(0,B.WQX)(nr,{optional:!0})?.fetch??((...k)=>globalThis.fetch(...k)),this.ngZone=(0,B.WQX)(B.SKi)}handle(k){return new he.c(te=>{const ye=new AbortController;return this.doRequest(k,ye.signal,te).then(Bt,De=>te.error(new wn({error:De}))),()=>ye.abort()})}doRequest(k,te,ye){var De=this;return j(function*(){const be=De.createRequestInit(k);let We;try{const I=De.ngZone.runOutsideAngular(()=>De.fetchImpl(k.urlWithParams,{signal:te,...be}));(function ni(A){A.then(Bt,Bt)})(I),ye.next({type:we.Sent}),We=yield I}catch(I){return void ye.error(new wn({error:I,status:I.status??0,statusText:I.statusText,url:k.urlWithParams,headers:I.headers}))}const $e=new ke(We.headers),Wt=We.statusText,qt=cr(We)??k.urlWithParams;let Kt=We.status,x=null;if(k.reportProgress&&ye.next(new tt({headers:$e,status:Kt,statusText:Wt,url:qt})),We.body){const I=We.headers.get("content-length"),$=[],oe=We.body.getReader();let pt,vt,He=0;const Jn=typeof Zone<"u"&&Zone.current;yield De.ngZone.runOutsideAngular(j(function*(){for(;;){const{done:fi,value:Wi}=yield oe.read();if(fi)break;if($.push(Wi),He+=Wi.length,k.reportProgress){vt="text"===k.responseType?(vt??"")+(pt??=new TextDecoder).decode(Wi,{stream:!0}):void 0;const qi=()=>ye.next({type:we.DownloadProgress,total:I?+I:void 0,loaded:He,partialText:vt});Jn?Jn.run(qi):qi()}}}));const lo=De.concatChunks($,He);try{const fi=We.headers.get("Content-Type")??"";x=De.parseBody(k,lo,fi)}catch(fi){return void ye.error(new wn({error:fi,headers:new ke(We.headers),status:We.status,statusText:We.statusText,url:cr(We)??k.urlWithParams}))}}0===Kt&&(Kt=x?200:0),Kt>=200&&Kt<300?(ye.next(new Gt({body:x,headers:$e,status:Kt,statusText:Wt,url:qt})),ye.complete()):ye.error(new wn({error:x,headers:$e,status:Kt,statusText:Wt,url:qt}))})()}parseBody(k,te,ye){switch(k.responseType){case"json":const De=(new TextDecoder).decode(te).replace($n,"");return""===De?null:JSON.parse(De);case"text":return(new TextDecoder).decode(te);case"blob":return new Blob([te],{type:ye});case"arraybuffer":return te.buffer}}createRequestInit(k){const te={},ye=k.withCredentials?"include":void 0;if(k.headers.forEach((De,be)=>te[De]=be.join(",")),k.headers.has("Accept")||(te.Accept="application/json, text/plain, */*"),!k.headers.has("Content-Type")){const De=k.detectContentTypeHeader();null!==De&&(te["Content-Type"]=De)}return{body:k.serializeBody(),method:k.method,headers:te,credentials:ye}}concatChunks(k,te){const ye=new Uint8Array(te);let De=0;for(const be of k)ye.set(be,De),De+=be.length;return ye}static#e=this.\u0275fac=function(te){return new(te||A)};static#t=this.\u0275prov=B.jDH({token:A,factory:A.\u0275fac})}return A})();class nr{}function Bt(){}function nn(A,U){return U(A)}function yn(A,U){return(k,te)=>U.intercept(k,{handle:ye=>A(ye,te)})}const sn=new B.nKC(""),_r=new B.nKC(""),Kn=new B.nKC(""),Ur=new B.nKC("",{providedIn:"root",factory:()=>!0});function dr(){let A=null;return(U,k)=>{null===A&&(A=((0,B.WQX)(sn,{optional:!0})??[]).reduceRight(yn,nn));const te=(0,B.WQX)(B.TgB);if((0,B.WQX)(Ur)){const De=te.add();return A(U,k).pipe((0,se.j)(()=>te.remove(De)))}return A(U,k)}}let hr=(()=>{class A extends je{constructor(k,te){super(),this.backend=k,this.injector=te,this.chain=null,this.pendingTasks=(0,B.WQX)(B.TgB),this.contributeToStability=(0,B.WQX)(Ur)}handle(k){if(null===this.chain){const te=Array.from(new Set([...this.injector.get(_r),...this.injector.get(Kn,[])]));this.chain=te.reduceRight((ye,De)=>function ri(A,U,k){return(te,ye)=>(0,B.N4e)(k,()=>U(te,De=>A(De,ye)))}(ye,De,this.injector),nn)}if(this.contributeToStability){const te=this.pendingTasks.add();return this.chain(k,ye=>this.backend.handle(ye)).pipe((0,se.j)(()=>this.pendingTasks.remove(te)))}return this.chain(k,te=>this.backend.handle(te))}static#e=this.\u0275fac=function(te){return new(te||A)(B.KVO(Le),B.KVO(B.uvJ))};static#t=this.\u0275prov=B.jDH({token:A,factory:A.\u0275fac})}return A})();const yt=/^\)\]\}',?\n/;let Rn=(()=>{class A{constructor(k){this.xhrFactory=k}handle(k){if("JSONP"===k.method)throw new B.wOt(-2800,!1);const te=this.xhrFactory;return(te.\u0275loadImpl?(0,ue.H)(te.\u0275loadImpl()):(0,ee.of)(null)).pipe((0,pe.n)(()=>new he.c(De=>{const be=te.build();if(be.open(k.method,k.urlWithParams),k.withCredentials&&(be.withCredentials=!0),k.headers.forEach(($,oe)=>be.setRequestHeader($,oe.join(","))),k.headers.has("Accept")||be.setRequestHeader("Accept","application/json, text/plain, */*"),!k.headers.has("Content-Type")){const $=k.detectContentTypeHeader();null!==$&&be.setRequestHeader("Content-Type",$)}if(k.responseType){const $=k.responseType.toLowerCase();be.responseType="json"!==$?$:"text"}const We=k.serializeBody();let $e=null;const Wt=()=>{if(null!==$e)return $e;const $=be.statusText||"OK",oe=new ke(be.getAllResponseHeaders()),He=function At(A){return"responseURL"in A&&A.responseURL?A.responseURL:/^X-Request-URL:/m.test(A.getAllResponseHeaders())?A.getResponseHeader("X-Request-URL"):null}(be)||k.url;return $e=new tt({headers:oe,status:be.status,statusText:$,url:He}),$e},qt=()=>{let{headers:$,status:oe,statusText:He,url:pt}=Wt(),vt=null;204!==oe&&(vt=typeof be.response>"u"?be.responseText:be.response),0===oe&&(oe=vt?200:0);let Jn=oe>=200&&oe<300;if("json"===k.responseType&&"string"==typeof vt){const lo=vt;vt=vt.replace(yt,"");try{vt=""!==vt?JSON.parse(vt):null}catch(fi){vt=lo,Jn&&(Jn=!1,vt={error:fi,text:vt})}}Jn?(De.next(new Gt({body:vt,headers:$,status:oe,statusText:He,url:pt||void 0})),De.complete()):De.error(new wn({error:vt,headers:$,status:oe,statusText:He,url:pt||void 0}))},Kt=$=>{const{url:oe}=Wt(),He=new wn({error:$,status:be.status||0,statusText:be.statusText||"Unknown Error",url:oe||void 0});De.error(He)};let x=!1;const ve=$=>{x||(De.next(Wt()),x=!0);let oe={type:we.DownloadProgress,loaded:$.loaded};$.lengthComputable&&(oe.total=$.total),"text"===k.responseType&&be.responseText&&(oe.partialText=be.responseText),De.next(oe)},I=$=>{let oe={type:we.UploadProgress,loaded:$.loaded};$.lengthComputable&&(oe.total=$.total),De.next(oe)};return be.addEventListener("load",qt),be.addEventListener("error",Kt),be.addEventListener("timeout",Kt),be.addEventListener("abort",Kt),k.reportProgress&&(be.addEventListener("progress",ve),null!==We&&be.upload&&be.upload.addEventListener("progress",I)),be.send(We),De.next({type:we.Sent}),()=>{be.removeEventListener("error",Kt),be.removeEventListener("abort",Kt),be.removeEventListener("load",qt),be.removeEventListener("timeout",Kt),k.reportProgress&&(be.removeEventListener("progress",ve),null!==We&&be.upload&&be.upload.removeEventListener("progress",I)),be.readyState!==be.DONE&&be.abort()}})))}static#e=this.\u0275fac=function(te){return new(te||A)(B.KVO(Ae.N0))};static#t=this.\u0275prov=B.jDH({token:A,factory:A.\u0275fac})}return A})();const Qn=new B.nKC(""),Or=new B.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Dn=new B.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class dn{}let re=(()=>{class A{constructor(k,te,ye){this.doc=k,this.platform=te,this.cookieName=ye,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const k=this.doc.cookie||"";return k!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,Ae._b)(k,this.cookieName),this.lastCookieString=k),this.lastToken}static#e=this.\u0275fac=function(te){return new(te||A)(B.KVO(Ae.qQ),B.KVO(B.Agw),B.KVO(Or))};static#t=this.\u0275prov=B.jDH({token:A,factory:A.\u0275fac})}return A})();function J(A,U){const k=A.url.toLowerCase();if(!(0,B.WQX)(Qn)||"GET"===A.method||"HEAD"===A.method||k.startsWith("http://")||k.startsWith("https://"))return U(A);const te=(0,B.WQX)(dn).getToken(),ye=(0,B.WQX)(Dn);return null!=te&&!A.headers.has(ye)&&(A=A.clone({headers:A.headers.set(ye,te)})),U(A)}var G=function(A){return A[A.Interceptors=0]="Interceptors",A[A.LegacyInterceptors=1]="LegacyInterceptors",A[A.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",A[A.NoXsrfProtection=3]="NoXsrfProtection",A[A.JsonpSupport=4]="JsonpSupport",A[A.RequestsMadeViaParent=5]="RequestsMadeViaParent",A[A.Fetch=6]="Fetch",A}(G||{});function Fe(...A){const U=[un,Rn,hr,{provide:je,useExisting:hr},{provide:Le,useFactory:()=>(0,B.WQX)(ur,{optional:!0})??(0,B.WQX)(Rn)},{provide:_r,useValue:J,multi:!0},{provide:Qn,useValue:!0},{provide:dn,useClass:re}];for(const k of A)U.push(...k.\u0275providers);return(0,B.EmA)(U)}const St=new B.nKC("");function an(){return function ge(A,U){return{\u0275kind:A,\u0275providers:U}}(G.LegacyInterceptors,[{provide:St,useFactory:dr},{provide:_r,useExisting:St,multi:!0}])}let $i=(()=>{class A{static#e=this.\u0275fac=function(te){return new(te||A)};static#t=this.\u0275mod=B.$C({type:A});static#n=this.\u0275inj=B.G2t({providers:[Fe(an())]})}return A})()},3953:(tn,fe,W)=>{function l(e,t){return Object.is(e,t)}W.d(fe,{bc$:()=>pb,iLQ:()=>Ed,sZ2:()=>_u,hnV:()=>yE,Hbi:()=>$N,o8S:()=>ds,BIS:()=>gb,gRc:()=>RE,Ql9:()=>uN,OM3:()=>uc,Ocv:()=>_N,Z63:()=>Li,aKT:()=>Ll,uvJ:()=>vo,zcH:()=>ws,bkB:()=>ss,$GK:()=>xt,nKC:()=>rt,zZn:()=>ei,_q3:()=>ng,MKu:()=>rg,xe9:()=>Qp,Co$:()=>yv,Vns:()=>ua,SKi:()=>jn,Xx1:()=>_i,Agw:()=>yu,PLl:()=>Gm,sFG:()=>aT,_9s:()=>Ff,czy:()=>Au,kdw:()=>ki,C4Q:()=>tc,NYb:()=>rN,giA:()=>mE,RxE:()=>lE,c1b:()=>Ku,gXe:()=>Yo,mal:()=>nd,L39:()=>vx,EWP:()=>wx,Ol2:()=>Zf,w6W:()=>YT,oH4:()=>PE,SmG:()=>TN,Rfq:()=>Ai,WQX:()=>Me,naY:()=>SN,QuC:()=>Ns,EmA:()=>Ml,fpN:()=>BN,HJs:()=>Ix,N4e:()=>ID,vPA:()=>ev,O8t:()=>Ex,H3F:()=>cE,zAP:()=>oD,H8p:()=>Hd,KH2:()=>gl,TgB:()=>na,wOt:()=>Ne,WHO:()=>pE,e01:()=>gE,H5H:()=>Mp,Zy3:()=>Fr,mq5:()=>MC,JZv:()=>Mn,LfX:()=>Ao,plB:()=>ks,jNT:()=>Gp,zjR:()=>_E,TL$:()=>hb,Tbb:()=>kn,Vt3:()=>Kf,GFd:()=>_v,OA$:()=>Jd,Jv_:()=>xw,aNF:()=>Rw,R7$:()=>B_,BMQ:()=>up,HbH:()=>cC,ZvI:()=>mC,AVh:()=>mp,wni:()=>ow,VBU:()=>ro,FsC:()=>Hc,jDH:()=>st,G2t:()=>gn,$C:()=>Ci,EJ8:()=>qs,rXU:()=>za,nrm:()=>wp,eu8:()=>Ep,bVm:()=>dd,qex:()=>ud,k0s:()=>cd,j41:()=>ld,RV6:()=>EC,xGo:()=>cm,Mr5:()=>Dp,KVO:()=>wt,kS0:()=>du,QTQ:()=>H_,bIt:()=>Tp,lsd:()=>lw,XpG:()=>QC,SdG:()=>ZC,NAR:()=>XC,Y8G:()=>pp,FS9:()=>Op,Mz_:()=>md,FCK:()=>Pp,lJ4:()=>Lw,eq3:()=>Vw,l_i:()=>Uw,sMw:()=>jw,mGM:()=>aw,sdS:()=>cw,Njj:()=>kg,eBV:()=>Fg,n$t:()=>__,DNE:()=>Jf,C5r:()=>Ww,EFF:()=>vw,JRh:()=>Np,SpI:()=>_d,DH7:()=>Ow,mxI:()=>Rp,R50:()=>xp,GBs:()=>sw});let j=null,B=!1,ee=1;const he=Symbol("SIGNAL");function ue(e){const t=j;return j=e,t}const se={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 pe(e){if(B)throw new Error("");if(null===j)return;j.consumerOnSignalRead(e);const t=j.nextProducerIndex++;Zt(j),t<j.producerNode.length&&j.producerNode[t]!==e&&It(j)&&ut(j.producerNode[t],j.producerIndexOfThis[t]),j.producerNode[t]!==e&&(j.producerNode[t]=e,j.producerIndexOfThis[t]=It(j)?Lt(e,j,t):0),j.producerLastReadVersion[t]=e.version}function je(e){if((!It(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==ee)){if(!e.producerMustRecompute(e)&&!Ge(e))return e.dirty=!1,void(e.lastCleanEpoch=ee);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=ee}}function Le(e){if(void 0===e.liveConsumerNode)return;const t=B;B=!0;try{for(const n of e.liveConsumerNode)n.dirty||Je(n)}finally{B=t}}function ke(){return!1!==j?.consumerAllowSignalWrites}function Je(e){e.dirty=!0,Le(e),e.consumerMarkedDirty?.(e)}function ze(e){return e&&(e.nextProducerIndex=0),ue(e)}function et(e,t){if(ue(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(It(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)ut(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ge(e){Zt(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(je(n),r!==n.version))return!0}return!1}function jt(e){if(Zt(e),It(e))for(let t=0;t<e.producerNode.length;t++)ut(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 Lt(e,t,n){if(ft(e),0===e.liveConsumerNode.length&&Mt(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Lt(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function ut(e,t){if(ft(e),1===e.liveConsumerNode.length&&Mt(e))for(let r=0;r<e.producerNode.length;r++)ut(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];Zt(i),i.producerIndexOfThis[r]=t}}function It(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Zt(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function ft(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Mt(e){return void 0!==e.producerNode}const Y=Symbol("UNSET"),Q=Symbol("COMPUTING"),q=Symbol("ERRORED"),ae={...se,value:Y,dirty:!0,error:null,equal:l,producerMustRecompute:e=>e.value===Y||e.value===Q,producerRecomputeValue(e){if(e.value===Q)throw new Error("Detected cycle in computations.");const t=e.value;e.value=Q;const n=ze(e);let r;try{r=e.computation()}catch(i){r=q,e.error=i}finally{et(e,n)}t!==Y&&t!==q&&r!==q&&e.equal(t,r)?e.value=t:(e.value=r,e.version++)}};let Ve=function we(){throw new Error};function tt(){Ve()}let wn=null;function _n(e,t){ke()||tt(),e.equal(e.value,t)||(e.value=t,function cr(e){e.version++,function Ae(){ee++}(),Le(e),wn?.()}(e))}const An={...se,equal:l,value:void 0};var nn=W(4412),yn=W(1413),ri=W(8359),sn=W(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 Ne extends Error{constructor(t,n){super(Fr(t,n)),this.code=t}}function Fr(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function ai(e){return{toString:e}.toString()}const fr="__parameters__";function wr(e,t,n){return ai(()=>{const r=function pr(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return c.annotation=s,c;function c(g,E,D){const N=g.hasOwnProperty(fr)?g[fr]:Object.defineProperty(g,fr,{value:[]})[fr];for(;N.length<=D;)N.push(null);return(N[D]=N[D]||[]).push(s),g}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const Mn=globalThis;function Vt(e){for(let t in e)if(e[t]===Vt)return t;throw Error("Could not find renamed property on target object.")}function Ts(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function kn(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(kn).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 fs(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Qo=Vt({__forward_ref__:Vt});function Ai(e){return e.__forward_ref__=Ai,e.toString=function(){return kn(this())},e}function Qe(e){return mi(e)?e():e}function mi(e){return"function"==typeof e&&e.hasOwnProperty(Qo)&&e.__forward_ref__===Ai}function st(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function gn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Sn(e){return kr(e,Lr)||kr(e,No)}function Ao(e){return null!==Sn(e)}function kr(e,t){return e.hasOwnProperty(t)?e[t]:null}function tr(e){return e&&(e.hasOwnProperty(eo)||e.hasOwnProperty(Ni))?e[eo]:null}const Lr=Vt({\u0275prov:Vt}),eo=Vt({\u0275inj:Vt}),No=Vt({ngInjectableDef:Vt}),Ni=Vt({ngInjectorDef:Vt});class rt{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=st({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function cn(e){return e&&!!e.\u0275providers}const _o=Vt({\u0275cmp:Vt}),ps=Vt({\u0275dir:Vt}),Tn=Vt({\u0275pipe:Vt}),Ri=Vt({\u0275mod:Vt}),In=Vt({\u0275fac:Vt}),Vr=Vt({__NG_ELEMENT_ID__:Vt}),Ro=Vt({__NG_ENV_ID__:Vt});function lt(e){return"string"==typeof e?e:null==e?"":String(e)}function ya(e,t){throw new Ne(-201,!1)}var xt=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}(xt||{});let $s;function Cl(){return $s}function Qr(e){const t=$s;return $s=e,t}function gs(e,t,n){const r=Sn(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&xt.Optional?null:void 0!==t?t:void ya()}const Os={},Ca="__NG_DI_FLAG__",m="ngTempTokenPath",C=/\n/gm,R="__source";let ne;function Ue(e){const t=ne;return ne=e,t}function Ut(e,t=xt.Default){if(void 0===ne)throw new Ne(-203,!1);return null===ne?gs(e,void 0,t):ne.get(e,t&xt.Optional?null:void 0,t)}function wt(e,t=xt.Default){return(Cl()||Ut)(Qe(e),t)}function Me(e,t=xt.Default){return wt(e,fn(t))}function fn(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Qt(e){const t=[];for(let n=0;n<e.length;n++){const r=Qe(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Ne(900,!1);let i,o=xt.Default;for(let s=0;s<r.length;s++){const c=r[s],g=Fo(c);"number"==typeof g?-1===g?i=c.token:o|=g:i=c}t.push(wt(i,o))}else t.push(wt(r))}return t}function vn(e,t){return e[Ca]=t,e.prototype[Ca]=t,e}function Fo(e){return e[Ca]}const _i=vn(wr("Optional"),8),ki=vn(wr("SkipSelf"),4);function ms(e,t){return e.hasOwnProperty(In)?e[In]:null}function zs(e,t){e.forEach(n=>Array.isArray(n)?zs(n,t):t(n))}function wl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Gs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function vi(e,t,n){let r=Ws(e,t);return r>=0?e[1|r]=n:(r=~r,function Rd(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 Vc(e,t){const n=Ws(e,t);if(n>=0)return e[1|n]}function Ws(e,t){return function Uc(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),s=e[o<<n];if(t===s)return o<<n;s>t?i=o:r=o+1}return~(i<<n)}(e,t,1)}const yo={},Xt=[],Li=new rt(""),jc=new rt("",-1),Dl=new rt("");class wa{get(t,n=Os){if(n===Os){const r=new Error(`NullInjectorError: No provider for ${kn(t)}!`);throw r.name="NullInjectorError",r}return n}}var Ea=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Ea||{}),Yo=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Yo||{}),Jo=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Jo||{});function kd(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 o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}function Da(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const o=n[r++],s=n[r++],c=n[r++];e.setAttribute(t,s,c,o)}else{const o=i,s=n[++r];Ld(o)?e.setProperty(t,o,s):e.setAttribute(t,o,s),r++}}return r}function Bc(e){return 3===e||4===e||6===e}function Ld(e){return 64===e.charCodeAt(0)}function Ma(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||Vd(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function Vd(e,t,n,r,i){let o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){const c=e[o++];if("number"==typeof c){if(c===t){s=-1;break}if(c>t){s=o-1;break}}}for(;o<e.length;){const c=e[o];if("number"==typeof c)break;if(c===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}const Ud="ng-template";function cg(e,t,n,r){let i=0;if(r){for(;i<t.length&&"string"==typeof t[i];i+=2)if("class"===t[i]&&-1!==kd(t[i+1].toLowerCase(),n,0))return!0}else if($c(e))return!1;if(i=t.indexOf(1,i),i>-1){let o;for(;++i<t.length&&"string"==typeof(o=t[i]);)if(o.toLowerCase()===n)return!0}return!1}function $c(e){return 4===e.type&&e.value!==Ud}function h(e,t,n){return t===(4!==e.type||n?e.value:Ud)}function y(e,t,n){let r=4;const i=e.attrs,o=null!==i?function F(e){for(let t=0;t<e.length;t++)if(Bc(e[t]))return t;return e.length}(i):0;let s=!1;for(let c=0;c<t.length;c++){const g=t[c];if("number"!=typeof g){if(!s)if(4&r){if(r=2|1&r,""!==g&&!h(e,g,n)||""===g&&1===t.length){if(p(r))return!1;s=!0}}else if(8&r){if(null===i||!cg(e,i,g,n)){if(p(r))return!1;s=!0}}else{const E=t[++c],D=v(g,i,$c(e),n);if(-1===D){if(p(r))return!1;s=!0;continue}if(""!==E){let N;if(N=D>o?"":i[D+1].toLowerCase(),2&r&&E!==N){if(p(r))return!1;s=!0}}}}else{if(!s&&!p(r)&&!p(g))return!1;if(s&&p(g))continue;s=!1,r=g|1&r}}return p(r)||s}function p(e){return!(1&e)}function v(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){const s=t[i];if(s===e)return i;if(3===s||6===s)o=!0;else{if(1===s||2===s){let c=t[++i];for(;"string"==typeof c;)c=t[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=o?1:2}return-1}return function ie(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 M(e,t,n=!1){for(let r=0;r<t.length;r++)if(y(e,t[r],n))return!0;return!1}function Z(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 Re(e,t){return e?":not("+t.trim()+")":t}function ct(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const c=e[++n];i+="["+s+(c.length>0?'="'+c+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!p(s)&&(t+=Re(o,i),i=""),r=s,o=o||!p(r);n++}return""!==i&&(t+=Re(o,i)),t}function ro(e){return ai(()=>{const t=ug(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ea.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Yo.Emulated,styles:e.styles||Xt,_:null,schemas:e.schemas||null,tView:null,id:""};dg(n);const r=e.dependencies;return n.directiveDefs=zc(r,!1),n.pipeDefs=zc(r,!0),n.id=function yD(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 Xr(e){return kt(e)||Dr(e)}function es(e){return null!==e}function Ci(e){return ai(()=>({type:e.type,bootstrap:e.bootstrap||Xt,declarations:e.declarations||Xt,imports:e.imports||Xt,exports:e.exports||Xt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function As(e,t){if(null==e)return yo;const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let o,s,c=Jo.None;Array.isArray(i)?(c=i[0],o=i[1],s=i[2]??o):(o=i,s=i),t?(n[o]=c!==Jo.None?[r,c]:r,t[o]=s):n[o]=r}return n}function Hc(e){return ai(()=>{const t=ug(e);return dg(t),t})}function qs(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 kt(e){return e[_o]||null}function Dr(e){return e[ps]||null}function Zr(e){return e[Tn]||null}function Ns(e){const t=kt(e)||Dr(e)||Zr(e);return null!==t&&t.standalone}function ui(e,t){const n=e[Ri]||null;if(!n&&!0===t)throw new Error(`Type ${kn(e)} does not have '\u0275mod' property.`);return n}function ug(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||yo,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Xt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:As(e.inputs,t),outputs:As(e.outputs),debugInfo:null}}function dg(e){e.features?.forEach(t=>t(e))}function zc(e,t){if(!e)return null;const n=t?Zr:Xr;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(es)}function Ml(e){return{\u0275providers:e}}function vD(...e){return{\u0275providers:jd(0,e),\u0275fromNgModule:!0}}function jd(e,...t){const n=[],r=new Set;let i;const o=s=>{n.push(s)};return zs(t,s=>{const c=s;Gc(c,o,[],r)&&(i||=[],i.push(c))}),void 0!==i&&hg(i,o),n}function hg(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:i}=e[n];Bd(i,o=>{t(o,r)})}}function Gc(e,t,n,r){if(!(e=Qe(e)))return!1;let i=null,o=tr(e);const s=!o&&kt(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const g=e.ngModule;if(o=tr(g),!o)return!1;i=g}const c=r.has(i);if(s){if(c)return!1;if(r.add(i),s.dependencies){const g="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const E of g)Gc(E,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!c){let E;r.add(i);try{zs(o.imports,D=>{Gc(D,t,n,r)&&(E||=[],E.push(D))})}finally{}void 0!==E&&hg(E,t)}if(!c){const E=ms(i)||(()=>new i);t({provide:i,useFactory:E,deps:Xt},i),t({provide:Dl,useValue:i,multi:!0},i),t({provide:Li,useValue:()=>wt(i),multi:!0},i)}const g=o.providers;if(null!=g&&!c){const E=e;Bd(g,D=>{t(D,E)})}}}return i!==e&&void 0!==e.providers}function Bd(e,t){for(let n of e)cn(n)&&(n=n.\u0275providers),Array.isArray(n)?Bd(n,t):t(n)}const CD=Vt({provide:String,useValue:Vt});function $d(e){return null!==e&&"object"==typeof e&&CD in e}function Ks(e){return"function"==typeof e}const Hd=new rt(""),Wc={},ED={};let zd;function qc(){return void 0===zd&&(zd=new wa),zd}class vo{}class ba extends vo{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,Wd(t,s=>this.processProvider(s)),this.records.set(jc,Sa(void 0,this)),i.has("environment")&&this.records.set(vo,Sa(void 0,this));const o=this.records.get(Hd);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Dl,Xt,xt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=ue(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(),ue(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Ue(this),r=Qr(void 0);try{return t()}finally{Ue(n),Qr(r)}}get(t,n=Os,r=xt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ro))return t[Ro](this);r=fn(r);const o=Ue(this),s=Qr(void 0);try{if(!(r&xt.SkipSelf)){let g=this.records.get(t);if(void 0===g){const E=function TD(e){return"function"==typeof e||"object"==typeof e&&e instanceof rt}(t)&&Sn(t);g=E&&this.injectableDefInScope(E)?Sa(Gd(t),Wc):null,this.records.set(t,g)}if(null!=g)return this.hydrate(t,g)}return(r&xt.Self?qc():this.parent).get(t,n=r&xt.Optional&&n===Os?null:n)}catch(c){if("NullInjectorError"===c.name){if((c[m]=c[m]||[]).unshift(kn(t)),o)throw c;return function no(e,t,n,r){const i=e[m];throw t[R]&&i.unshift(t[R]),e.message=function Zo(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=kn(t);if(Array.isArray(t))i=t.map(kn).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let c=t[s];o.push(s+":"+("string"==typeof c?JSON.stringify(c):kn(c)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(C,"\n  ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[m]=null,e}(c,t,"R3InjectorError",this.source)}throw c}finally{Qr(s),Ue(o)}}resolveInjectorInitializers(){const t=ue(null),n=Ue(this),r=Qr(void 0);try{const o=this.get(Li,Xt,xt.Self);for(const s of o)s()}finally{Ue(n),Qr(r),ue(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(kn(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ne(205,!1)}processProvider(t){let n=Ks(t=Qe(t))?t:Qe(t&&t.provide);const r=function MD(e){return $d(e)?Sa(void 0,e.useValue):Sa(gg(e),Wc)}(t);if(!Ks(t)&&!0===t.multi){let i=this.records.get(n);i||(i=Sa(void 0,Wc,!0),i.factory=()=>Qt(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=ue(null);try{return n.value===Wc&&(n.value=ED,n.value=n.factory()),"object"==typeof n.value&&n.value&&function SD(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{ue(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Qe(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 Gd(e){const t=Sn(e),n=null!==t?t.factory:ms(e);if(null!==n)return n;if(e instanceof rt)throw new Ne(204,!1);if(e instanceof Function)return function DD(e){if(e.length>0)throw new Ne(204,!1);const n=function er(e){return e&&(e[Lr]||e[No])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Ne(204,!1)}function gg(e,t,n){let r;if(Ks(e)){const i=Qe(e);return ms(i)||Gd(i)}if($d(e))r=()=>Qe(e.useValue);else if(function pg(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Qt(e.deps||[]));else if(function fg(e){return!(!e||!e.useExisting)}(e))r=()=>wt(Qe(e.useExisting));else{const i=Qe(e&&(e.useClass||e.provide));if(!function bD(e){return!!e.deps}(e))return ms(i)||Gd(i);r=()=>new i(...Qt(e.deps))}return r}function Sa(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Wd(e,t){for(const n of e)Array.isArray(n)?Wd(n,t):n&&cn(n)?Wd(n.\u0275providers,t):t(n)}function ID(e,t){e instanceof ba&&e.assertNotDestroyed();const r=Ue(e),i=Qr(void 0);try{return t()}finally{Ue(r),Qr(i)}}function mg(){return void 0!==Cl()||null!=function Ce(){return ne}()}const Vn=0,Oe=1,nt=2,gr=3,Lo=4,Yr=5,wi=6,Ia=7,On=8,mr=9,ts=10,gt=11,Sl=12,yg=13,Oa=14,Un=15,Qs=16,Pa=17,_s=18,Aa=19,vg=20,xs=21,Qc=22,Co=23,Ke=25,Qd=1,ns=7,Na=9,ir=10;var Zc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Zc||{});function br(e){return Array.isArray(e)&&"object"==typeof e[Qd]}function di(e){return Array.isArray(e)&&!0===e[Qd]}function Xd(e){return!!(4&e.flags)}function Xs(e){return e.componentOffset>-1}function Yc(e){return!(1&~e.flags)}function Vo(e){return!!e.template}function Il(e){return!!(512&e[nt])}class jD{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Mg(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function Jd(){return bg}function bg(e){return e.type.prototype.ngOnChanges&&(e.setInput=$D),BD}function BD(){const e=Tg(this),t=e?.current;if(t){const n=e.previous;if(n===yo)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function $D(e,t,n,r,i){const o=this.declaredInputs[r],s=Tg(e)||function HD(e,t){return e[Sg]=t}(e,{previous:yo,current:null}),c=s.current||(s.current={}),g=s.previous,E=g[o];c[o]=new jD(E&&E.currentValue,n,g===yo),Mg(e,t,i,n)}Jd.ngInherit=!0;const Sg="__ngSimpleChanges__";function Tg(e){return e[Sg]||null}const rs=function(e,t,n){};function Jt(e){for(;Array.isArray(e);)e=e[Vn];return e}function Ol(e,t){return Jt(t[e])}function Ei(e,t){return Jt(t[e.index])}function Pl(e,t){return e.data[t]}function io(e,t){const n=t[e];return br(n)?n:n[Vn]}function nh(e){return!(128&~e[nt])}function wo(e,t){return null==t?null:e[t]}function Pg(e){e[Pa]=0}function Ag(e){1024&e[nt]||(e[nt]|=1024,nh(e)&&eu(e))}function Jc(e){return!!(9216&e[nt]||e[Co]?.dirty)}function rh(e){e[ts].changeDetectionScheduler?.notify(8),64&e[nt]&&(e[nt]|=1024),Jc(e)&&eu(e)}function eu(e){e[ts].changeDetectionScheduler?.notify(0);let t=ys(e);for(;null!==t&&!(8192&t[nt])&&(t[nt]|=8192,nh(t));)t=ys(t)}function tu(e,t){if(!(256&~e[nt]))throw new Ne(911,!1);null===e[xs]&&(e[xs]=[]),e[xs].push(t)}function ys(e){const t=e[gr];return di(t)?t[gr]:t}const mt={lFrame:Wg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let xg=!1;function Rg(){return mt.bindingsEnabled}function Ys(){return null!==mt.skipHydrationRootTNode}function de(){return mt.lFrame.lView}function Rt(){return mt.lFrame.tView}function Fg(e){return mt.lFrame.contextLView=e,e[On]}function kg(e){return mt.lFrame.contextLView=null,e}function pn(){let e=Lg();for(;null!==e&&64===e.type;)e=e.parent;return e}function Lg(){return mt.lFrame.currentTNode}function Uo(e,t){const n=mt.lFrame;n.currentTNode=e,n.isParent=t}function sh(){return mt.lFrame.isParent}function ah(){mt.lFrame.isParent=!1}function jg(){return xg}function Bg(e){xg=e}function Di(){const e=mt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function jo(){return mt.lFrame.bindingIndex++}function Cs(e){const t=mt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function rM(e,t){const n=mt.lFrame;n.bindingIndex=n.bindingRootIndex=e,lh(t)}function lh(e){mt.lFrame.currentDirectiveIndex=e}function uh(){return mt.lFrame.currentQueryIndex}function ru(e){mt.lFrame.currentQueryIndex=e}function oM(e){const t=e[Oe];return 2===t.type?t.declTNode:1===t.type?e[Yr]:null}function zg(e,t,n){if(n&xt.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&xt.Host||(i=oM(o),null===i||(o=o[Oa],10&i.type))););if(null===i)return!1;t=i,e=o}const r=mt.lFrame=Gg();return r.currentTNode=t,r.lView=e,!0}function dh(e){const t=Gg(),n=e[Oe];mt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Gg(){const e=mt.lFrame,t=null===e?null:e.child;return null===t?Wg(e):t}function Wg(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 qg(){const e=mt.lFrame;return mt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Kg=qg;function hh(){const e=qg();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 Jr(){return mt.lFrame.selectedIndex}function Js(e){mt.lFrame.selectedIndex=e}function Pn(){const e=mt.lFrame;return Pl(e.tView,e.selectedIndex)}let Xg=!0;function Nl(){return Xg}function is(e){Xg=e}function iu(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:c,ngAfterViewInit:g,ngAfterViewChecked:E,ngOnDestroy:D}=o;s&&(e.contentHooks??=[]).push(-n,s),c&&((e.contentHooks??=[]).push(n,c),(e.contentCheckHooks??=[]).push(n,c)),g&&(e.viewHooks??=[]).push(-n,g),E&&((e.viewHooks??=[]).push(n,E),(e.viewCheckHooks??=[]).push(n,E)),null!=D&&(e.destroyHooks??=[]).push(n,D)}}function ou(e,t,n){Zg(e,t,3,n)}function su(e,t,n,r){(3&e[nt])===n&&Zg(e,t,n,r)}function fh(e,t){let n=e[nt];(3&n)===t&&(n&=16383,n+=1,e[nt]=n)}function Zg(e,t,n,r){const o=r??-1,s=t.length-1;let c=0;for(let g=void 0!==r?65535&e[Pa]:0;g<s;g++)if("number"==typeof t[g+1]){if(c=t[g],null!=r&&c>=r)break}else t[g]<0&&(e[Pa]+=65536),(c<o||-1==o)&&(hM(e,n,t,g),e[Pa]=(4294901760&e[Pa])+g+2),g++}function Yg(e,t){rs(4,e,t);const n=ue(null);try{t.call(e)}finally{ue(n),rs(5,e,t)}}function hM(e,t,n,r){const i=n[r]<0,o=n[r+1],c=e[i?-n[r]:n[r]];i?e[nt]>>14<e[Pa]>>16&&(3&e[nt])===t&&(e[nt]+=16384,Yg(c,o)):Yg(c,o)}const xa=-1;class xl{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}const gh={};class ea{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=fn(r);const i=this.injector.get(t,gh,r);return i!==gh||n===gh?i:this.parentInjector.get(t,n,r)}}function mh(e){return e!==xa}function Rl(e){return 32767&e}function Fl(e,t){let n=function _M(e){return e>>16}(e),r=t;for(;n>0;)r=r[Oa],n--;return r}let _h=!0;function au(e){const t=_h;return _h=e,t}const em=255,tm=5;let vM=0;const os={};function lu(e,t){const n=nm(e,t);if(-1!==n)return n;const r=t[Oe];r.firstCreatePass&&(e.injectorIndex=t.length,yh(r.data,e),yh(t,null),yh(r.blueprint,null));const i=cu(e,t),o=e.injectorIndex;if(mh(i)){const s=Rl(i),c=Fl(i,t),g=c[Oe].data;for(let E=0;E<8;E++)t[o+E]=c[s+E]|g[s+E]}return t[o+8]=i,o}function yh(e,t){e.push(0,0,0,0,0,0,0,0,t)}function nm(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function cu(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=um(i),null===r)return xa;if(n++,i=i[Oa],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return xa}function vh(e,t,n){!function CM(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Vr)&&(r=n[Vr]),null==r&&(r=n[Vr]=vM++);const i=r&em;t.data[e+(i>>tm)]|=1<<i}(e,t,n)}function rm(e,t,n){if(n&xt.Optional||void 0!==e)return e;ya()}function im(e,t,n,r){if(n&xt.Optional&&void 0===r&&(r=null),!(n&(xt.Self|xt.Host))){const i=e[mr],o=Qr(void 0);try{return i?i.get(t,r,n&xt.Optional):gs(t,r,n&xt.Optional)}finally{Qr(o)}}return rm(r,0,n)}function om(e,t,n,r=xt.Default,i){if(null!==e){if(2048&t[nt]&&!(r&xt.Self)){const s=function bM(e,t,n,r,i){let o=e,s=t;for(;null!==o&&null!==s&&2048&s[nt]&&!(512&s[nt]);){const c=sm(o,s,n,r|xt.Self,os);if(c!==os)return c;let g=o.parent;if(!g){const E=s[vg];if(E){const D=E.get(n,os,r);if(D!==os)return D}g=um(s),s=s[Oa]}o=g}return i}(e,t,n,r,os);if(s!==os)return s}const o=sm(e,t,n,r,os);if(o!==os)return o}return im(t,n,r,i)}function sm(e,t,n,r,i){const o=function DM(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Vr)?e[Vr]:void 0;return"number"==typeof t?t>=0?t&em:MM:t}(n);if("function"==typeof o){if(!zg(t,e,r))return r&xt.Host?rm(i,0,r):im(t,n,r,i);try{let s;if(s=o(r),null!=s||r&xt.Optional)return s;ya()}finally{Kg()}}else if("number"==typeof o){let s=null,c=nm(e,t),g=xa,E=r&xt.Host?t[Un][Yr]:null;for((-1===c||r&xt.SkipSelf)&&(g=-1===c?cu(e,t):t[c+8],g!==xa&&lm(r,!1)?(s=t[Oe],c=Rl(g),t=Fl(g,t)):c=-1);-1!==c;){const D=t[Oe];if(am(o,c,D.data)){const N=EM(c,t,n,s,r,E);if(N!==os)return N}g=t[c+8],g!==xa&&lm(r,t[Oe].data[c+8]===E)&&am(o,c,t)?(s=D,c=Rl(g),t=Fl(g,t)):c=-1}}return i}function EM(e,t,n,r,i,o){const s=t[Oe],c=s.data[e+8],D=uu(c,s,n,null==r?Xs(c)&&_h:r!=s&&!!(3&c.type),i&xt.Host&&o===c);return null!==D?ta(t,s,D,c):os}function uu(e,t,n,r,i){const o=e.providerIndexes,s=t.data,c=1048575&o,g=e.directiveStart,D=o>>20,V=i?c+D:e.directiveEnd;for(let H=r?c:c+D;H<V;H++){const K=s[H];if(H<g&&n===K||H>=g&&K.type===n)return H}if(i){const H=s[g];if(H&&Vo(H)&&H.type===n)return g}return null}function ta(e,t,n,r){let i=e[n];const o=t.data;if(function fM(e){return e instanceof xl}(i)){const s=i;s.resolving&&function kc(e,t){throw t&&t.join(" > "),new Ne(-200,e)}(function Ft(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():lt(e)}(o[n]));const c=au(s.canSeeViewProviders);s.resolving=!0;const E=s.injectImpl?Qr(s.injectImpl):null;zg(e,r,xt.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function dM(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const s=bg(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}(n,o[n],t)}finally{null!==E&&Qr(E),au(c),s.resolving=!1,Kg()}}return i}function am(e,t,n){return!!(n[t+(e>>tm)]&1<<e)}function lm(e,t){return!(e&xt.Self||e&xt.Host&&t)}class Sr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return om(this._tNode,this._lView,t,fn(r),n)}}function MM(){return new Sr(pn(),de())}function cm(e){return ai(()=>{const t=e.prototype.constructor,n=t[In]||Ch(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[In]||Ch(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Ch(e){return mi(e)?()=>{const t=Ch(Qe(e));return t&&t()}:ms(e)}function um(e){const t=e[Oe],n=t.type;return 2===n?t.declTNode:1===n?e[Yr]:null}function du(e){return function wM(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 o=n[i];if(Bc(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}}return null}(pn(),e)}function gm(e,t=null,n=null,r){const i=mm(e,t,n,r);return i.resolveInjectorInitializers(),i}function mm(e,t=null,n=null,r,i=new Set){const o=[n||Xt,vD(e)];return r=r||("object"==typeof e?void 0:kn(e)),new ba(o,t||qc(),r||null,i)}class ei{static#e=this.THROW_IF_NOT_FOUND=Os;static#t=this.NULL=new wa;static create(t,n){if(Array.isArray(t))return gm({name:""},n,t,"");{const r=t.name??"";return gm({name:r},t.parent,t.providers,r)}}static#n=this.\u0275prov=st({token:ei,providedIn:"any",factory:()=>wt(jc)});static#r=this.__NG_ELEMENT_ID__=-1}new rt("").__NG_ELEMENT_ID__=e=>{const t=pn();if(null===t)throw new Ne(204,!1);if(2&t.type)return t.value;if(e&xt.Optional)return null;throw new Ne(204,!1)};function Eh(e){return e.ngOriginalError}const ym=!0;let kl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=FM;static#t=this.__NG_ENV_ID__=n=>n}return e})();class RM extends kl{constructor(t){super(),this._lView=t}onDestroy(t){return tu(this._lView,t),()=>function ih(e,t){if(null===e[xs])return;const n=e[xs].indexOf(t);-1!==n&&e[xs].splice(n,1)}(this._lView,t)}}function FM(){return new RM(de())}let na=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new nn.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.\u0275prov=st({token:e,providedIn:"root",factory:()=>new e})}return e})();const ss=class kM extends yn.B{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,mg()&&(this.destroyRef=Me(kl,{optional:!0})??void 0,this.pendingTasks=Me(na,{optional:!0})??void 0)}emit(t){const n=ue(null);try{super.next(t)}finally{ue(n)}}subscribe(t,n,r){let i=t,o=n||(()=>null),s=r;if(t&&"object"==typeof t){const g=t;i=g.next?.bind(g),o=g.error?.bind(g),s=g.complete?.bind(g)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));const c=super.subscribe({next:i,error:o,complete:s});return t instanceof ri.yU&&t.add(c),c}wrapInTimeout(t){return n=>{const r=this.pendingTasks?.add();setTimeout(()=>{t(n),void 0!==r&&this.pendingTasks?.remove(r)})}}};function fu(...e){}function vm(e){let t,n;function r(){e=fu;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 Cm(e){return queueMicrotask(()=>e()),()=>{e=fu}}const Dh="isAngularZone",pu=Dh+"_ID";let LM=0;class jn{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ss(!1),this.onMicrotaskEmpty=new ss(!1),this.onStable=new ss(!1),this.onError=new ss(!1);const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=ym}=t;if(typeof Zone>"u")throw new Ne(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,function jM(e){const t=()=>{!function UM(e){function t(){vm(()=>{e.callbackScheduled=!1,bh(e),e.isCheckStableRunning=!0,Mh(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=LM++;e._inner=e._inner.fork({name:"angular",properties:{[Dh]:!0,[pu]:n,[pu+n]:!0},onInvokeTask:(r,i,o,s,c,g)=>{if(function BM(e){return Dm(e,"__ignore_ng_zone__")}(g))return r.invokeTask(o,s,c,g);try{return wm(e),r.invokeTask(o,s,c,g)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),Em(e)}},onInvoke:(r,i,o,s,c,g,E)=>{try{return wm(e),r.invoke(o,s,c,g,E)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function $M(e){return Dm(e,"__scheduler_tick__")}(g)&&t(),Em(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,bh(e),Mh(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Dh)}static assertInAngularZone(){if(!jn.isInAngularZone())throw new Ne(909,!1)}static assertNotInAngularZone(){if(jn.isInAngularZone())throw new Ne(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,VM,fu,fu);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const VM={};function Mh(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 wm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Em(e){e._nesting--,Mh(e)}class Sh{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ss,this.onMicrotaskEmpty=new ss,this.onStable=new ss,this.onError=new ss}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 Dm(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class ws{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Eh(t);for(;n&&Eh(n);)n=Eh(n);return n||null}}const zM=new rt("",{providedIn:"root",factory:()=>{const e=Me(jn),t=Me(ws);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function GM(){return ka(pn(),de())}function ka(e,t){return new Ll(Ei(e,t))}let Ll=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=GM}return e})();function bm(e){return e instanceof Ll?e.nativeElement:e}function WM(){return this._results[Symbol.iterator]()}class Th{static#e=Symbol.iterator;get changes(){return this._changes??=new ss}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=Th.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=WM)}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 yi(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function ag(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],o=t[r];if(n&&(i=n(i),o=n(o)),o!==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 Ul(e){return!(128&~e.flags)}const Oh=new Map;let KM=0;function Ph(e){Oh.delete(e[Aa])}const gu="__ngContext__";function hi(e,t){br(t)?(e[gu]=t[Aa],function XM(e){Oh.set(e[Aa],e)}(t)):e[gu]=t}function Fm(e){return Lm(e[Sl])}function km(e){return Lm(e[Lo])}function Lm(e){for(;null!==e&&!di(e);)e=e[Lo];return e}let Nh;function hb(e){Nh=e}const _u=new rt("",{providedIn:"root",factory:()=>fb}),fb="ng",Gm=new rt(""),yu=new rt("",{providedIn:"platform",factory:()=>"unknown"}),pb=new rt(""),gb=new rt("",{providedIn:"root",factory:()=>function Rs(){if(void 0!==Nh)return Nh;if(typeof document<"u")return document;throw new Ne(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Wm=()=>null;function Uh(e,t,n=!1){return Wm(e,t,n)}const e_=new rt("",{providedIn:"root",factory:()=>!1});let Tu;function o_(e){return function Gh(){if(void 0===Tu&&(Tu=null,Mn.trustedTypes))try{Tu=Mn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Tu}()?.createScriptURL(e)||e}class s_{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Po})`}}function Fs(e){return e instanceof s_?e.changingThisBreaksApplicationSecurity:e}function Wl(e,t){const n=function Rb(e){return e instanceof s_&&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}const Vb=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var Ba=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}(Ba||{});function g_(e){const t=Kl();return t?t.sanitize(Ba.URL,e)||"":Wl(e,"URL")?Fs(e):function Wh(e){return(e=String(e)).match(Vb)?e:"unsafe:"+e}(lt(e))}function m_(e){const t=Kl();if(t)return o_(t.sanitize(Ba.RESOURCE_URL,e)||"");if(Wl(e,"ResourceURL"))return o_(Fs(e));throw new Ne(904,!1)}function __(e,t,n){return function Jb(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?m_:g_}(t,n)(e)}function Kl(){const e=de();return e&&e[ts].sanitizer}const e0=/^>|^->|<!--|-->|--!>|<!-$/g,t0=/(<|>)/g,n0="\u200b$1\u200b";function oo(e){return e instanceof Function?e():e}var Au=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Au||{});let Yh;function Jh(e,t){return Yh(e,t)}function Ha(e,t,n,r,i){if(null!=r){let o,s=!1;di(r)?o=r:br(r)&&(s=!0,r=r[Vn]);const c=Jt(r);0===e&&null!==n?null==i?P_(t,n,c):ia(t,n,c,i||null,!0):1===e&&null!==n?ia(t,n,c,i||null,!0):2===e?function Xl(e,t,n){e.removeChild(null,t,n)}(t,c,s):3===e&&t.destroyNode(c),null!=o&&function D0(e,t,n,r,i){const o=n[ns];o!==Jt(n)&&Ha(t,e,r,o,i);for(let c=ir;c<n.length;c++){const g=n[c];Fu(g[Oe],g,e,t,r,o)}}(t,e,o,n,i)}}function tf(e,t){return e.createComment(function y_(e){return e.replace(e0,t=>t.replace(t0,n0))}(t))}function Nu(e,t,n){return e.createElement(t,n)}function T_(e,t){t[ts].changeDetectionScheduler?.notify(9),Fu(e,t,t[gt],2,null,null)}function I_(e,t){const n=e[Na],r=t[gr];(br(r)||t[Un]!==r[gr][Un])&&(e[nt]|=Zc.HasTransplantedViews),null===n?e[Na]=[t]:n.push(t)}function nf(e,t){const n=e[Na],r=n.indexOf(t);n.splice(r,1)}function Ql(e,t){if(e.length<=ir)return;const n=ir+t,r=e[n];if(r){const i=r[Qs];null!==i&&i!==e&&nf(i,r),t>0&&(e[n-1][Lo]=r[Lo]);const o=Gs(e,ir+t);!function g0(e,t){T_(e,t),t[Vn]=null,t[Yr]=null}(r[Oe],r);const s=o[_s];null!==s&&s.detachView(o[Oe]),r[gr]=null,r[Lo]=null,r[nt]&=-129}return r}function xu(e,t){if(!(256&t[nt])){const n=t[gt];n.destroyNode&&Fu(e,t,n,3,null,null),function _0(e){let t=e[Sl];if(!t)return rf(e[Oe],e);for(;t;){let n=null;if(br(t))n=t[Sl];else{const r=t[ir];r&&(n=r)}if(!n){for(;t&&!t[Lo]&&t!==e;)br(t)&&rf(t[Oe],t),t=t[gr];null===t&&(t=e),br(t)&&rf(t[Oe],t),n=t&&t[Lo]}t=n}}(t)}}function rf(e,t){if(256&t[nt])return;const n=ue(null);try{t[nt]&=-129,t[nt]|=256,t[Co]&&jt(t[Co]),function C0(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 xl)){const o=n[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const c=i[o[s]],g=o[s+1];rs(4,c,g);try{g.call(c)}finally{rs(5,c,g)}}else{rs(4,i,o);try{o.call(i)}finally{rs(5,i,o)}}}}}(e,t),function v0(e,t){const n=e.cleanup,r=t[Ia];if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const s=n[o+3];s>=0?r[s]():r[-s].unsubscribe(),o+=2}else n[o].call(r[n[o+1]]);null!==r&&(t[Ia]=null);const i=t[xs];if(null!==i){t[xs]=null;for(let o=0;o<i.length;o++)(0,i[o])()}}(e,t),1===t[Oe].type&&t[gt].destroy();const r=t[Qs];if(null!==r&&di(t[gr])){r!==t[gr]&&nf(r,t);const i=t[_s];null!==i&&i.detachView(e)}Ph(t)}finally{ue(n)}}function sf(e,t,n){return function O_(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[Vn];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===Yo.None||o===Yo.Emulated)return null}return Ei(r,n)}}(e,t.parent,n)}function ia(e,t,n,r,i){e.insertBefore(t,n,r,i)}function P_(e,t,n){e.appendChild(t,n)}function A_(e,t,n,r,i){null!==r?ia(e,t,n,r,i):P_(e,t,n)}function af(e,t){return e.parentNode(t)}function N_(e,t,n){return R_(e,t,n)}let lf,R_=function x_(e,t,n){return 40&e.type?Ei(e,n):null};function Ru(e,t,n,r){const i=sf(e,r,t),o=t[gt],c=N_(r.parent||t[Yr],r,t);if(null!=i)if(Array.isArray(n))for(let g=0;g<n.length;g++)A_(o,i,n[g],c,!1);else A_(o,i,n,c,!1);void 0!==lf&&lf(o,r,t,n,i)}function oa(e,t){if(null!==t){const n=t.type;if(3&n)return Ei(t,e);if(4&n)return cf(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return oa(e,r);{const i=e[t.index];return di(i)?cf(-1,i):Jt(i)}}if(128&n)return oa(e,t.next);if(32&n)return Jh(t,e)()||Jt(e[t.index]);{const r=k_(e,t);return null!==r?Array.isArray(r)?r[0]:oa(ys(e[Un]),r):oa(e,t.next)}}return null}function k_(e,t){return null!==t?e[Un][Yr].projection[t.projection]:null}function cf(e,t){const n=ir+e+1;if(n<t.length){const r=t[n],i=r[Oe].firstChild;if(null!==i)return oa(r,i)}return t[ns]}function uf(e,t,n,r,i,o,s){for(;null!=n;){if(128===n.type){n=n.next;continue}const c=r[n.index],g=n.type;if(s&&0===t&&(c&&hi(Jt(c),r),n.flags|=2),32&~n.flags)if(8&g)uf(e,t,n.child,r,i,o,!1),Ha(t,e,i,c,o);else if(32&g){const E=Jh(n,r);let D;for(;D=E();)Ha(t,e,i,D,o);Ha(t,e,i,c,o)}else 16&g?V_(e,t,r,n,i,o):Ha(t,e,i,c,o);n=s?n.projectionNext:n.next}}function Fu(e,t,n,r,i,o){uf(n,r,e.firstChild,t,i,o,!1)}function V_(e,t,n,r,i,o){const s=n[Un],g=s[Yr].projection[r.projection];if(Array.isArray(g))for(let E=0;E<g.length;E++)Ha(t,e,i,g[E],o);else{let E=g;const D=s[gr];Ul(r)&&(E.flags|=128),uf(e,t,E,D,i,o,!0)}}function U_(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function j_(e,t,n){const{mergedAttrs:r,classes:i,styles:o}=n;null!==r&&Da(e,t,r),null!==i&&U_(e,t,i),null!==o&&function b0(e,t,n){e.setAttribute(t,"style",n)}(e,t,o)}const Tt={};function B_(e=1){$_(Rt(),de(),Jr()+e,!1)}function $_(e,t,n,r){if(!r)if(3&~t[nt]){const o=e.preOrderHooks;null!==o&&su(t,o,0,n)}else{const o=e.preOrderCheckHooks;null!==o&&ou(t,o,n)}Js(n)}function za(e,t=xt.Default){const n=de();return null===n?wt(e,t):om(pn(),n,Qe(e),t)}function H_(){throw new Error("invalid")}function z_(e,t,n,r,i,o){const s=ue(null);try{let c=null;i&Jo.SignalBased&&(c=t[r][he]),null!==c&&void 0!==c.transformFn&&(o=c.transformFn(o)),i&Jo.HasDecoratorInputTransform&&(o=e.inputTransforms[r].call(t,o)),null!==e.setInput?e.setInput(t,c,o,n,r):Mg(t,c,r,o)}finally{ue(s)}}function ku(e,t,n,r,i,o,s,c,g,E,D){const N=t.blueprint.slice();return N[Vn]=i,N[nt]=204|r,(null!==E||e&&2048&e[nt])&&(N[nt]|=2048),Pg(N),N[gr]=N[Oa]=e,N[On]=n,N[ts]=s||e&&e[ts],N[gt]=c||e&&e[gt],N[mr]=g||e&&e[mr]||null,N[Yr]=o,N[Aa]=function QM(){return KM++}(),N[wi]=D,N[vg]=E,N[Un]=2==t.type?e[Un]:N,N}function sa(e,t,n,r,i){let o=e.data[t];if(null===o)o=function df(e,t,n,r,i){const o=Lg(),s=sh(),g=e.data[t]=function x0(e,t,n,r,i,o){let s=t?t.injectorIndex:-1,c=0;return Ys()&&(c|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:c,providerIndexes:0,value:i,attrs:o,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,s?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=g),null!==o&&(s?null==o.child&&null!==g.parent&&(o.child=g):null===o.next&&(o.next=g,g.prev=o)),g}(e,t,n,r,i),function nM(){return mt.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const s=function Al(){const e=mt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Uo(o,!0),o}function Zl(e,t,n,r){if(0===n)return-1;const i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function G_(e,t,n,r,i){const o=Jr(),s=2&r;try{Js(-1),s&&t.length>Ke&&$_(e,t,Ke,!1),rs(s?2:0,i),n(r,i)}finally{Js(o),rs(s?3:1,i)}}function hf(e,t,n){if(Xd(t)){const r=ue(null);try{const o=t.directiveEnd;for(let s=t.directiveStart;s<o;s++){const c=e.data[s];c.contentQueries&&c.contentQueries(1,n[s],s)}}finally{ue(r)}}}function ff(e,t,n){Rg()&&(function j0(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;Xs(n)&&function q0(e,t,n){const r=Ei(t,e),i=W_(n);let s=16;n.signals?s=4096:n.onPush&&(s=64);const c=Lu(e,ku(e,i,null,s,r,t,null,e[ts].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=c}(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||lu(n,t),hi(r,t);const s=n.initialInputs;for(let c=i;c<o;c++){const g=e.data[c],E=ta(t,e,c,n);hi(E,t),null!==s&&K0(0,c-i,E,g,0,s),Vo(g)&&(io(n.index,t)[On]=ta(t,e,c,n))}}(e,t,n,Ei(n,t)),!(64&~n.flags)&&Z_(e,t,n))}function pf(e,t,n=Ei){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],c=-1===s?n(t,e):e[s];e[i++]=c}}}function W_(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=gf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function gf(e,t,n,r,i,o,s,c,g,E,D){const N=Ke+r,V=N+i,H=function T0(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Tt);return n}(N,V),K="function"==typeof E?E():E;return H[Oe]={type:e,blueprint:H,template:n,queries:null,viewQuery:c,declTNode:t,data:H.slice().fill(null,N),bindingStartIndex:N,expandoStartIndex:V,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 o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:g,consts:K,incompleteFirstPass:!1,ssrId:D}}let q_=()=>null;function K_(e,t,n,r,i){for(let o in t){if(!t.hasOwnProperty(o))continue;const s=t[o];if(void 0===s)continue;r??={};let c,g=Jo.None;Array.isArray(s)?(c=s[0],g=s[1]):c=s;let E=o;if(null!==i){if(!i.hasOwnProperty(o))continue;E=i[o]}0===e?Q_(r,n,E,c,g):Q_(r,n,E,c)}return r}function Q_(e,t,n,r,i){let o;e.hasOwnProperty(n)?(o=e[n]).push(t,r):o=e[n]=[t,r],void 0!==i&&o.push(i)}function Ui(e,t,n,r,i,o,s,c){const g=Ei(t,n);let D,E=t.inputs;!c&&null!=E&&(D=E[r])?(Cf(e,n,D,r,i),Xs(t)&&function k0(e,t){const n=io(t,e);16&n[nt]||(n[nt]|=64)}(n,t.index)):3&t.type&&(r=function F0(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,t.value||"",r):i,o.setProperty(g,r,i))}function mf(e,t,n,r){if(Rg()){const i=null===r?null:{"":-1},o=function $0(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let o=0;o<n.length;o++){const s=n[o];if(M(t,s.selectors,!1))if(r||(r=[]),Vo(s))if(null!==s.findHostDirectiveDefs){const c=[];i=i||new Map,s.findHostDirectiveDefs(s,c,i),r.unshift(...c,s),_f(e,t,c.length)}else r.unshift(s),_f(e,t,0);else i=i||new Map,s.findHostDirectiveDefs?.(s,r,i),r.push(s)}return null===r?null:[r,i]}(e,n);let s,c;null===o?s=c=null:[s,c]=o,null!==s&&X_(e,t,n,s,i,c),i&&function H0(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const o=n[t[i+1]];if(null==o)throw new Ne(-301,!1);r.push(t[i],o)}}}(n,r,i)}n.mergedAttrs=Ma(n.mergedAttrs,n.attrs)}function X_(e,t,n,r,i,o){for(let E=0;E<r.length;E++)vh(lu(n,t),e,r[E].type);!function G0(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let E=0;E<r.length;E++){const D=r[E];D.providersResolver&&D.providersResolver(D)}let s=!1,c=!1,g=Zl(e,t,r.length,null);for(let E=0;E<r.length;E++){const D=r[E];n.mergedAttrs=Ma(n.mergedAttrs,D.hostAttrs),W0(e,n,t,g,D),z0(g,D,i),null!==D.contentQueries&&(n.flags|=4),(null!==D.hostBindings||null!==D.hostAttrs||0!==D.hostVars)&&(n.flags|=64);const N=D.type.prototype;!s&&(N.ngOnChanges||N.ngOnInit||N.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!c&&(N.ngOnChanges||N.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),c=!0),g++}!function R0(e,t,n){const i=t.directiveEnd,o=e.data,s=t.attrs,c=[];let g=null,E=null;for(let D=t.directiveStart;D<i;D++){const N=o[D],V=n?n.get(N):null,K=V?V.outputs:null;g=K_(0,N.inputs,D,g,V?V.inputs:null),E=K_(1,N.outputs,D,E,K);const me=null===g||null===s||$c(t)?null:Q0(g,D,s);c.push(me)}null!==g&&(g.hasOwnProperty("class")&&(t.flags|=8),g.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=c,t.inputs=g,t.outputs=E}(e,n,o)}function Z_(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,s=function iM(){return mt.lFrame.currentDirectiveIndex}();try{Js(o);for(let c=r;c<i;c++){const g=e.data[c],E=t[c];lh(c),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&B0(g,E)}}finally{Js(-1),lh(s)}}function B0(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function _f(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;Vo(t)&&(n[""]=e)}}function W0(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=ms(i.type)),s=new xl(o,Vo(i),za);e.blueprint[r]=s,n[r]=s,function V0(e,t,n,r,i){const o=i.hostBindings;if(o){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const c=~t.index;(function U0(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=c&&s.push(c),s.push(n,r,o)}}(e,t,r,Zl(e,n,i.hostVars,Tt),i)}function as(e,t,n,r,i,o){const s=Ei(e,t);!function yf(e,t,n,r,i,o,s){if(null==o)e.removeAttribute(t,i,n);else{const c=null==s?lt(o):s(o,r||"",i);e.setAttribute(t,i,c,n)}}(t[gt],s,o,e.value,n,r,i)}function K0(e,t,n,r,i,o){const s=o[t];if(null!==s)for(let c=0;c<s.length;)z_(r,n,s[c++],s[c++],s[c++],s[c++])}function Q0(e,t,n){let r=null,i=0;for(;i<n.length;){const o=n[i];if(0!==o)if(5!==o){if("number"==typeof o)break;if(e.hasOwnProperty(o)){null===r&&(r=[]);const s=e[o];for(let c=0;c<s.length;c+=3)if(s[c]===t){r.push(o,s[c+1],s[c+2],n[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function Y_(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function J_(e,t){const n=e.contentQueries;if(null!==n){const r=ue(null);try{for(let i=0;i<n.length;i+=2){const s=n[i+1];if(-1!==s){const c=e.data[s];ru(n[i]),c.contentQueries(2,t[s],s)}}}finally{ue(r)}}}function Lu(e,t){return e[Sl]?e[yg][Lo]=t:e[Sl]=t,e[yg]=t,t}function vf(e,t,n){ru(0);const r=ue(null);try{t(e,n)}finally{ue(r)}}function ey(e){return e[Ia]??=[]}function ty(e){return e.cleanup??=[]}function Vu(e,t){const n=e[mr],r=n?n.get(ws,null):null;r&&r.handleError(t)}function Cf(e,t,n,r,i){for(let o=0;o<n.length;){const s=n[o++],c=n[o++],g=n[o++];z_(e.data[s],t[s],r,c,g,i)}}function X0(e,t){const n=io(t,e),r=n[Oe];!function Z0(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const i=n[Vn];null!==i&&null===n[wi]&&(n[wi]=Uh(i,n[mr])),wf(r,n,n[On])}function wf(e,t,n){dh(t);try{const r=e.viewQuery;null!==r&&vf(1,r,n);const i=e.template;null!==i&&G_(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[_s]?.finishViewCreation(e),e.staticContentQueries&&J_(e,t),e.staticViewQueries&&vf(2,e.viewQuery,n);const o=e.components;null!==o&&function Y0(e,t){for(let n=0;n<t.length;n++)X0(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[nt]&=-5,hh()}}function Ga(e,t,n,r){const i=ue(null);try{const o=t.tView,g=ku(e,o,n,4096&e[nt]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);g[Qs]=e[t.index];const D=e[_s];return null!==D&&(g[_s]=D.createEmbeddedView(o)),wf(o,g,n),g}finally{ue(i)}}function aa(e,t){return!t||null===t.firstChild||Ul(e)}function Wa(e,t,n,r=!0){const i=t[Oe];if(function y0(e,t,n,r){const i=ir+r,o=n.length;r>0&&(n[i-1][Lo]=t),r<o-ir?(t[Lo]=n[i],wl(n,ir+r,t)):(n.push(t),t[Lo]=null),t[gr]=n;const s=t[Qs];null!==s&&n!==s&&I_(s,t);const c=t[_s];null!==c&&c.insertView(e),rh(t),t[nt]|=128}(i,t,e,n),r){const s=cf(n,e),c=t[gt],g=af(c,e[ns]);null!==g&&function m0(e,t,n,r,i,o){r[Vn]=i,r[Yr]=t,Fu(e,r,n,1,i,o)}(i,e[Yr],c,t,g,s)}const o=t[wi];null!==o&&null!==o.firstChild&&(o.firstChild=null)}function Yl(e,t,n,r,i=!1){for(;null!==n;){if(128===n.type){n=i?n.projectionNext:n.next;continue}const o=t[n.index];null!==o&&r.push(Jt(o)),di(o)&&iy(o,r);const s=n.type;if(8&s)Yl(e,t,n.child,r);else if(32&s){const c=Jh(n,t);let g;for(;g=c();)r.push(g)}else if(16&s){const c=k_(t,n);if(Array.isArray(c))r.push(...c);else{const g=ys(t[Un]);Yl(g[Oe],g,c,r,!0)}}n=i?n.projectionNext:n.next}return r}function iy(e,t){for(let n=ir;n<e.length;n++){const r=e[n],i=r[Oe].firstChild;null!==i&&Yl(r[Oe],r,i,t)}e[ns]!==e[Vn]&&t.push(e[ns])}let oy=[];const nS={...se,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{eu(e.lView)},consumerOnSignalRead(){this.lView[Co]=this}},iS={...se,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=ys(e.lView);for(;t&&!sy(t[Oe]);)t=ys(t);t&&Ag(t)},consumerOnSignalRead(){this.lView[Co]=this}};function sy(e){return 2!==e.type}const oS=100;function Uu(e,t=!0,n=0){const r=e[ts],i=r.rendererFactory;i.begin?.();try{!function sS(e,t){const n=jg();try{Bg(!0),Df(e,t);let r=0;for(;Jc(e);){if(r===oS)throw new Ne(103,!1);r++,Df(e,1)}}finally{Bg(n)}}(e,n)}catch(s){throw t&&Vu(e,s),s}finally{i.end?.(),r.inlineEffectRunner?.flush()}}function aS(e,t,n,r){const i=t[nt];if(!(256&~i))return;t[ts].inlineEffectRunner?.flush(),dh(t);let c=!0,g=null,E=null;sy(e)?(E=function J0(e){return e[Co]??function eS(e){const t=oy.pop()??Object.create(nS);return t.lView=e,t}(e)}(t),g=ze(E)):null===function Ie(){return j}()?(c=!1,E=function rS(e){const t=e[Co]??Object.create(iS);return t.lView=e,t}(t),g=ze(E)):t[Co]&&(jt(t[Co]),t[Co]=null);try{Pg(t),function $g(e){return mt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&G_(e,t,n,2,r);const D=!(3&~i);if(D){const H=e.preOrderCheckHooks;null!==H&&ou(t,H,null)}else{const H=e.preOrderHooks;null!==H&&su(t,H,0,null),fh(t,0)}if(function lS(e){for(let t=Fm(e);null!==t;t=km(t)){if(!(t[nt]&Zc.HasTransplantedViews))continue;const n=t[Na];for(let r=0;r<n.length;r++)Ag(n[r])}}(t),ly(t,0),null!==e.contentQueries&&J_(e,t),D){const H=e.contentCheckHooks;null!==H&&ou(t,H)}else{const H=e.contentHooks;null!==H&&su(t,H,1),fh(t,1)}!function S0(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)Js(~i);else{const o=i,s=n[++r],c=n[++r];rM(s,o),c(2,t[o])}}}finally{Js(-1)}}(e,t);const N=e.components;null!==N&&uy(t,N,0);const V=e.viewQuery;if(null!==V&&vf(2,V,r),D){const H=e.viewCheckHooks;null!==H&&ou(t,H)}else{const H=e.viewHooks;null!==H&&su(t,H,2),fh(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Qc]){for(const H of t[Qc])H();t[Qc]=null}t[nt]&=-73}catch(D){throw eu(t),D}finally{null!==E&&(et(E,g),c&&function tS(e){e.lView[Co]!==e&&(e.lView=null,oy.push(e))}(E)),hh()}}function ly(e,t){for(let n=Fm(e);null!==n;n=km(n))for(let r=ir;r<n.length;r++)cy(n[r],t)}function cS(e,t,n){cy(io(t,e),n)}function cy(e,t){nh(e)&&Df(e,t)}function Df(e,t){const r=e[Oe],i=e[nt],o=e[Co];let s=!!(0===t&&16&i);if(s||=!!(64&i&&0===t),s||=!!(1024&i),s||=!(!o?.dirty||!Ge(o)),s||=!1,o&&(o.dirty=!1),e[nt]&=-9217,s)aS(r,e,r.template,e[On]);else if(8192&i){ly(e,1);const c=r.components;null!==c&&uy(e,c,1)}}function uy(e,t,n){for(let r=0;r<t.length;r++)cS(e,t[r],n)}function Jl(e,t){const n=jg()?64:1088;for(e[ts].changeDetectionScheduler?.notify(t);e;){e[nt]|=n;const r=ys(e);if(Il(e)&&!r)return e;e=r}return null}class ec{get rootNodes(){const t=this._lView,n=t[Oe];return Yl(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[On]}set context(t){this._lView[On]=t}get destroyed(){return!(256&~this._lView[nt])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[gr];if(di(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Ql(t,r),Gs(n,r))}this._attachedToViewContainer=!1}xu(this._lView[Oe],this._lView)}onDestroy(t){tu(this._lView,t)}markForCheck(){Jl(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[nt]&=-129}reattach(){rh(this._lView),this._lView[nt]|=128}detectChanges(){this._lView[nt]|=1024,Uu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ne(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Il(this._lView),n=this._lView[Qs];null!==n&&!t&&nf(n,this._lView),T_(this._lView[Oe],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Ne(902,!1);this._appRef=t;const n=Il(this._lView),r=this._lView[Qs];null!==r&&!n&&I_(r,this._lView),rh(this._lView)}}let tc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=hS}return e})();const uS=tc,dS=class extends uS{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=Ga(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new ec(i)}};function hS(){return ju(pn(),de())}function ju(e,t){return 4&e.type?new dS(t,e,ka(e,t)):null}let Ay=()=>null;function ca(e,t){return Ay(e,t)}class Ka{}const cc=new rt("",{providedIn:"root",factory:()=>!1}),Ny=new rt(""),Rf=new rt("");class iT{}class xy{}class sT{resolveComponentFactory(t){throw function oT(e){const t=Error(`No component factory found for ${kn(e)}.`);return t.ngComponent=e,t}(t)}}class uc{static#e=this.NULL=new sT}class Ff{}let aT=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function lT(){const e=de(),n=io(pn().index,e);return(br(n)?n:e)[gt]}()}return e})(),cT=(()=>{class e{static#e=this.\u0275prov=st({token:e,providedIn:"root",factory:()=>null})}return e})();function ks(e){return!!ui(e)}function qu(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const c=t[s];"number"==typeof c?o=c:1==o?i=fs(i,c):2==o&&(r=fs(r,c+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}class Ly extends uc{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=kt(t);return new fc(n,this.ngModule)}}function Vy(e,t){const n=[];for(const r in e){if(!e.hasOwnProperty(r))continue;const i=e[r];if(void 0===i)continue;const o=Array.isArray(i),s=o?i[0]:i;n.push(t?{propName:s,templateName:r,isSignal:!!((o?i[1]:Jo.None)&Jo.SignalBased)}:{propName:s,templateName:r})}return n}class fc extends xy{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Vy(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 Vy(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Et(e){return e.map(ct).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){const o=ue(null);try{let s=(i=i||this.ngModule)instanceof vo?i:i?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const c=s?new ea(t,s):t,g=c.get(Ff,null);if(null===g)throw new Ne(407,!1);const N={rendererFactory:g,sanitizer:c.get(cT,null),inlineEffectRunner:null,changeDetectionScheduler:c.get(Ka,null)},V=g.createRenderer(null,this.componentDef),H=this.componentDef.selectors[0][0]||"div",K=r?function I0(e,t,n,r){const o=r.get(e_,!1)||n===Yo.ShadowDom,s=e.selectRootElement(t,o);return function O0(e){q_(e)}(s),s}(V,r,this.componentDef.encapsulation,c):Nu(V,H,function hT(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(H));let me=512;this.componentDef.signals?me|=4096:this.componentDef.onPush||(me|=16);let Pe=null;null!==K&&(Pe=Uh(K,c,!0));const xe=gf(0,null,null,1,0,null,null,null,null,null,null),_e=ku(null,xe,null,me,null,null,N,V,c,null,Pe);dh(_e);let Dt,zt,mn=null;try{const lr=this.componentDef;let Bi,yl=null;lr.findHostDirectiveDefs?(Bi=[],yl=new Map,lr.findHostDirectiveDefs(lr,Bi,yl),Bi.push(lr)):Bi=[lr];const gD=function pT(e,t){const n=e[Oe],r=Ke;return e[r]=t,sa(n,r,2,"#host",null)}(_e,K);mn=function gT(e,t,n,r,i,o,s){const c=i[Oe];!function mT(e,t,n,r){for(const i of e)t.mergedAttrs=Ma(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(qu(t,t.mergedAttrs,!0),null!==n&&j_(r,n,t))}(r,e,t,s);let g=null;null!==t&&(g=Uh(t,i[mr]));const E=o.rendererFactory.createRenderer(t,n);let D=16;n.signals?D=4096:n.onPush&&(D=64);const N=ku(i,W_(n),null,D,i[e.index],e,o,E,null,null,g);return c.firstCreatePass&&_f(c,e,r.length-1),Lu(i,N),i[e.index]=N}(gD,K,lr,Bi,_e,N,V),zt=Pl(xe,Ke),K&&function yT(e,t,n,r){if(r)Da(e,n,["ng-version","18.2.5"]);else{const{attrs:i,classes:o}=function Cn(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!p(i))break;i=o}r++}return{attrs:t,classes:n}}(t.selectors[0]);i&&Da(e,n,i),o&&o.length>0&&U_(e,n,o.join(" "))}}(V,lr,K,r),void 0!==n&&function vT(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const o=n[i];r.push(null!=o?Array.from(o):null)}}(zt,this.ngContentSelectors,n),Dt=function _T(e,t,n,r,i,o){const s=pn(),c=i[Oe],g=Ei(s,i);X_(c,i,s,n,null,r);for(let D=0;D<n.length;D++)hi(ta(i,c,s.directiveStart+D,s),i);Z_(c,i,s),g&&hi(g,i);const E=ta(i,c,s.directiveStart+s.componentOffset,s);if(e[On]=i[On]=E,null!==o)for(const D of o)D(E,t);return hf(c,s,i),E}(mn,lr,Bi,yl,_e,[CT]),wf(xe,_e,null)}catch(lr){throw null!==mn&&Ph(mn),Ph(_e),lr}finally{hh()}return new fT(this.componentType,Dt,ka(zt,_e),_e,zt)}finally{ue(o)}}}class fT extends iT{constructor(t,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new ec(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 o=this._rootLView;Cf(o[Oe],o,i,t,n),this.previousInputValues.set(t,n),Jl(io(this._tNode.index,o),1)}}get injector(){return new Sr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function CT(){const e=pn();iu(de()[Oe],e)}let Ku=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=wT}return e})();function wT(){return By(pn(),de())}const ET=Ku,Uy=class extends ET{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ka(this._hostTNode,this._hostLView)}get injector(){return new Sr(this._hostTNode,this._hostLView)}get parentInjector(){const t=cu(this._hostTNode,this._hostLView);if(mh(t)){const n=Fl(t,this._hostLView),r=Rl(t);return new Sr(n[Oe].data[r+8],n)}return new Sr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=jy(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-ir}createEmbeddedView(t,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const s=ca(this._lContainer,t.ssrId),c=t.createEmbeddedViewImpl(n||{},o,s);return this.insertImpl(c,i,aa(this._hostTNode,s)),c}createComponent(t,n,r,i,o){const s=t&&!function bl(e){return"function"==typeof e}(t);let c;if(s)c=n;else{const K=n||{};c=K.index,r=K.injector,i=K.projectableNodes,o=K.environmentInjector||K.ngModuleRef}const g=s?t:new fc(kt(t)),E=r||this.parentInjector;if(!o&&null==g.ngModule){const me=(s?E:this.parentInjector).get(vo,null);me&&(o=me)}const D=kt(g.componentType??{}),N=ca(this._lContainer,D?.id??null),H=g.create(E,i,N?.firstChild??null,o);return this.insertImpl(H.hostView,c,aa(this._hostTNode,N)),H}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if(function qD(e){return di(e[gr])}(i)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const g=i[gr],E=new Uy(g,g[Yr],g[gr]);E.detach(E.indexOf(t))}}const o=this._adjustIndex(n),s=this._lContainer;return Wa(s,i,o,r),t.attachToViewContainerRef(),wl(Vf(s),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=jy(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Ql(this._lContainer,n);r&&(Gs(Vf(this._lContainer),n),xu(r[Oe],r))}detach(t){const n=this._adjustIndex(t,-1),r=Ql(this._lContainer,n);return r&&null!=Gs(Vf(this._lContainer),n)?new ec(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function jy(e){return e[8]}function Vf(e){return e[8]||(e[8]=[])}function By(e,t){let n;const r=t[e.index];return di(r)?n=r:(n=Y_(r,t,null,e),t[e.index]=n,Lu(t,n)),$y(n,t,e,r),new Uy(n,e,t)}let $y=function zy(e,t,n,r){if(e[ns])return;let i;i=8&n.type?Jt(r):function DT(e,t){const n=e[gt],r=n.createComment(""),i=Ei(t,e);return ia(n,af(n,i),r,function w0(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[ns]=i},Uf=()=>!1;class jf{constructor(t){this.queryList=t,this.matches=null}clone(){return new jf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Bf{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 o=0;o<r;o++){const s=n.getByIndex(o);i.push(this.queries[s.indexInDeclarationView].clone())}return new Bf(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!==Wf(t,n).matches&&this.queries[n].setDirty()}}class Gy{constructor(t,n,r=null){this.flags=n,this.read=r,this.predicate="string"==typeof t?function AT(e){return e.split(",").map(t=>t.trim())}(t):t}}class $f{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,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new $f(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 Hf{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 Hf(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 o=r[i];this.matchTNodeWithReadOption(t,n,TT(n,o)),this.matchTNodeWithReadOption(t,n,uu(n,t,o,!1,!1))}else r===tc?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,uu(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===Ll||i===Ku||i===tc&&4&n.type)this.addMatch(n.index,-2);else{const o=uu(n,t,i,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function TT(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 OT(e,t,n,r){return-1===n?function IT(e,t){return 11&e.type?ka(e,t):4&e.type?ju(e,t):null}(t,e):-2===n?function PT(e,t,n){return n===Ll?ka(t,e):n===tc?ju(t,e):n===Ku?By(t,e):void 0}(e,t,r):ta(e,e[Oe],n,t)}function Wy(e,t,n,r){const i=t[_s].queries[r];if(null===i.matches){const o=e.data,s=n.matches,c=[];for(let g=0;null!==s&&g<s.length;g+=2){const E=s[g];c.push(E<0?null:OT(t,o[E],s[g+1],n.metadata.read))}i.matches=c}return i.matches}function zf(e,t,n,r){const i=e.queries.getByIndex(n),o=i.matches;if(null!==o){const s=Wy(e,t,i,n);for(let c=0;c<o.length;c+=2){const g=o[c];if(g>0)r.push(s[c/2]);else{const E=o[c+1],D=t[-g];for(let N=ir;N<D.length;N++){const V=D[N];V[Qs]===V[gr]&&zf(V[Oe],V,E,r)}if(null!==D[Na]){const N=D[Na];for(let V=0;V<N.length;V++){const H=N[V];zf(H[Oe],H,E,r)}}}}}return r}function qy(e,t,n){const r=new Th(!(4&~n));return function N0(e,t,n,r){const i=ey(t);i.push(n),e.firstCreatePass&&ty(e).push(r,i.length-1)}(e,t,r,r.destroy),(t[_s]??=new Bf).queries.push(new jf(r))-1}function Xy(e,t,n){null===e.queries&&(e.queries=new $f),e.queries.track(new Hf(t,n))}function Wf(e,t){return e.queries.getByIndex(t)}function Zy(e,t){const n=e[Oe],r=Wf(n,t);return r.crossesNgTemplate?zf(n,e,t,[]):Wy(n,e,r,t)}const Yy=new Set;function Mi(e){Yy.has(e)||(Yy.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function ev(e,t){Mi("NgSignals");const n=function Ye(e){const t=Object.create(An);t.value=e;const n=()=>(pe(t),t.value);return n[he]=t,n}(e),r=n[he];return t?.equal&&(r.equal=t.equal),n.set=i=>_n(r,i),n.update=i=>function un(e,t){ke()||tt(),_n(e,t(e.value))}(r,i),n.asReadonly=tv.bind(n),n}function tv(){const e=this[he];if(void 0===e.readonlyFn){const t=()=>this();t[he]=e,e.readonlyFn=t}return e.readonlyFn}function nv(e){return function Jy(e){return"function"==typeof e&&void 0!==e[he]}(e)&&"function"==typeof e.set}function Kf(e){let t=function fv(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(Vo(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Ne(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const s=e;s.inputs=Xu(e.inputs),s.inputTransforms=Xu(e.inputTransforms),s.declaredInputs=Xu(e.declaredInputs),s.outputs=Xu(e.outputs);const c=i.hostBindings;c&&WT(e,c);const g=i.viewQuery,E=i.contentQueries;if(g&&zT(e,g),E&&GT(e,E),$T(e,i),Ts(e.outputs,i.outputs),Vo(i)&&i.data.animation){const D=e.data;D.animation=(D.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let s=0;s<o.length;s++){const c=o[s];c&&c.ngInherit&&c(e),c===Kf&&(n=!1)}}t=Object.getPrototypeOf(t)}!function HT(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=Ma(i.hostAttrs,n=Ma(n,i.hostAttrs))}}(r)}function $T(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 Xu(e){return e===yo?{}:e===Xt?[]:e}function zT(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function GT(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function WT(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function _v(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 ua{}class yv{}function YT(e,t){return new Qf(e,t??null,[])}class Qf extends ua{constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ly(this);const o=ui(t);this._bootstrapComponents=oo(o.bootstrap),this._r3Injector=mm(t,n,[{provide:ua,useValue:this},{provide:uc,useValue:this.componentFactoryResolver},...r],kn(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 Xf extends yv{constructor(t){super(),this.moduleType=t}create(t){return new Qf(this.moduleType,t,[])}}class vv extends ua{constructor(t){super(),this.componentFactoryResolver=new Ly(this),this.instance=null;const n=new ba([...t.providers,{provide:ua,useValue:this},{provide:uc,useValue:this.componentFactoryResolver}],t.parent||qc(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Zf(e,t,n=null){return new vv({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function Zu(e){return!!Yf(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Yf(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ls(e,t,n){return e[t]=n}function or(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function da(e,t,n,r){const i=or(e,t,n);return or(e,t+1,r)||i}function mc(e,t,n,r,i,o,s,c,g,E){const D=n+Ke,N=t.firstCreatePass?function iI(e,t,n,r,i,o,s,c,g){const E=t.consts,D=sa(t,e,4,s||null,c||null);mf(t,n,D,wo(E,g)),iu(t,D);const N=D.tView=gf(2,D,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,E,null);return null!==t.queries&&(t.queries.template(t,D),N.queries=t.queries.embeddedTView(D)),D}(D,t,e,r,i,o,s,c,g):t.data[D];Uo(N,!1);const V=Cv(t,e,N,n);Nl()&&Ru(t,e,V,N),hi(V,e);const H=Y_(V,e,V,N);return e[D]=H,Lu(e,H),function Hy(e,t,n){return Uf(e,t,n)}(H,N,e),Yc(N)&&ff(t,e,N),null!=g&&pf(e,N,E),N}function Jf(e,t,n,r,i,o,s,c){const g=de(),E=Rt();return mc(g,E,e,t,n,r,i,wo(E.consts,o),s,c),Jf}let Cv=function wv(e,t,n,r){return is(!0),t[gt].createComment("")};var Ya=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Ya||{});let Tv=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static#e=this.\u0275prov=st({token:e,providedIn:"root",factory:()=>new e})}return e})();class vc{constructor(){this.ngZone=Me(jn),this.scheduler=Me(Ka),this.errorHandler=Me(ws,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static#e=this.PHASES=[Ya.EarlyRead,Ya.Write,Ya.MixedReadWrite,Ya.Read];execute(){this.executing=!0;for(const t of vc.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.\u0275prov=st({token:vc,providedIn:"root",factory:()=>new vc})}class lI{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 nd(e,t){!t?.injector&&function qd(e){if(!mg())throw new Ne(-203,!1)}();const n=t?.injector??Me(ei);return function so(e){return"browser"===(e??Me(ei)).get(yu)}(n)?(Mi("NgAfterNextRender"),function Iv(e,t,n,r){const i=t.get(Tv);i.impl??=t.get(vc);const s=new lI(i.impl,function uI(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??Ya.MixedReadWrite),r,t.get(kl));return i.impl.register(s),s}(e,n,t,!0)):Ov}const Ov={destroy(){}};function up(e,t,n,r){const i=de();return or(i,jo(),t)&&(Rt(),as(Pn(),i,e,t,n,r)),up}function ol(e,t,n,r){return or(e,jo(),n)?t+lt(n)+r:Tt}function sl(e,t,n,r,i,o){const c=da(e,function vs(){return mt.lFrame.bindingIndex}(),n,i);return Cs(2),c?t+lt(n)+r+lt(i)+o:Tt}function od(e,t){return e<<17|t<<2}function Us(e){return e>>17&32767}function dp(e){return 2|e}function fa(e){return(131068&e)>>2}function hp(e,t){return-131069&e|t<<2}function fp(e){return 1|e}function tC(e,t,n,r){const i=e[n+1],o=null===t;let s=r?Us(i):fa(i),c=!1;for(;0!==s&&(!1===c||o);){const E=e[s+1];WI(e[s],t)&&(c=!0,e[s+1]=r?fp(E):dp(E)),s=r?Us(E):fa(E)}c&&(e[n+1]=r?dp(i):fp(i))}function WI(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Ws(e,t)>=0}const Tr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function nC(e){return e.substring(Tr.key,Tr.keyEnd)}function rC(e,t){const n=Tr.textEnd;return n===t?-1:(t=Tr.keyEnd=function XI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Tr.key=t,n),fl(e,t,n))}function fl(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function pp(e,t,n){const r=de();return or(r,jo(),t)&&Ui(Rt(),Pn(),r,e,t,r[gt],n,!1),pp}function gp(e,t,n,r,i){const s=i?"class":"style";Cf(e,n,t.inputs[s],s,r)}function mp(e,t){return function Bo(e,t,n,r){const i=de(),o=Rt(),s=Cs(2);o.firstUpdatePass&&dC(o,e,s,r),t!==Tt&&or(i,s,t)&&fC(o,o.data[Jr()],i,i[gt],e,i[s+1]=function aO(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=kn(Fs(e)))),e}(t,n),r,s)}(e,t,null,!0),mp}function cC(e){$o(oO,us,e,!0)}function us(e,t){for(let n=function KI(e){return function oC(e){Tr.key=0,Tr.keyEnd=0,Tr.value=0,Tr.valueEnd=0,Tr.textEnd=e.length}(e),rC(e,fl(e,0,Tr.textEnd))}(t);n>=0;n=rC(t,n))vi(e,nC(t),!0)}function $o(e,t,n,r){const i=Rt(),o=Cs(2);i.firstUpdatePass&&dC(i,null,o,r);const s=de();if(n!==Tt&&or(s,o,n)){const c=i.data[Jr()];if(gC(c,r)&&!uC(i,o)){let g=r?c.classesWithoutHost:c.stylesWithoutHost;null!==g&&(n=fs(g,n||"")),gp(i,c,s,n,r)}else!function sO(e,t,n,r,i,o,s,c){i===Tt&&(i=Xt);let g=0,E=0,D=0<i.length?i[0]:null,N=0<o.length?o[0]:null;for(;null!==D||null!==N;){const V=g<i.length?i[g+1]:void 0,H=E<o.length?o[E+1]:void 0;let me,K=null;D===N?(g+=2,E+=2,V!==H&&(K=N,me=H)):null===N||null!==D&&D<N?(g+=2,K=D):(E+=2,K=N,me=H),null!==K&&fC(e,t,n,r,K,me,s,c),D=g<i.length?i[g]:null,N=E<o.length?o[E]:null}}(i,c,s,s[gt],s[o+1],s[o+1]=function iO(e,t,n){if(null==n||""===n)return Xt;const r=[],i=Fs(n);if(Array.isArray(i))for(let o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(const o in i)i.hasOwnProperty(o)&&e(r,o,i[o]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,o)}}function uC(e,t){return t>=e.expandoStartIndex}function dC(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[Jr()],s=uC(e,n);gC(o,r)&&null===t&&!s&&(t=!1),t=function eO(e,t,n,r){const i=function ch(e){const t=mt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=wc(n=_p(null,e,t,n,r),t.attrs,r),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==i)if(n=_p(i,e,t,n,r),null===o){let g=function tO(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==fa(r))return e[Us(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=_p(null,e,t,g[1],r),g=wc(g,t.attrs,r),function nO(e,t,n,r){e[Us(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else o=function rO(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++)r=wc(r,e[o].hostAttrs,n);return wc(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function zI(e,t,n,r,i,o){let s=o?t.classBindings:t.styleBindings,c=Us(s),g=fa(s);e[r]=n;let D,E=!1;if(Array.isArray(n)?(D=n[1],(null===D||Ws(n,D)>0)&&(E=!0)):D=n,i)if(0!==g){const V=Us(e[c+1]);e[r+1]=od(V,c),0!==V&&(e[V+1]=hp(e[V+1],r)),e[c+1]=function $I(e,t){return 131071&e|t<<17}(e[c+1],r)}else e[r+1]=od(c,0),0!==c&&(e[c+1]=hp(e[c+1],r)),c=r;else e[r+1]=od(g,0),0===c?c=r:e[g+1]=hp(e[g+1],r),g=r;E&&(e[r+1]=dp(e[r+1])),tC(e,D,r,!0),tC(e,D,r,!1),function GI(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&Ws(o,t)>=0&&(n[r+1]=fp(n[r+1]))}(t,D,e,r,o),s=od(c,g),o?t.classBindings=s:t.styleBindings=s}(i,o,t,n,s,r)}}function _p(e,t,n,r,i){let o=null;const s=n.directiveEnd;let c=n.directiveStylingLast;for(-1===c?c=n.directiveStart:c++;c<s&&(o=t[c],r=wc(r,o.hostAttrs,i),o!==e);)c++;return null!==e&&(n.directiveStylingLast=c),r}function wc(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let o=0;o<t.length;o++){const s=t[o];"number"==typeof s?i=s:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),vi(e,s,!!n||t[++o]))}return void 0===e?null:e}function oO(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&vi(e,r,n)}function fC(e,t,n,r,i,o,s,c){if(!(3&t.type))return;const g=e.data,E=g[c+1],D=function HI(e){return!(1&~e)}(E)?pC(g,t,n,i,fa(E),s):void 0;sd(D)||(sd(o)||function BI(e){return!(2&~e)}(E)&&(o=pC(g,null,n,i,c,s)),function M0(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=-1===r.indexOf("-")?void 0:Au.DashCase;null==i?e.removeStyle(n,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=Au.Important),e.setStyle(n,r,i,o))}}(r,s,Ol(Jr(),n),i,o))}function pC(e,t,n,r,i,o){const s=null===t;let c;for(;i>0;){const g=e[i],E=Array.isArray(g),D=E?g[1]:g,N=null===D;let V=n[i+1];V===Tt&&(V=N?Xt:void 0);let H=N?Vc(V,r):D===r?V:void 0;if(E&&!sd(H)&&(H=Vc(g,r)),sd(H)&&(c=H,s))return c;const K=e[i+1];i=s?Us(K):fa(K)}if(null!==t){let g=o?t.residualClasses:t.residualStyles;null!=g&&(c=Vc(g,r))}return c}function sd(e){return void 0!==e}function gC(e,t){return!!(e.flags&(t?8:16))}function mC(e,t,n){$o(vi,us,ol(de(),e,t,n),!0)}function ld(e,t,n,r){const i=de(),o=Rt(),s=Ke+e,c=i[gt],g=o.firstCreatePass?function OO(e,t,n,r,i,o){const s=t.consts,g=sa(t,e,2,r,wo(s,i));return mf(t,n,g,wo(s,o)),null!==g.attrs&&qu(g,g.attrs,!1),null!==g.mergedAttrs&&qu(g,g.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,g),g}(s,o,i,t,n,r):o.data[s],E=CC(o,i,g,c,t,e);i[s]=E;const D=Yc(g);return Uo(g,!0),j_(c,E,g),!function Xa(e){return!(32&~e.flags)}(g)&&Nl()&&Ru(o,i,E,g),0===function KD(){return mt.lFrame.elementDepthCount}()&&hi(E,i),function QD(){mt.lFrame.elementDepthCount++}(),D&&(ff(o,i,g),hf(o,g,i)),null!==r&&pf(i,g),ld}function cd(){let e=pn();sh()?ah():(e=e.parent,Uo(e,!1));const t=e;(function ZD(e){return mt.skipHydrationRootTNode===e})(t)&&function tM(){mt.skipHydrationRootTNode=null}(),function XD(){mt.lFrame.elementDepthCount--}();const n=Rt();return n.firstCreatePass&&(iu(n,e),Xd(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function gM(e){return!!(8&e.flags)}(t)&&gp(n,t,de(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function mM(e){return!!(16&e.flags)}(t)&&gp(n,t,de(),t.stylesWithoutHost,!1),cd}function wp(e,t,n,r){return ld(e,t,n,r),cd(),wp}let CC=(e,t,n,r,i,o)=>(is(!0),Nu(r,i,function Qg(){return mt.lFrame.currentNamespace}()));function ud(e,t,n){const r=de(),i=Rt(),o=e+Ke,s=i.firstCreatePass?function NO(e,t,n,r,i){const o=t.consts,s=wo(o,r),c=sa(t,e,8,"ng-container",s);return null!==s&&qu(c,s,!0),mf(t,n,c,wo(o,i)),null!==t.queries&&t.queries.elementStart(t,c),c}(o,i,r,t,n):i.data[o];Uo(s,!0);const c=wC(i,r,s,e);return r[o]=c,Nl()&&Ru(i,r,c,s),hi(c,r),Yc(s)&&(ff(i,r,s),hf(i,s,r)),null!=n&&pf(r,s),ud}function dd(){let e=pn();const t=Rt();return sh()?ah():(e=e.parent,Uo(e,!1)),t.firstCreatePass&&(iu(t,e),Xd(e)&&t.queries.elementEnd(e)),dd}function Ep(e,t,n){return ud(e,t,n),dd(),Ep}let wC=(e,t,n,r)=>(is(!0),tf(t[gt],""));function EC(){return de()}function Dp(e,t,n){const r=de();return or(r,jo(),t)&&Ui(Rt(),Pn(),r,e,t,r[gt],n,!0),Dp}const pa=void 0;var kO=["en",[["a","p"],["AM","PM"],pa],[["AM","PM"],pa,pa],[["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"]],pa,[["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"]],pa,[["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}",pa,"{1} 'at' {0}",pa],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function FO(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let pl={};function Mp(e){const t=function LO(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=bC(t);if(n)return n;const r=t.split("-")[0];if(n=bC(r),n)return n;if("en"===r)return kO;throw new Ne(701,!1)}function MC(e){return Mp(e)[gl.PluralCase]}function bC(e){return e in pl||(pl[e]=Mn.ng&&Mn.ng.common&&Mn.ng.common.locales&&Mn.ng.common.locales[e]),pl[e]}var gl=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}(gl||{});const hd="en-US";let SC=hd,zC=(e,t,n)=>{};function Tp(e,t,n,r){const i=de(),o=Rt(),s=pn();return Ip(o,i,i[gt],s,e,t,r),Tp}function Ip(e,t,n,r,i,o,s){const c=Yc(r),E=e.firstCreatePass&&ty(e),D=t[On],N=ey(t);let V=!0;if(3&r.type||s){const me=Ei(r,t),Pe=s?s(me):me,xe=N.length,_e=s?zt=>s(Jt(zt[r.index])):r.index;let Dt=null;if(!s&&c&&(Dt=function bP(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const s=i[o];if(s===n&&i[o+1]===r){const c=t[Ia],g=i[o+2];return c.length>g?c[g]:null}"string"==typeof s&&(o+=2)}return null}(e,t,i,r.index)),null!==Dt)(Dt.__ngLastListenerFn__||Dt).__ngNextListenerFn__=o,Dt.__ngLastListenerFn__=o,V=!1;else{o=KC(r,t,D,o),zC(me,i,o);const zt=n.listen(Pe,i,o);N.push(o,zt),E&&E.push(i,_e,xe,xe+1)}}else o=KC(r,t,D,o);const H=r.outputs;let K;if(V&&null!==H&&(K=H[i])){const me=K.length;if(me)for(let Pe=0;Pe<me;Pe+=2){const mn=t[K[Pe]][K[Pe+1]].subscribe(o),lr=N.length;N.push(o,mn),E&&E.push(i,r.index,lr,-(lr+1))}}}function qC(e,t,n,r){const i=ue(null);try{return rs(6,t,n),!1!==n(r)}catch(o){return Vu(e,o),!1}finally{rs(7,t,n),ue(i)}}function KC(e,t,n,r){return function i(o){if(o===Function)return r;Jl(e.componentOffset>-1?io(e.index,t):t,5);let c=qC(t,n,r,o),g=i.__ngNextListenerFn__;for(;g;)c=qC(t,n,g,o)&&c,g=g.__ngNextListenerFn__;return c}}function QC(e=1){return function sM(e){return(mt.lFrame.contextLView=function Ng(e,t){for(;e>0;)t=t[Oa],e--;return t}(e,mt.lFrame.contextLView))[On]}(e)}function SP(e,t){let n=null;const r=function O(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 o=t[i];if("*"!==o){if(null===r?M(e,o,!0):Z(r,o))return i}else n=i}return n}function XC(e){const t=de()[Un][Yr];if(!t.projection){const r=t.projection=function Ps(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 o=t.child;for(;null!==o;){if(128!==o.type){const s=e?SP(o,e):0;null!==s&&(i[s]?i[s].projectionNext=o:r[s]=o,i[s]=o)}o=o.next}}}function ZC(e,t=0,n,r,i,o){const s=de(),c=Rt(),g=r?e+1:null;null!==g&&mc(s,c,g,r,i,o,null,n);const E=sa(c,Ke+e,16,null,n||null);null===E.projection&&(E.projection=t),ah();const N=!s[wi]||Ys();null===s[Un][Yr].projection[E.projection]&&null!==g?function TP(e,t,n){const r=Ke+n,i=t.data[r],o=e[r],s=ca(o,i.tView.ssrId);Wa(o,Ga(e,i,void 0,{dehydratedView:s}),0,aa(i,s))}(s,c,g):N&&32&~E.flags&&function E0(e,t,n){V_(t[gt],0,t,n,sf(e,n,t),N_(n.parent||t[Yr],n,t))}(c,s,E)}function Op(e,t,n){return md(e,"",t,"",n),Op}function md(e,t,n,r,i){const o=de(),s=ol(o,t,n,r);return s!==Tt&&Ui(Rt(),Pn(),o,e,s,o[gt],i,!1),md}function Pp(e,t,n,r,i,o,s){const c=de(),g=sl(c,t,n,r,i,o);return g!==Tt&&Ui(Rt(),Pn(),c,e,g,c[gt],s,!1),Pp}function ow(e,t,n,r){!function Qy(e,t,n,r){const i=Rt();if(i.firstCreatePass){const o=pn();Xy(i,new Gy(t,n,r),o.index),function NT(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 qy(i,de(),n)}(e,t,n,r)}function sw(e,t,n){!function Ky(e,t,n){const r=Rt();return r.firstCreatePass&&(Xy(r,new Gy(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),qy(r,de(),t)}(e,t,n)}function aw(e){const t=de(),n=Rt(),r=uh();ru(r+1);const i=Wf(n,r);if(e.dirty&&function WD(e){return!(4&~e[nt])}(t)===!(2&~i.metadata.flags)){if(null===i.matches)e.reset([]);else{const o=Zy(t,r);e.reset(o,bm),e.notifyOnChanges()}return!0}return!1}function lw(){return function Gf(e,t){return e[_s].queries[t].queryList}(de(),uh())}function cw(e){return function Zs(e,t){return e[t]}(function Vg(){return mt.lFrame.contextLView}(),Ke+e)}function vw(e,t=""){const n=de(),r=Rt(),i=e+Ke,o=r.firstCreatePass?sa(r,i,1,t,null):r.data[i],s=Cw(r,n,o,t,e);n[i]=s,Nl()&&Ru(r,n,s,o),Uo(o,!1)}let Cw=(e,t,n,r,i)=>(is(!0),function ef(e,t){return e.createText(t)}(t[gt],r));function Np(e){return _d("",e,""),Np}function _d(e,t,n){const r=de(),i=ol(r,e,t,n);return i!==Tt&&function Ds(e,t,n){const r=Ol(t,e);!function S_(e,t,n){e.setValue(t,n)}(e[gt],r,n)}(r,Jr(),i),_d}function xp(e,t,n){nv(t)&&(t=t());const r=de();return or(r,jo(),t)&&Ui(Rt(),Pn(),r,e,t,r[gt],n,!1),xp}function Ow(e,t){const n=nv(e);return n&&e.set(t),n}function Rp(e,t){const n=de(),r=Rt(),i=pn();return Ip(r,n,n[gt],i,e,t),Rp}function Fp(e,t,n,r,i){if(e=Qe(e),Array.isArray(e))for(let o=0;o<e.length;o++)Fp(e[o],t,n,r,i);else{const o=Rt(),s=de(),c=pn();let g=Ks(e)?e:Qe(e.provide);const E=gg(e),D=1048575&c.providerIndexes,N=c.directiveStart,V=c.providerIndexes>>20;if(Ks(e)||!e.multi){const H=new xl(E,i,za),K=Lp(g,t,i?D:D+V,N);-1===K?(vh(lu(c,s),o,g),kp(o,e,t.length),t.push(g),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(H),s.push(H)):(n[K]=H,s[K]=H)}else{const H=Lp(g,t,D+V,N),K=Lp(g,t,D,D+V),Pe=K>=0&&n[K];if(i&&!Pe||!i&&!(H>=0&&n[H])){vh(lu(c,s),o,g);const xe=function qP(e,t,n,r,i){const o=new xl(e,n,za);return o.multi=[],o.index=t,o.componentProviders=0,Nw(o,i,r&&!n),o}(i?WP:GP,n.length,i,r,E);!i&&Pe&&(n[K].providerFactory=xe),kp(o,e,t.length,0),t.push(g),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(xe),s.push(xe)}else kp(o,e,H>-1?H:K,Nw(n[i?K:H],E,!i&&r));!i&&r&&Pe&&n[K].componentProviders++}}}function kp(e,t,n,r){const i=Ks(t),o=function wD(e){return!!e.useClass}(t);if(i||o){const g=(o?Qe(t.useClass):t).prototype.ngOnDestroy;if(g){const E=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const D=E.indexOf(n);-1===D?E.push(n,[r,g]):E[D+1].push(r,g)}else E.push(n,g)}}}function Nw(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Lp(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function GP(e,t,n,r){return Vp(this.multi,[])}function WP(e,t,n,r){const i=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,c=ta(n,n[Oe],this.providerFactory.index,r);o=c.slice(0,s),Vp(i,o);for(let g=s;g<c.length;g++)o.push(c[g])}else o=[],Vp(i,o);return o}function Vp(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function xw(e,t=[]){return n=>{n.providersResolver=(r,i)=>function zP(e,t,n){const r=Rt();if(r.firstCreatePass){const i=Vo(e);Fp(n,r.data,r.blueprint,i,!0),Fp(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}let KP=(()=>{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=jd(0,n.type),i=r.length>0?Zf([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.\u0275prov=st({token:e,providedIn:"environment",factory:()=>new e(wt(vo))})}return e})();function Rw(e){Mi("NgStandalone"),e.getStandaloneInjector=t=>t.get(KP).getOrCreateStandaloneInjector(e)}function Lw(e,t,n){const r=Di()+e,i=de();return i[r]===Tt?ls(i,r,n?t.call(n):t()):function gc(e,t){return e[t]}(i,r)}function Vw(e,t,n,r){return function Bw(e,t,n,r,i,o){const s=t+n;return or(e,s,i)?ls(e,s+1,o?r.call(o,i):r(i)):Tc(e,s+1)}(de(),Di(),e,t,n,r)}function Uw(e,t,n,r,i){return function $w(e,t,n,r,i,o,s){const c=t+n;return da(e,c,i,o)?ls(e,c+2,s?r.call(s,i,o):r(i,o)):Tc(e,c+2)}(de(),Di(),e,t,n,r,i)}function jw(e,t,n,r,i,o){return function Hw(e,t,n,r,i,o,s,c){const g=t+n;return function Yu(e,t,n,r,i){const o=da(e,t,n,r);return or(e,t+2,i)||o}(e,g,i,o,s)?ls(e,g+3,c?r.call(c,i,o,s):r(i,o,s)):Tc(e,g+3)}(de(),Di(),e,t,n,r,i,o)}function Tc(e,t){const n=e[t];return n===Tt?void 0:n}function Ww(e,t){return ju(e,t)}class lE{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let cE=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const pE=new rt(""),gE=new rt("");let zp,rN=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,zp||(function iN(e){zp=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:()=>{jn.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 o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n()},r)),this._callbacks.push({doneCb:n,timeoutId:o,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.\u0275fac=function(r){return new(r||e)(wt(jn),wt(mE),wt(gE))};static#t=this.\u0275prov=st({token:e,factory:e.\u0275fac})}return e})(),mE=(()=>{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 zp?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Gp(e){return!!e&&"function"==typeof e.then}function _E(e){return!!e&&"function"==typeof e.subscribe}const yE=new rt("");let vE=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=Me(yE,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const o=i();if(Gp(o))n.push(o);else if(_E(o)){const s=new Promise((c,g)=>{o.subscribe({complete:c,error:g})});n.push(s)}}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.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Ed=new rt("");function wE(e,t){return Array.isArray(t)?t.reduce(wE,e):{...e,...t}}let ds=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Me(zM),this.afterRenderManager=Me(Tv),this.zonelessEnabled=Me(cc),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new yn.B,this.afterTick=new yn.B,this.componentTypes=[],this.components=[],this.isStable=Me(na).hasPendingTasks.pipe((0,sn.T)(n=>!n)),this._injector=Me(vo)}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 xy;if(!this._injector.get(vE).done)throw!i&&Ns(n),new Ne(405,!1);let s;s=i?n:this._injector.get(uc).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const c=function oN(e){return e.isBoundToModule}(s)?void 0:this._injector.get(ua),E=s.create(ei.NULL,[],r||s.selector,c),D=E.location.nativeElement,N=E.injector.get(pE,null);return N?.registerApplication(D),E.onDestroy(()=>{this.detachView(E.hostView),Dd(this.components,E),N?.unregisterApplication(D)}),this._loadComponent(E),E}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new Ne(101,!1);const n=ue(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,ue(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Ff,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:o}of this._views)lN(i,o,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})=>Jc(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Dd(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Ed,[]);[...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),()=>Dd(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Ne(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Dd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function lN(e,t,n,r){(n||Jc(e))&&Uu(e,t,n&&!r?0:1)}class cN{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let uN=(()=>{class e{compileModuleSync(n){return new Xf(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=oo(ui(n).declarations).reduce((s,c)=>{const g=kt(c);return g&&s.push(new fc(g)),s},[]);return new cN(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fN=(()=>{class e{constructor(){this.zone=Me(jn),this.changeDetectionScheduler=Me(Ka),this.applicationRef=Me(ds)}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.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Wp({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new jn({...qp(),scheduleInRootZone:n}),[{provide:jn,useFactory:e},{provide:Li,multi:!0,useFactory:()=>{const r=Me(fN,{optional:!0});return()=>r.initialize()}},{provide:Li,multi:!0,useFactory:()=>{const r=Me(gN);return()=>{r.initialize()}}},!0===t?{provide:Ny,useValue:!0}:[],{provide:Rf,useValue:n??ym}]}function qp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let gN=(()=>{class e{constructor(){this.subscription=new ri.yU,this.initialized=!1,this.zone=Me(jn),this.pendingTasks=Me(na)}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(()=>{jn.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{jn.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ac=(()=>{class e{constructor(){this.appRef=Me(ds),this.taskService=Me(na),this.ngZone=Me(jn),this.zonelessEnabled=Me(cc),this.disableScheduling=Me(Ny,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new ri.yU,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(pu):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(Me(Rf,{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 Sh||!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?Cm:vm;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(pu+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,Cm(()=>{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.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Qp=new rt("",{providedIn:"root",factory:()=>Me(Qp,xt.Optional|xt.SkipSelf)||function mN(){return typeof $localize<"u"&&$localize.locale||hd}()}),_N=new rt("",{providedIn:"root",factory:()=>"USD"}),Xp=new rt("");function bd(e){return!!e.platformInjector}let IE=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=r?.scheduleInRootZone,s=r?.ignoreChangesOutsideZone,c=[Wp({ngZoneFactory:()=>function HM(e="zone.js",t){return"noop"===e?new Sh:"zone.js"===e?new jn(t):e}(r?.ngZone,{...qp({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}),scheduleInRootZone:i}),ignoreChangesOutsideZone:s}),{provide:Ka,useExisting:Ac}],g=function JT(e,t,n){return new Qf(e,t,n,!1)}(n.moduleType,this.injector,c);return function TE(e){const t=bd(e)?e.r3Injector:e.moduleRef.injector,n=t.get(jn);return n.run(()=>{bd(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=t.get(ws,null);let i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),bd(e)){const o=()=>t.destroy(),s=e.platformInjector.get(Xp);s.add(o),t.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else e.moduleRef.onDestroy(()=>{Dd(e.allPlatformModules,e.moduleRef),i.unsubscribe()});return function aN(e,t,n){try{const r=n();return Gp(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(r,n,()=>{const o=t.get(vE);return o.runInitializers(),o.donePromise.then(()=>{if(function BO(e){"string"==typeof e&&(SC=e.toLowerCase().replace(/_/g,"-"))}(t.get(Qp,hd)||hd),bd(e)){const c=t.get(ds);return void 0!==e.rootComponent&&c.bootstrap(e.rootComponent),c}return function EN(e,t){const n=e.injector.get(ds);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new Ne(-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=wE({},r);return function hN(e,t,n){const r=new Xf(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Ne(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Xp,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(wt(ei))};static#t=this.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),js=null;const OE=new rt("");function PE(e,t,n=[]){const r=`Platform: ${t}`,i=new rt(r);return(o=[])=>{let s=Zp();if(!s||s.injector.get(OE,!1)){const c=[...n,...o,{provide:i,useValue:!0}];e?e(c):function DN(e){if(js&&!js.get(OE,!1))throw new Ne(400,!1);(function CE(){!function Gt(e){Ve=e}(()=>{throw new Ne(600,!1)})})(),js=e;const t=e.get(IE);(function NE(e){e.get(Gm,null)?.forEach(n=>n())})(e)}(function AE(e=[],t){return ei.create({name:t,providers:[{provide:Hd,useValue:"platform"},{provide:Xp,useValue:new Set([()=>js=null])},...e]})}(c,r))}return function MN(){const t=Zp();if(!t)throw new Ne(401,!1);return t}()}}function Zp(){return js?.get(IE)??null}function SN(){return!1}function TN(){}let RE=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=IN}return e})();function IN(e){return function ON(e,t,n){if(Xs(e)&&!n){const r=io(e.index,t);return new ec(r,r)}return 175&e.type?new ec(t[Un],t):null}(pn(),de(),!(16&~e))}class VE{constructor(){}supports(t){return Zu(t)}create(t){return new RN(t)}}const xN=(e,t)=>t;class RN{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||xN}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,o=null;for(;n||r;){const s=!r||n&&n.currentIndex<jE(r,i,o)?n:r,c=jE(s,i,o),g=s.currentIndex;if(s===r)i--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)i++;else{o||(o=[]);const E=c-i,D=g-i;if(E!=D){for(let V=0;V<E;V++){const H=V<o.length?o[V]:o[V]=0,K=H+V;D<=K&&K<E&&(o[V]=H+1)}o[s.previousIndex]=D-E}}c!==g&&t(s,c,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=[]),!Zu(t))throw new Ne(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,o,s,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let c=0;c<this.length;c++)o=t[c],s=this._trackByFn(c,o),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,o,s,c)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,s,c),r=!0),n=n._next}else i=0,function nI(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,c=>{s=this._trackByFn(i,c),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,c,s,i)),Object.is(n.item,c)||this._addIdentityChange(n,c)):(n=this._mismatch(n,c,s,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 o;return null===t?o=this._itTail:(o=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,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new FN(n,r),o,i),t}_verifyReinsertion(t,n,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,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,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._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 UE),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 UE),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 FN{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 kN{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 UE{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new kN,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 jE(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 BE{constructor(){}supports(t){return t instanceof Map||Yf(t)}create(){return new LN}}class LN{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||Yf(t)))throw new Ne(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 o=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,o)}}),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 o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}const r=new VN(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 VN{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 $E(){return new ng([new VE])}let ng=(()=>{class e{static#e=this.\u0275prov=st({token:e,providedIn:"root",factory:$E});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||$E()),deps:[[e,new ki,new _i]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Ne(901,!1)}}return e})();function HE(){return new rg([new BE])}let rg=(()=>{class e{static#e=this.\u0275prov=st({token:e,providedIn:"root",factory:HE});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||HE()),deps:[[e,new ki,new _i]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Ne(901,!1)}}return e})();const BN=PE(null,"core",[]);let $N=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(wt(ds))};static#t=this.\u0275mod=Ci({type:e});static#n=this.\u0275inj=gn({})}return e})();const oD=new rt("");function vx(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function wx(e,t){Mi("NgSignals");const n=function Xe(e){const t=Object.create(ae);t.computation=e;const n=()=>{if(je(t),pe(t),t.value===q)throw t.error;return t.value};return n[he]=t,n}(e);return t?.equal&&(n[he].equal=t.equal),n}function Ex(e){const t=ue(null);try{return e()}finally{ue(t)}}function Ix(e){const t=kt(e);if(!t)return null;const n=new fc(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:(tn,fe,W)=>{W.d(fe,{BC:()=>Kn,YN:()=>f,kq:()=>Ee,me:()=>ke,vS:()=>Mo});var l=W(3953),j=W(177),B=W(6648),ee=W(7468),he=W(1413),ue=W(6354);let Ie=(()=>{class a{constructor(u,w){this._renderer=u,this._elementRef=w,this.onChange=S=>{},this.onTouched=()=>{}}setProperty(u,w){this._renderer.setProperty(this._elementRef.nativeElement,u,w)}registerOnTouched(u){this.onTouched=u}registerOnChange(u){this.onChange=u}setDisabledState(u){this.setProperty("disabled",u)}static#e=this.\u0275fac=function(w){return new(w||a)(l.rXU(l.sFG),l.rXU(l.aKT))};static#t=this.\u0275dir=l.FsC({type:a})}return a})(),le=(()=>{class a extends Ie{static#e=this.\u0275fac=(()=>{let u;return function(S){return(u||(u=l.xGo(a)))(S||a)}})();static#t=this.\u0275dir=l.FsC({type:a,features:[l.Vt3]})}return a})();const Ee=new l.nKC(""),Ae={provide:Ee,useExisting:(0,l.Rfq)(()=>ke),multi:!0},Le=new l.nKC("");let ke=(()=>{class a extends Ie{constructor(u,w,S){super(u,w),this._compositionMode=S,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function je(){const a=(0,j.QT)()?(0,j.QT)().getUserAgent():"";return/android (\d+)/.test(a.toLowerCase())}())}writeValue(u){this.setProperty("value",u??"")}_handleInput(u){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(u)}_compositionStart(){this._composing=!0}_compositionEnd(u){this._composing=!1,this._compositionMode&&this.onChange(u)}static#e=this.\u0275fac=function(w){return new(w||a)(l.rXU(l.sFG),l.rXU(l.aKT),l.rXU(Le,8))};static#t=this.\u0275dir=l.FsC({type:a,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(w,S){1&w&&l.bIt("input",function(X){return S._handleInput(X.target.value)})("blur",function(){return S.onTouched()})("compositionstart",function(){return S._compositionStart()})("compositionend",function(X){return S._compositionEnd(X.target.value)})},features:[l.Jv_([Ae]),l.Vt3]})}return a})();const et=new l.nKC(""),Ge=new l.nKC("");function ae(a){return null!=a}function we(a){return(0,l.jNT)(a)?(0,B.H)(a):a}function Ve(a){let d={};return a.forEach(u=>{d=null!=u?{...d,...u}:d}),0===Object.keys(d).length?null:d}function tt(a,d){return d.map(u=>u(a))}function wn(a){return a.map(d=>function Gt(a){return!a.validate}(d)?d:u=>d.validate(u))}function Bn(a){return null!=a?function Ye(a){if(!a)return null;const d=a.filter(ae);return 0==d.length?null:function(u){return Ve(tt(u,d))}}(wn(a)):null}function _n(a){return null!=a?function ti(a){if(!a)return null;const d=a.filter(ae);return 0==d.length?null:function(u){const w=tt(u,d).map(we);return(0,ee.p)(w).pipe((0,ue.T)(Ve))}}(wn(a)):null}function un(a,d){return null===a?[d]:Array.isArray(a)?[...a,d]:[a,d]}function cr(a){return a?Array.isArray(a)?a:[a]:[]}function ur(a,d){return Array.isArray(a)?a.includes(d):a===d}function nr(a,d){const u=cr(d);return cr(a).forEach(S=>{ur(u,S)||u.push(S)}),u}function Bt(a,d){return cr(d).filter(u=>!ur(a,u))}class ni{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=Bn(this._rawValidators)}_setAsyncValidators(d){this._rawAsyncValidators=d||[],this._composedAsyncValidatorFn=_n(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,u){return!!this.control&&this.control.hasError(d,u)}getError(d,u){return this.control?this.control.getError(d,u):null}}class nn extends ni{get formDirective(){return null}get path(){return null}}class yn extends ni{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ri{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 Kn=(()=>{class a extends ri{constructor(u){super(u)}static#e=this.\u0275fac=function(w){return new(w||a)(l.rXU(yn,2))};static#t=this.\u0275dir=l.FsC({type:a,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(w,S){2&w&&l.AVh("ng-untouched",S.isUntouched)("ng-touched",S.isTouched)("ng-pristine",S.isPristine)("ng-dirty",S.isDirty)("ng-valid",S.isValid)("ng-invalid",S.isInvalid)("ng-pending",S.isPending)},features:[l.Vt3]})}return a})();const Qn="VALID",Xn="INVALID",Or="PENDING",Pr="DISABLED";class Dn{}class dn extends Dn{constructor(d,u){super(),this.value=d,this.source=u}}class re extends Dn{constructor(d,u){super(),this.pristine=d,this.source=u}}class J extends Dn{constructor(d,u){super(),this.touched=d,this.source=u}}class L extends Dn{constructor(d,u){super(),this.status=d,this.source=u}}function Ht(a){return null!=a&&!Array.isArray(a)&&"object"==typeof a}class si{constructor(d,u){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=(0,l.EWP)(()=>this.statusReactive()),this.statusReactive=(0,l.vPA)(void 0),this._pristine=(0,l.EWP)(()=>this.pristineReactive()),this.pristineReactive=(0,l.vPA)(!0),this._touched=(0,l.EWP)(()=>this.touchedReactive()),this.touchedReactive=(0,l.vPA)(!1),this._events=new he.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(d),this._assignAsyncValidators(u)}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,l.O8t)(this.statusReactive)}set status(d){(0,l.O8t)(()=>this.statusReactive.set(d))}get valid(){return this.status===Qn}get invalid(){return this.status===Xn}get pending(){return this.status==Or}get disabled(){return this.status===Pr}get enabled(){return this.status!==Pr}get pristine(){return(0,l.O8t)(this.pristineReactive)}set pristine(d){(0,l.O8t)(()=>this.pristineReactive.set(d))}get dirty(){return!this.pristine}get touched(){return(0,l.O8t)(this.touchedReactive)}set touched(d){(0,l.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(nr(d,this._rawValidators))}addAsyncValidators(d){this.setAsyncValidators(nr(d,this._rawAsyncValidators))}removeValidators(d){this.setValidators(Bt(d,this._rawValidators))}removeAsyncValidators(d){this.setAsyncValidators(Bt(d,this._rawAsyncValidators))}hasValidator(d){return ur(this._rawValidators,d)}hasAsyncValidator(d){return ur(this._rawAsyncValidators,d)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(d={}){const u=!1===this.touched;this.touched=!0;const w=d.sourceControl??this;this._parent&&!d.onlySelf&&this._parent.markAsTouched({...d,sourceControl:w}),u&&!1!==d.emitEvent&&this._events.next(new J(!0,w))}markAllAsTouched(d={}){this.markAsTouched({onlySelf:!0,emitEvent:d.emitEvent,sourceControl:this}),this._forEachChild(u=>u.markAllAsTouched(d))}markAsUntouched(d={}){const u=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const w=d.sourceControl??this;this._forEachChild(S=>{S.markAsUntouched({onlySelf:!0,emitEvent:d.emitEvent,sourceControl:w})}),this._parent&&!d.onlySelf&&this._parent._updateTouched(d,w),u&&!1!==d.emitEvent&&this._events.next(new J(!1,w))}markAsDirty(d={}){const u=!0===this.pristine;this.pristine=!1;const w=d.sourceControl??this;this._parent&&!d.onlySelf&&this._parent.markAsDirty({...d,sourceControl:w}),u&&!1!==d.emitEvent&&this._events.next(new re(!1,w))}markAsPristine(d={}){const u=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const w=d.sourceControl??this;this._forEachChild(S=>{S.markAsPristine({onlySelf:!0,emitEvent:d.emitEvent})}),this._parent&&!d.onlySelf&&this._parent._updatePristine(d,w),u&&!1!==d.emitEvent&&this._events.next(new re(!0,w))}markAsPending(d={}){this.status=Or;const u=d.sourceControl??this;!1!==d.emitEvent&&(this._events.next(new L(this.status,u)),this.statusChanges.emit(this.status)),this._parent&&!d.onlySelf&&this._parent.markAsPending({...d,sourceControl:u})}disable(d={}){const u=this._parentMarkedDirty(d.onlySelf);this.status=Pr,this.errors=null,this._forEachChild(S=>{S.disable({...d,onlySelf:!0})}),this._updateValue();const w=d.sourceControl??this;!1!==d.emitEvent&&(this._events.next(new dn(this.value,w)),this._events.next(new L(this.status,w)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...d,skipPristineCheck:u},this),this._onDisabledChange.forEach(S=>S(!0))}enable(d={}){const u=this._parentMarkedDirty(d.onlySelf);this.status=Qn,this._forEachChild(w=>{w.enable({...d,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:d.emitEvent}),this._updateAncestors({...d,skipPristineCheck:u},this),this._onDisabledChange.forEach(w=>w(!1))}_updateAncestors(d,u){this._parent&&!d.onlySelf&&(this._parent.updateValueAndValidity(d),d.skipPristineCheck||this._parent._updatePristine({},u),this._parent._updateTouched({},u))}setParent(d){this._parent=d}getRawValue(){return this.value}updateValueAndValidity(d={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const w=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Qn||this.status===Or)&&this._runAsyncValidator(w,d.emitEvent)}const u=d.sourceControl??this;!1!==d.emitEvent&&(this._events.next(new dn(this.value,u)),this._events.next(new L(this.status,u)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!d.onlySelf&&this._parent.updateValueAndValidity({...d,sourceControl:u})}_updateTreeValidity(d={emitEvent:!0}){this._forEachChild(u=>u._updateTreeValidity(d)),this.updateValueAndValidity({onlySelf:!0,emitEvent:d.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Pr:Qn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(d,u){if(this.asyncValidator){this.status=Or,this._hasOwnPendingAsyncValidator={emitEvent:!1!==u};const w=we(this.asyncValidator(this));this._asyncValidationSubscription=w.subscribe(S=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(S,{emitEvent:u,shouldHaveEmitted:d})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const d=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,d}return!1}setErrors(d,u={}){this.errors=d,this._updateControlsErrors(!1!==u.emitEvent,this,u.shouldHaveEmitted)}get(d){let u=d;return null==u||(Array.isArray(u)||(u=u.split(".")),0===u.length)?null:u.reduce((w,S)=>w&&w._find(S),this)}getError(d,u){const w=u?this.get(u):this;return w&&w.errors?w.errors[d]:null}hasError(d,u){return!!this.getError(d,u)}get root(){let d=this;for(;d._parent;)d=d._parent;return d}_updateControlsErrors(d,u,w){this.status=this._calculateStatus(),d&&this.statusChanges.emit(this.status),(d||w)&&this._events.next(new L(this.status,u)),this._parent&&this._parent._updateControlsErrors(d,u,w)}_initObservables(){this.valueChanges=new l.bkB,this.statusChanges=new l.bkB}_calculateStatus(){return this._allControlsDisabled()?Pr:this.errors?Xn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Or)?Or:this._anyControlsHaveStatus(Xn)?Xn:Qn}_anyControlsHaveStatus(d){return this._anyControls(u=>u.status===d)}_anyControlsDirty(){return this._anyControls(d=>d.dirty)}_anyControlsTouched(){return this._anyControls(d=>d.touched)}_updatePristine(d,u){const w=!this._anyControlsDirty(),S=this.pristine!==w;this.pristine=w,this._parent&&!d.onlySelf&&this._parent._updatePristine(d,u),S&&this._events.next(new re(this.pristine,u))}_updateTouched(d={},u){this.touched=this._anyControlsTouched(),this._events.next(new J(this.touched,u)),this._parent&&!d.onlySelf&&this._parent._updateTouched(d,u)}_registerOnCollectionChange(d){this._onCollectionChange=d}_setUpdateStrategy(d){Ht(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 ot(a){return Array.isArray(a)?Bn(a):a||null}(this._rawValidators)}_assignAsyncValidators(d){this._rawAsyncValidators=Array.isArray(d)?d.slice():d,this._composedAsyncValidatorFn=function an(a){return Array.isArray(a)?_n(a):a||null}(this._rawAsyncValidators)}}const Yt=new l.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Hr}),Hr="always";function yr(a,d,u=Hr){(function Zn(a,d){const u=function $n(a){return a._rawValidators}(a);null!==d.validator?a.setValidators(un(u,d.validator)):"function"==typeof u&&a.setValidators([u]);const w=function An(a){return a._rawAsyncValidators}(a);null!==d.asyncValidator?a.setAsyncValidators(un(w,d.asyncValidator)):"function"==typeof w&&a.setAsyncValidators([w]);const S=()=>a.updateValueAndValidity();Gn(d._rawValidators,S),Gn(d._rawAsyncValidators,S)})(a,d),d.valueAccessor.writeValue(a.value),(a.disabled||"always"===u)&&d.valueAccessor.setDisabledState?.(a.disabled),function zi(a,d){d.valueAccessor.registerOnChange(u=>{a._pendingValue=u,a._pendingChange=!0,a._pendingDirty=!0,"change"===a.updateOn&&Rr(a,d)})}(a,d),function ht(a,d){const u=(w,S)=>{d.valueAccessor.writeValue(w),S&&d.viewToModelUpdate(w)};a.registerOnChange(u),d._registerOnDestroy(()=>{a._unregisterOnChange(u)})}(a,d),function Gi(a,d){d.valueAccessor.registerOnTouched(()=>{a._pendingTouched=!0,"blur"===a.updateOn&&a._pendingChange&&Rr(a,d),"submit"!==a.updateOn&&a.markAsTouched()})}(a,d),function xr(a,d){if(d.valueAccessor.setDisabledState){const u=w=>{d.valueAccessor.setDisabledState(w)};a.registerOnDisabledChange(u),d._registerOnDestroy(()=>{a._unregisterOnDisabledChange(u)})}}(a,d)}function Gn(a,d){a.forEach(u=>{u.registerOnValidatorChange&&u.registerOnValidatorChange(d)})}function Rr(a,d){a._pendingDirty&&a.markAsDirty(),a.setValue(a._pendingValue,{emitModelToViewChange:!1}),d.viewToModelUpdate(a._pendingValue),a._pendingChange=!1}function x(a,d){const u=a.indexOf(d);u>-1&&a.splice(u,1)}function ve(a){return"object"==typeof a&&null!==a&&2===Object.keys(a).length&&"value"in a&&"disabled"in a}Promise.resolve();const I=class extends si{constructor(d=null,u,w){super(function Fe(a){return(Ht(a)?a.validators:a)||null}(u),function St(a,d){return(Ht(d)?d.asyncValidators:a)||null}(w,u)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(d),this._setUpdateStrategy(u),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ht(u)&&(u.nonNullable||u.initialValueIsDefault)&&(this.defaultValue=ve(d)?d.value:d)}setValue(d,u={}){this.value=this._pendingValue=d,this._onChange.length&&!1!==u.emitModelToViewChange&&this._onChange.forEach(w=>w(this.value,!1!==u.emitViewToModelChange)),this.updateValueAndValidity(u)}patchValue(d,u={}){this.setValue(d,u)}reset(d=this.defaultValue,u={}){this._applyFormState(d),this.markAsPristine(u),this.markAsUntouched(u),this.setValue(this.value,u),this._pendingChange=!1}_updateValue(){}_anyControls(d){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(d){this._onChange.push(d)}_unregisterOnChange(d){x(this._onChange,d)}registerOnDisabledChange(d){this._onDisabledChange.push(d)}_unregisterOnDisabledChange(d){x(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){ve(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}},qi={provide:yn,useExisting:(0,l.Rfq)(()=>Mo)},Do=Promise.resolve();let Mo=(()=>{class a extends yn{constructor(u,w,S,z,X,Se){super(),this._changeDetectorRef=X,this.callSetDisabledState=Se,this.control=new I,this._registered=!1,this.name="",this.update=new l.bkB,this._parent=u,this._setValidators(w),this._setAsyncValidators(S),this.valueAccessor=function be(a,d){if(!d)return null;let u,w,S;return Array.isArray(d),d.forEach(z=>{z.constructor===ke?u=z:function ye(a){return Object.getPrototypeOf(a.constructor)===le}(z)?w=z:S=z}),S||w||u||null}(0,z)}ngOnChanges(u){if(this._checkForErrors(),!this._registered||"name"in u){if(this._registered&&(this._checkName(),this.formDirective)){const w=u.name.previousValue;this.formDirective.removeControl({name:w,path:this._getPath(w)})}this._setUpControl()}"isDisabled"in u&&this._updateDisabled(u),function te(a,d){if(!a.hasOwnProperty("model"))return!1;const u=a.model;return!!u.isFirstChange()||!Object.is(d,u.currentValue)}(u,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(u){this.viewModel=u,this.update.emit(u)}_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(){yr(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(u){Do.then(()=>{this.control.setValue(u,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(u){const w=u.isDisabled.currentValue,S=0!==w&&(0,l.L39)(w);Do.then(()=>{S&&!this.control.disabled?this.control.disable():!S&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(u){return this._parent?function zn(a,d){return[...d.path,a]}(u,this._parent):[u]}static#e=this.\u0275fac=function(w){return new(w||a)(l.rXU(nn,9),l.rXU(et,10),l.rXU(Ge,10),l.rXU(Ee,10),l.rXU(l.gRc,8),l.rXU(Yt,8))};static#t=this.\u0275dir=l.FsC({type:a,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:[l.Jv_([qi]),l.Vt3,l.OA$]})}return a})(),Is=(()=>{class a{static#e=this.\u0275fac=function(w){return new(w||a)};static#t=this.\u0275mod=l.$C({type:a});static#n=this.\u0275inj=l.G2t({})}return a})(),f=(()=>{class a{static withConfig(u){return{ngModule:a,providers:[{provide:Yt,useValue:u.callSetDisabledState??Hr}]}}static#e=this.\u0275fac=function(w){return new(w||a)};static#t=this.\u0275mod=l.$C({type:a});static#n=this.\u0275inj=l.G2t({imports:[Is]})}return a})()},728:(tn,fe,W)=>{W.d(fe,{wb:()=>mi});var l=W(3953),j=W(345),B=W(9969);function he(P){return new l.wOt(3e3,!1)}function $n(P){switch(P.length){case 0:return new B.sf;case 1:return P[0];default:return new B.ui(P)}}function An(P,f,_=new Map,a=new Map){const d=[],u=[];let w=-1,S=null;if(f.forEach(z=>{const X=z.get("offset"),Se=X==w,ce=Se&&S||new Map;z.forEach((Ot,Ct)=>{let Ze=Ct,at=Ot;if("offset"!==Ct)switch(Ze=P.normalizePropertyName(Ze,d),at){case B.FX:at=_.get(Ct);break;case B.kp:at=a.get(Ct);break;default:at=P.normalizeStyleValue(Ct,Ze,at,d)}ce.set(Ze,at)}),Se||u.push(ce),S=ce,w=X}),d.length)throw function Q(){return new l.wOt(3502,!1)}();return u}function cr(P,f,_,a){switch(f){case"start":P.onStart(()=>a(_&&ur(_,"start",P)));break;case"done":P.onDone(()=>a(_&&ur(_,"done",P)));break;case"destroy":P.onDestroy(()=>a(_&&ur(_,"destroy",P)))}}function ur(P,f,_){const u=nr(P.element,P.triggerName,P.fromState,P.toState,f||P.phaseName,_.totalTime??P.totalTime,!!_.disabled),w=P._data;return null!=w&&(u._data=w),u}function nr(P,f,_,a,d="",u=0,w){return{element:P,triggerName:f,fromState:_,toState:a,phaseName:d,totalTime:u,disabled:!!w}}function Bt(P,f,_){let a=P.get(f);return a||P.set(f,a=_),a}function ni(P){const f=P.indexOf(":");return[P.substring(1,f),P.slice(f+1)]}const nn=typeof document>"u"?null:document.documentElement;function yn(P){const f=P.parentNode||P.host||null;return f===nn?null:f}let sn=null,_r=!1;function Nn(P,f){for(;f;){if(f===P)return!0;f=yn(f)}return!1}function _t(P,f,_){if(_)return Array.from(P.querySelectorAll(f));const a=P.querySelector(f);return a?[a]:[]}let Hn=(()=>{class P{validateStyleProperty(_){return function Kn(P){sn||(sn=function dr(){return typeof document<"u"?document.body:null}()||{},_r=!!sn.style&&"WebkitAppearance"in sn.style);let f=!0;return sn.style&&!function ri(P){return"ebkit"==P.substring(1,6)}(P)&&(f=P in sn.style,!f&&_r&&(f="Webkit"+P.charAt(0).toUpperCase()+P.slice(1)in sn.style)),f}(_)}containsElement(_,a){return Nn(_,a)}getParentElement(_){return yn(_)}query(_,a,d){return _t(_,a,d)}computeStyle(_,a,d){return d||""}animate(_,a,d,u,w,S=[],z){return new B.sf(d,u)}static#e=this.\u0275fac=function(a){return new(a||P)};static#t=this.\u0275prov=l.jDH({token:P,factory:P.\u0275fac})}return P})();class dt{static#e=this.NOOP=new Hn}class Te{}const xn=1e3,rn="ng-enter",jr="ng-leave",bt="ng-trigger",oi=".ng-trigger",yt="ng-animating",At=".ng-animating";function Rn(P){if("number"==typeof P)return P;const f=P.match(/^(-?[\.\d]+)(m?s)/);return!f||f.length<2?0:Qn(parseFloat(f[1]),f[2])}function Qn(P,f){return"s"===f?P*xn:P}function Xn(P,f,_){return P.hasOwnProperty("duration")?P:function Or(P,f,_){let d,u=0,w="";if("string"==typeof P){const S=P.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===S)return f.push(he()),{duration:0,delay:0,easing:""};d=Qn(parseFloat(S[1]),S[2]);const z=S[3];null!=z&&(u=Qn(parseFloat(z),S[4]));const X=S[5];X&&(w=X)}else d=P;if(!_){let S=!1,z=f.length;d<0&&(f.push(function ue(){return new l.wOt(3100,!1)}()),S=!0),u<0&&(f.push(function Ie(){return new l.wOt(3101,!1)}()),S=!0),S&&f.splice(z,0,he())}return{duration:d,delay:u,easing:w}}(P,f,_)}function dn(P,f,_){f.forEach((a,d)=>{const u=St(d);_&&!_.has(d)&&_.set(d,P.style[u]),P.style[u]=a})}function re(P,f){f.forEach((_,a)=>{const d=St(a);P.style[d]=""})}function J(P){return Array.isArray(P)?1==P.length?P[0]:(0,B.K2)(P):P}const G=new RegExp("{{\\s*(.+?)\\s*}}","g");function ge(P){let f=[];if("string"==typeof P){let _;for(;_=G.exec(P);)f.push(_[1]);G.lastIndex=0}return f}function Fe(P,f,_){const a=`${P}`,d=a.replace(G,(u,w)=>{let S=f[w];return null==S&&(_.push(function Ee(){return new l.wOt(3003,!1)}()),S=""),S.toString()});return d==a?P:d}const ot=/-+([a-z0-9])/g;function St(P){return P.replace(ot,(...f)=>f[1].toUpperCase())}function $t(P,f,_){switch(f.type){case B.If.Trigger:return P.visitTrigger(f,_);case B.If.State:return P.visitState(f,_);case B.If.Transition:return P.visitTransition(f,_);case B.If.Sequence:return P.visitSequence(f,_);case B.If.Group:return P.visitGroup(f,_);case B.If.Animate:return P.visitAnimate(f,_);case B.If.Keyframes:return P.visitKeyframes(f,_);case B.If.Style:return P.visitStyle(f,_);case B.If.Reference:return P.visitReference(f,_);case B.If.AnimateChild:return P.visitAnimateChild(f,_);case B.If.AnimateRef:return P.visitAnimateRef(f,_);case B.If.Query:return P.visitQuery(f,_);case B.If.Stagger:return P.visitStagger(f,_);default:throw function se(){return new l.wOt(3004,!1)}()}}function si(P,f){return window.getComputedStyle(P)[f]}const Br=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 Ar extends Te{normalizePropertyName(f,_){return St(f)}normalizeStyleValue(f,_,a,d){let u="";const w=a.toString().trim();if(Br.has(_)&&0!==a&&"0"!==a)if("number"==typeof a)u="px";else{const S=a.match(/^[+-]?[\d\.]+([a-z]*)$/);S&&0==S[1].length&&d.push(function pe(){return new l.wOt(3005,!1)}())}return w+u}}const zn="*";const xr=new Set(["true","1"]),Zn=new Set(["false","0"]);function zr(P,f){const _=xr.has(P)||Zn.has(P),a=xr.has(f)||Zn.has(f);return(d,u)=>{let w=P==zn||P==d,S=f==zn||f==u;return!w&&_&&"boolean"==typeof d&&(w=d?xr.has(P):Zn.has(P)),!S&&a&&"boolean"==typeof u&&(S=u?xr.has(f):Zn.has(f)),w&&S}}const Gi=new RegExp("s*:selfs*,?","g");function Rr(P,f,_,a){return new hn(P).build(f,_,a)}class hn{constructor(f){this._driver=f}build(f,_,a){const d=new Fn(_);return this._resetContextStyleTimingState(d),$t(this,J(f),d)}_resetContextStyleTimingState(f){f.currentQuerySelector="",f.collectedStyles=new Map,f.collectedStyles.set("",new Map),f.currentTime=0}visitTrigger(f,_){let a=_.queryCount=0,d=_.depCount=0;const u=[],w=[];return"@"==f.name.charAt(0)&&_.errors.push(function Ae(){return new l.wOt(3006,!1)}()),f.definitions.forEach(S=>{if(this._resetContextStyleTimingState(_),S.type==B.If.State){const z=S,X=z.name;X.toString().split(/\s*,\s*/).forEach(Se=>{z.name=Se,u.push(this.visitState(z,_))}),z.name=X}else if(S.type==B.If.Transition){const z=this.visitTransition(S,_);a+=z.queryCount,d+=z.depCount,w.push(z)}else _.errors.push(function je(){return new l.wOt(3007,!1)}())}),{type:B.If.Trigger,name:f.name,states:u,transitions:w,queryCount:a,depCount:d,options:null}}visitState(f,_){const a=this.visitStyle(f.styles,_),d=f.options&&f.options.params||null;if(a.containsDynamicStyles){const u=new Set,w=d||{};a.styles.forEach(S=>{S instanceof Map&&S.forEach(z=>{ge(z).forEach(X=>{w.hasOwnProperty(X)||u.add(X)})})}),u.size&&_.errors.push(function Le(){return new l.wOt(3008,!1)}(0,u.values()))}return{type:B.If.State,name:f.name,style:a,options:d?{params:d}:null}}visitTransition(f,_){_.queryCount=0,_.depCount=0;const a=$t(this,J(f.animation),_),d=function yr(P,f){const _=[];return"string"==typeof P?P.split(/\s*,\s*/).forEach(a=>function Nr(P,f,_){if(":"==P[0]){const z=function Gn(P,f){switch(P){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(_,a)=>parseFloat(a)>parseFloat(_);case":decrement":return(_,a)=>parseFloat(a)<parseFloat(_);default:return f.push(function ft(){return new l.wOt(3016,!1)}()),"* => *"}}(P,_);if("function"==typeof z)return void f.push(z);P=z}const a=P.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==a||a.length<4)return _.push(function Zt(){return new l.wOt(3015,!1)}()),f;const d=a[1],u=a[2],w=a[3];f.push(zr(d,w)),"<"==u[0]&&(d!=zn||w!=zn)&&f.push(zr(w,d))}(a,_,f)):_.push(P),_}(f.expr,_.errors);return{type:B.If.Transition,matchers:d,animation:a,queryCount:_.queryCount,depCount:_.depCount,options:k(f.options)}}visitSequence(f,_){return{type:B.If.Sequence,steps:f.steps.map(a=>$t(this,a,_)),options:k(f.options)}}visitGroup(f,_){const a=_.currentTime;let d=0;const u=f.steps.map(w=>{_.currentTime=a;const S=$t(this,w,_);return d=Math.max(d,_.currentTime),S});return _.currentTime=d,{type:B.If.Group,steps:u,options:k(f.options)}}visitAnimate(f,_){const a=function U(P,f){if(P.hasOwnProperty("duration"))return P;if("number"==typeof P)return te(Xn(P,f).duration,0,"");const _=P;if(_.split(/\s+/).some(u=>"{"==u.charAt(0)&&"{"==u.charAt(1))){const u=te(0,0,"");return u.dynamic=!0,u.strValue=_,u}const d=Xn(_,f);return te(d.duration,d.delay,d.easing)}(f.timings,_.errors);_.currentAnimateTimings=a;let d,u=f.styles?f.styles:(0,B.iF)({});if(u.type==B.If.Keyframes)d=this.visitKeyframes(u,_);else{let w=f.styles,S=!1;if(!w){S=!0;const X={};a.easing&&(X.easing=a.easing),w=(0,B.iF)(X)}_.currentTime+=a.duration+a.delay;const z=this.visitStyle(w,_);z.isEmptyStep=S,d=z}return _.currentAnimateTimings=null,{type:B.If.Animate,timings:a,style:d,options:null}}visitStyle(f,_){const a=this._makeStyleAst(f,_);return this._validateStyleAst(a,_),a}_makeStyleAst(f,_){const a=[],d=Array.isArray(f.styles)?f.styles:[f.styles];for(let S of d)"string"==typeof S?S===B.kp?a.push(S):_.errors.push(new l.wOt(3002,!1)):a.push(new Map(Object.entries(S)));let u=!1,w=null;return a.forEach(S=>{if(S instanceof Map&&(S.has("easing")&&(w=S.get("easing"),S.delete("easing")),!u))for(let z of S.values())if(z.toString().indexOf("{{")>=0){u=!0;break}}),{type:B.If.Style,styles:a,easing:w,offset:f.offset,containsDynamicStyles:u,options:null}}_validateStyleAst(f,_){const a=_.currentAnimateTimings;let d=_.currentTime,u=_.currentTime;a&&u>0&&(u-=a.duration+a.delay),f.styles.forEach(w=>{"string"!=typeof w&&w.forEach((S,z)=>{const X=_.collectedStyles.get(_.currentQuerySelector),Se=X.get(z);let ce=!0;Se&&(u!=d&&u>=Se.startTime&&d<=Se.endTime&&(_.errors.push(function ze(){return new l.wOt(3010,!1)}()),ce=!1),u=Se.startTime),ce&&X.set(z,{startTime:u,endTime:d}),_.options&&function L(P,f,_){const a=f.params||{},d=ge(P);d.length&&d.forEach(u=>{a.hasOwnProperty(u)||_.push(function le(){return new l.wOt(3001,!1)}())})}(S,_.options,_.errors)})})}visitKeyframes(f,_){const a={type:B.If.Keyframes,styles:[],options:null};if(!_.currentAnimateTimings)return _.errors.push(function et(){return new l.wOt(3011,!1)}()),a;let u=0;const w=[];let S=!1,z=!1,X=0;const Se=f.steps.map(st=>{const bn=this._makeStyleAst(st,_);let gn=null!=bn.offset?bn.offset:function A(P){if("string"==typeof P)return null;let f=null;if(Array.isArray(P))P.forEach(_=>{if(_ instanceof Map&&_.has("offset")){const a=_;f=parseFloat(a.get("offset")),a.delete("offset")}});else if(P instanceof Map&&P.has("offset")){const _=P;f=parseFloat(_.get("offset")),_.delete("offset")}return f}(bn.styles),Sn=0;return null!=gn&&(u++,Sn=bn.offset=gn),z=z||Sn<0||Sn>1,S=S||Sn<X,X=Sn,w.push(Sn),bn});z&&_.errors.push(function Ge(){return new l.wOt(3012,!1)}()),S&&_.errors.push(function jt(){return new l.wOt(3200,!1)}());const ce=f.steps.length;let Ot=0;u>0&&u<ce?_.errors.push(function Lt(){return new l.wOt(3202,!1)}()):0==u&&(Ot=1/(ce-1));const Ct=ce-1,Ze=_.currentTime,at=_.currentAnimateTimings,on=at.duration;return Se.forEach((st,bn)=>{const gn=Ot>0?bn==Ct?1:Ot*bn:w[bn],Sn=gn*on;_.currentTime=Ze+at.delay+Sn,at.duration=Sn,this._validateStyleAst(st,_),st.offset=gn,a.styles.push(st)}),a}visitReference(f,_){return{type:B.If.Reference,animation:$t(this,J(f.animation),_),options:k(f.options)}}visitAnimateChild(f,_){return _.depCount++,{type:B.If.AnimateChild,options:k(f.options)}}visitAnimateRef(f,_){return{type:B.If.AnimateRef,animation:this.visitReference(f.animation,_),options:k(f.options)}}visitQuery(f,_){const a=_.currentQuerySelector,d=f.options||{};_.queryCount++,_.currentQuery=f;const[u,w]=function Gr(P){const f=!!P.split(/\s*,\s*/).find(_=>":self"==_);return f&&(P=P.replace(Gi,"")),P=P.replace(/@\*/g,oi).replace(/@\w+/g,_=>oi+"-"+_.slice(1)).replace(/:animating/g,At),[P,f]}(f.selector);_.currentQuerySelector=a.length?a+" "+u:u,Bt(_.collectedStyles,_.currentQuerySelector,new Map);const S=$t(this,J(f.animation),_);return _.currentQuery=null,_.currentQuerySelector=a,{type:B.If.Query,selector:u,limit:d.limit||0,optional:!!d.optional,includeSelf:w,animation:S,originalSelector:f.selector,options:k(f.options)}}visitStagger(f,_){_.currentQuery||_.errors.push(function ut(){return new l.wOt(3013,!1)}());const a="full"===f.timings?{duration:0,delay:0,easing:"full"}:Xn(f.timings,_.errors,!0);return{type:B.If.Stagger,animation:$t(this,J(f.animation),_),timings:a,options:null}}}class Fn{constructor(f){this.errors=f,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 k(P){return P?(P={...P}).params&&(P.params=function Yn(P){return P?{...P}:null}(P.params)):P={},P}function te(P,f,_){return{duration:P,delay:f,easing:_}}function ye(P,f,_,a,d,u,w=null,S=!1){return{type:1,element:P,keyframes:f,preStyleProps:_,postStyleProps:a,duration:d,delay:u,totalTime:d+u,easing:w,subTimeline:S}}class De{constructor(){this._map=new Map}get(f){return this._map.get(f)||[]}append(f,_){let a=this._map.get(f);a||this._map.set(f,a=[]),a.push(..._)}has(f){return this._map.has(f)}clear(){this._map.clear()}}const $e=new RegExp(":enter","g"),qt=new RegExp(":leave","g");function Kt(P,f,_,a,d,u=new Map,w=new Map,S,z,X=[]){return(new x).buildKeyframes(P,f,_,a,d,u,w,S,z,X)}class x{buildKeyframes(f,_,a,d,u,w,S,z,X,Se=[]){X=X||new De;const ce=new I(f,_,X,d,u,Se,[]);ce.options=z;const Ot=z.delay?Rn(z.delay):0;ce.currentTimeline.delayNextStep(Ot),ce.currentTimeline.setStyles([w],null,ce.errors,z),$t(this,a,ce);const Ct=ce.timelines.filter(Ze=>Ze.containsAnimation());if(Ct.length&&S.size){let Ze;for(let at=Ct.length-1;at>=0;at--){const on=Ct[at];if(on.element===_){Ze=on;break}}Ze&&!Ze.allowOnlyTimelineStyles()&&Ze.setStyles([S],null,ce.errors,z)}return Ct.length?Ct.map(Ze=>Ze.buildKeyframes()):[ye(_,[],[],[],0,Ot,"",!1)]}visitTrigger(f,_){}visitState(f,_){}visitTransition(f,_){}visitAnimateChild(f,_){const a=_.subInstructions.get(_.element);if(a){const d=_.createSubContext(f.options),u=_.currentTimeline.currentTime,w=this._visitSubInstructions(a,d,d.options);u!=w&&_.transformIntoNewTimeline(w)}_.previousNode=f}visitAnimateRef(f,_){const a=_.createSubContext(f.options);a.transformIntoNewTimeline(),this._applyAnimationRefDelays([f.options,f.animation.options],_,a),this.visitReference(f.animation,a),_.transformIntoNewTimeline(a.currentTimeline.currentTime),_.previousNode=f}_applyAnimationRefDelays(f,_,a){for(const d of f){const u=d?.delay;if(u){const w="number"==typeof u?u:Rn(Fe(u,d?.params??{},_.errors));a.delayNextStep(w)}}}_visitSubInstructions(f,_,a){let u=_.currentTimeline.currentTime;const w=null!=a.duration?Rn(a.duration):null,S=null!=a.delay?Rn(a.delay):null;return 0!==w&&f.forEach(z=>{const X=_.appendInstructionToTimeline(z,w,S);u=Math.max(u,X.duration+X.delay)}),u}visitReference(f,_){_.updateOptions(f.options,!0),$t(this,f.animation,_),_.previousNode=f}visitSequence(f,_){const a=_.subContextCount;let d=_;const u=f.options;if(u&&(u.params||u.delay)&&(d=_.createSubContext(u),d.transformIntoNewTimeline(),null!=u.delay)){d.previousNode.type==B.If.Style&&(d.currentTimeline.snapshotCurrentStyles(),d.previousNode=ve);const w=Rn(u.delay);d.delayNextStep(w)}f.steps.length&&(f.steps.forEach(w=>$t(this,w,d)),d.currentTimeline.applyStylesToKeyframe(),d.subContextCount>a&&d.transformIntoNewTimeline()),_.previousNode=f}visitGroup(f,_){const a=[];let d=_.currentTimeline.currentTime;const u=f.options&&f.options.delay?Rn(f.options.delay):0;f.steps.forEach(w=>{const S=_.createSubContext(f.options);u&&S.delayNextStep(u),$t(this,w,S),d=Math.max(d,S.currentTimeline.currentTime),a.push(S.currentTimeline)}),a.forEach(w=>_.currentTimeline.mergeTimelineCollectedStyles(w)),_.transformIntoNewTimeline(d),_.previousNode=f}_visitTiming(f,_){if(f.dynamic){const a=f.strValue;return Xn(_.params?Fe(a,_.params,_.errors):a,_.errors)}return{duration:f.duration,delay:f.delay,easing:f.easing}}visitAnimate(f,_){const a=_.currentAnimateTimings=this._visitTiming(f.timings,_),d=_.currentTimeline;a.delay&&(_.incrementTime(a.delay),d.snapshotCurrentStyles());const u=f.style;u.type==B.If.Keyframes?this.visitKeyframes(u,_):(_.incrementTime(a.duration),this.visitStyle(u,_),d.applyStylesToKeyframe()),_.currentAnimateTimings=null,_.previousNode=f}visitStyle(f,_){const a=_.currentTimeline,d=_.currentAnimateTimings;!d&&a.hasCurrentStyleProperties()&&a.forwardFrame();const u=d&&d.easing||f.easing;f.isEmptyStep?a.applyEmptyStep(u):a.setStyles(f.styles,u,_.errors,_.options),_.previousNode=f}visitKeyframes(f,_){const a=_.currentAnimateTimings,d=_.currentTimeline.duration,u=a.duration,S=_.createSubContext().currentTimeline;S.easing=a.easing,f.styles.forEach(z=>{S.forwardTime((z.offset||0)*u),S.setStyles(z.styles,z.easing,_.errors,_.options),S.applyStylesToKeyframe()}),_.currentTimeline.mergeTimelineCollectedStyles(S),_.transformIntoNewTimeline(d+u),_.previousNode=f}visitQuery(f,_){const a=_.currentTimeline.currentTime,d=f.options||{},u=d.delay?Rn(d.delay):0;u&&(_.previousNode.type===B.If.Style||0==a&&_.currentTimeline.hasCurrentStyleProperties())&&(_.currentTimeline.snapshotCurrentStyles(),_.previousNode=ve);let w=a;const S=_.invokeQuery(f.selector,f.originalSelector,f.limit,f.includeSelf,!!d.optional,_.errors);_.currentQueryTotal=S.length;let z=null;S.forEach((X,Se)=>{_.currentQueryIndex=Se;const ce=_.createSubContext(f.options,X);u&&ce.delayNextStep(u),X===_.element&&(z=ce.currentTimeline),$t(this,f.animation,ce),ce.currentTimeline.applyStylesToKeyframe(),w=Math.max(w,ce.currentTimeline.currentTime)}),_.currentQueryIndex=0,_.currentQueryTotal=0,_.transformIntoNewTimeline(w),z&&(_.currentTimeline.mergeTimelineCollectedStyles(z),_.currentTimeline.snapshotCurrentStyles()),_.previousNode=f}visitStagger(f,_){const a=_.parentContext,d=_.currentTimeline,u=f.timings,w=Math.abs(u.duration),S=w*(_.currentQueryTotal-1);let z=w*_.currentQueryIndex;switch(u.duration<0?"reverse":u.easing){case"reverse":z=S-z;break;case"full":z=a.currentStaggerTime}const Se=_.currentTimeline;z&&Se.delayNextStep(z);const ce=Se.currentTime;$t(this,f.animation,_),_.previousNode=f,a.currentStaggerTime=d.currentTime-ce+(d.startTime-a.currentTimeline.startTime)}}const ve={};class I{constructor(f,_,a,d,u,w,S,z){this._driver=f,this.element=_,this.subInstructions=a,this._enterClassName=d,this._leaveClassName=u,this.errors=w,this.timelines=S,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ve,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=z||new $(this._driver,_,0),S.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(f,_){if(!f)return;const a=f;let d=this.options;null!=a.duration&&(d.duration=Rn(a.duration)),null!=a.delay&&(d.delay=Rn(a.delay));const u=a.params;if(u){let w=d.params;w||(w=this.options.params={}),Object.keys(u).forEach(S=>{(!_||!w.hasOwnProperty(S))&&(w[S]=Fe(u[S],w,this.errors))})}}_copyOptions(){const f={};if(this.options){const _=this.options.params;if(_){const a=f.params={};Object.keys(_).forEach(d=>{a[d]=_[d]})}}return f}createSubContext(f=null,_,a){const d=_||this.element,u=new I(this._driver,d,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(d,a||0));return u.previousNode=this.previousNode,u.currentAnimateTimings=this.currentAnimateTimings,u.options=this._copyOptions(),u.updateOptions(f),u.currentQueryIndex=this.currentQueryIndex,u.currentQueryTotal=this.currentQueryTotal,u.parentContext=this,this.subContextCount++,u}transformIntoNewTimeline(f){return this.previousNode=ve,this.currentTimeline=this.currentTimeline.fork(this.element,f),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(f,_,a){const d={duration:_??f.duration,delay:this.currentTimeline.currentTime+(a??0)+f.delay,easing:""},u=new oe(this._driver,f.element,f.keyframes,f.preStyleProps,f.postStyleProps,d,f.stretchStartingKeyframe);return this.timelines.push(u),d}incrementTime(f){this.currentTimeline.forwardTime(this.currentTimeline.duration+f)}delayNextStep(f){f>0&&this.currentTimeline.delayNextStep(f)}invokeQuery(f,_,a,d,u,w){let S=[];if(d&&S.push(this.element),f.length>0){f=(f=f.replace($e,"."+this._enterClassName)).replace(qt,"."+this._leaveClassName);let X=this._driver.query(this.element,f,1!=a);0!==a&&(X=a<0?X.slice(X.length+a,X.length):X.slice(0,a)),S.push(...X)}return!u&&0==S.length&&w.push(function It(){return new l.wOt(3014,!1)}()),S}}class ${constructor(f,_,a,d){this._driver=f,this.element=_,this.startTime=a,this._elementTimelineStylesLookup=d,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(_),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(_,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(f){const _=1===this._keyframes.size&&this._pendingStyles.size;this.duration||_?(this.forwardTime(this.currentTime+f),_&&this.snapshotCurrentStyles()):this.startTime+=f}fork(f,_){return this.applyStylesToKeyframe(),new $(this._driver,f,_||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(f){this.applyStylesToKeyframe(),this.duration=f,this._loadKeyframe()}_updateStyle(f,_){this._localTimelineStyles.set(f,_),this._globalTimelineStyles.set(f,_),this._styleSummary.set(f,{time:this.currentTime,value:_})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(f){f&&this._previousKeyframe.set("easing",f);for(let[_,a]of this._globalTimelineStyles)this._backFill.set(_,a||B.kp),this._currentKeyframe.set(_,B.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(f,_,a,d){_&&this._previousKeyframe.set("easing",_);const u=d&&d.params||{},w=function pt(P,f){const _=new Map;let a;return P.forEach(d=>{if("*"===d){a??=f.keys();for(let u of a)_.set(u,B.kp)}else for(let[u,w]of d)_.set(u,w)}),_}(f,this._globalTimelineStyles);for(let[S,z]of w){const X=Fe(z,u,a);this._pendingStyles.set(S,X),this._localTimelineStyles.has(S)||this._backFill.set(S,this._globalTimelineStyles.get(S)??B.kp),this._updateStyle(S,X)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((f,_)=>{this._currentKeyframe.set(_,f)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((f,_)=>{this._currentKeyframe.has(_)||this._currentKeyframe.set(_,f)}))}snapshotCurrentStyles(){for(let[f,_]of this._localTimelineStyles)this._pendingStyles.set(f,_),this._updateStyle(f,_)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const f=[];for(let _ in this._currentKeyframe)f.push(_);return f}mergeTimelineCollectedStyles(f){f._styleSummary.forEach((_,a)=>{const d=this._styleSummary.get(a);(!d||_.time>d.time)&&this._updateStyle(a,_.value)})}buildKeyframes(){this.applyStylesToKeyframe();const f=new Set,_=new Set,a=1===this._keyframes.size&&0===this.duration;let d=[];this._keyframes.forEach((S,z)=>{const X=new Map([...this._backFill,...S]);X.forEach((Se,ce)=>{Se===B.FX?f.add(ce):Se===B.kp&&_.add(ce)}),a||X.set("offset",z/this.duration),d.push(X)});const u=[...f.values()],w=[..._.values()];if(a){const S=d[0],z=new Map(S);S.set("offset",0),z.set("offset",1),d=[S,z]}return ye(this.element,d,u,w,this.duration,this.startTime,this.easing,!1)}}class oe extends ${constructor(f,_,a,d,u,w,S=!1){super(f,_,w.delay),this.keyframes=a,this.preStyleProps=d,this.postStyleProps=u,this._stretchStartingKeyframe=S,this.timings={duration:w.duration,delay:w.delay,easing:w.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let f=this.keyframes,{delay:_,duration:a,easing:d}=this.timings;if(this._stretchStartingKeyframe&&_){const u=[],w=a+_,S=_/w,z=new Map(f[0]);z.set("offset",0),u.push(z);const X=new Map(f[0]);X.set("offset",He(S)),u.push(X);const Se=f.length-1;for(let ce=1;ce<=Se;ce++){let Ot=new Map(f[ce]);const Ct=Ot.get("offset");Ot.set("offset",He((_+Ct*a)/w)),u.push(Ot)}a=w,_=0,d="",f=u}return ye(this.element,f,this.preStyleProps,this.postStyleProps,a,_,d,!0)}}function He(P,f=3){const _=Math.pow(10,f-1);return Math.round(P*_)/_}function vt(P,f,_,a,d,u,w,S,z,X,Se,ce,Ot){return{type:0,element:P,triggerName:f,isRemovalTransition:d,fromState:_,fromStyles:u,toState:a,toStyles:w,timelines:S,queriedElements:z,preStyleProps:X,postStyleProps:Se,totalTime:ce,errors:Ot}}const Jn={};class lo{constructor(f,_,a){this._triggerName=f,this.ast=_,this._stateStyles=a}match(f,_,a,d){return function Wi(P,f,_,a,d){return P.some(u=>u(f,_,a,d))}(this.ast.matchers,f,_,a,d)}buildStyles(f,_,a){let d=this._stateStyles.get("*");return void 0!==f&&(d=this._stateStyles.get(f?.toString())||d),d?d.buildStyles(_,a):new Map}build(f,_,a,d,u,w,S,z,X,Se){const ce=[],Ot=this.ast.options&&this.ast.options.params||Jn,Ze=this.buildStyles(a,S&&S.params||Jn,ce),at=z&&z.params||Jn,on=this.buildStyles(d,at,ce),st=new Set,bn=new Map,gn=new Map,Sn="void"===d,Ao={params:qi(at,Ot),delay:this.ast.options?.delay},kr=Se?[]:Kt(f,_,this.ast.animation,u,w,Ze,on,Ao,X,ce);let er=0;return kr.forEach(tr=>{er=Math.max(tr.duration+tr.delay,er)}),ce.length?vt(_,this._triggerName,a,d,Sn,Ze,on,[],[],bn,gn,er,ce):(kr.forEach(tr=>{const Lr=tr.element,eo=Bt(bn,Lr,new Set);tr.preStyleProps.forEach(Ni=>eo.add(Ni));const No=Bt(gn,Lr,new Set);tr.postStyleProps.forEach(Ni=>No.add(Ni)),Lr!==_&&st.add(Lr)}),vt(_,this._triggerName,a,d,Sn,Ze,on,kr,[...st.values()],bn,gn,er))}}function qi(P,f){const _={...f};return Object.entries(P).forEach(([a,d])=>{null!=d&&(_[a]=d)}),_}class Do{constructor(f,_,a){this.styles=f,this.defaultParams=_,this.normalizer=a}buildStyles(f,_){const a=new Map,d=qi(f,this.defaultParams);return this.styles.styles.forEach(u=>{"string"!=typeof u&&u.forEach((w,S)=>{w&&(w=Fe(w,d,_));const z=this.normalizer.normalizePropertyName(S,_);w=this.normalizer.normalizeStyleValue(S,z,w,_),a.set(S,w)})}),a}}class Ms{constructor(f,_,a){this.name=f,this.ast=_,this._normalizer=a,this.transitionFactories=[],this.states=new Map,_.states.forEach(d=>{this.states.set(d.name,new Do(d.style,d.options&&d.options.params||{},a))}),Ho(this.states,"true","1"),Ho(this.states,"false","0"),_.transitions.forEach(d=>{this.transitionFactories.push(new lo(f,d,this.states))}),this.fallbackTransition=function vr(P,f){return new lo(P,{type:B.If.Transition,animation:{type:B.If.Sequence,steps:[],options:null},matchers:[(w,S)=>!0],options:null,queryCount:0,depCount:0},f)}(f,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(f,_,a,d){return this.transitionFactories.find(w=>w.match(f,_,a,d))||null}matchStyles(f,_,a){return this.fallbackTransition.buildStyles(f,_,a)}}function Ho(P,f,_){P.has(f)?P.has(_)||P.set(_,P.get(f)):P.has(_)&&P.set(f,P.get(_))}const Si=new De;class bs{constructor(f,_,a){this.bodyNode=f,this._driver=_,this._normalizer=a,this._animations=new Map,this._playersById=new Map,this.players=[]}register(f,_){const a=[],u=Rr(this._driver,_,a,[]);if(a.length)throw function q(){return new l.wOt(3503,!1)}();this._animations.set(f,u)}_buildPlayer(f,_,a){const d=f.element,u=An(this._normalizer,f.keyframes,_,a);return this._driver.animate(d,u,f.duration,f.delay,f.easing,[],!0)}create(f,_,a={}){const d=[],u=this._animations.get(f);let w;const S=new Map;if(u?(w=Kt(this._driver,_,u,rn,jr,new Map,new Map,a,Si,d),w.forEach(Se=>{const ce=Bt(S,Se.element,new Map);Se.postStyleProps.forEach(Ot=>ce.set(Ot,null))})):(d.push(function ae(){return new l.wOt(3300,!1)}()),w=[]),d.length)throw function we(){return new l.wOt(3504,!1)}();S.forEach((Se,ce)=>{Se.forEach((Ot,Ct)=>{Se.set(Ct,this._driver.computeStyle(ce,Ct,B.kp))})});const X=$n(w.map(Se=>{const ce=S.get(Se.element);return this._buildPlayer(Se,new Map,ce)}));return this._playersById.set(f,X),X.onDestroy(()=>this.destroy(f)),this.players.push(X),X}destroy(f){const _=this._getPlayer(f);_.destroy(),this._playersById.delete(f);const a=this.players.indexOf(_);a>=0&&this.players.splice(a,1)}_getPlayer(f){const _=this._playersById.get(f);if(!_)throw function Ve(){return new l.wOt(3301,!1)}();return _}listen(f,_,a,d){const u=nr(_,"","","");return cr(this._getPlayer(f),a,u,d),()=>{}}command(f,_,a,d){if("register"==a)return void this.register(f,d[0]);if("create"==a)return void this.create(f,_,d[0]||{});const u=this._getPlayer(f);switch(a){case"play":u.play();break;case"pause":u.pause();break;case"reset":u.reset();break;case"restart":u.restart();break;case"finish":u.finish();break;case"init":u.init();break;case"setPosition":u.setPosition(parseFloat(d[0]));break;case"destroy":this.destroy(f)}}}const Ki="ng-animate-queued",co="ng-animate-disabled",ho=[],So={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},To={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ln="__ng_removed";class Wr{get params(){return this.options.params}constructor(f,_=""){this.namespaceId=_;const a=f&&f.hasOwnProperty("value");if(this.value=function Xi(P){return P??null}(a?f.value:f),a){const{value:u,...w}=f;this.options=w}else this.options={};this.options.params||(this.options.params={})}absorbOptions(f){const _=f.params;if(_){const a=this.options.params;Object.keys(_).forEach(d=>{null==a[d]&&(a[d]=_[d])})}}}const qr="void",Ii=new Wr(qr);class Qi{constructor(f,_,a){this.id=f,this.hostElement=_,this._engine=a,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+f,Wn(_,this._hostClassName)}listen(f,_,a,d){if(!this._triggers.has(_))throw function tt(){return new l.wOt(3302,!1)}();if(null==a||0==a.length)throw function Gt(){return new l.wOt(3303,!1)}();if(!function Oo(P){return"start"==P||"done"==P}(a))throw function wn(){return new l.wOt(3400,!1)}();const u=Bt(this._elementListeners,f,[]),w={name:_,phase:a,callback:d};u.push(w);const S=Bt(this._engine.statesByElement,f,new Map);return S.has(_)||(Wn(f,bt),Wn(f,bt+"-"+_),S.set(_,Ii)),()=>{this._engine.afterFlush(()=>{const z=u.indexOf(w);z>=0&&u.splice(z,1),this._triggers.has(_)||S.delete(_)})}}register(f,_){return!this._triggers.has(f)&&(this._triggers.set(f,_),!0)}_getTrigger(f){const _=this._triggers.get(f);if(!_)throw function Ye(){return new l.wOt(3401,!1)}();return _}trigger(f,_,a,d=!0){const u=this._getTrigger(_),w=new pi(this.id,_,f);let S=this._engine.statesByElement.get(f);S||(Wn(f,bt),Wn(f,bt+"-"+_),this._engine.statesByElement.set(f,S=new Map));let z=S.get(_);const X=new Wr(a,this.id);if(!(a&&a.hasOwnProperty("value"))&&z&&X.absorbOptions(z.options),S.set(_,X),z||(z=Ii),X.value!==qr&&z.value===X.value){if(!function Fr(P,f){const _=Object.keys(P),a=Object.keys(f);if(_.length!=a.length)return!1;for(let d=0;d<_.length;d++){const u=_[d];if(!f.hasOwnProperty(u)||P[u]!==f[u])return!1}return!0}(z.params,X.params)){const at=[],on=u.matchStyles(z.value,z.params,at),st=u.matchStyles(X.value,X.params,at);at.length?this._engine.reportError(at):this._engine.afterFlush(()=>{re(f,on),dn(f,st)})}return}const Ot=Bt(this._engine.playersByElement,f,[]);Ot.forEach(at=>{at.namespaceId==this.id&&at.triggerName==_&&at.queued&&at.destroy()});let Ct=u.matchTransition(z.value,X.value,f,X.params),Ze=!1;if(!Ct){if(!d)return;Ct=u.fallbackTransition,Ze=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:f,triggerName:_,transition:Ct,fromState:z,toState:X,player:w,isFallbackTransition:Ze}),Ze||(Wn(f,Ki),w.onStart(()=>{po(f,Ki)})),w.onDone(()=>{let at=this.players.indexOf(w);at>=0&&this.players.splice(at,1);const on=this._engine.playersByElement.get(f);if(on){let st=on.indexOf(w);st>=0&&on.splice(st,1)}}),this.players.push(w),Ot.push(w),w}deregister(f){this._triggers.delete(f),this._engine.statesByElement.forEach(_=>_.delete(f)),this._elementListeners.forEach((_,a)=>{this._elementListeners.set(a,_.filter(d=>d.name!=f))})}clearElementCache(f){this._engine.statesByElement.delete(f),this._elementListeners.delete(f);const _=this._engine.playersByElement.get(f);_&&(_.forEach(a=>a.destroy()),this._engine.playersByElement.delete(f))}_signalRemovalForInnerTriggers(f,_){const a=this._engine.driver.query(f,oi,!0);a.forEach(d=>{if(d[ln])return;const u=this._engine.fetchNamespacesByElement(d);u.size?u.forEach(w=>w.triggerLeaveAnimation(d,_,!1,!0)):this.clearElementCache(d)}),this._engine.afterFlushAnimationsDone(()=>a.forEach(d=>this.clearElementCache(d)))}triggerLeaveAnimation(f,_,a,d){const u=this._engine.statesByElement.get(f),w=new Map;if(u){const S=[];if(u.forEach((z,X)=>{if(w.set(X,z.value),this._triggers.has(X)){const Se=this.trigger(f,X,qr,d);Se&&S.push(Se)}}),S.length)return this._engine.markElementAsRemoved(this.id,f,!0,_,w),a&&$n(S).onDone(()=>this._engine.processLeaveNode(f)),!0}return!1}prepareLeaveAnimationListeners(f){const _=this._elementListeners.get(f),a=this._engine.statesByElement.get(f);if(_&&a){const d=new Set;_.forEach(u=>{const w=u.name;if(d.has(w))return;d.add(w);const z=this._triggers.get(w).fallbackTransition,X=a.get(w)||Ii,Se=new Wr(qr),ce=new pi(this.id,w,f);this._engine.totalQueuedPlayers++,this._queue.push({element:f,triggerName:w,transition:z,fromState:X,toState:Se,player:ce,isFallbackTransition:!0})})}}removeNode(f,_){const a=this._engine;if(f.childElementCount&&this._signalRemovalForInnerTriggers(f,_),this.triggerLeaveAnimation(f,_,!0))return;let d=!1;if(a.totalAnimations){const u=a.players.length?a.playersByQueriedElement.get(f):[];if(u&&u.length)d=!0;else{let w=f;for(;w=w.parentNode;)if(a.statesByElement.get(w)){d=!0;break}}}if(this.prepareLeaveAnimationListeners(f),d)a.markElementAsRemoved(this.id,f,!1,_);else{const u=f[ln];(!u||u===So)&&(a.afterFlush(()=>this.clearElementCache(f)),a.destroyInnerAnimations(f),a._onRemovalComplete(f,_))}}insertNode(f,_){Wn(f,this._hostClassName)}drainQueuedTransitions(f){const _=[];return this._queue.forEach(a=>{const d=a.player;if(d.destroyed)return;const u=a.element,w=this._elementListeners.get(u);w&&w.forEach(S=>{if(S.name==a.triggerName){const z=nr(u,a.triggerName,a.fromState.value,a.toState.value);z._data=f,cr(a.player,S.phase,z,S.callback)}}),d.markedForDestroy?this._engine.afterFlush(()=>{d.destroy()}):_.push(a)}),this._queue=[],_.sort((a,d)=>{const u=a.transition.ast.depCount,w=d.transition.ast.depCount;return 0==u||0==w?u-w:this._engine.driver.containsElement(a.element,d.element)?1:-1})}destroy(f){this.players.forEach(_=>_.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,f)}}class zo{_onRemovalComplete(f,_){this.onRemovalComplete(f,_)}constructor(f,_,a){this.bodyNode=f,this.driver=_,this._normalizer=a,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=(d,u)=>{}}get queuedPlayers(){const f=[];return this._namespaceList.forEach(_=>{_.players.forEach(a=>{a.queued&&f.push(a)})}),f}createNamespace(f,_){const a=new Qi(f,_,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,_)?this._balanceNamespaceList(a,_):(this.newHostElements.set(_,a),this.collectEnterElement(_)),this._namespaceLookup[f]=a}_balanceNamespaceList(f,_){const a=this._namespaceList,d=this.namespacesByHostElement;if(a.length-1>=0){let w=!1,S=this.driver.getParentElement(_);for(;S;){const z=d.get(S);if(z){const X=a.indexOf(z);a.splice(X+1,0,f),w=!0;break}S=this.driver.getParentElement(S)}w||a.unshift(f)}else a.push(f);return d.set(_,f),f}register(f,_){let a=this._namespaceLookup[f];return a||(a=this.createNamespace(f,_)),a}registerTrigger(f,_,a){let d=this._namespaceLookup[f];d&&d.register(_,a)&&this.totalAnimations++}destroy(f,_){f&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const a=this._fetchNamespace(f);this.namespacesByHostElement.delete(a.hostElement);const d=this._namespaceList.indexOf(a);d>=0&&this._namespaceList.splice(d,1),a.destroy(_),delete this._namespaceLookup[f]}))}_fetchNamespace(f){return this._namespaceLookup[f]}fetchNamespacesByElement(f){const _=new Set,a=this.statesByElement.get(f);if(a)for(let d of a.values())if(d.namespaceId){const u=this._fetchNamespace(d.namespaceId);u&&_.add(u)}return _}trigger(f,_,a,d){if(Zi(_)){const u=this._fetchNamespace(f);if(u)return u.trigger(_,a,d),!0}return!1}insertNode(f,_,a,d){if(!Zi(_))return;const u=_[ln];if(u&&u.setForRemoval){u.setForRemoval=!1,u.setForMove=!0;const w=this.collectedLeaveElements.indexOf(_);w>=0&&this.collectedLeaveElements.splice(w,1)}if(f){const w=this._fetchNamespace(f);w&&w.insertNode(_,a)}d&&this.collectEnterElement(_)}collectEnterElement(f){this.collectedEnterElements.push(f)}markElementAsDisabled(f,_){_?this.disabledNodes.has(f)||(this.disabledNodes.add(f),Wn(f,co)):this.disabledNodes.has(f)&&(this.disabledNodes.delete(f),po(f,co))}removeNode(f,_,a){if(Zi(_)){const d=f?this._fetchNamespace(f):null;d?d.removeNode(_,a):this.markElementAsRemoved(f,_,!1,a);const u=this.namespacesByHostElement.get(_);u&&u.id!==f&&u.removeNode(_,a)}else this._onRemovalComplete(_,a)}markElementAsRemoved(f,_,a,d,u){this.collectedLeaveElements.push(_),_[ln]={namespaceId:f,setForRemoval:d,hasAnimation:a,removedBeforeQueried:!1,previousTriggersValues:u}}listen(f,_,a,d,u){return Zi(_)?this._fetchNamespace(f).listen(_,a,d,u):()=>{}}_buildInstruction(f,_,a,d,u){return f.transition.build(this.driver,f.element,f.fromState.value,f.toState.value,a,d,f.fromState.options,f.toState.options,_,u)}destroyInnerAnimations(f){let _=this.driver.query(f,oi,!0);_.forEach(a=>this.destroyActiveAnimationsForElement(a)),0!=this.playersByQueriedElement.size&&(_=this.driver.query(f,At,!0),_.forEach(a=>this.finishActiveQueriedAnimationOnElement(a)))}destroyActiveAnimationsForElement(f){const _=this.playersByElement.get(f);_&&_.forEach(a=>{a.queued?a.markedForDestroy=!0:a.destroy()})}finishActiveQueriedAnimationOnElement(f){const _=this.playersByQueriedElement.get(f);_&&_.forEach(a=>a.finish())}whenRenderingDone(){return new Promise(f=>{if(this.players.length)return $n(this.players).onDone(()=>f());f()})}processLeaveNode(f){const _=f[ln];if(_&&_.setForRemoval){if(f[ln]=So,_.namespaceId){this.destroyInnerAnimations(f);const a=this._fetchNamespace(_.namespaceId);a&&a.clearElementCache(f)}this._onRemovalComplete(f,_.setForRemoval)}f.classList?.contains(co)&&this.markElementAsDisabled(f,!1),this.driver.query(f,".ng-animate-disabled",!0).forEach(a=>{this.markElementAsDisabled(a,!1)})}flush(f=-1){let _=[];if(this.newHostElements.size&&(this.newHostElements.forEach((a,d)=>this._balanceNamespaceList(a,d)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let a=0;a<this.collectedEnterElements.length;a++)Wn(this.collectedEnterElements[a],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const a=[];try{_=this._flushAnimations(a,f)}finally{for(let d=0;d<a.length;d++)a[d]()}}else for(let a=0;a<this.collectedLeaveElements.length;a++)this.processLeaveNode(this.collectedLeaveElements[a]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(a=>a()),this._flushFns=[],this._whenQuietFns.length){const a=this._whenQuietFns;this._whenQuietFns=[],_.length?$n(_).onDone(()=>{a.forEach(d=>d())}):a.forEach(d=>d())}}reportError(f){throw function Bn(){return new l.wOt(3402,!1)}()}_flushAnimations(f,_){const a=new De,d=[],u=new Map,w=[],S=new Map,z=new Map,X=new Map,Se=new Set;this.disabledNodes.forEach(Be=>{Se.add(Be);const qe=this.driver.query(Be,".ng-animate-queued",!0);for(let it=0;it<qe.length;it++)Se.add(qe[it])});const ce=this.bodyNode,Ot=Array.from(this.statesByElement.keys()),Ct=Wo(Ot,this.collectedEnterElements),Ze=new Map;let at=0;Ct.forEach((Be,qe)=>{const it=rn+at++;Ze.set(qe,it),Be.forEach(Nt=>Wn(Nt,it))});const on=[],st=new Set,bn=new Set;for(let Be=0;Be<this.collectedLeaveElements.length;Be++){const qe=this.collectedLeaveElements[Be],it=qe[ln];it&&it.setForRemoval&&(on.push(qe),st.add(qe),it.hasAnimation?this.driver.query(qe,".ng-star-inserted",!0).forEach(Nt=>st.add(Nt)):bn.add(qe))}const gn=new Map,Sn=Wo(Ot,Array.from(st));Sn.forEach((Be,qe)=>{const it=jr+at++;gn.set(qe,it),Be.forEach(Nt=>Wn(Nt,it))}),f.push(()=>{Ct.forEach((Be,qe)=>{const it=Ze.get(qe);Be.forEach(Nt=>po(Nt,it))}),Sn.forEach((Be,qe)=>{const it=gn.get(qe);Be.forEach(Nt=>po(Nt,it))}),on.forEach(Be=>{this.processLeaveNode(Be)})});const Ao=[],kr=[];for(let Be=this._namespaceList.length-1;Be>=0;Be--)this._namespaceList[Be].drainQueuedTransitions(_).forEach(it=>{const Nt=it.player,qn=it.element;if(Ao.push(Nt),this.collectedEnterElements.length){const Tn=qn[ln];if(Tn&&Tn.setForMove){if(Tn.previousTriggersValues&&Tn.previousTriggersValues.has(it.triggerName)){const Ri=Tn.previousTriggersValues.get(it.triggerName),In=this.statesByElement.get(it.element);if(In&&In.has(it.triggerName)){const Vr=In.get(it.triggerName);Vr.value=Ri,In.set(it.triggerName,Vr)}}return void Nt.destroy()}}const xi=!ce||!this.driver.containsElement(ce,qn),Kr=gn.get(qn),to=Ze.get(qn),cn=this._buildInstruction(it,a,to,Kr,xi);if(cn.errors&&cn.errors.length)return void kr.push(cn);if(xi)return Nt.onStart(()=>re(qn,cn.fromStyles)),Nt.onDestroy(()=>dn(qn,cn.toStyles)),void d.push(Nt);if(it.isFallbackTransition)return Nt.onStart(()=>re(qn,cn.fromStyles)),Nt.onDestroy(()=>dn(qn,cn.toStyles)),void d.push(Nt);const _o=[];cn.timelines.forEach(Tn=>{Tn.stretchStartingKeyframe=!0,this.disabledNodes.has(Tn.element)||_o.push(Tn)}),cn.timelines=_o,a.append(qn,cn.timelines),w.push({instruction:cn,player:Nt,element:qn}),cn.queriedElements.forEach(Tn=>Bt(S,Tn,[]).push(Nt)),cn.preStyleProps.forEach((Tn,Ri)=>{if(Tn.size){let In=z.get(Ri);In||z.set(Ri,In=new Set),Tn.forEach((Vr,Ro)=>In.add(Ro))}}),cn.postStyleProps.forEach((Tn,Ri)=>{let In=X.get(Ri);In||X.set(Ri,In=new Set),Tn.forEach((Vr,Ro)=>In.add(Ro))})});if(kr.length){const Be=[];kr.forEach(qe=>{Be.push(function _n(){return new l.wOt(3505,!1)}())}),Ao.forEach(qe=>qe.destroy()),this.reportError(Be)}const er=new Map,tr=new Map;w.forEach(Be=>{const qe=Be.element;a.has(qe)&&(tr.set(qe,qe),this._beforeAnimationBuild(Be.player.namespaceId,Be.instruction,er))}),d.forEach(Be=>{const qe=Be.element;this._getPreviousPlayers(qe,!1,Be.namespaceId,Be.triggerName,null).forEach(Nt=>{Bt(er,qe,[]).push(Nt),Nt.destroy()})});const Lr=on.filter(Be=>rr(Be,z,X)),eo=new Map;Go(eo,this.driver,bn,X,B.kp).forEach(Be=>{rr(Be,z,X)&&Lr.push(Be)});const Ni=new Map;Ct.forEach((Be,qe)=>{Go(Ni,this.driver,new Set(Be),z,B.FX)}),Lr.forEach(Be=>{const qe=eo.get(Be),it=Ni.get(Be);eo.set(Be,new Map([...qe?.entries()??[],...it?.entries()??[]]))});const rt=[],Xo=[],xo={};w.forEach(Be=>{const{element:qe,player:it,instruction:Nt}=Be;if(a.has(qe)){if(Se.has(qe))return it.onDestroy(()=>dn(qe,Nt.toStyles)),it.disabled=!0,it.overrideTotalTime(Nt.totalTime),void d.push(it);let qn=xo;if(tr.size>1){let Kr=qe;const to=[];for(;Kr=Kr.parentNode;){const cn=tr.get(Kr);if(cn){qn=cn;break}to.push(Kr)}to.forEach(cn=>tr.set(cn,qn))}const xi=this._buildAnimation(it.namespaceId,Nt,er,u,Ni,eo);if(it.setRealPlayer(xi),qn===xo)rt.push(it);else{const Kr=this.playersByElement.get(qn);Kr&&Kr.length&&(it.parentPlayer=$n(Kr)),d.push(it)}}else re(qe,Nt.fromStyles),it.onDestroy(()=>dn(qe,Nt.toStyles)),Xo.push(it),Se.has(qe)&&d.push(it)}),Xo.forEach(Be=>{const qe=u.get(Be.element);if(qe&&qe.length){const it=$n(qe);Be.setRealPlayer(it)}}),d.forEach(Be=>{Be.parentPlayer?Be.syncPlayerEvents(Be.parentPlayer):Be.destroy()});for(let Be=0;Be<on.length;Be++){const qe=on[Be],it=qe[ln];if(po(qe,jr),it&&it.hasAnimation)continue;let Nt=[];if(S.size){let xi=S.get(qe);xi&&xi.length&&Nt.push(...xi);let Kr=this.driver.query(qe,At,!0);for(let to=0;to<Kr.length;to++){let cn=S.get(Kr[to]);cn&&cn.length&&Nt.push(...cn)}}const qn=Nt.filter(xi=>!xi.destroyed);qn.length?Yi(this,qe,qn):this.processLeaveNode(qe)}return on.length=0,rt.forEach(Be=>{this.players.push(Be),Be.onDone(()=>{Be.destroy();const qe=this.players.indexOf(Be);this.players.splice(qe,1)}),Be.play()}),rt}afterFlush(f){this._flushFns.push(f)}afterFlushAnimationsDone(f){this._whenQuietFns.push(f)}_getPreviousPlayers(f,_,a,d,u){let w=[];if(_){const S=this.playersByQueriedElement.get(f);S&&(w=S)}else{const S=this.playersByElement.get(f);if(S){const z=!u||u==qr;S.forEach(X=>{X.queued||!z&&X.triggerName!=d||w.push(X)})}}return(a||d)&&(w=w.filter(S=>!(a&&a!=S.namespaceId||d&&d!=S.triggerName))),w}_beforeAnimationBuild(f,_,a){const u=_.element,w=_.isRemovalTransition?void 0:f,S=_.isRemovalTransition?void 0:_.triggerName;for(const z of _.timelines){const X=z.element,Se=X!==u,ce=Bt(a,X,[]);this._getPreviousPlayers(X,Se,w,S,_.toState).forEach(Ct=>{const Ze=Ct.getRealPlayer();Ze.beforeDestroy&&Ze.beforeDestroy(),Ct.destroy(),ce.push(Ct)})}re(u,_.fromStyles)}_buildAnimation(f,_,a,d,u,w){const S=_.triggerName,z=_.element,X=[],Se=new Set,ce=new Set,Ot=_.timelines.map(Ze=>{const at=Ze.element;Se.add(at);const on=at[ln];if(on&&on.removedBeforeQueried)return new B.sf(Ze.duration,Ze.delay);const st=at!==z,bn=function Po(P){const f=[];return Ne(P,f),f}((a.get(at)||ho).map(er=>er.getRealPlayer())).filter(er=>!!er.element&&er.element===at),gn=u.get(at),Sn=w.get(at),Ao=An(this._normalizer,Ze.keyframes,gn,Sn),kr=this._buildPlayer(Ze,Ao,bn);if(Ze.subTimeline&&d&&ce.add(at),st){const er=new pi(f,S,at);er.setRealPlayer(kr),X.push(er)}return kr});X.forEach(Ze=>{Bt(this.playersByQueriedElement,Ze.element,[]).push(Ze),Ze.onDone(()=>function Io(P,f,_){let a=P.get(f);if(a){if(a.length){const d=a.indexOf(_);a.splice(d,1)}0==a.length&&P.delete(f)}return a}(this.playersByQueriedElement,Ze.element,Ze))}),Se.forEach(Ze=>Wn(Ze,yt));const Ct=$n(Ot);return Ct.onDestroy(()=>{Se.forEach(Ze=>po(Ze,yt)),dn(z,_.toStyles)}),ce.forEach(Ze=>{Bt(d,Ze,[]).push(Ct)}),Ct}_buildPlayer(f,_,a){return _.length>0?this.driver.animate(f.element,_,f.duration,f.delay,f.easing,a):new B.sf(f.duration,f.delay)}}class pi{constructor(f,_,a){this.namespaceId=f,this.triggerName=_,this.element=a,this._player=new B.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(f){this._containsRealPlayer||(this._player=f,this._queuedCallbacks.forEach((_,a)=>{_.forEach(d=>cr(f,a,void 0,d))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(f.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(f){this.totalTime=f}syncPlayerEvents(f){const _=this._player;_.triggerCallback&&f.onStart(()=>_.triggerCallback("start")),f.onDone(()=>this.finish()),f.onDestroy(()=>this.destroy())}_queueEvent(f,_){Bt(this._queuedCallbacks,f,[]).push(_)}onDone(f){this.queued&&this._queueEvent("done",f),this._player.onDone(f)}onStart(f){this.queued&&this._queueEvent("start",f),this._player.onStart(f)}onDestroy(f){this.queued&&this._queueEvent("destroy",f),this._player.onDestroy(f)}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(f){this.queued||this._player.setPosition(f)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(f){const _=this._player;_.triggerCallback&&_.triggerCallback(f)}}function Zi(P){return P&&1===P.nodeType}function fo(P,f){const _=P.style.display;return P.style.display=f??"none",_}function Go(P,f,_,a,d){const u=[];_.forEach(z=>u.push(fo(z)));const w=[];a.forEach((z,X)=>{const Se=new Map;z.forEach(ce=>{const Ot=f.computeStyle(X,ce,d);Se.set(ce,Ot),(!Ot||0==Ot.length)&&(X[ln]=To,w.push(X))}),P.set(X,Se)});let S=0;return _.forEach(z=>fo(z,u[S++])),w}function Wo(P,f){const _=new Map;if(P.forEach(S=>_.set(S,[])),0==f.length)return _;const d=new Set(f),u=new Map;function w(S){if(!S)return 1;let z=u.get(S);if(z)return z;const X=S.parentNode;return z=_.has(X)?X:d.has(X)?1:w(X),u.set(S,z),z}return f.forEach(S=>{const z=w(S);1!==z&&_.get(z).push(S)}),_}function Wn(P,f){P.classList?.add(f)}function po(P,f){P.classList?.remove(f)}function Yi(P,f,_){$n(_).onDone(()=>P.processLeaveNode(f))}function Ne(P,f){for(let _=0;_<P.length;_++){const a=P[_];a instanceof B.ui?Ne(a.players,f):f.push(a)}}function rr(P,f,_){const a=_.get(P);if(!a)return!1;let d=f.get(P);return d?a.forEach(u=>d.add(u)):f.set(P,a),_.delete(P),!0}class Oi{constructor(f,_,a){this._driver=_,this._normalizer=a,this._triggerCache={},this.onRemovalComplete=(d,u)=>{},this._transitionEngine=new zo(f.body,_,a),this._timelineEngine=new bs(f.body,_,a),this._transitionEngine.onRemovalComplete=(d,u)=>this.onRemovalComplete(d,u)}registerTrigger(f,_,a,d,u){const w=f+"-"+d;let S=this._triggerCache[w];if(!S){const z=[],Se=Rr(this._driver,u,z,[]);if(z.length)throw function Y(){return new l.wOt(3404,!1)}();S=function Mo(P,f,_){return new Ms(P,f,_)}(d,Se,this._normalizer),this._triggerCache[w]=S}this._transitionEngine.registerTrigger(_,d,S)}register(f,_){this._transitionEngine.register(f,_)}destroy(f,_){this._transitionEngine.destroy(f,_)}onInsert(f,_,a,d){this._transitionEngine.insertNode(f,_,a,d)}onRemove(f,_,a){this._transitionEngine.removeNode(f,_,a)}disableAnimations(f,_){this._transitionEngine.markElementAsDisabled(f,_)}process(f,_,a,d){if("@"==a.charAt(0)){const[u,w]=ni(a);this._timelineEngine.command(u,_,w,d)}else this._transitionEngine.trigger(f,_,a,d)}listen(f,_,a,d,u){if("@"==a.charAt(0)){const[w,S]=ni(a);return this._timelineEngine.listen(w,_,S,u)}return this._transitionEngine.listen(f,_,a,d,u)}flush(f=-1){this._transitionEngine.flush(f)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(f){this._transitionEngine.afterFlushAnimationsDone(f)}}class gi{static#e=this.initialStylesByElement=new WeakMap;constructor(f,_,a){this._element=f,this._startStyles=_,this._endStyles=a,this._state=0;let d=gi.initialStylesByElement.get(f);d||gi.initialStylesByElement.set(f,d=new Map),this._initialStyles=d}start(){this._state<1&&(this._startStyles&&dn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(dn(this._element,this._initialStyles),this._endStyles&&(dn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(gi.initialStylesByElement.delete(this._element),this._startStyles&&(re(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(re(this._element,this._endStyles),this._endStyles=null),dn(this._element,this._initialStyles),this._state=3)}}function Pi(P){let f=null;return P.forEach((_,a)=>{(function ai(P){return"display"===P||"position"===P})(a)&&(f=f||new Map,f.set(a,_))}),f}class li{constructor(f,_,a,d){this.element=f,this.keyframes=_,this.options=a,this._specialStyles=d,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=a.duration,this._delay=a.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(f=>f()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const f=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,f,this.options),this._finalKeyframe=f.length?f[f.length-1]:new Map;const _=()=>this._onFinish();this.domPlayer.addEventListener("finish",_),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",_)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(f){const _=[];return f.forEach(a=>{_.push(Object.fromEntries(a))}),_}_triggerWebAnimation(f,_,a){return f.animate(this._convertKeyframesToObject(_),a)}onStart(f){this._originalOnStartFns.push(f),this._onStartFns.push(f)}onDone(f){this._originalOnDoneFns.push(f),this._onDoneFns.push(f)}onDestroy(f){this._onDestroyFns.push(f)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(f=>f()),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(f=>f()),this._onDestroyFns=[])}setPosition(f){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=f*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const f=new Map;this.hasStarted()&&this._finalKeyframe.forEach((a,d)=>{"offset"!==d&&f.set(d,this._finished?a:si(this.element,d))}),this.currentSnapshot=f}triggerCallback(f){const _="start"===f?this._onStartFns:this._onDoneFns;_.forEach(a=>a()),_.length=0}}class fr{validateStyleProperty(f){return!0}validateAnimatableStyleProperty(f){return!0}containsElement(f,_){return Nn(f,_)}getParentElement(f){return yn(f)}query(f,_,a){return _t(f,_,a)}computeStyle(f,_,a){return si(f,_)}animate(f,_,a,d,u,w=[]){const z={duration:a,delay:d,fill:0==d?"both":"forwards"};u&&(z.easing=u);const X=new Map,Se=w.filter(Ct=>Ct instanceof li);(function Ht(P,f){return 0===P||0===f})(a,d)&&Se.forEach(Ct=>{Ct.currentSnapshot.forEach((Ze,at)=>X.set(at,Ze))});let ce=function Pr(P){return P.length?P[0]instanceof Map?P:P.map(f=>new Map(Object.entries(f))):[]}(_).map(Ct=>new Map(Ct));ce=function Ln(P,f,_){if(_.size&&f.length){let a=f[0],d=[];if(_.forEach((u,w)=>{a.has(w)||d.push(w),a.set(w,u)}),d.length)for(let u=1;u<f.length;u++){let w=f[u];d.forEach(S=>w.set(S,si(P,S)))}}return f}(f,ce,X);const Ot=function qo(P,f){let _=null,a=null;return Array.isArray(f)&&f.length?(_=Pi(f[0]),f.length>1&&(a=Pi(f[f.length-1]))):f instanceof Map&&(_=Pi(f)),_||a?new gi(P,_,a):null}(f,ce);return new li(f,ce,z,Ot)}}const wr="@.disabled";class Ko{constructor(f,_,a,d){this.namespaceId=f,this.delegate=_,this.engine=a,this._onDestroy=d,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(f){this.delegate.destroyNode?.(f)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(f,_){return this.delegate.createElement(f,_)}createComment(f){return this.delegate.createComment(f)}createText(f){return this.delegate.createText(f)}appendChild(f,_){this.delegate.appendChild(f,_),this.engine.onInsert(this.namespaceId,_,f,!1)}insertBefore(f,_,a,d=!0){this.delegate.insertBefore(f,_,a),this.engine.onInsert(this.namespaceId,_,f,d)}removeChild(f,_,a){this.parentNode(_)&&this.engine.onRemove(this.namespaceId,_,this.delegate)}selectRootElement(f,_){return this.delegate.selectRootElement(f,_)}parentNode(f){return this.delegate.parentNode(f)}nextSibling(f){return this.delegate.nextSibling(f)}setAttribute(f,_,a,d){this.delegate.setAttribute(f,_,a,d)}removeAttribute(f,_,a){this.delegate.removeAttribute(f,_,a)}addClass(f,_){this.delegate.addClass(f,_)}removeClass(f,_){this.delegate.removeClass(f,_)}setStyle(f,_,a,d){this.delegate.setStyle(f,_,a,d)}removeStyle(f,_,a){this.delegate.removeStyle(f,_,a)}setProperty(f,_,a){"@"==_.charAt(0)&&_==wr?this.disableAnimations(f,!!a):this.delegate.setProperty(f,_,a)}setValue(f,_){this.delegate.setValue(f,_)}listen(f,_,a){return this.delegate.listen(f,_,a)}disableAnimations(f,_){this.engine.disableAnimations(f,_)}}class Mn extends Ko{constructor(f,_,a,d,u){super(_,a,d,u),this.factory=f,this.namespaceId=_}setProperty(f,_,a){"@"==_.charAt(0)?"."==_.charAt(1)&&_==wr?this.disableAnimations(f,a=void 0===a||!!a):this.engine.process(this.namespaceId,f,_.slice(1),a):this.delegate.setProperty(f,_,a)}listen(f,_,a){if("@"==_.charAt(0)){const d=function go(P){switch(P){case"body":return document.body;case"document":return document;case"window":return window;default:return P}}(f);let u=_.slice(1),w="";return"@"!=u.charAt(0)&&([u,w]=function mo(P){const f=P.indexOf(".");return[P.substring(0,f),P.slice(f+1)]}(u)),this.engine.listen(this.namespaceId,d,u,w,S=>{this.factory.scheduleListenerCallback(S._data||-1,a,S)})}return this.delegate.listen(f,_,a)}}class Vt{constructor(f,_,a){this.delegate=f,this.engine=_,this._zone=a,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,_.onRemovalComplete=(d,u)=>{u?.removeChild(null,d)}}createRenderer(f,_){const d=this.delegate.createRenderer(f,_);if(!f||!_?.data?.animation){const X=this._rendererCache;let Se=X.get(d);return Se||(Se=new Ko("",d,this.engine,()=>X.delete(d)),X.set(d,Se)),Se}const u=_.id,w=_.id+"-"+this._currentId;this._currentId++,this.engine.register(w,f);const S=X=>{Array.isArray(X)?X.forEach(S):this.engine.registerTrigger(u,w,f,X.name,X)};return _.data.animation.forEach(S),new Mn(this,w,d,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(f,_,a){if(f>=0&&f<this._microtaskId)return void this._zone.run(()=>_(a));const d=this._animationCallbacksBuffer;0==d.length&&queueMicrotask(()=>{this._zone.run(()=>{d.forEach(u=>{const[w,S]=u;w(S)}),this._animationCallbacksBuffer=[]})}),d.push([_,a])}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()}}var Ts=W(177);const Qo=[{provide:Te,useFactory:function fs(){return new Ar}},{provide:Oi,useClass:(()=>{class P extends Oi{constructor(_,a,d){super(_,a,d)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(a){return new(a||P)(l.KVO(Ts.qQ),l.KVO(dt),l.KVO(Te))};static#t=this.\u0275prov=l.jDH({token:P,factory:P.\u0275fac})}return P})()},{provide:l._9s,useFactory:function Is(P,f,_){return new Vt(P,f,_)},deps:[j.B7,Oi,l.SKi]}],Ai=[{provide:dt,useFactory:()=>new fr},{provide:l.bc$,useValue:"BrowserAnimations"},...Qo],Qe=[{provide:dt,useClass:Hn},{provide:l.bc$,useValue:"NoopAnimations"},...Qo];let mi=(()=>{class P{static withConfig(_){return{ngModule:P,providers:_.disableAnimations?Qe:Ai}}static#e=this.\u0275fac=function(a){return new(a||P)};static#t=this.\u0275mod=l.$C({type:P});static#n=this.\u0275inj=l.G2t({providers:Ai,imports:[j.Bb]})}return P})()},345:(tn,fe,W)=>{W.d(fe,{B7:()=>ft,Bb:()=>ri,hE:()=>Kn,sG:()=>Bt});var l=W(177),j=W(3953);class B extends l.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ee extends B{static makeCurrent(){(0,l.ZD)(new ee)}onAndCancel(J,L,G){return J.addEventListener(L,G),()=>{J.removeEventListener(L,G)}}dispatchEvent(J,L){J.dispatchEvent(L)}remove(J){J.remove()}createElement(J,L){return(L=L||this.getDefaultDocument()).createElement(J)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(J){return J.nodeType===Node.ELEMENT_NODE}isShadowRoot(J){return J instanceof DocumentFragment}getGlobalEventTarget(J,L){return"window"===L?window:"document"===L?J:"body"===L?J.body:null}getBaseHref(J){const L=function ue(){return he=he||document.querySelector("base"),he?he.getAttribute("href"):null}();return null==L?null:function Ie(re){return new URL(re,document.baseURI).pathname}(L)}resetBaseElement(){he=null}getUserAgent(){return window.navigator.userAgent}getCookie(J){return(0,l._b)(document.cookie,J)}}let he=null,Ee=(()=>{class re{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(G){return new(G||re)};static#t=this.\u0275prov=j.jDH({token:re,factory:re.\u0275fac})}return re})();const se=new j.nKC("");let pe=(()=>{class re{constructor(L,G){this._zone=G,this._eventNameToPlugin=new Map,L.forEach(ge=>{ge.manager=this}),this._plugins=L.slice().reverse()}addEventListener(L,G,ge){return this._findPluginFor(G).addEventListener(L,G,ge)}getZone(){return this._zone}_findPluginFor(L){let G=this._eventNameToPlugin.get(L);if(G)return G;if(G=this._plugins.find(Fe=>Fe.supports(L)),!G)throw new j.wOt(5101,!1);return this._eventNameToPlugin.set(L,G),G}static#e=this.\u0275fac=function(G){return new(G||re)(j.KVO(se),j.KVO(j.SKi))};static#t=this.\u0275prov=j.jDH({token:re,factory:re.\u0275fac})}return re})();class Ae{constructor(J){this._doc=J}}const je="ng-app-id";let Le=(()=>{class re{constructor(L,G,ge,Fe={}){this.doc=L,this.appId=G,this.nonce=ge,this.platformId=Fe,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,l.Vy)(Fe),this.resetHostNodes()}addStyles(L){for(const G of L)1===this.changeUsageCount(G,1)&&this.onStyleAdded(G)}removeStyles(L){for(const G of L)this.changeUsageCount(G,-1)<=0&&this.onStyleRemoved(G)}ngOnDestroy(){const L=this.styleNodesInDOM;L&&(L.forEach(G=>G.remove()),L.clear());for(const G of this.getAllStyles())this.onStyleRemoved(G);this.resetHostNodes()}addHost(L){this.hostNodes.add(L);for(const G of this.getAllStyles())this.addStyleToHost(L,G)}removeHost(L){this.hostNodes.delete(L)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(L){for(const G of this.hostNodes)this.addStyleToHost(G,L)}onStyleRemoved(L){const G=this.styleRef;G.get(L)?.elements?.forEach(ge=>ge.remove()),G.delete(L)}collectServerRenderedStyles(){const L=this.doc.head?.querySelectorAll(`style[${je}="${this.appId}"]`);if(L?.length){const G=new Map;return L.forEach(ge=>{null!=ge.textContent&&G.set(ge.textContent,ge)}),G}return null}changeUsageCount(L,G){const ge=this.styleRef;if(ge.has(L)){const Fe=ge.get(L);return Fe.usage+=G,Fe.usage}return ge.set(L,{usage:G,elements:[]}),G}getStyleElement(L,G){const ge=this.styleNodesInDOM,Fe=ge?.get(G);if(Fe?.parentNode===L)return ge.delete(G),Fe.removeAttribute(je),Fe;{const ot=this.doc.createElement("style");return this.nonce&&ot.setAttribute("nonce",this.nonce),ot.textContent=G,this.platformIsServer&&ot.setAttribute(je,this.appId),L.appendChild(ot),ot}}addStyleToHost(L,G){const ge=this.getStyleElement(L,G),Fe=this.styleRef,ot=Fe.get(G)?.elements;ot?ot.push(ge):Fe.set(G,{elements:[ge],usage:1})}resetHostNodes(){const L=this.hostNodes;L.clear(),L.add(this.doc.head)}static#e=this.\u0275fac=function(G){return new(G||re)(j.KVO(l.qQ),j.KVO(j.sZ2),j.KVO(j.BIS,8),j.KVO(j.Agw))};static#t=this.\u0275prov=j.jDH({token:re,factory:re.\u0275fac})}return re})();const ke={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,Lt=new j.nKC("",{providedIn:"root",factory:()=>!0});function Zt(re,J){return J.map(L=>L.replace(Je,re))}let ft=(()=>{class re{constructor(L,G,ge,Fe,ot,St,an,Ht=null){this.eventManager=L,this.sharedStylesHost=G,this.appId=ge,this.removeStylesOnCompDestroy=Fe,this.doc=ot,this.platformId=St,this.ngZone=an,this.nonce=Ht,this.rendererByCompId=new Map,this.platformIsServer=(0,l.Vy)(St),this.defaultRenderer=new Mt(L,ot,an,this.platformIsServer)}createRenderer(L,G){if(!L||!G)return this.defaultRenderer;this.platformIsServer&&G.encapsulation===j.gXe.ShadowDom&&(G={...G,encapsulation:j.gXe.Emulated});const ge=this.getOrCreateRenderer(L,G);return ge instanceof we?ge.applyToHost(L):ge instanceof ae&&ge.applyStyles(),ge}getOrCreateRenderer(L,G){const ge=this.rendererByCompId;let Fe=ge.get(G.id);if(!Fe){const ot=this.doc,St=this.ngZone,an=this.eventManager,Ht=this.sharedStylesHost,Ln=this.removeStylesOnCompDestroy,$t=this.platformIsServer;switch(G.encapsulation){case j.gXe.Emulated:Fe=new we(an,Ht,G,this.appId,Ln,ot,St,$t);break;case j.gXe.ShadowDom:return new q(an,Ht,L,G,ot,St,this.nonce,$t);default:Fe=new ae(an,Ht,G,Ln,ot,St,$t)}ge.set(G.id,Fe)}return Fe}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(G){return new(G||re)(j.KVO(pe),j.KVO(Le),j.KVO(j.sZ2),j.KVO(Lt),j.KVO(l.qQ),j.KVO(j.Agw),j.KVO(j.SKi),j.KVO(j.BIS))};static#t=this.\u0275prov=j.jDH({token:re,factory:re.\u0275fac})}return re})();class Mt{constructor(J,L,G,ge){this.eventManager=J,this.doc=L,this.ngZone=G,this.platformIsServer=ge,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(J,L){return L?this.doc.createElementNS(ke[L]||L,J):this.doc.createElement(J)}createComment(J){return this.doc.createComment(J)}createText(J){return this.doc.createTextNode(J)}appendChild(J,L){(Q(J)?J.content:J).appendChild(L)}insertBefore(J,L,G){J&&(Q(J)?J.content:J).insertBefore(L,G)}removeChild(J,L){L.remove()}selectRootElement(J,L){let G="string"==typeof J?this.doc.querySelector(J):J;if(!G)throw new j.wOt(-5104,!1);return L||(G.textContent=""),G}parentNode(J){return J.parentNode}nextSibling(J){return J.nextSibling}setAttribute(J,L,G,ge){if(ge){L=ge+":"+L;const Fe=ke[ge];Fe?J.setAttributeNS(Fe,L,G):J.setAttribute(L,G)}else J.setAttribute(L,G)}removeAttribute(J,L,G){if(G){const ge=ke[G];ge?J.removeAttributeNS(ge,L):J.removeAttribute(`${G}:${L}`)}else J.removeAttribute(L)}addClass(J,L){J.classList.add(L)}removeClass(J,L){J.classList.remove(L)}setStyle(J,L,G,ge){ge&(j.czy.DashCase|j.czy.Important)?J.style.setProperty(L,G,ge&j.czy.Important?"important":""):J.style[L]=G}removeStyle(J,L,G){G&j.czy.DashCase?J.style.removeProperty(L):J.style[L]=""}setProperty(J,L,G){null!=J&&(J[L]=G)}setValue(J,L){J.nodeValue=L}listen(J,L,G){if("string"==typeof J&&!(J=(0,l.QT)().getGlobalEventTarget(this.doc,J)))throw new Error(`Unsupported event target ${J} for event ${L}`);return this.eventManager.addEventListener(J,L,this.decoratePreventDefault(G))}decoratePreventDefault(J){return L=>{if("__ngUnwrap__"===L)return J;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>J(L)):J(L))&&L.preventDefault()}}}function Q(re){return"TEMPLATE"===re.tagName&&void 0!==re.content}class q extends Mt{constructor(J,L,G,ge,Fe,ot,St,an){super(J,Fe,ot,an),this.sharedStylesHost=L,this.hostEl=G,this.shadowRoot=G.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ht=Zt(ge.id,ge.styles);for(const Ln of Ht){const $t=document.createElement("style");St&&$t.setAttribute("nonce",St),$t.textContent=Ln,this.shadowRoot.appendChild($t)}}nodeOrShadowRoot(J){return J===this.hostEl?this.shadowRoot:J}appendChild(J,L){return super.appendChild(this.nodeOrShadowRoot(J),L)}insertBefore(J,L,G){return super.insertBefore(this.nodeOrShadowRoot(J),L,G)}removeChild(J,L){return super.removeChild(null,L)}parentNode(J){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(J)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ae extends Mt{constructor(J,L,G,ge,Fe,ot,St,an){super(J,Fe,ot,St),this.sharedStylesHost=L,this.removeStylesOnCompDestroy=ge,this.styles=an?Zt(an,G.styles):G.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class we extends ae{constructor(J,L,G,ge,Fe,ot,St,an){const Ht=ge+"-"+G.id;super(J,L,G,Fe,ot,St,an,Ht),this.contentAttr=function ut(re){return"_ngcontent-%COMP%".replace(Je,re)}(Ht),this.hostAttr=function It(re){return"_nghost-%COMP%".replace(Je,re)}(Ht)}applyToHost(J){this.applyStyles(),this.setAttribute(J,this.hostAttr,"")}createElement(J,L){const G=super.createElement(J,L);return super.setAttribute(G,this.contentAttr,""),G}}let Ve=(()=>{class re extends Ae{constructor(L){super(L)}supports(L){return!0}addEventListener(L,G,ge){return L.addEventListener(G,ge,!1),()=>this.removeEventListener(L,G,ge)}removeEventListener(L,G,ge){return L.removeEventListener(G,ge)}static#e=this.\u0275fac=function(G){return new(G||re)(j.KVO(l.qQ))};static#t=this.\u0275prov=j.jDH({token:re,factory:re.\u0275fac})}return re})(),tt=(()=>{class re extends Ae{constructor(L){super(L),this.delegate=(0,j.WQX)(j.zAP,{optional:!0})}supports(L){return!!this.delegate&&this.delegate.supports(L)}addEventListener(L,G,ge){return this.delegate.addEventListener(L,G,ge)}removeEventListener(L,G,ge){return this.delegate.removeEventListener(L,G,ge)}static#e=this.\u0275fac=function(G){return new(G||re)(j.KVO(l.qQ))};static#t=this.\u0275prov=j.jDH({token:re,factory:re.\u0275fac})}return re})();const Gt=["alt","control","meta","shift"],wn={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ye={alt:re=>re.altKey,control:re=>re.ctrlKey,meta:re=>re.metaKey,shift:re=>re.shiftKey};let Bn=(()=>{class re extends Ae{constructor(L){super(L)}supports(L){return null!=re.parseEventName(L)}addEventListener(L,G,ge){const Fe=re.parseEventName(G),ot=re.eventCallback(Fe.fullKey,ge,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,l.QT)().onAndCancel(L,Fe.domEventName,ot))}static parseEventName(L){const G=L.toLowerCase().split("."),ge=G.shift();if(0===G.length||"keydown"!==ge&&"keyup"!==ge)return null;const Fe=re._normalizeKey(G.pop());let ot="",St=G.indexOf("code");if(St>-1&&(G.splice(St,1),ot="code."),Gt.forEach(Ht=>{const Ln=G.indexOf(Ht);Ln>-1&&(G.splice(Ln,1),ot+=Ht+".")}),ot+=Fe,0!=G.length||0===Fe.length)return null;const an={};return an.domEventName=ge,an.fullKey=ot,an}static matchEventFullKeyCode(L,G){let ge=wn[L.key]||L.key,Fe="";return G.indexOf("code.")>-1&&(ge=L.code,Fe="code."),!(null==ge||!ge)&&(ge=ge.toLowerCase()," "===ge?ge="space":"."===ge&&(ge="dot"),Gt.forEach(ot=>{ot!==ge&&(0,Ye[ot])(L)&&(Fe+=ot+".")}),Fe+=ge,Fe===G)}static eventCallback(L,G,ge){return Fe=>{re.matchEventFullKeyCode(Fe,L)&&ge.runGuarded(()=>G(Fe))}}static _normalizeKey(L){return"esc"===L?"escape":L}static#e=this.\u0275fac=function(G){return new(G||re)(j.KVO(l.qQ))};static#t=this.\u0275prov=j.jDH({token:re,factory:re.\u0275fac})}return re})();const Bt=(0,j.oH4)(j.fpN,"browser",[{provide:j.Agw,useValue:l.AJ},{provide:j.PLl,useValue:function An(){ee.makeCurrent()},multi:!0},{provide:l.qQ,useFactory:function ur(){return(0,j.TL$)(document),document},deps:[]}]),ni=new j.nKC(""),nn=[{provide:j.e01,useClass:class le{addToWindow(J){j.JZv.getAngularTestability=(G,ge=!0)=>{const Fe=J.findTestabilityInTree(G,ge);if(null==Fe)throw new j.wOt(5103,!1);return Fe},j.JZv.getAllAngularTestabilities=()=>J.getAllTestabilities(),j.JZv.getAllAngularRootElements=()=>J.getAllRootElements(),j.JZv.frameworkStabilizers||(j.JZv.frameworkStabilizers=[]),j.JZv.frameworkStabilizers.push(G=>{const ge=j.JZv.getAllAngularTestabilities();let Fe=ge.length;const ot=function(){Fe--,0==Fe&&G()};ge.forEach(St=>{St.whenStable(ot)})})}findTestabilityInTree(J,L,G){return null==L?null:J.getTestability(L)??(G?(0,l.QT)().isShadowRoot(L)?this.findTestabilityInTree(J,L.host,!0):this.findTestabilityInTree(J,L.parentElement,!0):null)}},deps:[]},{provide:j.WHO,useClass:j.NYb,deps:[j.SKi,j.giA,j.e01]},{provide:j.NYb,useClass:j.NYb,deps:[j.SKi,j.giA,j.e01]}],yn=[{provide:j.H8p,useValue:"root"},{provide:j.zcH,useFactory:function cr(){return new j.zcH},deps:[]},{provide:se,useClass:Ve,multi:!0,deps:[l.qQ,j.SKi,j.Agw]},{provide:se,useClass:Bn,multi:!0,deps:[l.qQ]},{provide:se,useClass:tt,multi:!0},ft,Le,pe,{provide:j._9s,useExisting:ft},{provide:l.N0,useClass:Ee,deps:[]},[]];let ri=(()=>{class re{constructor(L){}static withServerTransition(L){return{ngModule:re,providers:[{provide:j.sZ2,useValue:L.appId}]}}static#e=this.\u0275fac=function(G){return new(G||re)(j.KVO(ni,12))};static#t=this.\u0275mod=j.$C({type:re});static#n=this.\u0275inj=j.G2t({providers:[...yn,...nn],imports:[l.MD,j.Hbi]})}return re})(),Kn=(()=>{class re{constructor(L){this._doc=L}getTitle(){return this._doc.title}setTitle(L){this._doc.title=L||""}static#e=this.\u0275fac=function(G){return new(G||re)(j.KVO(l.qQ))};static#t=this.\u0275prov=j.jDH({token:re,factory:re.\u0275fac,providedIn:"root"})}return re})()},7901:(tn,fe,W)=>{W.d(fe,{Wk:()=>Me,iI:()=>Dl,n3:()=>Zi});var l=W(3953),j=W(4402),B=W(6648),ee=W(7673),he=W(4412),ue=W(4572),Ie=W(9350),le=W(8793),Ee=W(9030),se=W(1203),pe=W(8810),Ae=W(983),je=W(17),Le=W(1413),ke=W(8359),Je=W(177),ze=W(6354),et=W(5558),Ge=W(6697),jt=W(9172),Lt=W(5964),ut=W(1397),It=W(1594),Zt=W(274),ft=W(8141),Mt=W(9437),Xe=W(2816),Y=W(9901),Q=W(7018),q=W(5109),ae=W(3703),we=W(980),Ve=W(9898),tt=W(6977),Gt=W(6365),wn=W(345);const Ye="primary",Bn=Symbol("RouteTitle");class ti{constructor(y){this.params=y||{}}has(y){return Object.prototype.hasOwnProperty.call(this.params,y)}get(y){if(this.has(y)){const p=this.params[y];return Array.isArray(p)?p[0]:p}return null}getAll(y){if(this.has(y)){const p=this.params[y];return Array.isArray(p)?p:[p]}return[]}get keys(){return Object.keys(this.params)}}function _n(h){return new ti(h)}function un(h,y,p){const v=p.path.split("/");if(v.length>h.length||"full"===p.pathMatch&&(y.hasChildren()||v.length<h.length))return null;const M={};for(let O=0;O<v.length;O++){const F=v[O],ie=h[O];if(":"===F[0])M[F.substring(1)]=ie;else if(F!==ie.path)return null}return{consumed:h.slice(0,v.length),posParams:M}}function An(h,y){const p=h?cr(h):void 0,v=y?cr(y):void 0;if(!p||!v||p.length!=v.length)return!1;let M;for(let O=0;O<p.length;O++)if(M=p[O],!ur(h[M],y[M]))return!1;return!0}function cr(h){return[...Object.keys(h),...Object.getOwnPropertySymbols(h)]}function ur(h,y){if(Array.isArray(h)&&Array.isArray(y)){if(h.length!==y.length)return!1;const p=[...h].sort(),v=[...y].sort();return p.every((M,O)=>v[O]===M)}return h===y}function nr(h){return h.length>0?h[h.length-1]:null}function Bt(h){return(0,j.A)(h)?h:(0,l.jNT)(h)?(0,B.H)(Promise.resolve(h)):(0,ee.of)(h)}const ni={exact:function sn(h,y,p){if(!dt(h.segments,y.segments)||!dr(h.segments,y.segments,p)||h.numberOfChildren!==y.numberOfChildren)return!1;for(const v in y.children)if(!h.children[v]||!sn(h.children[v],y.children[v],p))return!1;return!0},subset:Kn},nn={exact:function ri(h,y){return An(h,y)},subset:function _r(h,y){return Object.keys(y).length<=Object.keys(h).length&&Object.keys(y).every(p=>ur(h[p],y[p]))},ignored:()=>!0};function yn(h,y,p){return ni[p.paths](h.root,y.root,p.matrixParams)&&nn[p.queryParams](h.queryParams,y.queryParams)&&!("exact"===p.fragment&&h.fragment!==y.fragment)}function Kn(h,y,p){return Ur(h,y,y.segments,p)}function Ur(h,y,p,v){if(h.segments.length>p.length){const M=h.segments.slice(0,p.length);return!(!dt(M,p)||y.hasChildren()||!dr(M,p,v))}if(h.segments.length===p.length){if(!dt(h.segments,p)||!dr(h.segments,p,v))return!1;for(const M in y.children)if(!h.children[M]||!Kn(h.children[M],y.children[M],v))return!1;return!0}{const M=p.slice(0,h.segments.length),O=p.slice(h.segments.length);return!!(dt(h.segments,M)&&dr(h.segments,M,v)&&h.children[Ye])&&Ur(h.children[Ye],y,O,v)}}function dr(h,y,p){return y.every((v,M)=>nn[p](h[M].parameters,v.parameters))}class Nn{constructor(y=new _t([],{}),p={},v=null){this.root=y,this.queryParams=p,this.fragment=v}get queryParamMap(){return this._queryParamMap??=_n(this.queryParams),this._queryParamMap}toString(){return Pt.serialize(this)}}class _t{constructor(y,p){this.segments=y,this.children=p,this.parent=null,Object.values(p).forEach(v=>v.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return En(this)}}class hr{constructor(y,p){this.path=y,this.parameters=p}get parameterMap(){return this._parameterMap??=_n(this.parameters),this._parameterMap}toString(){return Qn(this)}}function dt(h,y){return h.length===y.length&&h.every((p,v)=>p.path===y[v].path)}let ii=(()=>{class h{static#e=this.\u0275fac=function(v){return new(v||h)};static#t=this.\u0275prov=l.jDH({token:h,factory:()=>new xn,providedIn:"root"})}return h})();class xn{parse(y){const p=new Fe(y);return new Nn(p.parseRootSegment(),p.parseQueryParams(),p.parseFragment())}serialize(y){const p=`/${rn(y.root,!0)}`,v=function Or(h){const y=Object.entries(h).map(([p,v])=>Array.isArray(v)?v.map(M=>`${bt(p)}=${bt(M)}`).join("&"):`${bt(p)}=${bt(v)}`).filter(p=>p);return y.length?`?${y.join("&")}`:""}(y.queryParams);return`${p}${v}${"string"==typeof y.fragment?`#${function oi(h){return encodeURI(h)}(y.fragment)}`:""}`}}const Pt=new xn;function En(h){return h.segments.map(y=>Qn(y)).join("/")}function rn(h,y){if(!h.hasChildren())return En(h);if(y){const p=h.children[Ye]?rn(h.children[Ye],!1):"",v=[];return Object.entries(h.children).forEach(([M,O])=>{M!==Ye&&v.push(`${M}:${rn(O,!1)}`)}),v.length>0?`${p}(${v.join("//")})`:p}{const p=function Te(h,y){let p=[];return Object.entries(h.children).forEach(([v,M])=>{v===Ye&&(p=p.concat(y(M,v)))}),Object.entries(h.children).forEach(([v,M])=>{v!==Ye&&(p=p.concat(y(M,v)))}),p}(h,(v,M)=>M===Ye?[rn(h.children[Ye],!1)]:[`${M}:${rn(v,!1)}`]);return 1===Object.keys(h.children).length&&null!=h.children[Ye]?`${En(h)}/${p[0]}`:`${En(h)}/(${p.join("//")})`}}function jr(h){return encodeURIComponent(h).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function bt(h){return jr(h).replace(/%3B/gi,";")}function yt(h){return jr(h).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function At(h){return decodeURIComponent(h)}function Rn(h){return At(h.replace(/\+/g,"%20"))}function Qn(h){return`${yt(h.path)}${function Xn(h){return Object.entries(h).map(([y,p])=>`;${yt(y)}=${yt(p)}`).join("")}(h.parameters)}`}const Pr=/^[^\/()?;#]+/;function Dn(h){const y=h.match(Pr);return y?y[0]:""}const dn=/^[^\/()?;=#]+/,J=/^[^=?&#]+/,G=/^[^&#]+/;class Fe{constructor(y){this.url=y,this.remaining=y}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new _t([],{}):new _t([],this.parseChildren())}parseQueryParams(){const y={};if(this.consumeOptional("?"))do{this.parseQueryParam(y)}while(this.consumeOptional("&"));return y}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const y=[];for(this.peekStartsWith("(")||y.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),y.push(this.parseSegment());let p={};this.peekStartsWith("/(")&&(this.capture("/"),p=this.parseParens(!0));let v={};return this.peekStartsWith("(")&&(v=this.parseParens(!1)),(y.length>0||Object.keys(p).length>0)&&(v[Ye]=new _t(y,p)),v}parseSegment(){const y=Dn(this.remaining);if(""===y&&this.peekStartsWith(";"))throw new l.wOt(4009,!1);return this.capture(y),new hr(At(y),this.parseMatrixParams())}parseMatrixParams(){const y={};for(;this.consumeOptional(";");)this.parseParam(y);return y}parseParam(y){const p=function re(h){const y=h.match(dn);return y?y[0]:""}(this.remaining);if(!p)return;this.capture(p);let v="";if(this.consumeOptional("=")){const M=Dn(this.remaining);M&&(v=M,this.capture(v))}y[At(p)]=At(v)}parseQueryParam(y){const p=function L(h){const y=h.match(J);return y?y[0]:""}(this.remaining);if(!p)return;this.capture(p);let v="";if(this.consumeOptional("=")){const F=function ge(h){const y=h.match(G);return y?y[0]:""}(this.remaining);F&&(v=F,this.capture(v))}const M=Rn(p),O=Rn(v);if(y.hasOwnProperty(M)){let F=y[M];Array.isArray(F)||(F=[F],y[M]=F),F.push(O)}else y[M]=O}parseParens(y){const p={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const v=Dn(this.remaining),M=this.remaining[v.length];if("/"!==M&&")"!==M&&";"!==M)throw new l.wOt(4010,!1);let O;v.indexOf(":")>-1?(O=v.slice(0,v.indexOf(":")),this.capture(O),this.capture(":")):y&&(O=Ye);const F=this.parseChildren();p[O]=1===Object.keys(F).length?F[Ye]:new _t([],F),this.consumeOptional("//")}return p}peekStartsWith(y){return this.remaining.startsWith(y)}consumeOptional(y){return!!this.peekStartsWith(y)&&(this.remaining=this.remaining.substring(y.length),!0)}capture(y){if(!this.consumeOptional(y))throw new l.wOt(4011,!1)}}function ot(h){return h.segments.length>0?new _t([],{[Ye]:h}):h}function St(h){const y={};for(const[v,M]of Object.entries(h.children)){const O=St(M);if(v===Ye&&0===O.segments.length&&O.hasChildren())for(const[F,ie]of Object.entries(O.children))y[F]=ie;else(O.segments.length>0||O.hasChildren())&&(y[v]=O)}return function an(h){if(1===h.numberOfChildren&&h.children[Ye]){const y=h.children[Ye];return new _t(h.segments.concat(y.segments),y.children)}return h}(new _t(h.segments,y))}function Ht(h){return h instanceof Nn}function $t(h){let y;const M=ot(function p(O){const F={};for(const Z of O.children){const Re=p(Z);F[Z.outlet]=Re}const ie=new _t(O.url,F);return O===h&&(y=ie),ie}(h.root));return y??M}function si(h,y,p,v){let M=h;for(;M.parent;)M=M.parent;if(0===y.length)return $i(M,M,M,p,v);const O=function Hi(h){if("string"==typeof h[0]&&1===h.length&&"/"===h[0])return new $r(!0,0,h);let y=0,p=!1;const v=h.reduce((M,O,F)=>{if("object"==typeof O&&null!=O){if(O.outlets){const ie={};return Object.entries(O.outlets).forEach(([Z,Re])=>{ie[Z]="string"==typeof Re?Re.split("/"):Re}),[...M,{outlets:ie}]}if(O.segmentPath)return[...M,O.segmentPath]}return"string"!=typeof O?[...M,O]:0===F?(O.split("/").forEach((ie,Z)=>{0==Z&&"."===ie||(0==Z&&""===ie?p=!0:".."===ie?y++:""!=ie&&M.push(ie))}),M):[...M,O]},[]);return new $r(p,y,v)}(y);if(O.toRoot())return $i(M,M,new _t([],{}),p,v);const F=function Hr(h,y,p){if(h.isAbsolute)return new Yt(y,!0,0);if(!p)return new Yt(y,!1,NaN);if(null===p.parent)return new Yt(p,!0,0);const v=Br(h.commands[0])?0:1;return function zn(h,y,p){let v=h,M=y,O=p;for(;O>M;){if(O-=M,v=v.parent,!v)throw new l.wOt(4005,!1);M=v.segments.length}return new Yt(v,!1,M-O)}(p,p.segments.length-1+v,h.numberOfDoubleDots)}(O,M,h),ie=F.processChildren?Gn(F.segmentGroup,F.index,O.commands):Nr(F.segmentGroup,F.index,O.commands);return $i(M,F.segmentGroup,ie,p,v)}function Br(h){return"object"==typeof h&&null!=h&&!h.outlets&&!h.segmentPath}function Ar(h){return"object"==typeof h&&null!=h&&h.outlets}function $i(h,y,p,v,M){let F,O={};v&&Object.entries(v).forEach(([Z,Re])=>{O[Z]=Array.isArray(Re)?Re.map(ct=>`${ct}`):`${Re}`}),F=h===y?p:hs(h,y,p);const ie=ot(St(F));return new Nn(ie,O,M)}function hs(h,y,p){const v={};return Object.entries(h.children).forEach(([M,O])=>{v[M]=O===y?p:hs(O,y,p)}),new _t(h.segments,v)}class $r{constructor(y,p,v){if(this.isAbsolute=y,this.numberOfDoubleDots=p,this.commands=v,y&&v.length>0&&Br(v[0]))throw new l.wOt(4003,!1);const M=v.find(Ar);if(M&&M!==nr(v))throw new l.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Yt{constructor(y,p,v){this.segmentGroup=y,this.processChildren=p,this.index=v}}function Nr(h,y,p){if(h??=new _t([],{}),0===h.segments.length&&h.hasChildren())return Gn(h,y,p);const v=function xr(h,y,p){let v=0,M=y;const O={match:!1,pathIndex:0,commandIndex:0};for(;M<h.segments.length;){if(v>=p.length)return O;const F=h.segments[M],ie=p[v];if(Ar(ie))break;const Z=`${ie}`,Re=v<p.length-1?p[v+1]:null;if(M>0&&void 0===Z)break;if(Z&&Re&&"object"==typeof Re&&void 0===Re.outlets){if(!Gi(Z,Re,F))return O;v+=2}else{if(!Gi(Z,{},F))return O;v++}M++}return{match:!0,pathIndex:M,commandIndex:v}}(h,y,p),M=p.slice(v.commandIndex);if(v.match&&v.pathIndex<h.segments.length){const O=new _t(h.segments.slice(0,v.pathIndex),{});return O.children[Ye]=new _t(h.segments.slice(v.pathIndex),h.children),Gn(O,0,M)}return v.match&&0===M.length?new _t(h.segments,{}):v.match&&!h.hasChildren()?Zn(h,y,p):v.match?Gn(h,0,M):Zn(h,y,p)}function Gn(h,y,p){if(0===p.length)return new _t(h.segments,{});{const v=function yr(h){return Ar(h[0])?h[0].outlets:{[Ye]:h}}(p),M={};if(Object.keys(v).some(O=>O!==Ye)&&h.children[Ye]&&1===h.numberOfChildren&&0===h.children[Ye].segments.length){const O=Gn(h.children[Ye],y,p);return new _t(h.segments,O.children)}return Object.entries(v).forEach(([O,F])=>{"string"==typeof F&&(F=[F]),null!==F&&(M[O]=Nr(h.children[O],y,F))}),Object.entries(h.children).forEach(([O,F])=>{void 0===v[O]&&(M[O]=F)}),new _t(h.segments,M)}}function Zn(h,y,p){const v=h.segments.slice(0,y);let M=0;for(;M<p.length;){const O=p[M];if(Ar(O)){const Z=zr(O.outlets);return new _t(v,Z)}if(0===M&&Br(p[0])){v.push(new hr(h.segments[y].path,zi(p[0]))),M++;continue}const F=Ar(O)?O.outlets[Ye]:`${O}`,ie=M<p.length-1?p[M+1]:null;F&&ie&&Br(ie)?(v.push(new hr(F,zi(ie))),M+=2):(v.push(new hr(F,{})),M++)}return new _t(v,{})}function zr(h){const y={};return Object.entries(h).forEach(([p,v])=>{"string"==typeof v&&(v=[v]),null!==v&&(y[p]=Zn(new _t([],{}),0,v))}),y}function zi(h){const y={};return Object.entries(h).forEach(([p,v])=>y[p]=`${v}`),y}function Gi(h,y,p){return h==p.path&&An(y,p.parameters)}const Rr="imperative";var ht=function(h){return h[h.NavigationStart=0]="NavigationStart",h[h.NavigationEnd=1]="NavigationEnd",h[h.NavigationCancel=2]="NavigationCancel",h[h.NavigationError=3]="NavigationError",h[h.RoutesRecognized=4]="RoutesRecognized",h[h.ResolveStart=5]="ResolveStart",h[h.ResolveEnd=6]="ResolveEnd",h[h.GuardsCheckStart=7]="GuardsCheckStart",h[h.GuardsCheckEnd=8]="GuardsCheckEnd",h[h.RouteConfigLoadStart=9]="RouteConfigLoadStart",h[h.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",h[h.ChildActivationStart=11]="ChildActivationStart",h[h.ChildActivationEnd=12]="ChildActivationEnd",h[h.ActivationStart=13]="ActivationStart",h[h.ActivationEnd=14]="ActivationEnd",h[h.Scroll=15]="Scroll",h[h.NavigationSkipped=16]="NavigationSkipped",h}(ht||{});class hn{constructor(y,p){this.id=y,this.url=p}}class Gr extends hn{constructor(y,p,v="imperative",M=null){super(y,p),this.type=ht.NavigationStart,this.navigationTrigger=v,this.restoredState=M}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Yn extends hn{constructor(y,p,v){super(y,p),this.urlAfterRedirects=v,this.type=ht.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Fn=function(h){return h[h.Redirect=0]="Redirect",h[h.SupersededByNewNavigation=1]="SupersededByNewNavigation",h[h.NoDataFromResolver=2]="NoDataFromResolver",h[h.GuardRejected=3]="GuardRejected",h}(Fn||{}),A=function(h){return h[h.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",h[h.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",h}(A||{});class U extends hn{constructor(y,p,v,M){super(y,p),this.reason=v,this.code=M,this.type=ht.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class k extends hn{constructor(y,p,v,M){super(y,p),this.reason=v,this.code=M,this.type=ht.NavigationSkipped}}class te extends hn{constructor(y,p,v,M){super(y,p),this.error=v,this.target=M,this.type=ht.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ye extends hn{constructor(y,p,v,M){super(y,p),this.urlAfterRedirects=v,this.state=M,this.type=ht.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class De extends hn{constructor(y,p,v,M){super(y,p),this.urlAfterRedirects=v,this.state=M,this.type=ht.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class be extends hn{constructor(y,p,v,M,O){super(y,p),this.urlAfterRedirects=v,this.state=M,this.shouldActivate=O,this.type=ht.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class We extends hn{constructor(y,p,v,M){super(y,p),this.urlAfterRedirects=v,this.state=M,this.type=ht.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $e extends hn{constructor(y,p,v,M){super(y,p),this.urlAfterRedirects=v,this.state=M,this.type=ht.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wt{constructor(y){this.route=y,this.type=ht.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class qt{constructor(y){this.route=y,this.type=ht.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Kt{constructor(y){this.snapshot=y,this.type=ht.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class x{constructor(y){this.snapshot=y,this.type=ht.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ve{constructor(y){this.snapshot=y,this.type=ht.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class I{constructor(y){this.snapshot=y,this.type=ht.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ${constructor(y,p,v){this.routerEvent=y,this.position=p,this.anchor=v,this.type=ht.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class oe{}class He{constructor(y,p){this.url=y,this.navigationBehaviorOptions=p}}function vr(h){return h.outlet||Ye}function Si(h){if(!h)return null;if(h.routeConfig?._injector)return h.routeConfig._injector;for(let y=h.parent;y;y=y.parent){const p=y.routeConfig;if(p?._loadedInjector)return p._loadedInjector;if(p?._injector)return p._injector}return null}class bs{get injector(){return Si(this.route?.snapshot)??this.rootInjector}set injector(y){}constructor(y){this.rootInjector=y,this.outlet=null,this.route=null,this.children=new Ki(this.rootInjector),this.attachRef=null}}let Ki=(()=>{class h{constructor(p){this.rootInjector=p,this.contexts=new Map}onChildOutletCreated(p,v){const M=this.getOrCreateContext(p);M.outlet=v,this.contexts.set(p,M)}onChildOutletDestroyed(p){const v=this.getContext(p);v&&(v.outlet=null,v.attachRef=null)}onOutletDeactivated(){const p=this.contexts;return this.contexts=new Map,p}onOutletReAttached(p){this.contexts=p}getOrCreateContext(p){let v=this.getContext(p);return v||(v=new bs(this.rootInjector),this.contexts.set(p,v)),v}getContext(p){return this.contexts.get(p)||null}static#e=this.\u0275fac=function(v){return new(v||h)(l.KVO(l.uvJ))};static#t=this.\u0275prov=l.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();class bo{constructor(y){this._root=y}get root(){return this._root.value}parent(y){const p=this.pathFromRoot(y);return p.length>1?p[p.length-2]:null}children(y){const p=co(y,this._root);return p?p.children.map(v=>v.value):[]}firstChild(y){const p=co(y,this._root);return p&&p.children.length>0?p.children[0].value:null}siblings(y){const p=uo(y,this._root);return p.length<2?[]:p[p.length-2].children.map(M=>M.value).filter(M=>M!==y)}pathFromRoot(y){return uo(y,this._root).map(p=>p.value)}}function co(h,y){if(h===y.value)return y;for(const p of y.children){const v=co(h,p);if(v)return v}return null}function uo(h,y){if(h===y.value)return[y];for(const p of y.children){const v=uo(h,p);if(v.length)return v.unshift(y),v}return[]}class Cr{constructor(y,p){this.value=y,this.children=p}toString(){return`TreeNode(${this.value})`}}function Ti(h){const y={};return h&&h.children.forEach(p=>y[p.value.outlet]=p),y}class ho extends bo{constructor(y,p){super(y),this.snapshot=p,Qi(this,y)}toString(){return this.snapshot.toString()}}function So(h){const y=function To(h){const O=new qr([],{},{},"",{},Ye,h,null,{});return new Ii("",new Cr(O,[]))}(h),p=new he.t([new hr("",{})]),v=new he.t({}),M=new he.t({}),O=new he.t({}),F=new he.t(""),ie=new ln(p,v,O,F,M,Ye,h,y.root);return ie.snapshot=y.root,new ho(new Cr(ie,[]),y)}class ln{constructor(y,p,v,M,O,F,ie,Z){this.urlSubject=y,this.paramsSubject=p,this.queryParamsSubject=v,this.fragmentSubject=M,this.dataSubject=O,this.outlet=F,this.component=ie,this._futureSnapshot=Z,this.title=this.dataSubject?.pipe((0,ze.T)(Re=>Re[Bn]))??(0,ee.of)(void 0),this.url=y,this.params=p,this.queryParams=v,this.fragment=M,this.data=O}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,ze.T)(y=>_n(y))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,ze.T)(y=>_n(y))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Wr(h,y,p="emptyOnly"){let v;const{routeConfig:M}=h;return v=null===y||"always"!==p&&""!==M?.path&&(y.component||y.routeConfig?.loadComponent)?{params:{...h.params},data:{...h.data},resolve:{...h.data,...h._resolvedData??{}}}:{params:{...y.params,...h.params},data:{...y.data,...h.data},resolve:{...h.data,...y.data,...M?.data,...h._resolvedData}},M&&Xi(M)&&(v.resolve[Bn]=M.title),v}class qr{get title(){return this.data?.[Bn]}constructor(y,p,v,M,O,F,ie,Z,Re){this.url=y,this.params=p,this.queryParams=v,this.fragment=M,this.data=O,this.outlet=F,this.component=ie,this.routeConfig=Z,this._resolve=Re}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??=_n(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=_n(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(v=>v.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ii extends bo{constructor(y,p){super(p),this.url=y,Qi(this,p)}toString(){return zo(this._root)}}function Qi(h,y){y.value._routerState=h,y.children.forEach(p=>Qi(h,p))}function zo(h){const y=h.children.length>0?` { ${h.children.map(zo).join(", ")} } `:"";return`${h.value}${y}`}function pi(h){if(h.snapshot){const y=h.snapshot,p=h._futureSnapshot;h.snapshot=p,An(y.queryParams,p.queryParams)||h.queryParamsSubject.next(p.queryParams),y.fragment!==p.fragment&&h.fragmentSubject.next(p.fragment),An(y.params,p.params)||h.paramsSubject.next(p.params),function $n(h,y){if(h.length!==y.length)return!1;for(let p=0;p<h.length;++p)if(!An(h[p],y[p]))return!1;return!0}(y.url,p.url)||h.urlSubject.next(p.url),An(y.data,p.data)||h.dataSubject.next(p.data)}else h.snapshot=h._futureSnapshot,h.dataSubject.next(h._futureSnapshot.data)}function Io(h,y){const p=An(h.params,y.params)&&function Hn(h,y){return dt(h,y)&&h.every((p,v)=>An(p.parameters,y[v].parameters))}(h.url,y.url);return p&&!(!h.parent!=!y.parent)&&(!h.parent||Io(h.parent,y.parent))}function Xi(h){return"string"==typeof h.title||null===h.title}let Zi=(()=>{class h{constructor(){this.activated=null,this._activatedRoute=null,this.name=Ye,this.activateEvents=new l.bkB,this.deactivateEvents=new l.bkB,this.attachEvents=new l.bkB,this.detachEvents=new l.bkB,this.parentContexts=(0,l.WQX)(Ki),this.location=(0,l.WQX)(l.c1b),this.changeDetector=(0,l.WQX)(l.gRc),this.inputBinder=(0,l.WQX)(fo,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(p){if(p.name){const{firstChange:v,previousValue:M}=p.name;if(v)return;this.isTrackedInParentContexts(M)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(M)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(p){return this.parentContexts.getContext(p)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const p=this.parentContexts.getContext(this.name);p?.route&&(p.attachRef?this.attach(p.attachRef,p.route):this.activateWith(p.route,p.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new l.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new l.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new l.wOt(4012,!1);this.location.detach();const p=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(p.instance),p}attach(p,v){this.activated=p,this._activatedRoute=v,this.location.insert(p.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(p.instance)}deactivate(){if(this.activated){const p=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(p)}}activateWith(p,v){if(this.isActivated)throw new l.wOt(4013,!1);this._activatedRoute=p;const M=this.location,F=p.snapshot.component,ie=this.parentContexts.getOrCreateContext(this.name).children,Z=new Oo(p,ie,M.injector);this.activated=M.createComponent(F,{index:M.length,injector:Z,environmentInjector:v}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(v){return new(v||h)};static#t=this.\u0275dir=l.FsC({type:h,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[l.OA$]})}return h})();class Oo{__ngOutletInjector(y){return new Oo(this.route,this.childContexts,y)}constructor(y,p,v){this.route=y,this.childContexts=p,this.parent=v}get(y,p){return y===ln?this.route:y===Ki?this.childContexts:this.parent.get(y,p)}}const fo=new l.nKC("");let Go=(()=>{class h{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(p){this.unsubscribeFromRouteData(p),this.subscribeToRouteData(p)}unsubscribeFromRouteData(p){this.outletDataSubscriptions.get(p)?.unsubscribe(),this.outletDataSubscriptions.delete(p)}subscribeToRouteData(p){const{activatedRoute:v}=p,M=(0,ue.z)([v.queryParams,v.params,v.data]).pipe((0,et.n)(([O,F,ie],Z)=>(ie={...O,...F,...ie},0===Z?(0,ee.of)(ie):Promise.resolve(ie)))).subscribe(O=>{if(!p.isActivated||!p.activatedComponentRef||p.activatedRoute!==v||null===v.component)return void this.unsubscribeFromRouteData(p);const F=(0,l.HJs)(v.component);if(F)for(const{templateName:ie}of F.inputs)p.activatedComponentRef.setInput(ie,O[ie]);else this.unsubscribeFromRouteData(p)});this.outletDataSubscriptions.set(p,M)}static#e=this.\u0275fac=function(v){return new(v||h)};static#t=this.\u0275prov=l.jDH({token:h,factory:h.\u0275fac})}return h})();function Wn(h,y,p){if(p&&h.shouldReuseRoute(y.value,p.value.snapshot)){const v=p.value;v._futureSnapshot=y.value;const M=function po(h,y,p){return y.children.map(v=>{for(const M of p.children)if(h.shouldReuseRoute(v.value,M.value.snapshot))return Wn(h,v,M);return Wn(h,v)})}(h,y,p);return new Cr(v,M)}{if(h.shouldAttach(y.value)){const O=h.retrieve(y.value);if(null!==O){const F=O.route;return F.value._futureSnapshot=y.value,F.children=y.children.map(ie=>Wn(h,ie)),F}}const v=function Yi(h){return new ln(new he.t(h.url),new he.t(h.params),new he.t(h.queryParams),new he.t(h.fragment),new he.t(h.data),h.outlet,h.component,h)}(y.value),M=y.children.map(O=>Wn(h,O));return new Cr(v,M)}}class Po{constructor(y,p){this.redirectTo=y,this.navigationBehaviorOptions=p}}const Ne="ngNavigationCancelingError";function Fr(h,y){const{redirectTo:p,navigationBehaviorOptions:v}=Ht(y)?{redirectTo:y,navigationBehaviorOptions:void 0}:y,M=rr(!1,Fn.Redirect);return M.url=p,M.navigationBehaviorOptions=v,M}function rr(h,y){const p=new Error(`NavigationCancelingError: ${h||""}`);return p[Ne]=!0,p.cancellationCode=y,p}function qo(h){return!!h&&h[Ne]}class ai{constructor(y,p,v,M,O){this.routeReuseStrategy=y,this.futureState=p,this.currState=v,this.forwardEvent=M,this.inputBindingEnabled=O}activate(y){const p=this.futureState._root,v=this.currState?this.currState._root:null;this.deactivateChildRoutes(p,v,y),pi(this.futureState.root),this.activateChildRoutes(p,v,y)}deactivateChildRoutes(y,p,v){const M=Ti(p);y.children.forEach(O=>{const F=O.value.outlet;this.deactivateRoutes(O,M[F],v),delete M[F]}),Object.values(M).forEach(O=>{this.deactivateRouteAndItsChildren(O,v)})}deactivateRoutes(y,p,v){const M=y.value,O=p?p.value:null;if(M===O)if(M.component){const F=v.getContext(M.outlet);F&&this.deactivateChildRoutes(y,p,F.children)}else this.deactivateChildRoutes(y,p,v);else O&&this.deactivateRouteAndItsChildren(p,v)}deactivateRouteAndItsChildren(y,p){y.value.component&&this.routeReuseStrategy.shouldDetach(y.value.snapshot)?this.detachAndStoreRouteSubtree(y,p):this.deactivateRouteAndOutlet(y,p)}detachAndStoreRouteSubtree(y,p){const v=p.getContext(y.value.outlet),M=v&&y.value.component?v.children:p,O=Ti(y);for(const F of Object.values(O))this.deactivateRouteAndItsChildren(F,M);if(v&&v.outlet){const F=v.outlet.detach(),ie=v.children.onOutletDeactivated();this.routeReuseStrategy.store(y.value.snapshot,{componentRef:F,route:y,contexts:ie})}}deactivateRouteAndOutlet(y,p){const v=p.getContext(y.value.outlet),M=v&&y.value.component?v.children:p,O=Ti(y);for(const F of Object.values(O))this.deactivateRouteAndItsChildren(F,M);v&&(v.outlet&&(v.outlet.deactivate(),v.children.onOutletDeactivated()),v.attachRef=null,v.route=null)}activateChildRoutes(y,p,v){const M=Ti(p);y.children.forEach(O=>{this.activateRoutes(O,M[O.value.outlet],v),this.forwardEvent(new I(O.value.snapshot))}),y.children.length&&this.forwardEvent(new x(y.value.snapshot))}activateRoutes(y,p,v){const M=y.value,O=p?p.value:null;if(pi(M),M===O)if(M.component){const F=v.getOrCreateContext(M.outlet);this.activateChildRoutes(y,p,F.children)}else this.activateChildRoutes(y,p,v);else if(M.component){const F=v.getOrCreateContext(M.outlet);if(this.routeReuseStrategy.shouldAttach(M.snapshot)){const ie=this.routeReuseStrategy.retrieve(M.snapshot);this.routeReuseStrategy.store(M.snapshot,null),F.children.onOutletReAttached(ie.contexts),F.attachRef=ie.componentRef,F.route=ie.route.value,F.outlet&&F.outlet.attach(ie.componentRef,ie.route.value),pi(ie.route.value),this.activateChildRoutes(y,null,F.children)}else F.attachRef=null,F.route=M,F.outlet&&F.outlet.activateWith(M,F.injector),this.activateChildRoutes(y,null,F.children)}else this.activateChildRoutes(y,null,v)}}class li{constructor(y){this.path=y,this.route=this.path[this.path.length-1]}}class fr{constructor(y,p){this.component=y,this.route=p}}function Ji(h,y,p){const v=h._root;return wr(v,y?y._root:null,p,[v.value])}function pr(h,y){const p=Symbol(),v=y.get(h,p);return v===p?"function"!=typeof h||(0,l.LfX)(h)?y.get(h):h:v}function wr(h,y,p,v,M={canDeactivateChecks:[],canActivateChecks:[]}){const O=Ti(y);return h.children.forEach(F=>{(function Ko(h,y,p,v,M={canDeactivateChecks:[],canActivateChecks:[]}){const O=h.value,F=y?y.value:null,ie=p?p.getContext(h.value.outlet):null;if(F&&O.routeConfig===F.routeConfig){const Z=function Mn(h,y,p){if("function"==typeof p)return p(h,y);switch(p){case"pathParamsChange":return!dt(h.url,y.url);case"pathParamsOrQueryParamsChange":return!dt(h.url,y.url)||!An(h.queryParams,y.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Io(h,y)||!An(h.queryParams,y.queryParams);default:return!Io(h,y)}}(F,O,O.routeConfig.runGuardsAndResolvers);Z?M.canActivateChecks.push(new li(v)):(O.data=F.data,O._resolvedData=F._resolvedData),wr(h,y,O.component?ie?ie.children:null:p,v,M),Z&&ie&&ie.outlet&&ie.outlet.isActivated&&M.canDeactivateChecks.push(new fr(ie.outlet.component,F))}else F&&go(y,ie,M),M.canActivateChecks.push(new li(v)),wr(h,null,O.component?ie?ie.children:null:p,v,M)})(F,O[F.value.outlet],p,v.concat([F.value]),M),delete O[F.value.outlet]}),Object.entries(O).forEach(([F,ie])=>go(ie,p.getContext(F),M)),M}function go(h,y,p){const v=Ti(h),M=h.value;Object.entries(v).forEach(([O,F])=>{go(F,M.component?y?y.children.getContext(O):null:y,p)}),p.canDeactivateChecks.push(new fr(M.component&&y&&y.outlet&&y.outlet.isActivated?y.outlet.component:null,M))}function mo(h){return"function"==typeof h}function Ai(h){return h instanceof Ie.G||"EmptyError"===h?.name}const Qe=Symbol("INITIAL_VALUE");function mi(){return(0,et.n)(h=>(0,ue.z)(h.map(y=>y.pipe((0,Ge.s)(1),(0,jt.Z)(Qe)))).pipe((0,ze.T)(y=>{for(const p of y)if(!0!==p){if(p===Qe)return Qe;if(!1===p||Er(p))return p}return!0}),(0,Lt.p)(y=>y!==Qe),(0,Ge.s)(1)))}function Er(h){return Ht(h)||h instanceof Po}function S(h){return(0,se.F)((0,ft.M)(y=>{if("boolean"!=typeof y)throw Fr(0,y)}),(0,ze.T)(y=>!0===y))}class X{constructor(y){this.segmentGroup=y||null}}class Se extends Error{constructor(y){super(),this.urlTree=y}}function ce(h){return(0,pe.$)(new X(h))}class at{constructor(y,p){this.urlSerializer=y,this.urlTree=p}lineralizeSegments(y,p){let v=[],M=p.root;for(;;){if(v=v.concat(M.segments),0===M.numberOfChildren)return(0,ee.of)(v);if(M.numberOfChildren>1||!M.children[Ye])return(0,pe.$)(new l.wOt(4e3,!1));M=M.children[Ye]}}applyRedirectCommands(y,p,v,M,O){if("string"!=typeof p){const ie=p,{queryParams:Z,fragment:Re,routeConfig:ct,url:Et,outlet:Cn,params:ro,data:Xr,title:es}=M,Ci=(0,l.N4e)(O,()=>ie({params:ro,data:Xr,queryParams:Z,fragment:Re,routeConfig:ct,url:Et,outlet:Cn,title:es}));if(Ci instanceof Nn)throw new Se(Ci);p=Ci}const F=this.applyRedirectCreateUrlTree(p,this.urlSerializer.parse(p),y,v);if("/"===p[0])throw new Se(F);return F}applyRedirectCreateUrlTree(y,p,v,M){const O=this.createSegmentGroup(y,p.root,v,M);return new Nn(O,this.createQueryParams(p.queryParams,this.urlTree.queryParams),p.fragment)}createQueryParams(y,p){const v={};return Object.entries(y).forEach(([M,O])=>{if("string"==typeof O&&":"===O[0]){const ie=O.substring(1);v[M]=p[ie]}else v[M]=O}),v}createSegmentGroup(y,p,v,M){const O=this.createSegments(y,p.segments,v,M);let F={};return Object.entries(p.children).forEach(([ie,Z])=>{F[ie]=this.createSegmentGroup(y,Z,v,M)}),new _t(O,F)}createSegments(y,p,v,M){return p.map(O=>":"===O.path[0]?this.findPosParam(y,O,M):this.findOrReturn(O,v))}findPosParam(y,p,v){const M=v[p.path.substring(1)];if(!M)throw new l.wOt(4001,!1);return M}findOrReturn(y,p){let v=0;for(const M of p){if(M.path===y.path)return p.splice(v),M;v++}return y}}const on={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function st(h,y,p,v,M){const O=bn(h,y,p);return O.matched?(v=function vt(h,y){return h.providers&&!h._injector&&(h._injector=(0,l.Ol2)(h.providers,y,`Route: ${h.path}`)),h._injector??y}(y,v),function z(h,y,p,v){const M=y.canMatch;if(!M||0===M.length)return(0,ee.of)(!0);const O=M.map(F=>{const ie=pr(F,h);return Bt(function Qo(h){return h&&mo(h.canMatch)}(ie)?ie.canMatch(y,p):(0,l.N4e)(h,()=>ie(y,p)))});return(0,ee.of)(O).pipe(mi(),S())}(v,y,p).pipe((0,ze.T)(F=>!0===F?O:{...on}))):(0,ee.of)(O)}function bn(h,y,p){if("**"===y.path)return function gn(h){return{matched:!0,parameters:h.length>0?nr(h).parameters:{},consumedSegments:h,remainingSegments:[],positionalParamSegments:{}}}(p);if(""===y.path)return"full"===y.pathMatch&&(h.hasChildren()||p.length>0)?{...on}:{matched:!0,consumedSegments:[],remainingSegments:p,parameters:{},positionalParamSegments:{}};const M=(y.matcher||un)(p,h,y);if(!M)return{...on};const O={};Object.entries(M.posParams??{}).forEach(([ie,Z])=>{O[ie]=Z.path});const F=M.consumed.length>0?{...O,...M.consumed[M.consumed.length-1].parameters}:O;return{matched:!0,consumedSegments:M.consumed,remainingSegments:p.slice(M.consumed.length),parameters:F,positionalParamSegments:M.posParams??{}}}function Sn(h,y,p,v){return p.length>0&&function er(h,y,p){return p.some(v=>Lr(h,y,v)&&vr(v)!==Ye)}(h,p,v)?{segmentGroup:new _t(y,kr(v,new _t(p,h.children))),slicedSegments:[]}:0===p.length&&function tr(h,y,p){return p.some(v=>Lr(h,y,v))}(h,p,v)?{segmentGroup:new _t(h.segments,Ao(h,p,v,h.children)),slicedSegments:p}:{segmentGroup:new _t(h.segments,h.children),slicedSegments:p}}function Ao(h,y,p,v){const M={};for(const O of p)if(Lr(h,y,O)&&!v[vr(O)]){const F=new _t([],{});M[vr(O)]=F}return{...v,...M}}function kr(h,y){const p={};p[Ye]=y;for(const v of h)if(""===v.path&&vr(v)!==Ye){const M=new _t([],{});p[vr(v)]=M}return p}function Lr(h,y,p){return(!(h.hasChildren()||y.length>0)||"full"!==p.pathMatch)&&""===p.path}class No{}class Xo{constructor(y,p,v,M,O,F,ie){this.injector=y,this.configLoader=p,this.rootComponentType=v,this.config=M,this.urlTree=O,this.paramsInheritanceStrategy=F,this.urlSerializer=ie,this.applyRedirects=new at(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(y){return new l.wOt(4002,`'${y.segmentGroup}'`)}recognize(){const y=Sn(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(y).pipe((0,ze.T)(({children:p,rootSnapshot:v})=>{const M=new Cr(v,p),O=new Ii("",M),F=function Ln(h,y,p=null,v=null){return si($t(h),y,p,v)}(v,[],this.urlTree.queryParams,this.urlTree.fragment);return F.queryParams=this.urlTree.queryParams,O.url=this.urlSerializer.serialize(F),{state:O,tree:F}}))}match(y){const p=new qr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),Ye,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,y,Ye,p).pipe((0,ze.T)(v=>({children:v,rootSnapshot:p})),(0,Mt.W)(v=>{if(v instanceof Se)return this.urlTree=v.urlTree,this.match(v.urlTree.root);throw v instanceof X?this.noMatchError(v):v}))}processSegmentGroup(y,p,v,M,O){return 0===v.segments.length&&v.hasChildren()?this.processChildren(y,p,v,O):this.processSegment(y,p,v,v.segments,M,!0,O).pipe((0,ze.T)(F=>F instanceof Cr?[F]:[]))}processChildren(y,p,v,M){const O=[];for(const F of Object.keys(v.children))"primary"===F?O.unshift(F):O.push(F);return(0,B.H)(O).pipe((0,Zt.H)(F=>{const ie=v.children[F],Z=function Ho(h,y){const p=h.filter(v=>vr(v)===y);return p.push(...h.filter(v=>vr(v)!==y)),p}(p,F);return this.processSegmentGroup(y,Z,ie,F,M)}),(0,Xe.S)((F,ie)=>(F.push(...ie),F)),(0,Y.U)(null),(0,Q.H)(),(0,ut.Z)(F=>{if(null===F)return ce(v);const ie=qe(F);return function xo(h){h.sort((y,p)=>y.value.outlet===Ye?-1:p.value.outlet===Ye?1:y.value.outlet.localeCompare(p.value.outlet))}(ie),(0,ee.of)(ie)}))}processSegment(y,p,v,M,O,F,ie){return(0,B.H)(p).pipe((0,Zt.H)(Z=>this.processSegmentAgainstRoute(Z._injector??y,p,Z,v,M,O,F,ie).pipe((0,Mt.W)(Re=>{if(Re instanceof X)return(0,ee.of)(null);throw Re}))),(0,It.$)(Z=>!!Z),(0,Mt.W)(Z=>{if(Ai(Z))return function eo(h,y,p){return 0===y.length&&!h.children[p]}(v,M,O)?(0,ee.of)(new No):ce(v);throw Z}))}processSegmentAgainstRoute(y,p,v,M,O,F,ie,Z){return vr(v)===F||F!==Ye&&Lr(M,O,v)?void 0===v.redirectTo?this.matchSegmentAgainstRoute(y,M,v,O,F,Z):this.allowRedirects&&ie?this.expandSegmentAgainstRouteUsingRedirect(y,M,p,v,O,F,Z):ce(M):ce(M)}expandSegmentAgainstRouteUsingRedirect(y,p,v,M,O,F,ie){const{matched:Z,parameters:Re,consumedSegments:ct,positionalParamSegments:Et,remainingSegments:Cn}=bn(p,M,O);if(!Z)return ce(p);"string"==typeof M.redirectTo&&"/"===M.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const ro=new qr(O,Re,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Nt(M),vr(M),M.component??M._loadedComponent??null,M,qn(M)),Xr=Wr(ro,ie,this.paramsInheritanceStrategy);ro.params=Object.freeze(Xr.params),ro.data=Object.freeze(Xr.data);const es=this.applyRedirects.applyRedirectCommands(ct,M.redirectTo,Et,ro,y);return this.applyRedirects.lineralizeSegments(M,es).pipe((0,ut.Z)(Ci=>this.processSegment(y,v,p,Ci.concat(Cn),F,!1,ie)))}matchSegmentAgainstRoute(y,p,v,M,O,F){const ie=st(p,v,M,y);return"**"===v.path&&(p.children={}),ie.pipe((0,et.n)(Z=>Z.matched?this.getChildConfig(y=v._injector??y,v,M).pipe((0,et.n)(({routes:Re})=>{const ct=v._loadedInjector??y,{parameters:Et,consumedSegments:Cn,remainingSegments:ro}=Z,Xr=new qr(Cn,Et,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Nt(v),vr(v),v.component??v._loadedComponent??null,v,qn(v)),es=Wr(Xr,F,this.paramsInheritanceStrategy);Xr.params=Object.freeze(es.params),Xr.data=Object.freeze(es.data);const{segmentGroup:Ci,slicedSegments:As}=Sn(p,Cn,ro,Re);if(0===As.length&&Ci.hasChildren())return this.processChildren(ct,Re,Ci,Xr).pipe((0,ze.T)(qs=>new Cr(Xr,qs)));if(0===Re.length&&0===As.length)return(0,ee.of)(new Cr(Xr,[]));const Hc=vr(v)===O;return this.processSegment(ct,Re,Ci,As,Hc?Ye:O,!0,Xr).pipe((0,ze.T)(qs=>new Cr(Xr,qs instanceof Cr?[qs]:[])))})):ce(p)))}getChildConfig(y,p,v){return p.children?(0,ee.of)({routes:p.children,injector:y}):p.loadChildren?void 0!==p._loadedRoutes?(0,ee.of)({routes:p._loadedRoutes,injector:p._loadedInjector}):function w(h,y,p,v){const M=y.canLoad;if(void 0===M||0===M.length)return(0,ee.of)(!0);const O=M.map(F=>{const ie=pr(F,h);return Bt(function Ts(h){return h&&mo(h.canLoad)}(ie)?ie.canLoad(y,p):(0,l.N4e)(h,()=>ie(y,p)))});return(0,ee.of)(O).pipe(mi(),S())}(y,p,v).pipe((0,ut.Z)(M=>M?this.configLoader.loadChildren(y,p).pipe((0,ft.M)(O=>{p._loadedRoutes=O.routes,p._loadedInjector=O.injector})):function Ze(){return(0,pe.$)(rr(!1,Fn.GuardRejected))}())):(0,ee.of)({routes:[],injector:y})}}function Be(h){const y=h.value.routeConfig;return y&&""===y.path}function qe(h){const y=[],p=new Set;for(const v of h){if(!Be(v)){y.push(v);continue}const M=y.find(O=>v.value.routeConfig===O.value.routeConfig);void 0!==M?(M.children.push(...v.children),p.add(M)):y.push(v)}for(const v of p){const M=qe(v.children);y.push(new Cr(v.value,M))}return y.filter(v=>!p.has(v))}function Nt(h){return h.data||{}}function qn(h){return h.resolve||{}}function to(h){const y=h.children.map(p=>to(p)).flat();return[h,...y]}function Tn(h){return(0,et.n)(y=>{const p=h(y);return p?(0,B.H)(p).pipe((0,ze.T)(()=>y)):(0,ee.of)(y)})}let Ri=(()=>{class h{buildTitle(p){let v,M=p.root;for(;void 0!==M;)v=this.getResolvedTitleForRoute(M)??v,M=M.children.find(O=>O.outlet===Ye);return v}getResolvedTitleForRoute(p){return p.data[Bn]}static#e=this.\u0275fac=function(v){return new(v||h)};static#t=this.\u0275prov=l.jDH({token:h,factory:()=>(0,l.WQX)(In),providedIn:"root"})}return h})(),In=(()=>{class h extends Ri{constructor(p){super(),this.title=p}updateTitle(p){const v=this.buildTitle(p);void 0!==v&&this.title.setTitle(v)}static#e=this.\u0275fac=function(v){return new(v||h)(l.KVO(wn.hE))};static#t=this.\u0275prov=l.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();const Vr=new l.nKC("",{providedIn:"root",factory:()=>({})});let Ro=(()=>{class h{static#e=this.\u0275fac=function(v){return new(v||h)};static#t=this.\u0275cmp=l.VBU({type:h,selectors:[["ng-component"]],standalone:!0,features:[l.aNF],decls:1,vars:0,template:function(v,M){1&v&&l.nrm(0,"router-outlet")},dependencies:[Zi],encapsulation:2})}return h})();function lt(h){const y=h.children&&h.children.map(lt),p=y?{...h,children:y}:{...h};return!p.component&&!p.loadComponent&&(y||p.loadChildren)&&p.outlet&&p.outlet!==Ye&&(p.component=Ro),p}const Ft=new l.nKC("");let vl=(()=>{class h{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,l.WQX)(l.Ql9)}loadComponent(p){if(this.componentLoaders.get(p))return this.componentLoaders.get(p);if(p._loadedComponent)return(0,ee.of)(p._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(p);const v=Bt(p.loadComponent()).pipe((0,ze.T)(Lc),(0,ft.M)(O=>{this.onLoadEndListener&&this.onLoadEndListener(p),p._loadedComponent=O}),(0,we.j)(()=>{this.componentLoaders.delete(p)})),M=new je.G(v,()=>new Le.B).pipe((0,Ve.B)());return this.componentLoaders.set(p,M),M}loadChildren(p,v){if(this.childrenLoaders.get(v))return this.childrenLoaders.get(v);if(v._loadedRoutes)return(0,ee.of)({routes:v._loadedRoutes,injector:v._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(v);const O=function Fc(h,y,p,v){return Bt(h.loadChildren()).pipe((0,ze.T)(Lc),(0,ut.Z)(M=>M instanceof l.Co$||Array.isArray(M)?(0,ee.of)(M):(0,B.H)(y.compileModuleAsync(M))),(0,ze.T)(M=>{v&&v(h);let O,F,ie=!1;return Array.isArray(M)?(F=M,!0):(O=M.create(p).injector,F=O.get(Ft,[],{optional:!0,self:!0}).flat()),{routes:F.map(lt),injector:O}}))}(v,this.compiler,p,this.onLoadEndListener).pipe((0,we.j)(()=>{this.childrenLoaders.delete(v)})),F=new je.G(O,()=>new Le.B).pipe((0,Ve.B)());return this.childrenLoaders.set(v,F),F}static#e=this.\u0275fac=function(v){return new(v||h)};static#t=this.\u0275prov=l.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();function Lc(h){return function kc(h){return h&&"object"==typeof h&&"default"in h}(h)?h.default:h}let _a=(()=>{class h{static#e=this.\u0275fac=function(v){return new(v||h)};static#t=this.\u0275prov=l.jDH({token:h,factory:()=>(0,l.WQX)(ya),providedIn:"root"})}return h})(),ya=(()=>{class h{shouldProcessUrl(p){return!0}extract(p){return p}merge(p,v){return p}static#e=this.\u0275fac=function(v){return new(v||h)};static#t=this.\u0275prov=l.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();const xt=new l.nKC(""),$s=new l.nKC("");function Cl(h,y,p){const v=h.get($s),M=h.get(Je.qQ);return h.get(l.SKi).runOutsideAngular(()=>{if(!M.startViewTransition||v.skipNextTransition)return v.skipNextTransition=!1,new Promise(Re=>setTimeout(Re));let O;const F=new Promise(Re=>{O=Re}),ie=M.startViewTransition(()=>(O(),function Qr(h){return new Promise(y=>{(0,l.mal)({read:()=>setTimeout(y)},{injector:h})})}(h))),{onViewTransitionCreated:Z}=v;return Z&&(0,l.N4e)(h,()=>Z({transition:ie,from:y,to:p})),F})}const gs=new l.nKC("");let va=(()=>{class h{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Le.B,this.transitionAbortSubject=new Le.B,this.configLoader=(0,l.WQX)(vl),this.environmentInjector=(0,l.WQX)(l.uvJ),this.urlSerializer=(0,l.WQX)(ii),this.rootContexts=(0,l.WQX)(Ki),this.location=(0,l.WQX)(Je.aZ),this.inputBindingEnabled=null!==(0,l.WQX)(fo,{optional:!0}),this.titleStrategy=(0,l.WQX)(Ri),this.options=(0,l.WQX)(Vr,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,l.WQX)(_a),this.createViewTransition=(0,l.WQX)(xt,{optional:!0}),this.navigationErrorHandler=(0,l.WQX)(gs,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,ee.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=M=>this.events.next(new qt(M)),this.configLoader.onLoadStartListener=M=>this.events.next(new Wt(M))}complete(){this.transitions?.complete()}handleNavigationRequest(p){const v=++this.navigationId;this.transitions?.next({...this.transitions.value,...p,id:v})}setupNavigations(p,v,M){return this.transitions=new he.t({id:0,currentUrlTree:v,currentRawUrl:v,extractedUrl:this.urlHandlingStrategy.extract(v),urlAfterRedirects:this.urlHandlingStrategy.extract(v),rawUrl:v,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Rr,restoredState:null,currentSnapshot:M.snapshot,targetSnapshot:null,currentRouterState:M,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Lt.p)(O=>0!==O.id),(0,ze.T)(O=>({...O,extractedUrl:this.urlHandlingStrategy.extract(O.rawUrl)})),(0,et.n)(O=>{let F=!1,ie=!1;return(0,ee.of)(O).pipe((0,et.n)(Z=>{if(this.navigationId>O.id)return this.cancelNavigationTransition(O,"",Fn.SupersededByNewNavigation),Ae.w;this.currentTransition=O,this.currentNavigation={id:Z.id,initialUrl:Z.rawUrl,extractedUrl:Z.extractedUrl,targetBrowserUrl:"string"==typeof Z.extras.browserUrl?this.urlSerializer.parse(Z.extras.browserUrl):Z.extras.browserUrl,trigger:Z.source,extras:Z.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const Re=!p.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Re&&"reload"!==(Z.extras.onSameUrlNavigation??p.onSameUrlNavigation)){const Et="";return this.events.next(new k(Z.id,this.urlSerializer.serialize(Z.rawUrl),Et,A.IgnoredSameUrlNavigation)),Z.resolve(!1),Ae.w}if(this.urlHandlingStrategy.shouldProcessUrl(Z.rawUrl))return(0,ee.of)(Z).pipe((0,et.n)(Et=>{const Cn=this.transitions?.getValue();return this.events.next(new Gr(Et.id,this.urlSerializer.serialize(Et.extractedUrl),Et.source,Et.restoredState)),Cn!==this.transitions?.getValue()?Ae.w:Promise.resolve(Et)}),function xi(h,y,p,v,M,O){return(0,ut.Z)(F=>function Ni(h,y,p,v,M,O,F="emptyOnly"){return new Xo(h,y,p,v,M,F,O).recognize()}(h,y,p,v,F.extractedUrl,M,O).pipe((0,ze.T)(({state:ie,tree:Z})=>({...F,targetSnapshot:ie,urlAfterRedirects:Z}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,p.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,ft.M)(Et=>{O.targetSnapshot=Et.targetSnapshot,O.urlAfterRedirects=Et.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Et.urlAfterRedirects};const Cn=new ye(Et.id,this.urlSerializer.serialize(Et.extractedUrl),this.urlSerializer.serialize(Et.urlAfterRedirects),Et.targetSnapshot);this.events.next(Cn)}));if(Re&&this.urlHandlingStrategy.shouldProcessUrl(Z.currentRawUrl)){const{id:Et,extractedUrl:Cn,source:ro,restoredState:Xr,extras:es}=Z,Ci=new Gr(Et,this.urlSerializer.serialize(Cn),ro,Xr);this.events.next(Ci);const As=So(this.rootComponentType).snapshot;return this.currentTransition=O={...Z,targetSnapshot:As,urlAfterRedirects:Cn,extras:{...es,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Cn,(0,ee.of)(O)}{const Et="";return this.events.next(new k(Z.id,this.urlSerializer.serialize(Z.extractedUrl),Et,A.IgnoredByUrlHandlingStrategy)),Z.resolve(!1),Ae.w}}),(0,ft.M)(Z=>{const Re=new De(Z.id,this.urlSerializer.serialize(Z.extractedUrl),this.urlSerializer.serialize(Z.urlAfterRedirects),Z.targetSnapshot);this.events.next(Re)}),(0,ze.T)(Z=>(this.currentTransition=O={...Z,guards:Ji(Z.targetSnapshot,Z.currentSnapshot,this.rootContexts)},O)),function ma(h,y){return(0,ut.Z)(p=>{const{targetSnapshot:v,currentSnapshot:M,guards:{canActivateChecks:O,canDeactivateChecks:F}}=p;return 0===F.length&&0===O.length?(0,ee.of)({...p,guardsResult:!0}):function Bs(h,y,p,v){return(0,B.H)(h).pipe((0,ut.Z)(M=>function u(h,y,p,v,M){const O=y&&y.routeConfig?y.routeConfig.canDeactivate:null;if(!O||0===O.length)return(0,ee.of)(!0);const F=O.map(ie=>{const Z=Si(y)??M,Re=pr(ie,Z);return Bt(function Is(h){return h&&mo(h.canDeactivate)}(Re)?Re.canDeactivate(h,y,p,v):(0,l.N4e)(Z,()=>Re(h,y,p,v))).pipe((0,It.$)())});return(0,ee.of)(F).pipe(mi())}(M.component,M.route,p,y,v)),(0,It.$)(M=>!0!==M,!0))}(F,v,M,h).pipe((0,ut.Z)(ie=>ie&&function Vt(h){return"boolean"==typeof h}(ie)?function P(h,y,p,v){return(0,B.H)(y).pipe((0,Zt.H)(M=>(0,le.x)(function _(h,y){return null!==h&&y&&y(new Kt(h)),(0,ee.of)(!0)}(M.route.parent,v),function f(h,y){return null!==h&&y&&y(new ve(h)),(0,ee.of)(!0)}(M.route,v),function d(h,y,p){const v=y[y.length-1],O=y.slice(0,y.length-1).reverse().map(F=>function Ss(h){const y=h.routeConfig?h.routeConfig.canActivateChild:null;return y&&0!==y.length?{node:h,guards:y}:null}(F)).filter(F=>null!==F).map(F=>(0,Ee.v)(()=>{const ie=F.guards.map(Z=>{const Re=Si(F.node)??p,ct=pr(Z,Re);return Bt(function fs(h){return h&&mo(h.canActivateChild)}(ct)?ct.canActivateChild(v,h):(0,l.N4e)(Re,()=>ct(v,h))).pipe((0,It.$)())});return(0,ee.of)(ie).pipe(mi())}));return(0,ee.of)(O).pipe(mi())}(h,M.path,p),function a(h,y,p){const v=y.routeConfig?y.routeConfig.canActivate:null;if(!v||0===v.length)return(0,ee.of)(!0);const M=v.map(O=>(0,Ee.v)(()=>{const F=Si(y)??p,ie=pr(O,F);return Bt(function kn(h){return h&&mo(h.canActivate)}(ie)?ie.canActivate(y,h):(0,l.N4e)(F,()=>ie(y,h))).pipe((0,It.$)())}));return(0,ee.of)(M).pipe(mi())}(h,M.route,p))),(0,It.$)(M=>!0!==M,!0))}(v,O,h,y):(0,ee.of)(ie)),(0,ze.T)(ie=>({...p,guardsResult:ie})))})}(this.environmentInjector,Z=>this.events.next(Z)),(0,ft.M)(Z=>{if(O.guardsResult=Z.guardsResult,Z.guardsResult&&"boolean"!=typeof Z.guardsResult)throw Fr(0,Z.guardsResult);const Re=new be(Z.id,this.urlSerializer.serialize(Z.extractedUrl),this.urlSerializer.serialize(Z.urlAfterRedirects),Z.targetSnapshot,!!Z.guardsResult);this.events.next(Re)}),(0,Lt.p)(Z=>!!Z.guardsResult||(this.cancelNavigationTransition(Z,"",Fn.GuardRejected),!1)),Tn(Z=>{if(Z.guards.canActivateChecks.length)return(0,ee.of)(Z).pipe((0,ft.M)(Re=>{const ct=new We(Re.id,this.urlSerializer.serialize(Re.extractedUrl),this.urlSerializer.serialize(Re.urlAfterRedirects),Re.targetSnapshot);this.events.next(ct)}),(0,et.n)(Re=>{let ct=!1;return(0,ee.of)(Re).pipe(function Kr(h,y){return(0,ut.Z)(p=>{const{targetSnapshot:v,guards:{canActivateChecks:M}}=p;if(!M.length)return(0,ee.of)(p);const O=new Set(M.map(Z=>Z.route)),F=new Set;for(const Z of O)if(!F.has(Z))for(const Re of to(Z))F.add(Re);let ie=0;return(0,B.H)(F).pipe((0,Zt.H)(Z=>O.has(Z)?function cn(h,y,p,v){const M=h.routeConfig,O=h._resolve;return void 0!==M?.title&&!Xi(M)&&(O[Bn]=M.title),function _o(h,y,p,v){const M=cr(h);if(0===M.length)return(0,ee.of)({});const O={};return(0,B.H)(M).pipe((0,ut.Z)(F=>function ps(h,y,p,v){const M=Si(y)??v,O=pr(h,M);return Bt(O.resolve?O.resolve(y,p):(0,l.N4e)(M,()=>O(y,p)))}(h[F],y,p,v).pipe((0,It.$)(),(0,ft.M)(ie=>{if(ie instanceof Po)throw Fr(new xn,ie);O[F]=ie}))),(0,q.o)(1),(0,ae.u)(O),(0,Mt.W)(F=>Ai(F)?Ae.w:(0,pe.$)(F)))}(O,h,y,v).pipe((0,ze.T)(F=>(h._resolvedData=F,h.data=Wr(h,h.parent,p).resolve,null)))}(Z,v,h,y):(Z.data=Wr(Z,Z.parent,h).resolve,(0,ee.of)(void 0))),(0,ft.M)(()=>ie++),(0,q.o)(1),(0,ut.Z)(Z=>ie===F.size?(0,ee.of)(p):Ae.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,ft.M)({next:()=>ct=!0,complete:()=>{ct||this.cancelNavigationTransition(Re,"",Fn.NoDataFromResolver)}}))}),(0,ft.M)(Re=>{const ct=new $e(Re.id,this.urlSerializer.serialize(Re.extractedUrl),this.urlSerializer.serialize(Re.urlAfterRedirects),Re.targetSnapshot);this.events.next(ct)}))}),Tn(Z=>{const Re=ct=>{const Et=[];ct.routeConfig?.loadComponent&&!ct.routeConfig._loadedComponent&&Et.push(this.configLoader.loadComponent(ct.routeConfig).pipe((0,ft.M)(Cn=>{ct.component=Cn}),(0,ze.T)(()=>{})));for(const Cn of ct.children)Et.push(...Re(Cn));return Et};return(0,ue.z)(Re(Z.targetSnapshot.root)).pipe((0,Y.U)(null),(0,Ge.s)(1))}),Tn(()=>this.afterPreactivation()),(0,et.n)(()=>{const{currentSnapshot:Z,targetSnapshot:Re}=O,ct=this.createViewTransition?.(this.environmentInjector,Z.root,Re.root);return ct?(0,B.H)(ct).pipe((0,ze.T)(()=>O)):(0,ee.of)(O)}),(0,ze.T)(Z=>{const Re=function Wo(h,y,p){const v=Wn(h,y._root,p?p._root:void 0);return new ho(v,y)}(p.routeReuseStrategy,Z.targetSnapshot,Z.currentRouterState);return this.currentTransition=O={...Z,targetRouterState:Re},this.currentNavigation.targetRouterState=Re,O}),(0,ft.M)(()=>{this.events.next(new oe)}),((h,y,p,v)=>(0,ze.T)(M=>(new ai(y,M.targetRouterState,M.currentRouterState,p,v).activate(h),M)))(this.rootContexts,p.routeReuseStrategy,Z=>this.events.next(Z),this.inputBindingEnabled),(0,Ge.s)(1),(0,ft.M)({next:Z=>{F=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Yn(Z.id,this.urlSerializer.serialize(Z.extractedUrl),this.urlSerializer.serialize(Z.urlAfterRedirects))),this.titleStrategy?.updateTitle(Z.targetRouterState.snapshot),Z.resolve(!0)},complete:()=>{F=!0}}),(0,tt.Q)(this.transitionAbortSubject.pipe((0,ft.M)(Z=>{throw Z}))),(0,we.j)(()=>{!F&&!ie&&this.cancelNavigationTransition(O,"",Fn.SupersededByNewNavigation),this.currentTransition?.id===O.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,Mt.W)(Z=>{if(ie=!0,qo(Z))this.events.next(new U(O.id,this.urlSerializer.serialize(O.extractedUrl),Z.message,Z.cancellationCode)),function Oi(h){return qo(h)&&Ht(h.url)}(Z)?this.events.next(new He(Z.url,Z.navigationBehaviorOptions)):O.resolve(!1);else{const Re=new te(O.id,this.urlSerializer.serialize(O.extractedUrl),Z,O.targetSnapshot??void 0);try{const ct=(0,l.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(Re));if(ct instanceof Po){const{message:Et,cancellationCode:Cn}=Fr(0,ct);this.events.next(new U(O.id,this.urlSerializer.serialize(O.extractedUrl),Et,Cn)),this.events.next(new He(ct.redirectTo,ct.navigationBehaviorOptions))}else{this.events.next(Re);const Et=p.errorHandler(Z);O.resolve(!!Et)}}catch(ct){this.options.resolveNavigationPromiseOnError?O.resolve(!1):O.reject(ct)}}return Ae.w}))}))}cancelNavigationTransition(p,v,M){const O=new U(p.id,this.urlSerializer.serialize(p.extractedUrl),v,M);this.events.next(O),p.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const p=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),v=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return p.toString()!==v?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static#e=this.\u0275fac=function(v){return new(v||h)};static#t=this.\u0275prov=l.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();function Hs(h){return h!==Rr}let Os=(()=>{class h{static#e=this.\u0275fac=function(v){return new(v||h)};static#t=this.\u0275prov=l.jDH({token:h,factory:()=>(0,l.WQX)(m),providedIn:"root"})}return h})();class Ca{shouldDetach(y){return!1}store(y,p){}shouldAttach(y){return!1}retrieve(y){return null}shouldReuseRoute(y,p){return y.routeConfig===p.routeConfig}}let m=(()=>{class h extends Ca{static#e=this.\u0275fac=(()=>{let p;return function(M){return(p||(p=l.xGo(h)))(M||h)}})();static#t=this.\u0275prov=l.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})(),T=(()=>{class h{static#e=this.\u0275fac=function(v){return new(v||h)};static#t=this.\u0275prov=l.jDH({token:h,factory:()=>(0,l.WQX)(C),providedIn:"root"})}return h})(),C=(()=>{class h extends T{constructor(){super(...arguments),this.location=(0,l.WQX)(Je.aZ),this.urlSerializer=(0,l.WQX)(ii),this.options=(0,l.WQX)(Vr,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,l.WQX)(_a),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Nn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=So(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()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(p){return this.location.subscribe(v=>{"popstate"===v.type&&p(v.url,v.state)})}handleRouterEvent(p,v){if(p instanceof Gr)this.stateMemento=this.createStateMemento();else if(p instanceof k)this.rawUrlTree=v.initialUrl;else if(p instanceof ye){if("eager"===this.urlUpdateStrategy&&!v.extras.skipLocationChange){const M=this.urlHandlingStrategy.merge(v.finalUrl,v.initialUrl);this.setBrowserUrl(v.targetBrowserUrl??M,v)}}else p instanceof oe?(this.currentUrlTree=v.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(v.finalUrl,v.initialUrl),this.routerState=v.targetRouterState,"deferred"===this.urlUpdateStrategy&&!v.extras.skipLocationChange&&this.setBrowserUrl(v.targetBrowserUrl??this.rawUrlTree,v)):p instanceof U&&(p.code===Fn.GuardRejected||p.code===Fn.NoDataFromResolver)?this.restoreHistory(v):p instanceof te?this.restoreHistory(v,!0):p instanceof Yn&&(this.lastSuccessfulId=p.id,this.currentPageId=this.browserPageId)}setBrowserUrl(p,v){const M=p instanceof Nn?this.urlSerializer.serialize(p):p;if(this.location.isCurrentPathEqualTo(M)||v.extras.replaceUrl){const F={...v.extras.state,...this.generateNgRouterState(v.id,this.browserPageId)};this.location.replaceState(M,"",F)}else{const O={...v.extras.state,...this.generateNgRouterState(v.id,this.browserPageId+1)};this.location.go(M,"",O)}}restoreHistory(p,v=!1){if("computed"===this.canceledNavigationResolution){const O=this.currentPageId-this.browserPageId;0!==O?this.location.historyGo(O):this.currentUrlTree===p.finalUrl&&0===O&&(this.resetState(p),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(v&&this.resetState(p),this.resetUrlToCurrentUrlTree())}resetState(p){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,p.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(p,v){return"computed"===this.canceledNavigationResolution?{navigationId:p,\u0275routerPageId:v}:{navigationId:p}}static#e=this.\u0275fac=(()=>{let p;return function(M){return(p||(p=l.xGo(h)))(M||h)}})();static#t=this.\u0275prov=l.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();var b=function(h){return h[h.COMPLETE=0]="COMPLETE",h[h.FAILED=1]="FAILED",h[h.REDIRECTING=2]="REDIRECTING",h}(b||{});function R(h,y){h.events.pipe((0,Lt.p)(p=>p instanceof Yn||p instanceof U||p instanceof te||p instanceof k),(0,ze.T)(p=>p instanceof Yn||p instanceof k?b.COMPLETE:p instanceof U&&(p.code===Fn.Redirect||p.code===Fn.SupersededByNewNavigation)?b.REDIRECTING:b.FAILED),(0,Lt.p)(p=>p!==b.REDIRECTING),(0,Ge.s)(1)).subscribe(()=>{y()})}function ne(h){throw h}const Ce={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ue={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Ut=(()=>{class h{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,l.WQX)(l.H3F),this.stateManager=(0,l.WQX)(T),this.options=(0,l.WQX)(Vr,{optional:!0})||{},this.pendingTasks=(0,l.WQX)(l.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,l.WQX)(va),this.urlSerializer=(0,l.WQX)(ii),this.location=(0,l.WQX)(Je.aZ),this.urlHandlingStrategy=(0,l.WQX)(_a),this._events=new Le.B,this.errorHandler=this.options.errorHandler||ne,this.navigated=!1,this.routeReuseStrategy=(0,l.WQX)(Os),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,l.WQX)(Ft,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,l.WQX)(fo,{optional:!0}),this.eventsSubscription=new ke.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:p=>{this.console.warn(p)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const p=this.navigationTransitions.events.subscribe(v=>{try{const M=this.navigationTransitions.currentTransition,O=this.navigationTransitions.currentNavigation;if(null!==M&&null!==O)if(this.stateManager.handleRouterEvent(v,O),v instanceof U&&v.code!==Fn.Redirect&&v.code!==Fn.SupersededByNewNavigation)this.navigated=!0;else if(v instanceof Yn)this.navigated=!0;else if(v instanceof He){const F=v.navigationBehaviorOptions,ie=this.urlHandlingStrategy.merge(v.url,M.currentRawUrl),Z={browserUrl:M.extras.browserUrl,info:M.extras.info,skipLocationChange:M.extras.skipLocationChange,replaceUrl:M.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Hs(M.source),...F};this.scheduleNavigation(ie,Rr,null,Z,{resolve:M.resolve,reject:M.reject,promise:M.promise})}(function en(h){return!(h instanceof oe||h instanceof He)})(v)&&this._events.next(v)}catch(M){this.navigationTransitions.transitionAbortSubject.next(M)}});this.eventsSubscription.add(p)}resetRootComponentType(p){this.routerState.root.component=p,this.navigationTransitions.rootComponentType=p}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Rr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((p,v)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(p,"popstate",v)},0)})}navigateToSyncWithBrowser(p,v,M){const O={replaceUrl:!0},F=M?.navigationId?M:null;if(M){const Z={...M};delete Z.navigationId,delete Z.\u0275routerPageId,0!==Object.keys(Z).length&&(O.state=Z)}const ie=this.parseUrl(p);this.scheduleNavigation(ie,v,F,O)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(p){this.config=p.map(lt),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(p,v={}){const{relativeTo:M,queryParams:O,fragment:F,queryParamsHandling:ie,preserveFragment:Z}=v,Re=Z?this.currentUrlTree.fragment:F;let Et,ct=null;switch(ie??this.options.defaultQueryParamsHandling){case"merge":ct={...this.currentUrlTree.queryParams,...O};break;case"preserve":ct=this.currentUrlTree.queryParams;break;default:ct=O||null}null!==ct&&(ct=this.removeEmptyProps(ct));try{Et=$t(M?M.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof p[0]||"/"!==p[0][0])&&(p=[]),Et=this.currentUrlTree.root}return si(Et,p,ct,Re??null)}navigateByUrl(p,v={skipLocationChange:!1}){const M=Ht(p)?p:this.parseUrl(p),O=this.urlHandlingStrategy.merge(M,this.rawUrlTree);return this.scheduleNavigation(O,Rr,null,v)}navigate(p,v={skipLocationChange:!1}){return function wt(h){for(let y=0;y<h.length;y++)if(null==h[y])throw new l.wOt(4008,!1)}(p),this.navigateByUrl(this.createUrlTree(p,v),v)}serializeUrl(p){return this.urlSerializer.serialize(p)}parseUrl(p){try{return this.urlSerializer.parse(p)}catch{return this.urlSerializer.parse("/")}}isActive(p,v){let M;if(M=!0===v?{...Ce}:!1===v?{...Ue}:v,Ht(p))return yn(this.currentUrlTree,p,M);const O=this.parseUrl(p);return yn(this.currentUrlTree,O,M)}removeEmptyProps(p){return Object.entries(p).reduce((v,[M,O])=>(null!=O&&(v[M]=O),v),{})}scheduleNavigation(p,v,M,O,F){if(this.disposed)return Promise.resolve(!1);let ie,Z,Re;F?(ie=F.resolve,Z=F.reject,Re=F.promise):Re=new Promise((Et,Cn)=>{ie=Et,Z=Cn});const ct=this.pendingTasks.add();return R(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(ct))}),this.navigationTransitions.handleNavigationRequest({source:v,restoredState:M,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:p,extras:O,resolve:ie,reject:Z,promise:Re,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Re.catch(Et=>Promise.reject(Et))}static#e=this.\u0275fac=function(v){return new(v||h)};static#t=this.\u0275prov=l.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})(),Me=(()=>{class h{constructor(p,v,M,O,F,ie){this.router=p,this.route=v,this.tabIndexAttribute=M,this.renderer=O,this.el=F,this.locationStrategy=ie,this.href=null,this.onChanges=new Le.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const Z=F.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Z||"area"===Z,this.isAnchorElement?this.subscription=p.events.subscribe(Re=>{Re instanceof Yn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(p){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",p)}ngOnChanges(p){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(p){null==p?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=Ht(p)||Array.isArray(p)?p:[p],this.setTabIndexIfNotOnNativeEl("0"))}onClick(p,v,M,O,F){const ie=this.urlTree;return!!(null===ie||this.isAnchorElement&&(0!==p||v||M||O||F||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(ie,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const p=this.urlTree;this.href=null!==p&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(p)):null;const v=null===this.href?null:(0,l.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",v)}applyAttributeValue(p,v){const M=this.renderer,O=this.el.nativeElement;null!==v?M.setAttribute(O,p,v):M.removeAttribute(O,p)}get urlTree(){return null===this.routerLinkInput?null:Ht(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.\u0275fac=function(v){return new(v||h)(l.rXU(Ut),l.rXU(ln),l.kS0("tabindex"),l.rXU(l.sFG),l.rXU(l.aKT),l.rXU(Je.hb))};static#t=this.\u0275dir=l.FsC({type:h,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(v,M){1&v&&l.bIt("click",function(F){return M.onClick(F.button,F.ctrlKey,F.shiftKey,F.altKey,F.metaKey)}),2&v&&l.BMQ("target",M.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",l.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",l.L39],replaceUrl:[2,"replaceUrl","replaceUrl",l.L39],routerLink:"routerLink"},standalone:!0,features:[l.GFd,l.OA$]})}return h})();class vn{}let Zo=(()=>{class h{constructor(p,v,M,O,F){this.router=p,this.injector=M,this.preloadingStrategy=O,this.loader=F}setUpPreloading(){this.subscription=this.router.events.pipe((0,Lt.p)(p=>p instanceof Yn),(0,Zt.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(p,v){const M=[];for(const O of v){O.providers&&!O._injector&&(O._injector=(0,l.Ol2)(O.providers,p,`Route: ${O.path}`));const F=O._injector??p,ie=O._loadedInjector??F;(O.loadChildren&&!O._loadedRoutes&&void 0===O.canLoad||O.loadComponent&&!O._loadedComponent)&&M.push(this.preloadConfig(F,O)),(O.children||O._loadedRoutes)&&M.push(this.processRoutes(ie,O.children??O._loadedRoutes))}return(0,B.H)(M).pipe((0,Gt.U)())}preloadConfig(p,v){return this.preloadingStrategy.preload(v,()=>{let M;M=v.loadChildren&&void 0===v.canLoad?this.loader.loadChildren(p,v):(0,ee.of)(null);const O=M.pipe((0,ut.Z)(F=>null===F?(0,ee.of)(void 0):(v._loadedRoutes=F.routes,v._loadedInjector=F.injector,this.processRoutes(F.injector??p,F.routes))));if(v.loadComponent&&!v._loadedComponent){const F=this.loader.loadComponent(v);return(0,B.H)([O,F]).pipe((0,Gt.U)())}return O})}static#e=this.\u0275fac=function(v){return new(v||h)(l.KVO(Ut),l.KVO(l.Ql9),l.KVO(l.uvJ),l.KVO(vn),l.KVO(vl))};static#t=this.\u0275prov=l.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();const Fi=new l.nKC("");let _i=(()=>{class h{constructor(p,v,M,O,F={}){this.urlSerializer=p,this.transitions=v,this.viewportScroller=M,this.zone=O,this.options=F,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},F.scrollPositionRestoration||="disabled",F.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(p=>{p instanceof Gr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=p.navigationTrigger,this.restoredId=p.restoredState?p.restoredState.navigationId:0):p instanceof Yn?(this.lastId=p.id,this.scheduleScrollEvent(p,this.urlSerializer.parse(p.urlAfterRedirects).fragment)):p instanceof k&&p.code===A.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(p,this.urlSerializer.parse(p.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(p=>{p instanceof $&&(p.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(p.position):p.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(p.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(p,v){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new $(p,"popstate"===this.lastSource?this.store[this.restoredId]:null,v))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(v){l.QTQ()};static#t=this.\u0275prov=l.jDH({token:h,factory:h.\u0275fac})}return h})();function ci(h,y){return{\u0275kind:h,\u0275providers:y}}function wl(){const h=(0,l.WQX)(l.zZn);return y=>{const p=h.get(l.o8S);if(y!==p.components[0])return;const v=h.get(Ut),M=h.get(Gs);1===h.get(Ps)&&v.initialNavigation(),h.get(Fd,null,l.$GK.Optional)?.setUpPreloading(),h.get(Fi,null,l.$GK.Optional)?.init(),v.resetRootComponentType(p.componentTypes[0]),M.closed||(M.next(),M.complete(),M.unsubscribe())}}const Gs=new l.nKC("",{factory:()=>new Le.B}),Ps=new l.nKC("",{providedIn:"root",factory:()=>1}),Fd=new l.nKC("");function vi(h){return ci(0,[{provide:Fd,useExisting:Zo},{provide:vn,useExisting:h}])}function yo(h){return ci(9,[{provide:xt,useValue:Cl},{provide:$s,useValue:{skipNextTransition:!!h?.skipInitialTransition,...h}}])}const Li=new l.nKC("ROUTER_FORROOT_GUARD"),jc=[Je.aZ,{provide:ii,useClass:xn},Ut,Ki,{provide:ln,useFactory:function ki(h){return h.routerState.root},deps:[Ut]},vl,[]];let Dl=(()=>{class h{constructor(p){}static forRoot(p,v){return{ngModule:h,providers:[jc,[],{provide:Ft,multi:!0,useValue:p},{provide:Li,useFactory:Jo,deps:[[Ut,new l.Xx1,new l.kdw]]},{provide:Vr,useValue:v||{}},v?.useHash?{provide:Je.hb,useClass:Je.fw}:{provide:Je.hb,useClass:Je.Sm},{provide:Fi,useFactory:()=>{const h=(0,l.WQX)(Je.Xr),y=(0,l.WQX)(l.SKi),p=(0,l.WQX)(Vr),v=(0,l.WQX)(va),M=(0,l.WQX)(ii);return p.scrollOffset&&h.setOffset(p.scrollOffset),new _i(M,v,h,y,p)}},v?.preloadingStrategy?vi(v.preloadingStrategy).\u0275providers:[],v?.initialNavigation?kd(v):[],v?.bindToComponentInputs?ci(8,[Go,{provide:fo,useExisting:Go}]).\u0275providers:[],v?.enableViewTransitions?yo().\u0275providers:[],[{provide:Da,useFactory:wl},{provide:l.iLQ,multi:!0,useExisting:Da}]]}}static forChild(p){return{ngModule:h,providers:[{provide:Ft,multi:!0,useValue:p}]}}static#e=this.\u0275fac=function(v){return new(v||h)(l.KVO(Li,8))};static#t=this.\u0275mod=l.$C({type:h});static#n=this.\u0275inj=l.G2t({})}return h})();function Jo(h){return"guarded"}function kd(h){return["disabled"===h.initialNavigation?ci(3,[{provide:l.hnV,multi:!0,useFactory:()=>{const y=(0,l.WQX)(Ut);return()=>{y.setUpLocationChangeListener()}}},{provide:Ps,useValue:2}]).\u0275providers:[],"enabledBlocking"===h.initialNavigation?ci(2,[{provide:Ps,useValue:0},{provide:l.hnV,multi:!0,deps:[l.zZn],useFactory:y=>{const p=y.get(Je.hj,Promise.resolve());return()=>p.then(()=>new Promise(v=>{const M=y.get(Ut),O=y.get(Gs);R(M,()=>{v(!0)}),y.get(va).afterPreactivation=()=>(v(!0),O.closed?(0,ee.of)(void 0):O),M.initialNavigation()}))}}]).\u0275providers:[]]}const Da=new l.nKC("")},4355:(tn,fe,W)=>{W.d(fe,{gB:()=>Q});var l=W(3953),j=W(1562),B=W(6354),ee=W(7343),he=W(6884);const se={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 pe{constructor(ae){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=ae.protocol;let we=ae.port;we||(function ue(q){return/^https:$/i.test(q)}(this.protocol)?we="443":function Ie(q){return/^http:$/i.test(q)}(this.protocol)&&(we="80")),this.domain=ae.hostname,this.port=parseInt(we,10),this.path=ae.pathname;const Ve=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?se[2087]:/^cpanel\./.test(this.domain)?se[2083]:/^webmail\./.test(this.domain)?se[2095]:se[we.toString()]||se[Ve[2]]||"whostmgr",this.securityToken=Ve[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const Gt=this.path.split("/");this.theme=Gt[3]}this.themePath="";let tt=this.securityToken+"/";this.isUnprotected?tt="/":this.isCpanel?tt+="frontend/"+this.theme+"/":this.isWebmail?tt+="webmail/"+this.theme+"/":this.isOther&&(tt="/"),this.themePath=tt,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 le(q){return q&&q.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(ae){return this.themePath+ae}buildFullPath(ae){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(ae)}buildTokenPath(ae){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+ae}}class Ae{get pathname(){return window.location.pathname}get port(){return window.location.port}get hostname(){return window.location.hostname}get protocol(){return window.location.protocol}}var je=W(9261),Le=W.n(je),ke=W(5972),Je=W.n(ke),ze=function(q){return q[q.Error=0]="Error",q[q.Warning=1]="Warning",q[q.Information=2]="Information",q[q.Unknown=3]="Unknown",q}(ze||{});const et={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class jt{constructor(ae,we){if(this.status=0,this.messages=[],this.meta=function Ge(q){return JSON.parse(JSON.stringify(q))}(et),this.options={keepUnprocessedResponse:!1},Le()(ae)||Je()(ae))throw new Error("The response was unexpectedly undefined or null");we&&(this.options=we),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(ae)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(ae){return this.messages.filter(we=>we.type===ae)}get errors(){return this._getMessages(ze.Error)}get warnings(){return this._getMessages(ze.Warning)}get infoMessages(){return this._getMessages(ze.Information)}_hasMessages(ae){return this.messages.filter(we=>we.type===ae).length>0}get hasErrors(){return this._hasMessages(ze.Error)}get hasWarnings(){return this._hasMessages(ze.Warning)}get hasInfoMessages(){return this._hasMessages(ze.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}class Lt{constructor(ae){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={},ae.chunk&&(this.isPaged=!0,this.record=parseInt(ae.chunk.start,10)||0,this.page=parseInt(ae.chunk.current,10)||0,this.pageSize=parseInt(ae.chunk.size,10)||0,this.totalPages=parseInt(ae.chunk.chunks,10)||0,this.totalRecords=parseInt(ae.chunk.records,10)||0),ae.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(ae.filter.filtered,10)||0);const we=new Set(["paginate","filter"]);Object.keys(ae).filter(Ve=>!we.has(Ve)).forEach(Ve=>{this.properties[Ve]=ae[Ve]})}}class ut extends jt{_parseStatus(ae){if(this.status=0,typeof ae.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(ae.result,10)}_parseMessages(ae){if(!ae.result){const we=[ae.reason];we&&we.length&&we.forEach(Ve=>{this.messages.push({type:ze.Error,message:Ve})})}}_reduce_list_data(ae){if("object"==typeof ae&&!(ae instanceof Array)){const we=Object.keys(ae);if(1===we.length){const Ve=ae[we[0]];Ve?Ve instanceof Array&&(ae=Ve):ae=[]}}return ae}constructor(ae,we){if(super(ae,we),!ae)throw new Error("Response object should be defined.");ae.metadata&&(this._parseStatus(ae.metadata),this._parseMessages(ae.metadata),this.meta=new Lt(ae.metadata)),this.data=this._reduce_list_data(ae.data)}}let Q=(()=>{class q{constructor(we){this.http=we}get(we){const Ve=we.generate({verb:ee.o.GET,encoder:new he.CY}),tt=this.packageUrl(Ve);return this.http.get(tt,{headers:this.packageHeaders(Ve)}).pipe((0,B.T)(this.packageResponseHandler(tt)))}post(we){const Ve=we.generate(),tt=this.packageUrl(Ve);return this.http.post(tt,Ve.body,{headers:this.packageHeaders(Ve)}).pipe((0,B.T)(this.packageResponseHandler(tt)))}packageHeaders(we){const Ve={};return we.headers.forEach(tt=>{Ve[tt.name]=tt.value}),new j.Lr(Ve)}packageUrl(we){return new pe(new Ae).buildTokenPath(we.url)}packageResponseHandler(we){return Ve=>{const tt=new ut(Ve);return tt.meta.properties.url=we,tt}}static#e=this.\u0275fac=function(Ve){return new(Ve||q)(l.KVO(j.Qq))};static#t=this.\u0275prov=l.jDH({token:q,factory:q.\u0275fac,providedIn:"root"})}return q})()},8658:(tn,fe,W)=>{W.d(fe,{B:()=>he});var l=W(3953),j=W(6381);const B=new l.nKC("window"),ee=ue=>new j.h(ue.CLDR,ue.LEXICON);let he=(()=>{class ue{static#e=this.\u0275fac=function(Ee){return new(Ee||ue)};static#t=this.\u0275mod=l.$C({type:ue});static#n=this.\u0275inj=l.G2t({providers:[{provide:B,useValue:window},{provide:j.h,useFactory:ee,deps:[B]}]})}return ue})()},9490:(tn,fe,W)=>{W.d(fe,{Ab:()=>Nr,Qg:()=>be,Sy:()=>xr,br:()=>De,eK:()=>We,pt:()=>si,sb:()=>Gn,tq:()=>Zn,uE:()=>rn,x6:()=>$e});var l=W(3953),j=W(177),B=W(1413),ee=W(5964),he=W(6977),ue=W(3366),Ie=W(3294),le=W(9417),Ee=W(8658),se=W(6381),pe=W(9969),Ae=W(728),je=W(3400);function Ve(x,ve){if(1&x){const I=l.RV6();l.j41(0,"button",9),l.bIt("click",function(){l.eBV(I);const oe=l.XpG(2);return l.Njj(oe.fireClose())}),l.j41(1,"span"),l.EFF(2,"\xd7"),l.k0s()()}if(2&x){const I=l.XpG(2);l.Y8G("id",I.closeButtonID)("title",I.closeLabel),l.BMQ("aria-label",I.closeLabel),l.R7$(),l.BMQ("aria-hidden",!0)}}function tt(x,ve){if(1&x){const I=l.RV6();l.j41(0,"button",10),l.bIt("click",function(){l.eBV(I);const oe=l.XpG(2);return l.Njj(oe.fireToggleMore())}),l.EFF(1),l.k0s()}if(2&x){const I=l.XpG(2);l.Y8G("id",I.moreButtonID),l.R7$(),l.SpI(" ",I.moreLabel," ")}}function Gt(x,ve){if(1&x&&(l.j41(0,"strong",11),l.EFF(1),l.k0s()),2&x){const I=l.XpG(2);l.R7$(),l.JRh(I.label)}}function wn(x,ve){if(1&x&&(l.j41(0,"span",12),l.EFF(1),l.k0s()),2&x){const I=l.XpG(2);l.Y8G("id",I.textMessageID),l.R7$(),l.SpI(" ",I.message," ")}}function Ye(x,ve){if(1&x&&(l.j41(0,"li")(1,"span",12),l.EFF(2),l.k0s()()),2&x){const I=ve.$implicit,$=ve.index,oe=l.XpG(3);l.R7$(),l.FS9("id",oe.textListID+"_"+$),l.R7$(),l.SpI(" ",I," ")}}function Bn(x,ve){if(1&x&&(l.j41(0,"ul",13),l.DNE(1,Ye,3,2,"li",14),l.k0s()),2&x){const I=l.XpG(2);l.R7$(),l.Y8G("ngForOf",I.alert.list)}}function ti(x,ve){if(1&x&&(l.j41(0,"div",1),l.DNE(1,Ve,3,4,"button",2)(2,tt,2,2,"button",3),l.nrm(3,"span"),l.j41(4,"div",4),l.DNE(5,Gt,2,1,"strong",5),l.j41(6,"span",6),l.DNE(7,wn,2,2,"span",7),l.k0s(),l.DNE(8,Bn,2,1,"ul",8),l.k0s()()),2&x){const I=l.XpG();l.ZvI("alert alert-",I.type," ng-hide"),l.Y8G("@openClose",I.animationClass),l.R7$(),l.Y8G("ngIf",I.showCloseButton),l.R7$(),l.Y8G("ngIf",I.showMoreButton),l.R7$(),l.HbH(I.icon),l.BMQ("aria-hidden",!0),l.R7$(2),l.Y8G("ngIf",I.hasLabel),l.R7$(2),l.Y8G("ngIf",I.message),l.R7$(),l.Y8G("ngIf",I.alert&&I.alert.list&&I.alert.list.length)}}function _n(x,ve){if(1&x){const I=l.RV6();l.j41(0,"div",6)(1,"cp-alert",7),l.bIt("close",function(){const oe=l.eBV(I).$implicit,He=l.XpG();return l.Njj(He.alertClosed(oe))}),l.k0s()()}if(2&x){const I=ve.$implicit;l.R7$(),l.Y8G("alert",I)}}function un(x,ve){if(1&x&&l.nrm(0,"div",8),2&x){const I=l.XpG();l.Y8G("ngClass",I.positionClasses)}}const $n=["searchInput"];function An(x,ve){if(1&x&&(l.j41(0,"span",6),l.EFF(1),l.k0s()),2&x){const I=l.XpG();l.R7$(),l.JRh(I.clearIconLabel)}}function hr(x,ve){if(1&x){const I=l.RV6();l.j41(0,"button",3),l.bIt("click",function(){const oe=l.eBV(I).$implicit,He=l.XpG();return l.Njj(He.onOptionClicked(oe))}),l.k0s()}if(2&x){const I=ve.$implicit,$=l.XpG();l.Y8G("disabled",$.disabled)("selected",$.isOptionSelected(I))("value",I)}}function Hn(x,ve){1&x&&l.EFF(0," >\n")}function dt(x,ve){1&x&&l.EFF(0," <\n")}function Te(x,ve){1&x&&l.EFF(0," >>\n")}function ii(x,ve){1&x&&l.EFF(0," <<\n")}class xn{static#e=this.defaultShowMore=!1;static#t=this.defaultAutoClosePeriod=0;static#n=this.defaultOptions={autoClosePeriod:xn.defaultAutoClosePeriod,list:[]};constructor(ve,I,$=xn.defaultOptions){this._message=ve,this._type=I;const oe=$.id?$.id:Math.random().toString(36).substr(2,9);this._id=oe,this._closable=null==$.isCloseable||$.isCloseable,this._autoClosePeriod=$.autoClosePeriod,this._list=$.list,this._showMore=$.showMore||xn.defaultShowMore,this._ts=null==$.createdOn?Date.now():$.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(ve){const{message:I,type:$,...oe}=ve;return new xn(I,$,oe)}}var Pt=function(x){return x[x.error=0]="error",x[x.success=1]="success",x[x.warning=2]="warning",x[x.information=3]="information",x}(Pt||{}),En=function(x){return x.add="add",x.remove="remove",x.clear="clear",x}(En||{});let rn=(()=>{class x{static#e=this.defaultGroup="__DEFAULT__";static#t=this.defaultSuccessOptions={autoClosePeriod:1e4};constructor(){this._alertEventsSource=new B.B,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add(I,$=x.defaultGroup){this._alerts[$]||(this._alerts[$]=[]);const oe=I instanceof xn?I:xn.makeAlert(I);if(this.list($).push(oe),this._alertEventsSource.next({type:En.add,group:$,alert:oe}),(0,l.naY)())switch(oe.type){case Pt.error:console.error(oe.message,oe);break;case Pt.warning:console.warn(oe.message,oe);break;default:console.log(oe.message,oe)}return oe}success(I,$=x.defaultGroup){return this.add(new xn(I,Pt.success,x.defaultSuccessOptions),$)}error(I,$=x.defaultGroup){return this.add({message:I,type:Pt.error},$)}info(I,$=x.defaultGroup){return this.add({message:I,type:Pt.information},$)}warn(I,$=x.defaultGroup){return this.add({message:I,type:Pt.warning},$)}removeById(I,$=x.defaultGroup){const oe=this.list($),He=oe.findIndex(pt=>pt.id===I,0);if(-1!==He){const pt=oe[He];oe.splice(He,1),this._alertEventsSource.next({type:En.remove,group:$,alert:pt})}}clear(I=x.defaultGroup){this._alerts[I]=[],this._alertEventsSource.next({type:En.clear,group:I})}list(I=x.defaultGroup){return null==this._alerts[I]&&(this._alerts[I]=[]),this._alerts[I]}static#n=this.\u0275fac=function($){return new($||x)};static#r=this.\u0275prov=l.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})();var bt=function(x){return x.inline="inline",x.topLeft="top-left",x.topMiddle="top-middle",x.topRight="top-right",x.bottomLeft="bottom-left",x.bottomMiddle="bottom-middle",x.bottomRight="bottom-right",x.middleLeft="middle-left",x.middleMiddle="middle-middle",x.middleRight="middle-right",x}(bt||{});const yt=bt.topRight,At=bt.topLeft;let si=(()=>{class x{static#e=this.\u0275fac=function($){return new($||x)};static#t=this.\u0275mod=l.$C({type:x});static#n=this.\u0275inj=l.G2t({imports:[j.MD]})}return x})();var Yt=function(x){return x.new="new",x.closed="closed",x.open="open",x}(Yt||{});let Hr=(()=>{class x{constructor(I){this.locale=I,this.close=new l.bkB,this.toggleMore=new l.bkB,this.animationClass=Yt.new}get icon(){switch(this.alert.type){case Pt.error:return"type-icon fas fa-times-circle";case Pt.warning:return"type-icon fas fa-exclamation-triangle";case Pt.information:return"type-icon fas fa-info-circle";case Pt.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case Pt.error:return"danger";case Pt.warning:return"warning";case Pt.information:return"info";case Pt.success:return"success"}}get hasLabel(){const I=this.label;return null!==I&&""!==I}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 Pt.success:this.label=this.locale.maketext("Success:");break;case Pt.error:this.label=this.locale.maketext("Error:");break;case Pt.information:this.label=this.locale.maketext("Information:");break;case Pt.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=Yt.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=Yt.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(...I){return I.join("_")}static#e=this.\u0275fac=function($){return new($||x)(l.rXU(se.h))};static#t=this.\u0275cmp=l.VBU({type:x,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($,oe){1&$&&l.DNE(0,ti,9,13,"div",0),2&$&&l.Y8G("ngIf",!oe.isClosed)},dependencies:[j.Sq,j.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,pe.hZ)("openClose",[(0,pe.wk)(Yt.new,(0,pe.iF)({opacity:0})),(0,pe.wk)(Yt.open,(0,pe.iF)({opacity:1})),(0,pe.wk)(Yt.closed,(0,pe.iF)({opacity:0,transform:"translateX(25%)"})),(0,pe.kY)(`${Yt.open} => ${Yt.closed}`,[(0,pe.i0)("0.25s")]),(0,pe.kY)(`${Yt.new} => ${Yt.open}`,[(0,pe.i0)("0.25s")]),(0,pe.kY)(`${Yt.closed} => ${Yt.open}`,[(0,pe.i0)("0.25s")])])]}})}return x})(),zn=(()=>{class x{static#e=this.\u0275fac=function($){return new($||x)};static#t=this.\u0275mod=l.$C({type:x});static#n=this.\u0275inj=l.G2t({imports:[j.MD,Ae.wb,Ee.B]})}return x})(),yr=(()=>{class x{constructor(I){this.locale=I}get position(){return this.locale.isLtr?yt:At}static#e=this.\u0275fac=function($){return new($||x)(l.KVO(se.h))};static#t=this.\u0275prov=l.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})(),Nr=(()=>{class x{static#e=this.positionPrefix="position-";constructor(I,$){this._alertService=I,this._positionService=$,this.alerts=this.alerts?this.alerts:[]}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?x.positionPrefix+bt.inline.toString():x.positionPrefix+this.position.toString()}get position(){return this._position.toString()}set position(I){this._position=((x,ve=bt.topRight)=>{if(x){const I=(x=>{const ve=Object.keys(bt),$=Object.values(bt).indexOf(x);return-1!==$?ve[$]:(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)})(x);if(I)return bt[I]}return ve})(I)}alertClosed(I){this._alertService.removeById(I.id,this.group)}ngOnInit(){this.group||(this.group=rn.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach($=>this._addAlert($)),this._groupEvents=this._alertService.alertEvents.pipe((0,ee.p)($=>$.group===this.group)),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById(I){return this.alerts.findIndex($=>$.id===I)}_addAlert(I){return this.alerts.push(I),this.alerts}_removeAlert(I){const $=this._findAlertIndexById(I.id);return $>-1&&(this.alerts.splice($,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent(I){switch(I.type){case En.add:this._addAlert(I.alert);break;case En.clear:this._clearAlerts();break;case En.remove:this._removeAlert(I.alert)}}static#t=this.\u0275fac=function($){return new($||x)(l.rXU(rn),l.rXU(yr))};static#n=this.\u0275cmp=l.VBU({type:x,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($,oe){1&$&&(l.j41(0,"div")(1,"div",2,0)(3,"div",3,1),l.DNE(5,_n,2,1,"div",4),l.k0s()(),l.DNE(6,un,1,1,"div",5),l.k0s()),2&$&&(l.R7$(),l.Y8G("ngClass",oe.positionClasses),l.R7$(4),l.Y8G("ngForOf",oe.alerts),l.R7$(),l.Y8G("ngIf",oe.hasAlerts))},dependencies:[j.YU,j.Sq,j.bT,Hr],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 x})(),Gn=(()=>{class x{static#e=this.\u0275fac=function($){return new($||x)};static#t=this.\u0275mod=l.$C({type:x});static#n=this.\u0275inj=l.G2t({imports:[j.MD,zn]})}return x})(),xr=(()=>{class x{constructor(I){this.locale=I,this.autofocus=!1,this.debounce=250,this.disabled=!1,this.label="Search",this.placeholder="Search",this.valueChange=new l.bkB,this._searchSubject=new B.B,this._unsubscribe=new B.B,delete this.label,delete this.placeholder}get value(){return this._value}set value(I){this._value=I,this._searchSubject.next(I)}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,he.Q)(this._unsubscribe),(0,ue.B)(this.debounce),(0,Ie.F)()).subscribe(I=>{this.valueChange.emit(I)})}ngAfterViewInit(){this.autofocus&&this.searchInput.nativeElement.focus()}ngOnDestroy(){this._unsubscribe.next(),this._unsubscribe.complete()}clearValue(){this.value=""}static#e=this.\u0275fac=function($){return new($||x)(l.rXU(se.h))};static#t=this.\u0275cmp=l.VBU({type:x,selectors:[["cp-search"]],viewQuery:function($,oe){if(1&$&&l.GBs($n,5),2&$){let He;l.mGM(He=l.lsd())&&(oe.searchInput=He.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($,oe){if(1&$){const He=l.RV6();l.j41(0,"div",1)(1,"input",2,0),l.mxI("ngModelChange",function(vt){return l.eBV(He),l.DH7(oe.value,vt)||(oe.value=vt),l.Njj(vt)}),l.bIt("keyup.esc",function(){return l.eBV(He),l.Njj(oe.clearValue())}),l.k0s(),l.j41(3,"span",3),l.bIt("click",function(){return l.eBV(He),l.Njj(oe.clearValue())}),l.nrm(4,"span",4),l.DNE(5,An,2,1,"span",5),l.k0s()()}2&$&&(l.R7$(),l.Mz_("id","",oe.id,"-search-input"),l.R50("ngModel",oe.value),l.Y8G("disabled",oe.disabled)("placeholder",oe.placeholder)("title",oe.label),l.BMQ("aria-label",oe.label)("list",oe.list),l.R7$(2),l.Mz_("id","",oe.id,"-search-input-addon"),l.R7$(),l.Mz_("id","",oe.id,"-search-input-icon"),l.Y8G("ngClass",(null==oe.value?null:oe.value.length)>0?"fas fa-times":"fas fa-search"),l.R7$(),l.Y8G("ngIf",(null==oe.value?null:oe.value.length)>0))},dependencies:[j.YU,j.bT,le.me,le.BC,le.vS],changeDetection:0})}return x})(),Zn=(()=>{class x{static#e=this.\u0275fac=function($){return new($||x)};static#t=this.\u0275mod=l.$C({type:x});static#n=this.\u0275inj=l.G2t({imports:[j.MD,le.YN,Ee.B]})}return x})(),U=(()=>{class x{constructor(I,$=[]){this.selectorName="",this.requiredInputs=["id"],this.requiredInputs=this.requiredInputs.concat($),this.selectorName=I.nativeElement.tagName.toLowerCase()}ngOnInit(){this.requiredInputs.forEach(I=>{if(!this[I])throw new Error(`"${I}" must be defined for "${this.selectorName}"`)}),this._initiate()}_initiate(){}static#e=this.\u0275fac=function($){l.QTQ()};static#t=this.\u0275dir=l.FsC({type:x,inputs:{id:"id"}})}return x})();var k=function(x){return x[x.all=-1]="all",x}(k||{});const te="pageSizeOption";let ye=(()=>{class x{constructor(I){this.locale=I,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===k.all?(this.label=this.locale.maketext("All"),this.description=this.locale.maketext("Show all entries"),this.id=`${te}_all`):(this.label=this.value.toString(),this.description=this.locale.maketext("Show [quant,_1,entry per page,entries per page]",this.value),this.id=`${te}_${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.\u0275fac=function($){return new($||x)(l.rXU(se.h))};static#t=this.\u0275dir=l.FsC({type:x,selectors:[["","cpPageSizeOption",""]],hostVars:6,hostBindings:function($,oe){2&$&&(l.Mr5("id",oe.id)("innerText",oe.label),l.BMQ("aria-label",oe.description)("aria-pressed",oe.ariaPressed),l.HbH(oe.cssClasses))},inputs:{value:"value",selected:"selected"},features:[l.OA$]})}return x})(),De=(()=>{class x extends U{static#e=this.defaultPageSizeOptions=[20,50,100,500];static#t=this.defaultPageSize=20;constructor(I,$){super(I),this.locale=$,this.selectedPageSize=x.defaultPageSize,this.pageSizeOptions=x.defaultPageSizeOptions,this.showOptionAll=!1,this.disabled=!1,this.optionSelected=new l.bkB,this.displayedPageSizeOptions=[]}isOptionSelected(I){return I===this.selectedPageSize}onOptionClicked(I){this._dispatchChange(I)}ngOnChanges(){this._buildOptions()}_initiate(){this._buildOptions()}_buildOptions(){const I=this.pageSizeOptions.slice(0).sort((oe,He)=>oe-He);this.showOptionAll&&I.push(k.all),-1!==I.indexOf(this.selectedPageSize)?this.displayedPageSizeOptions=I:this._dispatchChange(I[0])}_dispatchChange(I){this.optionSelected.emit(I)}static#n=this.\u0275fac=function($){return new($||x)(l.rXU(l.aKT),l.rXU(se.h))};static#r=this.\u0275cmp=l.VBU({type:x,selectors:[["cp-page-size-selector"]],inputs:{selectedPageSize:"selectedPageSize",pageSizeOptions:"pageSizeOptions",showOptionAll:"showOptionAll",disabled:"disabled"},outputs:{optionSelected:"optionSelected"},features:[l.Vt3,l.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($,oe){1&$&&(l.j41(0,"div")(1,"div",0),l.EFF(2),l.k0s(),l.j41(3,"div",1),l.DNE(4,hr,1,3,"button",2),l.k0s()()),2&$&&(l.R7$(2),l.SpI(" ",oe.locale.maketext("Entries Per Page")," "),l.R7$(2),l.Y8G("ngForOf",oe.displayedPageSizeOptions))},dependencies:[j.Sq,ye],styles:[".page-size-buttons[_ngcontent-%COMP%]{margin-top:3px;display:flex}"]})}return x})(),be=(()=>{class x{static#e=this.\u0275fac=function($){return new($||x)};static#t=this.\u0275mod=l.$C({type:x});static#n=this.\u0275inj=l.G2t({imports:[j.MD,Ee.B]})}return x})(),We=(()=>{class x extends U{static#e=this.defaultMaxPagesVisible=5;static#t=this.firstPageIndex=1;constructor(I,$){super(I),this.locale=$,this.maxPagesVisible=x.defaultMaxPagesVisible,this.selectedPage=x.firstPageIndex,this.pageSize=De.defaultPageSize,this.disabled=!1,this.pageChanged=new l.bkB}onPageChanged(I){this._dispatchChange(I)}onNumPagesChanged(I){this._dispatchChange(this.selectedPage)}_initiate(){this._dispatchChange(this.selectedPage)}_dispatchChange(I){const $=this.pageSize*(I-1),oe=Math.min($+this.pageSize,this.totalItems);this.pageChanged.emit({page:I,firstItem:$,lastItem:oe}),this.itemsDetails=this.locale.maketext("[_1] - [_2] of [_3]",$+1,oe,this.totalItems)}static#n=this.\u0275fac=function($){return new($||x)(l.rXU(l.aKT),l.rXU(se.h))};static#r=this.\u0275cmp=l.VBU({type:x,selectors:[["cp-pagination"]],inputs:{maxPagesVisible:"maxPagesVisible",totalItems:"totalItems",selectedPage:"selectedPage",pageSize:"pageSize",disabled:"disabled"},outputs:{pageChanged:"pageChanged"},features:[l.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($,oe){if(1&$){const He=l.RV6();l.j41(0,"div",4)(1,"pagination",5),l.mxI("ngModelChange",function(vt){return l.eBV(He),l.DH7(oe.selectedPage,vt)||(oe.selectedPage=vt),l.Njj(vt)}),l.bIt("pageChanged",function(vt){return l.eBV(He),l.Njj(oe.onPageChanged(vt.page))})("numPages",function(vt){return l.eBV(He),l.Njj(oe.onNumPagesChanged(vt))}),l.k0s(),l.j41(2,"p",6),l.EFF(3),l.k0s()(),l.DNE(4,Hn,1,0,"ng-template",null,0,l.C5r)(6,dt,1,0,"ng-template",null,1,l.C5r)(8,Te,1,0,"ng-template",null,2,l.C5r)(10,ii,1,0,"ng-template",null,3,l.C5r)}if(2&$){const He=l.sdS(5),pt=l.sdS(7),vt=l.sdS(9),Jn=l.sdS(11);l.Y8G("id",oe.id),l.R7$(),l.Mz_("id","",oe.id,"_ngx_paginator"),l.Y8G("totalItems",oe.totalItems)("maxSize",oe.maxPagesVisible)("disabled",oe.disabled)("itemsPerPage",oe.pageSize),l.R50("ngModel",oe.selectedPage),l.Y8G("boundaryLinks",!0)("customFirstTemplate",Jn)("customLastTemplate",vt)("customPreviousTemplate",pt)("customNextTemplate",He),l.R7$(2),l.SpI(" ",oe.itemsDetails," ")}},dependencies:[le.BC,le.vS,je.eK],styles:[".pagination-item-details[_ngcontent-%COMP%]{margin-top:-20px}"]})}return x})(),$e=(()=>{class x{static#e=this.\u0275fac=function($){return new($||x)};static#t=this.\u0275mod=l.$C({type:x});static#n=this.\u0275inj=l.G2t({imports:[j.MD,le.YN,je.x6.forRoot(),Ee.B]})}return x})()}}]);
Back to Directory File Manager