Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/nginx-manager/vendor-c0d76f48.min.js
"use strict";(self.webpackChunknginx_manager=self.webpackChunknginx_manager||[]).push([[128],{7343:(qt,oe,$)=>{$.d(oe,{o:()=>d});var d=function(x){return x[x.GET=0]="GET",x[x.HEAD=1]="HEAD",x[x.POST=2]="POST",x[x.PUT=3]="PUT",x[x.DELETE=4]="DELETE",x[x.CONNECT=5]="CONNECT",x[x.OPTIONS=6]="OPTIONS",x[x.TRACE=7]="TRACE",x[x.PATCH=8]="PATCH",x}(d||{})},6802:(qt,oe,$)=>{$.d(oe,{e:()=>x}),$(2584);class x{constructor(ie,te){if(!ie)throw new Error("You must provide a name when creating a name/value argument");this.name=ie,this.value=te}}},6884:(qt,oe,$)=>{$.d(oe,{uM:()=>Ke,CY:()=>Ne});var d=$(9261),x=$.n(d),G=$(5972),K=$.n(G),ie=$(3705),te=$.n(ie),we=$(9336),ee=$.n(we),fe=$(8124),J=$.n(fe),z=$(9812),Se=$.n(z),Ae=$(9970),Te=$.n(Ae);function Pe(rt){if(x()(rt)||K()(rt)||te()(rt)||ee()(rt)||J()(rt))return!0;if(!Te()(rt)&&!Se()(rt))return!1;for(const Dt in rt)if(!Pe(rt[Dt]))return!1;return!0}class Ne{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(Dt,It,ut){if(!Dt)throw new Error("Name must have a non-empty value");return`${Dt}=${encodeURIComponent(It.toString())}`+(ut?"":this.recordSeparator)}}class Ke{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(Dt,It,ut){if(!Dt)throw new Error("Name must have a non-empty value");if(!Pe(It))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(Dt)+":"+JSON.stringify(It)+(ut?"":this.recordSeparator)}}},8391:(qt,oe,$)=>{$.d(oe,{d:()=>x,t:()=>d});var d=function(G){return G[G.Contains=0]="Contains",G[G.Begins=1]="Begins",G[G.Ends=2]="Ends",G[G.Matches=3]="Matches",G[G.Equal=4]="Equal",G[G.NotEqual=5]="NotEqual",G[G.LessThan=6]="LessThan",G[G.LessThanUnlimited=7]="LessThanUnlimited",G[G.GreaterThan=8]="GreaterThan",G[G.GreaterThanUnlimited=9]="GreaterThanUnlimited",G[G.Defined=10]="Defined",G[G.Undefined=11]="Undefined",G}(d||{});class x{constructor(K,ie,te){if(!K)throw new Error("You must define a non-empty column name.");this.column=K,this.operator=ie,this.value=te}}},686:(qt,oe,$)=>{$.d(oe,{is:()=>G});const x=Number.POSITIVE_INFINITY;class G{constructor(ie=1,te=20){if(ie<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(te<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=ie,this.pageSize=te}all(){return this.pageSize===x}}},2584:(qt,oe,$)=>{function d(K){return K?"1":"0"}$.d(oe,{x:()=>d})},6153:(qt,oe,$)=>{$.d(oe,{FU:()=>G,UE:()=>d,r3:()=>x});var d=function(K){return K[K.Ascending=0]="Ascending",K[K.Descending=1]="Descending",K}(d||{}),x=function(K){return K[K.Lexicographic=0]="Lexicographic",K[K.Ipv4=1]="Ipv4",K[K.Numeric=2]="Numeric",K[K.NumericZeroAsMax=3]="NumericZeroAsMax",K}(x||{});class G{constructor(ie,te=d.Ascending,we=x.Lexicographic){if(!ie)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=ie,this.direction=te,this.type=we}}},9323:(qt,oe,$)=>{$.d(oe,{m:()=>Ht,R:()=>pt});var d=$(193),x=$.n(d),G=$(2584),K=$(6153),ie=$(8391),te=$(6802),we=$(686);class ee{constructor(W=[]){this.headers=W}push(W){this.headers.push(W)}forEach(W,me){this.headers.forEach(W,me)}toArray(){const W=[];return this.headers.forEach((me=>W.push({name:me.name,value:me.value}))),W}toObject(){return this.headers.reduce(((W,me)=>(W[me.name]=me.value,W)),{})}}class fe{constructor(W){this._header=W}get name(){return this._header.name}get value(){return this._header.value}}class J extends Error{constructor(W){super(W),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,J.prototype)}}class z extends Error{constructor(W){super(W),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,z.prototype)}}class Se extends fe{constructor(W,me){if(!W)throw new J("You must pass a valid token to the constructor.");if(!me&&!/^.+[:]/.test(W))throw new J("You must pass a cPanel username associated with the cPanel API token.");if(!me&&!/[:].+$/.test(W))throw new J("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${me?me+":":""}${W}`})}}Error,Error;class qe{get usePager(){return this._usePager}constructor(W){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new we.is,this.headers=new ee,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,W&&(this.method=W.method,W.namespace&&(this.namespace=W.namespace),W.arguments&&W.arguments.forEach((me=>{this.addArgument(me)})),W.sorts&&W.sorts.forEach((me=>{this.addSort(me)})),W.filters&&W.filters.forEach((me=>{this.addFilter(me)})),W.columns&&W.columns.forEach((me=>this.addColumn(me))),W.pager&&this.paginate(W.pager),this.config=W.config?W.config:this.defaultConfig,W.headers&&W.headers.forEach((me=>{this.addHeader(me)})))}addArgument(W){return this.arguments.push(W instanceof te.e?W:new te.e(W.name,W.value)),this}addSort(W){return this.sorts.push(W instanceof K.FU?W:new K.FU(W.column,W.direction,W.type)),this}addFilter(W){return this.filters.push(W instanceof ie.d?W:new ie.d(W.column,W.operator,W.value)),this}addColumn(W){return this.columns.push(W),this}addHeader(W){return this.headers.push(W instanceof fe?W:new fe(W)),this}paginate(W){return this.pager=W instanceof we.is?W:new we.is(W.page,W.pageSize||20),this._usePager=!0,this}}var Ne=$(7343);const rt=new class Ke{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[Ne.o.GET,Ne.o.DELETE,Ne.o.HEAD].forEach((W=>{const me=Ne.o[W].toString();this.map[me]={verb:me,dataInBody:!1}})),[Ne.o.POST,Ne.o.PUT,Ne.o.PATCH].forEach((W=>{const me=Ne.o[W].toString();this.map[me]={verb:me,dataInBody:!0}}))}getRule(W){const me="string"==typeof W?W:Ne.o[W].toString();let Xe=this.map[me];return Xe||(Xe=this.map.DEFAULT),Xe}};var Dt=$(6884),It=$(2354),ut=$.n(It),pt=function(Je){return Je.JsonApi="json-api",Je.XmlApi="xml-api",Je}(pt||{});class Ht extends qe{addHeader(W){if(W instanceof Se)throw new z("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(W),this}_build(W,me){let Xe="";return W.forEach(((ne,q,ae)=>{Xe+=me.encode(ne.name,ne.value,q===ae.length-1)})),me.separatorStart+Xe+me.separatorEnd}_make_whm_api_fieldspec_from_number(W){return ut()("",Math.floor(W/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(W%26)}_generateArguments(W){W.push({name:"api.version",value:1}),this.arguments.forEach((Xe=>W.push(Xe)))}_generateSorts(W){this.sorts.forEach(((me,Xe)=>{0===Xe&&W.push({name:"api.sort.enable",value:G.x(!0)});const ne=`api.sort.${this._make_whm_api_fieldspec_from_number(Xe)}`;W.push({name:`${ne}.field`,value:me.column}),W.push({name:`${ne}.reverse`,value:G.x(me.direction!==K.UE.Ascending)}),W.push({name:`${ne}.method`,value:x()(K.r3[me.type])})}))}_lookupFilterOperator(W){switch(W){case ie.t.GreaterThanUnlimited:return"gt_handle_unlimited";case ie.t.GreaterThan:return"gt";case ie.t.LessThanUnlimited:return"lt_handle_unlimited";case ie.t.LessThan:return"lt";case ie.t.Equal:return"eq";case ie.t.Begins:return"begins";case ie.t.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${ie.t[W]} for WHM API 1`)}}_generateFilters(W){this.filters.forEach(((me,Xe)=>{0===Xe&&(W.push({name:"api.filter.enable",value:G.x(!0)}),W.push({name:"api.filter.verbose",value:G.x(!0)}));const ne=`api.filter.${this._make_whm_api_fieldspec_from_number(Xe)}`;W.push({name:`${ne}.field`,value:me.column}),W.push({name:`${ne}.type`,value:this._lookupFilterOperator(me.operator)}),W.push({name:`${ne}.arg0`,value:me.value})}))}_translatePageToStart(W){return(W.page-1)*W.pageSize+1}_generatePagination(W){if(!this.usePager)return;const me=this.pager.all();W.push({name:"api.chunk.enable",value:G.x(!0)}),W.push({name:"api.chunk.verbose",value:G.x(!0)}),W.push({name:"api.chunk.start",value:me?-1:this._translatePageToStart(this.pager)}),me||W.push({name:"api.chunk.size",value:this.pager.pageSize})}constructor(W,me){if(super(me),this.apiType=pt.JsonApi,W!=pt.JsonApi&&W!=pt.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=W,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}generate(W){W||(W={verb:Ne.o.POST,encoder:this.config.json?new Dt.uM:new Dt.CY}),W.encoder||(W.encoder=this.config.json?new Dt.uM:new Dt.CY);const me=rt.getRule(W.verb),Xe={headers:new ee([{name:"Content-Type",value:W.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},ne=[];this._generateArguments(ne),this._generateSorts(ne),this._generateFilters(ne),this._generatePagination(ne);const q=this._build(ne,W.encoder);return me.dataInBody?Xe.body=q:Xe.url+=W.verb===Ne.o.GET?`?${q}`:q,this.headers.forEach((ae=>{Xe.headers.push({name:ae.name,value:ae.value})})),Xe}}},6381:(qt,oe,$)=>{oe.h=void 0;const x=$(2623);Object.defineProperty(oe,"h",{enumerable:!0,get:function(){return x.Locale}})},7268:(qt,oe)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.CLDR=void 0,oe.CLDR=class ${constructor(x){this.rawData=x,this.validateCLDR(this.rawData)}validateCLDR(x){if(!x)throw new Error("CLDR data cannot be null");if(!x.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(x,"functions")||Object.prototype.hasOwnProperty.call(x,"get_plural_form")||"function"!=typeof x.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(x,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(x,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(x.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(x.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(x.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(x.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(x,...G){return(0,this.rawData.functions.get_plural_form)(x,...G)}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:(qt,oe,$)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.Locale=void 0;const d=$(7367),x=$(5736),G=$(8994),K=$(3365),ie=$(7268);oe.Locale=class te{constructor(ee,fe={}){this.lexicon=fe,this._cldr=new ie.CLDR(ee)}maketext(ee,...fe){return(0,d.maketext)({cldr:this._cldr,lexicon:this.lexicon,template:ee,args:fe})}localDatetime(ee,fe){return this._datetimeWrapper(x.local_datetime,ee,fe)}datetime(ee,fe){return this._datetimeWrapper(x.datetime,ee,fe)}_datetimeWrapper(ee,fe,J){return ee({cldr:this._cldr,args:[fe,J]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(ee,fe){return this._formatNumber(G.numf,ee,fe)}format_bytes(ee,fe){return this._formatNumber(G.format_bytes,ee,fe)}_formatNumber(ee,...fe){return this._callCLDRFunc(ee,fe)}list_and(...ee){return this._callCLDRFunc(K.list_and,ee)}list_and_quoted(...ee){return this._callCLDRFunc(K.list_and_quoted,ee)}list_or(...ee){return this._callCLDRFunc(K.list_or,ee)}list_or_quoted(...ee){return this._callCLDRFunc(K.list_or_quoted,ee)}_callCLDRFunc(ee,fe){return ee({cldr:this._cldr,args:fe})}}},6049:(qt,oe,$)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.asis=void 0;const d=$(2500);oe.asis=function x({args:[G,...K]}){if(!G||K.length>0||"string"!=typeof G)throw new Error("asis function accepts one non translatable string.");return(G=G.replace(/chr\((\d+)\)/g,(function(ie,te){return d.functions.chr(Number(te))}))).replace(/amp\(\)/g,(function(){return d.functions.amp()}))}},6073:(qt,oe)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.boolean=void 0,oe.boolean=function $({args:[d,x,G,K]}){if(null==x||0===x.length||null==G||0===G.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof d<"u"&&d?x:K&&null==d?K:G)}},5496:(qt,oe)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.comment=void 0,oe.comment=function $({args:[d]}){return""}},5736:(qt,oe,$)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.local_datetime=oe.datetime=oe.dateToLocalDayNum=void 0;const d=$(7268),x=function(J){const z=J.getUTCDay()-1;return z<0?6:z},G=[7,1,2,3,4,5,6];function K(J,z){return(G[J.getUTCDay()]+7-z)%7+1}oe.dateToLocalDayNum=K;const ie=function(J,z,Se){let Ae="",Te=0;return z=z||0,Se=String(void 0===Se?" ":Se),Te=z-String(J).length,Te>0&&(Ae=[...Array(Te)].map(String.prototype.valueOf,Se).join("")),Ae+J};function te({cldr:J,args:[z=new Date,Se],tzString:Ae="UTC"}){if("number"==typeof z&&/^-?\d+$/.test(z.toString())&&(z=new Date(1e3*z)),!(z instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(J instanceof d.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Te=J.getDateTimeInfo();return"string"==typeof Se&&/^(?:date|time|datetime|special)_format_/.test(Se)&&(Se=Te[Se]),Se||(Se=Te.date_format_long),Se.replace(/('[^']+')|(([a-zA-Z])\3*)/g,(function(Pe,qe,Ne){return qe?function we(J){return J.substr(1,J.length-2)}(qe):function ee(J,z,Se,Ae){switch(Se){case"yy":return Math.abs(J.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(J.getUTCFullYear()));case"MMMMM":return z.month_format_narrow[J.getUTCMonth()];case"LLLLL":return z.month_stand_alone_narrow[J.getUTCMonth()];case"MMMM":return z.month_format_wide[J.getUTCMonth()];case"LLLL":return z.month_stand_alone_wide[J.getUTCMonth()];case"MMM":return z.month_format_abbreviated[J.getUTCMonth()];case"LLL":return z.month_stand_alone_abbreviated[J.getUTCMonth()];case"MM":case"LL":return ie((J.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(J.getUTCMonth()+1);case"EEEE":return z.day_format_wide[x(J)];case"EEE":case"EE":case"E":return z.day_format_abbreviated[x(J)];case"EEEEE":return z.day_format_narrow[x(J)];case"cccc":return z.day_stand_alone_wide[x(J)];case"ccc":return z.day_stand_alone_abbreviated[x(J)];case"cc":case"c":return String(K(J,Number(z.first_day_of_week)));case"ccccc":return z.day_stand_alone_narrow[x(J)];case"dd":return ie(J.getUTCDate().toString(),2,"0");case"d":return String(J.getUTCDate());case"h":case"hh":{let Te=J.getUTCHours();Te>12&&(Te-=12),0===Te&&(Te=12);const Pe="hh"===Se?ie(Te.toString(),2,"0"):Te;return String(Pe)}case"H":return String(J.getUTCHours());case"HH":return ie(J.getUTCHours().toString(),2,"0");case"m":return String(J.getUTCMinutes());case"mm":return ie(J.getUTCMinutes().toString(),2,"0");case"s":return String(J.getUTCSeconds());case"ss":return ie(J.getUTCSeconds().toString(),2,"0");case"a":return J.getUTCHours()<12?z.am_pm_abbreviated[0]:z.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return Ae;case"G":case"GG":case"GGG":return z.era_abbreviated[J.getUTCFullYear()<0?0:1];case"GGGGG":return z.era_narrow[J.getUTCFullYear()<0?0:1];case"GGGG":return z.era_wide[J.getUTCFullYear()<0?0:1]}return Se}(z,Te,Ne,Ae)}))}oe.datetime=te,oe.local_datetime=function fe({cldr:J,args:[z=new Date,Se]}){if("number"==typeof z&&/^-?\d+$/.test(z.toString())&&(z=new Date(1e3*z)),!(z instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(J instanceof d.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Ae=z.getTimezoneOffset();(z=new Date(z)).setMinutes(z.getMinutes()-Ae);const Te=Ae>0?"-":"+",Pe=Math.floor(Math.abs(Ae)/60),qe=Math.abs(Ae%60);return te({cldr:J,args:[z,Se],tzString:"GMT"+Te+ie(Pe.toString(),2,"0")+ie(qe.toString(),2,"0")})}},6397:(qt,oe,$)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.functions=void 0;const d=$(6049),x=$(2500),G=$(5496),K=$(6073),ie=$(8994),te=$(5736),we=$(3365);oe.functions={asis:d.asis,output:x.output,comment:G.comment,boolean:K.boolean,numf:ie.numf,numerate:ie.numerate,quant:ie.quant,format_bytes:ie.format_bytes,datetime:te.datetime,local_datetime:te.local_datetime,list_and:we.list_and,list_or:we.list_or,list_or_quoted:we.list_or_quoted,list_and_quoted:we.list_and_quoted}},3365:(qt,oe)=>{function d(we,ee,...fe){let J=fe.slice();switch(1===J.length&&Array.isArray(J[0])&&(J=J[0].slice()),(typeof J>"u"||0===J.length)&&(J=[""]),J=J.map((z=>function $(we,ee){const fe=we.getDelimiters();return fe&&Object.prototype.hasOwnProperty.call(fe,"quotation_start")&&Object.prototype.hasOwnProperty.call(fe,"quotation_end")?fe.quotation_start+ee+fe.quotation_end:ee}(we,z))),ee){case"list_and":return ie({cldr:we,args:J});case"list_or":return te({cldr:we,args:J});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function K(we,ee,...fe){let J=fe.slice();1===J.length&&Array.isArray(J[0])&&(J=J[0].slice());const z=J.length;let Se,Ae,Te,Pe;try{Se=we.getFormats()[ee]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const qe=function(Ne,Ke){switch(Ke){case"0":return Te;case"1":return J[Pe++]}};switch(z){case 0:return"";case 1:return String(J[0]);default:if(Te=2===z?Se[2]:Se.start,Te=Te.replace(/\{([01])\}/g,(function(Ne,Ke){return J[Ke]})),2===z)return Te;for(Pe=2;Pe<z;)Ae=Se[Pe===z-1?"end":"middle"],Te=Ae.replace(/\{([01])\}/g,qe);return Te}}function ie({cldr:we,args:[...ee]}){return K(we,"list",...ee)}function te({cldr:we,args:[...ee]}){return K(we,"list_or",...ee)}Object.defineProperty(oe,"__esModule",{value:!0}),oe.list_or=oe.list_and=oe.list_or_quoted=oe.list_and_quoted=void 0,oe.list_and_quoted=function x({cldr:we,args:[...ee]}){return d(we,"list_and",...ee)},oe.list_or_quoted=function G({cldr:we,args:[...ee]}){return d(we,"list_or",...ee)},oe.list_and=ie,oe.list_or=te},2500:(qt,oe,$)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.functions=oe.output=void 0;const d=$(9546),x=$(2353);oe.output=function G({args:[K,...ie]}){if(ie&&"string"==typeof ie[0]&&(ie[0]=ie[0].replace(/chr\((\d+)\)/g,(function(te,we){return oe.functions.chr(Number(we))})),ie[0]=ie[0].replace(/amp\(\)/g,(function(){return oe.functions.amp()}))),"function"==typeof oe.functions[K])return oe.functions[K](...ie);throw new Error(`Locale output function '${K}' is not implemented.`)},oe.functions={amp:()=>(0,d.htmlEscape)("&"),apos:()=>(0,d.htmlEscape)("'"),quot:()=>(0,d.htmlEscape)('"'),underline:K=>`<u>${K}</u>`,strong:K=>`<strong>${K}</strong>`,em:K=>`<em>${K}</em>`,abbr:(K,ie)=>`<abbr title="${ie}">${K}</abbr>`,acronym:(K,ie)=>`<abbr title="${ie}" class="initialism">${K}</abbr>`,class:(K,...ie)=>`<span class="${ie.join(" ")}">${K}</span>`,chr(K){if("string"==typeof K&&(K=Number(K)),"number"!=typeof K||isNaN(K))throw new Error("chr needs a number as argument");return(0,d.htmlEscape)(String.fromCharCode(K))},url(K,...ie){let te,we;if("object"==typeof ie[ie.length-1])if(te=ie[ie.length-1],2===ie.length){if(te.html)throw new Error("Cannot provide both text and configuration with html attribute");we=ie[0]}else te&&te.html?(we=te.html,delete te.html):we=K;else ie.length%2==0?(te=(0,x.listToObject)(...ie),te&&"html"in te&&""!==te.html?(we=te.html,delete te.html):we=K):(we=ie.shift(),te=(0,x.listToObject)(...ie));"_type"in te&&"offsite"===te._type&&(te.class="offsite",te.target="_blank",delete te._type);let ee=`<a href="${K}"`;if("object"==typeof te)for(const fe in te)Object.prototype.hasOwnProperty.call(te,fe)&&(ee+=` ${fe}="${te[fe]}"`);return ee+=`>${we}</a>`,ee}}},8994:(qt,oe,$)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.format_bytes=oe.numf=oe.quant=oe.numerate=void 0;const d=$(7268);function G({cldr:we,args:[ee,...fe]}){if(!(we instanceof d.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let J,z=3;ee instanceof Array?(z=ee[1],J=ee[0]):J=ee;const Se=we.getPluralForm(J,...fe),Ae=Se[0]?Se[0]:fe[fe.length-1];if(Se&&Se.length>=2&&Se[1])return Ae;const Pe=ie({cldr:we,args:[J,z]});return-1!==Ae.indexOf("%s")?Ae.replace(/%s/g,Pe):we.isRtl()?Ae+" "+Pe:Pe+" "+Ae}function ie({cldr:we,args:[ee,fe=6]}){if(!(we instanceof d.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(ee.toString()))return String(ee);const{decimalFormat:J,decimalGroup:z,decimalDecimal:Se}=function K(we){const ee={},fe=we.getFormats();return Object.prototype.hasOwnProperty.call(fe,"decimal")&&(ee.decimalFormat=fe.decimal),Object.prototype.hasOwnProperty.call(fe,"_decimal_format_group")&&(ee.decimalGroup=fe._decimal_format_group),Object.prototype.hasOwnProperty.call(fe,"_decimal_format_decimal")&&(ee.decimalDecimal=fe._decimal_format_decimal),ee}(we);if(!J||!z||!Se)throw new Error("CLDR Data is missing information related to formatting decimals.");const Ae=ee<0;ee=Math.abs(ee);let Pe,qe,Te=Math.floor(ee);/(?!')\.(?!')/.test(ee.toString())&&(Pe=String(ee).replace(/^[^.]+/,"0"),Pe=Number(Pe).toFixed(fe),/^1/.test(Pe)?(Te++,ee=Te,Pe=void 0):Pe=Pe.replace(/^.*\./,"").replace(/0+$/,"")),qe=/(?!');(?!')/.test(J)?J.split(/(?!');(?!')/)[Ae?1:0]:(Ae?"-":"")+J;const rt=qe.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let Dt;1===rt.length?Dt="":(rt.pop(),Dt=z);const It=String(Te).split("").reverse(),ut=[];let pt;const Ht=function(W){switch(W){case"#":return It.shift()||"";case"0":return It.shift()||"0"}};for(;It.length;){rt.length&&(pt=rt.shift());const W=pt.replace(/(?!')[0#]|[0#](?!')/g,Ht).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");ut.push(W)}const Je=ut.join(Dt).split("").reverse().join("")+(Pe?Se+Pe:"");return qe.replace(/[0#].*[0#]/,Je)}oe.numerate=function x({cldr:we,args:[ee,...fe]}){if(!(we instanceof d.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const J=we.getPluralForm(ee,...fe);return J?J[0]:fe[fe.length-1]},oe.quant=G,oe.numf=ie,oe.format_bytes=function te({cldr:we,args:[ee,fe=2]}){if(!(we instanceof d.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const J=["KB","MB","GB","TB","PB","EB","ZB","YB"],Se=ee&&Math.min(Math.floor(Math.log(ee)/Math.log(1024)),J.length);return Se?ie({cldr:we,args:[ee/Math.pow(1024,Se),fe]})+" "+J[Se-1]:G({cldr:we,args:[ee,"%s byte","%s bytes"]})}},7367:(qt,oe,$)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.maketext=oe.functions=oe.config=void 0;const d=$(6397);function ie(te,we){const ee=[];let fe=!1,J=!1;return te.forEach((z=>{if("_"===z.charAt(0))if("_*"===z){if(J)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";ee.push(...we),fe=!0}else{const Se=z.match(oe.config.underscoreDigitRe);if(Se){if(fe)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[Ae,Te]=Se,Pe=Number(Te)-1;if(!(Pe in we))throw`The "${Ae}" substitution argument was not passed to the maketext function.`;ee.push(we[Pe]),J=!0}}else ee.push(z)})),ee}oe.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"",fauxCommaRe:new RegExp("","g"),tildeChars:new Set(["[","]","~"])},oe.functions={...d.functions},oe.maketext=function G({cldr:te,lexicon:we,template:ee,args:fe}){if("string"!=typeof ee)throw"You must pass a string template to the maketext function.";if(-1===(ee=we&&we[ee]||ee).indexOf("["))return ee;const J=ee.match(oe.config.bracketRe)||[],z=[];let Se=!1,Ae="";if(J.forEach((Te=>{if("["===Te){if(Se)throw Error(`Invalid maketext string: ${ee} \nThe string contains nested brackets.`);Se=!0}else if("]"===Te){if(!Se)throw Error(`Invalid maketext string: ${ee} \nThe string contains an unmatched closing bracket character (]).`);if(!Ae)throw Error(`Invalid maketext string: ${ee} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let Pe;Se=!1;try{Pe=function K(te,we,ee){let fe=we.split(",");if(fe=fe.map((Se=>Se.replace(oe.config.fauxCommaRe,","))),1===fe.length){if(!oe.config.underscoreDigitRe.test(fe[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[Se]=ie(fe,ee);return String(Se)}const J=fe.shift();if(!J||"function"!=typeof oe.functions[J])throw`Invalid function "${J}" in maketext string.`;const z=ie(fe,ee);return oe.functions[J]({cldr:te,args:z})}(te,Ae,fe)}catch(qe){throw Error(`Invalid maketext string: ${ee} \n${qe}`)}Ae="",z.push(Pe)}else if("~"===Te.charAt(0)){const Pe=Te.charAt(1)||"~";Se?Ae+=","===Pe?oe.config.fauxComma:Pe:oe.config.tildeChars.has(Pe)?z.push(Pe):z.push(Te)}else Se?Ae+=Te:z.push(Te)})),Se)throw Error(`Invalid maketext string: ${ee} \nThe string contains an unmatched opening bracket character ([).`);return z.join("")}},9546:(qt,oe)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.htmlEscape=oe.entityMap=void 0,oe.entityMap={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},oe.htmlEscape=function $(d){return String(d).replace(/[&<>"'\/]/g,(x=>oe.entityMap[x]))}},2353:(qt,oe)=>{Object.defineProperty(oe,"__esModule",{value:!0}),oe.listToObject=void 0,oe.listToObject=function x(...G){let K={};return function $(G){if(G.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let ie=0,te=G.length;ie<te;ie+=2){const we=G[ie];if("string"!=typeof we||""===we)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(G)&&(K=function d(G){const K=G.length,ie={};let we,ee,te=0;for(;te<K;)we=G[te],ee=G[++te],ie[we]=ee,te++;return ie}(G)),K}},9969:(qt,oe,$)=>{$.d(oe,{FX:()=>Xe,If:()=>G,K2:()=>ee,S6:()=>Ke,hZ:()=>ie,i0:()=>te,iF:()=>fe,kY:()=>Se,kp:()=>K,sf:()=>W,ui:()=>me,wk:()=>J});var d=$(177),x=$(3953),G=function(ne){return ne[ne.State=0]="State",ne[ne.Transition=1]="Transition",ne[ne.Sequence=2]="Sequence",ne[ne.Group=3]="Group",ne[ne.Animate=4]="Animate",ne[ne.Keyframes=5]="Keyframes",ne[ne.Style=6]="Style",ne[ne.Trigger=7]="Trigger",ne[ne.Reference=8]="Reference",ne[ne.AnimateChild=9]="AnimateChild",ne[ne.AnimateRef=10]="AnimateRef",ne[ne.Query=11]="Query",ne[ne.Stagger=12]="Stagger",ne}(G||{});const K="*";function ie(ne,q){return{type:G.Trigger,name:ne,definitions:q,options:{}}}function te(ne,q=null){return{type:G.Animate,styles:q,timings:ne}}function ee(ne,q=null){return{type:G.Sequence,steps:ne,options:q}}function fe(ne){return{type:G.Style,styles:ne,offset:null}}function J(ne,q,ae){return{type:G.State,name:ne,styles:q,options:ae}}function Se(ne,q,ae=null){return{type:G.Transition,expr:ne,animation:q,options:ae}}let Ke=(()=>{class ne{static#e=this.ɵfac=function(pe){return new(pe||ne)};static#t=this.ɵprov=x.jDH({token:ne,factory:()=>(0,x.WQX)(Dt),providedIn:"root"})}return ne})();class rt{}let Dt=(()=>{class ne extends Ke{constructor(ae,pe){if(super(),this.animationModuleType=(0,x.WQX)(x.bc$,{optional:!0}),this._nextAnimationId=0,this._renderer=ae.createRenderer(pe.body,{id:"0",encapsulation:x.gXe.None,styles:[],data:{animation:[]}}),null===this.animationModuleType&&!function Je(ne){const q=ne.ɵtype;return 0===q||1===q}(this._renderer))throw new x.wOt(3600,!1)}build(ae){const pe=this._nextAnimationId;this._nextAnimationId++;const Re=Array.isArray(ae)?ee(ae):ae;return pt(this._renderer,null,pe,"register",[Re]),new It(pe,this._renderer)}static#e=this.ɵfac=function(pe){return new(pe||ne)(x.KVO(x._9s),x.KVO(d.qQ))};static#t=this.ɵprov=x.jDH({token:ne,factory:ne.ɵfac,providedIn:"root"})}return ne})();class It extends rt{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,pe,Re){this.id=q,this.element=ae,this._renderer=Re,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",pe)}_listen(q,ae){return this._renderer.listen(this.element,`@@${this.id}:${q}`,ae)}_command(q,...ae){pt(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 Ht(ne){const q=ne.ɵtype;return 0===q?ne:1===q?ne.animationRenderer:null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}}function pt(ne,q,ae,pe,Re){ne.setProperty(q,`@@${ae}:${pe}`,Re)}class W{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((pe=>pe())),ae.length=0}}class me{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,pe=0,Re=0;const et=this.players.length;0==et?queueMicrotask((()=>this._onFinish())):this.players.forEach((Gt=>{Gt.onDone((()=>{++ae==et&&this._onFinish()})),Gt.onDestroy((()=>{++pe==et&&this._onDestroy()})),Gt.onStart((()=>{++Re==et&&this._onStart()}))})),this.totalTime=this.players.reduce(((Gt,En)=>Math.max(Gt,En.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((pe=>{const Re=pe.totalTime?Math.min(1,ae/pe.totalTime):1;pe.setPosition(Re)}))}getPosition(){const q=this.players.reduce(((ae,pe)=>null===ae||pe.totalTime>ae.totalTime?pe: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((pe=>pe())),ae.length=0}}const Xe="!"},177:(qt,oe,$)=>{$.d(oe,{AJ:()=>Gi,B3:()=>bt,MD:()=>qo,N0:()=>gs,QT:()=>G,Sm:()=>qe,Sq:()=>k,T3:()=>Tt,UE:()=>zi,VF:()=>ie,Vy:()=>or,Xr:()=>ui,YU:()=>ii,ZD:()=>K,_b:()=>Tr,aZ:()=>Ke,bT:()=>ue,fw:()=>Ne,hb:()=>Te,hj:()=>fe,kB:()=>Pe,qQ:()=>we});var d=$(3953);let x=null;function G(){return x}function K(m){x??=m}class ie{}const we=new d.nKC("");let ee=(()=>{class m{historyGo(v){throw new Error("")}static#e=this.ɵfac=function(M){return new(M||m)};static#t=this.ɵprov=d.jDH({token:m,factory:()=>(0,d.WQX)(J),providedIn:"platform"})}return m})();const fe=new d.nKC("");let J=(()=>{class m extends ee{constructor(){super(),this._doc=(0,d.WQX)(we),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return G().getBaseHref(this._doc)}onPopState(v){const M=G().getGlobalEventTarget(this._doc,"window");return M.addEventListener("popstate",v,!1),()=>M.removeEventListener("popstate",v)}onHashChange(v){const M=G().getGlobalEventTarget(this._doc,"window");return M.addEventListener("hashchange",v,!1),()=>M.removeEventListener("hashchange",v)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(v){this._location.pathname=v}pushState(v,M,A){this._history.pushState(v,M,A)}replaceState(v,M,A){this._history.replaceState(v,M,A)}forward(){this._history.forward()}back(){this._history.back()}historyGo(v=0){this._history.go(v)}getState(){return this._history.state}static#e=this.ɵfac=function(M){return new(M||m)};static#t=this.ɵprov=d.jDH({token:m,factory:()=>new m,providedIn:"platform"})}return m})();function z(m,b){if(0==m.length)return b;if(0==b.length)return m;let v=0;return m.endsWith("/")&&v++,b.startsWith("/")&&v++,2==v?m+b.substring(1):1==v?m+b:m+"/"+b}function Se(m){const b=m.match(/#|\?|$/),v=b&&b.index||m.length;return m.slice(0,v-("/"===m[v-1]?1:0))+m.slice(v)}function Ae(m){return m&&"?"!==m[0]?"?"+m:m}let Te=(()=>{class m{historyGo(v){throw new Error("")}static#e=this.ɵfac=function(M){return new(M||m)};static#t=this.ɵprov=d.jDH({token:m,factory:()=>(0,d.WQX)(qe),providedIn:"root"})}return m})();const Pe=new d.nKC("");let qe=(()=>{class m extends Te{constructor(v,M){super(),this._platformLocation=v,this._removeListenerFns=[],this._baseHref=M??this._platformLocation.getBaseHrefFromDOM()??(0,d.WQX)(we).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(v){this._removeListenerFns.push(this._platformLocation.onPopState(v),this._platformLocation.onHashChange(v))}getBaseHref(){return this._baseHref}prepareExternalUrl(v){return z(this._baseHref,v)}path(v=!1){const M=this._platformLocation.pathname+Ae(this._platformLocation.search),A=this._platformLocation.hash;return A&&v?`${M}${A}`:M}pushState(v,M,A,X){const de=this.prepareExternalUrl(A+Ae(X));this._platformLocation.pushState(v,M,de)}replaceState(v,M,A,X){const de=this.prepareExternalUrl(A+Ae(X));this._platformLocation.replaceState(v,M,de)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(v=0){this._platformLocation.historyGo?.(v)}static#e=this.ɵfac=function(M){return new(M||m)(d.KVO(ee),d.KVO(Pe,8))};static#t=this.ɵprov=d.jDH({token:m,factory:m.ɵfac,providedIn:"root"})}return m})(),Ne=(()=>{class m extends Te{constructor(v,M){super(),this._platformLocation=v,this._baseHref="",this._removeListenerFns=[],null!=M&&(this._baseHref=M)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(v){this._removeListenerFns.push(this._platformLocation.onPopState(v),this._platformLocation.onHashChange(v))}getBaseHref(){return this._baseHref}path(v=!1){const M=this._platformLocation.hash??"#";return M.length>0?M.substring(1):M}prepareExternalUrl(v){const M=z(this._baseHref,v);return M.length>0?"#"+M:M}pushState(v,M,A,X){let de=this.prepareExternalUrl(A+Ae(X));0==de.length&&(de=this._platformLocation.pathname),this._platformLocation.pushState(v,M,de)}replaceState(v,M,A,X){let de=this.prepareExternalUrl(A+Ae(X));0==de.length&&(de=this._platformLocation.pathname),this._platformLocation.replaceState(v,M,de)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(v=0){this._platformLocation.historyGo?.(v)}static#e=this.ɵfac=function(M){return new(M||m)(d.KVO(ee),d.KVO(Pe,8))};static#t=this.ɵprov=d.jDH({token:m,factory:m.ɵfac})}return m})(),Ke=(()=>{class m{constructor(v){this._subject=new d.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=v;const M=this._locationStrategy.getBaseHref();this._basePath=function ut(m){if(new RegExp("^(https?:)?//").test(m)){const[,v]=m.split(/\/\/[^\/]+/);return v}return m}(Se(It(M))),this._locationStrategy.onPopState((A=>{this._subject.emit({url:this.path(!0),pop:!0,state:A.state,type:A.type})}))}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(v=!1){return this.normalize(this._locationStrategy.path(v))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(v,M=""){return this.path()==this.normalize(v+Ae(M))}normalize(v){return m.stripTrailingSlash(function Dt(m,b){if(!m||!b.startsWith(m))return b;const v=b.substring(m.length);return""===v||["/",";","?","#"].includes(v[0])?v:b}(this._basePath,It(v)))}prepareExternalUrl(v){return v&&"/"!==v[0]&&(v="/"+v),this._locationStrategy.prepareExternalUrl(v)}go(v,M="",A=null){this._locationStrategy.pushState(A,"",v,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+Ae(M)),A)}replaceState(v,M="",A=null){this._locationStrategy.replaceState(A,"",v,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+Ae(M)),A)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(v=0){this._locationStrategy.historyGo?.(v)}onUrlChange(v){return this._urlChangeListeners.push(v),this._urlChangeSubscription??=this.subscribe((M=>{this._notifyUrlChangeListeners(M.url,M.state)})),()=>{const M=this._urlChangeListeners.indexOf(v);this._urlChangeListeners.splice(M,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(v="",M){this._urlChangeListeners.forEach((A=>A(v,M)))}subscribe(v,M,A){return this._subject.subscribe({next:v,error:M,complete:A})}static#e=this.normalizeQueryParams=Ae;static#t=this.joinWithSlash=z;static#n=this.stripTrailingSlash=Se;static#r=this.ɵfac=function(M){return new(M||m)(d.KVO(Te))};static#i=this.ɵprov=d.jDH({token:m,factory:()=>function rt(){return new Ke((0,d.KVO)(Te))}(),providedIn:"root"})}return m})();function It(m){return m.replace(/\/index.html$/,"")}function Tr(m,b){b=encodeURIComponent(b);for(const v of m.split(";")){const M=v.indexOf("="),[A,X]=-1==M?[v,""]:[v.slice(0,M),v.slice(M+1)];if(A.trim()===b)return decodeURIComponent(X)}return null}const lt=/\s+/,on=[];let ii=(()=>{class m{constructor(v,M){this._ngEl=v,this._renderer=M,this.initialClasses=on,this.stateMap=new Map}set klass(v){this.initialClasses=null!=v?v.trim().split(lt):on}set ngClass(v){this.rawClass="string"==typeof v?v.trim().split(lt):v}ngDoCheck(){for(const M of this.initialClasses)this._updateState(M,!0);const v=this.rawClass;if(Array.isArray(v)||v instanceof Set)for(const M of v)this._updateState(M,!0);else if(null!=v)for(const M of Object.keys(v))this._updateState(M,!!v[M]);this._applyStateDiff()}_updateState(v,M){const A=this.stateMap.get(v);void 0!==A?(A.enabled!==M&&(A.changed=!0,A.enabled=M),A.touched=!0):this.stateMap.set(v,{enabled:M,changed:!0,touched:!0})}_applyStateDiff(){for(const v of this.stateMap){const M=v[0],A=v[1];A.changed?(this._toggleClass(M,A.enabled),A.changed=!1):A.touched||(A.enabled&&this._toggleClass(M,!1),this.stateMap.delete(M)),A.touched=!1}}_toggleClass(v,M){(v=v.trim()).length>0&&v.split(lt).forEach((A=>{M?this._renderer.addClass(this._ngEl.nativeElement,A):this._renderer.removeClass(this._ngEl.nativeElement,A)}))}static#e=this.ɵfac=function(M){return new(M||m)(d.rXU(d.aKT),d.rXU(d.sFG))};static#t=this.ɵdir=d.FsC({type:m,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return m})();class O{constructor(b,v,M,A){this.$implicit=b,this.ngForOf=v,this.index=M,this.count=A}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 k=(()=>{class m{set ngForOf(v){this._ngForOf=v,this._ngForOfDirty=!0}set ngForTrackBy(v){this._trackByFn=v}get ngForTrackBy(){return this._trackByFn}constructor(v,M,A){this._viewContainer=v,this._template=M,this._differs=A,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(v){v&&(this._template=v)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const v=this._ngForOf;!this._differ&&v&&(this._differ=this._differs.find(v).create(this.ngForTrackBy))}if(this._differ){const v=this._differ.diff(this._ngForOf);v&&this._applyChanges(v)}}_applyChanges(v){const M=this._viewContainer;v.forEachOperation(((A,X,de)=>{if(null==A.previousIndex)M.createEmbeddedView(this._template,new O(A.item,this._ngForOf,-1,-1),null===de?void 0:de);else if(null==de)M.remove(null===X?void 0:X);else if(null!==X){const Ie=M.get(X);M.move(Ie,de),F(Ie,A)}}));for(let A=0,X=M.length;A<X;A++){const Ie=M.get(A).context;Ie.index=A,Ie.count=X,Ie.ngForOf=this._ngForOf}v.forEachIdentityChange((A=>{F(M.get(A.currentIndex),A)}))}static ngTemplateContextGuard(v,M){return!0}static#e=this.ɵfac=function(M){return new(M||m)(d.rXU(d.c1b),d.rXU(d.C4Q),d.rXU(d._q3))};static#t=this.ɵdir=d.FsC({type:m,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return m})();function F(m,b){m.context.$implicit=b.item}let ue=(()=>{class m{constructor(v,M){this._viewContainer=v,this._context=new ye,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=M}set ngIf(v){this._context.$implicit=this._context.ngIf=v,this._updateView()}set ngIfThen(v){_e("ngIfThen",v),this._thenTemplateRef=v,this._thenViewRef=null,this._updateView()}set ngIfElse(v){_e("ngIfElse",v),this._elseTemplateRef=v,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(v,M){return!0}static#e=this.ɵfac=function(M){return new(M||m)(d.rXU(d.c1b),d.rXU(d.C4Q))};static#t=this.ɵdir=d.FsC({type:m,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return m})();class ye{constructor(){this.$implicit=null,this.ngIf=null}}function _e(m,b){if(b&&!b.createEmbeddedView)throw new Error(`${m} must be a TemplateRef, but received '${(0,d.Tbb)(b)}'.`)}let bt=(()=>{class m{constructor(v,M,A){this._ngEl=v,this._differs=M,this._renderer=A,this._ngStyle=null,this._differ=null}set ngStyle(v){this._ngStyle=v,!this._differ&&v&&(this._differ=this._differs.find(v).create())}ngDoCheck(){if(this._differ){const v=this._differ.diff(this._ngStyle);v&&this._applyChanges(v)}}_setStyle(v,M){const[A,X]=v.split("."),de=-1===A.indexOf("-")?void 0:d.czy.DashCase;null!=M?this._renderer.setStyle(this._ngEl.nativeElement,A,X?`${M}${X}`:M,de):this._renderer.removeStyle(this._ngEl.nativeElement,A,de)}_applyChanges(v){v.forEachRemovedItem((M=>this._setStyle(M.key,null))),v.forEachAddedItem((M=>this._setStyle(M.key,M.currentValue))),v.forEachChangedItem((M=>this._setStyle(M.key,M.currentValue)))}static#e=this.ɵfac=function(M){return new(M||m)(d.rXU(d.aKT),d.rXU(d.MKu),d.rXU(d.sFG))};static#t=this.ɵdir=d.FsC({type:m,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return m})(),Tt=(()=>{class m{constructor(v){this._viewContainerRef=v,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(v){if(this._shouldRecreateView(v)){const M=this._viewContainerRef;if(this._viewRef&&M.remove(M.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const A=this._createContextForwardProxy();this._viewRef=M.createEmbeddedView(this.ngTemplateOutlet,A,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(v){return!!v.ngTemplateOutlet||!!v.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(v,M,A)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,M,A),get:(v,M,A)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,M,A)}})}static#e=this.ɵfac=function(M){return new(M||m)(d.rXU(d.c1b))};static#t=this.ɵdir=d.FsC({type:m,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[d.OA$]})}return m})(),qo=(()=>{class m{static#e=this.ɵfac=function(M){return new(M||m)};static#t=this.ɵmod=d.$C({type:m});static#n=this.ɵinj=d.G2t({})}return m})();const Gi="browser",ho="server";function zi(m){return m===Gi}function or(m){return m===ho}let ui=(()=>{class m{static#e=this.ɵprov=(0,d.jDH)({token:m,providedIn:"root",factory:()=>zi((0,d.WQX)(d.Agw))?new Po((0,d.WQX)(we),window):new fo})}return m})();class Po{constructor(b,v){this.document=b,this.window=v,this.offset=()=>[0,0]}setOffset(b){this.offset=Array.isArray(b)?()=>b:b}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(b){this.window.scrollTo(b[0],b[1])}scrollToAnchor(b){const v=function ps(m,b){const v=m.getElementById(b)||m.getElementsByName(b)[0];if(v)return v;if("function"==typeof m.createTreeWalker&&m.body&&"function"==typeof m.body.attachShadow){const M=m.createTreeWalker(m.body,NodeFilter.SHOW_ELEMENT);let A=M.currentNode;for(;A;){const X=A.shadowRoot;if(X){const de=X.getElementById(b)||X.querySelector(`[name="${b}"]`);if(de)return de}A=M.nextNode()}}return null}(this.document,b);v&&(this.scrollToElement(v),v.focus())}setHistoryScrollRestoration(b){this.window.history.scrollRestoration=b}scrollToElement(b){const v=b.getBoundingClientRect(),M=v.left+this.window.pageXOffset,A=v.top+this.window.pageYOffset,X=this.offset();this.window.scrollTo(M-X[0],A-X[1])}}class fo{setOffset(b){}getScrollPosition(){return[0,0]}scrollToPosition(b){}scrollToAnchor(b){}setHistoryScrollRestoration(b){}}class gs{}},1562:(qt,oe,$)=>{function d(O,k,F,Z,ue,ye,_e){try{var $e=O[ye](_e),xe=$e.value}catch(Vt){return void F(Vt)}$e.done?k(xe):Promise.resolve(xe).then(Z,ue)}function x(O){return function(){var k=this,F=arguments;return new Promise((function(Z,ue){var ye=O.apply(k,F);function _e(xe){d(ye,Z,ue,_e,$e,"next",xe)}function $e(xe){d(ye,Z,ue,_e,$e,"throw",xe)}_e(void 0)}))}}$.d(oe,{Qq:()=>un,q1:()=>ji,Lr:()=>Pe});var G=$(3953),K=$(7673),ie=$(1985),te=$(6648),we=$(274),ee=$(5964),fe=$(6354),J=$(980),z=$(5558),Se=$(177);class Ae{}class Te{}class Pe{constructor(k){this.normalizedNames=new Map,this.lazyUpdate=null,k?"string"==typeof k?this.lazyInit=()=>{this.headers=new Map,k.split("\n").forEach((F=>{const Z=F.indexOf(":");if(Z>0){const ue=F.slice(0,Z),ye=ue.toLowerCase(),_e=F.slice(Z+1).trim();this.maybeSetNormalizedName(ue,ye),this.headers.has(ye)?this.headers.get(ye).push(_e):this.headers.set(ye,[_e])}}))}:typeof Headers<"u"&&k instanceof Headers?(this.headers=new Map,k.forEach(((F,Z)=>{this.setHeaderEntries(Z,F)}))):this.lazyInit=()=>{this.headers=new Map,Object.entries(k).forEach((([F,Z])=>{this.setHeaderEntries(F,Z)}))}:this.headers=new Map}has(k){return this.init(),this.headers.has(k.toLowerCase())}get(k){this.init();const F=this.headers.get(k.toLowerCase());return F&&F.length>0?F[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(k){return this.init(),this.headers.get(k.toLowerCase())||null}append(k,F){return this.clone({name:k,value:F,op:"a"})}set(k,F){return this.clone({name:k,value:F,op:"s"})}delete(k,F){return this.clone({name:k,value:F,op:"d"})}maybeSetNormalizedName(k,F){this.normalizedNames.has(F)||this.normalizedNames.set(F,k)}init(){this.lazyInit&&(this.lazyInit instanceof Pe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((k=>this.applyUpdate(k))),this.lazyUpdate=null))}copyFrom(k){k.init(),Array.from(k.headers.keys()).forEach((F=>{this.headers.set(F,k.headers.get(F)),this.normalizedNames.set(F,k.normalizedNames.get(F))}))}clone(k){const F=new Pe;return F.lazyInit=this.lazyInit&&this.lazyInit instanceof Pe?this.lazyInit:this,F.lazyUpdate=(this.lazyUpdate||[]).concat([k]),F}applyUpdate(k){const F=k.name.toLowerCase();switch(k.op){case"a":case"s":let Z=k.value;if("string"==typeof Z&&(Z=[Z]),0===Z.length)return;this.maybeSetNormalizedName(k.name,F);const ue=("a"===k.op?this.headers.get(F):void 0)||[];ue.push(...Z),this.headers.set(F,ue);break;case"d":const ye=k.value;if(ye){let _e=this.headers.get(F);if(!_e)return;_e=_e.filter(($e=>-1===ye.indexOf($e))),0===_e.length?(this.headers.delete(F),this.normalizedNames.delete(F)):this.headers.set(F,_e)}else this.headers.delete(F),this.normalizedNames.delete(F)}}setHeaderEntries(k,F){const Z=(Array.isArray(F)?F:[F]).map((ye=>ye.toString())),ue=k.toLowerCase();this.headers.set(ue,Z),this.maybeSetNormalizedName(k,ue)}forEach(k){this.init(),Array.from(this.normalizedNames.keys()).forEach((F=>k(this.normalizedNames.get(F),this.headers.get(F))))}}class Ne{encodeKey(k){return It(k)}encodeValue(k){return It(k)}decodeKey(k){return decodeURIComponent(k)}decodeValue(k){return decodeURIComponent(k)}}const rt=/%(\d[a-f0-9])/gi,Dt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function It(O){return encodeURIComponent(O).replace(rt,((k,F)=>Dt[F]??k))}function ut(O){return`${O}`}class pt{constructor(k={}){if(this.updates=null,this.cloneFrom=null,this.encoder=k.encoder||new Ne,k.fromString){if(k.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ke(O,k){const F=new Map;return O.length>0&&O.replace(/^\?/,"").split("&").forEach((ue=>{const ye=ue.indexOf("="),[_e,$e]=-1==ye?[k.decodeKey(ue),""]:[k.decodeKey(ue.slice(0,ye)),k.decodeValue(ue.slice(ye+1))],xe=F.get(_e)||[];xe.push($e),F.set(_e,xe)})),F}(k.fromString,this.encoder)}else k.fromObject?(this.map=new Map,Object.keys(k.fromObject).forEach((F=>{const Z=k.fromObject[F],ue=Array.isArray(Z)?Z.map(ut):[ut(Z)];this.map.set(F,ue)}))):this.map=null}has(k){return this.init(),this.map.has(k)}get(k){this.init();const F=this.map.get(k);return F?F[0]:null}getAll(k){return this.init(),this.map.get(k)||null}keys(){return this.init(),Array.from(this.map.keys())}append(k,F){return this.clone({param:k,value:F,op:"a"})}appendAll(k){const F=[];return Object.keys(k).forEach((Z=>{const ue=k[Z];Array.isArray(ue)?ue.forEach((ye=>{F.push({param:Z,value:ye,op:"a"})})):F.push({param:Z,value:ue,op:"a"})})),this.clone(F)}set(k,F){return this.clone({param:k,value:F,op:"s"})}delete(k,F){return this.clone({param:k,value:F,op:"d"})}toString(){return this.init(),this.keys().map((k=>{const F=this.encoder.encodeKey(k);return this.map.get(k).map((Z=>F+"="+this.encoder.encodeValue(Z))).join("&")})).filter((k=>""!==k)).join("&")}clone(k){const F=new pt({encoder:this.encoder});return F.cloneFrom=this.cloneFrom||this,F.updates=(this.updates||[]).concat(k),F}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((k=>this.map.set(k,this.cloneFrom.map.get(k)))),this.updates.forEach((k=>{switch(k.op){case"a":case"s":const F=("a"===k.op?this.map.get(k.param):void 0)||[];F.push(ut(k.value)),this.map.set(k.param,F);break;case"d":if(void 0===k.value){this.map.delete(k.param);break}{let Z=this.map.get(k.param)||[];const ue=Z.indexOf(ut(k.value));-1!==ue&&Z.splice(ue,1),Z.length>0?this.map.set(k.param,Z):this.map.delete(k.param)}}})),this.cloneFrom=this.updates=null)}}class Je{constructor(){this.map=new Map}set(k,F){return this.map.set(k,F),this}get(k){return this.map.has(k)||this.map.set(k,k.defaultValue()),this.map.get(k)}delete(k){return this.map.delete(k),this}has(k){return this.map.has(k)}keys(){return this.map.keys()}}function me(O){return typeof ArrayBuffer<"u"&&O instanceof ArrayBuffer}function Xe(O){return typeof Blob<"u"&&O instanceof Blob}function ne(O){return typeof FormData<"u"&&O instanceof FormData}class ae{constructor(k,F,Z,ue){let ye;if(this.url=F,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=k.toUpperCase(),function W(O){switch(O){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ue?(this.body=void 0!==Z?Z:null,ye=ue):ye=Z,ye&&(this.reportProgress=!!ye.reportProgress,this.withCredentials=!!ye.withCredentials,ye.responseType&&(this.responseType=ye.responseType),ye.headers&&(this.headers=ye.headers),ye.context&&(this.context=ye.context),ye.params&&(this.params=ye.params),this.transferCache=ye.transferCache),this.headers??=new Pe,this.context??=new Je,this.params){const _e=this.params.toString();if(0===_e.length)this.urlWithParams=F;else{const $e=F.indexOf("?");this.urlWithParams=F+(-1===$e?"?":$e<F.length-1?"&":"")+_e}}else this.params=new pt,this.urlWithParams=F}serializeBody(){return null===this.body?null:"string"==typeof this.body||me(this.body)||Xe(this.body)||ne(this.body)||function q(O){return typeof URLSearchParams<"u"&&O instanceof URLSearchParams}(this.body)?this.body:this.body instanceof pt?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||ne(this.body)?null:Xe(this.body)?this.body.type||null:me(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof pt?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(k={}){const F=k.method||this.method,Z=k.url||this.url,ue=k.responseType||this.responseType,ye=k.transferCache??this.transferCache,_e=void 0!==k.body?k.body:this.body,$e=k.withCredentials??this.withCredentials,xe=k.reportProgress??this.reportProgress;let Vt=k.headers||this.headers,Ut=k.params||this.params;const Pt=k.context??this.context;return void 0!==k.setHeaders&&(Vt=Object.keys(k.setHeaders).reduce(((tn,zt)=>tn.set(zt,k.setHeaders[zt])),Vt)),k.setParams&&(Ut=Object.keys(k.setParams).reduce(((tn,zt)=>tn.set(zt,k.setParams[zt])),Ut)),new ae(F,Z,_e,{params:Ut,headers:Vt,context:Pt,reportProgress:xe,responseType:ue,withCredentials:$e,transferCache:ye})}}var pe=function(O){return O[O.Sent=0]="Sent",O[O.UploadProgress=1]="UploadProgress",O[O.ResponseHeader=2]="ResponseHeader",O[O.DownloadProgress=3]="DownloadProgress",O[O.Response=4]="Response",O[O.User=5]="User",O}(pe||{});class Re{constructor(k,F=200,Z="OK"){this.headers=k.headers||new Pe,this.status=void 0!==k.status?k.status:F,this.statusText=k.statusText||Z,this.url=k.url||null,this.ok=this.status>=200&&this.status<300}}class et extends Re{constructor(k={}){super(k),this.type=pe.ResponseHeader}clone(k={}){return new et({headers:k.headers||this.headers,status:void 0!==k.status?k.status:this.status,statusText:k.statusText||this.statusText,url:k.url||this.url||void 0})}}class Gt extends Re{constructor(k={}){super(k),this.type=pe.Response,this.body=void 0!==k.body?k.body:null}clone(k={}){return new Gt({body:void 0!==k.body?k.body:this.body,headers:k.headers||this.headers,status:void 0!==k.status?k.status:this.status,statusText:k.statusText||this.statusText,url:k.url||this.url||void 0})}}class En extends Re{constructor(k){super(k,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${k.url||"(unknown url)"}`:`Http failure response for ${k.url||"(unknown url)"}: ${k.status} ${k.statusText}`,this.error=k.error||null}}function vn(O,k){return{body:k,headers:O.headers,context:O.context,observe:O.observe,params:O.params,reportProgress:O.reportProgress,responseType:O.responseType,withCredentials:O.withCredentials,transferCache:O.transferCache}}let un=(()=>{class O{constructor(F){this.handler=F}request(F,Z,ue={}){let ye;if(F instanceof ae)ye=F;else{let xe,Vt;xe=ue.headers instanceof Pe?ue.headers:new Pe(ue.headers),ue.params&&(Vt=ue.params instanceof pt?ue.params:new pt({fromObject:ue.params})),ye=new ae(F,Z,void 0!==ue.body?ue.body:null,{headers:xe,context:ue.context,params:Vt,reportProgress:ue.reportProgress,responseType:ue.responseType||"json",withCredentials:ue.withCredentials,transferCache:ue.transferCache})}const _e=(0,K.of)(ye).pipe((0,we.H)((xe=>this.handler.handle(xe))));if(F instanceof ae||"events"===ue.observe)return _e;const $e=_e.pipe((0,ee.p)((xe=>xe instanceof Gt)));switch(ue.observe||"body"){case"body":switch(ye.responseType){case"arraybuffer":return $e.pipe((0,fe.T)((xe=>{if(null!==xe.body&&!(xe.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return xe.body})));case"blob":return $e.pipe((0,fe.T)((xe=>{if(null!==xe.body&&!(xe.body instanceof Blob))throw new Error("Response is not a Blob.");return xe.body})));case"text":return $e.pipe((0,fe.T)((xe=>{if(null!==xe.body&&"string"!=typeof xe.body)throw new Error("Response is not a string.");return xe.body})));default:return $e.pipe((0,fe.T)((xe=>xe.body)))}case"response":return $e;default:throw new Error(`Unreachable: unhandled observe type ${ue.observe}}`)}}delete(F,Z={}){return this.request("DELETE",F,Z)}get(F,Z={}){return this.request("GET",F,Z)}head(F,Z={}){return this.request("HEAD",F,Z)}jsonp(F,Z){return this.request("JSONP",F,{params:(new pt).append(Z,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(F,Z={}){return this.request("OPTIONS",F,Z)}patch(F,Z,ue={}){return this.request("PATCH",F,vn(ue,Z))}post(F,Z,ue={}){return this.request("POST",F,vn(ue,Z))}put(F,Z,ue={}){return this.request("PUT",F,vn(ue,Z))}static#e=this.ɵfac=function(Z){return new(Z||O)(G.KVO(Ae))};static#t=this.ɵprov=G.jDH({token:O,factory:O.ɵfac})}return O})();const Di=/^\)\]\}',?\n/;function Nr(O){if(O.url)return O.url;const k="X-Request-URL".toLocaleLowerCase();return O.headers.get(k)}let Rr=(()=>{class O{constructor(){this.fetchImpl=(0,G.WQX)(xr,{optional:!0})?.fetch??((...F)=>globalThis.fetch(...F)),this.ngZone=(0,G.WQX)(G.SKi)}handle(F){return new ie.c((Z=>{const ue=new AbortController;return this.doRequest(F,ue.signal,Z).then(xn,(ye=>Z.error(new En({error:ye})))),()=>ue.abort()}))}doRequest(F,Z,ue){var ye=this;return x((function*(){const _e=ye.createRequestInit(F);let $e;try{const sn=ye.ngZone.runOutsideAngular((()=>ye.fetchImpl(F.urlWithParams,{signal:Z,..._e})));(function Vi(O){O.then(xn,xn)})(sn),ue.next({type:pe.Sent}),$e=yield sn}catch(sn){return void ue.error(new En({error:sn,status:sn.status??0,statusText:sn.statusText,url:F.urlWithParams,headers:sn.headers}))}const xe=new Pe($e.headers),Vt=$e.statusText,Ut=Nr($e)??F.urlWithParams;let Pt=$e.status,tn=null;if(F.reportProgress&&ue.next(new et({headers:xe,status:Pt,statusText:Vt,url:Ut})),$e.body){const sn=$e.headers.get("content-length"),bt=[],Tt=$e.body.getReader();let Tn,Jt,wn=0;const rr=typeof Zone<"u"&&Zone.current;yield ye.ngZone.runOutsideAngular(x((function*(){for(;;){const{done:_r,value:oi}=yield Tt.read();if(_r)break;if(bt.push(oi),wn+=oi.length,F.reportProgress){Jt="text"===F.responseType?(Jt??"")+(Tn??=new TextDecoder).decode(oi,{stream:!0}):void 0;const si=()=>ue.next({type:pe.DownloadProgress,total:sn?+sn:void 0,loaded:wn,partialText:Jt});rr?rr.run(si):si()}}})));const So=ye.concatChunks(bt,wn);try{const _r=$e.headers.get("Content-Type")??"";tn=ye.parseBody(F,So,_r)}catch(_r){return void ue.error(new En({error:_r,headers:new Pe($e.headers),status:$e.status,statusText:$e.statusText,url:Nr($e)??F.urlWithParams}))}}0===Pt&&(Pt=tn?200:0),Pt>=200&&Pt<300?(ue.next(new Gt({body:tn,headers:xe,status:Pt,statusText:Vt,url:Ut})),ue.complete()):ue.error(new En({error:tn,headers:xe,status:Pt,statusText:Vt,url:Ut}))}))()}parseBody(F,Z,ue){switch(F.responseType){case"json":const ye=(new TextDecoder).decode(Z).replace(Di,"");return""===ye?null:JSON.parse(ye);case"text":return(new TextDecoder).decode(Z);case"blob":return new Blob([Z],{type:ue});case"arraybuffer":return Z.buffer}}createRequestInit(F){const Z={},ue=F.withCredentials?"include":void 0;if(F.headers.forEach(((ye,_e)=>Z[ye]=_e.join(","))),F.headers.has("Accept")||(Z.Accept="application/json, text/plain, */*"),!F.headers.has("Content-Type")){const ye=F.detectContentTypeHeader();null!==ye&&(Z["Content-Type"]=ye)}return{body:F.serializeBody(),method:F.method,headers:Z,credentials:ue}}concatChunks(F,Z){const ue=new Uint8Array(Z);let ye=0;for(const _e of F)ue.set(_e,ye),ye+=_e.length;return ue}static#e=this.ɵfac=function(Z){return new(Z||O)};static#t=this.ɵprov=G.jDH({token:O,factory:O.ɵfac})}return O})();class xr{}function xn(){}function Yt(O,k){return k(O)}function Dn(O,k){return(F,Z)=>k.intercept(F,{handle:ue=>O(ue,Z)})}const Mn=new G.nKC(""),dr=new G.nKC(""),Ln=new G.nKC(""),hr=new G.nKC("",{providedIn:"root",factory:()=>!0});function Kt(){let O=null;return(k,F)=>{null===O&&(O=((0,G.WQX)(Mn,{optional:!0})??[]).reduceRight(Dn,Yt));const Z=(0,G.WQX)(G.TgB);if((0,G.WQX)(hr)){const ye=Z.add();return O(k,F).pipe((0,J.j)((()=>Z.remove(ye))))}return O(k,F)}}let Hn=(()=>{class O extends Ae{constructor(F,Z){super(),this.backend=F,this.injector=Z,this.chain=null,this.pendingTasks=(0,G.WQX)(G.TgB),this.contributeToStability=(0,G.WQX)(hr)}handle(F){if(null===this.chain){const Z=Array.from(new Set([...this.injector.get(dr),...this.injector.get(Ln,[])]));this.chain=Z.reduceRight(((ue,ye)=>function kn(O,k,F){return(Z,ue)=>(0,G.N4e)(F,(()=>k(Z,(ye=>O(ye,ue)))))}(ue,ye,this.injector)),Yt)}if(this.contributeToStability){const Z=this.pendingTasks.add();return this.chain(F,(ue=>this.backend.handle(ue))).pipe((0,J.j)((()=>this.pendingTasks.remove(Z))))}return this.chain(F,(Z=>this.backend.handle(Z)))}static#e=this.ɵfac=function(Z){return new(Z||O)(G.KVO(Te),G.KVO(G.uvJ))};static#t=this.ɵprov=G.jDH({token:O,factory:O.ɵfac})}return O})();const dt=/^\)\]\}',?\n/;let ri=(()=>{class O{constructor(F){this.xhrFactory=F}handle(F){if("JSONP"===F.method)throw new G.wOt(-2800,!1);const Z=this.xhrFactory;return(Z.ɵloadImpl?(0,te.H)(Z.ɵloadImpl()):(0,K.of)(null)).pipe((0,z.n)((()=>new ie.c((ye=>{const _e=Z.build();if(_e.open(F.method,F.urlWithParams),F.withCredentials&&(_e.withCredentials=!0),F.headers.forEach(((bt,Tt)=>_e.setRequestHeader(bt,Tt.join(",")))),F.headers.has("Accept")||_e.setRequestHeader("Accept","application/json, text/plain, */*"),!F.headers.has("Content-Type")){const bt=F.detectContentTypeHeader();null!==bt&&_e.setRequestHeader("Content-Type",bt)}if(F.responseType){const bt=F.responseType.toLowerCase();_e.responseType="json"!==bt?bt:"text"}const $e=F.serializeBody();let xe=null;const Vt=()=>{if(null!==xe)return xe;const bt=_e.statusText||"OK",Tt=new Pe(_e.getAllResponseHeaders()),wn=function Ot(O){return"responseURL"in O&&O.responseURL?O.responseURL:/^X-Request-URL:/m.test(O.getAllResponseHeaders())?O.getResponseHeader("X-Request-URL"):null}(_e)||F.url;return xe=new et({headers:Tt,status:_e.status,statusText:bt,url:wn}),xe},Ut=()=>{let{headers:bt,status:Tt,statusText:wn,url:Tn}=Vt(),Jt=null;204!==Tt&&(Jt=typeof _e.response>"u"?_e.responseText:_e.response),0===Tt&&(Tt=Jt?200:0);let rr=Tt>=200&&Tt<300;if("json"===F.responseType&&"string"==typeof Jt){const So=Jt;Jt=Jt.replace(dt,"");try{Jt=""!==Jt?JSON.parse(Jt):null}catch(_r){Jt=So,rr&&(rr=!1,Jt={error:_r,text:Jt})}}rr?(ye.next(new Gt({body:Jt,headers:bt,status:Tt,statusText:wn,url:Tn||void 0})),ye.complete()):ye.error(new En({error:Jt,headers:bt,status:Tt,statusText:wn,url:Tn||void 0}))},Pt=bt=>{const{url:Tt}=Vt(),wn=new En({error:bt,status:_e.status||0,statusText:_e.statusText||"Unknown Error",url:Tt||void 0});ye.error(wn)};let tn=!1;const zt=bt=>{tn||(ye.next(Vt()),tn=!0);let Tt={type:pe.DownloadProgress,loaded:bt.loaded};bt.lengthComputable&&(Tt.total=bt.total),"text"===F.responseType&&_e.responseText&&(Tt.partialText=_e.responseText),ye.next(Tt)},sn=bt=>{let Tt={type:pe.UploadProgress,loaded:bt.loaded};bt.lengthComputable&&(Tt.total=bt.total),ye.next(Tt)};return _e.addEventListener("load",Ut),_e.addEventListener("error",Pt),_e.addEventListener("timeout",Pt),_e.addEventListener("abort",Pt),F.reportProgress&&(_e.addEventListener("progress",zt),null!==$e&&_e.upload&&_e.upload.addEventListener("progress",sn)),_e.send($e),ye.next({type:pe.Sent}),()=>{_e.removeEventListener("error",Pt),_e.removeEventListener("abort",Pt),_e.removeEventListener("load",Ut),_e.removeEventListener("timeout",Pt),F.reportProgress&&(_e.removeEventListener("progress",zt),null!==$e&&_e.upload&&_e.upload.removeEventListener("progress",sn)),_e.readyState!==_e.DONE&&_e.abort()}})))))}static#e=this.ɵfac=function(Z){return new(Z||O)(G.KVO(Se.N0))};static#t=this.ɵprov=G.jDH({token:O,factory:O.ɵfac})}return O})();const Yn=new G.nKC(""),mr=new G.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),dn=new G.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Vn{}let Y=(()=>{class O{constructor(F,Z,ue){this.doc=F,this.platform=Z,this.cookieName=ue,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const F=this.doc.cookie||"";return F!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,Se._b)(F,this.cookieName),this.lastCookieString=F),this.lastToken}static#e=this.ɵfac=function(Z){return new(Z||O)(G.KVO(Se.qQ),G.KVO(G.Agw),G.KVO(mr))};static#t=this.ɵprov=G.jDH({token:O,factory:O.ɵfac})}return O})();function Q(O,k){const F=O.url.toLowerCase();if(!(0,G.WQX)(Yn)||"GET"===O.method||"HEAD"===O.method||F.startsWith("http://")||F.startsWith("https://"))return k(O);const Z=(0,G.WQX)(Vn).getToken(),ue=(0,G.WQX)(dn);return null!=Z&&!O.headers.has(ue)&&(O=O.clone({headers:O.headers.set(ue,Z)})),k(O)}var j=function(O){return O[O.Interceptors=0]="Interceptors",O[O.LegacyInterceptors=1]="LegacyInterceptors",O[O.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",O[O.NoXsrfProtection=3]="NoXsrfProtection",O[O.JsonpSupport=4]="JsonpSupport",O[O.RequestsMadeViaParent=5]="RequestsMadeViaParent",O[O.Fetch=6]="Fetch",O}(j||{});function Oe(...O){const k=[un,ri,Hn,{provide:Ae,useExisting:Hn},{provide:Te,useFactory:()=>(0,G.WQX)(Rr,{optional:!0})??(0,G.WQX)(ri)},{provide:dr,useValue:Q,multi:!0},{provide:Yn,useValue:!0},{provide:Vn,useClass:Y}];for(const F of O)k.push(...F.ɵproviders);return(0,G.EmA)(k)}const yt=new G.nKC("");function Mt(){return function se(O,k){return{"ɵkind":O,"ɵproviders":k}}(j.LegacyInterceptors,[{provide:yt,useFactory:Kt},{provide:dr,useExisting:yt,multi:!0}])}let ji=(()=>{class O{static#e=this.ɵfac=function(Z){return new(Z||O)};static#t=this.ɵmod=G.$C({type:O});static#n=this.ɵinj=G.G2t({providers:[Oe(Mt())]})}return O})()},3953:(qt,oe,$)=>{function d(e,t){return Object.is(e,t)}$.d(oe,{bc$:()=>gb,iLQ:()=>qd,sZ2:()=>$u,hnV:()=>SE,Hbi:()=>HN,o8S:()=>fs,BIS:()=>mb,gRc:()=>$E,Ql9:()=>dN,OM3:()=>Hc,Ocv:()=>_N,Z63:()=>yi,aKT:()=>mc,uvJ:()=>Yr,zcH:()=>Vs,bkB:()=>ls,$GK:()=>_t,nKC:()=>Ze,zZn:()=>Gr,_q3:()=>yg,MKu:()=>_g,xe9:()=>ug,Co$:()=>Sv,Vns:()=>xa,SKi:()=>Rn,Xx1:()=>Kr,Agw:()=>Hu,PLl:()=>Jm,sFG:()=>aT,_9s:()=>Zf,czy:()=>nd,kdw:()=>Qr,C4Q:()=>xc,NYb:()=>iN,giA:()=>ME,RxE:()=>mE,c1b:()=>vd,gXe:()=>Fo,mal:()=>Td,L39:()=>CR,EWP:()=>ER,Ol2:()=>fp,w6W:()=>YT,oH4:()=>VE,SmG:()=>IN,Rfq:()=>mo,WQX:()=>ge,naY:()=>TN,QuC:()=>Cr,EmA:()=>As,fpN:()=>$N,HJs:()=>OR,N4e:()=>OD,vPA:()=>lv,O8t:()=>DR,H3F:()=>yE,zAP:()=>fD,H8p:()=>rc,KH2:()=>Vl,TgB:()=>Sa,wOt:()=>Me,WHO:()=>EE,e01:()=>DE,H5H:()=>jp,Zy3:()=>Ir,mq5:()=>NC,JZv:()=>an,LfX:()=>Ba,plB:()=>ea,jNT:()=>sg,zjR:()=>bE,TL$:()=>fb,Tbb:()=>In,Vt3:()=>up,GFd:()=>bv,OA$:()=>ph,Jv_:()=>$w,aNF:()=>Hw,R7$:()=>Qy,BMQ:()=>Sp,HbH:()=>yC,ZvI:()=>MC,AVh:()=>Np,wni:()=>pw,VBU:()=>it,FsC:()=>On,jDH:()=>Lt,G2t:()=>Xi,$C:()=>Ue,EJ8:()=>mn,rXU:()=>fl,nrm:()=>Lp,eu8:()=>Vp,bVm:()=>kd,qex:()=>Fd,k0s:()=>xd,j41:()=>Rd,RV6:()=>PC,xGo:()=>ym,Mr5:()=>Up,KVO:()=>ct,kS0:()=>ku,QTQ:()=>Zy,bIt:()=>Hp,lsd:()=>yw,XpG:()=>rw,SdG:()=>ow,NAR:()=>iw,Y8G:()=>Pp,FS9:()=>zp,Mz_:()=>Bd,eq3:()=>Ww,l_i:()=>qw,sMw:()=>Kw,mGM:()=>mw,sdS:()=>_w,Njj:()=>Gg,eBV:()=>Hg,npT:()=>Dy,B4B:()=>ff,n$t:()=>by,DNE:()=>gp,C5r:()=>eE,EFF:()=>Iw,JRh:()=>qp,SpI:()=>$d,DH7:()=>Vw,mxI:()=>Qp,R50:()=>Kp,GBs:()=>gw});let x=null,G=!1,K=1;const ie=Symbol("SIGNAL");function te(e){const t=x;return x=e,t}const J={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function z(e){if(G)throw new Error("");if(null===x)return;x.consumerOnSignalRead(e);const t=x.nextProducerIndex++;Ht(x),t<x.producerNode.length&&x.producerNode[t]!==e&&pt(x)&&ut(x.producerNode[t],x.producerIndexOfThis[t]),x.producerNode[t]!==e&&(x.producerNode[t]=e,x.producerIndexOfThis[t]=pt(x)?It(e,x,t):0),x.producerLastReadVersion[t]=e.version}function Ae(e){if((!pt(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==K)){if(!e.producerMustRecompute(e)&&!rt(e))return e.dirty=!1,void(e.lastCleanEpoch=K);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=K}}function Te(e){if(void 0===e.liveConsumerNode)return;const t=G;G=!0;try{for(const n of e.liveConsumerNode)n.dirty||qe(n)}finally{G=t}}function Pe(){return!1!==x?.consumerAllowSignalWrites}function qe(e){e.dirty=!0,Te(e),e.consumerMarkedDirty?.(e)}function Ne(e){return e&&(e.nextProducerIndex=0),te(e)}function Ke(e,t){if(te(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(pt(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 rt(e){Ht(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Ae(n),r!==n.version))return!0}return!1}function Dt(e){if(Ht(e),pt(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 It(e,t,n){if(Je(e),0===e.liveConsumerNode.length&&W(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=It(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function ut(e,t){if(Je(e),1===e.liveConsumerNode.length&&W(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];Ht(i),i.producerIndexOfThis[r]=t}}function pt(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Ht(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Je(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function W(e){return void 0!==e.producerNode}const Xe=Symbol("UNSET"),ne=Symbol("COMPUTING"),q=Symbol("ERRORED"),ae={...J,value:Xe,dirty:!0,error:null,equal:d,producerMustRecompute:e=>e.value===Xe||e.value===ne,producerRecomputeValue(e){if(e.value===ne)throw new Error("Detected cycle in computations.");const t=e.value;e.value=ne;const n=Ne(e);let r;try{r=e.computation()}catch(i){r=q,e.error=i}finally{Ke(e,n)}t!==Xe&&t!==q&&r!==q&&e.equal(t,r)?e.value=t:(e.value=r,e.version++)}};let Re=function pe(){throw new Error};function et(){Re()}let En=null;function vn(e,t){Pe()||et(),e.equal(e.value,t)||(e.value=t,function Nr(e){e.version++,function Se(){K++}(),Te(e),En?.()}(e))}const Fn={...J,equal:d,value:void 0};var Yt=$(4412),Dn=$(1413),kn=$(8359),Mn=$(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 Ao="https://g.co/ng/security#xss";class Me extends Error{constructor(t,n){super(Ir(t,n)),this.code=t}}function Ir(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function qr(e){return{toString:e}.toString()}const sr="__parameters__";function Or(e,t,n){return qr((()=>{const r=function zn(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...a){if(this instanceof i)return r.apply(this,a),this;const c=new i(...a);return h.annotation=c,h;function h(g,C,D){const P=g.hasOwnProperty(sr)?g[sr]:Object.defineProperty(g,sr,{value:[]})[sr];for(;P.length<=D;)P.push(null);return(P[D]=P[D]||[]).push(c),g}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}))}const an=globalThis;function St(e){for(let t in e)if(e[t]===St)return t;throw Error("Could not find renamed property on target object.")}function sa(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function In(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(In).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 go(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Qo=St({__forward_ref__:St});function mo(e){return e.__forward_ref__=mo,e.toString=function(){return In(this())},e}function He(e){return hi(e)?e():e}function hi(e){return"function"==typeof e&&e.hasOwnProperty(Qo)&&e.__forward_ref__===mo}function Lt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Xi(e){return{providers:e.providers||[],imports:e.imports||[]}}function Xo(e){return vs(e,yo)||vs(e,Zo)}function Ba(e){return null!==Xo(e)}function vs(e,t){return e.hasOwnProperty(t)?e[t]:null}function Cs(e){return e&&(e.hasOwnProperty(zs)||e.hasOwnProperty(Ws))?e[zs]:null}const yo=St({"ɵprov":St}),zs=St({"ɵinj":St}),Zo=St({ngInjectableDef:St}),Ws=St({ngInjectorDef:St});class Ze{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.ɵprov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.ɵprov=Lt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function ua(e){return e&&!!e.ɵproviders}const xo=St({"ɵcmp":St}),Ms=St({"ɵdir":St}),Jo=St({"ɵpipe":St}),da=St({"ɵmod":St}),Oi=St({"ɵfac":St}),Pi=St({__NG_ELEMENT_ID__:St}),qs=St({__NG_ENV_ID__:St});function Ye(e){return"string"==typeof e?e:null==e?"":String(e)}function Qs(e,t){throw new Me(-201,!1)}var _t=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}(_t||{});let bs;function ha(){return bs}function gn(e){const t=bs;return bs=e,t}function Xt(e,t,n){const r=Xo(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&_t.Optional?null:void 0!==t?t:void Qs()}const es={},fi="__NG_DI_FLAG__",m="ngTempTokenPath",v=/\n/gm,A="__source";let X;function Ie(e){const t=X;return X=e,t}function wt(e,t=_t.Default){if(void 0===X)throw new Me(-203,!1);return null===X?Xt(e,void 0,t):X.get(e,t&_t.Optional?null:void 0,t)}function ct(e,t=_t.Default){return(ha()||wt)(He(e),t)}function ge(e,t=_t.Default){return ct(e,en(t))}function en(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ft(e){const t=[];for(let n=0;n<e.length;n++){const r=He(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Me(900,!1);let i,a=_t.Default;for(let c=0;c<r.length;c++){const h=r[c],g=Ni(h);"number"==typeof g?-1===g?i=h.token:a|=g:i=h}t.push(ct(i,a))}else t.push(ct(r))}return t}function ln(e,t){return e[fi]=t,e.prototype[fi]=t,e}function Ni(e){return e[fi]}const Kr=ln(Or("Optional"),8),Qr=ln(Or("SkipSelf"),4);function mi(e,t){return e.hasOwnProperty(Oi)?e[Oi]:null}function Ss(e,t){e.forEach((n=>Array.isArray(n)?Ss(n,t):t(n)))}function Ts(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ts(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function jr(e,t,n){let r=Is(e,t);return r>=0?e[1|r]=n:(r=~r,function Xl(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Ga(e,t){const n=Is(e,t);if(n>=0)return e[1|n]}function Is(e,t){return function Yl(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const a=r+(i-r>>1),c=e[a<<n];if(t===c)return a<<n;c>t?i=a:r=a+1}return~(i<<n)}(e,t,1)}const Yi={},kt=[],yi=new Ze(""),Jl=new Ze("",-1),ga=new Ze("");class ma{get(t,n=es){if(n===es){const r=new Error(`NullInjectorError: No provider for ${In(t)}!`);throw r.name="NullInjectorError",r}return n}}var ya=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ya||{}),Fo=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Fo||{}),Ji=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ji||{});function _a(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const a=t.length;if(i+a===r||e.charCodeAt(i+a)<=32)return i}n=i+1}}function Os(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const a=n[r++],c=n[r++],h=n[r++];e.setAttribute(t,c,h,a)}else{const a=i,c=n[++r];Wa(a)?e.setProperty(t,a,c):e.setAttribute(t,a,c),r++}}return r}function za(e){return 3===e||4===e||6===e}function Wa(e){return 64===e.charCodeAt(0)}function Xs(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||ec(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function ec(e,t,n,r,i){let a=0,c=e.length;if(-1===t)c=-1;else for(;a<e.length;){const h=e[a++];if("number"==typeof h){if(h===t){c=-1;break}if(h>t){c=a-1;break}}}for(;a<e.length;){const h=e[a];if("number"==typeof h)break;if(h===n){if(null===r)return void(null!==i&&(e[a+1]=i));if(r===e[a+1])return void(e[a+2]=i)}a++,null!==r&&a++,null!==i&&a++}-1!==c&&(e.splice(c,0,t),a=c+1),e.splice(a++,0,n),null!==r&&e.splice(a++,0,r),null!==i&&e.splice(a++,0,i)}const tc="ng-template";function oh(e,t,n,r){let i=0;if(r){for(;i<t.length&&"string"==typeof t[i];i+=2)if("class"===t[i]&&-1!==_a(t[i+1].toLowerCase(),n,0))return!0}else if(nc(e))return!1;if(i=t.indexOf(1,i),i>-1){let a;for(;++i<t.length&&"string"==typeof(a=t[i]);)if(a.toLowerCase()===n)return!0}return!1}function nc(e){return 4===e.type&&e.value!==tc}function p(e,t,n){return t===(4!==e.type||n?e.value:tc)}function l(e,t,n){let r=4;const i=e.attrs,a=null!==i?function _(e){for(let t=0;t<e.length;t++)if(za(e[t]))return t;return e.length}(i):0;let c=!1;for(let h=0;h<t.length;h++){const g=t[h];if("number"!=typeof g){if(!c)if(4&r){if(r=2|1&r,""!==g&&!p(e,g,n)||""===g&&1===t.length){if(s(r))return!1;c=!0}}else if(8&r){if(null===i||!oh(e,i,g,n)){if(s(r))return!1;c=!0}}else{const C=t[++h],D=o(g,i,nc(e),n);if(-1===D){if(s(r))return!1;c=!0;continue}if(""!==C){let P;if(P=D>a?"":i[D+1].toLowerCase(),2&r&&C!==P){if(s(r))return!1;c=!0}}}}else{if(!c&&!s(r)&&!s(g))return!1;if(c&&s(g))continue;c=!1,r=g|1&r}}return s(r)||c}function s(e){return!(1&e)}function o(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let a=!1;for(;i<t.length;){const c=t[i];if(c===e)return i;if(3===c||6===c)a=!0;else{if(1===c||2===c){let h=t[++i];for(;"string"==typeof h;)h=t[++i];continue}if(4===c)break;if(0===c){i+=4;continue}}i+=a?1:2}return-1}return function T(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function u(e,t,n=!1){for(let r=0;r<t.length;r++)if(l(e,t[r],n))return!0;return!1}function S(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function L(e,t){return e?":not("+t.trim()+")":t}function B(e){let t=e[0],n=1,r=2,i="",a=!1;for(;n<e.length;){let c=e[n];if("string"==typeof c)if(2&r){const h=e[++n];i+="["+c+(h.length>0?'="'+h+'"':"")+"]"}else 8&r?i+="."+c:4&r&&(i+=" "+c);else""!==i&&!s(c)&&(t+=L(a,i),i=""),r=c,a=a||!s(r);n++}return""!==i&&(t+=L(a,i)),t}function it(e){return qr((()=>{const t=Br(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ya.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Fo.Emulated,styles:e.styles||kt,_:null,schemas:e.schemas||null,tView:null,id:""};ns(n);const r=e.dependencies;return n.directiveDefs=ko(r,!1),n.pipeDefs=ko(r,!0),n.id=function Ps(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of n)t=Math.imul(31,t)+i.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n}))}function Be(e){return ze(e)||At(e)}function Le(e){return null!==e}function Ue(e){return qr((()=>({type:e.type,bootstrap:e.bootstrap||kt,declarations:e.declarations||kt,imports:e.imports||kt,exports:e.exports||kt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null})))}function Bt(e,t){if(null==e)return Yi;const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let a,c,h=Ji.None;Array.isArray(i)?(h=i[0],a=i[1],c=i[2]??a):(a=i,c=i),t?(n[a]=h!==Ji.None?[r,h]:r,t[a]=c):n[a]=r}return n}function On(e){return qr((()=>{const t=Br(e);return ns(t),t}))}function mn(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function ze(e){return e[xo]||null}function At(e){return e[Ms]||null}function Pn(e){return e[Jo]||null}function Cr(e){const t=ze(e)||At(e)||Pn(e);return null!==t&&t.standalone}function Wt(e,t){const n=e[da]||null;if(!n&&!0===t)throw new Error(`Type ${In(e)} does not have 'ɵmod' property.`);return n}function Br(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||Yi,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||kt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Bt(e.inputs,t),outputs:Bt(e.outputs),debugInfo:null}}function ns(e){e.features?.forEach((t=>t(e)))}function ko(e,t){if(!e)return null;const n=t?Pn:Be;return()=>("function"==typeof e?e():e).map((r=>n(r))).filter(Le)}function As(e){return{"ɵproviders":e}}function yu(...e){return{"ɵproviders":qa(0,e),"ɵfromNgModule":!0}}function qa(e,...t){const n=[],r=new Set;let i;const a=c=>{n.push(c)};return Ss(t,(c=>{const h=c;Ge(h,a,[],r)&&(i||=[],i.push(h))})),void 0!==i&&ke(i,a),n}function ke(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:i}=e[n];Nt(i,(a=>{t(a,r)}))}}function Ge(e,t,n,r){if(!(e=He(e)))return!1;let i=null,a=Cs(e);const c=!a&&ze(e);if(a||c){if(c&&!c.standalone)return!1;i=e}else{const g=e.ngModule;if(a=Cs(g),!a)return!1;i=g}const h=r.has(i);if(c){if(h)return!1;if(r.add(i),c.dependencies){const g="function"==typeof c.dependencies?c.dependencies():c.dependencies;for(const C of g)Ge(C,t,n,r)}}else{if(!a)return!1;{if(null!=a.imports&&!h){let C;r.add(i);try{Ss(a.imports,(D=>{Ge(D,t,n,r)&&(C||=[],C.push(D))}))}finally{}void 0!==C&&ke(C,t)}if(!h){const C=mi(i)||(()=>new i);t({provide:i,useFactory:C,deps:kt},i),t({provide:ga,useValue:i,multi:!0},i),t({provide:yi,useValue:()=>ct(i),multi:!0},i)}const g=a.providers;if(null!=g&&!h){const C=e;Nt(g,(D=>{t(D,C)}))}}}return i!==e&&void 0!==e.providers}function Nt(e,t){for(let n of e)ua(n)&&(n=n.ɵproviders),Array.isArray(n)?Nt(n,t):t(n)}const lr=St({provide:String,useValue:St});function Ri(e){return null!==e&&"object"==typeof e&&lr in e}function Zt(e){return"function"==typeof e}const rc=new Ze(""),Wn={},Ns={};let Zr;function Rs(){return void 0===Zr&&(Zr=new ma),Zr}class Yr{}class Ka extends Yr{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ah(t,(c=>this.processProvider(c))),this.records.set(Jl,Qa(void 0,this)),i.has("environment")&&this.records.set(Yr,Qa(void 0,this));const a=this.records.get(rc);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(ga,kt,_t.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=te(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(),te(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Ie(this),r=gn(void 0);try{return t()}finally{Ie(n),gn(r)}}get(t,n=es,r=_t.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(qs))return t[qs](this);r=en(r);const a=Ie(this),c=gn(void 0);try{if(!(r&_t.SkipSelf)){let g=this.records.get(t);if(void 0===g){const C=function ID(e){return"function"==typeof e||"object"==typeof e&&e instanceof Ze}(t)&&Xo(t);g=C&&this.injectableDefInScope(C)?Qa(sh(t),Wn):null,this.records.set(t,g)}if(null!=g)return this.hydrate(t,g)}return(r&_t.Self?Rs():this.parent).get(t,n=r&_t.Optional&&n===es?null:n)}catch(h){if("NullInjectorError"===h.name){if((h[m]=h[m]||[]).unshift(In(t)),a)throw h;return function pi(e,t,n,r){const i=e[m];throw t[A]&&i.unshift(t[A]),e.message=function vo(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"ɵ"==e.charAt(1)?e.slice(2):e;let i=In(t);if(Array.isArray(t))i=t.map(In).join(" -> ");else if("object"==typeof t){let a=[];for(let c in t)if(t.hasOwnProperty(c)){let h=t[c];a.push(c+":"+("string"==typeof h?JSON.stringify(h):In(h)))}i=`{${a.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(v,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[m]=null,e}(h,t,"R3InjectorError",this.source)}throw h}finally{gn(c),Ie(a)}}resolveInjectorInitializers(){const t=te(null),n=Ie(this),r=gn(void 0);try{const a=this.get(yi,kt,_t.Self);for(const c of a)c()}finally{Ie(n),gn(r),te(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(In(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Me(205,!1)}processProvider(t){let n=Zt(t=He(t))?t:He(t&&t.provide);const r=function bD(e){return Ri(e)?Qa(void 0,e.useValue):Qa(Dg(e),Wn)}(t);if(!Zt(t)&&!0===t.multi){let i=this.records.get(n);i||(i=Qa(void 0,Wn,!0),i.factory=()=>Ft(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=te(null);try{return n.value===Wn&&(n.value=Ns,n.value=n.factory()),"object"==typeof n.value&&n.value&&function TD(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{te(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=He(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function sh(e){const t=Xo(e),n=null!==t?t.factory:mi(e);if(null!==n)return n;if(e instanceof Ze)throw new Me(204,!1);if(e instanceof Function)return function MD(e){if(e.length>0)throw new Me(204,!1);const n=function Gs(e){return e&&(e[yo]||e[Zo])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Me(204,!1)}function Dg(e,t,n){let r;if(Zt(e)){const i=He(e);return mi(i)||sh(i)}if(Ri(e))r=()=>He(e.useValue);else if(function Lo(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ft(e.deps||[]));else if(function Xr(e){return!(!e||!e.useExisting)}(e))r=()=>ct(He(e.useExisting));else{const i=He(e&&(e.useClass||e.provide));if(!function SD(e){return!!e.deps}(e))return mi(i)||sh(i);r=()=>new i(...Ft(e.deps))}return r}function Qa(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ah(e,t){for(const n of e)Array.isArray(n)?ah(n,t):n&&ua(n)?ah(n.ɵproviders,t):t(n)}function OD(e,t){e instanceof Ka&&e.assertNotDestroyed();const r=Ie(e),i=gn(void 0);try{return t()}finally{Ie(r),gn(i)}}function Mg(){return void 0!==ha()||null!=function de(){return X}()}const An=0,Ee=1,We=2,cr=3,Vo=4,$r=5,_i=6,Za=7,yn=8,ur=9,rs=10,st=11,oc=12,Sg=13,Ya=14,Nn=15,va=16,Ja=17,xs=18,el=19,Tg=20,Zs=21,Cu=22,Co=23,je=25,uh=1,is=7,tl=9,qn=10;var Eu=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Eu||{});function Er(e){return Array.isArray(e)&&"object"==typeof e[uh]}function Jr(e){return Array.isArray(e)&&!0===e[uh]}function dh(e){return!!(4&e.flags)}function Ca(e){return e.componentOffset>-1}function Du(e){return!(1&~e.flags)}function Uo(e){return!!e.template}function ac(e){return!!(512&e[We])}class BD{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ng(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function ph(){return Rg}function Rg(e){return e.type.prototype.ngOnChanges&&(e.setInput=HD),$D}function $D(){const e=Fg(this),t=e?.current;if(t){const n=e.previous;if(n===Yi)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function HD(e,t,n,r,i){const a=this.declaredInputs[r],c=Fg(e)||function GD(e,t){return e[xg]=t}(e,{previous:Yi,current:null}),h=c.current||(c.current={}),g=c.previous,C=g[a];h[a]=new BD(C&&C.currentValue,n,g===Yi),Ng(e,t,i,n)}ph.ngInherit=!0;const xg="__ngSimpleChanges__";function Fg(e){return e[xg]||null}const os=function(e,t,n){};function $t(e){for(;Array.isArray(e);)e=e[An];return e}function lc(e,t){return $t(t[e])}function vi(e,t){return $t(t[e.index])}function cc(e,t){return e.data[t]}function eo(e,t){const n=t[e];return Er(n)?n:n[An]}function yh(e){return!(128&~e[We])}function wo(e,t){return null==t?null:e[t]}function Vg(e){e[Ja]=0}function Ug(e){1024&e[We]||(e[We]|=1024,yh(e)&&bu(e))}function Mu(e){return!!(9216&e[We]||e[Co]?.dirty)}function _h(e){e[rs].changeDetectionScheduler?.notify(8),64&e[We]&&(e[We]|=1024),Mu(e)&&bu(e)}function bu(e){e[rs].changeDetectionScheduler?.notify(0);let t=Fs(e);for(;null!==t&&!(8192&t[We])&&(t[We]|=8192,yh(t));)t=Fs(t)}function Su(e,t){if(!(256&~e[We]))throw new Me(911,!1);null===e[Zs]&&(e[Zs]=[]),e[Zs].push(t)}function Fs(e){const t=e[cr];return Jr(t)?t[cr]:t}const at={lFrame:em(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Bg=!1;function $g(){return at.bindingsEnabled}function Ea(){return null!==at.skipHydrationRootTNode}function re(){return at.lFrame.lView}function Et(){return at.lFrame.tView}function Hg(e){return at.lFrame.contextLView=e,e[yn]}function Gg(e){return at.lFrame.contextLView=null,e}function nn(){let e=zg();for(;null!==e&&64===e.type;)e=e.parent;return e}function zg(){return at.lFrame.currentTNode}function jo(e,t){const n=at.lFrame;n.currentTNode=e,n.isParent=t}function wh(){return at.lFrame.isParent}function Eh(){at.lFrame.isParent=!1}function Kg(){return Bg}function Qg(e){Bg=e}function Ci(){const e=at.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Bo(){return at.lFrame.bindingIndex++}function Ls(e){const t=at.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function iM(e,t){const n=at.lFrame;n.bindingIndex=n.bindingRootIndex=e,Dh(t)}function Dh(e){at.lFrame.currentDirectiveIndex=e}function bh(){return at.lFrame.currentQueryIndex}function Iu(e){at.lFrame.currentQueryIndex=e}function sM(e){const t=e[Ee];return 2===t.type?t.declTNode:1===t.type?e[$r]:null}function Yg(e,t,n){if(n&_t.SkipSelf){let i=t,a=e;for(;!(i=i.parent,null!==i||n&_t.Host||(i=sM(a),null===i||(a=a[Ya],10&i.type))););if(null===i)return!1;t=i,e=a}const r=at.lFrame=Jg();return r.currentTNode=t,r.lView=e,!0}function Sh(e){const t=Jg(),n=e[Ee];at.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Jg(){const e=at.lFrame,t=null===e?null:e.child;return null===t?em(e):t}function em(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 tm(){const e=at.lFrame;return at.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const nm=tm;function Th(){const e=tm();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 Hr(){return at.lFrame.selectedIndex}function Da(e){at.lFrame.selectedIndex=e}function _n(){const e=at.lFrame;return cc(e.tView,e.selectedIndex)}let im=!0;function dc(){return im}function ss(e){im=e}function Ou(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const a=e.data[n].type.prototype,{ngAfterContentInit:c,ngAfterContentChecked:h,ngAfterViewInit:g,ngAfterViewChecked:C,ngOnDestroy:D}=a;c&&(e.contentHooks??=[]).push(-n,c),h&&((e.contentHooks??=[]).push(n,h),(e.contentCheckHooks??=[]).push(n,h)),g&&(e.viewHooks??=[]).push(-n,g),C&&((e.viewHooks??=[]).push(n,C),(e.viewCheckHooks??=[]).push(n,C)),null!=D&&(e.destroyHooks??=[]).push(n,D)}}function Pu(e,t,n){om(e,t,3,n)}function Au(e,t,n,r){(3&e[We])===n&&om(e,t,n,r)}function Ih(e,t){let n=e[We];(3&n)===t&&(n&=16383,n+=1,e[We]=n)}function om(e,t,n,r){const a=r??-1,c=t.length-1;let h=0;for(let g=void 0!==r?65535&e[Ja]:0;g<c;g++)if("number"==typeof t[g+1]){if(h=t[g],null!=r&&h>=r)break}else t[g]<0&&(e[Ja]+=65536),(h<a||-1==a)&&(fM(e,n,t,g),e[Ja]=(4294901760&e[Ja])+g+2),g++}function sm(e,t){os(4,e,t);const n=te(null);try{t.call(e)}finally{te(n),os(5,e,t)}}function fM(e,t,n,r){const i=n[r]<0,a=n[r+1],h=e[i?-n[r]:n[r]];i?e[We]>>14<e[Ja]>>16&&(3&e[We])===t&&(e[We]+=16384,sm(h,a)):sm(h,a)}const nl=-1;class hc{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}const Ph={};class Ma{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=en(r);const i=this.injector.get(t,Ph,r);return i!==Ph||n===Ph?i:this.parentInjector.get(t,n,r)}}function Ah(e){return e!==nl}function fc(e){return 32767&e}function pc(e,t){let n=function _M(e){return e>>16}(e),r=t;for(;n>0;)r=r[Ya],n--;return r}let Nh=!0;function Nu(e){const t=Nh;return Nh=e,t}const lm=255,cm=5;let CM=0;const as={};function Ru(e,t){const n=um(e,t);if(-1!==n)return n;const r=t[Ee];r.firstCreatePass&&(e.injectorIndex=t.length,Rh(r.data,e),Rh(t,null),Rh(r.blueprint,null));const i=xu(e,t),a=e.injectorIndex;if(Ah(i)){const c=fc(i),h=pc(i,t),g=h[Ee].data;for(let C=0;C<8;C++)t[a+C]=h[c+C]|g[c+C]}return t[a+8]=i,a}function Rh(e,t){e.push(0,0,0,0,0,0,0,0,t)}function um(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function xu(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=_m(i),null===r)return nl;if(n++,i=i[Ya],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return nl}function xh(e,t,n){!function wM(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Pi)&&(r=n[Pi]),null==r&&(r=n[Pi]=CM++);const i=r&lm;t.data[e+(i>>cm)]|=1<<i}(e,t,n)}function dm(e,t,n){if(n&_t.Optional||void 0!==e)return e;Qs()}function hm(e,t,n,r){if(n&_t.Optional&&void 0===r&&(r=null),!(n&(_t.Self|_t.Host))){const i=e[ur],a=gn(void 0);try{return i?i.get(t,r,n&_t.Optional):Xt(t,r,n&_t.Optional)}finally{gn(a)}}return dm(r,0,n)}function fm(e,t,n,r=_t.Default,i){if(null!==e){if(2048&t[We]&&!(r&_t.Self)){const c=function SM(e,t,n,r,i){let a=e,c=t;for(;null!==a&&null!==c&&2048&c[We]&&!(512&c[We]);){const h=pm(a,c,n,r|_t.Self,as);if(h!==as)return h;let g=a.parent;if(!g){const C=c[Tg];if(C){const D=C.get(n,as,r);if(D!==as)return D}g=_m(c),c=c[Ya]}a=g}return i}(e,t,n,r,as);if(c!==as)return c}const a=pm(e,t,n,r,as);if(a!==as)return a}return hm(t,n,r,i)}function pm(e,t,n,r,i){const a=function MM(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Pi)?e[Pi]:void 0;return"number"==typeof t?t>=0?t&lm:bM:t}(n);if("function"==typeof a){if(!Yg(t,e,r))return r&_t.Host?dm(i,0,r):hm(t,n,r,i);try{let c;if(c=a(r),null!=c||r&_t.Optional)return c;Qs()}finally{nm()}}else if("number"==typeof a){let c=null,h=um(e,t),g=nl,C=r&_t.Host?t[Nn][$r]:null;for((-1===h||r&_t.SkipSelf)&&(g=-1===h?xu(e,t):t[h+8],g!==nl&&mm(r,!1)?(c=t[Ee],h=fc(g),t=pc(g,t)):h=-1);-1!==h;){const D=t[Ee];if(gm(a,h,D.data)){const P=DM(h,t,n,c,r,C);if(P!==as)return P}g=t[h+8],g!==nl&&mm(r,t[Ee].data[h+8]===C)&&gm(a,h,t)?(c=D,h=fc(g),t=pc(g,t)):h=-1}}return i}function DM(e,t,n,r,i,a){const c=t[Ee],h=c.data[e+8],D=Fu(h,c,n,null==r?Ca(h)&&Nh:r!=c&&!!(3&h.type),i&_t.Host&&a===h);return null!==D?ba(t,c,D,h):as}function Fu(e,t,n,r,i){const a=e.providerIndexes,c=t.data,h=1048575&a,g=e.directiveStart,D=a>>20,R=i?h+D:e.directiveEnd;for(let U=r?h:h+D;U<R;U++){const H=c[U];if(U<g&&n===H||U>=g&&H.type===n)return U}if(i){const U=c[g];if(U&&Uo(U)&&U.type===n)return g}return null}function ba(e,t,n,r){let i=e[n];const a=t.data;if(function pM(e){return e instanceof hc}(i)){const c=i;c.resolving&&function Kl(e,t){throw t&&t.join(" > "),new Me(-200,e)}(function Ct(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ye(e)}(a[n]));const h=Nu(c.canSeeViewProviders);c.resolving=!0;const C=c.injectImpl?gn(c.injectImpl):null;Yg(e,r,_t.Default);try{i=e[n]=c.factory(void 0,a,e,r),t.firstCreatePass&&n>=r.directiveStart&&function hM(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:a}=t.type.prototype;if(r){const c=Rg(t);(n.preOrderHooks??=[]).push(e,c),(n.preOrderCheckHooks??=[]).push(e,c)}i&&(n.preOrderHooks??=[]).push(0-e,i),a&&((n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a))}(n,a[n],t)}finally{null!==C&&gn(C),Nu(h),c.resolving=!1,nm()}}return i}function gm(e,t,n){return!!(n[t+(e>>cm)]&1<<e)}function mm(e,t){return!(e&_t.Self||e&_t.Host&&t)}class Dr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return fm(this._tNode,this._lView,t,en(r),n)}}function bM(){return new Dr(nn(),re())}function ym(e){return qr((()=>{const t=e.prototype.constructor,n=t[Oi]||Fh(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const a=i[Oi]||Fh(i);if(a&&a!==n)return a;i=Object.getPrototypeOf(i)}return a=>new a}))}function Fh(e){return hi(e)?()=>{const t=Fh(He(e));return t&&t()}:mi(e)}function _m(e){const t=e[Ee],n=t.type;return 2===n?t.declTNode:1===n?e[$r]:null}function ku(e){return function EM(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const a=n[i];if(za(a))break;if(0===a)i+=2;else if("number"==typeof a)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(a===t)return n[i+1];i+=2}}}return null}(nn(),e)}function Dm(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 a=[n||kt,yu(e)];return r=r||("object"==typeof e?void 0:In(e)),new Ka(a,t||Rs(),r||null,i)}class Gr{static#e=this.THROW_IF_NOT_FOUND=es;static#t=this.NULL=new ma;static create(t,n){if(Array.isArray(t))return Dm({name:""},n,t,"");{const r=t.name??"";return Dm({name:r},t.parent,t.providers,r)}}static#n=this.ɵprov=Lt({token:Gr,providedIn:"any",factory:()=>ct(Jl)});static#r=this.__NG_ELEMENT_ID__=-1}new Ze("").__NG_ELEMENT_ID__=e=>{const t=nn();if(null===t)throw new Me(204,!1);if(2&t.type)return t.value;if(e&_t.Optional)return null;throw new Me(204,!1)};function Lh(e){return e.ngOriginalError}const Sm=!0;let gc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=kM;static#t=this.__NG_ENV_ID__=n=>n}return e})();class FM extends gc{constructor(t){super(),this._lView=t}onDestroy(t){return Su(this._lView,t),()=>function vh(e,t){if(null===e[Zs])return;const n=e[Zs].indexOf(t);-1!==n&&e[Zs].splice(n,1)}(this._lView,t)}}function kM(){return new FM(re())}let Sa=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Yt.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.ɵprov=Lt({token:e,providedIn:"root",factory:()=>new e})}return e})();const ls=class LM extends Dn.B{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,Mg()&&(this.destroyRef=ge(gc,{optional:!0})??void 0,this.pendingTasks=ge(Sa,{optional:!0})??void 0)}emit(t){const n=te(null);try{super.next(t)}finally{te(n)}}subscribe(t,n,r){let i=t,a=n||(()=>null),c=r;if(t&&"object"==typeof t){const g=t;i=g.next?.bind(g),a=g.error?.bind(g),c=g.complete?.bind(g)}this.__isAsync&&(a=this.wrapInTimeout(a),i&&(i=this.wrapInTimeout(i)),c&&(c=this.wrapInTimeout(c)));const h=super.subscribe({next:i,error:a,complete:c});return t instanceof kn.yU&&t.add(h),h}wrapInTimeout(t){return n=>{const r=this.pendingTasks?.add();setTimeout((()=>{t(n),void 0!==r&&this.pendingTasks?.remove(r)}))}}};function Vu(...e){}function Tm(e){let t,n;function r(){e=Vu;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout((()=>{e(),r()})),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame((()=>{e(),r()}))),()=>r()}function Im(e){return queueMicrotask((()=>e())),()=>{e=Vu}}const Vh="isAngularZone",Uu=Vh+"_ID";let VM=0;class Rn{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ls(!1),this.onMicrotaskEmpty=new ls(!1),this.onStable=new ls(!1),this.onError=new ls(!1);const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:a=Sm}=t;if(typeof Zone>"u")throw new Me(908,!1);Zone.assertZonePatched();const c=this;c._nesting=0,c._outer=c._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(c._inner=c._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(c._inner=c._inner.fork(Zone.longStackTraceZoneSpec)),c.shouldCoalesceEventChangeDetection=!i&&r,c.shouldCoalesceRunChangeDetection=i,c.callbackScheduled=!1,c.scheduleInRootZone=a,function BM(e){const t=()=>{!function jM(e){function t(){Tm((()=>{e.callbackScheduled=!1,jh(e),e.isCheckStableRunning=!0,Uh(e),e.isCheckStableRunning=!1}))}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run((()=>{t()})):e._outer.run((()=>{t()})),jh(e))}(e)},n=VM++;e._inner=e._inner.fork({name:"angular",properties:{[Vh]:!0,[Uu]:n,[Uu+n]:!0},onInvokeTask:(r,i,a,c,h,g)=>{if(function $M(e){return Am(e,"__ignore_ng_zone__")}(g))return r.invokeTask(a,c,h,g);try{return Om(e),r.invokeTask(a,c,h,g)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===c.type||e.shouldCoalesceRunChangeDetection)&&t(),Pm(e)}},onInvoke:(r,i,a,c,h,g,C)=>{try{return Om(e),r.invoke(a,c,h,g,C)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function HM(e){return Am(e,"__scheduler_tick__")}(g)&&t(),Pm(e)}},onHasTask:(r,i,a,c)=>{r.hasTask(a,c),i===a&&("microTask"==c.change?(e._hasPendingMicrotasks=c.microTask,jh(e),Uh(e)):"macroTask"==c.change&&(e.hasPendingMacrotasks=c.macroTask))},onHandleError:(r,i,a,c)=>(r.handleError(a,c),e.runOutsideAngular((()=>e.onError.emit(c))),!1)})}(c)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Vh)}static assertInAngularZone(){if(!Rn.isInAngularZone())throw new Me(909,!1)}static assertNotInAngularZone(){if(Rn.isInAngularZone())throw new Me(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const a=this._inner,c=a.scheduleEventTask("NgZoneEvent: "+i,t,UM,Vu,Vu);try{return a.runTask(c,n,r)}finally{a.cancelTask(c)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const UM={};function Uh(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular((()=>e.onStable.emit(null)))}finally{e.isStable=!0}}}function jh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function Om(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Pm(e){e._nesting--,Uh(e)}class Bh{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ls,this.onMicrotaskEmpty=new ls,this.onStable=new ls,this.onError=new ls}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 Am(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class Vs{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Lh(t);for(;n&&Lh(n);)n=Lh(n);return n||null}}const zM=new Ze("",{providedIn:"root",factory:()=>{const e=ge(Rn),t=ge(Vs);return n=>e.runOutsideAngular((()=>t.handleError(n)))}});function WM(){return ol(nn(),re())}function ol(e,t){return new mc(vi(e,t))}let mc=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=WM}return e})();function Rm(e){return e instanceof mc?e.nativeElement:e}function qM(){return this._results[Symbol.iterator]()}class $h{static#e=Symbol.iterator;get changes(){return this._changes??=new ls}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=$h.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=qM)}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 Ur(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function fa(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],a=t[r];if(n&&(i=n(i),a=n(a)),a!==i)return!1}return!0}(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function _c(e){return!(128&~e.flags)}const Gh=new Map;let QM=0;function zh(e){Gh.delete(e[el])}const ju="__ngContext__";function ei(e,t){Er(t)?(e[ju]=t[el],function ZM(e){Gh.set(e[el],e)}(t)):e[ju]=t}function Hm(e){return zm(e[oc])}function Gm(e){return zm(e[Vo])}function zm(e){for(;null!==e&&!Jr(e);)e=e[Vo];return e}let qh;function fb(e){qh=e}function Ys(){if(void 0!==qh)return qh;if(typeof document<"u")return document;throw new Me(210,!1)}const $u=new Ze("",{providedIn:"root",factory:()=>pb}),pb="ng",Jm=new Ze(""),Hu=new Ze("",{providedIn:"platform",factory:()=>"unknown"}),gb=new Ze(""),mb=new Ze("",{providedIn:"root",factory:()=>Ys().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let ey=()=>null;function ef(e,t,n=!1){return ey(e,t,n)}const ly=new Ze("",{providedIn:"root",factory:()=>!1});let Zu,Yu;function cl(e){return function af(){if(void 0===Zu&&(Zu=null,an.trustedTypes))try{Zu=an.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Zu}()?.createHTML(e)||e}function lf(){if(void 0===Yu&&(Yu=null,an.trustedTypes))try{Yu=an.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Yu}function dy(e){return lf()?.createHTML(e)||e}function fy(e){return lf()?.createScriptURL(e)||e}class py{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ao})`}}function Js(e){return e instanceof py?e.changingThisBreaksApplicationSecurity:e}function bc(e,t){const n=function Fb(e){return e instanceof py&&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 ${Ao})`)}return n===t}class kb{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(cl(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class Lb{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=cl(t),n}}const Ub=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function cf(e){return(e=String(e)).match(Ub)?e:"unsafe:"+e}function Us(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Sc(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const my=Us("area,br,col,hr,img,wbr"),yy=Us("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),_y=Us("rp,rt"),uf=Sc(my,Sc(yy,Us("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Sc(_y,Us("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Sc(_y,yy)),df=Us("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),vy=Sc(df,Us("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Us("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),jb=Us("script,style,template");class Bb{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,i=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)i.push(n),n=Gb(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let a=Hb(n);if(a){n=a;break}n=i.pop()}return this.buf.join("")}startElement(t){const n=Cy(t).toLowerCase();if(!uf.hasOwnProperty(n))return this.sanitizedSomething=!0,!jb.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const a=r.item(i),c=a.name,h=c.toLowerCase();if(!vy.hasOwnProperty(h)){this.sanitizedSomething=!0;continue}let g=a.value;df[h]&&(g=cf(g)),this.buf.push(" ",c,'="',Ey(g),'"')}return this.buf.push(">"),!0}endElement(t){const n=Cy(t).toLowerCase();uf.hasOwnProperty(n)&&!my.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Ey(t))}}function Hb(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw wy(t);return t}function Gb(e){const t=e.firstChild;if(t&&function $b(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw wy(t);return t}function Cy(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function wy(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const zb=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Wb=/([^\#-~ |!])/g;function Ey(e){return e.replace(/&/g,"&").replace(zb,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Wb,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}let Ju;function hf(e){return"content"in e&&function Kb(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ul=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}(ul||{});function Dy(e){const t=Tc();return t?dy(t.sanitize(ul.HTML,e)||""):bc(e,"HTML")?dy(Js(e)):function qb(e,t){let n=null;try{Ju=Ju||function gy(e){const t=new Lb(e);return function Vb(){try{return!!(new window.DOMParser).parseFromString(cl(""),"text/html")}catch{return!1}}()?new kb(t):t}(e);let r=t?String(t):"";n=Ju.getInertBodyElement(r);let i=5,a=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=a,a=n.innerHTML,n=Ju.getInertBodyElement(r)}while(r!==a);return cl((new Bb).sanitizeChildren(hf(n)||n))}finally{if(n){const r=hf(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}(Ys(),Ye(e))}function ff(e){const t=Tc();return t?t.sanitize(ul.URL,e)||"":bc(e,"URL")?Js(e):cf(Ye(e))}function My(e){const t=Tc();if(t)return fy(t.sanitize(ul.RESOURCE_URL,e)||"");if(bc(e,"ResourceURL"))return fy(Js(e));throw new Me(904,!1)}function by(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)?My:ff}(t,n)(e)}function Tc(){const e=re();return e&&e[rs].sanitizer}const e0=/^>|^->|<!--|-->|--!>|<!-$/g,t0=/(<|>)/g,n0="$1";function to(e){return e instanceof Function?e():e}var nd=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(nd||{});let mf;function yf(e,t){return mf(e,t)}function hl(e,t,n,r,i){if(null!=r){let a,c=!1;Jr(r)?a=r:Er(r)&&(c=!0,r=r[An]);const h=$t(r);0===e&&null!==n?null==i?Vy(t,n,h):Ia(t,n,h,i||null,!0):1===e&&null!==n?Ia(t,n,h,i||null,!0):2===e?function Oc(e,t,n){e.removeChild(null,t,n)}(t,h,c):3===e&&t.destroyNode(h),null!=a&&function D0(e,t,n,r,i){const a=n[is];a!==$t(n)&&hl(t,e,r,a,i);for(let h=qn;h<n.length;h++){const g=n[h];sd(g[Ee],g,e,t,r,a)}}(t,e,a,n,i)}}function vf(e,t){return e.createComment(function Sy(e){return e.replace(e0,(t=>t.replace(t0,n0)))}(t))}function rd(e,t,n){return e.createElement(t,n)}function Fy(e,t){t[rs].changeDetectionScheduler?.notify(9),sd(e,t,t[st],2,null,null)}function ky(e,t){const n=e[tl],r=t[cr];(Er(r)||t[Nn]!==r[cr][Nn])&&(e[We]|=Eu.HasTransplantedViews),null===n?e[tl]=[t]:n.push(t)}function Cf(e,t){const n=e[tl],r=n.indexOf(t);n.splice(r,1)}function Ic(e,t){if(e.length<=qn)return;const n=qn+t,r=e[n];if(r){const i=r[va];null!==i&&i!==e&&Cf(i,r),t>0&&(e[n-1][Vo]=r[Vo]);const a=ts(e,qn+t);!function g0(e,t){Fy(e,t),t[An]=null,t[$r]=null}(r[Ee],r);const c=a[xs];null!==c&&c.detachView(a[Ee]),r[cr]=null,r[Vo]=null,r[We]&=-129}return r}function id(e,t){if(!(256&t[We])){const n=t[st];n.destroyNode&&sd(e,t,n,3,null,null),function y0(e){let t=e[oc];if(!t)return wf(e[Ee],e);for(;t;){let n=null;if(Er(t))n=t[oc];else{const r=t[qn];r&&(n=r)}if(!n){for(;t&&!t[Vo]&&t!==e;)Er(t)&&wf(t[Ee],t),t=t[cr];null===t&&(t=e),Er(t)&&wf(t[Ee],t),n=t&&t[Vo]}t=n}}(t)}}function wf(e,t){if(256&t[We])return;const n=te(null);try{t[We]&=-129,t[We]|=256,t[Co]&&Dt(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 hc)){const a=n[r+1];if(Array.isArray(a))for(let c=0;c<a.length;c+=2){const h=i[a[c]],g=a[c+1];os(4,h,g);try{g.call(h)}finally{os(5,h,g)}}else{os(4,i,a);try{a.call(i)}finally{os(5,i,a)}}}}}(e,t),function v0(e,t){const n=e.cleanup,r=t[Za];if(null!==n)for(let a=0;a<n.length-1;a+=2)if("string"==typeof n[a]){const c=n[a+3];c>=0?r[c]():r[-c].unsubscribe(),a+=2}else n[a].call(r[n[a+1]]);null!==r&&(t[Za]=null);const i=t[Zs];if(null!==i){t[Zs]=null;for(let a=0;a<i.length;a++)(0,i[a])()}}(e,t),1===t[Ee].type&&t[st].destroy();const r=t[va];if(null!==r&&Jr(t[cr])){r!==t[cr]&&Cf(r,t);const i=t[xs];null!==i&&i.detachView(e)}zh(t)}finally{te(n)}}function Ef(e,t,n){return function Ly(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[An];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:a}=e.data[r.directiveStart+i];if(a===Fo.None||a===Fo.Emulated)return null}return vi(r,n)}}(e,t.parent,n)}function Ia(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Vy(e,t,n){e.appendChild(t,n)}function Uy(e,t,n,r,i){null!==r?Ia(e,t,n,r,i):Vy(e,t,n)}function Df(e,t){return e.parentNode(t)}function jy(e,t,n){return $y(e,t,n)}let Mf,$y=function By(e,t,n){return 40&e.type?vi(e,n):null};function od(e,t,n,r){const i=Ef(e,r,t),a=t[st],h=jy(r.parent||t[$r],r,t);if(null!=i)if(Array.isArray(n))for(let g=0;g<n.length;g++)Uy(a,i,n[g],h,!1);else Uy(a,i,n,h,!1);void 0!==Mf&&Mf(a,r,t,n,i)}function Oa(e,t){if(null!==t){const n=t.type;if(3&n)return vi(t,e);if(4&n)return bf(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Oa(e,r);{const i=e[t.index];return Jr(i)?bf(-1,i):$t(i)}}if(128&n)return Oa(e,t.next);if(32&n)return yf(t,e)()||$t(e[t.index]);{const r=Gy(e,t);return null!==r?Array.isArray(r)?r[0]:Oa(Fs(e[Nn]),r):Oa(e,t.next)}}return null}function Gy(e,t){return null!==t?e[Nn][$r].projection[t.projection]:null}function bf(e,t){const n=qn+e+1;if(n<t.length){const r=t[n],i=r[Ee].firstChild;if(null!==i)return Oa(r,i)}return t[is]}function Sf(e,t,n,r,i,a,c){for(;null!=n;){if(128===n.type){n=n.next;continue}const h=r[n.index],g=n.type;if(c&&0===t&&(h&&ei($t(h),r),n.flags|=2),32&~n.flags)if(8&g)Sf(e,t,n.child,r,i,a,!1),hl(t,e,i,h,a);else if(32&g){const C=yf(n,r);let D;for(;D=C();)hl(t,e,i,D,a);hl(t,e,i,h,a)}else 16&g?Wy(e,t,r,n,i,a):hl(t,e,i,h,a);n=c?n.projectionNext:n.next}}function sd(e,t,n,r,i,a){Sf(n,r,e.firstChild,t,i,a,!1)}function Wy(e,t,n,r,i,a){const c=n[Nn],g=c[$r].projection[r.projection];if(Array.isArray(g))for(let C=0;C<g.length;C++)hl(t,e,i,g[C],a);else{let C=g;const D=c[cr];_c(r)&&(C.flags|=128),Sf(e,t,C,D,i,a,!0)}}function qy(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Ky(e,t,n){const{mergedAttrs:r,classes:i,styles:a}=n;null!==r&&Os(e,t,r),null!==i&&qy(e,t,i),null!==a&&function b0(e,t,n){e.setAttribute(t,"style",n)}(e,t,a)}const mt={};function Qy(e=1){Xy(Et(),re(),Hr()+e,!1)}function Xy(e,t,n,r){if(!r)if(3&~t[We]){const a=e.preOrderHooks;null!==a&&Au(t,a,0,n)}else{const a=e.preOrderCheckHooks;null!==a&&Pu(t,a,n)}Da(n)}function fl(e,t=_t.Default){const n=re();return null===n?ct(e,t):fm(nn(),n,He(e),t)}function Zy(){throw new Error("invalid")}function Yy(e,t,n,r,i,a){const c=te(null);try{let h=null;i&Ji.SignalBased&&(h=t[r][ie]),null!==h&&void 0!==h.transformFn&&(a=h.transformFn(a)),i&Ji.HasDecoratorInputTransform&&(a=e.inputTransforms[r].call(t,a)),null!==e.setInput?e.setInput(t,h,a,n,r):Ng(t,h,r,a)}finally{te(c)}}function ad(e,t,n,r,i,a,c,h,g,C,D){const P=t.blueprint.slice();return P[An]=i,P[We]=204|r,(null!==C||e&&2048&e[We])&&(P[We]|=2048),Vg(P),P[cr]=P[Ya]=e,P[yn]=n,P[rs]=c||e&&e[rs],P[st]=h||e&&e[st],P[ur]=g||e&&e[ur]||null,P[$r]=a,P[el]=function XM(){return QM++}(),P[_i]=D,P[Tg]=C,P[Nn]=2==t.type?e[Nn]:P,P}function Pa(e,t,n,r,i){let a=e.data[t];if(null===a)a=function Tf(e,t,n,r,i){const a=zg(),c=wh(),g=e.data[t]=function R0(e,t,n,r,i,a){let c=t?t.injectorIndex:-1,h=0;return Ea()&&(h|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:c,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:h,providerIndexes:0,value:i,attrs:a,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,c?a:a&&a.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=g),null!==a&&(c?null==a.child&&null!==g.parent&&(a.child=g):null===a.next&&(a.next=g,g.prev=a)),g}(e,t,n,r,i),function rM(){return at.lFrame.inI18n}()&&(a.flags|=32);else if(64&a.type){a.type=n,a.value=r,a.attrs=i;const c=function uc(){const e=at.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();a.injectorIndex=null===c?-1:c.injectorIndex}return jo(a,!0),a}function Pc(e,t,n,r){if(0===n)return-1;const i=t.length;for(let a=0;a<n;a++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function Jy(e,t,n,r,i){const a=Hr(),c=2&r;try{Da(-1),c&&t.length>je&&Xy(e,t,je,!1),os(c?2:0,i),n(r,i)}finally{Da(a),os(c?3:1,i)}}function If(e,t,n){if(dh(t)){const r=te(null);try{const a=t.directiveEnd;for(let c=t.directiveStart;c<a;c++){const h=e.data[c];h.contentQueries&&h.contentQueries(1,n[c],c)}}finally{te(r)}}}function Of(e,t,n){$g()&&(function j0(e,t,n,r){const i=n.directiveStart,a=n.directiveEnd;Ca(n)&&function q0(e,t,n){const r=vi(t,e),i=e_(n);let c=16;n.signals?c=4096:n.onPush&&(c=64);const h=ld(e,ad(e,i,null,c,r,t,null,e[rs].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=h}(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||Ru(n,t),ei(r,t);const c=n.initialInputs;for(let h=i;h<a;h++){const g=e.data[h],C=ba(t,e,h,n);ei(C,t),null!==c&&K0(0,h-i,C,g,0,c),Uo(g)&&(eo(n.index,t)[yn]=ba(t,e,h,n))}}(e,t,n,vi(n,t)),!(64&~n.flags)&&o_(e,t,n))}function Pf(e,t,n=vi){const r=t.localNames;if(null!==r){let i=t.index+1;for(let a=0;a<r.length;a+=2){const c=r[a+1],h=-1===c?n(t,e):e[c];e[i++]=h}}}function e_(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Af(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Af(e,t,n,r,i,a,c,h,g,C,D){const P=je+r,R=P+i,U=function T0(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:mt);return n}(P,R),H="function"==typeof C?C():C;return U[Ee]={type:e,blueprint:U,template:n,queries:null,viewQuery:h,declTNode:t,data:U.slice().fill(null,P),bindingStartIndex:P,expandoStartIndex:R,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof a?a():a,pipeRegistry:"function"==typeof c?c():c,firstChild:null,schemas:g,consts:H,incompleteFirstPass:!1,ssrId:D}}let t_=()=>null;function n_(e,t,n,r,i){for(let a in t){if(!t.hasOwnProperty(a))continue;const c=t[a];if(void 0===c)continue;r??={};let h,g=Ji.None;Array.isArray(c)?(h=c[0],g=c[1]):h=c;let C=a;if(null!==i){if(!i.hasOwnProperty(a))continue;C=i[a]}0===e?r_(r,n,C,h,g):r_(r,n,C,h)}return r}function r_(e,t,n,r,i){let a;e.hasOwnProperty(n)?(a=e[n]).push(t,r):a=e[n]=[t,r],void 0!==i&&a.push(i)}function Fi(e,t,n,r,i,a,c,h){const g=vi(t,n);let D,C=t.inputs;!h&&null!=C&&(D=C[r])?(kf(e,n,D,r,i),Ca(t)&&function k0(e,t){const n=eo(t,e);16&n[We]||(n[We]|=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!=c?c(i,t.value||"",r):i,a.setProperty(g,r,i))}function Nf(e,t,n,r){if($g()){const i=null===r?null:{"":-1},a=function $0(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let a=0;a<n.length;a++){const c=n[a];if(u(t,c.selectors,!1))if(r||(r=[]),Uo(c))if(null!==c.findHostDirectiveDefs){const h=[];i=i||new Map,c.findHostDirectiveDefs(c,h,i),r.unshift(...h,c),Rf(e,t,h.length)}else r.unshift(c),Rf(e,t,0);else i=i||new Map,c.findHostDirectiveDefs?.(c,r,i),r.push(c)}return null===r?null:[r,i]}(e,n);let c,h;null===a?c=h=null:[c,h]=a,null!==c&&i_(e,t,n,c,i,h),i&&function H0(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const a=n[t[i+1]];if(null==a)throw new Me(-301,!1);r.push(t[i],a)}}}(n,r,i)}n.mergedAttrs=Xs(n.mergedAttrs,n.attrs)}function i_(e,t,n,r,i,a){for(let C=0;C<r.length;C++)xh(Ru(n,t),e,r[C].type);!function z0(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let C=0;C<r.length;C++){const D=r[C];D.providersResolver&&D.providersResolver(D)}let c=!1,h=!1,g=Pc(e,t,r.length,null);for(let C=0;C<r.length;C++){const D=r[C];n.mergedAttrs=Xs(n.mergedAttrs,D.hostAttrs),W0(e,n,t,g,D),G0(g,D,i),null!==D.contentQueries&&(n.flags|=4),(null!==D.hostBindings||null!==D.hostAttrs||0!==D.hostVars)&&(n.flags|=64);const P=D.type.prototype;!c&&(P.ngOnChanges||P.ngOnInit||P.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),c=!0),!h&&(P.ngOnChanges||P.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),h=!0),g++}!function x0(e,t,n){const i=t.directiveEnd,a=e.data,c=t.attrs,h=[];let g=null,C=null;for(let D=t.directiveStart;D<i;D++){const P=a[D],R=n?n.get(P):null,H=R?R.outputs:null;g=n_(0,P.inputs,D,g,R?R.inputs:null),C=n_(1,P.outputs,D,C,H);const le=null===g||null===c||nc(t)?null:Q0(g,D,c);h.push(le)}null!==g&&(g.hasOwnProperty("class")&&(t.flags|=8),g.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=h,t.inputs=g,t.outputs=C}(e,n,a)}function o_(e,t,n){const r=n.directiveStart,i=n.directiveEnd,a=n.index,c=function oM(){return at.lFrame.currentDirectiveIndex}();try{Da(a);for(let h=r;h<i;h++){const g=e.data[h],C=t[h];Dh(h),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&B0(g,C)}}finally{Da(-1),Dh(c)}}function B0(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Rf(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function G0(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Uo(t)&&(n[""]=e)}}function W0(e,t,n,r,i){e.data[r]=i;const a=i.factory||(i.factory=mi(i.type)),c=new hc(a,Uo(i),fl);e.blueprint[r]=c,n[r]=c,function V0(e,t,n,r,i){const a=i.hostBindings;if(a){let c=e.hostBindingOpCodes;null===c&&(c=e.hostBindingOpCodes=[]);const h=~t.index;(function U0(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(c)!=h&&c.push(h),c.push(n,r,a)}}(e,t,r,Pc(e,n,i.hostVars,mt),i)}function cs(e,t,n,r,i,a){const c=vi(e,t);!function xf(e,t,n,r,i,a,c){if(null==a)e.removeAttribute(t,i,n);else{const h=null==c?Ye(a):c(a,r||"",i);e.setAttribute(t,i,h,n)}}(t[st],c,a,e.value,n,r,i)}function K0(e,t,n,r,i,a){const c=a[t];if(null!==c)for(let h=0;h<c.length;)Yy(r,n,c[h++],c[h++],c[h++],c[h++])}function Q0(e,t,n){let r=null,i=0;for(;i<n.length;){const a=n[i];if(0!==a)if(5!==a){if("number"==typeof a)break;if(e.hasOwnProperty(a)){null===r&&(r=[]);const c=e[a];for(let h=0;h<c.length;h+=3)if(c[h]===t){r.push(a,c[h+1],c[h+2],n[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function s_(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function a_(e,t){const n=e.contentQueries;if(null!==n){const r=te(null);try{for(let i=0;i<n.length;i+=2){const c=n[i+1];if(-1!==c){const h=e.data[c];Iu(n[i]),h.contentQueries(2,t[c],c)}}}finally{te(r)}}}function ld(e,t){return e[oc]?e[Sg][Vo]=t:e[oc]=t,e[Sg]=t,t}function Ff(e,t,n){Iu(0);const r=te(null);try{t(e,n)}finally{te(r)}}function l_(e){return e[Za]??=[]}function c_(e){return e.cleanup??=[]}function cd(e,t){const n=e[ur],r=n?n.get(Vs,null):null;r&&r.handleError(t)}function kf(e,t,n,r,i){for(let a=0;a<n.length;){const c=n[a++],h=n[a++],g=n[a++];Yy(e.data[c],t[c],r,h,g,i)}}function X0(e,t){const n=eo(t,e),r=n[Ee];!function Z0(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const i=n[An];null!==i&&null===n[_i]&&(n[_i]=ef(i,n[ur])),Lf(r,n,n[yn])}function Lf(e,t,n){Sh(t);try{const r=e.viewQuery;null!==r&&Ff(1,r,n);const i=e.template;null!==i&&Jy(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[xs]?.finishViewCreation(e),e.staticContentQueries&&a_(e,t),e.staticViewQueries&&Ff(2,e.viewQuery,n);const a=e.components;null!==a&&function Y0(e,t){for(let n=0;n<t.length;n++)X0(e,t[n])}(t,a)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[We]&=-5,Th()}}function pl(e,t,n,r){const i=te(null);try{const a=t.tView,g=ad(e,a,n,4096&e[We]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);g[va]=e[t.index];const D=e[xs];return null!==D&&(g[xs]=D.createEmbeddedView(a)),Lf(a,g,n),g}finally{te(i)}}function Aa(e,t){return!t||null===t.firstChild||_c(e)}function gl(e,t,n,r=!0){const i=t[Ee];if(function _0(e,t,n,r){const i=qn+r,a=n.length;r>0&&(n[i-1][Vo]=t),r<a-qn?(t[Vo]=n[i],Ts(n,qn+r,t)):(n.push(t),t[Vo]=null),t[cr]=n;const c=t[va];null!==c&&n!==c&&ky(c,t);const h=t[xs];null!==h&&h.insertView(e),_h(t),t[We]|=128}(i,t,e,n),r){const c=bf(n,e),h=t[st],g=Df(h,e[is]);null!==g&&function m0(e,t,n,r,i,a){r[An]=i,r[$r]=t,sd(e,r,n,1,i,a)}(i,e[$r],h,t,g,c)}const a=t[_i];null!==a&&null!==a.firstChild&&(a.firstChild=null)}function Ac(e,t,n,r,i=!1){for(;null!==n;){if(128===n.type){n=i?n.projectionNext:n.next;continue}const a=t[n.index];null!==a&&r.push($t(a)),Jr(a)&&h_(a,r);const c=n.type;if(8&c)Ac(e,t,n.child,r);else if(32&c){const h=yf(n,t);let g;for(;g=h();)r.push(g)}else if(16&c){const h=Gy(t,n);if(Array.isArray(h))r.push(...h);else{const g=Fs(t[Nn]);Ac(g[Ee],g,h,r,!0)}}n=i?n.projectionNext:n.next}return r}function h_(e,t){for(let n=qn;n<e.length;n++){const r=e[n],i=r[Ee].firstChild;null!==i&&Ac(r[Ee],r,i,t)}e[is]!==e[An]&&t.push(e[is])}let f_=[];const nS={...J,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{bu(e.lView)},consumerOnSignalRead(){this.lView[Co]=this}},iS={...J,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Fs(e.lView);for(;t&&!p_(t[Ee]);)t=Fs(t);t&&Ug(t)},consumerOnSignalRead(){this.lView[Co]=this}};function p_(e){return 2!==e.type}const oS=100;function ud(e,t=!0,n=0){const r=e[rs],i=r.rendererFactory;i.begin?.();try{!function sS(e,t){const n=Kg();try{Qg(!0),Uf(e,t);let r=0;for(;Mu(e);){if(r===oS)throw new Me(103,!1);r++,Uf(e,1)}}finally{Qg(n)}}(e,n)}catch(c){throw t&&cd(e,c),c}finally{i.end?.(),r.inlineEffectRunner?.flush()}}function aS(e,t,n,r){const i=t[We];if(!(256&~i))return;t[rs].inlineEffectRunner?.flush(),Sh(t);let h=!0,g=null,C=null;p_(e)?(C=function J0(e){return e[Co]??function eS(e){const t=f_.pop()??Object.create(nS);return t.lView=e,t}(e)}(t),g=Ne(C)):null===function we(){return x}()?(h=!1,C=function rS(e){const t=e[Co]??Object.create(iS);return t.lView=e,t}(t),g=Ne(C)):t[Co]&&(Dt(t[Co]),t[Co]=null);try{Vg(t),function Xg(e){return at.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Jy(e,t,n,2,r);const D=!(3&~i);if(D){const U=e.preOrderCheckHooks;null!==U&&Pu(t,U,null)}else{const U=e.preOrderHooks;null!==U&&Au(t,U,0,null),Ih(t,0)}if(function lS(e){for(let t=Hm(e);null!==t;t=Gm(t)){if(!(t[We]&Eu.HasTransplantedViews))continue;const n=t[tl];for(let r=0;r<n.length;r++)Ug(n[r])}}(t),m_(t,0),null!==e.contentQueries&&a_(e,t),D){const U=e.contentCheckHooks;null!==U&&Pu(t,U)}else{const U=e.contentHooks;null!==U&&Au(t,U,1),Ih(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)Da(~i);else{const a=i,c=n[++r],h=n[++r];iM(c,a),h(2,t[a])}}}finally{Da(-1)}}(e,t);const P=e.components;null!==P&&__(t,P,0);const R=e.viewQuery;if(null!==R&&Ff(2,R,r),D){const U=e.viewCheckHooks;null!==U&&Pu(t,U)}else{const U=e.viewHooks;null!==U&&Au(t,U,2),Ih(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Cu]){for(const U of t[Cu])U();t[Cu]=null}t[We]&=-73}catch(D){throw bu(t),D}finally{null!==C&&(Ke(C,g),h&&function tS(e){e.lView[Co]!==e&&(e.lView=null,f_.push(e))}(C)),Th()}}function m_(e,t){for(let n=Hm(e);null!==n;n=Gm(n))for(let r=qn;r<n.length;r++)y_(n[r],t)}function cS(e,t,n){y_(eo(t,e),n)}function y_(e,t){yh(e)&&Uf(e,t)}function Uf(e,t){const r=e[Ee],i=e[We],a=e[Co];let c=!!(0===t&&16&i);if(c||=!!(64&i&&0===t),c||=!!(1024&i),c||=!(!a?.dirty||!rt(a)),c||=!1,a&&(a.dirty=!1),e[We]&=-9217,c)aS(r,e,r.template,e[yn]);else if(8192&i){m_(e,1);const h=r.components;null!==h&&__(e,h,1)}}function __(e,t,n){for(let r=0;r<t.length;r++)cS(e,t[r],n)}function Nc(e,t){const n=Kg()?64:1088;for(e[rs].changeDetectionScheduler?.notify(t);e;){e[We]|=n;const r=Fs(e);if(ac(e)&&!r)return e;e=r}return null}class Rc{get rootNodes(){const t=this._lView,n=t[Ee];return Ac(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[yn]}set context(t){this._lView[yn]=t}get destroyed(){return!(256&~this._lView[We])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[cr];if(Jr(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Ic(t,r),ts(n,r))}this._attachedToViewContainer=!1}id(this._lView[Ee],this._lView)}onDestroy(t){Su(this._lView,t)}markForCheck(){Nc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[We]&=-129}reattach(){_h(this._lView),this._lView[We]|=128}detectChanges(){this._lView[We]|=1024,ud(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Me(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=ac(this._lView),n=this._lView[va];null!==n&&!t&&Cf(n,this._lView),Fy(this._lView[Ee],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Me(902,!1);this._appRef=t;const n=ac(this._lView),r=this._lView[va];null!==r&&!n&&ky(r,this._lView),_h(this._lView)}}let xc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=hS}return e})();const uS=xc,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=pl(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Rc(i)}};function hS(){return dd(nn(),re())}function dd(e,t){return 4&e.type?new dS(t,e,ol(e,t)):null}let U_=()=>null;function Ra(e,t){return U_(e,t)}class yl{}const $c=new Ze("",{providedIn:"root",factory:()=>!1}),j_=new Ze(""),Xf=new Ze("");class iT{}class B_{}class sT{resolveComponentFactory(t){throw function oT(e){const t=Error(`No component factory found for ${In(e)}.`);return t.ngComponent=e,t}(t)}}class Hc{static#e=this.NULL=new sT}class Zf{}let aT=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function lT(){const e=re(),n=eo(nn().index,e);return(Er(n)?n:e)[st]}()}return e})(),cT=(()=>{class e{static#e=this.ɵprov=Lt({token:e,providedIn:"root",factory:()=>null})}return e})();function ea(e){return!!Wt(e)}function _d(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,a=0;if(null!==t)for(let c=0;c<t.length;c++){const h=t[c];"number"==typeof h?a=h:1==a?i=go(i,h):2==a&&(r=go(r,h+": "+t[++c]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}class z_ extends Hc{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ze(t);return new Wc(n,this.ngModule)}}function W_(e,t){const n=[];for(const r in e){if(!e.hasOwnProperty(r))continue;const i=e[r];if(void 0===i)continue;const a=Array.isArray(i),c=a?i[0]:i;n.push(t?{propName:c,templateName:r,isSignal:!!((a?i[1]:Ji.None)&Ji.SignalBased)}:{propName:c,templateName:r})}return n}class Wc extends B_{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=W_(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 W_(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function he(e){return e.map(B).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){const a=te(null);try{let c=(i=i||this.ngModule)instanceof Yr?i:i?.injector;c&&null!==this.componentDef.getStandaloneInjector&&(c=this.componentDef.getStandaloneInjector(c)||c);const h=c?new Ma(t,c):t,g=h.get(Zf,null);if(null===g)throw new Me(407,!1);const P={rendererFactory:g,sanitizer:h.get(cT,null),inlineEffectRunner:null,changeDetectionScheduler:h.get(yl,null)},R=g.createRenderer(null,this.componentDef),U=this.componentDef.selectors[0][0]||"div",H=r?function I0(e,t,n,r){const a=r.get(ly,!1)||n===Fo.ShadowDom,c=e.selectRootElement(t,a);return function O0(e){t_(e)}(c),c}(R,r,this.componentDef.encapsulation,h):rd(R,U,function hT(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(U));let le=512;this.componentDef.signals?le|=4096:this.componentDef.onPush||(le|=16);let De=null;null!==H&&(De=ef(H,h,!0));const be=Af(0,null,null,1,0,null,null,null,null,null,null),ce=ad(null,be,null,le,null,null,P,R,h,null,De);Sh(ce);let ft,Rt,cn=null;try{const Zn=this.componentDef;let Li,Bl=null;Zn.findHostDirectiveDefs?(Li=[],Bl=new Map,Zn.findHostDirectiveDefs(Zn,Li,Bl),Li.push(Zn)):Li=[Zn];const DD=function pT(e,t){const n=e[Ee],r=je;return e[r]=t,Pa(n,r,2,"#host",null)}(ce,H);cn=function gT(e,t,n,r,i,a,c){const h=i[Ee];!function mT(e,t,n,r){for(const i of e)t.mergedAttrs=Xs(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(_d(t,t.mergedAttrs,!0),null!==n&&Ky(r,n,t))}(r,e,t,c);let g=null;null!==t&&(g=ef(t,i[ur]));const C=a.rendererFactory.createRenderer(t,n);let D=16;n.signals?D=4096:n.onPush&&(D=64);const P=ad(i,e_(n),null,D,i[e.index],e,a,C,null,null,g);return h.firstCreatePass&&Rf(h,e,r.length-1),ld(i,P),i[e.index]=P}(DD,H,Zn,Li,ce,P,R),Rt=cc(be,je),H&&function _T(e,t,n,r){if(r)Os(e,n,["ng-version","18.2.5"]);else{const{attrs:i,classes:a}=function ve(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let a=e[r];if("string"==typeof a)2===i?""!==a&&t.push(a,e[++r]):8===i&&n.push(a);else{if(!s(i))break;i=a}r++}return{attrs:t,classes:n}}(t.selectors[0]);i&&Os(e,n,i),a&&a.length>0&&qy(e,n,a.join(" "))}}(R,Zn,H,r),void 0!==n&&function vT(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const a=n[i];r.push(null!=a?Array.from(a):null)}}(Rt,this.ngContentSelectors,n),ft=function yT(e,t,n,r,i,a){const c=nn(),h=i[Ee],g=vi(c,i);i_(h,i,c,n,null,r);for(let D=0;D<n.length;D++)ei(ba(i,h,c.directiveStart+D,c),i);o_(h,i,c),g&&ei(g,i);const C=ba(i,h,c.directiveStart+c.componentOffset,c);if(e[yn]=i[yn]=C,null!==a)for(const D of a)D(C,t);return If(h,c,i),C}(cn,Zn,Li,Bl,ce,[CT]),Lf(be,ce,null)}catch(Zn){throw null!==cn&&zh(cn),zh(ce),Zn}finally{Th()}return new fT(this.componentType,ft,ol(Rt,ce),ce,Rt)}finally{te(a)}}}class fT extends iT{constructor(t,n,r,i,a){super(),this.location=r,this._rootLView=i,this._tNode=a,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new Rc(i,void 0,!1),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const a=this._rootLView;kf(a[Ee],a,i,t,n),this.previousInputValues.set(t,n),Nc(eo(this._tNode.index,a),1)}}get injector(){return new Dr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function CT(){const e=nn();Ou(re()[Ee],e)}let vd=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=wT}return e})();function wT(){return Q_(nn(),re())}const ET=vd,q_=class extends ET{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ol(this._hostTNode,this._hostLView)}get injector(){return new Dr(this._hostTNode,this._hostLView)}get parentInjector(){const t=xu(this._hostTNode,this._hostLView);if(Ah(t)){const n=pc(t,this._hostLView),r=fc(t);return new Dr(n[Ee].data[r+8],n)}return new Dr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=K_(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-qn}createEmbeddedView(t,n,r){let i,a;"number"==typeof r?i=r:null!=r&&(i=r.index,a=r.injector);const c=Ra(this._lContainer,t.ssrId),h=t.createEmbeddedViewImpl(n||{},a,c);return this.insertImpl(h,i,Aa(this._hostTNode,c)),h}createComponent(t,n,r,i,a){const c=t&&!function ic(e){return"function"==typeof e}(t);let h;if(c)h=n;else{const H=n||{};h=H.index,r=H.injector,i=H.projectableNodes,a=H.environmentInjector||H.ngModuleRef}const g=c?t:new Wc(ze(t)),C=r||this.parentInjector;if(!a&&null==g.ngModule){const le=(c?C:this.parentInjector).get(Yr,null);le&&(a=le)}const D=ze(g.componentType??{}),P=Ra(this._lContainer,D?.id??null),U=g.create(C,i,P?.firstChild??null,a);return this.insertImpl(U.hostView,h,Aa(this._hostTNode,P)),U}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if(function KD(e){return Jr(e[cr])}(i)){const h=this.indexOf(t);if(-1!==h)this.detach(h);else{const g=i[cr],C=new q_(g,g[$r],g[cr]);C.detach(C.indexOf(t))}}const a=this._adjustIndex(n),c=this._lContainer;return gl(c,i,a,r),t.attachToViewContainerRef(),Ts(ep(c),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=K_(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Ic(this._lContainer,n);r&&(ts(ep(this._lContainer),n),id(r[Ee],r))}detach(t){const n=this._adjustIndex(t,-1),r=Ic(this._lContainer,n);return r&&null!=ts(ep(this._lContainer),n)?new Rc(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function K_(e){return e[8]}function ep(e){return e[8]||(e[8]=[])}function Q_(e,t){let n;const r=t[e.index];return Jr(r)?n=r:(n=s_(r,t,null,e),t[e.index]=n,ld(t,n)),X_(n,t,e,r),new q_(n,e,t)}let X_=function Y_(e,t,n,r){if(e[is])return;let i;i=8&n.type?$t(r):function DT(e,t){const n=e[st],r=n.createComment(""),i=vi(t,e);return Ia(n,Df(n,i),r,function w0(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[is]=i},tp=()=>!1;class np{constructor(t){this.queryList=t,this.matches=null}clone(){return new np(this.queryList)}setDirty(){this.queryList.setDirty()}}class rp{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let a=0;a<r;a++){const c=n.getByIndex(a);i.push(this.queries[c.indexInDeclarationView].clone())}return new rp(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==lp(t,n).matches&&this.queries[n].setDirty()}}class J_{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 ip{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,a=this.getByIndex(r).embeddedTView(t,i);a&&(a.indexInDeclarationView=r,null!==n?n.push(a):n=[a])}return null!==n?new ip(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class op{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new op(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const a=r[i];this.matchTNodeWithReadOption(t,n,TT(n,a)),this.matchTNodeWithReadOption(t,n,Fu(n,t,a,!1,!1))}else r===xc?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Fu(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===mc||i===vd||i===xc&&4&n.type)this.addMatch(n.index,-2);else{const a=Fu(n,t,i,!1,!1);null!==a&&this.addMatch(n.index,a)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function 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?ol(e,t):4&e.type?dd(e,t):null}(t,e):-2===n?function PT(e,t,n){return n===mc?ol(t,e):n===xc?dd(t,e):n===vd?Q_(t,e):void 0}(e,t,r):ba(e,e[Ee],n,t)}function ev(e,t,n,r){const i=t[xs].queries[r];if(null===i.matches){const a=e.data,c=n.matches,h=[];for(let g=0;null!==c&&g<c.length;g+=2){const C=c[g];h.push(C<0?null:OT(t,a[C],c[g+1],n.metadata.read))}i.matches=h}return i.matches}function sp(e,t,n,r){const i=e.queries.getByIndex(n),a=i.matches;if(null!==a){const c=ev(e,t,i,n);for(let h=0;h<a.length;h+=2){const g=a[h];if(g>0)r.push(c[h/2]);else{const C=a[h+1],D=t[-g];for(let P=qn;P<D.length;P++){const R=D[P];R[va]===R[cr]&&sp(R[Ee],R,C,r)}if(null!==D[tl]){const P=D[tl];for(let R=0;R<P.length;R++){const U=P[R];sp(U[Ee],U,C,r)}}}}}return r}function tv(e,t,n){const r=new $h(!(4&~n));return function N0(e,t,n,r){const i=l_(t);i.push(n),e.firstCreatePass&&c_(e).push(r,i.length-1)}(e,t,r,r.destroy),(t[xs]??=new rp).queries.push(new np(r))-1}function iv(e,t,n){null===e.queries&&(e.queries=new ip),e.queries.track(new op(t,n))}function lp(e,t){return e.queries.getByIndex(t)}function ov(e,t){const n=e[Ee],r=lp(n,t);return r.crossesNgTemplate?sp(n,e,t,[]):ev(n,e,r,t)}const sv=new Set;function wi(e){sv.has(e)||(sv.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function lv(e,t){wi("NgSignals");const n=function Qe(e){const t=Object.create(Fn);t.value=e;const n=()=>(z(t),t.value);return n[ie]=t,n}(e),r=n[ie];return t?.equal&&(r.equal=t.equal),n.set=i=>vn(r,i),n.update=i=>function un(e,t){Pe()||et(),vn(e,t(e.value))}(r,i),n.asReadonly=cv.bind(n),n}function cv(){const e=this[ie];if(void 0===e.readonlyFn){const t=()=>this();t[ie]=e,e.readonlyFn=t}return e.readonlyFn}function uv(e){return function av(e){return"function"==typeof e&&void 0!==e[ie]}(e)&&"function"==typeof e.set}function up(e){let t=function wv(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(Uo(e))i=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new Me(903,!1);i=t.ɵdir}if(i){if(n){r.push(i);const c=e;c.inputs=wd(e.inputs),c.inputTransforms=wd(e.inputTransforms),c.declaredInputs=wd(e.declaredInputs),c.outputs=wd(e.outputs);const h=i.hostBindings;h&&WT(e,h);const g=i.viewQuery,C=i.contentQueries;if(g&>(e,g),C&&zT(e,C),$T(e,i),sa(e.outputs,i.outputs),Uo(i)&&i.data.animation){const D=e.data;D.animation=(D.animation||[]).concat(i.data.animation)}}const a=i.features;if(a)for(let c=0;c<a.length;c++){const h=a[c];h&&h.ngInherit&&h(e),h===up&&(n=!1)}}t=Object.getPrototypeOf(t)}!function 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=Xs(i.hostAttrs,n=Xs(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 wd(e){return e===Yi?{}:e===kt?[]:e}function GT(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function zT(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,a)=>{t(r,i,a),n(r,i,a)}:t}function WT(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function bv(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}e.inputTransforms=n}class xa{}class Sv{}function YT(e,t){return new dp(e,t??null,[])}class dp extends xa{constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new z_(this);const a=Wt(t);this._bootstrapComponents=to(a.bootstrap),this._r3Injector=Mm(t,n,[{provide:xa,useValue:this},{provide:Hc,useValue:this.componentFactoryResolver},...r],In(t),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach((n=>n())),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class hp extends Sv{constructor(t){super(),this.moduleType=t}create(t){return new dp(this.moduleType,t,[])}}class Tv extends xa{constructor(t){super(),this.componentFactoryResolver=new z_(this),this.instance=null;const n=new Ka([...t.providers,{provide:xa,useValue:this},{provide:Hc,useValue:this.componentFactoryResolver}],t.parent||Rs(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function fp(e,t,n=null){return new Tv({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function Ed(e){return!!pp(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function pp(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function us(e,t,n){return e[t]=n}function Kn(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Fa(e,t,n,r){const i=Kn(e,t,n);return Kn(e,t+1,r)||i}function Qc(e,t,n,r,i,a,c,h,g,C){const D=n+je,P=t.firstCreatePass?function iI(e,t,n,r,i,a,c,h,g){const C=t.consts,D=Pa(t,e,4,c||null,h||null);Nf(t,n,D,wo(C,g)),Ou(t,D);const P=D.tView=Af(2,D,r,i,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,C,null);return null!==t.queries&&(t.queries.template(t,D),P.queries=t.queries.embeddedTView(D)),D}(D,t,e,r,i,a,c,h,g):t.data[D];jo(P,!1);const R=Iv(t,e,P,n);dc()&&od(t,e,R,P),ei(R,e);const U=s_(R,e,R,P);return e[D]=U,ld(e,U),function Z_(e,t,n){return tp(e,t,n)}(U,P,e),Du(P)&&Of(t,e,P),null!=g&&Pf(e,P,C),P}function gp(e,t,n,r,i,a,c,h){const g=re(),C=Et();return Qc(g,C,e,t,n,r,i,wo(C.consts,a),c,h),gp}let Iv=function Ov(e,t,n,r){return ss(!0),t[st].createComment("")};var wl=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(wl||{});let Fv=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static#e=this.ɵprov=Lt({token:e,providedIn:"root",factory:()=>new e})}return e})();class Yc{constructor(){this.ngZone=ge(Rn),this.scheduler=ge(yl),this.errorHandler=ge(Vs,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static#e=this.PHASES=[wl.EarlyRead,wl.Write,wl.MixedReadWrite,wl.Read];execute(){this.executing=!0;for(const t of Yc.PHASES)for(const n of this.sequences)if(!n.erroredOrDestroyed&&n.hooks[t])try{n.pipelinedValue=this.ngZone.runOutsideAngular((()=>n.hooks[t](n.pipelinedValue)))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(const t of this.sequences)t.afterRun(),t.once&&this.sequences.delete(t);for(const t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}static#t=this.ɵprov=Lt({token:Yc,providedIn:"root",factory:()=>new Yc})}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 Td(e,t){!t?.injector&&function lh(e){if(!Mg())throw new Me(-203,!1)}();const n=t?.injector??ge(Gr);return function no(e){return"browser"===(e??ge(Gr)).get(Hu)}(n)?(wi("NgAfterNextRender"),function kv(e,t,n,r){const i=t.get(Fv);i.impl??=t.get(Yc);const c=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??wl.MixedReadWrite),r,t.get(gc));return i.impl.register(c),c}(e,n,t,!0)):Lv}const Lv={destroy(){}};function Sp(e,t,n,r){const i=re();return Kn(i,Bo(),t)&&(Et(),cs(_n(),i,e,t,n,r)),Sp}function Il(e,t,n,r){return Kn(e,Bo(),n)?t+Ye(n)+r:mt}function Pd(e,t){return e<<17|t<<2}function ra(e){return e>>17&32767}function Tp(e){return 2|e}function La(e){return(131068&e)>>2}function Ip(e,t){return-131069&e|t<<2}function Op(e){return 1|e}function cC(e,t,n,r){const i=e[n+1],a=null===t;let c=r?ra(i):La(i),h=!1;for(;0!==c&&(!1===h||a);){const C=e[c+1];WI(e[c],t)&&(h=!0,e[c+1]=r?Op(C):Tp(C)),c=r?ra(C):La(C)}h&&(e[n+1]=r?Tp(i):Op(i))}function WI(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Is(e,t)>=0}const Mr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function uC(e){return e.substring(Mr.key,Mr.keyEnd)}function dC(e,t){const n=Mr.textEnd;return n===t?-1:(t=Mr.keyEnd=function XI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Mr.key=t,n),kl(e,t,n))}function kl(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Pp(e,t,n){const r=re();return Kn(r,Bo(),t)&&Fi(Et(),_n(),r,e,t,r[st],n,!1),Pp}function Ap(e,t,n,r,i){const c=i?"class":"style";kf(e,n,t.inputs[c],c,r)}function Np(e,t){return function $o(e,t,n,r){const i=re(),a=Et(),c=Ls(2);a.firstUpdatePass&&vC(a,e,c,r),t!==mt&&Kn(i,c,t)&&wC(a,a.data[Hr()],i,i[st],e,i[c+1]=function aO(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=In(Js(e)))),e}(t,n),r,c)}(e,t,null,!0),Np}function yC(e){Ho(oO,hs,e,!0)}function hs(e,t){for(let n=function KI(e){return function fC(e){Mr.key=0,Mr.keyEnd=0,Mr.value=0,Mr.valueEnd=0,Mr.textEnd=e.length}(e),dC(e,kl(e,0,Mr.textEnd))}(t);n>=0;n=dC(t,n))jr(e,uC(t),!0)}function Ho(e,t,n,r){const i=Et(),a=Ls(2);i.firstUpdatePass&&vC(i,null,a,r);const c=re();if(n!==mt&&Kn(c,a,n)){const h=i.data[Hr()];if(DC(h,r)&&!_C(i,a)){let g=r?h.classesWithoutHost:h.stylesWithoutHost;null!==g&&(n=go(g,n||"")),Ap(i,h,c,n,r)}else!function sO(e,t,n,r,i,a,c,h){i===mt&&(i=kt);let g=0,C=0,D=0<i.length?i[0]:null,P=0<a.length?a[0]:null;for(;null!==D||null!==P;){const R=g<i.length?i[g+1]:void 0,U=C<a.length?a[C+1]:void 0;let le,H=null;D===P?(g+=2,C+=2,R!==U&&(H=P,le=U)):null===P||null!==D&&D<P?(g+=2,H=D):(C+=2,H=P,le=U),null!==H&&wC(e,t,n,r,H,le,c,h),D=g<i.length?i[g]:null,P=C<a.length?a[C]:null}}(i,h,c,c[st],c[a+1],c[a+1]=function iO(e,t,n){if(null==n||""===n)return kt;const r=[],i=Js(n);if(Array.isArray(i))for(let a=0;a<i.length;a++)e(r,i[a],!0);else if("object"==typeof i)for(const a in i)i.hasOwnProperty(a)&&e(r,a,i[a]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,a)}}function _C(e,t){return t>=e.expandoStartIndex}function vC(e,t,n,r){const i=e.data;if(null===i[n+1]){const a=i[Hr()],c=_C(e,n);DC(a,r)&&null===t&&!c&&(t=!1),t=function eO(e,t,n,r){const i=function Mh(e){const t=at.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let a=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=eu(n=Rp(null,e,t,n,r),t.attrs,r),a=null);else{const c=t.directiveStylingLast;if(-1===c||e[c]!==i)if(n=Rp(i,e,t,n,r),null===a){let g=function tO(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==La(r))return e[ra(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=Rp(null,e,t,g[1],r),g=eu(g,t.attrs,r),function nO(e,t,n,r){e[ra(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else a=function rO(e,t,n){let r;const i=t.directiveEnd;for(let a=1+t.directiveStylingLast;a<i;a++)r=eu(r,e[a].hostAttrs,n);return eu(r,t.attrs,n)}(e,t,r)}return void 0!==a&&(r?t.residualClasses=a:t.residualStyles=a),n}(i,a,t,r),function GI(e,t,n,r,i,a){let c=a?t.classBindings:t.styleBindings,h=ra(c),g=La(c);e[r]=n;let D,C=!1;if(Array.isArray(n)?(D=n[1],(null===D||Is(n,D)>0)&&(C=!0)):D=n,i)if(0!==g){const R=ra(e[h+1]);e[r+1]=Pd(R,h),0!==R&&(e[R+1]=Ip(e[R+1],r)),e[h+1]=function $I(e,t){return 131071&e|t<<17}(e[h+1],r)}else e[r+1]=Pd(h,0),0!==h&&(e[h+1]=Ip(e[h+1],r)),h=r;else e[r+1]=Pd(g,0),0===h?h=r:e[g+1]=Ip(e[g+1],r),g=r;C&&(e[r+1]=Tp(e[r+1])),cC(e,D,r,!0),cC(e,D,r,!1),function zI(e,t,n,r,i){const a=i?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&Is(a,t)>=0&&(n[r+1]=Op(n[r+1]))}(t,D,e,r,a),c=Pd(h,g),a?t.classBindings=c:t.styleBindings=c}(i,a,t,n,c,r)}}function Rp(e,t,n,r,i){let a=null;const c=n.directiveEnd;let h=n.directiveStylingLast;for(-1===h?h=n.directiveStart:h++;h<c&&(a=t[h],r=eu(r,a.hostAttrs,i),a!==e);)h++;return null!==e&&(n.directiveStylingLast=h),r}function eu(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let a=0;a<t.length;a++){const c=t[a];"number"==typeof c?i=c:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),jr(e,c,!!n||t[++a]))}return void 0===e?null:e}function oO(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&jr(e,r,n)}function wC(e,t,n,r,i,a,c,h){if(!(3&t.type))return;const g=e.data,C=g[h+1],D=function HI(e){return!(1&~e)}(C)?EC(g,t,n,i,La(C),c):void 0;Ad(D)||(Ad(a)||function BI(e){return!(2&~e)}(C)&&(a=EC(g,null,n,i,h,c)),function M0(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let a=-1===r.indexOf("-")?void 0:nd.DashCase;null==i?e.removeStyle(n,r,a):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),a|=nd.Important),e.setStyle(n,r,i,a))}}(r,c,lc(Hr(),n),i,a))}function EC(e,t,n,r,i,a){const c=null===t;let h;for(;i>0;){const g=e[i],C=Array.isArray(g),D=C?g[1]:g,P=null===D;let R=n[i+1];R===mt&&(R=P?kt:void 0);let U=P?Ga(R,r):D===r?R:void 0;if(C&&!Ad(U)&&(U=Ga(g,r)),Ad(U)&&(h=U,c))return h;const H=e[i+1];i=c?ra(H):La(H)}if(null!==t){let g=a?t.residualClasses:t.residualStyles;null!=g&&(h=Ga(g,r))}return h}function Ad(e){return void 0!==e}function DC(e,t){return!!(e.flags&(t?8:16))}function MC(e,t,n){Ho(jr,hs,Il(re(),e,t,n),!0)}function Rd(e,t,n,r){const i=re(),a=Et(),c=je+e,h=i[st],g=a.firstCreatePass?function OO(e,t,n,r,i,a){const c=t.consts,g=Pa(t,e,2,r,wo(c,i));return Nf(t,n,g,wo(c,a)),null!==g.attrs&&_d(g,g.attrs,!1),null!==g.mergedAttrs&&_d(g,g.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,g),g}(c,a,i,t,n,r):a.data[c],C=IC(a,i,g,h,t,e);i[c]=C;const D=Du(g);return jo(g,!0),Ky(h,C,g),!function vl(e){return!(32&~e.flags)}(g)&&dc()&&od(a,i,C,g),0===function QD(){return at.lFrame.elementDepthCount}()&&ei(C,i),function XD(){at.lFrame.elementDepthCount++}(),D&&(Of(a,i,g),If(a,g,i)),null!==r&&Pf(i,g),Rd}function xd(){let e=nn();wh()?Eh():(e=e.parent,jo(e,!1));const t=e;(function YD(e){return at.skipHydrationRootTNode===e})(t)&&function nM(){at.skipHydrationRootTNode=null}(),function ZD(){at.lFrame.elementDepthCount--}();const n=Et();return n.firstCreatePass&&(Ou(n,e),dh(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function mM(e){return!!(8&e.flags)}(t)&&Ap(n,t,re(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function yM(e){return!!(16&e.flags)}(t)&&Ap(n,t,re(),t.stylesWithoutHost,!1),xd}function Lp(e,t,n,r){return Rd(e,t,n,r),xd(),Lp}let IC=(e,t,n,r,i,a)=>(ss(!0),rd(r,i,function rm(){return at.lFrame.currentNamespace}()));function Fd(e,t,n){const r=re(),i=Et(),a=e+je,c=i.firstCreatePass?function NO(e,t,n,r,i){const a=t.consts,c=wo(a,r),h=Pa(t,e,8,"ng-container",c);return null!==c&&_d(h,c,!0),Nf(t,n,h,wo(a,i)),null!==t.queries&&t.queries.elementStart(t,h),h}(a,i,r,t,n):i.data[a];jo(c,!0);const h=OC(i,r,c,e);return r[a]=h,dc()&&od(i,r,h,c),ei(h,r),Du(c)&&(Of(i,r,c),If(i,c,r)),null!=n&&Pf(r,c),Fd}function kd(){let e=nn();const t=Et();return wh()?Eh():(e=e.parent,jo(e,!1)),t.firstCreatePass&&(Ou(t,e),dh(e)&&t.queries.elementEnd(e)),kd}function Vp(e,t,n){return Fd(e,t,n),kd(),Vp}let OC=(e,t,n,r)=>(ss(!0),vf(t[st],""));function PC(){return re()}function Up(e,t,n){const r=re();return Kn(r,Bo(),t)&&Fi(Et(),_n(),r,e,t,r[st],n,!0),Up}const Va=void 0;var kO=["en",[["a","p"],["AM","PM"],Va],[["AM","PM"],Va,Va],[["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"]],Va,[["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"]],Va,[["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}",Va,"{1} 'at' {0}",Va],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##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 Ll={};function jp(e){const t=function LO(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=RC(t);if(n)return n;const r=t.split("-")[0];if(n=RC(r),n)return n;if("en"===r)return kO;throw new Me(701,!1)}function NC(e){return jp(e)[Vl.PluralCase]}function RC(e){return e in Ll||(Ll[e]=an.ng&&an.ng.common&&an.ng.common.locales&&an.ng.common.locales[e]),Ll[e]}var Vl=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}(Vl||{});const Ld="en-US";let xC=Ld,YC=(e,t,n)=>{};function Hp(e,t,n,r){const i=re(),a=Et(),c=nn();return Gp(a,i,i[st],c,e,t,r),Hp}function Gp(e,t,n,r,i,a,c){const h=Du(r),C=e.firstCreatePass&&c_(e),D=t[yn],P=l_(t);let R=!0;if(3&r.type||c){const le=vi(r,t),De=c?c(le):le,be=P.length,ce=c?Rt=>c($t(Rt[r.index])):r.index;let ft=null;if(!c&&h&&(ft=function bP(e,t,n,r){const i=e.cleanup;if(null!=i)for(let a=0;a<i.length-1;a+=2){const c=i[a];if(c===n&&i[a+1]===r){const h=t[Za],g=i[a+2];return h.length>g?h[g]:null}"string"==typeof c&&(a+=2)}return null}(e,t,i,r.index)),null!==ft)(ft.__ngLastListenerFn__||ft).__ngNextListenerFn__=a,ft.__ngLastListenerFn__=a,R=!1;else{a=nw(r,t,D,a),YC(le,i,a);const Rt=n.listen(De,i,a);P.push(a,Rt),C&&C.push(i,ce,be,be+1)}}else a=nw(r,t,D,a);const U=r.outputs;let H;if(R&&null!==U&&(H=U[i])){const le=H.length;if(le)for(let De=0;De<le;De+=2){const cn=t[H[De]][H[De+1]].subscribe(a),Zn=P.length;P.push(a,cn),C&&C.push(i,r.index,Zn,-(Zn+1))}}}function tw(e,t,n,r){const i=te(null);try{return os(6,t,n),!1!==n(r)}catch(a){return cd(e,a),!1}finally{os(7,t,n),te(i)}}function nw(e,t,n,r){return function i(a){if(a===Function)return r;Nc(e.componentOffset>-1?eo(e.index,t):t,5);let h=tw(t,n,r,a),g=i.__ngNextListenerFn__;for(;g;)h=tw(t,n,g,a)&&h,g=g.__ngNextListenerFn__;return h}}function rw(e=1){return function aM(e){return(at.lFrame.contextLView=function jg(e,t){for(;e>0;)t=t[Ya],e--;return t}(e,at.lFrame.contextLView))[yn]}(e)}function SP(e,t){let n=null;const r=function f(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const a=t[i];if("*"!==a){if(null===r?u(e,a,!0):S(r,a))return i}else n=i}return n}function iw(e){const t=re()[Nn][$r];if(!t.projection){const r=t.projection=function Bn(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(e?e.length:1,null),i=r.slice();let a=t.child;for(;null!==a;){if(128!==a.type){const c=e?SP(a,e):0;null!==c&&(i[c]?i[c].projectionNext=a:r[c]=a,i[c]=a)}a=a.next}}}function ow(e,t=0,n,r,i,a){const c=re(),h=Et(),g=r?e+1:null;null!==g&&Qc(c,h,g,r,i,a,null,n);const C=Pa(h,je+e,16,null,n||null);null===C.projection&&(C.projection=t),Eh();const P=!c[_i]||Ea();null===c[Nn][$r].projection[C.projection]&&null!==g?function TP(e,t,n){const r=je+n,i=t.data[r],a=e[r],c=Ra(a,i.tView.ssrId);gl(a,pl(e,i,void 0,{dehydratedView:c}),0,Aa(i,c))}(c,h,g):P&&32&~C.flags&&function E0(e,t,n){Wy(t[st],0,t,n,Ef(e,n,t),jy(n.parent||t[$r],n,t))}(h,c,C)}function zp(e,t,n){return Bd(e,"",t,"",n),zp}function Bd(e,t,n,r,i){const a=re(),c=Il(a,t,n,r);return c!==mt&&Fi(Et(),_n(),a,e,c,a[st],i,!1),Bd}function pw(e,t,n,r){!function rv(e,t,n,r){const i=Et();if(i.firstCreatePass){const a=nn();iv(i,new J_(t,n,r),a.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 tv(i,re(),n)}(e,t,n,r)}function gw(e,t,n){!function nv(e,t,n){const r=Et();return r.firstCreatePass&&(iv(r,new J_(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),tv(r,re(),t)}(e,t,n)}function mw(e){const t=re(),n=Et(),r=bh();Iu(r+1);const i=lp(n,r);if(e.dirty&&function qD(e){return!(4&~e[We])}(t)===!(2&~i.metadata.flags)){if(null===i.matches)e.reset([]);else{const a=ov(t,r);e.reset(a,Rm),e.notifyOnChanges()}return!0}return!1}function yw(){return function ap(e,t){return e[xs].queries[t].queryList}(re(),bh())}function _w(e){return function wa(e,t){return e[t]}(function Wg(){return at.lFrame.contextLView}(),je+e)}function Iw(e,t=""){const n=re(),r=Et(),i=e+je,a=r.firstCreatePass?Pa(r,i,1,t,null):r.data[i],c=Ow(r,n,a,t,e);n[i]=c,dc()&&od(r,n,c,a),jo(a,!1)}let Ow=(e,t,n,r,i)=>(ss(!0),function _f(e,t){return e.createText(t)}(t[st],r));function qp(e){return $d("",e,""),qp}function $d(e,t,n){const r=re(),i=Il(r,e,t,n);return i!==mt&&function js(e,t,n){const r=lc(t,e);!function xy(e,t,n){e.setValue(t,n)}(e[st],r,n)}(r,Hr(),i),$d}function Kp(e,t,n){uv(t)&&(t=t());const r=re();return Kn(r,Bo(),t)&&Fi(Et(),_n(),r,e,t,r[st],n,!1),Kp}function Vw(e,t){const n=uv(e);return n&&e.set(t),n}function Qp(e,t){const n=re(),r=Et(),i=nn();return Gp(r,n,n[st],i,e,t),Qp}function Xp(e,t,n,r,i){if(e=He(e),Array.isArray(e))for(let a=0;a<e.length;a++)Xp(e[a],t,n,r,i);else{const a=Et(),c=re(),h=nn();let g=Zt(e)?e:He(e.provide);const C=Dg(e),D=1048575&h.providerIndexes,P=h.directiveStart,R=h.providerIndexes>>20;if(Zt(e)||!e.multi){const U=new hc(C,i,fl),H=Yp(g,t,i?D:D+R,P);-1===H?(xh(Ru(h,c),a,g),Zp(a,e,t.length),t.push(g),h.directiveStart++,h.directiveEnd++,i&&(h.providerIndexes+=1048576),n.push(U),c.push(U)):(n[H]=U,c[H]=U)}else{const U=Yp(g,t,D+R,P),H=Yp(g,t,D,D+R),De=H>=0&&n[H];if(i&&!De||!i&&!(U>=0&&n[U])){xh(Ru(h,c),a,g);const be=function qP(e,t,n,r,i){const a=new hc(e,n,fl);return a.multi=[],a.index=t,a.componentProviders=0,Bw(a,i,r&&!n),a}(i?WP:zP,n.length,i,r,C);!i&&De&&(n[H].providerFactory=be),Zp(a,e,t.length,0),t.push(g),h.directiveStart++,h.directiveEnd++,i&&(h.providerIndexes+=1048576),n.push(be),c.push(be)}else Zp(a,e,U>-1?U:H,Bw(n[i?H:U],C,!i&&r));!i&&r&&De&&n[H].componentProviders++}}}function Zp(e,t,n,r){const i=Zt(t),a=function _u(e){return!!e.useClass}(t);if(i||a){const g=(a?He(t.useClass):t).prototype.ngOnDestroy;if(g){const C=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const D=C.indexOf(n);-1===D?C.push(n,[r,g]):C[D+1].push(r,g)}else C.push(n,g)}}}function Bw(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Yp(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function zP(e,t,n,r){return Jp(this.multi,[])}function WP(e,t,n,r){const i=this.multi;let a;if(this.providerFactory){const c=this.providerFactory.componentProviders,h=ba(n,n[Ee],this.providerFactory.index,r);a=h.slice(0,c),Jp(i,a);for(let g=c;g<h.length;g++)a.push(h[g])}else a=[],Jp(i,a);return a}function Jp(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function $w(e,t=[]){return n=>{n.providersResolver=(r,i)=>function GP(e,t,n){const r=Et();if(r.firstCreatePass){const i=Uo(e);Xp(n,r.data,r.blueprint,i,!0),Xp(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=qa(0,n.type),i=r.length>0?fp([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.ɵprov=Lt({token:e,providedIn:"environment",factory:()=>new e(ct(Yr))})}return e})();function Hw(e){wi("NgStandalone"),e.getStandaloneInjector=t=>t.get(KP).getOrCreateStandaloneInjector(e)}function Ww(e,t,n,r){return function Qw(e,t,n,r,i,a){const c=t+n;return Kn(e,c,i)?us(e,c+1,a?r.call(a,i):r(i)):su(e,c+1)}(re(),Ci(),e,t,n,r)}function qw(e,t,n,r,i){return function Xw(e,t,n,r,i,a,c){const h=t+n;return Fa(e,h,i,a)?us(e,h+2,c?r.call(c,i,a):r(i,a)):su(e,h+2)}(re(),Ci(),e,t,n,r,i)}function Kw(e,t,n,r,i,a){return function Zw(e,t,n,r,i,a,c,h){const g=t+n;return function Dd(e,t,n,r,i){const a=Fa(e,t,n,r);return Kn(e,t+2,i)||a}(e,g,i,a,c)?us(e,g+3,h?r.call(h,i,a,c):r(i,a,c)):su(e,g+3)}(re(),Ci(),e,t,n,r,i,a)}function su(e,t){const n=e[t];return n===mt?void 0:n}function eE(e,t){return dd(e,t)}class mE{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let yE=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.ɵfac=function(r){return new(r||e)};static#t=this.ɵprov=Lt({token:e,factory:e.ɵfac,providedIn:"platform"})}return e})();const EE=new Ze(""),DE=new Ze("");let og,iN=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,og||(function oN(e){og=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:()=>{Rn.assertNotInAngularZone(),queueMicrotask((()=>{this._isZoneStable=!0,this._runCallbacksIfReady()}))}})}))}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask((()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}}));else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter((r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((n=>({source:n.source,creationLocation:n.creationLocation,data:n.data}))):[]}addCallback(n,r,i){let a=-1;r&&r>0&&(a=setTimeout((()=>{this._callbacks=this._callbacks.filter((c=>c.timeoutId!==a)),n()}),r)),this._callbacks.push({doneCb:n,timeoutId:a,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static#e=this.ɵfac=function(r){return new(r||e)(ct(Rn),ct(ME),ct(DE))};static#t=this.ɵprov=Lt({token:e,factory:e.ɵfac})}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 og?.findTestabilityInTree(this,n,r)??null}static#e=this.ɵfac=function(r){return new(r||e)};static#t=this.ɵprov=Lt({token:e,factory:e.ɵfac,providedIn:"platform"})}return e})();function sg(e){return!!e&&"function"==typeof e.then}function bE(e){return!!e&&"function"==typeof e.subscribe}const SE=new Ze("");let TE=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise(((n,r)=>{this.resolve=n,this.reject=r})),this.appInits=ge(SE,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const a=i();if(sg(a))n.push(a);else if(bE(a)){const c=new Promise(((h,g)=>{a.subscribe({complete:h,error:g})}));n.push(c)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then((()=>{r()})).catch((i=>{this.reject(i)})),0===n.length&&r(),this.initialized=!0}static#e=this.ɵfac=function(r){return new(r||e)};static#t=this.ɵprov=Lt({token:e,factory:e.ɵfac,providedIn:"root"})}return e})();const qd=new Ze("");function OE(e,t){return Array.isArray(t)?t.reduce(OE,e):{...e,...t}}let fs=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ge(zM),this.afterRenderManager=ge(Fv),this.zonelessEnabled=ge($c),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new Dn.B,this.afterTick=new Dn.B,this.componentTypes=[],this.components=[],this.isStable=ge(Sa).hasPendingTasks.pipe((0,Mn.T)((n=>!n))),this._injector=ge(Yr)}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 B_;if(!this._injector.get(TE).done)throw!i&&Cr(n),new Me(405,!1);let c;c=i?n:this._injector.get(Hc).resolveComponentFactory(n),this.componentTypes.push(c.componentType);const h=function sN(e){return e.isBoundToModule}(c)?void 0:this._injector.get(xa),C=c.create(Gr.NULL,[],r||c.selector,h),D=C.location.nativeElement,P=C.injector.get(EE,null);return P?.registerApplication(D),C.onDestroy((()=>{this.detachView(C.hostView),Kd(this.components,C),P?.unregisterApplication(D)})),this._loadComponent(C),C}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new Me(101,!1);const n=te(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,te(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Zf,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;0!==this.dirtyFlags&&r++<10;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(r);for(let{_lView:i,notifyErrorHandler:a}of this._views)cN(i,a,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else n?.begin?.(),n?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some((({_lView:n})=>Mu(n)))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Kd(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(qd,[]);[...this._bootstrapListeners,...r].forEach((i=>i(n)))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach((n=>n())),this._views.slice().forEach((n=>n.destroy()))}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Kd(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Me(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.ɵfac=function(r){return new(r||e)};static#t=this.ɵprov=Lt({token:e,factory:e.ɵfac,providedIn:"root"})}return e})();function Kd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function cN(e,t,n,r){(n||Mu(e))&&ud(e,t,n&&!r?0:1)}class uN{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let dN=(()=>{class e{compileModuleSync(n){return new hp(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),a=to(Wt(n).declarations).reduce(((c,h)=>{const g=ze(h);return g&&c.push(new Wc(g)),c}),[]);return new uN(r,a)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.ɵfac=function(r){return new(r||e)};static#t=this.ɵprov=Lt({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),pN=(()=>{class e{constructor(){this.zone=ge(Rn),this.changeDetectionScheduler=ge(yl),this.applicationRef=ge(fs)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run((()=>{this.applicationRef.tick()}))}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.ɵfac=function(r){return new(r||e)};static#t=this.ɵprov=Lt({token:e,factory:e.ɵfac,providedIn:"root"})}return e})();function ag({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Rn({...lg(),scheduleInRootZone:n}),[{provide:Rn,useFactory:e},{provide:yi,multi:!0,useFactory:()=>{const r=ge(pN,{optional:!0});return()=>r.initialize()}},{provide:yi,multi:!0,useFactory:()=>{const r=ge(mN);return()=>{r.initialize()}}},!0===t?{provide:j_,useValue:!0}:[],{provide:Xf,useValue:n??Sm}]}function lg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let mN=(()=>{class e{constructor(){this.subscription=new kn.yU,this.initialized=!1,this.zone=ge(Rn),this.pendingTasks=ge(Sa)}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((()=>{Rn.assertNotInAngularZone(),queueMicrotask((()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)}))})))})),this.subscription.add(this.zone.onUnstable.subscribe((()=>{Rn.assertInAngularZone(),n??=this.pendingTasks.add()})))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.ɵfac=function(r){return new(r||e)};static#t=this.ɵprov=Lt({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),uu=(()=>{class e{constructor(){this.appRef=ge(fs),this.taskService=ge(Sa),this.ngZone=ge(Rn),this.zonelessEnabled=ge($c),this.disableScheduling=ge(j_,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new kn.yU,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Uu):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(ge(Xf,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe((()=>{this.runningTick||this.cleanup()}))),this.subscriptions.add(this.ngZone.onUnstable.subscribe((()=>{this.runningTick||this.cleanup()}))),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Bh||!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?Im:Tm;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run((()=>r((()=>this.tick())))):this.ngZone.runOutsideAngular((()=>r((()=>this.tick()))))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Uu+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run((()=>{this.runningTick=!0,this.appRef._tick()}),void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Im((()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)}))}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static#e=this.ɵfac=function(r){return new(r||e)};static#t=this.ɵprov=Lt({token:e,factory:e.ɵfac,providedIn:"root"})}return e})();const ug=new Ze("",{providedIn:"root",factory:()=>ge(ug,_t.Optional|_t.SkipSelf)||function yN(){return typeof $localize<"u"&&$localize.locale||Ld}()}),_N=new Ze("",{providedIn:"root",factory:()=>"USD"}),dg=new Ze("");function Xd(e){return!!e.platformInjector}let kE=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=r?.scheduleInRootZone,c=r?.ignoreChangesOutsideZone,h=[ag({ngZoneFactory:()=>function GM(e="zone.js",t){return"noop"===e?new Bh:"zone.js"===e?new Rn(t):e}(r?.ngZone,{...lg({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}),scheduleInRootZone:i}),ignoreChangesOutsideZone:c}),{provide:yl,useExisting:uu}],g=function JT(e,t,n){return new dp(e,t,n,!1)}(n.moduleType,this.injector,h);return function FE(e){const t=Xd(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Rn);return n.run((()=>{Xd(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=t.get(Vs,null);let i;if(n.runOutsideAngular((()=>{i=n.onError.subscribe({next:a=>{r.handleError(a)}})})),Xd(e)){const a=()=>t.destroy(),c=e.platformInjector.get(dg);c.add(a),t.onDestroy((()=>{i.unsubscribe(),c.delete(a)}))}else e.moduleRef.onDestroy((()=>{Kd(e.allPlatformModules,e.moduleRef),i.unsubscribe()}));return function lN(e,t,n){try{const r=n();return sg(r)?r.catch((i=>{throw t.runOutsideAngular((()=>e.handleError(i))),i})):r}catch(r){throw t.runOutsideAngular((()=>e.handleError(r))),r}}(r,n,(()=>{const a=t.get(TE);return a.runInitializers(),a.donePromise.then((()=>{if(function BO(e){"string"==typeof e&&(xC=e.toLowerCase().replace(/_/g,"-"))}(t.get(ug,Ld)||Ld),Xd(e)){const h=t.get(fs);return void 0!==e.rootComponent&&h.bootstrap(e.rootComponent),h}return function DN(e,t){const n=e.injector.get(fs);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((r=>n.bootstrap(r)));else{if(!e.instance.ngDoBootstrap)throw new Me(-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=OE({},r);return function fN(e,t,n){const r=new hp(n);return Promise.resolve(r)}(0,0,n).then((a=>this.bootstrapModuleFactory(a,i)))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Me(404,!1);this._modules.slice().forEach((r=>r.destroy())),this._destroyListeners.forEach((r=>r()));const n=this._injector.get(dg,null);n&&(n.forEach((r=>r())),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.ɵfac=function(r){return new(r||e)(ct(Gr))};static#t=this.ɵprov=Lt({token:e,factory:e.ɵfac,providedIn:"platform"})}return e})(),ia=null;const LE=new Ze("");function VE(e,t,n=[]){const r=`Platform: ${t}`,i=new Ze(r);return(a=[])=>{let c=hg();if(!c||c.injector.get(LE,!1)){const h=[...n,...a,{provide:i,useValue:!0}];e?e(h):function MN(e){if(ia&&!ia.get(LE,!1))throw new Me(400,!1);(function IE(){!function Gt(e){Re=e}((()=>{throw new Me(600,!1)}))})(),ia=e;const t=e.get(kE);(function jE(e){e.get(Jm,null)?.forEach((n=>n()))})(e)}(function UE(e=[],t){return Gr.create({name:t,providers:[{provide:rc,useValue:"platform"},{provide:dg,useValue:new Set([()=>ia=null])},...e]})}(h,r))}return function bN(){const t=hg();if(!t)throw new Me(401,!1);return t}()}}function hg(){return ia?.get(kE)??null}function TN(){return!1}function IN(){}let $E=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=ON}return e})();function ON(e){return function PN(e,t,n){if(Ca(e)&&!n){const r=eo(e.index,t);return new Rc(r,r)}return 175&e.type?new Rc(t[Nn],t):null}(nn(),re(),!(16&~e))}class WE{constructor(){}supports(t){return Ed(t)}create(t){return new FN(t)}}const xN=(e,t)=>t;class FN{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||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,a=null;for(;n||r;){const c=!r||n&&n.currentIndex<KE(r,i,a)?n:r,h=KE(c,i,a),g=c.currentIndex;if(c===r)i--,r=r._nextRemoved;else if(n=n._next,null==c.previousIndex)i++;else{a||(a=[]);const C=h-i,D=g-i;if(C!=D){for(let R=0;R<C;R++){const U=R<a.length?a[R]:a[R]=0,H=U+R;D<=H&&H<C&&(a[R]=U+1)}a[c.previousIndex]=D-C}}h!==g&&t(c,h,g)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Ed(t))throw new Me(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,a,c,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let h=0;h<this.length;h++)a=t[h],c=this._trackByFn(h,a),null!==n&&Object.is(n.trackById,c)?(r&&(n=this._verifyReinsertion(n,a,c,h)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,c,h),r=!0),n=n._next}else i=0,function 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,(h=>{c=this._trackByFn(i,h),null!==n&&Object.is(n.trackById,c)?(r&&(n=this._verifyReinsertion(n,h,c,i)),Object.is(n.item,h)||this._addIdentityChange(n,h)):(n=this._mismatch(n,h,c,i),r=!0),n=n._next,i++})),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,a,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,a,i)):t=this._addAfter(new kN(n,r),a,i),t}_verifyReinsertion(t,n,r,i){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==a?t=this._reinsertAfter(a,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,a=t._nextRemoved;return null===i?this._removalsHead=a:i._nextRemoved=a,null===a?this._removalsTail=i:a._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new qE),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 qE),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class kN{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class LN{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class qE{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new LN,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function KE(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 QE{constructor(){}supports(t){return t instanceof Map||pp(t)}create(){return new VN}}class VN{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||pp(t)))throw new Me(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,((r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const a=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,a)}})),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const a=i._prev,c=i._next;return a&&(a._next=c),c&&(c._prev=a),i._next=null,i._prev=null,i}const r=new UN(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach((r=>n(t[r],r)))}}class UN{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function XE(){return new yg([new WE])}let yg=(()=>{class e{static#e=this.ɵprov=Lt({token:e,providedIn:"root",factory:XE});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||XE()),deps:[[e,new Qr,new Kr]]}}find(n){const r=this.factories.find((i=>i.supports(n)));if(null!=r)return r;throw new Me(901,!1)}}return e})();function ZE(){return new _g([new QE])}let _g=(()=>{class e{static#e=this.ɵprov=Lt({token:e,providedIn:"root",factory:ZE});constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||ZE()),deps:[[e,new Qr,new Kr]]}}find(n){const r=this.factories.find((i=>i.supports(n)));if(r)return r;throw new Me(901,!1)}}return e})();const $N=VE(null,"core",[]);let HN=(()=>{class e{constructor(n){}static#e=this.ɵfac=function(r){return new(r||e)(ct(fs))};static#t=this.ɵmod=Ue({type:e});static#n=this.ɵinj=Xi({})}return e})();const fD=new Ze("");function CR(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function ER(e,t){wi("NgSignals");const n=function me(e){const t=Object.create(ae);t.computation=e;const n=()=>{if(Ae(t),z(t),t.value===q)throw t.error;return t.value};return n[ie]=t,n}(e);return t?.equal&&(n[ie].equal=t.equal),n}function DR(e){const t=te(null);try{return e()}finally{te(t)}}function OR(e){const t=ze(e);if(!t)return null;const n=new Wc(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},9417:(qt,oe,$)=>{$.d(oe,{BC:()=>Ln,YN:()=>Pr,Zm:()=>z,kq:()=>fe,me:()=>Pe,vS:()=>so});var d=$(3953),x=$(177),G=$(6648),K=$(7468),ie=$(1413),te=$(6354);let we=(()=>{class w{constructor(y,I){this._renderer=y,this._elementRef=I,this.onChange=V=>{},this.onTouched=()=>{}}setProperty(y,I){this._renderer.setProperty(this._elementRef.nativeElement,y,I)}registerOnTouched(y){this.onTouched=y}registerOnChange(y){this.onChange=y}setDisabledState(y){this.setProperty("disabled",y)}static#e=this.ɵfac=function(I){return new(I||w)(d.rXU(d.sFG),d.rXU(d.aKT))};static#t=this.ɵdir=d.FsC({type:w})}return w})(),ee=(()=>{class w extends we{static#e=this.ɵfac=(()=>{let y;return function(V){return(y||(y=d.xGo(w)))(V||w)}})();static#t=this.ɵdir=d.FsC({type:w,features:[d.Vt3]})}return w})();const fe=new d.nKC(""),J={provide:fe,useExisting:(0,d.Rfq)((()=>z)),multi:!0};let z=(()=>{class w extends ee{writeValue(y){this.setProperty("checked",y)}static#e=this.ɵfac=(()=>{let y;return function(V){return(y||(y=d.xGo(w)))(V||w)}})();static#t=this.ɵdir=d.FsC({type:w,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(I,V){1&I&&d.bIt("change",(function(ht){return V.onChange(ht.target.checked)}))("blur",(function(){return V.onTouched()}))},features:[d.Jv_([J]),d.Vt3]})}return w})();const Se={provide:fe,useExisting:(0,d.Rfq)((()=>Pe)),multi:!0},Te=new d.nKC("");let Pe=(()=>{class w extends we{constructor(y,I,V){super(y,I),this._compositionMode=V,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Ae(){const w=(0,x.QT)()?(0,x.QT)().getUserAgent():"";return/android (\d+)/.test(w.toLowerCase())}())}writeValue(y){this.setProperty("value",y??"")}_handleInput(y){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(y)}_compositionStart(){this._composing=!0}_compositionEnd(y){this._composing=!1,this._compositionMode&&this.onChange(y)}static#e=this.ɵfac=function(I){return new(I||w)(d.rXU(d.sFG),d.rXU(d.aKT),d.rXU(Te,8))};static#t=this.ɵdir=d.FsC({type:w,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(I,V){1&I&&d.bIt("input",(function(ht){return V._handleInput(ht.target.value)}))("blur",(function(){return V.onTouched()}))("compositionstart",(function(){return V._compositionStart()}))("compositionend",(function(ht){return V._compositionEnd(ht.target.value)}))},features:[d.Jv_([Se]),d.Vt3]})}return w})();const Ke=new d.nKC(""),rt=new d.nKC("");function ae(w){return null!=w}function pe(w){return(0,d.jNT)(w)?(0,G.H)(w):w}function Re(w){let E={};return w.forEach((y=>{E=null!=y?{...E,...y}:E})),0===Object.keys(E).length?null:E}function et(w,E){return E.map((y=>y(w)))}function En(w){return w.map((E=>function Gt(w){return!w.validate}(E)?E:y=>E.validate(y)))}function $n(w){return null!=w?function Qe(w){if(!w)return null;const E=w.filter(ae);return 0==E.length?null:function(y){return Re(et(y,E))}}(En(w)):null}function vn(w){return null!=w?function ti(w){if(!w)return null;const E=w.filter(ae);return 0==E.length?null:function(y){const I=et(y,E).map(pe);return(0,K.p)(I).pipe((0,te.T)(Re))}}(En(w)):null}function un(w,E){return null===w?[E]:Array.isArray(w)?[...w,E]:[w,E]}function Nr(w){return w?Array.isArray(w)?w:[w]:[]}function Rr(w,E){return Array.isArray(w)?w.includes(E):w===E}function xr(w,E){const y=Nr(E);return Nr(w).forEach((V=>{Rr(y,V)||y.push(V)})),y}function xn(w,E){return Nr(E).filter((y=>!Rr(w,y)))}class Vi{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(E){this._rawValidators=E||[],this._composedValidatorFn=$n(this._rawValidators)}_setAsyncValidators(E){this._rawAsyncValidators=E||[],this._composedAsyncValidatorFn=vn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(E){this._onDestroyCallbacks.push(E)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach((E=>E())),this._onDestroyCallbacks=[]}reset(E=void 0){this.control&&this.control.reset(E)}hasError(E,y){return!!this.control&&this.control.hasError(E,y)}getError(E,y){return this.control?this.control.getError(E,y):null}}class Yt extends Vi{get formDirective(){return null}get path(){return null}}class Dn extends Vi{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class kn{constructor(E){this._cd=E}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 Ln=(()=>{class w extends kn{constructor(y){super(y)}static#e=this.ɵfac=function(I){return new(I||w)(d.rXU(Dn,2))};static#t=this.ɵdir=d.FsC({type:w,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(I,V){2&I&&d.AVh("ng-untouched",V.isUntouched)("ng-touched",V.isTouched)("ng-pristine",V.isPristine)("ng-dirty",V.isDirty)("ng-valid",V.isValid)("ng-invalid",V.isInvalid)("ng-pending",V.isPending)},features:[d.Vt3]})}return w})();const Yn="VALID",Sr="INVALID",mr="PENDING",Jn="DISABLED";class dn{}class Vn extends dn{constructor(E,y){super(),this.value=E,this.source=y}}class Y extends dn{constructor(E,y){super(),this.pristine=E,this.source=y}}class Q extends dn{constructor(E,y){super(),this.touched=E,this.source=y}}class N extends dn{constructor(E,y){super(),this.status=E,this.source=y}}function vt(w){return null!=w&&!Array.isArray(w)&&"object"==typeof w}class bi{constructor(E,y){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=(0,d.EWP)((()=>this.statusReactive())),this.statusReactive=(0,d.vPA)(void 0),this._pristine=(0,d.EWP)((()=>this.pristineReactive())),this.pristineReactive=(0,d.vPA)(!0),this._touched=(0,d.EWP)((()=>this.touchedReactive())),this.touchedReactive=(0,d.vPA)(!1),this._events=new ie.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(E),this._assignAsyncValidators(y)}get validator(){return this._composedValidatorFn}set validator(E){this._rawValidators=this._composedValidatorFn=E}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(E){this._rawAsyncValidators=this._composedAsyncValidatorFn=E}get parent(){return this._parent}get status(){return(0,d.O8t)(this.statusReactive)}set status(E){(0,d.O8t)((()=>this.statusReactive.set(E)))}get valid(){return this.status===Yn}get invalid(){return this.status===Sr}get pending(){return this.status==mr}get disabled(){return this.status===Jn}get enabled(){return this.status!==Jn}get pristine(){return(0,d.O8t)(this.pristineReactive)}set pristine(E){(0,d.O8t)((()=>this.pristineReactive.set(E)))}get dirty(){return!this.pristine}get touched(){return(0,d.O8t)(this.touchedReactive)}set touched(E){(0,d.O8t)((()=>this.touchedReactive.set(E)))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(E){this._assignValidators(E)}setAsyncValidators(E){this._assignAsyncValidators(E)}addValidators(E){this.setValidators(xr(E,this._rawValidators))}addAsyncValidators(E){this.setAsyncValidators(xr(E,this._rawAsyncValidators))}removeValidators(E){this.setValidators(xn(E,this._rawValidators))}removeAsyncValidators(E){this.setAsyncValidators(xn(E,this._rawAsyncValidators))}hasValidator(E){return Rr(this._rawValidators,E)}hasAsyncValidator(E){return Rr(this._rawAsyncValidators,E)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(E={}){const y=!1===this.touched;this.touched=!0;const I=E.sourceControl??this;this._parent&&!E.onlySelf&&this._parent.markAsTouched({...E,sourceControl:I}),y&&!1!==E.emitEvent&&this._events.next(new Q(!0,I))}markAllAsTouched(E={}){this.markAsTouched({onlySelf:!0,emitEvent:E.emitEvent,sourceControl:this}),this._forEachChild((y=>y.markAllAsTouched(E)))}markAsUntouched(E={}){const y=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const I=E.sourceControl??this;this._forEachChild((V=>{V.markAsUntouched({onlySelf:!0,emitEvent:E.emitEvent,sourceControl:I})})),this._parent&&!E.onlySelf&&this._parent._updateTouched(E,I),y&&!1!==E.emitEvent&&this._events.next(new Q(!1,I))}markAsDirty(E={}){const y=!0===this.pristine;this.pristine=!1;const I=E.sourceControl??this;this._parent&&!E.onlySelf&&this._parent.markAsDirty({...E,sourceControl:I}),y&&!1!==E.emitEvent&&this._events.next(new Y(!1,I))}markAsPristine(E={}){const y=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const I=E.sourceControl??this;this._forEachChild((V=>{V.markAsPristine({onlySelf:!0,emitEvent:E.emitEvent})})),this._parent&&!E.onlySelf&&this._parent._updatePristine(E,I),y&&!1!==E.emitEvent&&this._events.next(new Y(!0,I))}markAsPending(E={}){this.status=mr;const y=E.sourceControl??this;!1!==E.emitEvent&&(this._events.next(new N(this.status,y)),this.statusChanges.emit(this.status)),this._parent&&!E.onlySelf&&this._parent.markAsPending({...E,sourceControl:y})}disable(E={}){const y=this._parentMarkedDirty(E.onlySelf);this.status=Jn,this.errors=null,this._forEachChild((V=>{V.disable({...E,onlySelf:!0})})),this._updateValue();const I=E.sourceControl??this;!1!==E.emitEvent&&(this._events.next(new Vn(this.value,I)),this._events.next(new N(this.status,I)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...E,skipPristineCheck:y},this),this._onDisabledChange.forEach((V=>V(!0)))}enable(E={}){const y=this._parentMarkedDirty(E.onlySelf);this.status=Yn,this._forEachChild((I=>{I.enable({...E,onlySelf:!0})})),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent}),this._updateAncestors({...E,skipPristineCheck:y},this),this._onDisabledChange.forEach((I=>I(!1)))}_updateAncestors(E,y){this._parent&&!E.onlySelf&&(this._parent.updateValueAndValidity(E),E.skipPristineCheck||this._parent._updatePristine({},y),this._parent._updateTouched({},y))}setParent(E){this._parent=E}getRawValue(){return this.value}updateValueAndValidity(E={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const I=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Yn||this.status===mr)&&this._runAsyncValidator(I,E.emitEvent)}const y=E.sourceControl??this;!1!==E.emitEvent&&(this._events.next(new Vn(this.value,y)),this._events.next(new N(this.status,y)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!E.onlySelf&&this._parent.updateValueAndValidity({...E,sourceControl:y})}_updateTreeValidity(E={emitEvent:!0}){this._forEachChild((y=>y._updateTreeValidity(E))),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Jn:Yn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(E,y){if(this.asyncValidator){this.status=mr,this._hasOwnPendingAsyncValidator={emitEvent:!1!==y};const I=pe(this.asyncValidator(this));this._asyncValidationSubscription=I.subscribe((V=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(V,{emitEvent:y,shouldHaveEmitted:E})}))}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const E=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,E}return!1}setErrors(E,y={}){this.errors=E,this._updateControlsErrors(!1!==y.emitEvent,this,y.shouldHaveEmitted)}get(E){let y=E;return null==y||(Array.isArray(y)||(y=y.split(".")),0===y.length)?null:y.reduce(((I,V)=>I&&I._find(V)),this)}getError(E,y){const I=y?this.get(y):this;return I&&I.errors?I.errors[E]:null}hasError(E,y){return!!this.getError(E,y)}get root(){let E=this;for(;E._parent;)E=E._parent;return E}_updateControlsErrors(E,y,I){this.status=this._calculateStatus(),E&&this.statusChanges.emit(this.status),(E||I)&&this._events.next(new N(this.status,y)),this._parent&&this._parent._updateControlsErrors(E,y,I)}_initObservables(){this.valueChanges=new d.bkB,this.statusChanges=new d.bkB}_calculateStatus(){return this._allControlsDisabled()?Jn:this.errors?Sr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(mr)?mr:this._anyControlsHaveStatus(Sr)?Sr:Yn}_anyControlsHaveStatus(E){return this._anyControls((y=>y.status===E))}_anyControlsDirty(){return this._anyControls((E=>E.dirty))}_anyControlsTouched(){return this._anyControls((E=>E.touched))}_updatePristine(E,y){const I=!this._anyControlsDirty(),V=this.pristine!==I;this.pristine=I,this._parent&&!E.onlySelf&&this._parent._updatePristine(E,y),V&&this._events.next(new Y(this.pristine,y))}_updateTouched(E={},y){this.touched=this._anyControlsTouched(),this._events.next(new Q(this.touched,y)),this._parent&&!E.onlySelf&&this._parent._updateTouched(E,y)}_registerOnCollectionChange(E){this._onCollectionChange=E}_setUpdateStrategy(E){vt(E)&&null!=E.updateOn&&(this._updateOn=E.updateOn)}_parentMarkedDirty(E){return!E&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(E){return null}_assignValidators(E){this._rawValidators=Array.isArray(E)?E.slice():E,this._composedValidatorFn=function nt(w){return Array.isArray(w)?$n(w):w||null}(this._rawValidators)}_assignAsyncValidators(E){this._rawAsyncValidators=Array.isArray(E)?E.slice():E,this._composedAsyncValidatorFn=function Mt(w){return Array.isArray(w)?vn(w):w||null}(this._rawAsyncValidators)}}const er=new d.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>rn}),rn="always";function Fr(w,E,y=rn){(function Wr(w,E){const y=function Di(w){return w._rawValidators}(w);null!==E.validator?w.setValidators(un(y,E.validator)):"function"==typeof y&&w.setValidators([y]);const I=function Fn(w){return w._rawAsyncValidators}(w);null!==E.asyncValidator?w.setAsyncValidators(un(I,E.asyncValidator)):"function"==typeof I&&w.setAsyncValidators([I]);const V=()=>w.updateValueAndValidity();nr(E._rawValidators,V),nr(E._rawAsyncValidators,V)})(w,E),E.valueAccessor.writeValue(w.value),(w.disabled||"always"===y)&&E.valueAccessor.setDisabledState?.(w.disabled),function Go(w,E){E.valueAccessor.registerOnChange((y=>{w._pendingValue=y,w._pendingChange=!0,w._pendingDirty=!0,"change"===w.updateOn&&Tr(w,E)}))}(w,E),function lt(w,E){const y=(I,V)=>{E.valueAccessor.writeValue(I),V&&E.viewToModelUpdate(I)};w.registerOnChange(y),E._registerOnDestroy((()=>{w._unregisterOnChange(y)}))}(w,E),function bo(w,E){E.valueAccessor.registerOnTouched((()=>{w._pendingTouched=!0,"blur"===w.updateOn&&w._pendingChange&&Tr(w,E),"submit"!==w.updateOn&&w.markAsTouched()}))}(w,E),function oo(w,E){if(E.valueAccessor.setDisabledState){const y=I=>{E.valueAccessor.setDisabledState(I)};w.registerOnDisabledChange(y),E._registerOnDestroy((()=>{w._unregisterOnDisabledChange(y)}))}}(w,E)}function nr(w,E){w.forEach((y=>{y.registerOnValidatorChange&&y.registerOnValidatorChange(E)}))}function Tr(w,E){w._pendingDirty&&w.markAsDirty(),w.setValue(w._pendingValue,{emitModelToViewChange:!1}),E.viewToModelUpdate(w._pendingValue),w._pendingChange=!1}function tn(w,E){const y=w.indexOf(E);y>-1&&w.splice(y,1)}function zt(w){return"object"==typeof w&&null!==w&&2===Object.keys(w).length&&"value"in w&&"disabled"in w}Promise.resolve();const sn=class extends bi{constructor(E=null,y,I){super(function Oe(w){return(vt(w)?w.validators:w)||null}(y),function yt(w,E){return(vt(E)?E.asyncValidators:w)||null}(I,y)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(E),this._setUpdateStrategy(y),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),vt(y)&&(y.nonNullable||y.initialValueIsDefault)&&(this.defaultValue=zt(E)?E.value:E)}setValue(E,y={}){this.value=this._pendingValue=E,this._onChange.length&&!1!==y.emitModelToViewChange&&this._onChange.forEach((I=>I(this.value,!1!==y.emitViewToModelChange))),this.updateValueAndValidity(y)}patchValue(E,y={}){this.setValue(E,y)}reset(E=this.defaultValue,y={}){this._applyFormState(E),this.markAsPristine(y),this.markAsUntouched(y),this.setValue(this.value,y),this._pendingChange=!1}_updateValue(){}_anyControls(E){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(E){this._onChange.push(E)}_unregisterOnChange(E){tn(this._onChange,E)}registerOnDisabledChange(E){this._onDisabledChange.push(E)}_unregisterOnDisabledChange(E){tn(this._onDisabledChange,E)}_forEachChild(E){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(E){zt(E)?(this.value=this._pendingValue=E.value,E.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=E}},si={provide:Dn,useExisting:(0,d.Rfq)((()=>so))},To=Promise.resolve();let so=(()=>{class w extends Dn{constructor(y,I,V,Ve,ht,Qt){super(),this._changeDetectorRef=ht,this.callSetDisabledState=Qt,this.control=new sn,this._registered=!1,this.name="",this.update=new d.bkB,this._parent=y,this._setValidators(I),this._setAsyncValidators(V),this.valueAccessor=function _e(w,E){if(!E)return null;let y,I,V;return Array.isArray(E),E.forEach((Ve=>{Ve.constructor===Pe?y=Ve:function ue(w){return Object.getPrototypeOf(w.constructor)===ee}(Ve)?I=Ve:V=Ve})),V||I||y||null}(0,Ve)}ngOnChanges(y){if(this._checkForErrors(),!this._registered||"name"in y){if(this._registered&&(this._checkName(),this.formDirective)){const I=y.name.previousValue;this.formDirective.removeControl({name:I,path:this._getPath(I)})}this._setUpControl()}"isDisabled"in y&&this._updateDisabled(y),function Z(w,E){if(!w.hasOwnProperty("model"))return!1;const y=w.model;return!!y.isFirstChange()||!Object.is(E,y.currentValue)}(y,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(y){this.viewModel=y,this.update.emit(y)}_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(){Fr(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(y){To.then((()=>{this.control.setValue(y,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()}))}_updateDisabled(y){const I=y.isDisabled.currentValue,V=0!==I&&(0,d.L39)(I);To.then((()=>{V&&!this.control.disabled?this.control.disable():!V&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()}))}_getPath(y){return this._parent?function tr(w,E){return[...E.path,w]}(y,this._parent):[y]}static#e=this.ɵfac=function(I){return new(I||w)(d.rXU(Yt,9),d.rXU(Ke,10),d.rXU(rt,10),d.rXU(fe,10),d.rXU(d.gRc,8),d.rXU(er,8))};static#t=this.ɵdir=d.FsC({type:w,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[d.Jv_([si]),d.Vt3,d.OA$]})}return w})(),ms=(()=>{class w{static#e=this.ɵfac=function(I){return new(I||w)};static#t=this.ɵmod=d.$C({type:w});static#n=this.ɵinj=d.G2t({})}return w})(),Pr=(()=>{class w{static withConfig(y){return{ngModule:w,providers:[{provide:er,useValue:y.callSetDisabledState??rn}]}}static#e=this.ɵfac=function(I){return new(I||w)};static#t=this.ɵmod=d.$C({type:w});static#n=this.ɵinj=d.G2t({imports:[ms]})}return w})()},345:(qt,oe,$)=>{$.d(oe,{B7:()=>Je,Bb:()=>kn,hE:()=>Ln,sG:()=>xn});var d=$(177),x=$(3953);class G extends d.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class K extends G{static makeCurrent(){(0,d.ZD)(new K)}onAndCancel(Q,N,j){return Q.addEventListener(N,j),()=>{Q.removeEventListener(N,j)}}dispatchEvent(Q,N){Q.dispatchEvent(N)}remove(Q){Q.remove()}createElement(Q,N){return(N=N||this.getDefaultDocument()).createElement(Q)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Q){return Q.nodeType===Node.ELEMENT_NODE}isShadowRoot(Q){return Q instanceof DocumentFragment}getGlobalEventTarget(Q,N){return"window"===N?window:"document"===N?Q:"body"===N?Q.body:null}getBaseHref(Q){const N=function te(){return ie=ie||document.querySelector("base"),ie?ie.getAttribute("href"):null}();return null==N?null:function we(Y){return new URL(Y,document.baseURI).pathname}(N)}resetBaseElement(){ie=null}getUserAgent(){return window.navigator.userAgent}getCookie(Q){return(0,d._b)(document.cookie,Q)}}let ie=null,fe=(()=>{class Y{build(){return new XMLHttpRequest}static#e=this.ɵfac=function(j){return new(j||Y)};static#t=this.ɵprov=x.jDH({token:Y,factory:Y.ɵfac})}return Y})();const J=new x.nKC("");let z=(()=>{class Y{constructor(N,j){this._zone=j,this._eventNameToPlugin=new Map,N.forEach((se=>{se.manager=this})),this._plugins=N.slice().reverse()}addEventListener(N,j,se){return this._findPluginFor(j).addEventListener(N,j,se)}getZone(){return this._zone}_findPluginFor(N){let j=this._eventNameToPlugin.get(N);if(j)return j;if(j=this._plugins.find((Oe=>Oe.supports(N))),!j)throw new x.wOt(5101,!1);return this._eventNameToPlugin.set(N,j),j}static#e=this.ɵfac=function(j){return new(j||Y)(x.KVO(J),x.KVO(x.SKi))};static#t=this.ɵprov=x.jDH({token:Y,factory:Y.ɵfac})}return Y})();class Se{constructor(Q){this._doc=Q}}const Ae="ng-app-id";let Te=(()=>{class Y{constructor(N,j,se,Oe={}){this.doc=N,this.appId=j,this.nonce=se,this.platformId=Oe,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,d.Vy)(Oe),this.resetHostNodes()}addStyles(N){for(const j of N)1===this.changeUsageCount(j,1)&&this.onStyleAdded(j)}removeStyles(N){for(const j of N)this.changeUsageCount(j,-1)<=0&&this.onStyleRemoved(j)}ngOnDestroy(){const N=this.styleNodesInDOM;N&&(N.forEach((j=>j.remove())),N.clear());for(const j of this.getAllStyles())this.onStyleRemoved(j);this.resetHostNodes()}addHost(N){this.hostNodes.add(N);for(const j of this.getAllStyles())this.addStyleToHost(N,j)}removeHost(N){this.hostNodes.delete(N)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(N){for(const j of this.hostNodes)this.addStyleToHost(j,N)}onStyleRemoved(N){const j=this.styleRef;j.get(N)?.elements?.forEach((se=>se.remove())),j.delete(N)}collectServerRenderedStyles(){const N=this.doc.head?.querySelectorAll(`style[${Ae}="${this.appId}"]`);if(N?.length){const j=new Map;return N.forEach((se=>{null!=se.textContent&&j.set(se.textContent,se)})),j}return null}changeUsageCount(N,j){const se=this.styleRef;if(se.has(N)){const Oe=se.get(N);return Oe.usage+=j,Oe.usage}return se.set(N,{usage:j,elements:[]}),j}getStyleElement(N,j){const se=this.styleNodesInDOM,Oe=se?.get(j);if(Oe?.parentNode===N)return se.delete(j),Oe.removeAttribute(Ae),Oe;{const nt=this.doc.createElement("style");return this.nonce&&nt.setAttribute("nonce",this.nonce),nt.textContent=j,this.platformIsServer&&nt.setAttribute(Ae,this.appId),N.appendChild(nt),nt}}addStyleToHost(N,j){const se=this.getStyleElement(N,j),Oe=this.styleRef,nt=Oe.get(j)?.elements;nt?nt.push(se):Oe.set(j,{elements:[se],usage:1})}resetHostNodes(){const N=this.hostNodes;N.clear(),N.add(this.doc.head)}static#e=this.ɵfac=function(j){return new(j||Y)(x.KVO(d.qQ),x.KVO(x.sZ2),x.KVO(x.BIS,8),x.KVO(x.Agw))};static#t=this.ɵprov=x.jDH({token:Y,factory:Y.ɵfac})}return Y})();const Pe={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"},qe=/%COMP%/g,It=new x.nKC("",{providedIn:"root",factory:()=>!0});function Ht(Y,Q){return Q.map((N=>N.replace(qe,Y)))}let Je=(()=>{class Y{constructor(N,j,se,Oe,nt,yt,Mt,vt=null){this.eventManager=N,this.sharedStylesHost=j,this.appId=se,this.removeStylesOnCompDestroy=Oe,this.doc=nt,this.platformId=yt,this.ngZone=Mt,this.nonce=vt,this.rendererByCompId=new Map,this.platformIsServer=(0,d.Vy)(yt),this.defaultRenderer=new W(N,nt,Mt,this.platformIsServer)}createRenderer(N,j){if(!N||!j)return this.defaultRenderer;this.platformIsServer&&j.encapsulation===x.gXe.ShadowDom&&(j={...j,encapsulation:x.gXe.Emulated});const se=this.getOrCreateRenderer(N,j);return se instanceof pe?se.applyToHost(N):se instanceof ae&&se.applyStyles(),se}getOrCreateRenderer(N,j){const se=this.rendererByCompId;let Oe=se.get(j.id);if(!Oe){const nt=this.doc,yt=this.ngZone,Mt=this.eventManager,vt=this.sharedStylesHost,pn=this.removeStylesOnCompDestroy,Sn=this.platformIsServer;switch(j.encapsulation){case x.gXe.Emulated:Oe=new pe(Mt,vt,j,this.appId,pn,nt,yt,Sn);break;case x.gXe.ShadowDom:return new q(Mt,vt,N,j,nt,yt,this.nonce,Sn);default:Oe=new ae(Mt,vt,j,pn,nt,yt,Sn)}se.set(j.id,Oe)}return Oe}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.ɵfac=function(j){return new(j||Y)(x.KVO(z),x.KVO(Te),x.KVO(x.sZ2),x.KVO(It),x.KVO(d.qQ),x.KVO(x.Agw),x.KVO(x.SKi),x.KVO(x.BIS))};static#t=this.ɵprov=x.jDH({token:Y,factory:Y.ɵfac})}return Y})();class W{constructor(Q,N,j,se){this.eventManager=Q,this.doc=N,this.ngZone=j,this.platformIsServer=se,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(Q,N){return N?this.doc.createElementNS(Pe[N]||N,Q):this.doc.createElement(Q)}createComment(Q){return this.doc.createComment(Q)}createText(Q){return this.doc.createTextNode(Q)}appendChild(Q,N){(ne(Q)?Q.content:Q).appendChild(N)}insertBefore(Q,N,j){Q&&(ne(Q)?Q.content:Q).insertBefore(N,j)}removeChild(Q,N){N.remove()}selectRootElement(Q,N){let j="string"==typeof Q?this.doc.querySelector(Q):Q;if(!j)throw new x.wOt(-5104,!1);return N||(j.textContent=""),j}parentNode(Q){return Q.parentNode}nextSibling(Q){return Q.nextSibling}setAttribute(Q,N,j,se){if(se){N=se+":"+N;const Oe=Pe[se];Oe?Q.setAttributeNS(Oe,N,j):Q.setAttribute(N,j)}else Q.setAttribute(N,j)}removeAttribute(Q,N,j){if(j){const se=Pe[j];se?Q.removeAttributeNS(se,N):Q.removeAttribute(`${j}:${N}`)}else Q.removeAttribute(N)}addClass(Q,N){Q.classList.add(N)}removeClass(Q,N){Q.classList.remove(N)}setStyle(Q,N,j,se){se&(x.czy.DashCase|x.czy.Important)?Q.style.setProperty(N,j,se&x.czy.Important?"important":""):Q.style[N]=j}removeStyle(Q,N,j){j&x.czy.DashCase?Q.style.removeProperty(N):Q.style[N]=""}setProperty(Q,N,j){null!=Q&&(Q[N]=j)}setValue(Q,N){Q.nodeValue=N}listen(Q,N,j){if("string"==typeof Q&&!(Q=(0,d.QT)().getGlobalEventTarget(this.doc,Q)))throw new Error(`Unsupported event target ${Q} for event ${N}`);return this.eventManager.addEventListener(Q,N,this.decoratePreventDefault(j))}decoratePreventDefault(Q){return N=>{if("__ngUnwrap__"===N)return Q;!1===(this.platformIsServer?this.ngZone.runGuarded((()=>Q(N))):Q(N))&&N.preventDefault()}}}function ne(Y){return"TEMPLATE"===Y.tagName&&void 0!==Y.content}class q extends W{constructor(Q,N,j,se,Oe,nt,yt,Mt){super(Q,Oe,nt,Mt),this.sharedStylesHost=N,this.hostEl=j,this.shadowRoot=j.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const vt=Ht(se.id,se.styles);for(const pn of vt){const Sn=document.createElement("style");yt&&Sn.setAttribute("nonce",yt),Sn.textContent=pn,this.shadowRoot.appendChild(Sn)}}nodeOrShadowRoot(Q){return Q===this.hostEl?this.shadowRoot:Q}appendChild(Q,N){return super.appendChild(this.nodeOrShadowRoot(Q),N)}insertBefore(Q,N,j){return super.insertBefore(this.nodeOrShadowRoot(Q),N,j)}removeChild(Q,N){return super.removeChild(null,N)}parentNode(Q){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Q)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ae extends W{constructor(Q,N,j,se,Oe,nt,yt,Mt){super(Q,Oe,nt,yt),this.sharedStylesHost=N,this.removeStylesOnCompDestroy=se,this.styles=Mt?Ht(Mt,j.styles):j.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class pe extends ae{constructor(Q,N,j,se,Oe,nt,yt,Mt){const vt=se+"-"+j.id;super(Q,N,j,Oe,nt,yt,Mt,vt),this.contentAttr=function ut(Y){return"_ngcontent-%COMP%".replace(qe,Y)}(vt),this.hostAttr=function pt(Y){return"_nghost-%COMP%".replace(qe,Y)}(vt)}applyToHost(Q){this.applyStyles(),this.setAttribute(Q,this.hostAttr,"")}createElement(Q,N){const j=super.createElement(Q,N);return super.setAttribute(j,this.contentAttr,""),j}}let Re=(()=>{class Y extends Se{constructor(N){super(N)}supports(N){return!0}addEventListener(N,j,se){return N.addEventListener(j,se,!1),()=>this.removeEventListener(N,j,se)}removeEventListener(N,j,se){return N.removeEventListener(j,se)}static#e=this.ɵfac=function(j){return new(j||Y)(x.KVO(d.qQ))};static#t=this.ɵprov=x.jDH({token:Y,factory:Y.ɵfac})}return Y})(),et=(()=>{class Y extends Se{constructor(N){super(N),this.delegate=(0,x.WQX)(x.zAP,{optional:!0})}supports(N){return!!this.delegate&&this.delegate.supports(N)}addEventListener(N,j,se){return this.delegate.addEventListener(N,j,se)}removeEventListener(N,j,se){return this.delegate.removeEventListener(N,j,se)}static#e=this.ɵfac=function(j){return new(j||Y)(x.KVO(d.qQ))};static#t=this.ɵprov=x.jDH({token:Y,factory:Y.ɵfac})}return Y})();const Gt=["alt","control","meta","shift"],En={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Qe={alt:Y=>Y.altKey,control:Y=>Y.ctrlKey,meta:Y=>Y.metaKey,shift:Y=>Y.shiftKey};let $n=(()=>{class Y extends Se{constructor(N){super(N)}supports(N){return null!=Y.parseEventName(N)}addEventListener(N,j,se){const Oe=Y.parseEventName(j),nt=Y.eventCallback(Oe.fullKey,se,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>(0,d.QT)().onAndCancel(N,Oe.domEventName,nt)))}static parseEventName(N){const j=N.toLowerCase().split("."),se=j.shift();if(0===j.length||"keydown"!==se&&"keyup"!==se)return null;const Oe=Y._normalizeKey(j.pop());let nt="",yt=j.indexOf("code");if(yt>-1&&(j.splice(yt,1),nt="code."),Gt.forEach((vt=>{const pn=j.indexOf(vt);pn>-1&&(j.splice(pn,1),nt+=vt+".")})),nt+=Oe,0!=j.length||0===Oe.length)return null;const Mt={};return Mt.domEventName=se,Mt.fullKey=nt,Mt}static matchEventFullKeyCode(N,j){let se=En[N.key]||N.key,Oe="";return j.indexOf("code.")>-1&&(se=N.code,Oe="code."),!(null==se||!se)&&(se=se.toLowerCase()," "===se?se="space":"."===se&&(se="dot"),Gt.forEach((nt=>{nt!==se&&(0,Qe[nt])(N)&&(Oe+=nt+".")})),Oe+=se,Oe===j)}static eventCallback(N,j,se){return Oe=>{Y.matchEventFullKeyCode(Oe,N)&&se.runGuarded((()=>j(Oe)))}}static _normalizeKey(N){return"esc"===N?"escape":N}static#e=this.ɵfac=function(j){return new(j||Y)(x.KVO(d.qQ))};static#t=this.ɵprov=x.jDH({token:Y,factory:Y.ɵfac})}return Y})();const xn=(0,x.oH4)(x.fpN,"browser",[{provide:x.Agw,useValue:d.AJ},{provide:x.PLl,useValue:function Fn(){K.makeCurrent()},multi:!0},{provide:d.qQ,useFactory:function Rr(){return(0,x.TL$)(document),document},deps:[]}]),Vi=new x.nKC(""),Yt=[{provide:x.e01,useClass:class ee{addToWindow(Q){x.JZv.getAngularTestability=(j,se=!0)=>{const Oe=Q.findTestabilityInTree(j,se);if(null==Oe)throw new x.wOt(5103,!1);return Oe},x.JZv.getAllAngularTestabilities=()=>Q.getAllTestabilities(),x.JZv.getAllAngularRootElements=()=>Q.getAllRootElements(),x.JZv.frameworkStabilizers||(x.JZv.frameworkStabilizers=[]),x.JZv.frameworkStabilizers.push((j=>{const se=x.JZv.getAllAngularTestabilities();let Oe=se.length;const nt=function(){Oe--,0==Oe&&j()};se.forEach((yt=>{yt.whenStable(nt)}))}))}findTestabilityInTree(Q,N,j){return null==N?null:Q.getTestability(N)??(j?(0,d.QT)().isShadowRoot(N)?this.findTestabilityInTree(Q,N.host,!0):this.findTestabilityInTree(Q,N.parentElement,!0):null)}},deps:[]},{provide:x.WHO,useClass:x.NYb,deps:[x.SKi,x.giA,x.e01]},{provide:x.NYb,useClass:x.NYb,deps:[x.SKi,x.giA,x.e01]}],Dn=[{provide:x.H8p,useValue:"root"},{provide:x.zcH,useFactory:function Nr(){return new x.zcH},deps:[]},{provide:J,useClass:Re,multi:!0,deps:[d.qQ,x.SKi,x.Agw]},{provide:J,useClass:$n,multi:!0,deps:[d.qQ]},{provide:J,useClass:et,multi:!0},Je,Te,z,{provide:x._9s,useExisting:Je},{provide:d.N0,useClass:fe,deps:[]},[]];let kn=(()=>{class Y{constructor(N){}static withServerTransition(N){return{ngModule:Y,providers:[{provide:x.sZ2,useValue:N.appId}]}}static#e=this.ɵfac=function(j){return new(j||Y)(x.KVO(Vi,12))};static#t=this.ɵmod=x.$C({type:Y});static#n=this.ɵinj=x.G2t({providers:[...Dn,...Yt],imports:[d.MD,x.Hbi]})}return Y})(),Ln=(()=>{class Y{constructor(N){this._doc=N}getTitle(){return this._doc.title}setTitle(N){this._doc.title=N||""}static#e=this.ɵfac=function(j){return new(j||Y)(x.KVO(d.qQ))};static#t=this.ɵprov=x.jDH({token:Y,factory:Y.ɵfac,providedIn:"root"})}return Y})()},7901:(qt,oe,$)=>{$.d(oe,{Ix:()=>wt,Wk:()=>ge,iI:()=>ga,n3:()=>or,nX:()=>Un,wF:()=>Cn});var d=$(3953),x=$(4402),G=$(6648),K=$(7673),ie=$(4412),te=$(4572),we=$(9350),ee=$(8793),fe=$(9030),J=$(1203),z=$(8810),Se=$(983),Ae=$(17),Te=$(1413),Pe=$(8359),qe=$(177),Ne=$(6354),Ke=$(5558),rt=$(6697),Dt=$(9172),It=$(5964),ut=$(1397),pt=$(1594),Ht=$(274),Je=$(8141),W=$(9437),me=$(2816),Xe=$(9901),ne=$(7018),q=$(5109),ae=$(3703),pe=$(980),Re=$(9898),et=$(6977),Gt=$(6365),En=$(345);const Qe="primary",$n=Symbol("RouteTitle");class ti{constructor(l){this.params=l||{}}has(l){return Object.prototype.hasOwnProperty.call(this.params,l)}get(l){if(this.has(l)){const s=this.params[l];return Array.isArray(s)?s[0]:s}return null}getAll(l){if(this.has(l)){const s=this.params[l];return Array.isArray(s)?s:[s]}return[]}get keys(){return Object.keys(this.params)}}function vn(p){return new ti(p)}function un(p,l,s){const o=s.path.split("/");if(o.length>p.length||"full"===s.pathMatch&&(l.hasChildren()||o.length<p.length))return null;const u={};for(let f=0;f<o.length;f++){const _=o[f],T=p[f];if(":"===_[0])u[_.substring(1)]=T;else if(_!==T.path)return null}return{consumed:p.slice(0,o.length),posParams:u}}function Fn(p,l){const s=p?Nr(p):void 0,o=l?Nr(l):void 0;if(!s||!o||s.length!=o.length)return!1;let u;for(let f=0;f<s.length;f++)if(u=s[f],!Rr(p[u],l[u]))return!1;return!0}function Nr(p){return[...Object.keys(p),...Object.getOwnPropertySymbols(p)]}function Rr(p,l){if(Array.isArray(p)&&Array.isArray(l)){if(p.length!==l.length)return!1;const s=[...p].sort(),o=[...l].sort();return s.every(((u,f)=>o[f]===u))}return p===l}function xr(p){return p.length>0?p[p.length-1]:null}function xn(p){return(0,x.A)(p)?p:(0,d.jNT)(p)?(0,G.H)(Promise.resolve(p)):(0,K.of)(p)}const Vi={exact:function Mn(p,l,s){if(!tt(p.segments,l.segments)||!Kt(p.segments,l.segments,s)||p.numberOfChildren!==l.numberOfChildren)return!1;for(const o in l.children)if(!p.children[o]||!Mn(p.children[o],l.children[o],s))return!1;return!0},subset:Ln},Yt={exact:function kn(p,l){return Fn(p,l)},subset:function dr(p,l){return Object.keys(l).length<=Object.keys(p).length&&Object.keys(l).every((s=>Rr(p[s],l[s])))},ignored:()=>!0};function Dn(p,l,s){return Vi[s.paths](p.root,l.root,s.matrixParams)&&Yt[s.queryParams](p.queryParams,l.queryParams)&&!("exact"===s.fragment&&p.fragment!==l.fragment)}function Ln(p,l,s){return hr(p,l,l.segments,s)}function hr(p,l,s,o){if(p.segments.length>s.length){const u=p.segments.slice(0,s.length);return!(!tt(u,s)||l.hasChildren()||!Kt(u,s,o))}if(p.segments.length===s.length){if(!tt(p.segments,s)||!Kt(p.segments,s,o))return!1;for(const u in l.children)if(!p.children[u]||!Ln(p.children[u],l.children[u],o))return!1;return!0}{const u=s.slice(0,p.segments.length),f=s.slice(p.segments.length);return!!(tt(p.segments,u)&&Kt(p.segments,u,o)&&p.children[Qe])&&hr(p.children[Qe],l,f,o)}}function Kt(p,l,s){return l.every(((o,u)=>Yt[s](p[u].parameters,o.parameters)))}class bn{constructor(l=new gt([],{}),s={},o=null){this.root=l,this.queryParams=s,this.fragment=o}get queryParamMap(){return this._queryParamMap??=vn(this.queryParams),this._queryParamMap}toString(){return pr.serialize(this)}}class gt{constructor(l,s){this.segments=l,this.children=s,this.parent=null,Object.values(s).forEach((o=>o.parent=this))}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return gr(this)}}class Hn{constructor(l,s){this.path=l,this.parameters=s}get parameterMap(){return this._parameterMap??=vn(this.parameters),this._parameterMap}toString(){return Yn(this)}}function tt(p,l){return p.length===l.length&&p.every(((s,o)=>s.path===l[o].path))}let Mi=(()=>{class p{static#e=this.ɵfac=function(o){return new(o||p)};static#t=this.ɵprov=d.jDH({token:p,factory:()=>new ni,providedIn:"root"})}return p})();class ni{parse(l){const s=new Oe(l);return new bn(s.parseRootSegment(),s.parseQueryParams(),s.parseFragment())}serialize(l){const s=`/${fn(l.root,!0)}`,o=function mr(p){const l=Object.entries(p).map((([s,o])=>Array.isArray(o)?o.map((u=>`${xt(s)}=${xt(u)}`)).join("&"):`${xt(s)}=${xt(o)}`)).filter((s=>s));return l.length?`?${l.join("&")}`:""}(l.queryParams);return`${s}${o}${"string"==typeof l.fragment?`#${function Ui(p){return encodeURI(p)}(l.fragment)}`:""}`}}const pr=new ni;function gr(p){return p.segments.map((l=>Yn(l))).join("/")}function fn(p,l){if(!p.hasChildren())return gr(p);if(l){const s=p.children[Qe]?fn(p.children[Qe],!1):"",o=[];return Object.entries(p.children).forEach((([u,f])=>{u!==Qe&&o.push(`${u}:${fn(f,!1)}`)})),o.length>0?`${s}(${o.join("//")})`:s}{const s=function Ce(p,l){let s=[];return Object.entries(p.children).forEach((([o,u])=>{o===Qe&&(s=s.concat(l(u,o)))})),Object.entries(p.children).forEach((([o,u])=>{o!==Qe&&(s=s.concat(l(u,o)))})),s}(p,((o,u)=>u===Qe?[fn(p.children[Qe],!1)]:[`${u}:${fn(o,!1)}`]));return 1===Object.keys(p.children).length&&null!=p.children[Qe]?`${gr(p)}/${s[0]}`:`${gr(p)}/(${s.join("//")})`}}function io(p){return encodeURIComponent(p).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function xt(p){return io(p).replace(/%3B/gi,";")}function dt(p){return io(p).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ot(p){return decodeURIComponent(p)}function ri(p){return Ot(p.replace(/\+/g,"%20"))}function Yn(p){return`${dt(p.path)}${function Sr(p){return Object.entries(p).map((([l,s])=>`;${dt(l)}=${dt(s)}`)).join("")}(p.parameters)}`}const Jn=/^[^\/()?;#]+/;function dn(p){const l=p.match(Jn);return l?l[0]:""}const Vn=/^[^\/()?;=#]+/,Q=/^[^=?&#]+/,j=/^[^&#]+/;class Oe{constructor(l){this.url=l,this.remaining=l}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new gt([],{}):new gt([],this.parseChildren())}parseQueryParams(){const l={};if(this.consumeOptional("?"))do{this.parseQueryParam(l)}while(this.consumeOptional("&"));return l}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const l=[];for(this.peekStartsWith("(")||l.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),l.push(this.parseSegment());let s={};this.peekStartsWith("/(")&&(this.capture("/"),s=this.parseParens(!0));let o={};return this.peekStartsWith("(")&&(o=this.parseParens(!1)),(l.length>0||Object.keys(s).length>0)&&(o[Qe]=new gt(l,s)),o}parseSegment(){const l=dn(this.remaining);if(""===l&&this.peekStartsWith(";"))throw new d.wOt(4009,!1);return this.capture(l),new Hn(Ot(l),this.parseMatrixParams())}parseMatrixParams(){const l={};for(;this.consumeOptional(";");)this.parseParam(l);return l}parseParam(l){const s=function Y(p){const l=p.match(Vn);return l?l[0]:""}(this.remaining);if(!s)return;this.capture(s);let o="";if(this.consumeOptional("=")){const u=dn(this.remaining);u&&(o=u,this.capture(o))}l[Ot(s)]=Ot(o)}parseQueryParam(l){const s=function N(p){const l=p.match(Q);return l?l[0]:""}(this.remaining);if(!s)return;this.capture(s);let o="";if(this.consumeOptional("=")){const _=function se(p){const l=p.match(j);return l?l[0]:""}(this.remaining);_&&(o=_,this.capture(o))}const u=ri(s),f=ri(o);if(l.hasOwnProperty(u)){let _=l[u];Array.isArray(_)||(_=[_],l[u]=_),_.push(f)}else l[u]=f}parseParens(l){const s={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const o=dn(this.remaining),u=this.remaining[o.length];if("/"!==u&&")"!==u&&";"!==u)throw new d.wOt(4010,!1);let f;o.indexOf(":")>-1?(f=o.slice(0,o.indexOf(":")),this.capture(f),this.capture(":")):l&&(f=Qe);const _=this.parseChildren();s[f]=1===Object.keys(_).length?_[Qe]:new gt([],_),this.consumeOptional("//")}return s}peekStartsWith(l){return this.remaining.startsWith(l)}consumeOptional(l){return!!this.peekStartsWith(l)&&(this.remaining=this.remaining.substring(l.length),!0)}capture(l){if(!this.consumeOptional(l))throw new d.wOt(4011,!1)}}function nt(p){return p.segments.length>0?new gt([],{[Qe]:p}):p}function yt(p){const l={};for(const[o,u]of Object.entries(p.children)){const f=yt(u);if(o===Qe&&0===f.segments.length&&f.hasChildren())for(const[_,T]of Object.entries(f.children))l[_]=T;else(f.segments.length>0||f.hasChildren())&&(l[o]=f)}return function Mt(p){if(1===p.numberOfChildren&&p.children[Qe]){const l=p.children[Qe];return new gt(p.segments.concat(l.segments),l.children)}return p}(new gt(p.segments,l))}function vt(p){return p instanceof bn}function Sn(p){let l;const u=nt(function s(f){const _={};for(const S of f.children){const L=s(S);_[S.outlet]=L}const T=new gt(f.url,_);return f===p&&(l=T),T}(p.root));return l??u}function bi(p,l,s,o){let u=p;for(;u.parent;)u=u.parent;if(0===l.length)return ji(u,u,u,s,o);const f=function Mo(p){if("string"==typeof p[0]&&1===p.length&&"/"===p[0])return new Bi(!0,0,p);let l=0,s=!1;const o=p.reduce(((u,f,_)=>{if("object"==typeof f&&null!=f){if(f.outlets){const T={};return Object.entries(f.outlets).forEach((([S,L])=>{T[S]="string"==typeof L?L.split("/"):L})),[...u,{outlets:T}]}if(f.segmentPath)return[...u,f.segmentPath]}return"string"!=typeof f?[...u,f]:0===_?(f.split("/").forEach(((T,S)=>{0==S&&"."===T||(0==S&&""===T?s=!0:".."===T?l++:""!=T&&u.push(T))})),u):[...u,f]}),[]);return new Bi(s,l,o)}(l);if(f.toRoot())return ji(u,u,new gt([],{}),s,o);const _=function rn(p,l,s){if(p.isAbsolute)return new er(l,!0,0);if(!s)return new er(l,!1,NaN);if(null===s.parent)return new er(s,!0,0);const o=zr(p.commands[0])?0:1;return function tr(p,l,s){let o=p,u=l,f=s;for(;f>u;){if(f-=u,o=o.parent,!o)throw new d.wOt(4005,!1);u=o.segments.length}return new er(o,!1,u-f)}(s,s.segments.length-1+o,p.numberOfDoubleDots)}(f,u,p),T=_.processChildren?nr(_.segmentGroup,_.index,f.commands):kr(_.segmentGroup,_.index,f.commands);return ji(u,_.segmentGroup,T,s,o)}function zr(p){return"object"==typeof p&&null!=p&&!p.outlets&&!p.segmentPath}function yr(p){return"object"==typeof p&&null!=p&&p.outlets}function ji(p,l,s,o,u){let _,f={};o&&Object.entries(o).forEach((([S,L])=>{f[S]=Array.isArray(L)?L.map((B=>`${B}`)):`${L}`})),_=p===l?s:Do(p,l,s);const T=nt(yt(_));return new bn(T,f,u)}function Do(p,l,s){const o={};return Object.entries(p.children).forEach((([u,f])=>{o[u]=f===l?s:Do(f,l,s)})),new gt(p.segments,o)}class Bi{constructor(l,s,o){if(this.isAbsolute=l,this.numberOfDoubleDots=s,this.commands=o,l&&o.length>0&&zr(o[0]))throw new d.wOt(4003,!1);const u=o.find(yr);if(u&&u!==xr(o))throw new d.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class er{constructor(l,s,o){this.segmentGroup=l,this.processChildren=s,this.index=o}}function kr(p,l,s){if(p??=new gt([],{}),0===p.segments.length&&p.hasChildren())return nr(p,l,s);const o=function oo(p,l,s){let o=0,u=l;const f={match:!1,pathIndex:0,commandIndex:0};for(;u<p.segments.length;){if(o>=s.length)return f;const _=p.segments[u],T=s[o];if(yr(T))break;const S=`${T}`,L=o<s.length-1?s[o+1]:null;if(u>0&&void 0===S)break;if(S&&L&&"object"==typeof L&&void 0===L.outlets){if(!bo(S,L,_))return f;o+=2}else{if(!bo(S,{},_))return f;o++}u++}return{match:!0,pathIndex:u,commandIndex:o}}(p,l,s),u=s.slice(o.commandIndex);if(o.match&&o.pathIndex<p.segments.length){const f=new gt(p.segments.slice(0,o.pathIndex),{});return f.children[Qe]=new gt(p.segments.slice(o.pathIndex),p.children),nr(f,0,u)}return o.match&&0===u.length?new gt(p.segments,{}):o.match&&!p.hasChildren()?Wr(p,l,s):o.match?nr(p,0,u):Wr(p,l,s)}function nr(p,l,s){if(0===s.length)return new gt(p.segments,{});{const o=function Fr(p){return yr(p[0])?p[0].outlets:{[Qe]:p}}(s),u={};if(Object.keys(o).some((f=>f!==Qe))&&p.children[Qe]&&1===p.numberOfChildren&&0===p.children[Qe].segments.length){const f=nr(p.children[Qe],l,s);return new gt(p.segments,f.children)}return Object.entries(o).forEach((([f,_])=>{"string"==typeof _&&(_=[_]),null!==_&&(u[f]=kr(p.children[f],l,_))})),Object.entries(p.children).forEach((([f,_])=>{void 0===o[f]&&(u[f]=_)})),new gt(p.segments,u)}}function Wr(p,l,s){const o=p.segments.slice(0,l);let u=0;for(;u<s.length;){const f=s[u];if(yr(f)){const S=Si(f.outlets);return new gt(o,S)}if(0===u&&zr(s[0])){o.push(new Hn(p.segments[l].path,Go(s[0]))),u++;continue}const _=yr(f)?f.outlets[Qe]:`${f}`,T=u<s.length-1?s[u+1]:null;_&&T&&zr(T)?(o.push(new Hn(_,Go(T))),u+=2):(o.push(new Hn(_,{})),u++)}return new gt(o,{})}function Si(p){const l={};return Object.entries(p).forEach((([s,o])=>{"string"==typeof o&&(o=[o]),null!==o&&(l[s]=Wr(new gt([],{}),0,o))})),l}function Go(p){const l={};return Object.entries(p).forEach((([s,o])=>l[s]=`${o}`)),l}function bo(p,l,s){return p==s.path&&Fn(l,s.parameters)}const Tr="imperative";var lt=function(p){return p[p.NavigationStart=0]="NavigationStart",p[p.NavigationEnd=1]="NavigationEnd",p[p.NavigationCancel=2]="NavigationCancel",p[p.NavigationError=3]="NavigationError",p[p.RoutesRecognized=4]="RoutesRecognized",p[p.ResolveStart=5]="ResolveStart",p[p.ResolveEnd=6]="ResolveEnd",p[p.GuardsCheckStart=7]="GuardsCheckStart",p[p.GuardsCheckEnd=8]="GuardsCheckEnd",p[p.RouteConfigLoadStart=9]="RouteConfigLoadStart",p[p.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",p[p.ChildActivationStart=11]="ChildActivationStart",p[p.ChildActivationEnd=12]="ChildActivationEnd",p[p.ActivationStart=13]="ActivationStart",p[p.ActivationEnd=14]="ActivationEnd",p[p.Scroll=15]="Scroll",p[p.NavigationSkipped=16]="NavigationSkipped",p}(lt||{});class on{constructor(l,s){this.id=l,this.url=s}}class ii extends on{constructor(l,s,o="imperative",u=null){super(l,s),this.type=lt.NavigationStart,this.navigationTrigger=o,this.restoredState=u}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Cn extends on{constructor(l,s,o){super(l,s),this.urlAfterRedirects=o,this.type=lt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var hn=function(p){return p[p.Redirect=0]="Redirect",p[p.SupersededByNewNavigation=1]="SupersededByNewNavigation",p[p.NoDataFromResolver=2]="NoDataFromResolver",p[p.GuardRejected=3]="GuardRejected",p}(hn||{}),O=function(p){return p[p.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",p[p.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",p}(O||{});class k extends on{constructor(l,s,o,u){super(l,s),this.reason=o,this.code=u,this.type=lt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class F extends on{constructor(l,s,o,u){super(l,s),this.reason=o,this.code=u,this.type=lt.NavigationSkipped}}class Z extends on{constructor(l,s,o,u){super(l,s),this.error=o,this.target=u,this.type=lt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ue extends on{constructor(l,s,o,u){super(l,s),this.urlAfterRedirects=o,this.state=u,this.type=lt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ye extends on{constructor(l,s,o,u){super(l,s),this.urlAfterRedirects=o,this.state=u,this.type=lt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _e extends on{constructor(l,s,o,u,f){super(l,s),this.urlAfterRedirects=o,this.state=u,this.shouldActivate=f,this.type=lt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class $e extends on{constructor(l,s,o,u){super(l,s),this.urlAfterRedirects=o,this.state=u,this.type=lt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xe extends on{constructor(l,s,o,u){super(l,s),this.urlAfterRedirects=o,this.state=u,this.type=lt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Vt{constructor(l){this.route=l,this.type=lt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ut{constructor(l){this.route=l,this.type=lt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Pt{constructor(l){this.snapshot=l,this.type=lt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tn{constructor(l){this.snapshot=l,this.type=lt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zt{constructor(l){this.snapshot=l,this.type=lt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class sn{constructor(l){this.snapshot=l,this.type=lt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bt{constructor(l,s,o){this.routerEvent=l,this.position=s,this.anchor=o,this.type=lt.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Tt{}class wn{constructor(l,s){this.url=l,this.navigationBehaviorOptions=s}}function ir(p){return p.outlet||Qe}function ai(p){if(!p)return null;if(p.routeConfig?._injector)return p.routeConfig._injector;for(let l=p.parent;l;l=l.parent){const s=l.routeConfig;if(s?._loadedInjector)return s._loadedInjector;if(s?._injector)return s._injector}return null}class oa{get injector(){return ai(this.route?.snapshot)??this.rootInjector}set injector(l){}constructor(l){this.rootInjector=l,this.outlet=null,this.route=null,this.children=new ao(this.rootInjector),this.attachRef=null}}let ao=(()=>{class p{constructor(s){this.rootInjector=s,this.contexts=new Map}onChildOutletCreated(s,o){const u=this.getOrCreateContext(s);u.outlet=o,this.contexts.set(s,u)}onChildOutletDestroyed(s){const o=this.getContext(s);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){const s=this.contexts;return this.contexts=new Map,s}onOutletReAttached(s){this.contexts=s}getOrCreateContext(s){let o=this.getContext(s);return o||(o=new oa(this.rootInjector),this.contexts.set(s,o)),o}getContext(s){return this.contexts.get(s)||null}static#e=this.ɵfac=function(o){return new(o||p)(d.KVO(d.uvJ))};static#t=this.ɵprov=d.jDH({token:p,factory:p.ɵfac,providedIn:"root"})}return p})();class lo{constructor(l){this._root=l}get root(){return this._root.value}parent(l){const s=this.pathFromRoot(l);return s.length>1?s[s.length-2]:null}children(l){const s=zo(l,this._root);return s?s.children.map((o=>o.value)):[]}firstChild(l){const s=zo(l,this._root);return s&&s.children.length>0?s.children[0].value:null}siblings(l){const s=co(l,this._root);return s.length<2?[]:s[s.length-2].children.map((u=>u.value)).filter((u=>u!==l))}pathFromRoot(l){return co(l,this._root).map((s=>s.value))}}function zo(p,l){if(p===l.value)return l;for(const s of l.children){const o=zo(p,s);if(o)return o}return null}function co(p,l){if(p===l.value)return[l];for(const s of l.children){const o=co(p,s);if(o.length)return o.unshift(l),o}return[]}class vr{constructor(l,s){this.value=l,this.children=s}toString(){return`TreeNode(${this.value})`}}function Ti(p){const l={};return p&&p.children.forEach((s=>l[s.value.outlet]=s)),l}class $i extends lo{constructor(l,s){super(l),this.snapshot=s,Hi(this,l)}toString(){return this.snapshot.toString()}}function Wo(p){const l=function Oo(p){const f=new ci([],{},{},"",{},Qe,p,null,{});return new uo("",new vr(f,[]))}(p),s=new ie.t([new Hn("",{})]),o=new ie.t({}),u=new ie.t({}),f=new ie.t({}),_=new ie.t(""),T=new Un(s,o,f,_,u,Qe,p,l.root);return T.snapshot=l.root,new $i(new vr(T,[]),l)}class Un{constructor(l,s,o,u,f,_,T,S){this.urlSubject=l,this.paramsSubject=s,this.queryParamsSubject=o,this.fragmentSubject=u,this.dataSubject=f,this.outlet=_,this.component=T,this._futureSnapshot=S,this.title=this.dataSubject?.pipe((0,Ne.T)((L=>L[$n])))??(0,K.of)(void 0),this.url=l,this.params=s,this.queryParams=o,this.fragment=u,this.data=f}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,Ne.T)((l=>vn(l)))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,Ne.T)((l=>vn(l)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function li(p,l,s="emptyOnly"){let o;const{routeConfig:u}=p;return o=null===l||"always"!==s&&""!==u?.path&&(l.component||l.routeConfig?.loadComponent)?{params:{...p.params},data:{...p.data},resolve:{...p.data,...p._resolvedData??{}}}:{params:{...l.params,...p.params},data:{...l.data,...p.data},resolve:{...p.data,...l.data,...u?.data,...p._resolvedData}},u&&zi(u)&&(o.resolve[$n]=u.title),o}class ci{get title(){return this.data?.[$n]}constructor(l,s,o,u,f,_,T,S,L){this.url=l,this.params=s,this.queryParams=o,this.fragment=u,this.data=f,this.outlet=_,this.component=T,this.routeConfig=S,this._resolve=L}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=vn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=vn(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map((o=>o.toString())).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class uo extends lo{constructor(l,s){super(s),this.url=l,Hi(this,s)}toString(){return qo(this._root)}}function Hi(p,l){l.value._routerState=p,l.children.forEach((s=>Hi(p,s)))}function qo(p){const l=p.children.length>0?` { ${p.children.map(qo).join(", ")} } `:"";return`${p.value}${l}`}function Gi(p){if(p.snapshot){const l=p.snapshot,s=p._futureSnapshot;p.snapshot=s,Fn(l.queryParams,s.queryParams)||p.queryParamsSubject.next(s.queryParams),l.fragment!==s.fragment&&p.fragmentSubject.next(s.fragment),Fn(l.params,s.params)||p.paramsSubject.next(s.params),function Di(p,l){if(p.length!==l.length)return!1;for(let s=0;s<p.length;++s)if(!Fn(p[s],l[s]))return!1;return!0}(l.url,s.url)||p.urlSubject.next(s.url),Fn(l.data,s.data)||p.dataSubject.next(s.data)}else p.snapshot=p._futureSnapshot,p.dataSubject.next(p._futureSnapshot.data)}function ho(p,l){const s=Fn(p.params,l.params)&&function fr(p,l){return tt(p,l)&&p.every(((s,o)=>Fn(s.parameters,l[o].parameters)))}(p.url,l.url);return s&&!(!p.parent!=!l.parent)&&(!p.parent||ho(p.parent,l.parent))}function zi(p){return"string"==typeof p.title||null===p.title}let or=(()=>{class p{constructor(){this.activated=null,this._activatedRoute=null,this.name=Qe,this.activateEvents=new d.bkB,this.deactivateEvents=new d.bkB,this.attachEvents=new d.bkB,this.detachEvents=new d.bkB,this.parentContexts=(0,d.WQX)(ao),this.location=(0,d.WQX)(d.c1b),this.changeDetector=(0,d.WQX)(d.gRc),this.inputBinder=(0,d.WQX)(ui,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(s){if(s.name){const{firstChange:o,previousValue:u}=s.name;if(o)return;this.isTrackedInParentContexts(u)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(u)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(s){return this.parentContexts.getContext(s)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const s=this.parentContexts.getContext(this.name);s?.route&&(s.attachRef?this.attach(s.attachRef,s.route):this.activateWith(s.route,s.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new d.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new d.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new d.wOt(4012,!1);this.location.detach();const s=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(s.instance),s}attach(s,o){this.activated=s,this._activatedRoute=o,this.location.insert(s.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(s.instance)}deactivate(){if(this.activated){const s=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(s)}}activateWith(s,o){if(this.isActivated)throw new d.wOt(4013,!1);this._activatedRoute=s;const u=this.location,_=s.snapshot.component,T=this.parentContexts.getOrCreateContext(this.name).children,S=new Wi(s,T,u.injector);this.activated=u.createComponent(_,{index:u.length,injector:S,environmentInjector:o}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.ɵfac=function(o){return new(o||p)};static#t=this.ɵdir=d.FsC({type:p,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[d.OA$]})}return p})();class Wi{__ngOutletInjector(l){return new Wi(this.route,this.childContexts,l)}constructor(l,s,o){this.route=l,this.childContexts=s,this.parent=o}get(l,s){return l===Un?this.route:l===ao?this.childContexts:this.parent.get(l,s)}}const ui=new d.nKC("");let Po=(()=>{class p{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(s){this.unsubscribeFromRouteData(s),this.subscribeToRouteData(s)}unsubscribeFromRouteData(s){this.outletDataSubscriptions.get(s)?.unsubscribe(),this.outletDataSubscriptions.delete(s)}subscribeToRouteData(s){const{activatedRoute:o}=s,u=(0,te.z)([o.queryParams,o.params,o.data]).pipe((0,Ke.n)((([f,_,T],S)=>(T={...f,..._,...T},0===S?(0,K.of)(T):Promise.resolve(T))))).subscribe((f=>{if(!s.isActivated||!s.activatedComponentRef||s.activatedRoute!==o||null===o.component)return void this.unsubscribeFromRouteData(s);const _=(0,d.HJs)(o.component);if(_)for(const{templateName:T}of _.inputs)s.activatedComponentRef.setInput(T,f[T]);else this.unsubscribeFromRouteData(s)}));this.outletDataSubscriptions.set(s,u)}static#e=this.ɵfac=function(o){return new(o||p)};static#t=this.ɵprov=d.jDH({token:p,factory:p.ɵfac})}return p})();function fo(p,l,s){if(s&&p.shouldReuseRoute(l.value,s.value.snapshot)){const o=s.value;o._futureSnapshot=l.value;const u=function gs(p,l,s){return l.children.map((o=>{for(const u of s.children)if(p.shouldReuseRoute(o.value,u.value.snapshot))return fo(p,o,u);return fo(p,o)}))}(p,l,s);return new vr(o,u)}{if(p.shouldAttach(l.value)){const f=p.retrieve(l.value);if(null!==f){const _=f.route;return _.value._futureSnapshot=l.value,_.children=l.children.map((T=>fo(p,T))),_}}const o=function qi(p){return new Un(new ie.t(p.url),new ie.t(p.params),new ie.t(p.queryParams),new ie.t(p.fragment),new ie.t(p.data),p.outlet,p.component,p)}(l.value),u=l.children.map((f=>fo(p,f)));return new vr(o,u)}}class Ao{constructor(l,s){this.redirectTo=l,this.navigationBehaviorOptions=s}}const Me="ngNavigationCancelingError";function Ir(p,l){const{redirectTo:s,navigationBehaviorOptions:o}=vt(l)?{redirectTo:l,navigationBehaviorOptions:void 0}:l,u=Gn(!1,hn.Redirect);return u.url=s,u.navigationBehaviorOptions=o,u}function Gn(p,l){const s=new Error(`NavigationCancelingError: ${p||""}`);return s[Me]=!0,s.cancellationCode=l,s}function Ro(p){return!!p&&p[Me]}class qr{constructor(l,s,o,u,f){this.routeReuseStrategy=l,this.futureState=s,this.currState=o,this.forwardEvent=u,this.inputBindingEnabled=f}activate(l){const s=this.futureState._root,o=this.currState?this.currState._root:null;this.deactivateChildRoutes(s,o,l),Gi(this.futureState.root),this.activateChildRoutes(s,o,l)}deactivateChildRoutes(l,s,o){const u=Ti(s);l.children.forEach((f=>{const _=f.value.outlet;this.deactivateRoutes(f,u[_],o),delete u[_]})),Object.values(u).forEach((f=>{this.deactivateRouteAndItsChildren(f,o)}))}deactivateRoutes(l,s,o){const u=l.value,f=s?s.value:null;if(u===f)if(u.component){const _=o.getContext(u.outlet);_&&this.deactivateChildRoutes(l,s,_.children)}else this.deactivateChildRoutes(l,s,o);else f&&this.deactivateRouteAndItsChildren(s,o)}deactivateRouteAndItsChildren(l,s){l.value.component&&this.routeReuseStrategy.shouldDetach(l.value.snapshot)?this.detachAndStoreRouteSubtree(l,s):this.deactivateRouteAndOutlet(l,s)}detachAndStoreRouteSubtree(l,s){const o=s.getContext(l.value.outlet),u=o&&l.value.component?o.children:s,f=Ti(l);for(const _ of Object.values(f))this.deactivateRouteAndItsChildren(_,u);if(o&&o.outlet){const _=o.outlet.detach(),T=o.children.onOutletDeactivated();this.routeReuseStrategy.store(l.value.snapshot,{componentRef:_,route:l,contexts:T})}}deactivateRouteAndOutlet(l,s){const o=s.getContext(l.value.outlet),u=o&&l.value.component?o.children:s,f=Ti(l);for(const _ of Object.values(f))this.deactivateRouteAndItsChildren(_,u);o&&(o.outlet&&(o.outlet.deactivate(),o.children.onOutletDeactivated()),o.attachRef=null,o.route=null)}activateChildRoutes(l,s,o){const u=Ti(s);l.children.forEach((f=>{this.activateRoutes(f,u[f.value.outlet],o),this.forwardEvent(new sn(f.value.snapshot))})),l.children.length&&this.forwardEvent(new tn(l.value.snapshot))}activateRoutes(l,s,o){const u=l.value,f=s?s.value:null;if(Gi(u),u===f)if(u.component){const _=o.getOrCreateContext(u.outlet);this.activateChildRoutes(l,s,_.children)}else this.activateChildRoutes(l,s,o);else if(u.component){const _=o.getOrCreateContext(u.outlet);if(this.routeReuseStrategy.shouldAttach(u.snapshot)){const T=this.routeReuseStrategy.retrieve(u.snapshot);this.routeReuseStrategy.store(u.snapshot,null),_.children.onOutletReAttached(T.contexts),_.attachRef=T.componentRef,_.route=T.route.value,_.outlet&&_.outlet.attach(T.componentRef,T.route.value),Gi(T.route.value),this.activateChildRoutes(l,null,_.children)}else _.attachRef=null,_.route=u,_.outlet&&_.outlet.activateWith(u,_.injector),this.activateChildRoutes(l,null,_.children)}else this.activateChildRoutes(l,null,o)}}class di{constructor(l){this.path=l,this.route=this.path[this.path.length-1]}}class sr{constructor(l,s){this.component=l,this.route=s}}function Ii(p,l,s){const o=p._root;return Or(o,l?l._root:null,s,[o.value])}function zn(p,l){const s=Symbol(),o=l.get(p,s);return o===s?"function"!=typeof p||(0,d.LfX)(p)?l.get(p):p:o}function Or(p,l,s,o,u={canDeactivateChecks:[],canActivateChecks:[]}){const f=Ti(l);return p.children.forEach((_=>{(function Ki(p,l,s,o,u={canDeactivateChecks:[],canActivateChecks:[]}){const f=p.value,_=l?l.value:null,T=s?s.getContext(p.value.outlet):null;if(_&&f.routeConfig===_.routeConfig){const S=function an(p,l,s){if("function"==typeof s)return s(p,l);switch(s){case"pathParamsChange":return!tt(p.url,l.url);case"pathParamsOrQueryParamsChange":return!tt(p.url,l.url)||!Fn(p.queryParams,l.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ho(p,l)||!Fn(p.queryParams,l.queryParams);default:return!ho(p,l)}}(_,f,f.routeConfig.runGuardsAndResolvers);S?u.canActivateChecks.push(new di(o)):(f.data=_.data,f._resolvedData=_._resolvedData),Or(p,l,f.component?T?T.children:null:s,o,u),S&&T&&T.outlet&&T.outlet.isActivated&&u.canDeactivateChecks.push(new sr(T.outlet.component,_))}else _&&po(l,T,u),u.canActivateChecks.push(new di(o)),Or(p,null,f.component?T?T.children:null:s,o,u)})(_,f[_.value.outlet],s,o.concat([_.value]),u),delete f[_.value.outlet]})),Object.entries(f).forEach((([_,T])=>po(T,s.getContext(_),u))),u}function po(p,l,s){const o=Ti(p),u=p.value;Object.entries(o).forEach((([f,_])=>{po(_,u.component?l?l.children.getContext(f):null:l,s)})),s.canDeactivateChecks.push(new sr(u.component&&l&&l.outlet&&l.outlet.isActivated?l.outlet.component:null,u))}function Qi(p){return"function"==typeof p}function mo(p){return p instanceof we.G||"EmptyError"===p?.name}const He=Symbol("INITIAL_VALUE");function hi(){return(0,Ke.n)((p=>(0,te.z)(p.map((l=>l.pipe((0,rt.s)(1),(0,Dt.Z)(He))))).pipe((0,Ne.T)((l=>{for(const s of l)if(!0!==s){if(s===He)return He;if(!1===s||ar(s))return s}return!0})),(0,It.p)((l=>l!==He)),(0,rt.s)(1))))}function ar(p){return vt(p)||p instanceof Ao}function V(p){return(0,J.F)((0,Je.M)((l=>{if("boolean"!=typeof l)throw Ir(0,l)})),(0,Ne.T)((l=>!0===l)))}class ht{constructor(l){this.segmentGroup=l||null}}class Qt extends Error{constructor(l){super(),this.urlTree=l}}function Fe(p){return(0,z.$)(new ht(p))}class ca{constructor(l,s){this.urlSerializer=l,this.urlTree=s}lineralizeSegments(l,s){let o=[],u=s.root;for(;;){if(o=o.concat(u.segments),0===u.numberOfChildren)return(0,K.of)(o);if(u.numberOfChildren>1||!u.children[Qe])return(0,z.$)(new d.wOt(4e3,!1));u=u.children[Qe]}}applyRedirectCommands(l,s,o,u,f){if("string"!=typeof s){const T=s,{queryParams:S,fragment:L,routeConfig:B,url:he,outlet:ve,params:it,data:Be,title:Le}=u,Ue=(0,d.N4e)(f,(()=>T({params:it,data:Be,queryParams:S,fragment:L,routeConfig:B,url:he,outlet:ve,title:Le})));if(Ue instanceof bn)throw new Qt(Ue);s=Ue}const _=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),l,o);if("/"===s[0])throw new Qt(_);return _}applyRedirectCreateUrlTree(l,s,o,u){const f=this.createSegmentGroup(l,s.root,o,u);return new bn(f,this.createQueryParams(s.queryParams,this.urlTree.queryParams),s.fragment)}createQueryParams(l,s){const o={};return Object.entries(l).forEach((([u,f])=>{if("string"==typeof f&&":"===f[0]){const T=f.substring(1);o[u]=s[T]}else o[u]=f})),o}createSegmentGroup(l,s,o,u){const f=this.createSegments(l,s.segments,o,u);let _={};return Object.entries(s.children).forEach((([T,S])=>{_[T]=this.createSegmentGroup(l,S,o,u)})),new gt(f,_)}createSegments(l,s,o,u){return s.map((f=>":"===f.path[0]?this.findPosParam(l,f,u):this.findOrReturn(f,o)))}findPosParam(l,s,o){const u=o[s.path.substring(1)];if(!u)throw new d.wOt(4001,!1);return u}findOrReturn(l,s){let o=0;for(const u of s){if(u.path===l.path)return s.splice(o),u;o++}return l}}const Hs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Lt(p,l,s,o,u){const f=_s(p,l,s);return f.matched?(o=function Jt(p,l){return p.providers&&!p._injector&&(p._injector=(0,d.Ol2)(p.providers,l,`Route: ${p.path}`)),p._injector??l}(l,o),function Ve(p,l,s,o){const u=l.canMatch;if(!u||0===u.length)return(0,K.of)(!0);const f=u.map((_=>{const T=zn(_,p);return xn(function Qo(p){return p&&Qi(p.canMatch)}(T)?T.canMatch(l,s):(0,d.N4e)(p,(()=>T(l,s))))}));return(0,K.of)(f).pipe(hi(),V())}(o,l,s).pipe((0,Ne.T)((_=>!0===_?f:{...Hs})))):(0,K.of)(f)}function _s(p,l,s){if("**"===l.path)return function Xi(p){return{matched:!0,parameters:p.length>0?xr(p).parameters:{},consumedSegments:p,remainingSegments:[],positionalParamSegments:{}}}(s);if(""===l.path)return"full"===l.pathMatch&&(p.hasChildren()||s.length>0)?{...Hs}:{matched:!0,consumedSegments:[],remainingSegments:s,parameters:{},positionalParamSegments:{}};const u=(l.matcher||un)(s,p,l);if(!u)return{...Hs};const f={};Object.entries(u.posParams??{}).forEach((([T,S])=>{f[T]=S.path}));const _=u.consumed.length>0?{...f,...u.consumed[u.consumed.length-1].parameters}:f;return{matched:!0,consumedSegments:u.consumed,remainingSegments:s.slice(u.consumed.length),parameters:_,positionalParamSegments:u.posParams??{}}}function Xo(p,l,s,o){return s.length>0&&function Gs(p,l,s){return s.some((o=>yo(p,l,o)&&ir(o)!==Qe))}(p,s,o)?{segmentGroup:new gt(l,vs(o,new gt(s,p.children))),slicedSegments:[]}:0===s.length&&function Cs(p,l,s){return s.some((o=>yo(p,l,o)))}(p,s,o)?{segmentGroup:new gt(p.segments,Ba(p,s,o,p.children)),slicedSegments:s}:{segmentGroup:new gt(p.segments,p.children),slicedSegments:s}}function Ba(p,l,s,o){const u={};for(const f of s)if(yo(p,l,f)&&!o[ir(f)]){const _=new gt([],{});u[ir(f)]=_}return{...o,...u}}function vs(p,l){const s={};s[Qe]=l;for(const o of p)if(""===o.path&&ir(o)!==Qe){const u=new gt([],{});s[ir(o)]=u}return s}function yo(p,l,s){return(!(p.hasChildren()||l.length>0)||"full"!==s.pathMatch)&&""===s.path}class Zo{}class ws{constructor(l,s,o,u,f,_,T){this.injector=l,this.configLoader=s,this.rootComponentType=o,this.config=u,this.urlTree=f,this.paramsInheritanceStrategy=_,this.urlSerializer=T,this.applyRedirects=new ca(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(l){return new d.wOt(4002,`'${l.segmentGroup}'`)}recognize(){const l=Xo(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(l).pipe((0,Ne.T)((({children:s,rootSnapshot:o})=>{const u=new vr(o,s),f=new uo("",u),_=function pn(p,l,s=null,o=null){return bi(Sn(p),l,s,o)}(o,[],this.urlTree.queryParams,this.urlTree.fragment);return _.queryParams=this.urlTree.queryParams,f.url=this.urlSerializer.serialize(_),{state:f,tree:_}})))}match(l){const s=new ci([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),Qe,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,l,Qe,s).pipe((0,Ne.T)((o=>({children:o,rootSnapshot:s}))),(0,W.W)((o=>{if(o instanceof Qt)return this.urlTree=o.urlTree,this.match(o.urlTree.root);throw o instanceof ht?this.noMatchError(o):o})))}processSegmentGroup(l,s,o,u,f){return 0===o.segments.length&&o.hasChildren()?this.processChildren(l,s,o,f):this.processSegment(l,s,o,o.segments,u,!0,f).pipe((0,Ne.T)((_=>_ instanceof vr?[_]:[])))}processChildren(l,s,o,u){const f=[];for(const _ of Object.keys(o.children))"primary"===_?f.unshift(_):f.push(_);return(0,G.H)(f).pipe((0,Ht.H)((_=>{const T=o.children[_],S=function Io(p,l){const s=p.filter((o=>ir(o)===l));return s.push(...p.filter((o=>ir(o)!==l))),s}(s,_);return this.processSegmentGroup(l,S,T,_,u)})),(0,me.S)(((_,T)=>(_.push(...T),_))),(0,Xe.U)(null),(0,ne.H)(),(0,ut.Z)((_=>{if(null===_)return Fe(o);const T=Es(_);return function Yo(p){p.sort(((l,s)=>l.value.outlet===Qe?-1:s.value.outlet===Qe?1:l.value.outlet.localeCompare(s.value.outlet)))}(T),(0,K.of)(T)})))}processSegment(l,s,o,u,f,_,T){return(0,G.H)(s).pipe((0,Ht.H)((S=>this.processSegmentAgainstRoute(S._injector??l,s,S,o,u,f,_,T).pipe((0,W.W)((L=>{if(L instanceof ht)return(0,K.of)(null);throw L}))))),(0,pt.$)((S=>!!S)),(0,W.W)((S=>{if(mo(S))return function zs(p,l,s){return 0===l.length&&!p.children[s]}(o,u,f)?(0,K.of)(new Zo):Fe(o);throw S})))}processSegmentAgainstRoute(l,s,o,u,f,_,T,S){return ir(o)===_||_!==Qe&&yo(u,f,o)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(l,u,o,f,_,S):this.allowRedirects&&T?this.expandSegmentAgainstRouteUsingRedirect(l,u,s,o,f,_,S):Fe(u):Fe(u)}expandSegmentAgainstRouteUsingRedirect(l,s,o,u,f,_,T){const{matched:S,parameters:L,consumedSegments:B,positionalParamSegments:he,remainingSegments:ve}=_s(s,u,f);if(!S)return Fe(s);"string"==typeof u.redirectTo&&"/"===u.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const it=new ci(f,L,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ds(u),ir(u),u.component??u._loadedComponent??null,u,$a(u)),Be=li(it,T,this.paramsInheritanceStrategy);it.params=Object.freeze(Be.params),it.data=Object.freeze(Be.data);const Le=this.applyRedirects.applyRedirectCommands(B,u.redirectTo,he,it,l);return this.applyRedirects.lineralizeSegments(u,Le).pipe((0,ut.Z)((Ue=>this.processSegment(l,o,s,Ue.concat(ve),_,!1,T))))}matchSegmentAgainstRoute(l,s,o,u,f,_){const T=Lt(s,o,u,l);return"**"===o.path&&(s.children={}),T.pipe((0,Ke.n)((S=>S.matched?this.getChildConfig(l=o._injector??l,o,u).pipe((0,Ke.n)((({routes:L})=>{const B=o._loadedInjector??l,{parameters:he,consumedSegments:ve,remainingSegments:it}=S,Be=new ci(ve,he,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ds(o),ir(o),o.component??o._loadedComponent??null,o,$a(o)),Le=li(Be,_,this.paramsInheritanceStrategy);Be.params=Object.freeze(Le.params),Be.data=Object.freeze(Le.data);const{segmentGroup:Ue,slicedSegments:Bt}=Xo(s,ve,it,L);if(0===Bt.length&&Ue.hasChildren())return this.processChildren(B,L,Ue,Be).pipe((0,Ne.T)((mn=>new vr(Be,mn))));if(0===L.length&&0===Bt.length)return(0,K.of)(new vr(Be,[]));const On=ir(o)===f;return this.processSegment(B,L,Ue,Bt,On?Qe:f,!0,Be).pipe((0,Ne.T)((mn=>new vr(Be,mn instanceof vr?[mn]:[]))))}))):Fe(s))))}getChildConfig(l,s,o){return s.children?(0,K.of)({routes:s.children,injector:l}):s.loadChildren?void 0!==s._loadedRoutes?(0,K.of)({routes:s._loadedRoutes,injector:s._loadedInjector}):function I(p,l,s,o){const u=l.canLoad;if(void 0===u||0===u.length)return(0,K.of)(!0);const f=u.map((_=>{const T=zn(_,p);return xn(function sa(p){return p&&Qi(p.canLoad)}(T)?T.canLoad(l,s):(0,d.N4e)(p,(()=>T(l,s))))}));return(0,K.of)(f).pipe(hi(),V())}(l,s,o).pipe((0,ut.Z)((u=>u?this.configLoader.loadChildren(l,s).pipe((0,Je.M)((f=>{s._loadedRoutes=f.routes,s._loadedInjector=f.injector}))):function $l(){return(0,z.$)(Gn(!1,hn.GuardRejected))}()))):(0,K.of)({routes:[],injector:l})}}function Zi(p){const l=p.value.routeConfig;return l&&""===l.path}function Es(p){const l=[],s=new Set;for(const o of p){if(!Zi(o)){l.push(o);continue}const u=l.find((f=>o.value.routeConfig===f.value.routeConfig));void 0!==u?(u.children.push(...o.children),s.add(u)):l.push(o)}for(const o of s){const u=Es(o.children);l.push(new vr(o.value,u))}return l.filter((o=>!s.has(o)))}function Ds(p){return p.data||{}}function $a(p){return p.resolve||{}}function Wl(p){const l=p.children.map((s=>Wl(s))).flat();return[p,...l]}function Jo(p){return(0,Ke.n)((l=>{const s=p(l);return s?(0,G.H)(s).pipe((0,Ne.T)((()=>l))):(0,K.of)(l)}))}let da=(()=>{class p{buildTitle(s){let o,u=s.root;for(;void 0!==u;)o=this.getResolvedTitleForRoute(u)??o,u=u.children.find((f=>f.outlet===Qe));return o}getResolvedTitleForRoute(s){return s.data[$n]}static#e=this.ɵfac=function(o){return new(o||p)};static#t=this.ɵprov=d.jDH({token:p,factory:()=>(0,d.WQX)(Oi),providedIn:"root"})}return p})(),Oi=(()=>{class p extends da{constructor(s){super(),this.title=s}updateTitle(s){const o=this.buildTitle(s);void 0!==o&&this.title.setTitle(o)}static#e=this.ɵfac=function(o){return new(o||p)(d.KVO(En.hE))};static#t=this.ɵprov=d.jDH({token:p,factory:p.ɵfac,providedIn:"root"})}return p})();const Pi=new d.nKC("",{providedIn:"root",factory:()=>({})});let qs=(()=>{class p{static#e=this.ɵfac=function(o){return new(o||p)};static#t=this.ɵcmp=d.VBU({type:p,selectors:[["ng-component"]],standalone:!0,features:[d.aNF],decls:1,vars:0,template:function(o,u){1&o&&d.nrm(0,"router-outlet")},dependencies:[or],encapsulation:2})}return p})();function Ye(p){const l=p.children&&p.children.map(Ye),s=l?{...p,children:l}:{...p};return!s.component&&!s.loadComponent&&(l||s.loadChildren)&&s.outlet&&s.outlet!==Qe&&(s.component=qs),s}const Ct=new d.nKC("");let Ha=(()=>{class p{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,d.WQX)(d.Ql9)}loadComponent(s){if(this.componentLoaders.get(s))return this.componentLoaders.get(s);if(s._loadedComponent)return(0,K.of)(s._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(s);const o=xn(s.loadComponent()).pipe((0,Ne.T)(Ql),(0,Je.M)((f=>{this.onLoadEndListener&&this.onLoadEndListener(s),s._loadedComponent=f})),(0,pe.j)((()=>{this.componentLoaders.delete(s)}))),u=new Ae.G(o,(()=>new Te.B)).pipe((0,Re.B)());return this.componentLoaders.set(s,u),u}loadChildren(s,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return(0,K.of)({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);const f=function ql(p,l,s,o){return xn(p.loadChildren()).pipe((0,Ne.T)(Ql),(0,ut.Z)((u=>u instanceof d.Co$||Array.isArray(u)?(0,K.of)(u):(0,G.H)(l.compileModuleAsync(u)))),(0,Ne.T)((u=>{o&&o(p);let f,_,T=!1;return Array.isArray(u)?(_=u,!0):(f=u.create(s).injector,_=f.get(Ct,[],{optional:!0,self:!0}).flat()),{routes:_.map(Ye),injector:f}})))}(o,this.compiler,s,this.onLoadEndListener).pipe((0,pe.j)((()=>{this.childrenLoaders.delete(o)}))),_=new Ae.G(f,(()=>new Te.B)).pipe((0,Re.B)());return this.childrenLoaders.set(o,_),_}static#e=this.ɵfac=function(o){return new(o||p)};static#t=this.ɵprov=d.jDH({token:p,factory:p.ɵfac,providedIn:"root"})}return p})();function Ql(p){return function Kl(p){return p&&"object"==typeof p&&"default"in p}(p)?p.default:p}let Ks=(()=>{class p{static#e=this.ɵfac=function(o){return new(o||p)};static#t=this.ɵprov=d.jDH({token:p,factory:()=>(0,d.WQX)(Qs),providedIn:"root"})}return p})(),Qs=(()=>{class p{shouldProcessUrl(s){return!0}extract(s){return s}merge(s,o){return s}static#e=this.ɵfac=function(o){return new(o||p)};static#t=this.ɵprov=d.jDH({token:p,factory:p.ɵfac,providedIn:"root"})}return p})();const _t=new d.nKC(""),bs=new d.nKC("");function ha(p,l,s){const o=p.get(bs),u=p.get(qe.qQ);return p.get(d.SKi).runOutsideAngular((()=>{if(!u.startViewTransition||o.skipNextTransition)return o.skipNextTransition=!1,new Promise((L=>setTimeout(L)));let f;const _=new Promise((L=>{f=L})),T=u.startViewTransition((()=>(f(),function gn(p){return new Promise((l=>{(0,d.mal)({read:()=>setTimeout(l)},{injector:p})}))}(p)))),{onViewTransitionCreated:S}=o;return S&&(0,d.N4e)(p,(()=>S({transition:T,from:l,to:s}))),_}))}const Xt=new d.nKC("");let Ai=(()=>{class p{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Te.B,this.transitionAbortSubject=new Te.B,this.configLoader=(0,d.WQX)(Ha),this.environmentInjector=(0,d.WQX)(d.uvJ),this.urlSerializer=(0,d.WQX)(Mi),this.rootContexts=(0,d.WQX)(ao),this.location=(0,d.WQX)(qe.aZ),this.inputBindingEnabled=null!==(0,d.WQX)(ui,{optional:!0}),this.titleStrategy=(0,d.WQX)(da),this.options=(0,d.WQX)(Pi,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,d.WQX)(Ks),this.createViewTransition=(0,d.WQX)(_t,{optional:!0}),this.navigationErrorHandler=(0,d.WQX)(Xt,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,K.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=u=>this.events.next(new Ut(u)),this.configLoader.onLoadStartListener=u=>this.events.next(new Vt(u))}complete(){this.transitions?.complete()}handleNavigationRequest(s){const o=++this.navigationId;this.transitions?.next({...this.transitions.value,...s,id:o})}setupNavigations(s,o,u){return this.transitions=new ie.t({id:0,currentUrlTree:o,currentRawUrl:o,extractedUrl:this.urlHandlingStrategy.extract(o),urlAfterRedirects:this.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Tr,restoredState:null,currentSnapshot:u.snapshot,targetSnapshot:null,currentRouterState:u,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,It.p)((f=>0!==f.id)),(0,Ne.T)((f=>({...f,extractedUrl:this.urlHandlingStrategy.extract(f.rawUrl)}))),(0,Ke.n)((f=>{let _=!1,T=!1;return(0,K.of)(f).pipe((0,Ke.n)((S=>{if(this.navigationId>f.id)return this.cancelNavigationTransition(f,"",hn.SupersededByNewNavigation),Se.w;this.currentTransition=f,this.currentNavigation={id:S.id,initialUrl:S.rawUrl,extractedUrl:S.extractedUrl,targetBrowserUrl:"string"==typeof S.extras.browserUrl?this.urlSerializer.parse(S.extras.browserUrl):S.extras.browserUrl,trigger:S.source,extras:S.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const L=!s.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!L&&"reload"!==(S.extras.onSameUrlNavigation??s.onSameUrlNavigation)){const he="";return this.events.next(new F(S.id,this.urlSerializer.serialize(S.rawUrl),he,O.IgnoredSameUrlNavigation)),S.resolve(!1),Se.w}if(this.urlHandlingStrategy.shouldProcessUrl(S.rawUrl))return(0,K.of)(S).pipe((0,Ke.n)((he=>{const ve=this.transitions?.getValue();return this.events.next(new ii(he.id,this.urlSerializer.serialize(he.extractedUrl),he.source,he.restoredState)),ve!==this.transitions?.getValue()?Se.w:Promise.resolve(he)})),function Gl(p,l,s,o,u,f){return(0,ut.Z)((_=>function Ws(p,l,s,o,u,f,_="emptyOnly"){return new ws(p,l,s,o,u,_,f).recognize()}(p,l,s,o,_.extractedUrl,u,f).pipe((0,Ne.T)((({state:T,tree:S})=>({..._,targetSnapshot:T,urlAfterRedirects:S}))))))}(this.environmentInjector,this.configLoader,this.rootComponentType,s.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,Je.M)((he=>{f.targetSnapshot=he.targetSnapshot,f.urlAfterRedirects=he.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:he.urlAfterRedirects};const ve=new ue(he.id,this.urlSerializer.serialize(he.extractedUrl),this.urlSerializer.serialize(he.urlAfterRedirects),he.targetSnapshot);this.events.next(ve)})));if(L&&this.urlHandlingStrategy.shouldProcessUrl(S.currentRawUrl)){const{id:he,extractedUrl:ve,source:it,restoredState:Be,extras:Le}=S,Ue=new ii(he,this.urlSerializer.serialize(ve),it,Be);this.events.next(Ue);const Bt=Wo(this.rootComponentType).snapshot;return this.currentTransition=f={...S,targetSnapshot:Bt,urlAfterRedirects:ve,extras:{...Le,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=ve,(0,K.of)(f)}{const he="";return this.events.next(new F(S.id,this.urlSerializer.serialize(S.extractedUrl),he,O.IgnoredByUrlHandlingStrategy)),S.resolve(!1),Se.w}})),(0,Je.M)((S=>{const L=new ye(S.id,this.urlSerializer.serialize(S.extractedUrl),this.urlSerializer.serialize(S.urlAfterRedirects),S.targetSnapshot);this.events.next(L)})),(0,Ne.T)((S=>(this.currentTransition=f={...S,guards:Ii(S.targetSnapshot,S.currentSnapshot,this.rootContexts)},f))),function aa(p,l){return(0,ut.Z)((s=>{const{targetSnapshot:o,currentSnapshot:u,guards:{canActivateChecks:f,canDeactivateChecks:_}}=s;return 0===_.length&&0===f.length?(0,K.of)({...s,guardsResult:!0}):function $s(p,l,s,o){return(0,G.H)(p).pipe((0,ut.Z)((u=>function y(p,l,s,o,u){const f=l&&l.routeConfig?l.routeConfig.canDeactivate:null;if(!f||0===f.length)return(0,K.of)(!0);const _=f.map((T=>{const S=ai(l)??u,L=zn(T,S);return xn(function ms(p){return p&&Qi(p.canDeactivate)}(L)?L.canDeactivate(p,l,s,o):(0,d.N4e)(S,(()=>L(p,l,s,o)))).pipe((0,pt.$)())}));return(0,K.of)(_).pipe(hi())}(u.component,u.route,s,l,o))),(0,pt.$)((u=>!0!==u),!0))}(_,o,u,p).pipe((0,ut.Z)((T=>T&&function St(p){return"boolean"==typeof p}(T)?function ja(p,l,s,o){return(0,G.H)(l).pipe((0,Ht.H)((u=>(0,ee.x)(function ys(p,l){return null!==p&&l&&l(new Pt(p)),(0,K.of)(!0)}(u.route.parent,o),function Pr(p,l){return null!==p&&l&&l(new zt(p)),(0,K.of)(!0)}(u.route,o),function E(p,l,s){const o=l[l.length-1],f=l.slice(0,l.length-1).reverse().map((_=>function Ko(p){const l=p.routeConfig?p.routeConfig.canActivateChild:null;return l&&0!==l.length?{node:p,guards:l}:null}(_))).filter((_=>null!==_)).map((_=>(0,fe.v)((()=>{const T=_.guards.map((S=>{const L=ai(_.node)??s,B=zn(S,L);return xn(function go(p){return p&&Qi(p.canActivateChild)}(B)?B.canActivateChild(o,p):(0,d.N4e)(L,(()=>B(o,p)))).pipe((0,pt.$)())}));return(0,K.of)(T).pipe(hi())}))));return(0,K.of)(f).pipe(hi())}(p,u.path,s),function w(p,l,s){const o=l.routeConfig?l.routeConfig.canActivate:null;if(!o||0===o.length)return(0,K.of)(!0);const u=o.map((f=>(0,fe.v)((()=>{const _=ai(l)??s,T=zn(f,_);return xn(function In(p){return p&&Qi(p.canActivate)}(T)?T.canActivate(l,p):(0,d.N4e)(_,(()=>T(l,p)))).pipe((0,pt.$)())}))));return(0,K.of)(u).pipe(hi())}(p,u.route,s)))),(0,pt.$)((u=>!0!==u),!0))}(o,f,p,l):(0,K.of)(T))),(0,Ne.T)((T=>({...s,guardsResult:T}))))}))}(this.environmentInjector,(S=>this.events.next(S))),(0,Je.M)((S=>{if(f.guardsResult=S.guardsResult,S.guardsResult&&"boolean"!=typeof S.guardsResult)throw Ir(0,S.guardsResult);const L=new _e(S.id,this.urlSerializer.serialize(S.extractedUrl),this.urlSerializer.serialize(S.urlAfterRedirects),S.targetSnapshot,!!S.guardsResult);this.events.next(L)})),(0,It.p)((S=>!!S.guardsResult||(this.cancelNavigationTransition(S,"",hn.GuardRejected),!1))),Jo((S=>{if(S.guards.canActivateChecks.length)return(0,K.of)(S).pipe((0,Je.M)((L=>{const B=new $e(L.id,this.urlSerializer.serialize(L.extractedUrl),this.urlSerializer.serialize(L.urlAfterRedirects),L.targetSnapshot);this.events.next(B)})),(0,Ke.n)((L=>{let B=!1;return(0,K.of)(L).pipe(function zl(p,l){return(0,ut.Z)((s=>{const{targetSnapshot:o,guards:{canActivateChecks:u}}=s;if(!u.length)return(0,K.of)(s);const f=new Set(u.map((S=>S.route))),_=new Set;for(const S of f)if(!_.has(S))for(const L of Wl(S))_.add(L);let T=0;return(0,G.H)(_).pipe((0,Ht.H)((S=>f.has(S)?function ua(p,l,s,o){const u=p.routeConfig,f=p._resolve;return void 0!==u?.title&&!zi(u)&&(f[$n]=u.title),function xo(p,l,s,o){const u=Nr(p);if(0===u.length)return(0,K.of)({});const f={};return(0,G.H)(u).pipe((0,ut.Z)((_=>function Ms(p,l,s,o){const u=ai(l)??o,f=zn(p,u);return xn(f.resolve?f.resolve(l,s):(0,d.N4e)(u,(()=>f(l,s))))}(p[_],l,s,o).pipe((0,pt.$)(),(0,Je.M)((T=>{if(T instanceof Ao)throw Ir(new ni,T);f[_]=T}))))),(0,q.o)(1),(0,ae.u)(f),(0,W.W)((_=>mo(_)?Se.w:(0,z.$)(_))))}(f,p,l,o).pipe((0,Ne.T)((_=>(p._resolvedData=_,p.data=li(p,p.parent,s).resolve,null))))}(S,o,p,l):(S.data=li(S,S.parent,p).resolve,(0,K.of)(void 0)))),(0,Je.M)((()=>T++)),(0,q.o)(1),(0,ut.Z)((S=>T===_.size?(0,K.of)(s):Se.w)))}))}(this.paramsInheritanceStrategy,this.environmentInjector),(0,Je.M)({next:()=>B=!0,complete:()=>{B||this.cancelNavigationTransition(L,"",hn.NoDataFromResolver)}}))})),(0,Je.M)((L=>{const B=new xe(L.id,this.urlSerializer.serialize(L.extractedUrl),this.urlSerializer.serialize(L.urlAfterRedirects),L.targetSnapshot);this.events.next(B)})))})),Jo((S=>{const L=B=>{const he=[];B.routeConfig?.loadComponent&&!B.routeConfig._loadedComponent&&he.push(this.configLoader.loadComponent(B.routeConfig).pipe((0,Je.M)((ve=>{B.component=ve})),(0,Ne.T)((()=>{}))));for(const ve of B.children)he.push(...L(ve));return he};return(0,te.z)(L(S.targetSnapshot.root)).pipe((0,Xe.U)(null),(0,rt.s)(1))})),Jo((()=>this.afterPreactivation())),(0,Ke.n)((()=>{const{currentSnapshot:S,targetSnapshot:L}=f,B=this.createViewTransition?.(this.environmentInjector,S.root,L.root);return B?(0,G.H)(B).pipe((0,Ne.T)((()=>f))):(0,K.of)(f)})),(0,Ne.T)((S=>{const L=function ps(p,l,s){const o=fo(p,l._root,s?s._root:void 0);return new $i(o,l)}(s.routeReuseStrategy,S.targetSnapshot,S.currentRouterState);return this.currentTransition=f={...S,targetRouterState:L},this.currentNavigation.targetRouterState=L,f})),(0,Je.M)((()=>{this.events.next(new Tt)})),((p,l,s,o)=>(0,Ne.T)((u=>(new qr(l,u.targetRouterState,u.currentRouterState,s,o).activate(p),u))))(this.rootContexts,s.routeReuseStrategy,(S=>this.events.next(S)),this.inputBindingEnabled),(0,rt.s)(1),(0,Je.M)({next:S=>{_=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Cn(S.id,this.urlSerializer.serialize(S.extractedUrl),this.urlSerializer.serialize(S.urlAfterRedirects))),this.titleStrategy?.updateTitle(S.targetRouterState.snapshot),S.resolve(!0)},complete:()=>{_=!0}}),(0,et.Q)(this.transitionAbortSubject.pipe((0,Je.M)((S=>{throw S})))),(0,pe.j)((()=>{!_&&!T&&this.cancelNavigationTransition(f,"",hn.SupersededByNewNavigation),this.currentTransition?.id===f.id&&(this.currentNavigation=null,this.currentTransition=null)})),(0,W.W)((S=>{if(T=!0,Ro(S))this.events.next(new k(f.id,this.urlSerializer.serialize(f.extractedUrl),S.message,S.cancellationCode)),function No(p){return Ro(p)&&vt(p.url)}(S)?this.events.next(new wn(S.url,S.navigationBehaviorOptions)):f.resolve(!1);else{const L=new Z(f.id,this.urlSerializer.serialize(f.extractedUrl),S,f.targetSnapshot??void 0);try{const B=(0,d.N4e)(this.environmentInjector,(()=>this.navigationErrorHandler?.(L)));if(B instanceof Ao){const{message:he,cancellationCode:ve}=Ir(0,B);this.events.next(new k(f.id,this.urlSerializer.serialize(f.extractedUrl),he,ve)),this.events.next(new wn(B.redirectTo,B.navigationBehaviorOptions))}else{this.events.next(L);const he=s.errorHandler(S);f.resolve(!!he)}}catch(B){this.options.resolveNavigationPromiseOnError?f.resolve(!1):f.reject(B)}}return Se.w})))})))}cancelNavigationTransition(s,o,u){const f=new k(s.id,this.urlSerializer.serialize(s.extractedUrl),o,u);this.events.next(f),s.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const s=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),o=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return s.toString()!==o?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static#e=this.ɵfac=function(o){return new(o||p)};static#t=this.ɵprov=d.jDH({token:p,factory:p.ɵfac,providedIn:"root"})}return p})();function _o(p){return p!==Tr}let es=(()=>{class p{static#e=this.ɵfac=function(o){return new(o||p)};static#t=this.ɵprov=d.jDH({token:p,factory:()=>(0,d.WQX)(m),providedIn:"root"})}return p})();class fi{shouldDetach(l){return!1}store(l,s){}shouldAttach(l){return!1}retrieve(l){return null}shouldReuseRoute(l,s){return l.routeConfig===s.routeConfig}}let m=(()=>{class p extends fi{static#e=this.ɵfac=(()=>{let s;return function(u){return(s||(s=d.xGo(p)))(u||p)}})();static#t=this.ɵprov=d.jDH({token:p,factory:p.ɵfac,providedIn:"root"})}return p})(),b=(()=>{class p{static#e=this.ɵfac=function(o){return new(o||p)};static#t=this.ɵprov=d.jDH({token:p,factory:()=>(0,d.WQX)(v),providedIn:"root"})}return p})(),v=(()=>{class p extends b{constructor(){super(...arguments),this.location=(0,d.WQX)(qe.aZ),this.urlSerializer=(0,d.WQX)(Mi),this.options=(0,d.WQX)(Pi,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,d.WQX)(Ks),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new bn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Wo(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.ɵrouterPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(s){return this.location.subscribe((o=>{"popstate"===o.type&&s(o.url,o.state)}))}handleRouterEvent(s,o){if(s instanceof ii)this.stateMemento=this.createStateMemento();else if(s instanceof F)this.rawUrlTree=o.initialUrl;else if(s instanceof ue){if("eager"===this.urlUpdateStrategy&&!o.extras.skipLocationChange){const u=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(o.targetBrowserUrl??u,o)}}else s instanceof Tt?(this.currentUrlTree=o.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl),this.routerState=o.targetRouterState,"deferred"===this.urlUpdateStrategy&&!o.extras.skipLocationChange&&this.setBrowserUrl(o.targetBrowserUrl??this.rawUrlTree,o)):s instanceof k&&(s.code===hn.GuardRejected||s.code===hn.NoDataFromResolver)?this.restoreHistory(o):s instanceof Z?this.restoreHistory(o,!0):s instanceof Cn&&(this.lastSuccessfulId=s.id,this.currentPageId=this.browserPageId)}setBrowserUrl(s,o){const u=s instanceof bn?this.urlSerializer.serialize(s):s;if(this.location.isCurrentPathEqualTo(u)||o.extras.replaceUrl){const _={...o.extras.state,...this.generateNgRouterState(o.id,this.browserPageId)};this.location.replaceState(u,"",_)}else{const f={...o.extras.state,...this.generateNgRouterState(o.id,this.browserPageId+1)};this.location.go(u,"",f)}}restoreHistory(s,o=!1){if("computed"===this.canceledNavigationResolution){const f=this.currentPageId-this.browserPageId;0!==f?this.location.historyGo(f):this.currentUrlTree===s.finalUrl&&0===f&&(this.resetState(s),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(o&&this.resetState(s),this.resetUrlToCurrentUrlTree())}resetState(s){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,s.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(s,o){return"computed"===this.canceledNavigationResolution?{navigationId:s,"ɵrouterPageId":o}:{navigationId:s}}static#e=this.ɵfac=(()=>{let s;return function(u){return(s||(s=d.xGo(p)))(u||p)}})();static#t=this.ɵprov=d.jDH({token:p,factory:p.ɵfac,providedIn:"root"})}return p})();var M=function(p){return p[p.COMPLETE=0]="COMPLETE",p[p.FAILED=1]="FAILED",p[p.REDIRECTING=2]="REDIRECTING",p}(M||{});function A(p,l){p.events.pipe((0,It.p)((s=>s instanceof Cn||s instanceof k||s instanceof Z||s instanceof F)),(0,Ne.T)((s=>s instanceof Cn||s instanceof F?M.COMPLETE:s instanceof k&&(s.code===hn.Redirect||s.code===hn.SupersededByNewNavigation)?M.REDIRECTING:M.FAILED)),(0,It.p)((s=>s!==M.REDIRECTING)),(0,rt.s)(1)).subscribe((()=>{l()}))}function X(p){throw p}const de={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ie={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let wt=(()=>{class p{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=(0,d.WQX)(d.H3F),this.stateManager=(0,d.WQX)(b),this.options=(0,d.WQX)(Pi,{optional:!0})||{},this.pendingTasks=(0,d.WQX)(d.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,d.WQX)(Ai),this.urlSerializer=(0,d.WQX)(Mi),this.location=(0,d.WQX)(qe.aZ),this.urlHandlingStrategy=(0,d.WQX)(Ks),this._events=new Te.B,this.errorHandler=this.options.errorHandler||X,this.navigated=!1,this.routeReuseStrategy=(0,d.WQX)(es),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,d.WQX)(Ct,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,d.WQX)(ui,{optional:!0}),this.eventsSubscription=new Pe.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:s=>{this.console.warn(s)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const s=this.navigationTransitions.events.subscribe((o=>{try{const u=this.navigationTransitions.currentTransition,f=this.navigationTransitions.currentNavigation;if(null!==u&&null!==f)if(this.stateManager.handleRouterEvent(o,f),o instanceof k&&o.code!==hn.Redirect&&o.code!==hn.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof Cn)this.navigated=!0;else if(o instanceof wn){const _=o.navigationBehaviorOptions,T=this.urlHandlingStrategy.merge(o.url,u.currentRawUrl),S={browserUrl:u.extras.browserUrl,info:u.extras.info,skipLocationChange:u.extras.skipLocationChange,replaceUrl:u.extras.replaceUrl||"eager"===this.urlUpdateStrategy||_o(u.source),..._};this.scheduleNavigation(T,Tr,null,S,{resolve:u.resolve,reject:u.reject,promise:u.promise})}(function jt(p){return!(p instanceof Tt||p instanceof wn)})(o)&&this._events.next(o)}catch(u){this.navigationTransitions.transitionAbortSubject.next(u)}}));this.eventsSubscription.add(s)}resetRootComponentType(s){this.routerState.root.component=s,this.navigationTransitions.rootComponentType=s}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Tr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener(((s,o)=>{setTimeout((()=>{this.navigateToSyncWithBrowser(s,"popstate",o)}),0)}))}navigateToSyncWithBrowser(s,o,u){const f={replaceUrl:!0},_=u?.navigationId?u:null;if(u){const S={...u};delete S.navigationId,delete S.ɵrouterPageId,0!==Object.keys(S).length&&(f.state=S)}const T=this.parseUrl(s);this.scheduleNavigation(T,o,_,f)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(s){this.config=s.map(Ye),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(s,o={}){const{relativeTo:u,queryParams:f,fragment:_,queryParamsHandling:T,preserveFragment:S}=o,L=S?this.currentUrlTree.fragment:_;let he,B=null;switch(T??this.options.defaultQueryParamsHandling){case"merge":B={...this.currentUrlTree.queryParams,...f};break;case"preserve":B=this.currentUrlTree.queryParams;break;default:B=f||null}null!==B&&(B=this.removeEmptyProps(B));try{he=Sn(u?u.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof s[0]||"/"!==s[0][0])&&(s=[]),he=this.currentUrlTree.root}return bi(he,s,B,L??null)}navigateByUrl(s,o={skipLocationChange:!1}){const u=vt(s)?s:this.parseUrl(s),f=this.urlHandlingStrategy.merge(u,this.rawUrlTree);return this.scheduleNavigation(f,Tr,null,o)}navigate(s,o={skipLocationChange:!1}){return function ct(p){for(let l=0;l<p.length;l++)if(null==p[l])throw new d.wOt(4008,!1)}(s),this.navigateByUrl(this.createUrlTree(s,o),o)}serializeUrl(s){return this.urlSerializer.serialize(s)}parseUrl(s){try{return this.urlSerializer.parse(s)}catch{return this.urlSerializer.parse("/")}}isActive(s,o){let u;if(u=!0===o?{...de}:!1===o?{...Ie}:o,vt(s))return Dn(this.currentUrlTree,s,u);const f=this.parseUrl(s);return Dn(this.currentUrlTree,f,u)}removeEmptyProps(s){return Object.entries(s).reduce(((o,[u,f])=>(null!=f&&(o[u]=f),o)),{})}scheduleNavigation(s,o,u,f,_){if(this.disposed)return Promise.resolve(!1);let T,S,L;_?(T=_.resolve,S=_.reject,L=_.promise):L=new Promise(((he,ve)=>{T=he,S=ve}));const B=this.pendingTasks.add();return A(this,(()=>{queueMicrotask((()=>this.pendingTasks.remove(B)))})),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:u,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:s,extras:f,resolve:T,reject:S,promise:L,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),L.catch((he=>Promise.reject(he)))}static#e=this.ɵfac=function(o){return new(o||p)};static#t=this.ɵprov=d.jDH({token:p,factory:p.ɵfac,providedIn:"root"})}return p})(),ge=(()=>{class p{constructor(s,o,u,f,_,T){this.router=s,this.route=o,this.tabIndexAttribute=u,this.renderer=f,this.el=_,this.locationStrategy=T,this.href=null,this.onChanges=new Te.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const S=_.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===S||"area"===S,this.isAnchorElement?this.subscription=s.events.subscribe((L=>{L instanceof Cn&&this.updateHref()})):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(s){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",s)}ngOnChanges(s){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(s){null==s?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=vt(s)||Array.isArray(s)?s:[s],this.setTabIndexIfNotOnNativeEl("0"))}onClick(s,o,u,f,_){const T=this.urlTree;return!!(null===T||this.isAnchorElement&&(0!==s||o||u||f||_||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(T,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const s=this.urlTree;this.href=null!==s&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(s)):null;const o=null===this.href?null:(0,d.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",o)}applyAttributeValue(s,o){const u=this.renderer,f=this.el.nativeElement;null!==o?u.setAttribute(f,s,o):u.removeAttribute(f,s)}get urlTree(){return null===this.routerLinkInput?null:vt(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.ɵfac=function(o){return new(o||p)(d.rXU(wt),d.rXU(Un),d.kS0("tabindex"),d.rXU(d.sFG),d.rXU(d.aKT),d.rXU(qe.hb))};static#t=this.ɵdir=d.FsC({type:p,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(o,u){1&o&&d.bIt("click",(function(_){return u.onClick(_.button,_.ctrlKey,_.shiftKey,_.altKey,_.metaKey)})),2&o&&d.BMQ("target",u.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",d.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",d.L39],replaceUrl:[2,"replaceUrl","replaceUrl",d.L39],routerLink:"routerLink"},standalone:!0,features:[d.GFd,d.OA$]})}return p})();class ln{}let vo=(()=>{class p{constructor(s,o,u,f,_){this.router=s,this.injector=u,this.preloadingStrategy=f,this.loader=_}setUpPreloading(){this.subscription=this.router.events.pipe((0,It.p)((s=>s instanceof Cn)),(0,Ht.H)((()=>this.preload()))).subscribe((()=>{}))}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(s,o){const u=[];for(const f of o){f.providers&&!f._injector&&(f._injector=(0,d.Ol2)(f.providers,s,`Route: ${f.path}`));const _=f._injector??s,T=f._loadedInjector??_;(f.loadChildren&&!f._loadedRoutes&&void 0===f.canLoad||f.loadComponent&&!f._loadedComponent)&&u.push(this.preloadConfig(_,f)),(f.children||f._loadedRoutes)&&u.push(this.processRoutes(T,f.children??f._loadedRoutes))}return(0,G.H)(u).pipe((0,Gt.U)())}preloadConfig(s,o){return this.preloadingStrategy.preload(o,(()=>{let u;u=o.loadChildren&&void 0===o.canLoad?this.loader.loadChildren(s,o):(0,K.of)(null);const f=u.pipe((0,ut.Z)((_=>null===_?(0,K.of)(void 0):(o._loadedRoutes=_.routes,o._loadedInjector=_.injector,this.processRoutes(_.injector??s,_.routes)))));if(o.loadComponent&&!o._loadedComponent){const _=this.loader.loadComponent(o);return(0,G.H)([f,_]).pipe((0,Gt.U)())}return f}))}static#e=this.ɵfac=function(o){return new(o||p)(d.KVO(wt),d.KVO(d.Ql9),d.KVO(d.uvJ),d.KVO(ln),d.KVO(Ha))};static#t=this.ɵprov=d.jDH({token:p,factory:p.ɵfac,providedIn:"root"})}return p})();const gi=new d.nKC("");let Kr=(()=>{class p{constructor(s,o,u,f,_={}){this.urlSerializer=s,this.transitions=o,this.viewportScroller=u,this.zone=f,this.options=_,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},_.scrollPositionRestoration||="disabled",_.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((s=>{s instanceof ii?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=s.navigationTrigger,this.restoredId=s.restoredState?s.restoredState.navigationId:0):s instanceof Cn?(this.lastId=s.id,this.scheduleScrollEvent(s,this.urlSerializer.parse(s.urlAfterRedirects).fragment)):s instanceof F&&s.code===O.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(s,this.urlSerializer.parse(s.url).fragment))}))}consumeScrollEvents(){return this.transitions.events.subscribe((s=>{s instanceof bt&&(s.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(s.position):s.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(s.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))}))}scheduleScrollEvent(s,o){this.zone.runOutsideAngular((()=>{setTimeout((()=>{this.zone.run((()=>{this.transitions.events.next(new bt(s,"popstate"===this.lastSource?this.store[this.restoredId]:null,o))}))}),0)}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.ɵfac=function(o){d.QTQ()};static#t=this.ɵprov=d.jDH({token:p,factory:p.ɵfac})}return p})();function Ar(p,l){return{"ɵkind":p,"ɵproviders":l}}function Ts(){const p=(0,d.WQX)(d.zZn);return l=>{const s=p.get(d.o8S);if(l!==s.components[0])return;const o=p.get(wt),u=p.get(ts);1===p.get(Bn)&&o.initialNavigation(),p.get(Zl,null,d.$GK.Optional)?.setUpPreloading(),p.get(gi,null,d.$GK.Optional)?.init(),o.resetRootComponentType(s.componentTypes[0]),u.closed||(u.next(),u.complete(),u.unsubscribe())}}const ts=new d.nKC("",{factory:()=>new Te.B}),Bn=new d.nKC("",{providedIn:"root",factory:()=>1}),Zl=new d.nKC("");function jr(p){return Ar(0,[{provide:Zl,useExisting:vo},{provide:ln,useExisting:p}])}function Yi(p){return Ar(9,[{provide:_t,useValue:ha},{provide:bs,useValue:{skipNextTransition:!!p?.skipInitialTransition,...p}}])}const yi=new d.nKC("ROUTER_FORROOT_GUARD"),Jl=[qe.aZ,{provide:Mi,useClass:ni},wt,ao,{provide:Un,useFactory:function Qr(p){return p.routerState.root},deps:[wt]},Ha,[]];let ga=(()=>{class p{constructor(s){}static forRoot(s,o){return{ngModule:p,providers:[Jl,[],{provide:Ct,multi:!0,useValue:s},{provide:yi,useFactory:Ji,deps:[[wt,new d.Xx1,new d.kdw]]},{provide:Pi,useValue:o||{}},o?.useHash?{provide:qe.hb,useClass:qe.fw}:{provide:qe.hb,useClass:qe.Sm},{provide:gi,useFactory:()=>{const p=(0,d.WQX)(qe.Xr),l=(0,d.WQX)(d.SKi),s=(0,d.WQX)(Pi),o=(0,d.WQX)(Ai),u=(0,d.WQX)(Mi);return s.scrollOffset&&p.setOffset(s.scrollOffset),new Kr(u,o,p,l,s)}},o?.preloadingStrategy?jr(o.preloadingStrategy).ɵproviders:[],o?.initialNavigation?_a(o):[],o?.bindToComponentInputs?Ar(8,[Po,{provide:ui,useExisting:Po}]).ɵproviders:[],o?.enableViewTransitions?Yi().ɵproviders:[],[{provide:Os,useFactory:Ts},{provide:d.iLQ,multi:!0,useExisting:Os}]]}}static forChild(s){return{ngModule:p,providers:[{provide:Ct,multi:!0,useValue:s}]}}static#e=this.ɵfac=function(o){return new(o||p)(d.KVO(yi,8))};static#t=this.ɵmod=d.$C({type:p});static#n=this.ɵinj=d.G2t({})}return p})();function Ji(p){return"guarded"}function _a(p){return["disabled"===p.initialNavigation?Ar(3,[{provide:d.hnV,multi:!0,useFactory:()=>{const l=(0,d.WQX)(wt);return()=>{l.setUpLocationChangeListener()}}},{provide:Bn,useValue:2}]).ɵproviders:[],"enabledBlocking"===p.initialNavigation?Ar(2,[{provide:Bn,useValue:0},{provide:d.hnV,multi:!0,deps:[d.zZn],useFactory:l=>{const s=l.get(qe.hj,Promise.resolve());return()=>s.then((()=>new Promise((o=>{const u=l.get(wt),f=l.get(ts);A(u,(()=>{o(!0)})),l.get(Ai).afterPreactivation=()=>(o(!0),f.closed?(0,K.of)(void 0):f),u.initialNavigation()}))))}}]).ɵproviders:[]]}const Os=new d.nKC("")},4355:(qt,oe,$)=>{$.d(oe,{gB:()=>ne});var d=$(3953),x=$(1562),G=$(6354),K=$(7343),ie=$(6884);const J={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 z{constructor(ae){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=ae.protocol;let pe=ae.port;pe||(function te(q){return/^https:$/i.test(q)}(this.protocol)?pe="443":function we(q){return/^http:$/i.test(q)}(this.protocol)&&(pe="80")),this.domain=ae.hostname,this.port=parseInt(pe,10),this.path=ae.pathname;const Re=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?J[2087]:/^cpanel\./.test(this.domain)?J[2083]:/^webmail\./.test(this.domain)?J[2095]:J[pe.toString()]||J[Re[2]]||"whostmgr",this.securityToken=Re[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 et=this.securityToken+"/";this.isUnprotected?et="/":this.isCpanel?et+="frontend/"+this.theme+"/":this.isWebmail?et+="webmail/"+this.theme+"/":this.isOther&&(et="/"),this.themePath=et,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 ee(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 Se{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 Ae=$(9261),Te=$.n(Ae),Pe=$(5972),qe=$.n(Pe),Ne=function(q){return q[q.Error=0]="Error",q[q.Warning=1]="Warning",q[q.Information=2]="Information",q[q.Unknown=3]="Unknown",q}(Ne||{});const Ke={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class Dt{constructor(ae,pe){if(this.status=0,this.messages=[],this.meta=function rt(q){return JSON.parse(JSON.stringify(q))}(Ke),this.options={keepUnprocessedResponse:!1},Te()(ae)||qe()(ae))throw new Error("The response was unexpectedly undefined or null");pe&&(this.options=pe),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((pe=>pe.type===ae))}get errors(){return this._getMessages(Ne.Error)}get warnings(){return this._getMessages(Ne.Warning)}get infoMessages(){return this._getMessages(Ne.Information)}_hasMessages(ae){return this.messages.filter((pe=>pe.type===ae)).length>0}get hasErrors(){return this._hasMessages(Ne.Error)}get hasWarnings(){return this._hasMessages(Ne.Warning)}get hasInfoMessages(){return this._hasMessages(Ne.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}class It{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 pe=new Set(["paginate","filter"]);Object.keys(ae).filter((Re=>!pe.has(Re))).forEach((Re=>{this.properties[Re]=ae[Re]}))}}class ut extends Dt{_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 pe=[ae.reason];pe&&pe.length&&pe.forEach((Re=>{this.messages.push({type:Ne.Error,message:Re})}))}}_reduce_list_data(ae){if("object"==typeof ae&&!(ae instanceof Array)){const pe=Object.keys(ae);if(1===pe.length){const Re=ae[pe[0]];Re?Re instanceof Array&&(ae=Re):ae=[]}}return ae}constructor(ae,pe){if(super(ae,pe),!ae)throw new Error("Response object should be defined.");ae.metadata&&(this._parseStatus(ae.metadata),this._parseMessages(ae.metadata),this.meta=new It(ae.metadata)),this.data=this._reduce_list_data(ae.data)}}let ne=(()=>{class q{constructor(pe){this.http=pe}get(pe){const Re=pe.generate({verb:K.o.GET,encoder:new ie.CY}),et=this.packageUrl(Re);return this.http.get(et,{headers:this.packageHeaders(Re)}).pipe((0,G.T)(this.packageResponseHandler(et)))}post(pe){const Re=pe.generate(),et=this.packageUrl(Re);return this.http.post(et,Re.body,{headers:this.packageHeaders(Re)}).pipe((0,G.T)(this.packageResponseHandler(et)))}packageHeaders(pe){const Re={};return pe.headers.forEach((et=>{Re[et.name]=et.value})),new x.Lr(Re)}packageUrl(pe){return new z(new Se).buildTokenPath(pe.url)}packageResponseHandler(pe){return Re=>{const et=new ut(Re);return et.meta.properties.url=pe,et}}static#e=this.ɵfac=function(Re){return new(Re||q)(d.KVO(x.Qq))};static#t=this.ɵprov=d.jDH({token:q,factory:q.ɵfac,providedIn:"root"})}return q})()},8658:(qt,oe,$)=>{$.d(oe,{B:()=>ie});var d=$(3953),x=$(6381);const G=new d.nKC("window"),K=te=>new x.h(te.CLDR,te.LEXICON);let ie=(()=>{class te{static#e=this.ɵfac=function(fe){return new(fe||te)};static#t=this.ɵmod=d.$C({type:te});static#n=this.ɵinj=d.G2t({providers:[{provide:G,useValue:window},{provide:x.h,useFactory:K,deps:[G]}]})}return te})()},389:(qt,oe,$)=>{$.d(oe,{C7:()=>Qr,pt:()=>Ar,kj:()=>Vr,Ab:()=>Zl,sb:()=>jr,Zi:()=>es,uE:()=>_o,GV:()=>pi,jM:()=>vo,br:()=>Wa,Qg:()=>Xs,eK:()=>ec,x6:()=>tc,Sy:()=>Ga,tq:()=>Is,Jr:()=>fa,pv:()=>mi,CK:()=>Ur,ho:()=>Ss});var d=$(3953),x=$(177),G=$(1413),K=$(5964),ie=$(6977),te=$(152),we=$(3294),ee=$(9417),fe=$(8658),J=$(6381),z=$(9969),Se=$(345);function Te(l){return new d.wOt(3e3,!1)}function kn(l){switch(l.length){case 0:return new z.sf;case 1:return l[0];default:return new z.ui(l)}}function Mn(l,s,o=new Map,u=new Map){const f=[],_=[];let T=-1,S=null;if(s.forEach((L=>{const B=L.get("offset"),he=B==T,ve=he&&S||new Map;L.forEach(((it,Be)=>{let Le=Be,Ue=it;if("offset"!==Be)switch(Le=l.normalizePropertyName(Le,f),Ue){case z.FX:Ue=o.get(Be);break;case z.kp:Ue=u.get(Be);break;default:Ue=l.normalizeStyleValue(Be,Le,Ue,f)}ve.set(Le,Ue)})),he||_.push(ve),S=ve,T=B})),f.length)throw function $n(){return new d.wOt(3502,!1)}();return _}function dr(l,s,o,u){switch(s){case"start":l.onStart((()=>u(o&&Ln(o,"start",l))));break;case"done":l.onDone((()=>u(o&&Ln(o,"done",l))));break;case"destroy":l.onDestroy((()=>u(o&&Ln(o,"destroy",l))))}}function Ln(l,s,o){const _=hr(l.element,l.triggerName,l.fromState,l.toState,s||l.phaseName,o.totalTime??l.totalTime,!!o.disabled),T=l._data;return null!=T&&(_._data=T),_}function hr(l,s,o,u,f="",_=0,T){return{element:l,triggerName:s,fromState:o,toState:u,phaseName:f,totalTime:_,disabled:!!T}}function Kt(l,s,o){let u=l.get(s);return u||l.set(s,u=o),u}function bn(l){const s=l.indexOf(":");return[l.substring(1,s),l.slice(s+1)]}const gt=typeof document>"u"?null:document.documentElement;function Hn(l){const s=l.parentNode||l.host||null;return s===gt?null:s}let tt=null,Ce=!1;function gr(l,s){for(;s;){if(s===l)return!0;s=Hn(s)}return!1}function fn(l,s,o){if(o)return Array.from(l.querySelectorAll(s));const u=l.querySelector(s);return u?[u]:[]}let xt=(()=>{class l{validateStyleProperty(o){return function Mi(l){tt||(tt=function pr(){return typeof document<"u"?document.body:null}()||{},Ce=!!tt.style&&"WebkitAppearance"in tt.style);let s=!0;return tt.style&&!function fr(l){return"ebkit"==l.substring(1,6)}(l)&&(s=l in tt.style,!s&&Ce&&(s="Webkit"+l.charAt(0).toUpperCase()+l.slice(1)in tt.style)),s}(o)}containsElement(o,u){return gr(o,u)}getParentElement(o){return Hn(o)}query(o,u,f){return fn(o,u,f)}computeStyle(o,u,f){return f||""}animate(o,u,f,_,T,S=[],L){return new z.sf(f,_)}static#e=this.ɵfac=function(u){return new(u||l)};static#t=this.ɵprov=d.jDH({token:l,factory:l.ɵfac})}return l})();class Ui{static#e=this.NOOP=new xt}class dt{}const ri=1e3,mr="ng-enter",Jn="ng-leave",dn="ng-trigger",Vn=".ng-trigger",Y="ng-animating",Q=".ng-animating";function N(l){if("number"==typeof l)return l;const s=l.match(/^(-?[\.\d]+)(m?s)/);return!s||s.length<2?0:j(parseFloat(s[1]),s[2])}function j(l,s){return"s"===s?l*ri:l}function se(l,s,o){return l.hasOwnProperty("duration")?l:function Oe(l,s,o){let f,_=0,T="";if("string"==typeof l){const S=l.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===S)return s.push(Te()),{duration:0,delay:0,easing:""};f=j(parseFloat(S[1]),S[2]);const L=S[3];null!=L&&(_=j(parseFloat(L),S[4]));const B=S[5];B&&(T=B)}else f=l;if(!o){let S=!1,L=s.length;f<0&&(s.push(function Pe(){return new d.wOt(3100,!1)}()),S=!0),_<0&&(s.push(function qe(){return new d.wOt(3101,!1)}()),S=!0),S&&s.splice(L,0,Te())}return{duration:f,delay:_,easing:T}}(l,s,o)}function Mt(l,s,o){s.forEach(((u,f)=>{const _=Do(f);o&&!o.has(f)&&o.set(f,l.style[_]),l.style[_]=u}))}function vt(l,s){s.forEach(((o,u)=>{const f=Do(u);l.style[f]=""}))}function pn(l){return Array.isArray(l)?1==l.length?l[0]:(0,z.K2)(l):l}const bi=new RegExp("{{\\s*(.+?)\\s*}}","g");function zr(l){let s=[];if("string"==typeof l){let o;for(;o=bi.exec(l);)s.push(o[1]);bi.lastIndex=0}return s}function yr(l,s,o){const u=`${l}`,f=u.replace(bi,((_,T)=>{let S=s[T];return null==S&&(o.push(function Ke(){return new d.wOt(3003,!1)}()),S=""),S.toString()}));return f==u?l:f}const ji=/-+([a-z0-9])/g;function Do(l){return l.replace(ji,((...s)=>s[1].toUpperCase()))}function rn(l,s,o){switch(s.type){case z.If.Trigger:return l.visitTrigger(s,o);case z.If.State:return l.visitState(s,o);case z.If.Transition:return l.visitTransition(s,o);case z.If.Sequence:return l.visitSequence(s,o);case z.If.Group:return l.visitGroup(s,o);case z.If.Animate:return l.visitAnimate(s,o);case z.If.Keyframes:return l.visitKeyframes(s,o);case z.If.Style:return l.visitStyle(s,o);case z.If.Reference:return l.visitReference(s,o);case z.If.AnimateChild:return l.visitAnimateChild(s,o);case z.If.AnimateRef:return l.visitAnimateRef(s,o);case z.If.Query:return l.visitQuery(s,o);case z.If.Stagger:return l.visitStagger(s,o);default:throw function rt(){return new d.wOt(3004,!1)}()}}function tr(l,s){return window.getComputedStyle(l)[s]}const Fr=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 kr extends dt{normalizePropertyName(s,o){return Do(s)}normalizeStyleValue(s,o,u,f){let _="";const T=u.toString().trim();if(Fr.has(o)&&0!==u&&"0"!==u)if("number"==typeof u)_="px";else{const S=u.match(/^[+-]?[\d\.]+([a-z]*)$/);S&&0==S[1].length&&f.push(function Dt(){return new d.wOt(3005,!1)}())}return T+_}}const Tr="*";const Cn=new Set(["true","1"]),hn=new Set(["false","0"]);function O(l,s){const o=Cn.has(l)||hn.has(l),u=Cn.has(s)||hn.has(s);return(f,_)=>{let T=l==Tr||l==f,S=s==Tr||s==_;return!T&&o&&"boolean"==typeof f&&(T=f?Cn.has(l):hn.has(l)),!S&&u&&"boolean"==typeof _&&(S=_?Cn.has(s):hn.has(s)),T&&S}}const k=":self",F=new RegExp(`s*${k}s*,?`,"g");function Z(l,s,o,u){return new ye(l).build(s,o,u)}class ye{constructor(s){this._driver=s}build(s,o,u){const f=new xe(o);return this._resetContextStyleTimingState(f),rn(this,pn(s),f)}_resetContextStyleTimingState(s){s.currentQuerySelector="",s.collectedStyles=new Map,s.collectedStyles.set("",new Map),s.currentTime=0}visitTrigger(s,o){let u=o.queryCount=0,f=o.depCount=0;const _=[],T=[];return"@"==s.name.charAt(0)&&o.errors.push(function It(){return new d.wOt(3006,!1)}()),s.definitions.forEach((S=>{if(this._resetContextStyleTimingState(o),S.type==z.If.State){const L=S,B=L.name;B.toString().split(/\s*,\s*/).forEach((he=>{L.name=he,_.push(this.visitState(L,o))})),L.name=B}else if(S.type==z.If.Transition){const L=this.visitTransition(S,o);u+=L.queryCount,f+=L.depCount,T.push(L)}else o.errors.push(function ut(){return new d.wOt(3007,!1)}())})),{type:z.If.Trigger,name:s.name,states:_,transitions:T,queryCount:u,depCount:f,options:null}}visitState(s,o){const u=this.visitStyle(s.styles,o),f=s.options&&s.options.params||null;if(u.containsDynamicStyles){const _=new Set,T=f||{};u.styles.forEach((S=>{S instanceof Map&&S.forEach((L=>{zr(L).forEach((B=>{T.hasOwnProperty(B)||_.add(B)}))}))})),_.size&&o.errors.push(function pt(){return new d.wOt(3008,!1)}(0,_.values()))}return{type:z.If.State,name:s.name,style:u,options:f?{params:f}:null}}visitTransition(s,o){o.queryCount=0,o.depCount=0;const u=rn(this,pn(s.animation),o),f=function lt(l,s){const o=[];return"string"==typeof l?l.split(/\s*,\s*/).forEach((u=>function on(l,s,o){if(":"==l[0]){const L=function ii(l,s){switch(l){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(o,u)=>parseFloat(u)>parseFloat(o);case":decrement":return(o,u)=>parseFloat(u)<parseFloat(o);default:return s.push(function et(){return new d.wOt(3016,!1)}()),"* => *"}}(l,o);if("function"==typeof L)return void s.push(L);l=L}const u=l.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==u||u.length<4)return o.push(function Re(){return new d.wOt(3015,!1)}()),s;const f=u[1],_=u[2],T=u[3];s.push(O(f,T)),"<"==_[0]&&(f!=Tr||T!=Tr)&&s.push(O(T,f))}(u,o,s))):o.push(l),o}(s.expr,o.errors);return{type:z.If.Transition,matchers:f,animation:u,queryCount:o.queryCount,depCount:o.depCount,options:Pt(s.options)}}visitSequence(s,o){return{type:z.If.Sequence,steps:s.steps.map((u=>rn(this,u,o))),options:Pt(s.options)}}visitGroup(s,o){const u=o.currentTime;let f=0;const _=s.steps.map((T=>{o.currentTime=u;const S=rn(this,T,o);return f=Math.max(f,o.currentTime),S}));return o.currentTime=f,{type:z.If.Group,steps:_,options:Pt(s.options)}}visitAnimate(s,o){const u=function Ut(l,s){if(l.hasOwnProperty("duration"))return l;if("number"==typeof l)return tn(se(l,s).duration,0,"");const o=l;if(o.split(/\s+/).some((_=>"{"==_.charAt(0)&&"{"==_.charAt(1)))){const _=tn(0,0,"");return _.dynamic=!0,_.strValue=o,_}const f=se(o,s);return tn(f.duration,f.delay,f.easing)}(s.timings,o.errors);o.currentAnimateTimings=u;let f,_=s.styles?s.styles:(0,z.iF)({});if(_.type==z.If.Keyframes)f=this.visitKeyframes(_,o);else{let T=s.styles,S=!1;if(!T){S=!0;const B={};u.easing&&(B.easing=u.easing),T=(0,z.iF)(B)}o.currentTime+=u.duration+u.delay;const L=this.visitStyle(T,o);L.isEmptyStep=S,f=L}return o.currentAnimateTimings=null,{type:z.If.Animate,timings:u,style:f,options:null}}visitStyle(s,o){const u=this._makeStyleAst(s,o);return this._validateStyleAst(u,o),u}_makeStyleAst(s,o){const u=[],f=Array.isArray(s.styles)?s.styles:[s.styles];for(let S of f)"string"==typeof S?S===z.kp?u.push(S):o.errors.push(new d.wOt(3002,!1)):u.push(new Map(Object.entries(S)));let _=!1,T=null;return u.forEach((S=>{if(S instanceof Map&&(S.has("easing")&&(T=S.get("easing"),S.delete("easing")),!_))for(let L of S.values())if(L.toString().indexOf("{{")>=0){_=!0;break}})),{type:z.If.Style,styles:u,easing:T,offset:s.offset,containsDynamicStyles:_,options:null}}_validateStyleAst(s,o){const u=o.currentAnimateTimings;let f=o.currentTime,_=o.currentTime;u&&_>0&&(_-=u.duration+u.delay),s.styles.forEach((T=>{"string"!=typeof T&&T.forEach(((S,L)=>{const B=o.collectedStyles.get(o.currentQuerySelector),he=B.get(L);let ve=!0;he&&(_!=f&&_>=he.startTime&&f<=he.endTime&&(o.errors.push(function W(){return new d.wOt(3010,!1)}()),ve=!1),_=he.startTime),ve&&B.set(L,{startTime:_,endTime:f}),o.options&&function Sn(l,s,o){const u=s.params||{},f=zr(l);f.length&&f.forEach((_=>{u.hasOwnProperty(_)||o.push(function Ne(){return new d.wOt(3001,!1)}())}))}(S,o.options,o.errors)}))}))}visitKeyframes(s,o){const u={type:z.If.Keyframes,styles:[],options:null};if(!o.currentAnimateTimings)return o.errors.push(function me(){return new d.wOt(3011,!1)}()),u;let _=0;const T=[];let S=!1,L=!1,B=0;const he=s.steps.map((On=>{const mn=this._makeStyleAst(On,o);let ze=null!=mn.offset?mn.offset:function Vt(l){if("string"==typeof l)return null;let s=null;if(Array.isArray(l))l.forEach((o=>{if(o instanceof Map&&o.has("offset")){const u=o;s=parseFloat(u.get("offset")),u.delete("offset")}}));else if(l instanceof Map&&l.has("offset")){const o=l;s=parseFloat(o.get("offset")),o.delete("offset")}return s}(mn.styles),At=0;return null!=ze&&(_++,At=mn.offset=ze),L=L||At<0||At>1,S=S||At<B,B=At,T.push(At),mn}));L&&o.errors.push(function Xe(){return new d.wOt(3012,!1)}()),S&&o.errors.push(function ne(){return new d.wOt(3200,!1)}());const ve=s.steps.length;let it=0;_>0&&_<ve?o.errors.push(function q(){return new d.wOt(3202,!1)}()):0==_&&(it=1/(ve-1));const Be=ve-1,Le=o.currentTime,Ue=o.currentAnimateTimings,Bt=Ue.duration;return he.forEach(((On,mn)=>{const ze=it>0?mn==Be?1:it*mn:T[mn],At=ze*Bt;o.currentTime=Le+Ue.delay+At,Ue.duration=At,this._validateStyleAst(On,o),On.offset=ze,u.styles.push(On)})),u}visitReference(s,o){return{type:z.If.Reference,animation:rn(this,pn(s.animation),o),options:Pt(s.options)}}visitAnimateChild(s,o){return o.depCount++,{type:z.If.AnimateChild,options:Pt(s.options)}}visitAnimateRef(s,o){return{type:z.If.AnimateRef,animation:this.visitReference(s.animation,o),options:Pt(s.options)}}visitQuery(s,o){const u=o.currentQuerySelector,f=s.options||{};o.queryCount++,o.currentQuery=s;const[_,T]=function _e(l){const s=!!l.split(/\s*,\s*/).find((o=>o==k));return s&&(l=l.replace(F,"")),l=l.replace(/@\*/g,Vn).replace(/@\w+/g,(o=>Vn+"-"+o.slice(1))).replace(/:animating/g,Q),[l,s]}(s.selector);o.currentQuerySelector=u.length?u+" "+_:_,Kt(o.collectedStyles,o.currentQuerySelector,new Map);const S=rn(this,pn(s.animation),o);return o.currentQuery=null,o.currentQuerySelector=u,{type:z.If.Query,selector:_,limit:f.limit||0,optional:!!f.optional,includeSelf:T,animation:S,originalSelector:s.selector,options:Pt(s.options)}}visitStagger(s,o){o.currentQuery||o.errors.push(function ae(){return new d.wOt(3013,!1)}());const u="full"===s.timings?{duration:0,delay:0,easing:"full"}:se(s.timings,o.errors,!0);return{type:z.If.Stagger,animation:rn(this,pn(s.animation),o),timings:u,options:null}}}class xe{constructor(s){this.errors=s,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 Pt(l){return l?(l={...l}).params&&(l.params=function $e(l){return l?{...l}:null}(l.params)):l={},l}function tn(l,s,o){return{duration:l,delay:s,easing:o}}function zt(l,s,o,u,f,_,T=null,S=!1){return{type:1,element:l,keyframes:s,preStyleProps:o,postStyleProps:u,duration:f,delay:_,totalTime:f+_,easing:T,subTimeline:S}}class sn{constructor(){this._map=new Map}get(s){return this._map.get(s)||[]}append(s,o){let u=this._map.get(s);u||this._map.set(s,u=[]),u.push(...o)}has(s){return this._map.has(s)}clear(){this._map.clear()}}const wn=new RegExp(":enter","g"),Jt=new RegExp(":leave","g");function rr(l,s,o,u,f,_=new Map,T=new Map,S,L,B=[]){return(new So).buildKeyframes(l,s,o,u,f,_,T,S,L,B)}class So{buildKeyframes(s,o,u,f,_,T,S,L,B,he=[]){B=B||new sn;const ve=new oi(s,o,B,f,_,he,[]);ve.options=L;const it=L.delay?N(L.delay):0;ve.currentTimeline.delayNextStep(it),ve.currentTimeline.setStyles([T],null,ve.errors,L),rn(this,u,ve);const Be=ve.timelines.filter((Le=>Le.containsAnimation()));if(Be.length&&S.size){let Le;for(let Ue=Be.length-1;Ue>=0;Ue--){const Bt=Be[Ue];if(Bt.element===o){Le=Bt;break}}Le&&!Le.allowOnlyTimelineStyles()&&Le.setStyles([S],null,ve.errors,L)}return Be.length?Be.map((Le=>Le.buildKeyframes())):[zt(o,[],[],[],0,it,"",!1)]}visitTrigger(s,o){}visitState(s,o){}visitTransition(s,o){}visitAnimateChild(s,o){const u=o.subInstructions.get(o.element);if(u){const f=o.createSubContext(s.options),_=o.currentTimeline.currentTime,T=this._visitSubInstructions(u,f,f.options);_!=T&&o.transformIntoNewTimeline(T)}o.previousNode=s}visitAnimateRef(s,o){const u=o.createSubContext(s.options);u.transformIntoNewTimeline(),this._applyAnimationRefDelays([s.options,s.animation.options],o,u),this.visitReference(s.animation,u),o.transformIntoNewTimeline(u.currentTimeline.currentTime),o.previousNode=s}_applyAnimationRefDelays(s,o,u){for(const f of s){const _=f?.delay;if(_){const T="number"==typeof _?_:N(yr(_,f?.params??{},o.errors));u.delayNextStep(T)}}}_visitSubInstructions(s,o,u){let _=o.currentTimeline.currentTime;const T=null!=u.duration?N(u.duration):null,S=null!=u.delay?N(u.delay):null;return 0!==T&&s.forEach((L=>{const B=o.appendInstructionToTimeline(L,T,S);_=Math.max(_,B.duration+B.delay)})),_}visitReference(s,o){o.updateOptions(s.options,!0),rn(this,s.animation,o),o.previousNode=s}visitSequence(s,o){const u=o.subContextCount;let f=o;const _=s.options;if(_&&(_.params||_.delay)&&(f=o.createSubContext(_),f.transformIntoNewTimeline(),null!=_.delay)){f.previousNode.type==z.If.Style&&(f.currentTimeline.snapshotCurrentStyles(),f.previousNode=_r);const T=N(_.delay);f.delayNextStep(T)}s.steps.length&&(s.steps.forEach((T=>rn(this,T,f))),f.currentTimeline.applyStylesToKeyframe(),f.subContextCount>u&&f.transformIntoNewTimeline()),o.previousNode=s}visitGroup(s,o){const u=[];let f=o.currentTimeline.currentTime;const _=s.options&&s.options.delay?N(s.options.delay):0;s.steps.forEach((T=>{const S=o.createSubContext(s.options);_&&S.delayNextStep(_),rn(this,T,S),f=Math.max(f,S.currentTimeline.currentTime),u.push(S.currentTimeline)})),u.forEach((T=>o.currentTimeline.mergeTimelineCollectedStyles(T))),o.transformIntoNewTimeline(f),o.previousNode=s}_visitTiming(s,o){if(s.dynamic){const u=s.strValue;return se(o.params?yr(u,o.params,o.errors):u,o.errors)}return{duration:s.duration,delay:s.delay,easing:s.easing}}visitAnimate(s,o){const u=o.currentAnimateTimings=this._visitTiming(s.timings,o),f=o.currentTimeline;u.delay&&(o.incrementTime(u.delay),f.snapshotCurrentStyles());const _=s.style;_.type==z.If.Keyframes?this.visitKeyframes(_,o):(o.incrementTime(u.duration),this.visitStyle(_,o),f.applyStylesToKeyframe()),o.currentAnimateTimings=null,o.previousNode=s}visitStyle(s,o){const u=o.currentTimeline,f=o.currentAnimateTimings;!f&&u.hasCurrentStyleProperties()&&u.forwardFrame();const _=f&&f.easing||s.easing;s.isEmptyStep?u.applyEmptyStep(_):u.setStyles(s.styles,_,o.errors,o.options),o.previousNode=s}visitKeyframes(s,o){const u=o.currentAnimateTimings,f=o.currentTimeline.duration,_=u.duration,S=o.createSubContext().currentTimeline;S.easing=u.easing,s.styles.forEach((L=>{S.forwardTime((L.offset||0)*_),S.setStyles(L.styles,L.easing,o.errors,o.options),S.applyStylesToKeyframe()})),o.currentTimeline.mergeTimelineCollectedStyles(S),o.transformIntoNewTimeline(f+_),o.previousNode=s}visitQuery(s,o){const u=o.currentTimeline.currentTime,f=s.options||{},_=f.delay?N(f.delay):0;_&&(o.previousNode.type===z.If.Style||0==u&&o.currentTimeline.hasCurrentStyleProperties())&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=_r);let T=u;const S=o.invokeQuery(s.selector,s.originalSelector,s.limit,s.includeSelf,!!f.optional,o.errors);o.currentQueryTotal=S.length;let L=null;S.forEach(((B,he)=>{o.currentQueryIndex=he;const ve=o.createSubContext(s.options,B);_&&ve.delayNextStep(_),B===o.element&&(L=ve.currentTimeline),rn(this,s.animation,ve),ve.currentTimeline.applyStylesToKeyframe(),T=Math.max(T,ve.currentTimeline.currentTime)})),o.currentQueryIndex=0,o.currentQueryTotal=0,o.transformIntoNewTimeline(T),L&&(o.currentTimeline.mergeTimelineCollectedStyles(L),o.currentTimeline.snapshotCurrentStyles()),o.previousNode=s}visitStagger(s,o){const u=o.parentContext,f=o.currentTimeline,_=s.timings,T=Math.abs(_.duration),S=T*(o.currentQueryTotal-1);let L=T*o.currentQueryIndex;switch(_.duration<0?"reverse":_.easing){case"reverse":L=S-L;break;case"full":L=u.currentStaggerTime}const he=o.currentTimeline;L&&he.delayNextStep(L);const ve=he.currentTime;rn(this,s.animation,o),o.previousNode=s,u.currentStaggerTime=f.currentTime-ve+(f.startTime-u.currentTimeline.startTime)}}const _r={};class oi{constructor(s,o,u,f,_,T,S,L){this._driver=s,this.element=o,this.subInstructions=u,this._enterClassName=f,this._leaveClassName=_,this.errors=T,this.timelines=S,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=_r,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=L||new si(this._driver,o,0),S.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(s,o){if(!s)return;const u=s;let f=this.options;null!=u.duration&&(f.duration=N(u.duration)),null!=u.delay&&(f.delay=N(u.delay));const _=u.params;if(_){let T=f.params;T||(T=this.options.params={}),Object.keys(_).forEach((S=>{(!o||!T.hasOwnProperty(S))&&(T[S]=yr(_[S],T,this.errors))}))}}_copyOptions(){const s={};if(this.options){const o=this.options.params;if(o){const u=s.params={};Object.keys(o).forEach((f=>{u[f]=o[f]}))}}return s}createSubContext(s=null,o,u){const f=o||this.element,_=new oi(this._driver,f,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(f,u||0));return _.previousNode=this.previousNode,_.currentAnimateTimings=this.currentAnimateTimings,_.options=this._copyOptions(),_.updateOptions(s),_.currentQueryIndex=this.currentQueryIndex,_.currentQueryTotal=this.currentQueryTotal,_.parentContext=this,this.subContextCount++,_}transformIntoNewTimeline(s){return this.previousNode=_r,this.currentTimeline=this.currentTimeline.fork(this.element,s),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(s,o,u){const f={duration:o??s.duration,delay:this.currentTimeline.currentTime+(u??0)+s.delay,easing:""},_=new To(this._driver,s.element,s.keyframes,s.preStyleProps,s.postStyleProps,f,s.stretchStartingKeyframe);return this.timelines.push(_),f}incrementTime(s){this.currentTimeline.forwardTime(this.currentTimeline.duration+s)}delayNextStep(s){s>0&&this.currentTimeline.delayNextStep(s)}invokeQuery(s,o,u,f,_,T){let S=[];if(f&&S.push(this.element),s.length>0){s=(s=s.replace(wn,"."+this._enterClassName)).replace(Jt,"."+this._leaveClassName);let B=this._driver.query(this.element,s,1!=u);0!==u&&(B=u<0?B.slice(B.length+u,B.length):B.slice(0,u)),S.push(...B)}return!_&&0==S.length&&T.push(function pe(){return new d.wOt(3014,!1)}()),S}}class si{constructor(s,o,u,f){this._driver=s,this.element=o,this.startTime=u,this._elementTimelineStylesLookup=f,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(o),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(o,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(s){const o=1===this._keyframes.size&&this._pendingStyles.size;this.duration||o?(this.forwardTime(this.currentTime+s),o&&this.snapshotCurrentStyles()):this.startTime+=s}fork(s,o){return this.applyStylesToKeyframe(),new si(this._driver,s,o||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(s){this.applyStylesToKeyframe(),this.duration=s,this._loadKeyframe()}_updateStyle(s,o){this._localTimelineStyles.set(s,o),this._globalTimelineStyles.set(s,o),this._styleSummary.set(s,{time:this.currentTime,value:o})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(s){s&&this._previousKeyframe.set("easing",s);for(let[o,u]of this._globalTimelineStyles)this._backFill.set(o,u||z.kp),this._currentKeyframe.set(o,z.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(s,o,u,f){o&&this._previousKeyframe.set("easing",o);const _=f&&f.params||{},T=function Bs(l,s){const o=new Map;let u;return l.forEach((f=>{if("*"===f){u??=s.keys();for(let _ of u)o.set(_,z.kp)}else for(let[_,T]of f)o.set(_,T)})),o}(s,this._globalTimelineStyles);for(let[S,L]of T){const B=yr(L,_,u);this._pendingStyles.set(S,B),this._localTimelineStyles.has(S)||this._backFill.set(S,this._globalTimelineStyles.get(S)??z.kp),this._updateStyle(S,B)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach(((s,o)=>{this._currentKeyframe.set(o,s)})),this._pendingStyles.clear(),this._localTimelineStyles.forEach(((s,o)=>{this._currentKeyframe.has(o)||this._currentKeyframe.set(o,s)})))}snapshotCurrentStyles(){for(let[s,o]of this._localTimelineStyles)this._pendingStyles.set(s,o),this._updateStyle(s,o)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const s=[];for(let o in this._currentKeyframe)s.push(o);return s}mergeTimelineCollectedStyles(s){s._styleSummary.forEach(((o,u)=>{const f=this._styleSummary.get(u);(!f||o.time>f.time)&&this._updateStyle(u,o.value)}))}buildKeyframes(){this.applyStylesToKeyframe();const s=new Set,o=new Set,u=1===this._keyframes.size&&0===this.duration;let f=[];this._keyframes.forEach(((S,L)=>{const B=new Map([...this._backFill,...S]);B.forEach(((he,ve)=>{he===z.FX?s.add(ve):he===z.kp&&o.add(ve)})),u||B.set("offset",L/this.duration),f.push(B)}));const _=[...s.values()],T=[...o.values()];if(u){const S=f[0],L=new Map(S);S.set("offset",0),L.set("offset",1),f=[S,L]}return zt(this.element,f,_,T,this.duration,this.startTime,this.easing,!1)}}class To extends si{constructor(s,o,u,f,_,T,S=!1){super(s,o,T.delay),this.keyframes=u,this.preStyleProps=f,this.postStyleProps=_,this._stretchStartingKeyframe=S,this.timings={duration:T.duration,delay:T.delay,easing:T.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let s=this.keyframes,{delay:o,duration:u,easing:f}=this.timings;if(this._stretchStartingKeyframe&&o){const _=[],T=u+o,S=o/T,L=new Map(s[0]);L.set("offset",0),_.push(L);const B=new Map(s[0]);B.set("offset",so(S)),_.push(B);const he=s.length-1;for(let ve=1;ve<=he;ve++){let it=new Map(s[ve]);const Be=it.get("offset");it.set("offset",so((o+Be*u)/T)),_.push(it)}u=T,o=0,f="",s=_}return zt(this.element,s,this.preStyleProps,this.postStyleProps,u,o,f,!0)}}function so(l,s=3){const o=Math.pow(10,s-1);return Math.round(l*o)/o}function ir(l,s,o,u,f,_,T,S,L,B,he,ve,it){return{type:0,element:l,triggerName:s,isRemovalTransition:f,fromState:o,fromStyles:_,toState:u,toStyles:T,timelines:S,queriedElements:L,preStyleProps:B,postStyleProps:he,totalTime:ve,errors:it}}const Io={};class ai{constructor(s,o,u){this._triggerName=s,this.ast=o,this._stateStyles=u}match(s,o,u,f){return function ao(l,s,o,u,f){return l.some((_=>_(s,o,u,f)))}(this.ast.matchers,s,o,u,f)}buildStyles(s,o,u){let f=this._stateStyles.get("*");return void 0!==s&&(f=this._stateStyles.get(s?.toString())||f),f?f.buildStyles(o,u):new Map}build(s,o,u,f,_,T,S,L,B,he){const ve=[],it=this.ast.options&&this.ast.options.params||Io,Le=this.buildStyles(u,S&&S.params||Io,ve),Ue=L&&L.params||Io,Bt=this.buildStyles(f,Ue,ve),On=new Set,mn=new Map,ze=new Map,At="void"===f,Pn={params:lo(Ue,it),delay:this.ast.options?.delay},Cr=he?[]:rr(s,o,this.ast.animation,_,T,Le,Bt,Pn,B,ve);let Wt=0;return Cr.forEach((Br=>{Wt=Math.max(Br.duration+Br.delay,Wt)})),ve.length?ir(o,this._triggerName,u,f,At,Le,Bt,[],[],mn,ze,Wt,ve):(Cr.forEach((Br=>{const ns=Br.element,ko=Kt(mn,ns,new Set);Br.preStyleProps.forEach((Ps=>ko.add(Ps)));const mu=Kt(ze,ns,new Set);Br.postStyleProps.forEach((Ps=>mu.add(Ps))),ns!==o&&On.add(ns)})),ir(o,this._triggerName,u,f,At,Le,Bt,Cr,[...On.values()],mn,ze,Wt))}}function lo(l,s){const o={...s};return Object.entries(l).forEach((([u,f])=>{null!=f&&(o[u]=f)})),o}class zo{constructor(s,o,u){this.styles=s,this.defaultParams=o,this.normalizer=u}buildStyles(s,o){const u=new Map,f=lo(s,this.defaultParams);return this.styles.styles.forEach((_=>{"string"!=typeof _&&_.forEach(((T,S)=>{T&&(T=yr(T,f,o));const L=this.normalizer.normalizePropertyName(S,o);T=this.normalizer.normalizeStyleValue(S,L,T,o),u.set(S,T)}))})),u}}class vr{constructor(s,o,u){this.name=s,this.ast=o,this._normalizer=u,this.transitionFactories=[],this.states=new Map,o.states.forEach((f=>{this.states.set(f.name,new zo(f.style,f.options&&f.options.params||{},u))})),$i(this.states,"true","1"),$i(this.states,"false","0"),o.transitions.forEach((f=>{this.transitionFactories.push(new ai(s,f,this.states))})),this.fallbackTransition=function Ti(l,s){return new ai(l,{type:z.If.Transition,animation:{type:z.If.Sequence,steps:[],options:null},matchers:[(T,S)=>!0],options:null,queryCount:0,depCount:0},s)}(s,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(s,o,u,f){return this.transitionFactories.find((T=>T.match(s,o,u,f)))||null}matchStyles(s,o,u){return this.fallbackTransition.buildStyles(s,o,u)}}function $i(l,s,o){l.has(s)?l.has(o)||l.set(o,l.get(s)):l.has(o)&&l.set(s,l.get(o))}const Wo=new sn;class Oo{constructor(s,o,u){this.bodyNode=s,this._driver=o,this._normalizer=u,this._animations=new Map,this._playersById=new Map,this.players=[]}register(s,o){const u=[],_=Z(this._driver,o,u,[]);if(u.length)throw function ti(){return new d.wOt(3503,!1)}();this._animations.set(s,_)}_buildPlayer(s,o,u){const f=s.element,_=Mn(this._normalizer,s.keyframes,o,u);return this._driver.animate(f,_,s.duration,s.delay,s.easing,[],!0)}create(s,o,u={}){const f=[],_=this._animations.get(s);let T;const S=new Map;if(_?(T=rr(this._driver,o,_,mr,Jn,new Map,new Map,u,Wo,f),T.forEach((he=>{const ve=Kt(S,he.element,new Map);he.postStyleProps.forEach((it=>ve.set(it,null)))}))):(f.push(function vn(){return new d.wOt(3300,!1)}()),T=[]),f.length)throw function un(){return new d.wOt(3504,!1)}();S.forEach(((he,ve)=>{he.forEach(((it,Be)=>{he.set(Be,this._driver.computeStyle(ve,Be,z.kp))}))}));const B=kn(T.map((he=>{const ve=S.get(he.element);return this._buildPlayer(he,new Map,ve)})));return this._playersById.set(s,B),B.onDestroy((()=>this.destroy(s))),this.players.push(B),B}destroy(s){const o=this._getPlayer(s);o.destroy(),this._playersById.delete(s);const u=this.players.indexOf(o);u>=0&&this.players.splice(u,1)}_getPlayer(s){const o=this._playersById.get(s);if(!o)throw function Di(){return new d.wOt(3301,!1)}();return o}listen(s,o,u,f){const _=hr(o,"","","");return dr(this._getPlayer(s),u,_,f),()=>{}}command(s,o,u,f){if("register"==u)return void this.register(s,f[0]);if("create"==u)return void this.create(s,o,f[0]||{});const _=this._getPlayer(s);switch(u){case"play":_.play();break;case"pause":_.pause();break;case"reset":_.reset();break;case"restart":_.restart();break;case"finish":_.finish();break;case"init":_.init();break;case"setPosition":_.setPosition(parseFloat(f[0]));break;case"destroy":this.destroy(s)}}}const Un="ng-animate-queued",ci="ng-animate-disabled",Gi=[],ho={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},zi={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},or="__ng_removed";class Wi{get params(){return this.options.params}constructor(s,o=""){this.namespaceId=o;const u=s&&s.hasOwnProperty("value");if(this.value=function Ao(l){return l??null}(u?s.value:s),u){const{value:_,...T}=s;this.options=T}else this.options={};this.options.params||(this.options.params={})}absorbOptions(s){const o=s.params;if(o){const u=this.options.params;Object.keys(o).forEach((f=>{null==u[f]&&(u[f]=o[f])}))}}}const ui="void",Po=new Wi(ui);class ps{constructor(s,o,u){this.id=s,this.hostElement=o,this._engine=u,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+s,jn(o,this._hostClassName)}listen(s,o,u,f){if(!this._triggers.has(o))throw function Fn(){return new d.wOt(3302,!1)}();if(null==u||0==u.length)throw function Nr(){return new d.wOt(3303,!1)}();if(!function Ir(l){return"start"==l||"done"==l}(u))throw function Rr(){return new d.wOt(3400,!1)}();const _=Kt(this._elementListeners,s,[]),T={name:o,phase:u,callback:f};_.push(T);const S=Kt(this._engine.statesByElement,s,new Map);return S.has(o)||(jn(s,dn),jn(s,dn+"-"+o),S.set(o,Po)),()=>{this._engine.afterFlush((()=>{const L=_.indexOf(T);L>=0&&_.splice(L,1),this._triggers.has(o)||S.delete(o)}))}}register(s,o){return!this._triggers.has(s)&&(this._triggers.set(s,o),!0)}_getTrigger(s){const o=this._triggers.get(s);if(!o)throw function xr(){return new d.wOt(3401,!1)}();return o}trigger(s,o,u,f=!0){const _=this._getTrigger(o),T=new gs(this.id,o,s);let S=this._engine.statesByElement.get(s);S||(jn(s,dn),jn(s,dn+"-"+o),this._engine.statesByElement.set(s,S=new Map));let L=S.get(o);const B=new Wi(u,this.id);if(!(u&&u.hasOwnProperty("value"))&&L&&B.absorbOptions(L.options),S.set(o,B),L||(L=Po),B.value!==ui&&L.value===B.value){if(!function Ii(l,s){const o=Object.keys(l),u=Object.keys(s);if(o.length!=u.length)return!1;for(let f=0;f<o.length;f++){const _=o[f];if(!s.hasOwnProperty(_)||l[_]!==s[_])return!1}return!0}(L.params,B.params)){const Ue=[],Bt=_.matchStyles(L.value,L.params,Ue),On=_.matchStyles(B.value,B.params,Ue);Ue.length?this._engine.reportError(Ue):this._engine.afterFlush((()=>{vt(s,Bt),Mt(s,On)}))}return}const it=Kt(this._engine.playersByElement,s,[]);it.forEach((Ue=>{Ue.namespaceId==this.id&&Ue.triggerName==o&&Ue.queued&&Ue.destroy()}));let Be=_.matchTransition(L.value,B.value,s,B.params),Le=!1;if(!Be){if(!f)return;Be=_.fallbackTransition,Le=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:s,triggerName:o,transition:Be,fromState:L,toState:B,player:T,isFallbackTransition:Le}),Le||(jn(s,Un),T.onStart((()=>{Lr(s,Un)}))),T.onDone((()=>{let Ue=this.players.indexOf(T);Ue>=0&&this.players.splice(Ue,1);const Bt=this._engine.playersByElement.get(s);if(Bt){let On=Bt.indexOf(T);On>=0&&Bt.splice(On,1)}})),this.players.push(T),it.push(T),T}deregister(s){this._triggers.delete(s),this._engine.statesByElement.forEach((o=>o.delete(s))),this._elementListeners.forEach(((o,u)=>{this._elementListeners.set(u,o.filter((f=>f.name!=s)))}))}clearElementCache(s){this._engine.statesByElement.delete(s),this._elementListeners.delete(s);const o=this._engine.playersByElement.get(s);o&&(o.forEach((u=>u.destroy())),this._engine.playersByElement.delete(s))}_signalRemovalForInnerTriggers(s,o){const u=this._engine.driver.query(s,Vn,!0);u.forEach((f=>{if(f[or])return;const _=this._engine.fetchNamespacesByElement(f);_.size?_.forEach((T=>T.triggerLeaveAnimation(f,o,!1,!0))):this.clearElementCache(f)})),this._engine.afterFlushAnimationsDone((()=>u.forEach((f=>this.clearElementCache(f)))))}triggerLeaveAnimation(s,o,u,f){const _=this._engine.statesByElement.get(s),T=new Map;if(_){const S=[];if(_.forEach(((L,B)=>{if(T.set(B,L.value),this._triggers.has(B)){const he=this.trigger(s,B,ui,f);he&&S.push(he)}})),S.length)return this._engine.markElementAsRemoved(this.id,s,!0,o,T),u&&kn(S).onDone((()=>this._engine.processLeaveNode(s))),!0}return!1}prepareLeaveAnimationListeners(s){const o=this._elementListeners.get(s),u=this._engine.statesByElement.get(s);if(o&&u){const f=new Set;o.forEach((_=>{const T=_.name;if(f.has(T))return;f.add(T);const L=this._triggers.get(T).fallbackTransition,B=u.get(T)||Po,he=new Wi(ui),ve=new gs(this.id,T,s);this._engine.totalQueuedPlayers++,this._queue.push({element:s,triggerName:T,transition:L,fromState:B,toState:he,player:ve,isFallbackTransition:!0})}))}}removeNode(s,o){const u=this._engine;if(s.childElementCount&&this._signalRemovalForInnerTriggers(s,o),this.triggerLeaveAnimation(s,o,!0))return;let f=!1;if(u.totalAnimations){const _=u.players.length?u.playersByQueriedElement.get(s):[];if(_&&_.length)f=!0;else{let T=s;for(;T=T.parentNode;)if(u.statesByElement.get(T)){f=!0;break}}}if(this.prepareLeaveAnimationListeners(s),f)u.markElementAsRemoved(this.id,s,!1,o);else{const _=s[or];(!_||_===ho)&&(u.afterFlush((()=>this.clearElementCache(s))),u.destroyInnerAnimations(s),u._onRemovalComplete(s,o))}}insertNode(s,o){jn(s,this._hostClassName)}drainQueuedTransitions(s){const o=[];return this._queue.forEach((u=>{const f=u.player;if(f.destroyed)return;const _=u.element,T=this._elementListeners.get(_);T&&T.forEach((S=>{if(S.name==u.triggerName){const L=hr(_,u.triggerName,u.fromState.value,u.toState.value);L._data=s,dr(u.player,S.phase,L,S.callback)}})),f.markedForDestroy?this._engine.afterFlush((()=>{f.destroy()})):o.push(u)})),this._queue=[],o.sort(((u,f)=>{const _=u.transition.ast.depCount,T=f.transition.ast.depCount;return 0==_||0==T?_-T:this._engine.driver.containsElement(u.element,f.element)?1:-1}))}destroy(s){this.players.forEach((o=>o.destroy())),this._signalRemovalForInnerTriggers(this.hostElement,s)}}class fo{_onRemovalComplete(s,o){this.onRemovalComplete(s,o)}constructor(s,o,u){this.bodyNode=s,this.driver=o,this._normalizer=u,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(f,_)=>{}}get queuedPlayers(){const s=[];return this._namespaceList.forEach((o=>{o.players.forEach((u=>{u.queued&&s.push(u)}))})),s}createNamespace(s,o){const u=new ps(s,o,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,o)?this._balanceNamespaceList(u,o):(this.newHostElements.set(o,u),this.collectEnterElement(o)),this._namespaceLookup[s]=u}_balanceNamespaceList(s,o){const u=this._namespaceList,f=this.namespacesByHostElement;if(u.length-1>=0){let T=!1,S=this.driver.getParentElement(o);for(;S;){const L=f.get(S);if(L){const B=u.indexOf(L);u.splice(B+1,0,s),T=!0;break}S=this.driver.getParentElement(S)}T||u.unshift(s)}else u.push(s);return f.set(o,s),s}register(s,o){let u=this._namespaceLookup[s];return u||(u=this.createNamespace(s,o)),u}registerTrigger(s,o,u){let f=this._namespaceLookup[s];f&&f.register(o,u)&&this.totalAnimations++}destroy(s,o){s&&(this.afterFlush((()=>{})),this.afterFlushAnimationsDone((()=>{const u=this._fetchNamespace(s);this.namespacesByHostElement.delete(u.hostElement);const f=this._namespaceList.indexOf(u);f>=0&&this._namespaceList.splice(f,1),u.destroy(o),delete this._namespaceLookup[s]})))}_fetchNamespace(s){return this._namespaceLookup[s]}fetchNamespacesByElement(s){const o=new Set,u=this.statesByElement.get(s);if(u)for(let f of u.values())if(f.namespaceId){const _=this._fetchNamespace(f.namespaceId);_&&o.add(_)}return o}trigger(s,o,u,f){if(Me(o)){const _=this._fetchNamespace(s);if(_)return _.trigger(o,u,f),!0}return!1}insertNode(s,o,u,f){if(!Me(o))return;const _=o[or];if(_&&_.setForRemoval){_.setForRemoval=!1,_.setForMove=!0;const T=this.collectedLeaveElements.indexOf(o);T>=0&&this.collectedLeaveElements.splice(T,1)}if(s){const T=this._fetchNamespace(s);T&&T.insertNode(o,u)}f&&this.collectEnterElement(o)}collectEnterElement(s){this.collectedEnterElements.push(s)}markElementAsDisabled(s,o){o?this.disabledNodes.has(s)||(this.disabledNodes.add(s),jn(s,ci)):this.disabledNodes.has(s)&&(this.disabledNodes.delete(s),Lr(s,ci))}removeNode(s,o,u){if(Me(o)){const f=s?this._fetchNamespace(s):null;f?f.removeNode(o,u):this.markElementAsRemoved(s,o,!1,u);const _=this.namespacesByHostElement.get(o);_&&_.id!==s&&_.removeNode(o,u)}else this._onRemovalComplete(o,u)}markElementAsRemoved(s,o,u,f,_){this.collectedLeaveElements.push(o),o[or]={namespaceId:s,setForRemoval:f,hasAnimation:u,removedBeforeQueried:!1,previousTriggersValues:_}}listen(s,o,u,f,_){return Me(o)?this._fetchNamespace(s).listen(o,u,f,_):()=>{}}_buildInstruction(s,o,u,f,_){return s.transition.build(this.driver,s.element,s.fromState.value,s.toState.value,u,f,s.fromState.options,s.toState.options,o,_)}destroyInnerAnimations(s){let o=this.driver.query(s,Vn,!0);o.forEach((u=>this.destroyActiveAnimationsForElement(u))),0!=this.playersByQueriedElement.size&&(o=this.driver.query(s,Q,!0),o.forEach((u=>this.finishActiveQueriedAnimationOnElement(u))))}destroyActiveAnimationsForElement(s){const o=this.playersByElement.get(s);o&&o.forEach((u=>{u.queued?u.markedForDestroy=!0:u.destroy()}))}finishActiveQueriedAnimationOnElement(s){const o=this.playersByQueriedElement.get(s);o&&o.forEach((u=>u.finish()))}whenRenderingDone(){return new Promise((s=>{if(this.players.length)return kn(this.players).onDone((()=>s()));s()}))}processLeaveNode(s){const o=s[or];if(o&&o.setForRemoval){if(s[or]=ho,o.namespaceId){this.destroyInnerAnimations(s);const u=this._fetchNamespace(o.namespaceId);u&&u.clearElementCache(s)}this._onRemovalComplete(s,o.setForRemoval)}s.classList?.contains(ci)&&this.markElementAsDisabled(s,!1),this.driver.query(s,".ng-animate-disabled",!0).forEach((u=>{this.markElementAsDisabled(u,!1)}))}flush(s=-1){let o=[];if(this.newHostElements.size&&(this.newHostElements.forEach(((u,f)=>this._balanceNamespaceList(u,f))),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let u=0;u<this.collectedEnterElements.length;u++)jn(this.collectedEnterElements[u],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const u=[];try{o=this._flushAnimations(u,s)}finally{for(let f=0;f<u.length;f++)u[f]()}}else for(let u=0;u<this.collectedLeaveElements.length;u++)this.processLeaveNode(this.collectedLeaveElements[u]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((u=>u())),this._flushFns=[],this._whenQuietFns.length){const u=this._whenQuietFns;this._whenQuietFns=[],o.length?kn(o).onDone((()=>{u.forEach((f=>f()))})):u.forEach((f=>f()))}}reportError(s){throw function xn(){return new d.wOt(3402,!1)}()}_flushAnimations(s,o){const u=new sn,f=[],_=new Map,T=[],S=new Map,L=new Map,B=new Map,he=new Set;this.disabledNodes.forEach((ke=>{he.add(ke);const Ge=this.driver.query(ke,".ng-animate-queued",!0);for(let ot=0;ot<Ge.length;ot++)he.add(Ge[ot])}));const ve=this.bodyNode,it=Array.from(this.statesByElement.keys()),Be=Ro(it,this.collectedEnterElements),Le=new Map;let Ue=0;Be.forEach(((ke,Ge)=>{const ot=mr+Ue++;Le.set(Ge,ot),ke.forEach((Nt=>jn(Nt,ot)))}));const Bt=[],On=new Set,mn=new Set;for(let ke=0;ke<this.collectedLeaveElements.length;ke++){const Ge=this.collectedLeaveElements[ke],ot=Ge[or];ot&&ot.setForRemoval&&(Bt.push(Ge),On.add(Ge),ot.hasAnimation?this.driver.query(Ge,".ng-star-inserted",!0).forEach((Nt=>On.add(Nt))):mn.add(Ge))}const ze=new Map,At=Ro(it,Array.from(On));At.forEach(((ke,Ge)=>{const ot=Jn+Ue++;ze.set(Ge,ot),ke.forEach((Nt=>jn(Nt,ot)))})),s.push((()=>{Be.forEach(((ke,Ge)=>{const ot=Le.get(Ge);ke.forEach((Nt=>Lr(Nt,ot)))})),At.forEach(((ke,Ge)=>{const ot=ze.get(Ge);ke.forEach((Nt=>Lr(Nt,ot)))})),Bt.forEach((ke=>{this.processLeaveNode(ke)}))}));const Pn=[],Cr=[];for(let ke=this._namespaceList.length-1;ke>=0;ke--)this._namespaceList[ke].drainQueuedTransitions(o).forEach((ot=>{const Nt=ot.player,lr=ot.element;if(Pn.push(Nt),this.collectedEnterElements.length){const Wn=lr[or];if(Wn&&Wn.setForMove){if(Wn.previousTriggersValues&&Wn.previousTriggersValues.has(ot.triggerName)){const Ns=Wn.previousTriggersValues.get(ot.triggerName),Zr=this.statesByElement.get(ot.element);if(Zr&&Zr.has(ot.triggerName)){const Rs=Zr.get(ot.triggerName);Rs.value=Ns,Zr.set(ot.triggerName,Rs)}}return void Nt.destroy()}}const Ri=!ve||!this.driver.containsElement(ve,lr),Xr=ze.get(lr),Lo=Le.get(lr),Zt=this._buildInstruction(ot,u,Lo,Xr,Ri);if(Zt.errors&&Zt.errors.length)return void Cr.push(Zt);if(Ri)return Nt.onStart((()=>vt(lr,Zt.fromStyles))),Nt.onDestroy((()=>Mt(lr,Zt.toStyles))),void f.push(Nt);if(ot.isFallbackTransition)return Nt.onStart((()=>vt(lr,Zt.fromStyles))),Nt.onDestroy((()=>Mt(lr,Zt.toStyles))),void f.push(Nt);const _u=[];Zt.timelines.forEach((Wn=>{Wn.stretchStartingKeyframe=!0,this.disabledNodes.has(Wn.element)||_u.push(Wn)})),Zt.timelines=_u,u.append(lr,Zt.timelines),T.push({instruction:Zt,player:Nt,element:lr}),Zt.queriedElements.forEach((Wn=>Kt(S,Wn,[]).push(Nt))),Zt.preStyleProps.forEach(((Wn,Ns)=>{if(Wn.size){let Zr=L.get(Ns);Zr||L.set(Ns,Zr=new Set),Wn.forEach(((Rs,Yr)=>Zr.add(Yr)))}})),Zt.postStyleProps.forEach(((Wn,Ns)=>{let Zr=B.get(Ns);Zr||B.set(Ns,Zr=new Set),Wn.forEach(((Rs,Yr)=>Zr.add(Yr)))}))}));if(Cr.length){const ke=[];Cr.forEach((Ge=>{ke.push(function Yt(){return new d.wOt(3505,!1)}())})),Pn.forEach((Ge=>Ge.destroy())),this.reportError(ke)}const Wt=new Map,Br=new Map;T.forEach((ke=>{const Ge=ke.element;u.has(Ge)&&(Br.set(Ge,Ge),this._beforeAnimationBuild(ke.player.namespaceId,ke.instruction,Wt))})),f.forEach((ke=>{const Ge=ke.element;this._getPreviousPlayers(Ge,!1,ke.namespaceId,ke.triggerName,null).forEach((Nt=>{Kt(Wt,Ge,[]).push(Nt),Nt.destroy()}))}));const ns=Bt.filter((ke=>Ko(ke,L,B))),ko=new Map;No(ko,this.driver,mn,B,z.kp).forEach((ke=>{Ko(ke,L,B)&&ns.push(ke)}));const Ps=new Map;Be.forEach(((ke,Ge)=>{No(Ps,this.driver,new Set(ke),L,z.FX)})),ns.forEach((ke=>{const Ge=ko.get(ke),ot=Ps.get(ke);ko.set(ke,new Map([...Ge?.entries()??[],...ot?.entries()??[]]))}));const As=[],yu=[],qa={};T.forEach((ke=>{const{element:Ge,player:ot,instruction:Nt}=ke;if(u.has(Ge)){if(he.has(Ge))return ot.onDestroy((()=>Mt(Ge,Nt.toStyles))),ot.disabled=!0,ot.overrideTotalTime(Nt.totalTime),void f.push(ot);let lr=qa;if(Br.size>1){let Xr=Ge;const Lo=[];for(;Xr=Xr.parentNode;){const Zt=Br.get(Xr);if(Zt){lr=Zt;break}Lo.push(Xr)}Lo.forEach((Zt=>Br.set(Zt,lr)))}const Ri=this._buildAnimation(ot.namespaceId,Nt,Wt,_,Ps,ko);if(ot.setRealPlayer(Ri),lr===qa)As.push(ot);else{const Xr=this.playersByElement.get(lr);Xr&&Xr.length&&(ot.parentPlayer=kn(Xr)),f.push(ot)}}else vt(Ge,Nt.fromStyles),ot.onDestroy((()=>Mt(Ge,Nt.toStyles))),yu.push(ot),he.has(Ge)&&f.push(ot)})),yu.forEach((ke=>{const Ge=_.get(ke.element);if(Ge&&Ge.length){const ot=kn(Ge);ke.setRealPlayer(ot)}})),f.forEach((ke=>{ke.parentPlayer?ke.syncPlayerEvents(ke.parentPlayer):ke.destroy()}));for(let ke=0;ke<Bt.length;ke++){const Ge=Bt[ke],ot=Ge[or];if(Lr(Ge,Jn),ot&&ot.hasAnimation)continue;let Nt=[];if(S.size){let Ri=S.get(Ge);Ri&&Ri.length&&Nt.push(...Ri);let Xr=this.driver.query(Ge,Q,!0);for(let Lo=0;Lo<Xr.length;Lo++){let Zt=S.get(Xr[Lo]);Zt&&Zt.length&&Nt.push(...Zt)}}const lr=Nt.filter((Ri=>!Ri.destroyed));lr.length?qr(this,Ge,lr):this.processLeaveNode(Ge)}return Bt.length=0,As.forEach((ke=>{this.players.push(ke),ke.onDone((()=>{ke.destroy();const Ge=this.players.indexOf(ke);this.players.splice(Ge,1)})),ke.play()})),As}afterFlush(s){this._flushFns.push(s)}afterFlushAnimationsDone(s){this._whenQuietFns.push(s)}_getPreviousPlayers(s,o,u,f,_){let T=[];if(o){const S=this.playersByQueriedElement.get(s);S&&(T=S)}else{const S=this.playersByElement.get(s);if(S){const L=!_||_==ui;S.forEach((B=>{B.queued||!L&&B.triggerName!=f||T.push(B)}))}}return(u||f)&&(T=T.filter((S=>!(u&&u!=S.namespaceId||f&&f!=S.triggerName)))),T}_beforeAnimationBuild(s,o,u){const _=o.element,T=o.isRemovalTransition?void 0:s,S=o.isRemovalTransition?void 0:o.triggerName;for(const L of o.timelines){const B=L.element,he=B!==_,ve=Kt(u,B,[]);this._getPreviousPlayers(B,he,T,S,o.toState).forEach((Be=>{const Le=Be.getRealPlayer();Le.beforeDestroy&&Le.beforeDestroy(),Be.destroy(),ve.push(Be)}))}vt(_,o.fromStyles)}_buildAnimation(s,o,u,f,_,T){const S=o.triggerName,L=o.element,B=[],he=new Set,ve=new Set,it=o.timelines.map((Le=>{const Ue=Le.element;he.add(Ue);const Bt=Ue[or];if(Bt&&Bt.removedBeforeQueried)return new z.sf(Le.duration,Le.delay);const On=Ue!==L,mn=function di(l){const s=[];return sr(l,s),s}((u.get(Ue)||Gi).map((Wt=>Wt.getRealPlayer()))).filter((Wt=>!!Wt.element&&Wt.element===Ue)),ze=_.get(Ue),At=T.get(Ue),Pn=Mn(this._normalizer,Le.keyframes,ze,At),Cr=this._buildPlayer(Le,Pn,mn);if(Le.subTimeline&&f&&ve.add(Ue),On){const Wt=new gs(s,S,Ue);Wt.setRealPlayer(Cr),B.push(Wt)}return Cr}));B.forEach((Le=>{Kt(this.playersByQueriedElement,Le.element,[]).push(Le),Le.onDone((()=>function qi(l,s,o){let u=l.get(s);if(u){if(u.length){const f=u.indexOf(o);u.splice(f,1)}0==u.length&&l.delete(s)}return u}(this.playersByQueriedElement,Le.element,Le)))})),he.forEach((Le=>jn(Le,Y)));const Be=kn(it);return Be.onDestroy((()=>{he.forEach((Le=>Lr(Le,Y))),Mt(L,o.toStyles)})),ve.forEach((Le=>{Kt(f,Le,[]).push(Be)})),Be}_buildPlayer(s,o,u){return o.length>0?this.driver.animate(s.element,o,s.duration,s.delay,s.easing,u):new z.sf(s.duration,s.delay)}}class gs{constructor(s,o,u){this.namespaceId=s,this.triggerName=o,this.element=u,this._player=new z.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(s){this._containsRealPlayer||(this._player=s,this._queuedCallbacks.forEach(((o,u)=>{o.forEach((f=>dr(s,u,void 0,f)))})),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(s.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(s){this.totalTime=s}syncPlayerEvents(s){const o=this._player;o.triggerCallback&&s.onStart((()=>o.triggerCallback("start"))),s.onDone((()=>this.finish())),s.onDestroy((()=>this.destroy()))}_queueEvent(s,o){Kt(this._queuedCallbacks,s,[]).push(o)}onDone(s){this.queued&&this._queueEvent("done",s),this._player.onDone(s)}onStart(s){this.queued&&this._queueEvent("start",s),this._player.onStart(s)}onDestroy(s){this.queued&&this._queueEvent("destroy",s),this._player.onDestroy(s)}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(s){this.queued||this._player.setPosition(s)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(s){const o=this._player;o.triggerCallback&&o.triggerCallback(s)}}function Me(l){return l&&1===l.nodeType}function Gn(l,s){const o=l.style.display;return l.style.display=s??"none",o}function No(l,s,o,u,f){const _=[];o.forEach((L=>_.push(Gn(L))));const T=[];u.forEach(((L,B)=>{const he=new Map;L.forEach((ve=>{const it=s.computeStyle(B,ve,f);he.set(ve,it),(!it||0==it.length)&&(B[or]=zi,T.push(B))})),l.set(B,he)}));let S=0;return o.forEach((L=>Gn(L,_[S++]))),T}function Ro(l,s){const o=new Map;if(l.forEach((S=>o.set(S,[]))),0==s.length)return o;const f=new Set(s),_=new Map;function T(S){if(!S)return 1;let L=_.get(S);if(L)return L;const B=S.parentNode;return L=o.has(B)?B:f.has(B)?1:T(B),_.set(S,L),L}return s.forEach((S=>{const L=T(S);1!==L&&o.get(L).push(S)})),o}function jn(l,s){l.classList?.add(s)}function Lr(l,s){l.classList?.remove(s)}function qr(l,s,o){kn(o).onDone((()=>l.processLeaveNode(s)))}function sr(l,s){for(let o=0;o<l.length;o++){const u=l[o];u instanceof z.ui?sr(u.players,s):s.push(u)}}function Ko(l,s,o){const u=o.get(l);if(!u)return!1;let f=s.get(l);return f?u.forEach((_=>f.add(_))):s.set(l,u),o.delete(l),!0}class zn{constructor(s,o,u){this._driver=o,this._normalizer=u,this._triggerCache={},this.onRemovalComplete=(f,_)=>{},this._transitionEngine=new fo(s.body,o,u),this._timelineEngine=new Oo(s.body,o,u),this._transitionEngine.onRemovalComplete=(f,_)=>this.onRemovalComplete(f,_)}registerTrigger(s,o,u,f,_){const T=s+"-"+f;let S=this._triggerCache[T];if(!S){const L=[],he=Z(this._driver,_,L,[]);if(L.length)throw function Qe(){return new d.wOt(3404,!1)}();S=function co(l,s,o){return new vr(l,s,o)}(f,he,this._normalizer),this._triggerCache[T]=S}this._transitionEngine.registerTrigger(o,f,S)}register(s,o){this._transitionEngine.register(s,o)}destroy(s,o){this._transitionEngine.destroy(s,o)}onInsert(s,o,u,f){this._transitionEngine.insertNode(s,o,u,f)}onRemove(s,o,u){this._transitionEngine.removeNode(s,o,u)}disableAnimations(s,o){this._transitionEngine.markElementAsDisabled(s,o)}process(s,o,u,f){if("@"==u.charAt(0)){const[_,T]=bn(u);this._timelineEngine.command(_,o,T,f)}else this._transitionEngine.trigger(s,o,u,f)}listen(s,o,u,f,_){if("@"==u.charAt(0)){const[T,S]=bn(u);return this._timelineEngine.listen(T,o,S,_)}return this._transitionEngine.listen(s,o,u,f,_)}flush(s=-1){this._transitionEngine.flush(s)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(s){this._transitionEngine.afterFlushAnimationsDone(s)}}class Ki{static#e=this.initialStylesByElement=new WeakMap;constructor(s,o,u){this._element=s,this._startStyles=o,this._endStyles=u,this._state=0;let f=Ki.initialStylesByElement.get(s);f||Ki.initialStylesByElement.set(s,f=new Map),this._initialStyles=f}start(){this._state<1&&(this._startStyles&&Mt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Mt(this._element,this._initialStyles),this._endStyles&&(Mt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Ki.initialStylesByElement.delete(this._element),this._startStyles&&(vt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(vt(this._element,this._endStyles),this._endStyles=null),Mt(this._element,this._initialStyles),this._state=3)}}function an(l){let s=null;return l.forEach(((o,u)=>{(function po(l){return"display"===l||"position"===l})(u)&&(s=s||new Map,s.set(u,o))})),s}class Qi{constructor(s,o,u,f){this.element=s,this.keyframes=o,this.options=u,this._specialStyles=f,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=u.duration,this._delay=u.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((s=>s())),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const s=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,s,this.options),this._finalKeyframe=s.length?s[s.length-1]:new Map;const o=()=>this._onFinish();this.domPlayer.addEventListener("finish",o),this.onDestroy((()=>{this.domPlayer.removeEventListener("finish",o)}))}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(s){const o=[];return s.forEach((u=>{o.push(Object.fromEntries(u))})),o}_triggerWebAnimation(s,o,u){return s.animate(this._convertKeyframesToObject(o),u)}onStart(s){this._originalOnStartFns.push(s),this._onStartFns.push(s)}onDone(s){this._originalOnDoneFns.push(s),this._onDoneFns.push(s)}onDestroy(s){this._onDestroyFns.push(s)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((s=>s())),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((s=>s())),this._onDestroyFns=[])}setPosition(s){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=s*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const s=new Map;this.hasStarted()&&this._finalKeyframe.forEach(((u,f)=>{"offset"!==f&&s.set(f,this._finished?u:tr(this.element,f))})),this.currentSnapshot=s}triggerCallback(s){const o="start"===s?this._onStartFns:this._onDoneFns;o.forEach((u=>u())),o.length=0}}class St{validateStyleProperty(s){return!0}validateAnimatableStyleProperty(s){return!0}containsElement(s,o){return gr(s,o)}getParentElement(s){return Hn(s)}query(s,o,u){return fn(s,o,u)}computeStyle(s,o,u){return tr(s,o)}animate(s,o,u,f,_,T=[]){const L={duration:u,delay:f,fill:0==f?"both":"forwards"};_&&(L.easing=_);const B=new Map,he=T.filter((Be=>Be instanceof Qi));(function Mo(l,s){return 0===l||0===s})(u,f)&&he.forEach((Be=>{Be.currentSnapshot.forEach(((Le,Ue)=>B.set(Ue,Le)))}));let ve=function nt(l){return l.length?l[0]instanceof Map?l:l.map((s=>new Map(Object.entries(s)))):[]}(o).map((Be=>new Map(Be)));ve=function er(l,s,o){if(o.size&&s.length){let u=s[0],f=[];if(o.forEach(((_,T)=>{u.has(T)||f.push(T),u.set(T,_)})),f.length)for(let _=1;_<s.length;_++){let T=s[_];f.forEach((S=>T.set(S,tr(l,S))))}}return s}(s,ve,B);const it=function Or(l,s){let o=null,u=null;return Array.isArray(s)&&s.length?(o=an(s[0]),s.length>1&&(u=an(s[s.length-1]))):s instanceof Map&&(o=an(s)),o||u?new Ki(l,o,u):null}(s,ve);return new Qi(s,ve,L,it)}}const ms="@.disabled";class Qo{constructor(s,o,u,f){this.namespaceId=s,this.delegate=o,this.engine=u,this._onDestroy=f,this.ɵtype=0}get data(){return this.delegate.data}destroyNode(s){this.delegate.destroyNode?.(s)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone((()=>{queueMicrotask((()=>{this.delegate.destroy()}))})),this._onDestroy?.()}createElement(s,o){return this.delegate.createElement(s,o)}createComment(s){return this.delegate.createComment(s)}createText(s){return this.delegate.createText(s)}appendChild(s,o){this.delegate.appendChild(s,o),this.engine.onInsert(this.namespaceId,o,s,!1)}insertBefore(s,o,u,f=!0){this.delegate.insertBefore(s,o,u),this.engine.onInsert(this.namespaceId,o,s,f)}removeChild(s,o,u){this.parentNode(o)&&this.engine.onRemove(this.namespaceId,o,this.delegate)}selectRootElement(s,o){return this.delegate.selectRootElement(s,o)}parentNode(s){return this.delegate.parentNode(s)}nextSibling(s){return this.delegate.nextSibling(s)}setAttribute(s,o,u,f){this.delegate.setAttribute(s,o,u,f)}removeAttribute(s,o,u){this.delegate.removeAttribute(s,o,u)}addClass(s,o){this.delegate.addClass(s,o)}removeClass(s,o){this.delegate.removeClass(s,o)}setStyle(s,o,u,f){this.delegate.setStyle(s,o,u,f)}removeStyle(s,o,u){this.delegate.removeStyle(s,o,u)}setProperty(s,o,u){"@"==o.charAt(0)&&o==ms?this.disableAnimations(s,!!u):this.delegate.setProperty(s,o,u)}setValue(s,o){this.delegate.setValue(s,o)}listen(s,o,u){return this.delegate.listen(s,o,u)}disableAnimations(s,o){this.engine.disableAnimations(s,o)}}class mo extends Qo{constructor(s,o,u,f,_){super(o,u,f,_),this.factory=s,this.namespaceId=o}setProperty(s,o,u){"@"==o.charAt(0)?"."==o.charAt(1)&&o==ms?this.disableAnimations(s,u=void 0===u||!!u):this.engine.process(this.namespaceId,s,o.slice(1),u):this.delegate.setProperty(s,o,u)}listen(s,o,u){if("@"==o.charAt(0)){const f=function He(l){switch(l){case"body":return document.body;case"document":return document;case"window":return window;default:return l}}(s);let _=o.slice(1),T="";return"@"!=_.charAt(0)&&([_,T]=function hi(l){const s=l.indexOf(".");return[l.substring(0,s),l.slice(s+1)]}(_)),this.engine.listen(this.namespaceId,f,_,T,(S=>{this.factory.scheduleListenerCallback(S._data||-1,u,S)}))}return this.delegate.listen(s,o,u)}}class ar{constructor(s,o,u){this.delegate=s,this.engine=o,this._zone=u,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,o.onRemovalComplete=(f,_)=>{_?.removeChild(null,f)}}createRenderer(s,o){const f=this.delegate.createRenderer(s,o);if(!s||!o?.data?.animation){const B=this._rendererCache;let he=B.get(f);return he||(he=new Qo("",f,this.engine,(()=>B.delete(f))),B.set(f,he)),he}const _=o.id,T=o.id+"-"+this._currentId;this._currentId++,this.engine.register(T,s);const S=B=>{Array.isArray(B)?B.forEach(S):this.engine.registerTrigger(_,T,s,B.name,B)};return o.data.animation.forEach(S),new mo(this,T,f,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask((()=>{this._microtaskId++}))}scheduleListenerCallback(s,o,u){if(s>=0&&s<this._microtaskId)return void this._zone.run((()=>o(u)));const f=this._animationCallbacksBuffer;0==f.length&&queueMicrotask((()=>{this._zone.run((()=>{f.forEach((_=>{const[T,S]=_;T(S)})),this._animationCallbacksBuffer=[]}))})),f.push([o,u])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular((()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)})),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const Pr=[{provide:dt,useFactory:function $s(){return new kr}},{provide:zn,useClass:(()=>{class l extends zn{constructor(o,u,f){super(o,u,f)}ngOnDestroy(){this.flush()}static#e=this.ɵfac=function(u){return new(u||l)(d.KVO(x.qQ),d.KVO(Ui),d.KVO(dt))};static#t=this.ɵprov=d.jDH({token:l,factory:l.ɵfac})}return l})()},{provide:d._9s,useFactory:function ja(l,s,o){return new ar(l,s,o)},deps:[Se.B7,zn,d.SKi]}],ys=[{provide:Ui,useFactory:()=>new St},{provide:d.bc$,useValue:"BrowserAnimations"},...Pr],w=[{provide:Ui,useClass:xt},{provide:d.bc$,useValue:"NoopAnimations"},...Pr];let E=(()=>{class l{static withConfig(o){return{ngModule:l,providers:o.disableAnimations?w:ys}}static#e=this.ɵfac=function(u){return new(u||l)};static#t=this.ɵmod=d.$C({type:l});static#n=this.ɵinj=d.G2t({providers:ys,imports:[Se.Bb]})}return l})();var Ve=$(3400);const ht=["*"],$l=["header"],ca=[[["","callout-heading",""]],"*"],Hs=["[callout-heading]","*"];function Lt(l,s){if(1&l){const o=d.RV6();d.j41(0,"button",4),d.bIt("click",(function(){d.eBV(o);const f=d.XpG();return d.Njj(f.closeClicked())})),d.nrm(1,"i",5),d.k0s()}if(2&l){const o=d.XpG();d.BMQ("id",o.buttonID)}}const Xo=l=>({visibility:l}),Ba=(l,s,o)=>({"switch-on":l,"switch-off":s,disabled:o}),vs=l=>({disabled:l}),Gs=(l,s)=>({"switch-on":l,"switch-off":s});function Cs(l,s){if(1&l&&(d.j41(0,"label",10)(1,"span",11),d.EFF(2),d.k0s()()),2&l){const o=d.XpG();d.FS9("for",o.toggleID),d.BMQ("aria-label",o.labelValue),d.R7$(),d.BMQ("id",o.onTextID),d.R7$(),d.SpI(" ",o.isToggleOff?o.offText:o.onText," ")}}function yo(l,s){if(1&l&&d.nrm(0,"i",12),2&l){const o=d.XpG();d.BMQ("id",o.leftSpinnerID)}}function zs(l,s){if(1&l&&(d.j41(0,"label",13)(1,"span",14),d.EFF(2),d.k0s()()),2&l){const o=d.XpG();d.FS9("for",o.toggleID),d.BMQ("aria-label",o.labelValue),d.R7$(),d.BMQ("id",o.offTextID),d.R7$(),d.SpI(" ",o.isToggleOff?o.offText:o.onText," ")}}function Zo(l,s){if(1&l&&d.nrm(0,"i",15),2&l){const o=d.XpG();d.BMQ("id",o.rightSpinnerID)}}function Ws(l,s){if(1&l){const o=d.RV6();d.j41(0,"button",9),d.bIt("click",(function(){d.eBV(o);const f=d.XpG(2);return d.Njj(f.fireClose())})),d.j41(1,"span"),d.EFF(2,"×"),d.k0s()()}if(2&l){const o=d.XpG(2);d.Y8G("id",o.closeButtonID)("title",o.closeLabel),d.BMQ("aria-label",o.closeLabel),d.R7$(),d.BMQ("aria-hidden",!0)}}function Ze(l,s){if(1&l){const o=d.RV6();d.j41(0,"button",10),d.bIt("click",(function(){d.eBV(o);const f=d.XpG(2);return d.Njj(f.fireToggleMore())})),d.EFF(1),d.k0s()}if(2&l){const o=d.XpG(2);d.Y8G("id",o.moreButtonID),d.R7$(),d.SpI(" ",o.moreLabel," ")}}function ws(l,s){if(1&l&&(d.j41(0,"strong",11),d.EFF(1),d.k0s()),2&l){const o=d.XpG(2);d.R7$(),d.JRh(o.label)}}function Yo(l,s){if(1&l&&(d.j41(0,"span",12),d.EFF(1),d.k0s()),2&l){const o=d.XpG(2);d.Y8G("id",o.textMessageID),d.R7$(),d.SpI(" ",o.message," ")}}function Zi(l,s){if(1&l&&(d.j41(0,"li")(1,"span",12),d.EFF(2),d.k0s()()),2&l){const o=s.$implicit,u=s.index,f=d.XpG(3);d.R7$(),d.FS9("id",f.textListID+"_"+u),d.R7$(),d.SpI(" ",o," ")}}function Es(l,s){if(1&l&&(d.j41(0,"ul",13),d.DNE(1,Zi,3,2,"li",14),d.k0s()),2&l){const o=d.XpG(2);d.R7$(),d.Y8G("ngForOf",o.alert.list)}}function Hl(l,s){if(1&l&&(d.j41(0,"div",1),d.DNE(1,Ws,3,4,"button",2)(2,Ze,2,2,"button",3),d.nrm(3,"span"),d.j41(4,"div",4),d.DNE(5,ws,2,1,"strong",5),d.j41(6,"span",6),d.DNE(7,Yo,2,2,"span",7),d.k0s(),d.DNE(8,Es,2,1,"ul",8),d.k0s()()),2&l){const o=d.XpG();d.ZvI("alert alert-",o.type," ng-hide"),d.Y8G("@openClose",o.animationClass),d.R7$(),d.Y8G("ngIf",o.showCloseButton),d.R7$(),d.Y8G("ngIf",o.showMoreButton),d.R7$(),d.HbH(o.icon),d.BMQ("aria-hidden",!0),d.R7$(2),d.Y8G("ngIf",o.hasLabel),d.R7$(2),d.Y8G("ngIf",o.message),d.R7$(),d.Y8G("ngIf",o.alert&&o.alert.list&&o.alert.list.length)}}function Ds(l,s){if(1&l){const o=d.RV6();d.j41(0,"div",6)(1,"cp-alert",7),d.bIt("close",(function(){const f=d.eBV(o).$implicit,_=d.XpG();return d.Njj(_.alertClosed(f))})),d.k0s()()}if(2&l){const o=s.$implicit;d.R7$(),d.Y8G("alert",o)}}function $a(l,s){if(1&l&&d.nrm(0,"div",8),2&l){const o=d.XpG();d.Y8G("ngClass",o.positionClasses)}}const Gl=["searchInput"];function zl(l,s){if(1&l&&(d.j41(0,"span",6),d.EFF(1),d.k0s()),2&l){const o=d.XpG();d.R7$(),d.JRh(o.clearIconLabel)}}function Ks(l,s){if(1&l){const o=d.RV6();d.j41(0,"button",3),d.bIt("click",(function(){const f=d.eBV(o).$implicit,_=d.XpG();return d.Njj(_.onOptionClicked(f))})),d.k0s()}if(2&l){const o=s.$implicit,u=d.XpG();d.Y8G("disabled",u.disabled)("selected",u.isOptionSelected(o))("value",o)}}function Qs(l,s){1&l&&d.EFF(0," >\n")}function _t(l,s){1&l&&d.EFF(0," <\n")}function bs(l,s){1&l&&d.EFF(0," >>\n")}function ha(l,s){1&l&&d.EFF(0," <<\n")}class gn{static#e=this.defaultShowMore=!1;static#t=this.defaultAutoClosePeriod=0;static#n=this.defaultOptions={autoClosePeriod:gn.defaultAutoClosePeriod,list:[]};constructor(s,o,u=gn.defaultOptions){this._message=s,this._type=o;const f=u.id?u.id:Math.random().toString(36).substr(2,9);this._id=f,this._closable=null==u.isCloseable||u.isCloseable,this._autoClosePeriod=u.autoClosePeriod,this._list=u.list,this._showMore=u.showMore||gn.defaultShowMore,this._ts=null==u.createdOn?Date.now():u.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(s){const{message:o,type:u,...f}=s;return new gn(o,u,f)}}var Xt=function(l){return l[l.error=0]="error",l[l.success=1]="success",l[l.warning=2]="warning",l[l.information=3]="information",l}(Xt||{}),Ai=function(l){return l.add="add",l.remove="remove",l.clear="clear",l}(Ai||{});let _o=(()=>{class l{static#e=this.defaultGroup="__DEFAULT__";static#t=this.defaultSuccessOptions={autoClosePeriod:1e4};constructor(){this._alertEventsSource=new G.B,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add(o,u=l.defaultGroup){this._alerts[u]||(this._alerts[u]=[]);const f=o instanceof gn?o:gn.makeAlert(o);if(this.list(u).push(f),this._alertEventsSource.next({type:Ai.add,group:u,alert:f}),(0,d.naY)())switch(f.type){case Xt.error:console.error(f.message,f);break;case Xt.warning:console.warn(f.message,f);break;default:console.log(f.message,f)}return f}success(o,u=l.defaultGroup){return this.add(new gn(o,Xt.success,l.defaultSuccessOptions),u)}error(o,u=l.defaultGroup){return this.add({message:o,type:Xt.error},u)}info(o,u=l.defaultGroup){return this.add({message:o,type:Xt.information},u)}warn(o,u=l.defaultGroup){return this.add({message:o,type:Xt.warning},u)}removeById(o,u=l.defaultGroup){const f=this.list(u),_=f.findIndex((T=>T.id===o),0);if(-1!==_){const T=f[_];f.splice(_,1),this._alertEventsSource.next({type:Ai.remove,group:u,alert:T})}}clear(o=l.defaultGroup){this._alerts[o]=[],this._alertEventsSource.next({type:Ai.clear,group:o})}list(o=l.defaultGroup){return null==this._alerts[o]&&(this._alerts[o]=[]),this._alerts[o]}static#n=this.ɵfac=function(u){return new(u||l)};static#r=this.ɵprov=d.jDH({token:l,factory:l.ɵfac,providedIn:"root"})}return l})(),es=(()=>{class l{static#e=this.ɵfac=function(u){return new(u||l)};static#t=this.ɵmod=d.$C({type:l});static#n=this.ɵinj=d.G2t({providers:[_o],imports:[x.MD]})}return l})();var fi=function(l){return l.inline="inline",l.topLeft="top-left",l.topMiddle="top-middle",l.topRight="top-right",l.bottomLeft="bottom-left",l.bottomMiddle="bottom-middle",l.bottomRight="bottom-right",l.middleLeft="middle-left",l.middleMiddle="middle-middle",l.middleRight="middle-right",l}(fi||{});const b=fi.topRight,v=fi.topLeft;var Ni=function(l){return l.warnings="warnings",l.danger="danger",l.info="info",l.default="info",l}(Ni||{});let pi=(()=>{class l{constructor(){this.calloutType=Ni.default,this.closeable=!1,this.close=new d.bkB}closeClicked(){this.close.emit(null)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-callout`");this.buttonID=`${this.id}_button`,this.headingID=`${this.id}_heading`,this.contentID=`${this.id}_content`}ngAfterViewInit(){0===this.header.nativeElement.children.length&&this.header.nativeElement.classList.add("hidden")}static#e=this.ɵfac=function(u){return new(u||l)};static#t=this.ɵcmp=d.VBU({type:l,selectors:[["cp-callout"]],viewQuery:function(u,f){if(1&u&&d.GBs($l,5),2&u){let _;d.mGM(_=d.lsd())&&(f.header=_.first)}},inputs:{id:"id",calloutType:"calloutType",closeable:"closeable"},outputs:{close:"close"},ngContentSelectors:Hs,decls:7,vars:7,consts:[["header",""],["role","alert"],["type","button","class","close","aria-label","Close",3,"click",4,"ngIf"],[1,"callout-heading"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true",1,"fas","fa-sm","fa-times"]],template:function(u,f){1&u&&(d.NAR(ca),d.j41(0,"div",1),d.DNE(1,Lt,2,1,"button",2),d.j41(2,"div",3,0),d.SdG(4),d.k0s(),d.j41(5,"div"),d.SdG(6,1),d.k0s()()),2&u&&(d.ZvI("callout callout-",f.calloutType,""),d.BMQ("aria-label",f.calloutType),d.R7$(),d.Y8G("ngIf",f.closeable),d.R7$(),d.BMQ("id",f.headingID),d.R7$(3),d.BMQ("id",f.contentID))},dependencies:[x.bT],styles:['.callout[_ngcontent-%COMP%]{border-left-width:3px;border-left-style:solid;border-left-color:#eee;margin:15px 0;padding:15px}.callout-danger[_ngcontent-%COMP%]{background-color:#f2dede;border-left-color:#d03f00}.callout-success[_ngcontent-%COMP%]{background-color:#dff2d5;border-left-color:#83b655}.callout-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border-left-color:#f6c342}.callout-info[_ngcontent-%COMP%]{background-color:#d7edf9;border-left-color:#179bd7}.callout-heading[_ngcontent-%COMP%]{font-size:16px;margin-bottom:15px;font-family:inherit;font-weight:600;line-height:1.1;color:inherit;text-transform:capitalize}html[dir="rtl"][_nghost-%COMP%] .callout[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout[_ngcontent-%COMP%]{border-left-width:0;border-left-style:none;border-left-color:transparent;border-right-width:3px;border-right-style:solid;border-right-color:#eee}html[dir="rtl"][_nghost-%COMP%] .callout-danger[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-danger[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#d03f00}html[dir="rtl"][_nghost-%COMP%] .callout-success[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-success[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#83b655}html[dir="rtl"][_nghost-%COMP%] .callout-warning[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-warning[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#f6c342}html[dir="rtl"][_nghost-%COMP%] .callout-info[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-info[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#179bd7}']})}return l})(),vo=(()=>{class l{static#e=this.ɵfac=function(u){return new(u||l)};static#t=this.ɵmod=d.$C({type:l});static#n=this.ɵinj=d.G2t({imports:[x.MD]})}return l})();var Vr=function(l){return l.loading="loading",l.disabled="disabled",l.enabled="enabled",l}(Vr||{});let Qr=(()=>{class l{constructor(){this.click=new d.bkB,this.type="button",this.buttonClass="btn-primary",this.isDisabled=!1,this.showSpinner=!1}set buttonState(o){switch(o){case Vr.enabled:this.setToEnabled();break;case Vr.loading:this.setToLoading();break;case Vr.disabled:this.setToDisable()}}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-action-button`")}onClick(o){o.stopPropagation(),this.click.emit()}setToLoading(){this.isDisabled=!0,this.showSpinner=!0}setToDisable(){this.isDisabled=!0}setToEnabled(){this.isDisabled=!1,this.showSpinner=!1}static#e=this.ɵfac=function(u){return new(u||l)};static#t=this.ɵcmp=d.VBU({type:l,selectors:[["cp-action-button"]],inputs:{id:"id",type:"type",buttonClass:"buttonClass",buttonState:"buttonState"},outputs:{click:"click"},ngContentSelectors:ht,decls:3,vars:10,consts:[[1,"btn","action-button",3,"click","id","type","ngClass","disabled"],[1,"fas","fa-sync","fa-spin",3,"id","ngStyle"]],template:function(u,f){1&u&&(d.NAR(),d.j41(0,"button",0),d.bIt("click",(function(T){return f.onClick(T)})),d.nrm(1,"i",1),d.SdG(2),d.k0s()),2&u&&(d.Mz_("id","",f.id,"-button"),d.FS9("type",f.type),d.Y8G("ngClass",f.buttonClass)("disabled",f.isDisabled),d.R7$(),d.Mz_("id","",f.id,"-spinner"),d.Y8G("ngStyle",d.eq3(8,Xo,f.showSpinner?"visible":"hidden")))},dependencies:[x.YU,x.B3],styles:['.action-button[_ngcontent-%COMP%]{padding:6px 26px 6px 12px}html[dir="rtl"][_nghost-%COMP%] .action-button[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .action-button[_ngcontent-%COMP%]{padding:6px 12px 6px 26px}']})}return l})(),Ar=(()=>{class l{static#e=this.ɵfac=function(u){return new(u||l)};static#t=this.ɵmod=d.$C({type:l});static#n=this.ɵinj=d.G2t({imports:[x.MD]})}return l})();var mi=function(l){return l.toggleOn="toggleSwitchOn",l.toggleOff="toggleSwitchOff",l.toggleUpdating="toggleSwitchUpdating",l}(mi||{}),fa=function(l){return l.left="left",l.right="right",l}(fa||{});let Ur=(()=>{class l{constructor(o){this.locale=o,this.onText="",this.offText="",this.isDisabled=!1,this.toggleStatus=new d.bkB,this._isToggleUpdating=!1,this._hasSpinner=!1}get isToggleOff(){return this._isToggleOffStatus}get hasSpinner(){return this._hasSpinner}get isToggleUpdating(){return this._isToggleUpdating}get labelValue(){return this.isDisabled?"disabled":this.isToggleOff?this.offText:this.onText}get leftLabelPosition(){return fa.left}get rightLabelPosition(){return fa.right}get isLTR(){return this.locale.isLtr}set toggleState(o){switch(this._toggleState=o,o){case mi.toggleOn:this._isToggleOffStatus=!1,this._isToggleUpdating=!1;break;case mi.toggleOff:this._isToggleOffStatus=!0,this._isToggleUpdating=!1;break;case mi.toggleUpdating:this._isToggleUpdating=!0,this._hasSpinner=!0}}checkToggle(o){this.isDisabled||this._isToggleUpdating||("click"===o.type?this.toggleStatus.emit(o):"keyup"===o.type&&((13===o.keyCode||32===o.keyCode)&&this.toggleStatus.emit(o),this.isLTR?37!==o.keyCode||this._isToggleOffStatus?39===o.keyCode&&this._isToggleOffStatus&&this.toggleStatus.emit(o):this.toggleStatus.emit(o):(37===o.keyCode&&this._isToggleOffStatus||39===o.keyCode&&!this._isToggleOffStatus)&&this.toggleStatus.emit(o)))}isLabelVisible(o){return!(!this.labelPosition||this._isToggleUpdating)&&(!(!this.labelPosition||o!==this.labelPosition)||void 0)}isSpinnerVisible(o){return!(!(this.hasSpinner&&this.labelPosition&&this.isToggleUpdating)||this.isDisabled||o!==this.labelPosition)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-toggle-switch`");this.toggleID=`${this.id}_toggle`,this.onTextID=`${this.id}_on_text`,this.offTextID=`${this.id}_off_text`,this.leftSpinnerID=`${this.id}_left_spinner`,this.rightSpinnerID=`${this.id}_right_spinner`}static#e=this.ɵfac=function(u){return new(u||l)(d.rXU(J.h))};static#t=this.ɵcmp=d.VBU({type:l,selectors:[["cp-toggle-switch"]],inputs:{id:"id",onText:"onText",offText:"offText",labelPosition:"labelPosition",isDisabled:"isDisabled",toggleState:"toggleState"},outputs:{toggleStatus:"toggleStatus"},decls:10,vars:19,consts:[["role","switch","tabindex","0",1,"toggle-switch-wrapper",3,"click","keyup","ngClass"],["class","toggle-switch-label-left",3,"for",4,"ngIf"],["class","fas fa-sync fa-spin spinner toggle-switch-updating-indicator toggle-switch-updating-indicator-left",4,"ngIf"],["attr.aria-label","toggle",1,"toggle-switch",3,"ngClass"],[1,"toggle-switch-animate",3,"ngClass"],[1,"switch-left"],[1,"knob"],[1,"switch-right"],["class","toggle-switch-label-right",3,"for",4,"ngIf"],["class","fas fa-sync fa-spin spinner toggle-switch-updating-indicator toggle-switch-updating-indicator-right",4,"ngIf"],[1,"toggle-switch-label-left",3,"for"],[1,"toggle-switch-text","toggle-switch-text-left"],[1,"fas","fa-sync","fa-spin","spinner","toggle-switch-updating-indicator","toggle-switch-updating-indicator-left"],[1,"toggle-switch-label-right",3,"for"],[1,"toggle-switch-text","toggle-switch-text-right"],[1,"fas","fa-sync","fa-spin","spinner","toggle-switch-updating-indicator","toggle-switch-updating-indicator-right"]],template:function(u,f){1&u&&(d.j41(0,"div",0),d.bIt("click",(function(T){return f.checkToggle(T)}))("keyup",(function(T){return f.checkToggle(T)})),d.DNE(1,Cs,3,4,"label",1)(2,yo,1,1,"i",2),d.j41(3,"div",3)(4,"div",4),d.nrm(5,"span",5)(6,"span",6)(7,"span",7),d.k0s()(),d.DNE(8,zs,3,4,"label",8)(9,Zo,1,1,"i",9),d.k0s()),2&u&&(d.Y8G("ngClass",d.sMw(10,Ba,!f.isToggleOff,f.isToggleOff,f.isDisabled||f.isToggleUpdating)),d.BMQ("id",f.toggleID)("value",f.labelValue)("aria-checked",!f.isToggleOff),d.R7$(),d.Y8G("ngIf",f.isLabelVisible(f.leftLabelPosition)),d.R7$(),d.Y8G("ngIf",f.isSpinnerVisible(f.leftLabelPosition)),d.R7$(),d.Y8G("ngClass",d.eq3(14,vs,f.isDisabled||f.isToggleUpdating)),d.R7$(),d.Y8G("ngClass",d.l_i(16,Gs,!f.isToggleOff,f.isToggleOff)),d.R7$(4),d.Y8G("ngIf",f.isLabelVisible(f.rightLabelPosition)),d.R7$(),d.Y8G("ngIf",f.isSpinnerVisible(f.rightLabelPosition)))},dependencies:[x.YU,x.bT],styles:['.toggle-switch-wrapper[_ngcontent-%COMP%]{height:28px;cursor:pointer;border-radius:5px;padding:4px 4px 4px 20px;display:inline-block;margin-left:-20px}.toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch[_ngcontent-%COMP%]{min-width:35px;vertical-align:middle;height:12px;display:inline-block;overflow:visible;border-radius:6px;box-shadow:inset 0 0 2px #00000080}.toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch[_ngcontent-%COMP%] .toggle-switch-animate[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;transition:left .5s;-o-transition:left .5s;-moz-transition:left .5s;-webkit-transition:left .5s}.toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch[_ngcontent-%COMP%] .toggle-switch-animate[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%]{width:20px;height:20px;margin-top:-5px;border-radius:50%;display:inline-block;position:relative;box-shadow:inset 0 0 2px #00000080}.toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-left[_ngcontent-%COMP%], .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-left[_ngcontent-%COMP%]{margin-right:4px}.toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-right[_ngcontent-%COMP%], .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-right[_ngcontent-%COMP%]{margin-left:4px}.toggle-switch-wrapper.switch-on[_ngcontent-%COMP%] .toggle-switch[_ngcontent-%COMP%]{background-color:#428bca}.toggle-switch-wrapper.switch-on[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%]{background-color:#428bca;left:50%;z-index:99}.toggle-switch-wrapper.switch-off[_ngcontent-%COMP%] .toggle-switch[_ngcontent-%COMP%]{background-color:#ccc}.toggle-switch-wrapper.switch-off[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%]{left:0%;background-color:#ccc}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%]{cursor:not-allowed}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%] .toggle-switch-text[_ngcontent-%COMP%]{opacity:.75;font-style:italic}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%] .toggle-switch.disabled[_ngcontent-%COMP%]{cursor:not-allowed;background-color:#aaa}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%] .toggle-switch.disabled[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%]{background-color:#aaa}html[dir="rtl"][_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-left[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-left[_ngcontent-%COMP%]{margin-left:4px}html[dir="rtl"][_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-left[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-left[_ngcontent-%COMP%]{margin-left:4px}html[dir="rtl"][_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-right[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-label-right[_ngcontent-%COMP%]{margin-right:4px}html[dir="rtl"][_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-right[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .toggle-switch-wrapper[_ngcontent-%COMP%] .toggle-switch-updating-indicator-right[_ngcontent-%COMP%]{margin-right:4px}html[dir="rtl"][_nghost-%COMP%] .toggle-switch-wrapper.switch-on[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .toggle-switch-wrapper.switch-on[_ngcontent-%COMP%] .knob[_ngcontent-%COMP%]{background-color:#428bca;left:-50%;z-index:99}']})}return l})(),Ss=(()=>{class l{static#e=this.ɵfac=function(u){return new(u||l)};static#t=this.ɵmod=d.$C({type:l});static#n=this.ɵinj=d.G2t({imports:[x.MD,fe.B]})}return l})();var Bn=function(l){return l.new="new",l.closed="closed",l.open="open",l}(Bn||{});let pa=(()=>{class l{constructor(o){this.locale=o,this.close=new d.bkB,this.toggleMore=new d.bkB,this.animationClass=Bn.new}get icon(){switch(this.alert.type){case Xt.error:return"type-icon fas fa-times-circle";case Xt.warning:return"type-icon fas fa-exclamation-triangle";case Xt.information:return"type-icon fas fa-info-circle";case Xt.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case Xt.error:return"danger";case Xt.warning:return"warning";case Xt.information:return"info";case Xt.success:return"success"}}get hasLabel(){const o=this.label;return null!==o&&""!==o}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 Xt.success:this.label=this.locale.maketext("Success:");break;case Xt.error:this.label=this.locale.maketext("Error:");break;case Xt.information:this.label=this.locale.maketext("Information:");break;case Xt.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=Bn.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=Bn.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(...o){return o.join("_")}static#e=this.ɵfac=function(u){return new(u||l)(d.rXU(J.h))};static#t=this.ɵcmp=d.VBU({type:l,selectors:[["cp-alert"]],inputs:{alert:"alert",label:"label",closeLabel:"closeLabel",moreLabel:"moreLabel"},outputs:{close:"close",toggleMore:"toggleMore"},decls:1,vars:1,consts:[["role","alert",3,"class",4,"ngIf"],["role","alert"],["type","button","class","close",3,"id","title","click",4,"ngIf"],["type","button","class","btn btn-more btn-link pull-right flip",3,"id","click",4,"ngIf"],[1,"alert-message"],["class","alert-title",4,"ngIf"],[1,"alert-body"],[3,"id",4,"ngIf"],["class","alert-list",4,"ngIf"],["type","button",1,"close",3,"click","id","title"],["type","button",1,"btn","btn-more","btn-link","pull-right","flip",3,"click","id"],[1,"alert-title"],[3,"id"],[1,"alert-list"],[4,"ngFor","ngForOf"]],template:function(u,f){1&u&&d.DNE(0,Hl,9,13,"div",0),2&u&&d.Y8G("ngIf",!f.isClosed)},dependencies:[x.Sq,x.bT],styles:['.alert-danger[_ngcontent-%COMP%]{background-color:#f2dede;border:1px solid #d03f00}html[dir="ltr"][_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #d03f00}html[dir="rtl"][_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #d03f00}.alert-success[_ngcontent-%COMP%]{background-color:#dff2d5;border:1px solid #83b655}html[dir="ltr"][_nghost-%COMP%] .alert-success[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-success[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #83b655}html[dir="rtl"][_nghost-%COMP%] .alert-success[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-success[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #83b655}.alert-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border:1px solid #f6c342}html[dir="ltr"][_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #f6c342}html[dir="rtl"][_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #f6c342}.alert-info[_ngcontent-%COMP%]{background-color:#d7edf9;border:1px solid #179bd7}html[dir="ltr"][_nghost-%COMP%] .alert-info[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-info[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #179bd7}html[dir="rtl"][_nghost-%COMP%] .alert-info[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-info[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #179bd7}.alert[_ngcontent-%COMP%]{position:relative;border-radius:2px;padding:10px 30px 10px 50px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%]{padding:10px 50px 10px 30px}.alert-message[_ngcontent-%COMP%]{color:#333;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word}.alert-message[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:underline}.alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{top:-2px;position:relative;right:-21px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{left:-21px;right:auto}.alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#f2dede;left:10px;position:absolute;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:20px;line-height:20px;top:9px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{left:auto;right:10px}.alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{opacity:.5}.alert-success[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#dff2d5}.alert-warning[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#fcf8e1}.alert-info[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#d7edf9}.alert[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-bottom:0;padding:0 30px}.alert-warning[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#8a6d3b}.alert-warning[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-success[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#3c763d}.alert-success[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-info[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#31708f}.alert-info[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-danger[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#a94442}.alert-danger[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert[_ngcontent-%COMP%] .btn-more[_ngcontent-%COMP%]{padding:0;margin:0;line-height:1em;text-transform:none;color:#255783}'],data:{animation:[(0,z.hZ)("openClose",[(0,z.wk)(Bn.new,(0,z.iF)({opacity:0})),(0,z.wk)(Bn.open,(0,z.iF)({opacity:1})),(0,z.wk)(Bn.closed,(0,z.iF)({opacity:0,transform:"translateX(25%)"})),(0,z.kY)(`${Bn.open} => ${Bn.closed}`,[(0,z.i0)("0.25s")]),(0,z.kY)(`${Bn.new} => ${Bn.open}`,[(0,z.i0)("0.25s")]),(0,z.kY)(`${Bn.closed} => ${Bn.open}`,[(0,z.i0)("0.25s")])])]}})}return l})(),gu=(()=>{class l{static#e=this.ɵfac=function(u){return new(u||l)};static#t=this.ɵmod=d.$C({type:l});static#n=this.ɵinj=d.G2t({imports:[x.MD,E,fe.B]})}return l})(),Xl=(()=>{class l{constructor(o){this.locale=o}get position(){return this.locale.isLtr?b:v}static#e=this.ɵfac=function(u){return new(u||l)(d.KVO(J.h))};static#t=this.ɵprov=d.jDH({token:l,factory:l.ɵfac,providedIn:"root"})}return l})(),Zl=(()=>{class l{static#e=this.positionPrefix="position-";constructor(o,u){this._alertService=o,this._positionService=u,this.alerts=this.alerts?this.alerts:[]}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?l.positionPrefix+fi.inline.toString():l.positionPrefix+this.position.toString()}get position(){return this._position.toString()}set position(o){this._position=((l,s=fi.topRight)=>{if(l){const o=(l=>{const s=Object.keys(fi),u=Object.values(fi).indexOf(l);return-1!==u?s[u]:(console.warn("Invalid alertList.position set. It must be one of: top-left, top-middle, top-right, bottom-left, bottom-middle, bottom-right, middle-left, middle-middle, middle-right"),null)})(l);if(o)return fi[o]}return s})(o)}alertClosed(o){this._alertService.removeById(o.id,this.group)}ngOnInit(){this.group||(this.group=_o.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach((u=>this._addAlert(u))),this._groupEvents=this._alertService.alertEvents.pipe((0,K.p)((u=>u.group===this.group))),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById(o){return this.alerts.findIndex((u=>u.id===o))}_addAlert(o){return this.alerts.push(o),this.alerts}_removeAlert(o){const u=this._findAlertIndexById(o.id);return u>-1&&(this.alerts.splice(u,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent(o){switch(o.type){case Ai.add:this._addAlert(o.alert);break;case Ai.clear:this._clearAlerts();break;case Ai.remove:this._removeAlert(o.alert)}}static#t=this.ɵfac=function(u){return new(u||l)(d.rXU(_o),d.rXU(Xl))};static#n=this.ɵcmp=d.VBU({type:l,selectors:[["cp-alert-list"]],inputs:{alerts:"alerts",group:"group",inline:"inline",position:"position"},decls:7,vars:3,consts:[["container",""],["list",""],[1,"alert-list-container",3,"ngClass"],[1,"alert-list"],["class","alert-container",4,"ngFor","ngForOf"],["class","alert-list-backdrop",3,"ngClass",4,"ngIf"],[1,"alert-container"],[3,"close","alert"],[1,"alert-list-backdrop",3,"ngClass"]],template:function(u,f){1&u&&(d.j41(0,"div")(1,"div",2,0)(3,"div",3,1),d.DNE(5,Ds,2,1,"div",4),d.k0s()(),d.DNE(6,$a,1,1,"div",5),d.k0s()),2&u&&(d.R7$(),d.Y8G("ngClass",f.positionClasses),d.R7$(4),d.Y8G("ngForOf",f.alerts),d.R7$(),d.Y8G("ngIf",f.hasAlerts))},dependencies:[x.YU,x.Sq,x.bT,pa],styles:[".alert-list-container.position-inline[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:5px}@media (min-width: 768px){.alert-list-container.position-inline[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-top-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-container.position-top-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-top-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}.alert-list-container.position-middle-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-backdrop.position-middle-middle[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:899;overflow:hidden;outline:0;background-color:#000;opacity:.5}.alert-list-container.position-middle-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-middle-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}.alert-list-container.position-bottom-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-bottom-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}@media (max-width: 768px){.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){position:fixed;z-index:900;min-width:25%;padding-left:1px;padding-right:1px;inset:0 auto auto 0;transform:none;max-width:100%;min-width:100%;width:100%}.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%]{width:100%}.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar{overflow-y:scroll}.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%]{margin-bottom:5px}}@media (max-width: 768px) and (max-width: 768px){.whostmgr.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .whostmgr[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .whostmgr [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .whostmgr[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .whostmgr [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){max-width:calc(100% - 218px)}}@media (max-width: 768px) and (max-width: 768px){.cpanel.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){max-width:calc(100% - 50px)}}@media (max-width: 768px) and (min-width: 768px){.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%]{max-width:500px}}"]})}return l})(),jr=(()=>{class l{static#e=this.ɵfac=function(u){return new(u||l)};static#t=this.ɵmod=d.$C({type:l});static#n=this.ɵinj=d.G2t({imports:[x.MD,gu]})}return l})(),Ga=(()=>{class l{constructor(o){this.locale=o,this.autofocus=!1,this.debounce=250,this.disabled=!1,this.label="Search",this.placeholder="Search",this.valueChange=new d.bkB,this._searchSubject=new G.B,this._unsubscribe=new G.B,delete this.label,delete this.placeholder}get value(){return this._value}set value(o){this._value=o,this._searchSubject.next(o)}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,ie.Q)(this._unsubscribe),(0,te.B)(this.debounce),(0,we.F)()).subscribe((o=>{this.valueChange.emit(o)}))}ngAfterViewInit(){this.autofocus&&this.searchInput.nativeElement.focus()}ngOnDestroy(){this._unsubscribe.next(),this._unsubscribe.complete()}clearValue(){this.value=""}static#e=this.ɵfac=function(u){return new(u||l)(d.rXU(J.h))};static#t=this.ɵcmp=d.VBU({type:l,selectors:[["cp-search"]],viewQuery:function(u,f){if(1&u&&d.GBs(Gl,5),2&u){let _;d.mGM(_=d.lsd())&&(f.searchInput=_.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(u,f){if(1&u){const _=d.RV6();d.j41(0,"div",1)(1,"input",2,0),d.mxI("ngModelChange",(function(S){return d.eBV(_),d.DH7(f.value,S)||(f.value=S),d.Njj(S)})),d.bIt("keyup.esc",(function(){return d.eBV(_),d.Njj(f.clearValue())})),d.k0s(),d.j41(3,"span",3),d.bIt("click",(function(){return d.eBV(_),d.Njj(f.clearValue())})),d.nrm(4,"span",4),d.DNE(5,zl,2,1,"span",5),d.k0s()()}2&u&&(d.R7$(),d.Mz_("id","",f.id,"-search-input"),d.R50("ngModel",f.value),d.Y8G("disabled",f.disabled)("placeholder",f.placeholder)("title",f.label),d.BMQ("aria-label",f.label)("list",f.list),d.R7$(2),d.Mz_("id","",f.id,"-search-input-addon"),d.R7$(),d.Mz_("id","",f.id,"-search-input-icon"),d.Y8G("ngClass",(null==f.value?null:f.value.length)>0?"fas fa-times":"fas fa-search"),d.R7$(),d.Y8G("ngIf",(null==f.value?null:f.value.length)>0))},dependencies:[x.YU,x.bT,ee.me,ee.BC,ee.vS],changeDetection:0})}return l})(),Is=(()=>{class l{static#e=this.ɵfac=function(u){return new(u||l)};static#t=this.ɵmod=d.$C({type:l});static#n=this.ɵinj=d.G2t({imports:[x.MD,ee.YN,fe.B]})}return l})(),Ji=(()=>{class l{constructor(o,u=[]){this.selectorName="",this.requiredInputs=["id"],this.requiredInputs=this.requiredInputs.concat(u),this.selectorName=o.nativeElement.tagName.toLowerCase()}ngOnInit(){this.requiredInputs.forEach((o=>{if(!this[o])throw new Error(`"${o}" must be defined for "${this.selectorName}"`)})),this._initiate()}_initiate(){}static#e=this.ɵfac=function(u){d.QTQ()};static#t=this.ɵdir=d.FsC({type:l,inputs:{id:"id"}})}return l})();var _a=function(l){return l[l.all=-1]="all",l}(_a||{});const Os="pageSizeOption";let za=(()=>{class l{constructor(o){this.locale=o,this.id="",this.cssClasses="",this.description="",this.ariaPressed=!1,this.selected=!1,this._baseCSSClasses="btn btn-default btn-sm no-validation-border",this._activeClass="active"}ngOnChanges(){this.value===_a.all?(this.label=this.locale.maketext("All"),this.description=this.locale.maketext("Show all entries"),this.id=`${Os}_all`):(this.label=this.value.toString(),this.description=this.locale.maketext("Show [quant,_1,entry per page,entries per page]",this.value),this.id=`${Os}_${this.value.toString()}`),this.selected?(this.cssClasses=`${this._baseCSSClasses} ${this._activeClass}`,this.ariaPressed=!0):(this.cssClasses=this._baseCSSClasses,this.ariaPressed=!1)}ngOnInit(){this.ngOnChanges()}static#e=this.ɵfac=function(u){return new(u||l)(d.rXU(J.h))};static#t=this.ɵdir=d.FsC({type:l,selectors:[["","cpPageSizeOption",""]],hostVars:6,hostBindings:function(u,f){2&u&&(d.Mr5("id",f.id)("innerText",f.label),d.BMQ("aria-label",f.description)("aria-pressed",f.ariaPressed),d.HbH(f.cssClasses))},inputs:{value:"value",selected:"selected"},features:[d.OA$]})}return l})(),Wa=(()=>{class l extends Ji{static#e=this.defaultPageSizeOptions=[20,50,100,500];static#t=this.defaultPageSize=20;constructor(o,u){super(o),this.locale=u,this.selectedPageSize=l.defaultPageSize,this.pageSizeOptions=l.defaultPageSizeOptions,this.showOptionAll=!1,this.disabled=!1,this.optionSelected=new d.bkB,this.displayedPageSizeOptions=[]}isOptionSelected(o){return o===this.selectedPageSize}onOptionClicked(o){this._dispatchChange(o)}ngOnChanges(){this._buildOptions()}_initiate(){this._buildOptions()}_buildOptions(){const o=this.pageSizeOptions.slice(0).sort(((f,_)=>f-_));this.showOptionAll&&o.push(_a.all),-1!==o.indexOf(this.selectedPageSize)?this.displayedPageSizeOptions=o:this._dispatchChange(o[0])}_dispatchChange(o){this.optionSelected.emit(o)}static#n=this.ɵfac=function(u){return new(u||l)(d.rXU(d.aKT),d.rXU(J.h))};static#r=this.ɵcmp=d.VBU({type:l,selectors:[["cp-page-size-selector"]],inputs:{selectedPageSize:"selectedPageSize",pageSizeOptions:"pageSizeOptions",showOptionAll:"showOptionAll",disabled:"disabled"},outputs:{optionSelected:"optionSelected"},features:[d.Vt3,d.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(u,f){1&u&&(d.j41(0,"div")(1,"div",0),d.EFF(2),d.k0s(),d.j41(3,"div",1),d.DNE(4,Ks,1,3,"button",2),d.k0s()()),2&u&&(d.R7$(2),d.SpI(" ",f.locale.maketext("Entries Per Page")," "),d.R7$(2),d.Y8G("ngForOf",f.displayedPageSizeOptions))},dependencies:[x.Sq,za],styles:[".page-size-buttons[_ngcontent-%COMP%]{margin-top:3px;display:flex}"]})}return l})(),Xs=(()=>{class l{static#e=this.ɵfac=function(u){return new(u||l)};static#t=this.ɵmod=d.$C({type:l});static#n=this.ɵinj=d.G2t({imports:[x.MD,fe.B]})}return l})(),ec=(()=>{class l extends Ji{static#e=this.defaultMaxPagesVisible=5;static#t=this.firstPageIndex=1;constructor(o,u){super(o),this.locale=u,this.maxPagesVisible=l.defaultMaxPagesVisible,this.selectedPage=l.firstPageIndex,this.pageSize=Wa.defaultPageSize,this.disabled=!1,this.pageChanged=new d.bkB}onPageChanged(o){this._dispatchChange(o)}onNumPagesChanged(o){this._dispatchChange(this.selectedPage)}_initiate(){this._dispatchChange(this.selectedPage)}_dispatchChange(o){const u=this.pageSize*(o-1),f=Math.min(u+this.pageSize,this.totalItems);this.pageChanged.emit({page:o,firstItem:u,lastItem:f}),this.itemsDetails=this.locale.maketext("[_1] - [_2] of [_3]",u+1,f,this.totalItems)}static#n=this.ɵfac=function(u){return new(u||l)(d.rXU(d.aKT),d.rXU(J.h))};static#r=this.ɵcmp=d.VBU({type:l,selectors:[["cp-pagination"]],inputs:{maxPagesVisible:"maxPagesVisible",totalItems:"totalItems",selectedPage:"selectedPage",pageSize:"pageSize",disabled:"disabled"},outputs:{pageChanged:"pageChanged"},features:[d.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(u,f){if(1&u){const _=d.RV6();d.j41(0,"div",4)(1,"pagination",5),d.mxI("ngModelChange",(function(S){return d.eBV(_),d.DH7(f.selectedPage,S)||(f.selectedPage=S),d.Njj(S)})),d.bIt("pageChanged",(function(S){return d.eBV(_),d.Njj(f.onPageChanged(S.page))}))("numPages",(function(S){return d.eBV(_),d.Njj(f.onNumPagesChanged(S))})),d.k0s(),d.j41(2,"p",6),d.EFF(3),d.k0s()(),d.DNE(4,Qs,1,0,"ng-template",null,0,d.C5r)(6,_t,1,0,"ng-template",null,1,d.C5r)(8,bs,1,0,"ng-template",null,2,d.C5r)(10,ha,1,0,"ng-template",null,3,d.C5r)}if(2&u){const _=d.sdS(5),T=d.sdS(7),S=d.sdS(9),L=d.sdS(11);d.Y8G("id",f.id),d.R7$(),d.Mz_("id","",f.id,"_ngx_paginator"),d.Y8G("totalItems",f.totalItems)("maxSize",f.maxPagesVisible)("disabled",f.disabled)("itemsPerPage",f.pageSize),d.R50("ngModel",f.selectedPage),d.Y8G("boundaryLinks",!0)("customFirstTemplate",L)("customLastTemplate",S)("customPreviousTemplate",T)("customNextTemplate",_),d.R7$(2),d.SpI(" ",f.itemsDetails," ")}},dependencies:[ee.BC,ee.vS,Ve.eK],styles:[".pagination-item-details[_ngcontent-%COMP%]{margin-top:-20px}"]})}return l})(),tc=(()=>{class l{static#e=this.ɵfac=function(u){return new(u||l)};static#t=this.ɵmod=d.$C({type:l});static#n=this.ɵinj=d.G2t({imports:[x.MD,ee.YN,Ve.x6.forRoot(),fe.B]})}return l})()}}]);
Back to Directory
File Manager